/* ============================================================
   CODAR GLOBAL — DESIGN SYSTEM
   ============================================================

   COLOUR PALETTE
   ──────────────
   Codar Green (brand accent)
   green-50:  #edfdf5   — near-white mint
   green-100: #d0fae6   — pale mint
   green-200: #a4f4cf   — light mint
   green-300: #6aebb3   — medium mint
   green-400: #2eec94   — near-brand
   green-500: #1de784   — CODAR GREEN ★
   green-600: #0dc468   — dark green
   green-700: #0a9a51   — deep green
   green-800: #0b7040   — forest
   green-900: #0b5c35   — dark forest
   green-950: #042d1b   — near-black green

   Codar Black (base)
   black:      #03170d   — CODAR BLACK ★

   Neutrals (warm dark — based on Codar Black hue)
   neutral-50:  #f2f7f4
   neutral-100: #deeae4
   neutral-200: #bdd5c9
   neutral-300: #8fb8a6
   neutral-400: #5e9279
   neutral-500: #3d7260
   neutral-600: #2f5b4c
   neutral-700: #214037   — used for body text on light
   neutral-800: #102519
   neutral-900: #081a10
   neutral-950: #03170d   — = Codar Black

   WCAG AA COMPLIANCE
   ──────────────────
   green-500 (#1de784) on black (#03170d): 8.4:1 ✓ AAA
   black (#03170d) on green-500 (#1de784): 8.4:1 ✓ AAA
   neutral-700 (#214037) on neutral-50 (#f2f7f4): 8.1:1 ✓ AAA
   green-500 on neutral-50: 5.6:1 ✓ AA (large text check)
   white on neutral-700: 8.1:1 ✓ AAA
   neutral-700 on white: passes AA ✓

   TYPOGRAPHY
   ──────────
   Font: Figtree
   Weight 400 — Body, meta, captions
   Weight 500 — UI labels, nav
   Weight 600 — Subheadings, card titles
   Weight 800 — Display, headings

   Mono: JetBrains Mono 400/500
   Use: Tags, code, labels

   SPACING (8pt grid)
   ──────────────────
   --space-1: 4px
   --space-2: 8px
   --space-3: 12px
   --space-4: 16px
   --space-6: 24px
   --space-8: 32px
   --space-10: 40px
   --space-12: 48px
   --space-16: 64px
   --space-20: 80px
   --space-24: 96px
   --space-32: 128px

   RADIUS
   ──────
   --radius-sm: 4px
   --radius-md: 8px
   --radius-lg: 16px
   --radius-xl: 24px
   --radius-pill: 9999px   — Buttons/CTAs

   ============================================================ */

:root {
  /* Codar Green scale */
  --green-50:  #edfdf5;
  --green-100: #d0fae6;
  --green-200: #a4f4cf;
  --green-300: #6aebb3;
  --green-400: #2eec94;
  --green-500: #1de784;
  --green-600: #0dc468;
  --green-700: #0a9a51;
  --green-800: #0b7040;
  --green-900: #0b5c35;
  --green-950: #042d1b;

  /* Codar Black & neutrals */
  --black:        #03170d;
  --neutral-50:   #f2f7f4;
  --neutral-100:  #deeae4;
  --neutral-200:  #bdd5c9;
  --neutral-300:  #8fb8a6;
  --neutral-400:  #5e9279;
  --neutral-500:  #3d7260;
  --neutral-600:  #2f5b4c;
  --neutral-700:  #214037;
  --neutral-800:  #102519;
  --neutral-900:  #081a10;
  --neutral-950:  #03170d;

  /* Semantic tokens */
  --color-bg:           var(--neutral-50);
  --color-surface:      #ffffff;
  --color-surface-alt:  var(--neutral-50);
  --color-border:       var(--neutral-200);
  --color-text:         var(--neutral-700);
  --color-text-muted:   var(--neutral-500);
  --color-heading:      var(--black);
  --color-accent:       var(--green-500);
  --color-accent-dark:  var(--green-700);
  --color-cta-text:     var(--black);
  --color-dark-bg:      var(--black);
  --color-dark-surface: var(--neutral-800);
  --color-dark-text:    var(--neutral-100);
  --color-dark-muted:   var(--neutral-300);

  /* Typography */
  --font-body: 'Figtree', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-extrabold: 800;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(3,23,13,.08), 0 1px 2px rgba(3,23,13,.04);
  --shadow-md: 0 4px 12px rgba(3,23,13,.10), 0 2px 4px rgba(3,23,13,.06);
  --shadow-lg: 0 12px 32px rgba(3,23,13,.14), 0 4px 8px rgba(3,23,13,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

section { padding: var(--space-24) 0; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { max-width: 68ch; }
p + p { margin-top: var(--space-4); }

strong { font-weight: var(--fw-semibold); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--green-500);
  color: var(--black);
  border-color: var(--green-500);
}
.btn-primary:hover {
  background: var(--green-400);
  border-color: var(--green-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--green-500);
  border-color: var(--green-500);
}
.btn-ghost:hover {
  background: rgba(29,231,132,.1);
  transform: translateY(-1px);
}

.btn-dark-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-dark-ghost:hover {
  background: rgba(3,23,13,.08);
  transform: translateY(-1px);
}

/* ── TAGS ── */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  color: var(--green-700);
  background: var(--green-50);
  border: 1.5px solid var(--green-500);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  text-transform: uppercase;
}

/* ── EYEBROW ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral-700);
  display: block;
  margin-bottom: var(--space-4);
}
.eyebrow-light {
  color: var(--green-400);
}

/* ── LOGO SVG ── */
.logo-svg .logo-path { fill: currentColor; }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - var(--space-8));
  max-width: 1120px;
}

