/* =========================================================
   Biotech BMI Landing - Stylesheet
   Tweaks override --vars on :root via JS
========================================================= */

:root {
  /* palette: forest (default) */
  --bg-dark: #0d1410;
  --bg-darker: #060a07;
  --bg-mid: #18211b;
  --bg-cream: #f5f2ea;
  --bg-white: #fbf9f3;
  --accent: #5cdb52;
  --accent-deep: #1a8a1f;
  --accent-glow: rgba(92, 219, 82, 0.35);
  --text-on-dark: #f5f2ea;
  --text-on-light: #0d1410;
  --muted-on-dark: #8b958a;
  --muted-on-light: #6b7268;
  --border-dark: #232c25;
  --border-light: #e2ddce;
  --danger: #e0533c;

  /* type */
  --font-display: "Anton", "Antonio", "Archivo Black", sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* sizing */
  --container: 1400px;
  --gutter: 32px;
  --section-y: 120px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  width: 100%;
  overflow-x: hidden;
}
body {
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--bg-cream);
  color: var(--text-on-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* --- container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- utility text --- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px; background: var(--accent);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  /* letter-spacing: -0.01em; */
  text-transform: uppercase;
}
.display.italic { font-style: italic; }
.accent-text { color: var(--accent); }
.section-cream .accent-text,
.section-cream .eyebrow {
  color: var(--accent-deep);
}
.section-cream .eyebrow::before {
  background: var(--accent-deep);
}

/* =========================================================
   NAV
========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(6,10,7,0.85) 0%, rgba(6,10,7,0) 100%);
  backdrop-filter: blur(8px);
  color: var(--text-on-dark);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav .nav-links {
  flex: 1;
  justify-content: center;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(245, 242, 234, 0.2);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-on-dark);
  transition: transform 0.25s, opacity 0.25s;
}
.nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
body.nav-open {
  overflow: hidden;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand span:last-child { color: var(--accent); }
.footer-brand-block .brand > span:first-child {
  color: var(--text-on-dark);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a { opacity: 0.78; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: #06180a;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); background: #6ee663; }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 100%, rgba(92, 219, 82, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 20%, rgba(40, 80, 45, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 60%, #050805 100%);
}
.hero-bg::after {
  /* subtle grass-texture stripes for depth */
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(95deg, transparent 0 18px, rgba(255,255,255,0.012) 18px 19px),
    repeating-linear-gradient(2deg, transparent 0 26px, rgba(0,0,0,0.18) 26px 27px);
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-headline {
  font-size: clamp(2.5rem, 10vw, 6em);
  margin: 24px 0 28px;
}
.hero-headline .line { display: block; }
.hero-headline .strike {
  position: relative;
  display: inline-block;
  color: var(--accent);
}
.hero-headline .strike::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%;
  top: 50%;
  height: 6px;
  background: var(--accent);
  transform: translateY(-30%) rotate(-1.5deg);
  opacity: 0.35;
}
.hero-sub {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted-on-dark);
  margin-bottom: 40px;
}
.hero-sub em { font-style: italic; color: var(--text-on-dark); }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #06180a;
}
.btn-primary:hover { background: #6ee663; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(245,242,234,0.25);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { width: 14px; height: 10px; }

/* hero badges row */
.hero-badges {
  display: flex;
  gap: 28px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  max-width: 200px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-glow);
}
.hero-badge strong {
  display: block;
  color: var(--text-on-dark);
  font-size: 13px;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

/* product render frame */
.hero-product {
  position: relative;
  display: grid;
  place-items: center;
  z-index: 1;
}
.hero-product-image {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 12px 8px 24px;
}
.hero-product-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: min(72vh, 620px);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 32px 48px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 64px rgba(92, 219, 82, 0.22));
}
.hero-product-image::before {
  /* glow halo behind bottle */
  content: "";
  position: absolute;
  inset: 8% 5% 4%;
  background: radial-gradient(circle at 50% 62%, rgba(92, 219, 82, 0.28) 0%, transparent 58%);
  filter: blur(24px);
  z-index: 1;
}
/* corner tickmarks */
.tickframe {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tickframe::before, .tickframe::after,
.tickframe > span:before, .tickframe > span:after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  opacity: 0.55;
}
.tickframe::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.tickframe::after { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.tickframe > span { display: block; }
.tickframe > span:before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.tickframe > span:after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.product-stamp {
  position: absolute;
  top: 8%;
  left: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6,10,7,0.6);
  border: 1px solid var(--border-dark);
  padding: 8px 14px;
  z-index: 3;
}
.product-stamp-r {
  position: absolute;
  bottom: 10%;
  right: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  background: rgba(6,10,7,0.6);
  border: 1px solid var(--border-dark);
  padding: 8px 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-stamp-r .num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-cue::after {
  content: "↓";
  display: inline-block;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(4px);} }

