/* ==========================================================================
   Bhumiadhara — Design System
   Regenerative farming brand · earthy premium · mobile-first
   Fonts: Sora (display) + Inter (body) via Google Fonts
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --forest-950: #0f2318;
  --forest-900: #142e22;
  --forest-800: #1b3a2b;
  --forest-700: #26503a;
  --leaf-700: #2f6b41;
  --leaf-600: #3e7c4f;
  --leaf-500: #4f8f5e;
  --leaf-300: #9cbf9c;
  --leaf-100: #e4efe1;
  --soil-700: #4a3523;
  --soil-600: #63482f;
  --soil-500: #7a5a38;
  --soil-300: #c4a87f;
  --beige-300: #e6d9be;
  --beige-200: #efe6d3;
  --cream-100: #f6f1e6;
  --cream-50: #fcfaf4;
  --gold-500: #c89a56;
  --gold-600: #b0833f;
  --ink: #1f2a1e;
  --muted: #5b6657;
  --line: rgba(31, 42, 30, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --whatsapp: #1faa57;

  /* Type */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 10px -4px rgba(20, 42, 30, 0.12);
  --shadow-md: 0 14px 34px -14px rgba(20, 42, 30, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(15, 35, 24, 0.35);
  --shadow-emerald: 0 14px 30px -12px rgba(63, 124, 79, 0.45);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.45s;

  --header-h: 76px;
  /* The header is fixed, so anything pinned under it and anything that has to
     clear it are measured from these two. --chrome-h is the full fixed chrome. */
  --catbar-h: 44px;
  --chrome-h: calc(var(--header-h) + var(--catbar-h));
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Telugu has no spaces inside compounds, so single tokens run past the box:
     "ప్రారంభించాలనుకుంటున్నారా?" measured 415px against a 296px column and
     "పునరుద్ధరించడం." 326px, and with no break opportunity the text pushed the
     document to 427px - a sideways scrollbar even though every box already
     fit. `anywhere` breaks a token only when no line can hold it, so English
     and short Telugu render untouched; it also stops the token from setting
     the min-content width a flex or grid track has to honour. nowrap rules
     above are unaffected because their lines never overflow. */
  overflow-wrap: anywhere;
}

img { max-width: 100%; display: block; }
svg { display: block; }

/* Icon wrapper. Icons are injected as <span class="svg-icon" data-icon="...">
   with the SVG as its only child, and that SVG carries no width/height
   attributes. With no size on the wrapper the SVG collapses to 0x0 and the
   button paints nothing - the hamburger was a 44x44 empty circle. This one
   rule gives every injected icon a real box; component rules below still win
   because they are more specific. */
.svg-icon { display: inline-flex; flex: none; width: 18px; height: 18px; }
.svg-icon > svg { width: 100%; height: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); }