.nav-inner {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* ══════════════════════════════════════════════
   NAV THEME SYSTEM
   Default = nav--dark (over dark hero on load)
   nav--dark  : white pill   — for dark section backgrounds
   nav--light : dark pill    — for light/neutral section backgrounds
   nav--green : dark pill    — for Codar Green section backgrounds
══════════════════════════════════════════════ */

/* All colour transitions */
.nav-inner,
.nav-logo,
.nav-toggle,
.nav-links a,
.nav-cta {
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* ── nav--dark (over dark sections: hero, problem, testimonials) ──
   White pill, black text, green CTA                               */
.nav.nav--dark .nav-inner {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 20px rgba(3,23,13,.15);
}
.nav.nav--dark .nav-logo { color: var(--black); }
.nav.nav--dark .nav-links a { color: var(--neutral-700); }
.nav.nav--dark .nav-links a:hover { color: var(--green-700); }
.nav.nav--dark .nav-toggle { color: var(--neutral-700); }

/* ── nav--light (over light sections: why, services, approach) ──
   Dark pill, light text, green CTA                               */
.nav.nav--light .nav-inner {
  background: rgba(3, 23, 13, 0.94);
  box-shadow: 0 2px 24px rgba(3,23,13,.20);
}
.nav.nav--light .nav-logo { color: var(--green-500); }
.nav.nav--light .nav-links a { color: var(--neutral-200); }
.nav.nav--light .nav-links a:hover { color: var(--green-400); }
.nav.nav--light .nav-toggle { color: var(--neutral-100); }

/* ── nav--green (over green sections: pullquote, contact) ──
   Dark pill, light text, CTA inverted                       */
.nav.nav--green .nav-inner {
  background: rgba(3, 23, 13, 0.92);
  box-shadow: 0 2px 20px rgba(3,23,13,.20);
}
.nav.nav--green .nav-logo { color: var(--green-500); }
.nav.nav--green .nav-links a { color: var(--neutral-200); }
.nav.nav--green .nav-links a:hover { color: var(--green-400); }
.nav.nav--green .nav-toggle { color: var(--neutral-100); }

.nav-logo {
  display: flex;
  align-items: center;
  color: var(--black);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo svg { height: 26px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  color: var(--neutral-700);
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a:focus-visible { outline: 2px solid var(--green-500); outline-offset: 4px; border-radius: 2px; }

.nav-cta { font-size: 0.875rem; padding: 10px 22px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--neutral-100);
  flex-direction: column;
  gap: 5px;
}
.nav-toggle:focus-visible { outline: 2px solid var(--green-500); outline-offset: 4px; border-radius: 4px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.6rem;
  font-weight: var(--fw-extrabold);
  color: var(--neutral-100);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color .15s;
}
.nav-mobile a:hover { color: var(--green-500); }
.nav-mobile a:focus-visible { outline: 2px solid var(--green-500); outline-offset: 4px; }
.nav-mobile .btn-primary {
  color: var(--black) !important;
  font-size: 1.1rem;
  padding: 16px 36px;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  background-color: var(--black);
  background-image: url('img/hero-bg.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--space-32) 0 var(--space-24);
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* subtle grid texture — sits above the video */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,231,132,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,231,132,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; width: 100%; padding-left: var(--space-6); padding-right: var(--space-6); }

.hero-content { max-width: 100%; margin: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero-eyebrow .tag {
  color: var(--green-700);
  background: rgba(29,231,132,.15);
  border-color: var(--green-500);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: var(--space-8);
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--green-500);
}

.hero-sub {
  color: var(--neutral-300);
  font-size: 1.15rem;
  margin-bottom: var(--space-10);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--neutral-500);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--neutral-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ══════════════════════════════════════════════
   BOXOUTS — 3 column cards
══════════════════════════════════════════════ */
.boxouts {
  background: var(--color-surface);
  padding: var(--space-24) 0;
}

.boxouts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.boxout-card {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.boxout-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.boxout-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-500);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.boxout-icon {
  width: 44px;
  height: 44px;
  background: var(--green-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}
.boxout-icon svg { width: 22px; height: 22px; stroke: var(--green-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.boxout-card h3 {
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: var(--space-4);
}

.boxout-card p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   THE PROBLEM
══════════════════════════════════════════════ */
.problem {
  background: var(--black);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.problem .container { position: relative; z-index: 1; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
  margin-top: var(--space-10);
}

.problem h2 { color: #ffffff; }

.problem-lede {
  font-size: 1.35rem;
  font-weight: var(--fw-semibold);
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: var(--space-6);
}

.problem-body {
  color: var(--neutral-300);
  font-size: 1rem;
  line-height: 1.75;
}
.problem-body + .problem-body { margin-top: var(--space-4); }

.problem-pullquote {
  background: rgba(29,231,132,.08);
  border: 1px solid rgba(29,231,132,.25);
  border-left: 4px solid var(--green-500);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6) var(--space-8);
  margin-top: var(--space-8);
}
.problem-pullquote p {
  font-size: 1.0rem;
  font-style: italic;
  color: var(--neutral-200);
  line-height: 1.7;
  font-weight: var(--fw-medium);
}

.problem-stat-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.stat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(29,231,132,.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.stat-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════
   PULLQUOTE PANEL
══════════════════════════════════════════════ */
.pullquote-panel {
  background-color: var(--green-500);
  background-image: url('img/quote-bg.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--space-20) 0;
}
.pullquote-panel .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pullquote-mark {
  font-size: 6rem;
  line-height: 0.7;
  color: var(--black);
  opacity: 0.18;
  font-family: var(--font-body);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-6);
  user-select: none;
  display: block;
}
.pullquote-text {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: var(--fw-extrabold);
  color: var(--black);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: var(--space-8);
}
.pullquote-attribution {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  color: var(--green-900);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* ══════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════ */
.services {
  background: var(--color-surface);
  padding: var(--space-24) 0;
}

.services-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.services-lede {
  font-size: 1.05rem;
  color: var(--color-text);
  max-width: 52ch;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.service-item {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s, background .25s;
  cursor: default;
}
.service-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.service-item:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  background: #ffffff;
}
.service-item:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--green-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.service-item:hover .service-icon {
  background: var(--green-200);
}
.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-700);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green-600);
  letter-spacing: 0.08em;
}

.service-title {
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  color: var(--color-heading);
  line-height: 1.45;
  flex: 1;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.85rem;
  margin-top: auto;
  transition: background .2s, transform .2s;
  align-self: flex-start;
}
.service-item:hover .service-arrow {
  background: var(--green-500);
  color: var(--black);
  transform: translateX(3px);
}

.services-note {
  margin-top: var(--space-8);
  background: var(--black);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}
.services-note-text {
  font-size: 1.2rem;
  font-weight: var(--fw-semibold);
  color: #ffffff;
  line-height: 1.6;
  max-width: 64ch;
}
.services-note-cta {}

/* ══════════════════════════════════════════════
   APPROACH — ACCORDION
══════════════════════════════════════════════ */
.approach {
  background: var(--neutral-50);
  padding: var(--space-24) 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: start;
  margin-top: var(--space-10);
}

.approach-intro p {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.accordion-item.open {
  border-color: var(--green-400);
  box-shadow: 0 4px 20px rgba(29,231,132,.08);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  padding: var(--space-6) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  color: var(--color-heading);
  transition: color .15s;
}
.accordion-trigger:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: -2px;
}
.accordion-item.open .accordion-trigger { color: var(--green-700); }

.accordion-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  color: var(--green-700);
  margin-right: var(--space-3);
  transition: background .2s, border-color .2s, color .2s;
}
.accordion-item.open .accordion-num {
  background: var(--green-500);
  border-color: var(--green-500);
  color: var(--black);
}

.accordion-trigger-label {
  flex: 1;
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  color: var(--neutral-400);
  margin-left: auto;
  transition: transform .3s ease, color .15s;
}
.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
  color: var(--green-600);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-body-inner {
  padding-top: 0;
  padding-right: var(--space-8);
  padding-bottom: var(--space-8);
  padding-left: calc(var(--space-6) + 36px + var(--space-3));
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.75;
}

.accordion-body-inner ul {
  margin-top: var(--space-4);
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.accordion-body-inner ul li {
  list-style: none;
  position: relative;
  padding-left: var(--space-6);
}
.accordion-body-inner ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: var(--fw-semibold);
}

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials {
  background: var(--black);
  padding: var(--space-24) 0;
}

.testimonials h2 { color: #ffffff; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.testimonial-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(29,231,132,.15);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
}
.star {
  width: 16px;
  height: 16px;
  color: var(--green-500);
  fill: currentColor;
}

.testimonial-quote {
  font-size: 1.0rem;
  color: var(--neutral-200);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-quote::before { content: '\201C'; color: var(--green-500); font-style: normal; }
.testimonial-quote::after { content: '\201D'; color: var(--green-500); font-style: normal; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  border-top: 1px solid rgba(29,231,132,.12);
  padding-top: var(--space-5);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-900);
  border: 2px solid rgba(29,231,132,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: var(--fw-medium);
  color: var(--green-400);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  color: #ffffff;
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--neutral-400);
  font-family: var(--font-mono);
}

/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact {
  background: var(--green-500);
  padding: var(--space-24) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.contact h2 {
  color: var(--black);
  margin-bottom: var(--space-4);
}

.contact-sub {
  color: var(--green-900);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.95rem;
  color: var(--black);
  font-weight: var(--fw-medium);
}
.contact-detail svg { width: 18px; height: 18px; stroke: var(--green-900); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-group:last-of-type {
  margin-bottom: var(--space-8);
}

.form-label {
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: var(--neutral-700);
}

.form-input, .form-textarea, .form-select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--neutral-700);
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(29,231,132,.2);
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--black);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(29,231,132,.12);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand-col {}

.footer-logo {
  color: var(--green-500);
  margin-bottom: var(--space-5);
  display: block;
}
.footer-logo svg { height: 24px; width: auto; }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--neutral-400);
  line-height: 1.7;
  max-width: 32ch;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--neutral-400);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--green-400); }
.footer-links a:focus-visible { outline: 2px solid var(--green-500); outline-offset: 4px; border-radius: 2px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-8);
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--neutral-600);
  font-family: var(--font-mono);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  color: var(--neutral-400);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.footer-social a:hover { border-color: var(--green-500); color: var(--green-500); }
.footer-social a:focus-visible { outline: 2px solid var(--green-500); outline-offset: 4px; }
.footer-social svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ══════════════════════════════════════════════
   SECTION HEADINGS
══════════════════════════════════════════════ */
.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.section-label::after {
  content: '';
  height: 1px;
  width: 40px;
  background: var(--green-500);
  display: block;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL & PARALLAX
══════════════════════════════════════════════ */

/* Base reveal state — elements start hidden/offset */
[data-reveal] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 0.7s;
}
[data-reveal="up"]    { transform: translateY(36px); }
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(0.93); }
[data-reveal="fade"]  { transform: none; }

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }

/* Revealed state */
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Parallax layers */
.parallax-layer {
  will-change: transform;
  transition: none;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  section { padding: var(--space-16) 0; }

  .boxouts-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: var(--space-24) 0 var(--space-16); min-height: 90svh; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}