/* === HERO variants (toggle via body[data-hero]) === */
body[data-hero="split"] .hero { background: var(--bg-cream); color: var(--text-on-light); }
body[data-hero="split"] .hero-bg {
  background:
    linear-gradient(90deg, var(--bg-dark) 0% 50%, var(--bg-cream) 50% 100%);
}
body[data-hero="split"] .hero-bg::after { opacity: 0; }
body[data-hero="split"] .hero-copy { color: var(--text-on-dark); padding-right: 24px; }
body[data-hero="split"] .hero-sub { color: var(--muted-on-dark); }
body[data-hero="split"] .hero-sub em { color: var(--text-on-dark); }
body[data-hero="split"] .hero-badges { border-color: var(--border-dark); }
body[data-hero="split"] .btn-ghost { color: var(--text-on-dark); border-color: rgba(245,242,234,0.25); }

body[data-hero="minimal"] .hero { background: var(--bg-cream); color: var(--text-on-light); min-height: 80vh; }
body[data-hero="minimal"] .hero-bg {
  background: var(--bg-cream);
}
body[data-hero="minimal"] .hero-bg::after { opacity: 0; }
body[data-hero="minimal"] .hero .container { grid-template-columns: 1fr; text-align: center; max-width: 980px; }
body[data-hero="minimal"] .hero-copy { text-align: center; }
body[data-hero="minimal"] .eyebrow { justify-content: center; }
body[data-hero="minimal"] .hero-headline { font-size: clamp(56px, 7vw, 120px); }
body[data-hero="minimal"] .hero-sub { color: var(--muted-on-light); margin-left: auto; margin-right: auto; }
body[data-hero="minimal"] .hero-sub em { color: var(--text-on-light); }
body[data-hero="minimal"] .hero-actions { justify-content: center; }
body[data-hero="minimal"] .hero-badges { justify-content: center; border-color: var(--border-light); }
body[data-hero="minimal"] .hero-badge { color: var(--muted-on-light); }
body[data-hero="minimal"] .hero-badge strong { color: var(--text-on-light); }
body[data-hero="minimal"] .hero-product { display: none; }
body[data-hero="minimal"] .btn-ghost { color: var(--text-on-light); border-color: rgba(13,20,16,0.2); }
body[data-hero="minimal"] .nav {
  background: linear-gradient(180deg, var(--bg-cream) 0%, rgba(245,242,234,0) 100%);
  color: var(--text-on-light);
}
body[data-hero="minimal"] .nav .brand { color: var(--text-on-light); }

/* =========================================================
   TICKER
========================================================= */
.ticker {
  background: var(--bg-darker);
  color: var(--text-on-dark);
  padding: 16px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 56px;
  animation: scrollX 35s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
}
.ticker-track > span { display: inline-flex; align-items: center; gap: 56px; }
.ticker-dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
@keyframes scrollX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   COMPOSITION (BMI letters)
========================================================= */
.section { padding: var(--section-y) 0; position: relative; }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-cream { background: var(--bg-cream); color: var(--text-on-light); }
.section-soil {
  background:
    radial-gradient(ellipse at 50% 0%, #2a3526 0%, var(--bg-darker) 50%),
    var(--bg-darker);
  color: var(--text-on-dark);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head .title {
  font-size: clamp(40px, 5.5vw, 84px);
}
.section-head .subtitle {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted-on-light);
}
.section-dark .section-head .subtitle { color: var(--muted-on-dark); }

.bmi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bmi-card {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s, border-color 0.3s;
}
.bmi-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.bmi-letter {
  font-family: var(--font-display);
  font-size: clamp(100px, 22vw, 240px);
  line-height: 0.8;
  color: var(--accent);
  margin: -8px 0 -20px -8px;
}
.bmi-card .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.bmi-card .species {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0;
  text-transform: none;
  font-style: italic;
}
.bmi-card .desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-light);
}
.bmi-card .pct {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.bmi-card .pct .num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--text-on-light);
  line-height: 1;
}
.bmi-card .pct .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