::selection { background: var(--leaf-600); color: #fff; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--forest-800); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 22px; }

.section { padding-block: 72px; }
.section--tight { padding-block: 48px; }
.section--cream { background: var(--cream-100); }
.section--beige { background: var(--beige-200); }
.section--forest { background: var(--forest-900); color: var(--cream-100); }
.section--soil { background: var(--soil-700); color: var(--cream-100); }
.section--leaf { background: var(--leaf-600); color: #fff; }
.section--white { background: #fff; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: minmax(0, 1fr); }
.grid-3 { grid-template-columns: minmax(0, 1fr); }
.grid-4 { grid-template-columns: minmax(0, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-2 { gap: 34px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Section headings */
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--leaf-500), var(--gold-500));
}
.section-head--center .eyebrow { justify-content: center; }
.section--forest .eyebrow, .section--soil .eyebrow { color: var(--gold-500); }
.h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.section--forest .h2, .section--soil .h2 { color: var(--cream-100); }
.lede { margin-top: 16px; font-size: 1.05rem; color: var(--muted); }
.section--forest .lede, .section--soil .lede { color: rgba(255, 255, 255, 0.78); }

/* Split layout (image + text) */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 58px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-full); border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .svg-icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:hover .svg-icon { transform: translateX(3px); }

.btn-primary { background: var(--leaf-600); color: #fff; box-shadow: var(--shadow-emerald); }
.btn-primary:hover { background: var(--leaf-700); }

.btn-dark { background: var(--forest-800); color: #fff; }
.btn-dark:hover { background: var(--forest-700); }

.btn-light { background: var(--cream-50); color: var(--forest-800); }
.btn-light:hover { background: #fff; box-shadow: var(--shadow-md); }

.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--leaf-600); color: var(--leaf-700); }

.btn-ghost-light { border-color: var(--line-light); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 12px 28px -12px rgba(31, 170, 87, 0.55); }
.btn-whatsapp:hover { background: #168f47; }
.btn-whatsapp .svg-icon { width: 18px; height: 18px; }

.btn-gold { background: var(--gold-500); color: var(--forest-950); }
.btn-gold:hover { background: var(--gold-600); color: #fff; }

.btn-lg { padding: 18px 34px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: 0.84rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--chrome-h);
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  color: #fff;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.site-header.scrolled { background: rgba(252, 250, 244, 0.92); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(20,42,30,.25); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; height: var(--header-h); flex: none; }

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; flex: 0 1 auto; }
/* min-width:0 lets the brand text shrink inside the flex row; without it
   the text overflowed its own box and the row could not reflow. */
.brand__text { min-width: 0; }
.brand__logo { width: 42px; height: 42px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.brand__tag { display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; margin-top: 3px; }

.primary-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Dark rather than white-glass: its labels sit over the same light olive
   hero and measured 4.05-4.34:1, under the 4.5:1 small text needs. Darkening
   the backdrop takes them to ~7:1 without touching the cream active state. */
.lang-switch { display: inline-flex; background: rgba(20,42,30,0.38); border: 1px solid var(--line-light); border-radius: var(--r-full); padding: 3px; }
.scrolled .lang-switch { background: var(--cream-100); border-color: var(--line); }
.lang-btn {
  border: 0; background: transparent; color: inherit; font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 7px 12px; border-radius: var(--r-full); transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-btn.active { background: var(--leaf-600); color: #fff; }
.site-header:not(.scrolled) .lang-btn.active { background: var(--cream-50); color: var(--forest-800); }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: #fff; border: 1px solid rgba(20, 42, 30, 0.16); color: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(20, 42, 30, 0.45);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.scrolled .cart-btn { background: #fff; border-color: var(--line); box-shadow: 0 6px 16px -10px rgba(20, 42, 30, 0.3); }
.cart-btn:hover { transform: translateY(-2px); }
.cart-btn .svg-icon { width: 24px; height: 24px; }
.cart-btn .svg-icon svg { width: 100%; height: 100%; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px;
  display: grid; place-items: center; padding-inline: 5px;
  background: var(--gold-500); color: var(--forest-950); border-radius: var(--r-full);
  font-size: 0.68rem; font-weight: 800; font-family: var(--font-display);
  border: 2px solid rgba(255,255,255,0.9);
}
.scrolled .cart-count { border-color: var(--cream-50); }
.cart-count:empty { display: none; }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-full);
  /* Solid white with an ink icon, matching .cart-btn. The old translucent
     white button sat over the light olive right-hand side of hero-field.svg:
     the white hamburger inside it measured 2.57-2.79:1 against its own surface
     and the button's boundary 1.18-1.21:1 against the page, both under the 3:1
     a UI component needs - which is why it read as missing on a phone. */
  background: #fff; border: 1px solid rgba(20, 42, 30, 0.16); color: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(20, 42, 30, 0.45);
}
.scrolled .nav-toggle { background: #fff; border-color: var(--line); box-shadow: 0 6px 16px -10px rgba(20, 42, 30, 0.3); }
.nav-toggle .svg-icon { width: 22px; height: 22px; }

@media (min-width: 1120px) {
  .primary-nav { display: flex; align-items: center; gap: 12px; }
  .nav-link { font-family: var(--font-display); font-size: 0.76rem; font-weight: 500; position: relative; padding-block: 6px; opacity: 0.92; white-space: nowrap; }
  .nav-link::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
    background: currentColor; border-radius: 2px; transition: right var(--dur) var(--ease);
  }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
  .nav-link[aria-current="page"] { opacity: 1; font-weight: 700; }
  html[lang="te"] .primary-nav { gap: 14px; }
  html[lang="te"] .nav-link { font-size: 0.72rem; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Narrow phones ----------
   Measured need for the header row was 362px against 305-399px of viewport
   at 320/360/390/414 device widths. The row is fixed-position and clips, so
   the overflow was invisible in the document but pushed the hamburger off
   screen (it sat at x=358-402 in a 345px viewport). These rules bring the
   row under the narrowest common width and keep the menu button 44x44. */
@media (max-width: 520px) {
  /* The fixed chrome measured 120px - 21% of a 568px screen before any page
     content. Trim the header and category bar so it is 108px; --chrome-h and
     everything measured from it (mobile nav inset, page-hero padding) follow. */
  :root { --header-h: 68px; --catbar-h: 40px; }
  .nav-wrap { gap: 10px; }
  .header-actions { gap: 6px; }
  .lang-btn { padding: 6px 8px; font-size: 0.66rem; letter-spacing: 0.06em; }
  /* the menu and cart targets must never be the flex items that shrink */
  .nav-toggle, .cart-btn { flex: none; }
  /* Keep the mark visible on phones, shrunk so logo + wordmark + tag still
     sit beside the two 44px targets. The full 42px mark plus its 11px gap
     left the wordmark 95px of a 108-125px string at 401-430px and it
     clipped; the band now drops the mark proportionally with the name (32px
     here, 28px below 400, 26px below 360). */
  .brand { gap: 8px; }
  .brand__logo { display: inline-block; width: 32px; height: 32px; }
}
@media (max-width: 400px) {
  /* the decorative subtitle wraps to two lines here and pushes the header
     taller than --header-h; the wordmark carries the brand on its own */
  .brand__tag { display: none; }
  .brand { gap: 7px; }
  .brand__logo { width: 28px; height: 28px; }
  .brand__name { font-size: 0.9rem; }
}
@media (max-width: 360px) {
  /* Tightest band. At 305-320px the row is 296px net after 12px gutters and
     the actions block (pill + cart + toggle) holds ~175px, so the brand gets
     ~113px. With the mark and wordmark both visible, logo 22 + gap 3 + name
     0.8rem fits even when the offline fallback face is wider (name ~88px vs
     ~79px with the real font). */
  .container { padding-inline: 12px; }
  .nav-wrap { gap: 8px; }
  .header-actions { gap: 5px; }
  .lang-btn { padding: 5px 4px; font-size: 0.62rem; }
  .brand { gap: 3px; }
  .brand__logo { width: 22px; height: 22px; }
  .brand__name { font-size: 0.8rem; }
}

/* ---------- Category bar (dropdown under the header) ----------
   Lives inside the fixed header, so it inherits the .scrolled background and
   colour. The panel is absolutely positioned so opening it overlays the page
   instead of pushing the layout around. */
.catbar {
  position: relative; flex: none;
  height: var(--catbar-h);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.scrolled .catbar { border-top-color: var(--line); }

.catbar__trigger {
  display: inline-flex; align-items: center; gap: 9px;
  height: 100%; padding: 0 4px;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.01em; color: inherit; background: none; border: 0;
  cursor: pointer; opacity: 0.94;
  transition: opacity var(--dur) var(--ease);
}
.catbar__trigger:hover { opacity: 1; }
.catbar__trigger .svg-icon { width: 17px; height: 17px; display: block; flex: none; }
.catbar__trigger .svg-icon svg { width: 100%; height: 100%; display: block; }
.catbar__trigger-label { white-space: nowrap; }
.catbar__chevron { transition: transform var(--dur) var(--ease); }
.catbar__trigger[aria-expanded="true"] .catbar__chevron { transform: rotate(180deg); }
.catbar__trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.catbar__menu {
  position: absolute; top: calc(100% + 1px); left: 0; right: 0; z-index: 5;
  background: var(--cream-50);
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 24px 50px -24px rgba(20, 42, 30, 0.45);
  color: var(--ink);
  padding: 10px;
}
.catbar__menu[hidden] { display: none; }
.catbar__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px;
}
.catbar__link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: var(--r-sm);
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.catbar__link:hover { background: var(--leaf-100); color: var(--leaf-800); }
.catbar__link:focus-visible { outline: 2px solid var(--leaf-600); outline-offset: -2px; }
.catbar__link[aria-current="page"] { background: var(--leaf-600); color: #fff; }
.catbar__link-count {
  margin-left: auto; font-family: var(--font-body); font-size: 0.72rem;
  font-weight: 600; opacity: 0.62; font-variant-numeric: tabular-nums;
}
.catbar__link[aria-current="page"] .catbar__link-count { opacity: 0.8; }

@media (max-width: 860px) {
  .catbar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .catbar__list { grid-template-columns: minmax(0, 1fr); }
}
/* the header has room to breathe on wide screens, so show a hair more */
@media (max-width: 1119px) {
  .catbar__trigger { font-size: 0.78rem; }
  html[lang="te"] .catbar__trigger { font-size: 0.72rem; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed; inset: var(--chrome-h) 0 auto 0; z-index: 99;
  background: var(--cream-50); color: var(--ink);
  padding: 18px 22px 30px; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 4px;
  /* The nine links plus padding come to 584px, ending at y=688 on a 568px
     iPhone SE and y=688 on a 640px Android - the last link sat 48-120px below
     the bottom of the screen with hit=NULL. The panel is position:fixed, so
     the page itself cannot scroll to reveal it; cap it to the viewport and
     let the links scroll inside instead. */
  max-height: calc(100vh - var(--chrome-h));
  max-height: calc(100dvh - var(--chrome-h));
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-16px); opacity: 0; pointer-events: none;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; padding: 13px 8px; border-radius: var(--r-sm); }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--leaf-100); color: var(--leaf-700); }
/* The panel needs 583px of content but a 640px phone offers only 531 after the
   fixed chrome, so at the roomy 55px per link the last item fell below the
   fold and the menu needed an internal scroll. Tightened to ~47px per link
   (still above the 44px minimum target) plus shallower padding, the whole menu
   fits without scrolling on every phone from 640px up. 568px devices keep
   scrolling, which is what overflow-y:auto above is there for. */
@media (max-height: 700px) {
  .mobile-nav { padding: 12px 22px 14px; }
  .mobile-nav a { padding: 10px 8px; line-height: 1.6; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: max(640px, 100svh);
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(252, 250, 244, 0.4), transparent 55%),
    linear-gradient(180deg, #2c5f44 0%, #1d4530 42%, #14301f 100%);
  animation: heroBreathe 18s ease-in-out infinite alternate;
}
.hero__svg { position: absolute; inset: 0; z-index: -1; display: grid; place-items: end center; }
.hero__svg svg, .hero__svg img { width: 100%; height: 100%; display: block; opacity: 0.45; }
@keyframes heroBreathe { from { transform: scale(1); } to { transform: scale(1.035); } }

.hero__grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.35) 0.6px, transparent 0.6px);
  background-size: 22px 22px;
}

.hero__content { position: relative; z-index: 2; padding-block: 150px 110px; width: 100%; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-500);
  background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 16px; border-radius: var(--r-full); margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero__title { font-size: clamp(2.4rem, 8.4vw, 4.6rem); font-weight: 800; max-width: 900px; }
.hero__title .accent { display: block; color: var(--beige-300); }
.hero__title .accent.gold { color: var(--gold-500); }
.hero__title em { font-style: normal; color: var(--gold-500); }
.brand__text { display: inline-flex; flex-direction: column; }
.hero__lead { margin-top: 22px; max-width: 620px; font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: rgba(255,255,255,0.86); }
.hero__buttons { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust {
  margin-top: 34px; display: inline-flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust span::before { content: "✦"; color: var(--gold-500); }

.hero__cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.75); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero__cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.6); border-radius: 14px; position: relative; }
.hero__cue .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--gold-500); border-radius: 3px; animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee strip ---------- */
.strip { background: var(--forest-800); color: var(--cream-100); overflow: hidden; padding-block: 14px; }
.strip__inner { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.strip__group { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.strip__item {
  display: inline-flex; align-items: center; gap: 26px;
  padding-inline: 26px; font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}
.strip__item::before { content: "🌿"; font-size: 0.9rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__inner { animation: none; } }

/* ---------- Duo split (image composition) ---------- */
.img-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--leaf-100);
}
.img-frame img, .img-frame svg { width: 100%; height: 100%; object-fit: cover; }
.img-frame--tall { aspect-ratio: 4 / 5; }
.img-frame--wide { aspect-ratio: 5 / 4; }
.img-frame--square { aspect-ratio: 1 / 1; }
/* native 4:3 photos — frame matches the image ratio so object-fit:cover never crops */
.img-frame--photo { aspect-ratio: 4 / 3; }
.img-frame--stack { display: grid; gap: 18px; }
.img-frame--stack .img-frame { box-shadow: none; }
.img-frame--portrait {
  aspect-ratio: 1 / 1;
  background: linear-gradient(170deg, var(--leaf-100), var(--cream-50) 55%, #ffffff);
}
.img-frame--portrait img { object-fit: contain; padding: 10px; box-sizing: border-box; width: 100%; height: 100%; }
/* Transparent cutout on dark sections: no backdrop, no shadow, no radius */
.img-frame--portrait--clear { background: transparent; border-radius: 0; overflow: visible; box-shadow: none; }

.feature-list { display: grid; gap: 0; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 0;
  border-bottom: 1px solid var(--line); font-weight: 500;
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list .ico-wrap {
  flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--leaf-100); color: var(--leaf-700); border-radius: 12px;
}
.feature-list .ico-wrap svg { width: 20px; height: 20px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 28px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.philosophy-card { position: relative; overflow: hidden; padding-top: 34px; }
.philosophy-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--leaf-500), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.philosophy-card:hover::before { transform: scaleX(1); }
.philosophy-card__num {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em;
  color: var(--gold-600); margin-bottom: 8px;
}
.philosophy-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.philosophy-card p { color: var(--muted); font-size: 0.97rem; }

.topic-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.topic-card__icon {
  flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; background: var(--leaf-100); color: var(--leaf-700);
}
.topic-card__icon svg { width: 24px; height: 24px; }
.topic-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.topic-card p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Products ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  font-family: var(--font-display); font-size: 0.84rem; font-weight: 600;
  padding: 10px 18px; border-radius: var(--r-full);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--leaf-500); color: var(--leaf-700); }
.chip.active { background: var(--forest-800); border-color: var(--forest-800); color: #fff; box-shadow: var(--shadow-md); }

.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.product-card {
  display: flex; flex-direction: column;
  container-type: inline-size; container-name: product-card;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--leaf-100); padding: 10px; }
.product-media img, .product-media svg { width: 100%; height: 100%; object-fit: contain; }
/* Overlay chips sit in a flex row across the top of the image: the promo
   badge is pinned left, the out-of-stock chip is pinned right. */
.product-flags {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  pointer-events: none;
}
.product-badge {
  flex: 0 0 auto;
  background: var(--gold-500); color: var(--forest-950);
  font-family: var(--font-display); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--r-full); box-shadow: var(--shadow-sm);
}
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px; flex: 1; }
.product-name { font-size: 1rem; }
.product-short {
  font-size: 0.85rem; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: 1.08rem; font-weight: 800; color: var(--leaf-700); }
