:root {
  --green-950: #10251b;
  --green-800: #0f5d36;
  --green-700: #0f7d42;
  --green-500: #20b86d;
  --lime: #b9ee44;
  --mint: #eff8f2;
  --mint-2: #f7fbf7;
  --ink: #14261c;
  --muted: #64736a;
  --line: #dce9e0;
  --white: #fff;
  --shadow: 0 24px 70px rgba(16, 37, 27, .13);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--green-950);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  padding: 12px 14px 12px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 26px;
  align-items: center;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(16, 37, 27, .08);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.brand img {
  width: clamp(220px, 27vw, 360px);
  height: auto;
  max-height: 50px;
  object-fit: contain;
}
.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #2f4639;
  font-size: 14px;
  font-weight: 700;
}
.desktop-nav a {
  position: relative;
  padding: 10px 0;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--green-500);
  transition: transform .25s ease;
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-phone {
  padding: 13px 18px;
  background: var(--green-950);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--green-950);
  border-radius: var(--radius);
  place-items: center;
  padding: 12px;
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  display: block;
  margin: 3px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav {
  position: fixed;
  z-index: 9;
  top: 98px;
  left: 16px;
  right: 16px;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.mobile-nav.is-open { display: grid; }
.mobile-nav a { padding: 14px; font-weight: 800; border-bottom: 1px solid var(--line); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: end;
  gap: 40px;
  padding: 170px max(24px, calc((100vw - 1180px) / 2)) 70px;
  isolation: isolate;
  background: var(--green-950);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.03);
  transform: scale(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 37, 27, .88) 0%, rgba(16, 37, 27, .58) 42%, rgba(16, 37, 27, .1) 100%),
    linear-gradient(0deg, rgba(16, 37, 27, .62), rgba(16, 37, 27, .08) 45%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 84px 84px;
}
.hero-content {
  max-width: 760px;
  color: var(--white);
  padding-bottom: 28px;
}
.hero .reveal {
  opacity: 1;
  transform: none;
}
.hero-mark {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 74px);
  line-height: .92;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--lime);
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(44px, 6.7vw, 104px);
  line-height: .9;
  letter-spacing: 0;
}
.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--green-950); }
.btn-secondary { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.34); }
.hero-panel {
  margin-bottom: 34px;
  padding: 26px;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-label {
  display: block;
  margin-bottom: 14px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-panel strong { display: block; font-size: 28px; line-height: 1.08; }
.panel-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.panel-list span {
  padding: 9px 10px;
  background: var(--mint);
  border-radius: var(--radius);
  color: var(--green-800);
  font-size: 13px;
  font-weight: 800;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.metric {
  min-height: 160px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  background: var(--white);
}
.metric span { display: block; color: var(--green-700); font-size: clamp(42px, 5vw, 70px); line-height: 1; font-weight: 900; }
.metric p { margin: 12px 0 0; color: var(--muted); font-weight: 750; }

.section {
  padding: clamp(78px, 9vw, 128px) max(24px, calc((100vw - 1180px) / 2));
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 240px) minmax(0, 820px);
  align-items: start;
  gap: 34px;
  margin-bottom: 46px;
}
.section-heading p,
.about-copy > p:first-child,
.contact-info > p {
  margin: 0;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 62px);
  line-height: .98;
  letter-spacing: 0;
}

.services { background: var(--mint-2); }
.service-tabs {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
}
.tab-buttons {
  display: grid;
  gap: 8px;
  align-self: start;
  position: sticky;
  top: 118px;
}
.tab-buttons button {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-950);
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}
.tab-buttons button.active {
  background: var(--green-950);
  color: var(--white);
  border-color: var(--green-950);
}
.tab-panel {
  display: none;
  grid-template-columns: 1fr minmax(240px, 380px);
  gap: 40px;
  min-height: 460px;
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.tab-panel.active { display: grid; animation: panelIn .32s ease; }
.tab-panel h3 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; }
.tab-panel p { color: var(--muted); line-height: 1.75; font-size: 17px; }
.tab-panel ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tab-panel li {
  position: relative;
  padding-left: 28px;
  font-weight: 760;
}
.tab-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 50%;
}
.tab-panel img {
  align-self: center;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--mint);
  padding: 18px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(44px, 7vw, 90px);
  align-items: start;
}
.about-copy p:not(:first-child) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.about-copy h2 { margin: 18px 0 28px; }
.process {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.process div {
  background: var(--white);
  padding: 28px;
}
.process span { color: var(--green-500); font-weight: 900; }
.process strong { display: block; margin-top: 10px; font-size: 24px; }
.process p { color: var(--muted); line-height: 1.6; }

.image-band {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 80px max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
}
.image-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,37,27,.76), rgba(16,37,27,.18));
  z-index: -1;
}
.band-card {
  max-width: 620px;
  padding: clamp(30px, 5vw, 54px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.band-card h2 { margin: 0 0 16px; font-size: clamp(34px, 4vw, 58px); line-height: 1; }
.band-card p { color: var(--muted); line-height: 1.75; font-size: 17px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.gallery-item:nth-child(5n + 1) { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.08); }

.partners { background: var(--mint-2); }
.partners-card {
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.partners-card img { margin: auto; width: min(990px, 100%); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 50px;
  padding: clamp(82px, 10vw, 140px) max(24px, calc((100vw - 1180px) / 2));
  background: var(--green-950);
  color: var(--white);
}
.contact h2 { margin: 18px 0 30px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.contact-grid > * {
  min-height: 138px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
}
.contact-grid .address-card {
  grid-column: 1 / -1;
  min-height: 154px;
}
.contact-grid span { display: block; margin-bottom: 14px; color: var(--lime); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.contact-grid strong { font-size: 18px; line-height: 1.45; }
.contact-map {
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map-frame {
  position: relative;
  min-height: 340px;
  width: 100%;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.9) contrast(1.02);
}
.map-caption {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff 0%, var(--mint) 100%);
}
.map-caption span {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.map-caption strong {
  font-size: 18px;
  line-height: 1.35;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  background: #07140e;
  color: rgba(255,255,255,.74);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius);
}
.footer-brand img {
  width: min(320px, 100%);
  height: auto;
}
.footer p { margin: 0; }
.footer a { color: var(--lime); font-weight: 800; }

.lightbox {
  width: min(1100px, calc(100vw - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
}
.lightbox::backdrop { background: rgba(7,20,14,.84); backdrop-filter: blur(6px); }
.lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #07140e;
}
.lightbox-close {
  position: fixed;
  right: 24px;
  top: 20px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-950);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.11) translate3d(-2%, -1%, 0); }
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 12px; }
  .desktop-nav, .header-phone { display: none; }
  .menu-toggle { display: grid; justify-self: end; }
  .hero { grid-template-columns: 1fr; align-items: end; padding-top: 150px; }
  .hero-panel { max-width: 520px; margin-bottom: 0; }
  .intro-strip, .about, .contact, .service-tabs, .tab-panel { grid-template-columns: 1fr; }
  .tab-buttons { position: static; grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { top: 0; width: 100%; border-radius: 0; min-height: 70px; }
  .mobile-nav { top: 76px; }
  .brand img { width: min(230px, 66vw); max-height: 42px; }
  .hero { min-height: 94svh; padding: 130px 20px 42px; }
  .hero-mark { font-size: 31px; }
  .hero h1 { font-size: 39px; line-height: .96; max-width: 10ch; }
  .hero-lead { font-size: 17px; max-width: 31ch; }
  .hero-panel { padding: 22px; }
  .hero-panel strong { font-size: 23px; line-height: 1.16; }
  .hero-actions .btn { width: 100%; }
  .intro-strip { grid-template-columns: 1fr; }
  .metric { min-height: auto; padding: 28px 24px; }
  .section, .contact { padding-left: 20px; padding-right: 20px; }
  .tab-buttons { grid-template-columns: 1fr; }
  .tab-panel { padding: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item:nth-child(5n + 1) { grid-row: auto; aspect-ratio: 4 / 3; }
}