/* =========================================================
   PROBLEM / DRAMATIC STATEMENT
========================================================= */
.problem {
  background: var(--bg-darker);
  color: var(--text-on-dark);
  padding: 0;
  position: relative;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}
.problem-image {
  position: relative;
  background: linear-gradient(180deg, #1c2316 0%, #0e1208 100%);
  overflow: hidden;
}
.problem-image .ph {
  position: absolute; inset: 0;
}
.problem-copy {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--bg-dark);
}
.problem-copy .eyebrow { color: var(--danger); }
.problem-copy .eyebrow::before { background: var(--danger); }
.problem-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 24px 0 32px;
}
.problem-copy h2 .hl {
  color: var(--accent);
  font-style: italic;
}
.problem-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-on-dark);
  max-width: 480px;
  margin-bottom: 32px;
}
.symptoms-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-dark);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.symptom {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  background: var(--bg-dark);
}
.symptom .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-on-dark);
  letter-spacing: 0.16em;
}
.symptom .name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.symptom .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--danger);
  border: 1px solid var(--danger);
  padding: 4px 8px;
  opacity: 0.85;
}

/* =========================================================
   PLACEHOLDER IMAGE STYLE
========================================================= */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg,
      rgba(245,242,234,0.04) 0 12px,
      rgba(245,242,234,0.07) 12px 24px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ph.light {
  background:
    repeating-linear-gradient(45deg,
      rgba(13,20,16,0.04) 0 12px,
      rgba(13,20,16,0.08) 12px 24px);
}
.ph::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(245,242,234,0.18);
}
.ph.light::before { border-color: rgba(13,20,16,0.22); }
.ph-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,242,234,0.55);
  text-align: center;
  padding: 12px 18px;
  background: rgba(6,10,7,0.55);
  border: 1px solid rgba(245,242,234,0.12);
  max-width: 80%;
}
.ph.light .ph-label {
  color: rgba(13,20,16,0.6);
  background: rgba(245,242,234,0.7);
  border-color: rgba(13,20,16,0.15);
}
.ph-coords {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(245,242,234,0.35);
}
.ph.light .ph-coords { color: rgba(13,20,16,0.4); }

/* =========================================================
   BEFORE / AFTER COMPARE
========================================================= */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 32px;
}
.compare-stage {
  --compare-x: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a0e0a;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.compare-stage.is-dragging {
  cursor: grabbing;
}
.compare-side {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.compare-side.before {
  z-index: 1;
}
.compare-side.after {
  z-index: 2;
  clip-path: inset(0 0 0 var(--compare-x, 50%));
}
.compare-side .ph--photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.compare-side .ph--photo img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-x, 50%);
  transform: translateX(-50%);
  z-index: 6;
  width: 56px;
  margin-left: -28px;
  pointer-events: none;
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  transform: translateX(-50%);
  pointer-events: none;
}
.compare-handle::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 0 18px var(--accent-glow);
}
.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #06180a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.compare-knob::before {
  content: "← →";
  letter-spacing: 0;
}
.compare-tag {
  position: absolute;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  z-index: 3;
}
.compare-tag.left {
  left: 20px;
  background: rgba(224, 83, 60, 0.85);
  color: #fff;
}
.compare-tag.right {
  right: 20px;
  background: rgba(92, 219, 82, 0.85);
  color: #06180a;
}
.compare-caption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}
.compare-caption div {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-on-light);
  text-transform: uppercase;
  line-height: 1.5;
}
.section-dark .compare-caption div { color: var(--muted-on-dark); }
.compare-caption strong {
  display: block;
  color: var(--text-on-light);
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.section-dark .compare-caption strong { color: var(--text-on-dark); }

/* =========================================================
   BENEFITS GRID
========================================================= */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}
.section-dark .benefits { background: var(--border-dark); border-color: var(--border-dark); }
.benefit {
  background: var(--bg-cream);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: background 0.3s;
}
.section-dark .benefit { background: var(--bg-dark); }
.benefit:hover { background: var(--bg-white); }
.section-dark .benefit:hover { background: var(--bg-mid); }
.benefit .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.benefit h3 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.benefit p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-light);
  max-width: 320px;
}
.section-dark .benefit p { color: var(--muted-on-dark); }
.benefit-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 8px;
}