.price .rupee { font-size: 0.9em; }
.mrp { font-size: 0.82rem; color: var(--muted); text-decoration: line-through; }
.save { font-size: 0.75rem; font-weight: 700; color: var(--gold-600); }
.product-meta { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf-500); }
.stock-dot--low { background: var(--gold-500); }
.stock-dot--out { background: #c0392b; }

/* Out of stock: chip at the image's top-right, muted card, no ordering controls.
   Shrinks and wraps rather than ever pushing into the promo badge. */
.product-out {
  flex: 0 1 auto; min-width: 0; margin-left: auto; text-align: right;
  background: rgba(20, 30, 25, 0.82); color: #fff;
  font-family: var(--font-display); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.35;
  padding: 6px 10px; border-radius: var(--r-full);
}
.product-card--out .product-media img { opacity: 0.42; filter: grayscale(0.55); }
.product-card--out .variant-select { opacity: 0.5; cursor: not-allowed; }
.product-card--out .btn[disabled] { cursor: not-allowed; }
.variant-select {
  width: 100%; font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  padding: 9px 10px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--cream-50); color: var(--ink);
}
.product-actions { display: grid; gap: 10px; margin-top: auto; }
.product-actions .row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
/* Card buttons are half the card width, so btn-sm's 0.84rem wrapped the
   labels onto two lines, three in Telugu. Tighten them, and let the long
   out-of-stock label span the full row so it stays on one line instead of
   being shrunk further to illegibility. */
