:root {
  --white: #ffffff;
  --green: #6ca018;
  --gray: #606062;
  --black: #373435;
  --ink: #1f2b1a;
  --bg-soft: #f5f7f2;
  --card: #ffffff;
  --border: #d9decf;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(23, 36, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--black);
  background: radial-gradient(circle at 20% 0%, rgba(108, 160, 24, 0.18), transparent 38%),
    radial-gradient(circle at 90% 20%, rgba(55, 52, 53, 0.12), transparent 35%), var(--bg-soft);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(130deg, #1f2b1a, #373435 50%, #6ca018);
  display: grid;
  place-items: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-core {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.preloader-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--white);
  border-right-color: var(--green);
  animation: spin 0.95s linear infinite;
}

.preloader p {
  margin: 0;
  color: var(--white);
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(31, 43, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: transparent;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
}

.nav-links a {
  font-size: 0.95rem;
  opacity: 0.94;
}

.nav-links a:hover {
  color: #cce4a0;
}

.cta-btn,
.ghost-btn,
.mail-btn,
.map-btn,
.phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.cta-btn {
  background: var(--green);
  color: var(--white);
  padding: 12px 20px;
  border: 1px solid var(--green);
}

.cta-btn:hover {
  transform: translateY(-2px);
  background: #5c8a14;
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  padding: 12px 20px;
}

.ghost-btn:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.page-hero {
  padding: 80px 0 64px;
}

.hero-carousel {
  display: grid;
  gap: 24px;
}

.hero-slides {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
  animation: fadeInUp 0.55s ease forwards;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.03;
  margin: 0 0 18px;
  max-width: 18ch;
}

.hero-copy p {
  color: #e6ecd8;
  line-height: 1.66;
  max-width: 60ch;
  margin: 0 0 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  color: #edf4df;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-control {
  min-width: 110px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.hero-control:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
}

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-dot.is-active {
  background: var(--green);
  transform: scale(1.15);
}

.hero-visual {
  background: radial-gradient(circle at 40% 35%, rgba(108, 160, 24, 0.62), transparent 52%), #111;
  border-radius: 24px;
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(19, 33, 13, 0.1), rgba(19, 33, 13, 0.58));
}

.hero-shell {
  background: linear-gradient(160deg, #102013 0%, #1d2e17 45%, #373435 100%);
}

.strip {
  background: var(--green);
  color: var(--white);
  padding: 14px 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.strip-list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.94rem;
}

main section {
  padding: 70px 0;
}

.section-title {
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  color: var(--ink);
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  margin: 0 0 16px;
  line-height: 1.1;
}

.section-lead {
  color: #495044;
  margin: 0 0 26px;
  line-height: 1.68;
  max-width: 70ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: 0 12px 22px rgba(51, 64, 38, 0.08);
}

.card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: #4a5146;
  line-height: 1.62;
}

.card .secondary-btn {
  margin-top: 16px;
}

.dark-block {
  background: linear-gradient(140deg, #172310, #223418);
  color: var(--white);
  border-radius: 18px;
  padding: 30px;
}

.inline-feature-visual {
  margin: -8px -8px 18px;
  border-radius: 16px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: 0 16px 28px rgba(9, 18, 7, 0.28);
}

.inline-feature-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.dark-block h2,
.dark-block h3 {
  color: var(--white);
}

.dark-block p {
  color: #e6ecd8;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.list-clean li {
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.service-card,
.product-card,
.office-card,
.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.product-media {
  margin: -4px -4px 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef4e5;
  border: 1px solid #dfe8d1;
}

.product-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.product-code {
  margin: 0 0 10px;
  color: #5d6c49;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3,
.product-card h3,
.office-card h3,
.legal-card h3 {
  margin-top: 0;
}

.service-card p,
.product-card p,
.office-card p,
.legal-card p {
  margin: 0 0 12px;
  color: #4a5146;
  line-height: 1.62;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
}

.spec-list li {
  background: #f7faf2;
  border: 1px solid #e0e7d2;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 0.92rem;
  color: #2f3b28;
}

.mail-btn,
.map-btn,
.phone-btn {
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  padding: 10px 16px;
  font-size: 0.92rem;
}

.mail-btn:hover,
.map-btn:hover,
.phone-btn:hover {
  transform: translateY(-2px);
  background: #5d8b14;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #93b35e;
  color: #355012;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.secondary-btn:hover {
  transform: translateY(-2px);
}

.cta-band {
  background: linear-gradient(130deg, #2a3e1f 0%, #3d5327 40%, #6ca018 100%);
  color: var(--white);
  border-radius: 18px;
  padding: 34px;
  display: grid;
  gap: 14px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
}

.cta-band p {
  margin: 0;
  color: #edf4df;
  max-width: 70ch;
  line-height: 1.66;
}

.cta-inline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

footer {
  background: #10150f;
  color: #e5edd4;
  padding: 52px 0 34px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 14px;
}

.footer-title {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.04rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #e2ead2;
  opacity: 0.92;
}

.footer-links a:hover {
  color: #c8de9f;
}

.foot-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 0.86rem;
  color: #c8d3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.category-block {
  margin-bottom: 34px;
}

.category-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.category-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
}

.category-pill {
  background: #eaf3dc;
  color: #3f5c18;
  border: 1px solid #c8d9ad;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 12px;
}

.office-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.map-frame {
  margin-top: 14px;
  border: 1px solid #d6dfc9;
  border-radius: 12px;
  overflow: hidden;
  background: #ecf3df;
  box-shadow: 0 10px 20px rgba(45, 61, 29, 0.1);
}

.map-frame iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.helper-note {
  margin: 12px 0 0;
  color: #566053;
  font-size: 0.9rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.52s ease forwards;
}

.fade-delay-1 {
  animation-delay: 0.09s;
}

.fade-delay-2 {
  animation-delay: 0.18s;
}

.fade-delay-3 {
  animation-delay: 0.27s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .footer-grid,
  .office-list,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .inline-feature-visual,
  .inline-feature-visual img {
    min-height: 200px;
    height: 200px;
  }

  .footer-brand img {
    height: 46px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 92px;
    background: #1a2713;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-actions,
  .cta-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn,
  .ghost-btn,
  .mail-btn,
  .map-btn,
  .phone-btn {
    width: 100%;
  }

  .page-hero {
    padding-top: 54px;
  }

  .hero-carousel-controls {
    flex-wrap: wrap;
  }

  .hero-control {
    min-width: 0;
    flex: 1 1 160px;
  }

  .map-frame iframe {
    height: 220px;
  }
}