/* =========================================================
   TABS — AGRICOLA / URBANO
========================================================= */
.tabs-head {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
}
.section-dark .tabs-head { border-color: var(--border-dark); }
.tab {
  padding: 18px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, background 0.2s;
}
.section-dark .tab { color: var(--muted-on-dark); }
.tab:hover:not(.active) {
  color: var(--text-on-light);
}
.section-dark .tab:hover:not(.active) {
  color: var(--text-on-dark);
}
.tab.active {
  color: #06180a;
  background: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.section-dark .tab.active {
  color: #06180a;
  background: var(--accent);
}
.tab-panel { display: none; }
.tab-panel.active { display: grid; }
.tab-panel {
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.tab-panel .photo {
  aspect-ratio: 5/4;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.tab-info h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tab-info p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted-on-light);
  margin-bottom: 36px;
  max-width: 460px;
}
.section-dark .tab-info p { color: var(--muted-on-dark); }
.spec-table {
  border-top: 1px solid var(--border-light);
}
.section-dark .spec-table { border-color: var(--border-dark); }
.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
  gap: 20px;
  align-items: baseline;
}
.section-dark .spec-row { border-color: var(--border-dark); }
.spec-row .key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.section-dark .spec-row .key { color: var(--muted-on-dark); }
.spec-row .val {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.spec-row .val .unit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-on-light);
  margin-left: 8px;
  letter-spacing: 0.14em;
}
.section-dark .spec-row .val .unit { color: var(--muted-on-dark); }

/* =========================================================
   PROCESS - 4 STAGES
========================================================= */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
}
.stage {
  background: var(--bg-darker);
  padding: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.stage-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0a0e0a;
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}
.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.stage .stage-label,
.stage h3,
.stage p,
.stage .stage-time {
  padding-left: 32px;
  padding-right: 32px;
}
.stage .stage-label {
  padding-top: 28px;
}
.stage .num {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.85;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}
.stage .stage-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.stage h3 {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 80%;
}
.stage p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-on-dark);
  margin-top: auto;
}
.stage-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 16px;
  margin-left: 32px;
  margin-right: 32px;
  border-top: 1px solid var(--border-dark);
}

/* =========================================================
   PEST GALLERY
========================================================= */
.pests {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.pest {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-dark);
  overflow: hidden;
  cursor: pointer;
}
.pest .pest-name {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  z-index: 2;
}
.pest .pest-sci {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  z-index: 2;
}

/* =========================================================
   RESULTS gallery
========================================================= */
.results-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 320px);
  gap: 12px;
}
.result {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
.result.tall { grid-row: span 2; }
.result.wide { grid-column: span 2; }
.result-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.result-meta .title {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
}
.result-meta .day {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--accent);
}

/* =========================================================
   FAQ
========================================================= */
.faq {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.faq-title {
  position: sticky;
  top: 100px;
}
.faq-title h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.faq-title p {
  color: var(--muted-on-light);
  font-size: 16px;
  line-height: 1.55;
  max-width: 320px;
}
.section-dark .faq-title p { color: var(--muted-on-dark); }
.faq-list {
  border-top: 1px solid var(--border-light);
}
.section-dark .faq-list { border-color: var(--border-dark); }
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.section-dark .faq-item { border-color: var(--border-dark); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 20px;
  padding: 28px 0;
  text-align: left;
  align-items: center;
}
.faq-q .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.16em;
}
.faq-q .qtext {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.faq-q .toggle {
  width: 28px; height: 28px;
  border: 1px solid var(--border-light);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--font-mono);
  transition: transform 0.3s, background 0.2s;
}
.section-dark .faq-q .toggle { border-color: var(--border-dark); }
.faq-item.open .faq-q .toggle {
  background: var(--accent);
  color: #06180a;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner {
  padding: 0 0 28px 52px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-on-light);
  max-width: 640px;
}
.section-dark .faq-a-inner { color: var(--muted-on-dark); }
.faq-item.open .faq-a { max-height: 400px; }