.product-actions .btn {
  font-size: 0.78rem;
  padding: 9px 12px;
  letter-spacing: 0;
  gap: 6px;
  line-height: 1.2;
}
.product-actions .btn .svg-icon { width: 15px; height: 15px; }
.product-actions .row-2 > .btn[disabled] { grid-column: 1 / -1; }
/* The out-of-stock label is long and its state is already carried by the
   chip on the image, the stock meta line and the disabled select, so it is
   set at half the card button size. */
.product-actions .btn[disabled] { font-size: 0.39rem; }
/* The labels that set the row's height have to fit their own columns, not
   the card. Size that off the card's inline size rather than the viewport,
   so it holds for any column count at any width. Below 300px a card cannot
   fit "View Product" and "Add to Cart" side by side on one line in either
   language - the pair measures 256px in English and 292px in Telugu - so
   the row stacks and each label gets the full card width. */
@container product-card (max-width: 300px) {
  .product-actions .row-2 { grid-template-columns: minmax(0, 1fr); }
}

.price-note { font-size: 0.78rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline__item { position: relative; padding: 0 0 34px 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: 11px; top: 26px; bottom: -6px; width: 2px;
  background: linear-gradient(var(--leaf-300), var(--gold-500));
}
.timeline__item:last-child::before { display: none; }
.timeline__dot {
  position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cream-50); border: 3px solid var(--leaf-500); display: grid; place-items: center;
}
.timeline__dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.timeline__step { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; }
.timeline__note { color: var(--muted); font-size: 0.9rem; margin-top: 4px; max-width: 480px; }

@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
  .timeline__item { padding: 0; text-align: center; }
  .timeline__item::before { left: 50%; top: 12px; width: calc(100% - 20px); height: 2px; transform: translateX(8px); background: linear-gradient(90deg, var(--leaf-300), var(--gold-500)); }
  .timeline__dot { position: relative; left: auto; top: auto; margin: 0 auto 16px; }
  .timeline__step { font-size: 0.95rem; }
  .timeline__note { margin-inline: auto; }
}

/* ---------- Chapters (Our Story — six chapters) ---------- */
.chapters-section { padding-block: 56px; }
.chapters-section .chapters-head { margin-bottom: 34px; }
.chapters-section .lede { margin-top: 10px; font-size: 0.98rem; }
.chapters {
  list-style: none; margin: 0; padding: 0;
  position: relative; max-width: 920px; margin-inline: auto;
  display: grid; gap: 16px;
}
.chapters::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 15px; width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--leaf-300) 0%, var(--gold-500) 50%, var(--leaf-300) 100%);
}
.chapters__item { position: relative; padding-left: 56px; }
.chapters__dot {
  position: absolute; left: 0; top: 26px; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--leaf-500); box-shadow: var(--shadow-sm);
  display: grid; place-items: center; z-index: 2;
}
.chapters__dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.chapters__card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 22px 24px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.chapters__card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--leaf-500), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.chapters__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.chapters__card:hover::before { transform: scaleX(1); }
.chapters__num {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf-600); margin-bottom: 10px;
}
.chapters__badge {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--leaf-600), var(--leaf-700)); color: #fff;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0; box-shadow: var(--shadow-sm);
  text-transform: none; flex: none;
}
.chapters__label::after {
  content: ""; display: inline-block; width: 36px; height: 2px; margin-left: 10px;
  border-radius: 2px; background: linear-gradient(90deg, var(--gold-500), var(--leaf-500));
  vertical-align: middle;
}
.chapters__step { font-size: clamp(1.05rem, 2vw, 1.28rem); margin-bottom: 8px; }
.chapters__note { color: var(--muted); font-size: 0.94rem; line-height: 1.62; max-width: 560px; }
.chapters__item:nth-child(even) { --d: .06s; }