/* =========================================================
   FINAL CTA
========================================================= */
.cta {
  position: relative;
  padding: 140px 0;
  background: var(--bg-darker);
  color: var(--text-on-dark);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, var(--accent-glow) 0%, transparent 50%);
  opacity: 0.6;
}
.cta .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 140px);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.cta-copy h2 .accent-text { display: block; }
.cta-copy p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted-on-dark);
  max-width: 460px;
  margin-bottom: 40px;
}
.shopify-buy-wrap {
  width: 100%;
  max-width: 420px;
  min-height: 52px;
}
.shopify-buy-wrap .shopify-buy__product {
  text-align: left !important;
}
.shopify-buy-wrap .shopify-buy__btn-wrapper {
  margin: 0 !important;
}
.cta-product {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  width: 100%;
  max-width: 400px;
  min-height: 420px;
  margin: 0 auto;
  padding: 8px 0 16px;
}
.cta-product::before {
  content: "";
  position: absolute;
  inset: 10% 5% 2%;
  background: radial-gradient(circle at 50% 62%, rgba(92, 219, 82, 0.28) 0%, transparent 58%);
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}
.cta-product img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  max-height: min(52vh, 560px);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 32px 48px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 64px rgba(92, 219, 82, 0.22));
}
/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: #050805;
  color: var(--text-on-dark);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer h3.footer-col-title,
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a {
  font-size: 14px;
  color: var(--muted-on-dark);
  transition: color 0.2s;
}
.footer a:hover { color: var(--accent); }
.footer-brand-block .brand { font-size: 28px; }
.footer-brand-block p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted-on-dark);
  max-width: 280px;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Tablet */