@media (min-width: 1000px) {
  .chapters { max-width: 1120px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 72px; }
  .chapters::before { left: 50%; transform: translateX(-50%); }
  .chapters__item { padding-left: 0; }
  .chapters__dot { left: auto; right: -51px; top: 24px; }
  .chapters__item:nth-child(even) .chapters__dot { right: auto; left: -51px; }
  .chapters__card { padding: 24px 28px; }
  .chapters__item::before {
    content: ""; position: absolute; top: 38px; width: 21px; height: 2px; background: var(--leaf-200);
  }
  .chapters__item:nth-child(odd)::before { left: 100%; }
  .chapters__item:nth-child(even)::before { right: 100%; }
}

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; text-align: center; }
@media (min-width: 760px) { .stats-band { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stat__num {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800;
  color: var(--gold-500); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.82); }

/* ---------- Check list ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
/* 20px mark, not 24: at 24 the circle spanned nearly the whole line-height,
   so the badges read louder than the text they annotate. */
.checklist .ck {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--leaf-500); color: #fff;
}
.checklist .ck svg { width: 11px; height: 11px; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 14px; }
.acc-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: box-shadow var(--dur) var(--ease);
}
.acc-item.open { box-shadow: var(--shadow-md); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: transparent; border: 0; text-align: left;
  padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.acc-head .acc-ico { flex: 0 0 22px; display: grid; place-items: center; color: var(--leaf-600); }
.acc-head .acc-ico svg { width: 20px; height: 20px; transition: transform var(--dur) var(--ease); }
.acc-item.open .acc-ico svg { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.acc-body-inner { padding: 0 22px 22px; color: var(--muted); font-size: 0.95rem; }
.acc-body-inner p + p { margin-top: 10px; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card__stars { color: var(--gold-500); letter-spacing: 3px; font-size: 0.95rem; }
.testimonial-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.testimonial-card__quote { position: relative; }
/* long reviews are clamped with a fade; the toggle swaps .is-clamped for .is-open */
.testimonial-card.is-clamped .testimonial-card__quote { max-height: 10.2em; overflow: hidden; }
.testimonial-card.is-clamped .testimonial-card__quote::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.4em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
}
.testimonial-card__more {
  align-self: flex-start; margin-top: -8px; padding: 0; border: 0; background: none;
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 600;
  color: var(--leaf-600); cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px;
}
.testimonial-card__more:hover { color: var(--leaf-700, var(--leaf-600)); }

/* ---------- Customer review slider ----------
   Cards are a quarter of the track wide, so four are visible on desktop. The
   flex-grow makes a short list (fewer than four reviews) stretch to fill the
   row instead of leaving a hole at the end of the track. */
.review-slider { position: relative; }
.review-slider[hidden] { display: none; }
.review-slider__track {
  display: flex; gap: 22px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px 4px 8px; margin: -4px -4px -8px;
}
.review-slider__track::-webkit-scrollbar { display: none; }
.review-slider__track:focus-visible { outline: 2px solid var(--leaf-600); outline-offset: 6px; border-radius: var(--r-lg); }
.review-slider__track > .testimonial-card {
  flex: 1 0 calc((100% - 66px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}
.review-slider__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin-top: 28px;
}
.review-slider__nav[hidden] { display: none; }
.review-slider__btn {
  width: 46px; height: 46px; flex: none; padding: 0;
  display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.review-slider__btn .svg-icon { width: 20px; height: 20px; display: block; }
.review-slider__btn .svg-icon svg { width: 100%; height: 100%; display: block; }
.review-slider__btn:hover:not([disabled]) { border-color: var(--leaf-600); color: var(--leaf-700); transform: translateY(-1px); }
.review-slider__btn[disabled] { opacity: 0.32; cursor: not-allowed; }
.review-slider__dots { display: flex; align-items: center; gap: 8px; }
.review-slider__dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: var(--line); cursor: pointer;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.review-slider__dot.is-active { background: var(--leaf-600); width: 26px; }

/* ---------- Leave a review ---------- */
.leave-review {
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px; align-items: start;
}
.leave-review__intro .h3 { margin-bottom: 8px; }
.leave-review__intro p { color: var(--muted); font-size: 0.94rem; }
.leave-review__form { display: grid; gap: 13px; }
.leave-review__form .textarea { min-height: 84px; }
.leave-review__actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px 16px; margin-top: 2px;
}
.leave-review__actions .btn { padding: 12px 20px; }
.leave-review__actions p { font-size: 0.8rem; line-height: 1.45; max-width: 34ch; }

/* ---------- Clickable star rating ----------
   Radios and labels run 1 -> 5 so they read left to right. Every star starts
   gold; a checked radio dims the labels after it (the higher ratings) and the
   "+ label" rule, declared second, keeps the chosen star itself gold. The
   hover preview is painted in forms.js. */
.starfield { border: 0; margin: 0; padding: 0; min-width: 0; }
.starfield legend { padding: 0; }
.stars-input { display: flex; align-items: center; gap: 1px; }
.stars-input input {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; margin: 0; pointer-events: none;
}
.stars-input label {
  color: var(--gold-500); cursor: pointer; line-height: 1;
  font-size: 1.65rem; padding: 0 1px; border-radius: 4px;
  transition: color 0.15s var(--ease), transform 0.15s var(--ease);
}
.stars-input label:hover { transform: scale(1.14); }
.stars-input input:checked ~ label { color: var(--line); }
.stars-input input:checked + label { color: var(--gold-500); }
.stars-input input:focus-visible + label {
  outline: 2px solid var(--leaf-600); outline-offset: 2px;
}
.starfield__out {
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1023px) {
  .review-slider__track > .testimonial-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 860px) {
  .leave-review { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; padding-top: 26px; }
  .leave-review__form .form-grid.cols-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .review-slider__track { gap: 14px; }
  .review-slider__track > .testimonial-card { flex-basis: 100%; }
  .review-slider__btn { width: 42px; height: 42px; }
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--leaf-600), var(--soil-500));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.author-name { font-weight: 700; font-size: 0.94rem; }
.author-role { font-size: 0.8rem; color: var(--muted); }

/* ---------- Social (follow) ---------- */
.social-cta { display: flex; justify-content: center; }

/* ---------- Quote block ---------- */
.quote-block {
  position: relative; padding: 40px 34px; border-radius: var(--r-xl);
  background: var(--forest-800); color: var(--cream-100); overflow: hidden;
}
.quote-block::before {
  content: "”"; position: absolute; top: -30px; right: 14px;
  font-family: var(--font-display); font-size: 11rem; color: rgba(255,255,255,0.08); line-height: 1;
}
.quote-block p.quote { font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 700; line-height: 1.35; max-width: 700px; position: relative; }
.quote-block .quote-by { margin-top: 16px; color: var(--gold-500); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; position: relative; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; padding: calc(var(--chrome-h) + 64px) 0 70px;
  color: #fff; overflow: hidden;
  background:
    radial-gradient(90% 120% at 85% -10%, rgba(200,154,86,0.22), transparent 50%),
    linear-gradient(160deg, #234c37 0%, #183426 55%, #13291c 100%);
}
.page-hero--short { padding: calc(var(--chrome-h) + 46px) 0 56px; }
.page-hero__eyebrow { color: var(--gold-500); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-display); }
.page-hero h1 { font-size: clamp(2.1rem, 6vw, 3.3rem); margin-top: 14px; max-width: 820px; }
.page-hero .page-lead { margin-top: 16px; max-width: 640px; color: rgba(255,255,255,0.84); font-size: 1.06rem; }
.crumbs { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.8rem; color: rgba(255,255,255,0.66); }
.crumbs a:hover { color: var(--gold-500); }
.crumbs .sep { opacity: 0.5; }

/* ---------- Forms ---------- */
/* Compact form rhythm: 18px gaps, 7px field gaps, 13px input padding and a
   130px textarea stacked to a 791px card - taller than a phone screen and
   most of a desktop one. Same fields, tighter stack: the card now measures
   607px at 1440 and 599px at 320-390 (-23%). */
.form { display: grid; gap: 10px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 4px; }
.field + .hint { margin-top: -10px; }
.label { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.label .req { color: var(--gold-600); }
.input, .textarea, .select {
  width: 100%; font-family: var(--font-body); font-size: 0.96rem; font-weight: 500;
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #9aa394; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--leaf-600); box-shadow: 0 0 0 4px rgba(62,124,79,0.15); }
.textarea { resize: vertical; min-height: 80px; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: 20px;
}
@media (min-width: 640px) { .form-card { padding: 24px; } }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: -6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: rgba(255,255,255,0.82); padding-top: 70px; }
.footer-grid {
  display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding-bottom: 50px;
  border-bottom: 1px solid var(--line-light);
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); } }
.footer-brand p { margin-top: 16px; font-size: 0.94rem; max-width: 320px; }
.footer-col h3 {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.93rem; opacity: 0.85; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { opacity: 1; transform: translateX(3px); }
.footer-col a .svg-icon { width: 15px; height: 15px; opacity: 0.7; }
.footer-newsletter { margin-top: 20px; display: flex; gap: 10px; }
.footer-newsletter .input { background: rgba(255,255,255,0.08); border-color: var(--line-light); color: #fff; }
.footer-newsletter .input::placeholder { color: rgba(255,255,255,0.5); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding-block: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 42px; height: 42px; border-radius: var(--r-full);
  border: 1px solid var(--line-light); display: grid; place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.social-row a:hover { background: var(--leaf-600); border-color: var(--leaf-600); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

/* ---------- Cart drawer ---------- */
.drawer-scrim, .modal-scrim {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(15, 35, 24, 0.55); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease);
}
.drawer-scrim.show, .modal-scrim.show { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(430px, 100vw); background: var(--cream-50);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform 0.5s var(--ease);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 1.2rem; }
.drawer-close {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; color: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.drawer-close:hover { transform: rotate(90deg); }
.drawer-close svg { width: 18px; height: 18px; }

.cart-items { flex: 1; overflow-y: auto; padding: 18px 22px; display: grid; gap: 16px; align-content: start; }
.cart-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 14px; opacity: 0.4; }

.cart-item { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.cart-item__img { width: 74px; height: 74px; border-radius: var(--r-sm); overflow: hidden; background: var(--leaf-100); }
.cart-item__img img, .cart-item__img svg { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; }
.cart-item__variant { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.cart-item__price { font-size: 0.9rem; font-weight: 700; color: var(--leaf-700); margin-top: 6px; }
.qty-row { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r-full); background: var(--cream-100); }
.qty-btn { width: 28px; height: 28px; border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: 1rem; border-radius: 50%; }
.qty-btn:hover { background: var(--leaf-100); }
.qty-val { min-width: 28px; text-align: center; font-weight: 700; font-size: 0.9rem; }
.cart-item__remove { border: 0; background: transparent; color: var(--muted); font-size: 0.75rem; text-decoration: underline; }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }

.drawer-footer { padding: 18px 22px 20px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 12px; }
.drawer-subtotal { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.drawer-subtotal small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; color: var(--muted); }

/* ---------- Modal ---------- */
.modal-card {
  position: fixed; inset: auto 0 0 0; z-index: 170; max-height: 92vh;
  background: var(--cream-50); border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow-y: auto; padding: 30px 22px 34px;
  transform: translateY(104%); transition: transform 0.5s var(--ease);
  box-shadow: var(--shadow-lg);
}
.modal-card.open { transform: translateY(0); }
@media (min-width: 640px) {
  .modal-card { inset: 50% auto auto 50%; width: min(640px, 94vw); border-radius: var(--r-xl); padding: 40px; transform: translate(-50%, -46%) scale(0.96); opacity: 0; }
  .modal-card.open { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.modal-head h3 { font-size: 1.35rem; }

.pay-options { display: grid; gap: 10px; }
.pay-option {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-md); padding: 14px 16px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  transition: all var(--dur) var(--ease);
}
.pay-option:hover { border-color: var(--leaf-600); }
.pay-option.selected { border-color: var(--leaf-600); background: var(--leaf-100); box-shadow: 0 0 0 3px rgba(62,124,79,0.15); }
.pay-option .rad { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 18px; transition: all var(--dur) var(--ease); }
.pay-option.selected .rad { border-color: var(--leaf-600); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--leaf-600); }
.pay-text { display: grid; gap: 2px; text-align: left; }
.pay-text strong { font-size: 0.95rem; }
.pay-option small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); z-index: 180;
  background: var(--forest-800); color: #fff; border-radius: var(--r-full);
  padding: 14px 26px; font-weight: 500; font-size: 0.93rem;
  box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center;
  opacity: 0; pointer-events: none; transition: all var(--dur) var(--ease); max-width: 92vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500); flex: 0 0 9px; }

/* ---------- Banners / CTAs ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--forest-800), var(--leaf-700) 60%, var(--soil-600));
  color: #fff; padding: 54px 34px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); max-width: 680px; margin-inline: auto; }
.cta-band p { margin: 14px auto 0; max-width: 560px; color: rgba(255,255,255,0.82); }
.cta-band .btn-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--leaf-700); }
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--forest .link-arrow, .section--soil .link-arrow { color: var(--gold-500); }

/* ---------- Contact cards ---------- */
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  /* The text column holds hello@bhumiadhara.example.com - 251px that cannot be
     broken at a space - while the card has 184px of room for it on a 320px
     phone. min-width:0 lets the column yield and `anywhere` lets the token
     break; without both the column held .grid-2 at 365px and the page scrolled
     sideways in English as well as Telugu. */
  min-width: 0; overflow-wrap: anywhere;
}
.contact-card > div { min-width: 0; }
.contact-card__ico {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--leaf-100); color: var(--leaf-700);
}
.contact-card__ico svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.92rem; color: var(--muted); }
.contact-card a { color: var(--leaf-700); font-weight: 600; }

/* ---------- Pricing / session cards ---------- */
.pricing-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pricing-card.featured { border: 2px solid var(--leaf-600); position: relative; }
.pricing-card.featured::before {
  content: "Most Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500); color: var(--forest-950); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-full); white-space: nowrap;
}
.pricing-card__name { font-size: 1.15rem; }
.pricing-card__price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--leaf-700); }
.pricing-card__price small { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.pricing-card ul { display: grid; gap: 10px; margin-top: 4px; }
.pricing-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.pricing-card ul li .ck { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; }
.pricing-card .btn { margin-top: auto; }

.session-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--shadow-sm); flex: 1;
}
.session-card .date { font-family: var(--font-display); font-weight: 800; color: var(--leaf-700); font-size: 1.1rem; }
.session-card .badge-line { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.mini-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-full); background: var(--leaf-100); color: var(--leaf-700);
}
.mini-badge--gold { background: var(--beige-200); color: var(--soil-600); }
.mini-badge--soil { background: var(--soil-500); color: #fff; }

/* ---------- Misc ---------- */
.note-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--beige-200); color: var(--soil-600); border-radius: var(--r-full);
  padding: 10px 18px; font-size: 0.88rem; font-weight: 600;
}
.note-chip--dark { background: rgba(255,255,255,0.1); color: var(--cream-100); }