@media (max-width: 960px) {
  :root {
    --section-y: 80px;
    --gutter: 24px;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }
  .nav .brand {
    order: 1;
    font-size: 20px;
  }
  .nav-cta {
    order: 3;
    padding: 8px 14px;
    font-size: 11px;
  }
  .nav-fagro {
    display: none;
  }
  .nav .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 100px var(--gutter) 40px;
    background: rgba(6, 10, 7, 0.97);
    backdrop-filter: blur(12px);
    font-size: 14px;
  }
  .nav.is-open .nav-links {
    display: flex;
  }
  .nav .nav-links a {
    opacity: 1;
    font-size: 14px;
  }

  .hero {
    padding: 110px 0 56px;
    min-height: auto;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-product {
    order: -1;
  }
  .hero-product-image {
    max-width: min(320px, 88vw);
    min-height: 0;
    margin: 0 auto;
    padding-bottom: 8px;
  }
  .hero-product-image img {
    max-height: min(48vh, 420px);
  }
  .hero-sub {
    font-size: 16px;
    max-width: none;
  }
  .hero-badges {
    gap: 20px;
    margin-top: 40px;
  }
  .scroll-cue {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
  .section-head .subtitle {
    max-width: none;
  }

  .bmi-grid {
    grid-template-columns: 1fr;
  }
  .bmi-card {
    padding: 32px 24px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .problem-image {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }
  .problem-copy {
    padding: 48px var(--gutter);
  }
  .problem-copy h2 {
    font-size: clamp(36px, 9vw, 72px);
  }

  .compare-stage {
    aspect-ratio: 4 / 3;
  }
  .compare-caption {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .compare-knob {
    width: 48px;
    height: 48px;
    font-size: 10px;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
  }
  .benefit {
    min-height: 220px;
    padding: 28px 24px;
  }
  .benefit h3 {
    font-size: 26px;
  }

  .tabs-head {
    flex-wrap: wrap;
  }
  .tab {
    flex: 1 1 auto;
    text-align: center;
    padding: 14px 16px;
    font-size: 11px;
  }
  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tab-panel .photo {
    aspect-ratio: 16 / 10;
  }
  .tab-info h3 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }
  .stage .num {
    font-size: 72px;
    right: 20px;
  }

  .pests {
    grid-template-columns: repeat(3, 1fr);
  }

  .results-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, minmax(200px, 220px));
  }
  .results-grid .tall {
    grid-row: span 1;
  }
  .results-grid .wide {
    grid-column: span 2;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-title {
    position: static;
  }
  .faq-q .qtext {
    font-size: 22px;
  }

  .cta {
    padding: 100px 0;
  }
  .cta .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .cta-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-copy .hero-actions {
    justify-content: center;
  }
  .cta-actions {
    align-items: flex-start;
  }
  .cta-product {
    max-width: min(320px, 85vw);
    min-height: 0;
  }
  .cta-product img {
    max-width: min(320px, 85vw);
    max-height: min(42vh, 440px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ticker-track {
    font-size: 20px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-y: 64px;
    --gutter: 20px;
  }

  .nav-cta span:last-child {
    display: none;
  }
  .nav-cta::after {
    content: "→";
  }

  .hero {
    padding-top: 96px;
  }
  .hero-headline {
    margin: 16px 0 20px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-badges {
    flex-direction: column;
    gap: 16px;
  }
  .hero-badge {
    max-width: none;
  }
  .product-stamp,
  .product-stamp-r {
    font-size: 9px;
    padding: 6px 10px;
  }

  .bmi-card .pct .num {
    font-size: 40px;
  }
  .bmi-card .species {
    font-size: 22px;
  }

  .symptom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 16px 0;
  }
  .symptom .idx {
    width: 40px;
    flex-shrink: 0;
  }
  .symptom .name {
    flex: 1;
    min-width: 0;
    font-size: 18px;
  }
  .symptom .tag {
    width: 100%;
    margin-left: 52px;
  }

  .compare-stage {
    aspect-ratio: 1 / 1;
  }
  .compare-tag {
    font-size: 9px;
    padding: 6px 10px;
    top: 12px;
  }
  .compare-tag.left {
    left: 12px;
  }
  .compare-tag.right {
    right: 12px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .tabs-head {
    flex-direction: column;
    border-bottom: none;
    gap: 0;
  }
  .tab {
    width: 100%;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-light);
  }
  .tab.active {
    border-bottom-color: var(--accent);
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }
  .spec-row .val {
    font-size: 18px;
  }

  .process {
    grid-template-columns: 1fr;
  }
  .stage {
    min-height: 0;
    padding-bottom: 32px;
  }
  .stage-media {
    aspect-ratio: 16 / 10;
  }

  .pests {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .results-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .results-grid .wide {
    grid-column: span 1;
  }
  .result,
  .results-grid .tall {
    min-height: 240px;
  }

  .faq-q {
    grid-template-columns: 28px 1fr 28px;
    gap: 12px;
    padding: 20px 0;
  }
  .faq-q .qtext {
    font-size: 18px;
  }
  .faq-a-inner {
    padding-left: 40px;
    font-size: 15px;
  }
  .faq-title h2 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .cta-copy h2 {
    font-size: clamp(40px, 12vw, 72px);
  }
  .cta-copy .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-copy .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .shopify-buy-wrap {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand-block p {
    max-width: none;
  }

  .ticker {
    padding: 12px 0;
  }
  .ticker-track {
    font-size: 16px;
    gap: 32px;
  }
  .ticker-track > span {
    gap: 32px;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .brand {
    font-size: 18px;
  }
  .nav-cta {
    padding: 8px 12px;
  }
  .pests {
    grid-template-columns: 1fr 1fr;
  }
  .pest-name,
  .pest-sci {
    font-size: 9px;
  }
}

/* Real photos (project assets) */
.ph--photo {
  background: var(--bg-darker);
}
.ph--photo::before {
  display: none;
}
.ph--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph--photo .ph-label {
  z-index: 2;
}
.compare-side .ph--photo img {
  object-fit: cover;
}
.pest img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.result .ph--photo img {
  object-fit: cover;
}
.nav-fagro img {
  height: 36px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.nav-fagro:hover img {
  opacity: 1;
}
.footer-fagro-logo {
  max-width: 140px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.footer-social a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--border-dark);
  color: var(--muted-on-dark);
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.nota-legal {
  text-align: center;
  padding: 20px var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-on-dark);
  background: #050805;
  border-top: 1px solid var(--border-dark);
}