.img-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); background: var(--leaf-100); }

.crop-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4/3;
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
  cursor: pointer; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.crop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.crop-card__bg { position: absolute; inset: 0; }
.crop-card h3 { position: relative; text-shadow: 0 2px 12px rgba(0,0,0,0.4); font-size: 1.25rem; }
.crop-card p.season-tag {
  position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 2;
  font-size: 0.75rem; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--soil-600);
  background: var(--beige-200); border-radius: var(--r-full); padding: 9px 16px;
}
.trust-badge .svg-icon { width: 15px; height: 15px; color: var(--leaf-600); }

.map-frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- FAQ + lists on content pages ---------- */
.article { max-width: 820px; }
.article h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.article h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.article p { margin-bottom: 14px; color: var(--muted); }
.article strong { color: var(--ink); }
.article ul.plain li { margin-bottom: 10px; padding-left: 26px; position: relative; color: var(--muted); }
.article ul.plain li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px; border-radius: 3px; background: var(--leaf-500); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: var(--r-full);
  border: 1px solid var(--line); color: var(--muted); background: var(--cream-100);
}

/* ---------- Utility helper (used by JS) ---------- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 34px; } .mt-4 { margin-top: 50px; }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 34px; }
.no-js .reveal { opacity: 1; transform: none; }
/* ---------- Farm Management (plant population calculator) ---------- */
.fm-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 920px) { .fm-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.fm-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 22px;
}
.fm-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.fm-head__icon {
  flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; background: var(--leaf-100); color: var(--leaf-700);
}
.fm-head__icon svg { width: 22px; height: 22px; }
.fm-head h2 { font-size: 1.22rem; }
.fm-head p { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }

/* Inputs with a unit suffix */
.fm-input-wrap { position: relative; }
.fm-input-wrap .input { padding-right: 66px; }
.fm-suffix {
  position: absolute; top: 50%; right: 13px; transform: translateY(-50%);
  font-size: 0.72rem; font-weight: 600; color: var(--muted); pointer-events: none;
}
.fm-field--wide { grid-column: 1 / -1; }

/* Field errors */
.fm-err { display: none; font-size: 0.76rem; color: #b42318; margin-top: 2px; }
.field.is-invalid .fm-err { display: block; }
.field.is-invalid .input, .field.is-invalid .select { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12); }

.fm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; align-items: center; }

/* Result card */
.fm-result { position: sticky; top: calc(var(--chrome-h) + 18px); }
.fm-result__card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 26px 20px 24px; text-align: center; color: #fff;
  background:
    radial-gradient(130% 120% at 18% 0%, rgba(74, 222, 128, 0.2), transparent 55%),
    radial-gradient(120% 140% at 110% 110%, rgba(22, 163, 74, 0.26), transparent 60%),
    linear-gradient(160deg, var(--leaf-700) 0%, var(--forest-800) 55%, var(--forest-900) 100%);
  box-shadow: var(--shadow-md);
}
.fm-result__card::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
  background-size: 22px 22px; pointer-events: none;
}
.fm-result__label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}
.fm-result__value {
  margin-top: 14px; font-family: var(--font-display);
  font-size: clamp(2.4rem, 12vw, 3.4rem); font-weight: 900; line-height: 1;
  font-variant-numeric: tabular-nums; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.fm-result__value .fm-unit-plants {
  display: inline-block; margin-left: 8px; font-size: 0.34em; font-weight: 800;
  color: var(--gold-500); letter-spacing: 0.04em; vertical-align: 0.18em;
}
.fm-result__sub { margin-top: 6px; font-size: 0.95rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.fm-metrics { margin-top: 22px; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fm-metric {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; padding: 12px 6px;
}
.fm-metric__val { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; font-variant-numeric: tabular-nums; }
.fm-metric__lbl { display: block; margin-top: 4px; font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }
.fm-result__note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; }

.fm-empty { padding: 30px 10px 8px; }
.fm-empty-title { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); }
.fm-empty-msg { margin-top: 8px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.72); }

@keyframes fmFlash { 0% { transform: scale(1.07); color: var(--gold-500); } 100% { transform: scale(1); } }
.fm-metric__val.flash { animation: fmFlash 0.5s var(--ease); }
@keyframes fmPop { 0% { transform: scale(0.985); } 100% { transform: scale(1); } }
.fm-result__card.pop { animation: fmPop 0.28s var(--ease); }

/* Layout canvas */
.fm-canvas { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.fm-canvas svg { display: block; width: 100%; height: auto; }
.fm-legend { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 16px; }
.fm-legend li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--muted); }
.fm-swatch { width: 14px; height: 14px; border-radius: 4px; }
.fm-swatch--plant { background: #47A968; }
.fm-swatch--bed { background: #B08450; }
.fm-swatch--gap { background: #7C5E3A; }
.fm-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* Explanation flow */
.fm-flow { list-style: none; display: grid; gap: 10px; margin: 0; }
@media (min-width: 640px) { .fm-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fm-flow li {
  display: grid; gap: 8px; justify-items: center; text-align: center;
  padding: 14px 8px; background: var(--leaf-100); border-radius: var(--r-md);
}
.fm-flow li:last-child { background: var(--gold-500); color: var(--forest-950); }
.fm-flow__num {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.82rem; color: var(--leaf-700);
}
.fm-flow li:last-child .fm-flow__num { color: var(--gold-600); }
.fm-flow__txt { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; line-height: 1.25; }

/* Trust strip */
.fm-trust {
  display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: center;
  max-width: 720px; margin-inline: auto; text-align: center; color: var(--muted);
}
.fm-trust__icon {
  flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; background: var(--leaf-100); color: var(--leaf-700);
}
.fm-trust__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.fm-trust__text { font-size: 0.92rem; margin-top: 4px; }
