/* ==========================================================================
   IMAI HERBS — Master Stylesheet
   Brand: Plant-based. Eco-friendly. Natural. Affordable.
   Palette sampled directly from the Imai Herbs logo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Core brand greens (sampled from logo) */
  --green-leaf:      #3B6630;
  --green-deep:      #154624;
  --green-forest:    #0E3319;
  --green-mid:       #4F7D40;
  --green-soft:      #7FA36C;
  --green-mist:      #E8F0E2;

  /* Olive / gold accents (the mortar & spoon in the logo) */
  --gold:            #A79134;
  --olive:           #838031;
  --gold-light:      #C9B65E;
  --gold-mist:       #F5F0DC;

  /* Neutral / cream base */
  --cream:           #FBF8F1;
  --cream-deep:      #F4EEE2;
  --sand:            #EDE4D3;
  --ink:             #23301F;
  --ink-soft:        #55634F;
  --ink-muted:       #8A937F;
  --white:           #FFFFFF;
  --line:            #E2DACA;

  /* Product identity colours (taken from the actual box artwork) */
  --xl-lime:         #D9E64B;
  --xl-lime-deep:    #B9C72F;
  --xxl-purple:      #5B3E8E;
  --xxl-purple-deep: #452D70;
  --xxl-peach:       #FBDDC6;

  /* Typography */
  --font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font-body:    'Jost', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-xl: 44px;
  --r-pill: 999px;

  /* Shadows — soft, organic, never harsh */
  --shadow-sm: 0 2px 8px rgba(21, 70, 36, 0.06);
  --shadow-md: 0 8px 28px rgba(21, 70, 36, 0.09);
  --shadow-lg: 0 22px 60px rgba(21, 70, 36, 0.13);
  --shadow-glow: 0 12px 40px rgba(59, 102, 48, 0.22);

  /* Layout */
  --wrap: 1220px;
  --wrap-narrow: 880px;
  --nav-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--green-deep);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

strong { color: var(--green-deep); font-weight: 600; }

/* Italic display accent — echoes the italic "imai" wordmark */
.script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--green-leaf);
}

/* --------------------------------------------------------------------------
   4. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(var(--sp-8), 9vw, var(--sp-10)); position: relative; }
.section-sm { padding-block: clamp(var(--sp-7), 6vw, var(--sp-9)); }

.bg-cream  { background: var(--cream); }
.bg-deep   { background: var(--cream-deep); }
.bg-mist   { background: var(--green-mist); }
.bg-forest { background: var(--green-forest); }
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4 { color: var(--white); }
.bg-forest p, .bg-forest li { color: rgba(255, 255, 255, 0.82); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Section header block */
.sec-head { max-width: 720px; margin-bottom: var(--sp-7); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-bottom: var(--sp-4); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.sec-head.center .eyebrow::after {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.bg-forest .eyebrow { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.95rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.32s var(--ease-out);
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--green-leaf);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(21, 70, 36, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-soft);
}
.btn-outline:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 12px 34px rgba(167, 145, 52, 0.28);
}
.btn-gold:hover { background: var(--olive); transform: translateY(-3px); }

.btn-light {
  background: var(--white);
  color: var(--green-deep);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-ghost-light:hover { background: var(--white); color: var(--green-deep); }

.btn-sm { padding: 0.65rem 1.4rem; font-size: 0.86rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   6. IMAGE PLACEHOLDERS
   Replace the <div class="img-slot"> markup with a real <img> when assets
   are ready. Each slot documents its recommended dimensions.
   -------------------------------------------------------------------------- */
.img-slot {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      var(--green-mist) 0px,
      var(--green-mist) 12px,
      #DFEBD8 12px,
      #DFEBD8 24px
    );
  border: 2px dashed var(--green-soft);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  text-align: center;
  padding: var(--sp-5);
  color: var(--green-leaf);
  overflow: hidden;
}

.img-slot::before {
  content: '';
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-soft);
  opacity: 0.4;
  flex-shrink: 0;
}

.img-slot .slot-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.img-slot .slot-size {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* Aspect helpers for slots */
.ratio-1-1   { aspect-ratio: 1 / 1; }
.ratio-4-3   { aspect-ratio: 4 / 3; }
.ratio-3-4   { aspect-ratio: 3 / 4; }
.ratio-16-9  { aspect-ratio: 16 / 9; }
.ratio-3-2   { aspect-ratio: 3 / 2; }
.ratio-21-9  { aspect-ratio: 21 / 9; }

.img-slot.on-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.7);
}
.img-slot.on-dark::before { background: rgba(255, 255, 255, 0.3); }
.img-slot.on-dark .slot-size { color: rgba(255, 255, 255, 0.45); }

/* --------------------------------------------------------------------------
   7. TOP BAR + NAVIGATION
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 901;
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding-block: 0.55rem;
  overflow: hidden;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
}
.topbar-ticker {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  white-space: nowrap;
}
.topbar-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-light); flex-shrink: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background 0.34s var(--ease),
              border-color 0.34s var(--ease),
              box-shadow 0.34s var(--ease);
}
/* Frosted glass only once the page has scrolled. Applying backdrop-filter at
   rest makes Chromium overpaint the top bar sitting above the sticky header. */
.nav.scrolled {
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; transition: transform 0.34s var(--ease); }
.brand:hover img { transform: scale(1.04); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 0.4rem;
  transition: color 0.26s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.34s var(--ease-out);
}
.nav-links a:hover { color: var(--green-leaf); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-leaf); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: var(--sp-3); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--green-mist);
  transition: background 0.26s var(--ease);
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: all 0.32s var(--ease-out);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(var(--sp-8), 8vw, var(--sp-10));
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(232, 240, 226, 0.9), transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 90%, rgba(245, 240, 220, 0.8), transparent 60%),
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--sp-6), 5vw, var(--sp-8));
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.45rem 1.1rem 0.45rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green-deep);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-5);
}
.hero-badge b {
  background: var(--green-mist);
  color: var(--green-leaf);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}

.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 em {
  font-style: italic;
  color: var(--green-leaf);
  position: relative;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  max-width: 520px;
  margin-bottom: var(--sp-6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.hero-proof div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--green-deep);
  line-height: 1.1;
}
.hero-proof div span {
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

/* Hero visual stack */
.hero-visual { position: relative; }
.hero-visual .img-slot { border-radius: var(--r-xl); }

.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  animation: floaty 5s ease-in-out infinite;
}
.hero-float-1 { bottom: 8%; left: -4%; }
.hero-float-2 { top: 10%; right: -4%; animation-delay: -2.4s; }

.hero-float .hf-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-mist);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--green-leaf);
}
.hero-float .hf-icon svg { width: 21px; height: 21px; }
.hero-float b { display: block; font-size: 0.9rem; color: var(--green-deep); line-height: 1.3; }
.hero-float span { font-size: 0.74rem; color: var(--ink-muted); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* Decorative leaf blobs */
.leaf-blob {
  position: absolute;
  border-radius: 62% 38% 55% 45% / 48% 55% 45% 52%;
  background: var(--green-mist);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   9. MARQUEE STRIP
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--green-forest);
  padding-block: var(--sp-4);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: var(--sp-7);
  width: max-content;
  animation: slide 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  white-space: nowrap;
}
.marquee-item::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(201, 182, 94, 0.5);
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   10. CARDS & GRIDS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all 0.38s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-soft);
}
.card h3, .card h4 { margin-bottom: var(--sp-3); }
.card p { font-size: 0.95rem; }

.card-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--green-mist);
  display: grid; place-items: center;
  color: var(--green-leaf);
  margin-bottom: var(--sp-5);
  transition: all 0.38s var(--ease-out);
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon {
  background: var(--green-leaf);
  color: var(--white);
  transform: rotate(-6deg) scale(1.06);
}

.card-gold .card-icon { background: var(--gold-mist); color: var(--olive); }
.card-gold:hover .card-icon { background: var(--gold); color: var(--white); }

/* Numbered step card */
.step { position: relative; padding-left: 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--green-mist);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  display: block;
}

/* --------------------------------------------------------------------------
   11. PRODUCT CARDS
   -------------------------------------------------------------------------- */
.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-lg);
}

.product-media {
  position: relative;
  padding: var(--sp-6);
  display: grid;
  place-items: center;
}
.product-card.xl  .product-media { background: linear-gradient(160deg, #EAF29B, var(--xl-lime)); }
.product-card.xxl .product-media { background: linear-gradient(160deg, var(--xxl-peach), #E2CBEF); }

.product-media .img-slot {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--green-deep);
  max-width: 300px;
}
.product-media .img-slot::before { background: rgba(255,255,255,0.8); }
.product-media .img-slot .slot-size { color: rgba(35, 48, 31, 0.5); }

.size-chip {
  position: absolute;
  top: var(--sp-4); left: var(--sp-4);
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.95rem;
  border-radius: var(--r-pill);
  z-index: 2;
}

.price-chip {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  background: var(--white);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.product-body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--sp-4);
}

.product-body h3 { margin-bottom: var(--sp-1); }
.product-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
}

.feature-list { display: grid; gap: var(--sp-3); }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.94rem;
  line-height: 1.55;
}
.feature-list li svg {
  width: 19px; height: 19px;
  flex-shrink: 0;
  color: var(--green-leaf);
  margin-top: 3px;
}

.pack-strip {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--cream-deep);
  border-radius: var(--r-md);
}
.pack-strip div { flex: 1; text-align: center; }
.pack-strip b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-deep);
  line-height: 1.1;
}
.pack-strip span {
  font-size: 0.74rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   12. TRUST BADGES
   -------------------------------------------------------------------------- */
.badge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-4);
}
.badge {
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.34s var(--ease-out);
}
.badge:hover {
  border-color: var(--green-soft);
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}
.badge .b-ring {
  width: 62px; height: 62px;
  margin: 0 auto var(--sp-3);
  border-radius: 50%;
  border: 2px solid var(--green-soft);
  display: grid; place-items: center;
  color: var(--green-leaf);
  transition: all 0.34s var(--ease-out);
}
.badge:hover .b-ring { background: var(--green-mist); border-color: var(--green-leaf); }
.badge .b-ring svg { width: 26px; height: 26px; }
.badge b {
  display: block;
  font-size: 0.84rem;
  color: var(--green-deep);
  font-weight: 600;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   13. SPLIT / ALTERNATING SECTIONS
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-6), 5vw, var(--sp-8));
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media .img-slot { border-radius: var(--r-lg); }

.tick-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.tick-list li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.tick-list .tl-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--green-mist);
  color: var(--green-leaf);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tick-list .tl-icon svg { width: 20px; height: 20px; }
.tick-list b { display: block; color: var(--green-deep); font-size: 1rem; margin-bottom: 2px; }
.tick-list p { font-size: 0.93rem; margin: 0; }

/* --------------------------------------------------------------------------
   14. STAT BAND
   -------------------------------------------------------------------------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat {
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.stat:last-child { border-right: none; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat > span {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.06em;
}
.stat b span { font-size: inherit; color: inherit; }

/* --------------------------------------------------------------------------
   15. TESTIMONIALS
   -------------------------------------------------------------------------- */
.quote-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.36s var(--ease-out);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-card::before {
  content: '"';
  position: absolute;
  top: 10px; right: 26px;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--green-mist);
}
.stars { display: flex; gap: 3px; margin-bottom: var(--sp-4); color: var(--gold); }
.stars svg { width: 16px; height: 16px; }
.quote-card p { font-size: 0.98rem; font-style: italic; position: relative; z-index: 1; }
.quote-who {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-mist);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-leaf);
  flex-shrink: 0;
}
.quote-who b { display: block; font-size: 0.92rem; color: var(--green-deep); }
.quote-who span { font-size: 0.78rem; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   16. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.acc { display: grid; gap: var(--sp-3); }
.acc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.acc-item.open { border-color: var(--green-soft); box-shadow: var(--shadow-sm); }
.acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--green-deep);
  font-family: var(--font-body);
}
.acc-q .acc-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green-mist);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.34s var(--ease-out);
  color: var(--green-leaf);
  font-size: 1.15rem;
  line-height: 1;
}
.acc-item.open .acc-mark {
  background: var(--green-leaf);
  color: var(--white);
  transform: rotate(45deg);
}
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s var(--ease-out);
}
.acc-a-inner { padding: 0 var(--sp-5) var(--sp-5); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   17. FORMS
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(var(--sp-5), 4vw, var(--sp-7));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: 0.03em;
}
.field label .req { color: #C0492F; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  font-size: 0.95rem;
  transition: all 0.26s var(--ease);
  font-family: var(--font-body);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23557' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-leaf);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(59, 102, 48, 0.1);
}
.field input.invalid,
.field textarea.invalid,
.field select.invalid { border-color: #C0492F; background: #FDF3F1; }

.field-error {
  font-size: 0.78rem;
  color: #C0492F;
  display: none;
}
.field.has-error .field-error { display: block; }

.form-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: var(--sp-4);
}

.form-success {
  display: none;
  background: var(--green-mist);
  border: 1px solid var(--green-soft);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  text-align: center;
  color: var(--green-deep);
}
.form-success.show { display: block; }
.form-success b { display: block; font-family: var(--font-display); font-size: 1.3rem; margin-bottom: var(--sp-2); }

/* Radio pill group (product picker) */
.pill-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); position: relative; }
.pill-group input {
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.pill-group label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.6rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--cream);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.26s var(--ease);
}
.pill-group input:checked + label {
  background: var(--green-leaf);
  border-color: var(--green-leaf);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.pill-group label:hover { border-color: var(--green-soft); }

/* --------------------------------------------------------------------------
   18. PAGE HEADER (inner pages)
   -------------------------------------------------------------------------- */
.page-head {
  padding-block: clamp(var(--sp-7), 7vw, var(--sp-9));
  background:
    radial-gradient(ellipse 70% 100% at 80% 0%, rgba(232, 240, 226, 0.85), transparent 65%),
    var(--cream-deep);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-head h1 { margin-bottom: var(--sp-4); }
.page-head .lead { max-width: 640px; margin-inline: auto; }

.crumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: var(--sp-4);
}
.crumb a:hover { color: var(--green-leaf); }
.crumb span { opacity: 0.5; }

/* --------------------------------------------------------------------------
   19. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-forest), var(--green-leaf));
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-6), 6vw, var(--sp-9)) clamp(var(--sp-5), 5vw, var(--sp-8));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.cta-band::before { width: 340px; height: 340px; top: -140px; right: -90px; }
.cta-band::after  { width: 260px; height: 260px; bottom: -120px; left: -70px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-4); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 560px; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--green-forest);
  color: rgba(255, 255, 255, 0.68);
  padding-top: var(--sp-8);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}
.footer-logo {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  display: inline-block;
  margin-bottom: var(--sp-4);
}
.footer-logo img { height: 52px; width: auto; }
.footer h4 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: var(--sp-4);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-links { display: grid; gap: var(--sp-3); }
.footer-links a {
  transition: all 0.26s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer-links a:hover { color: var(--gold-light); transform: translateX(4px); }

.footer-contact { display: grid; gap: var(--sp-4); }
.footer-contact li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: var(--gold-light); }

.social-row { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease-out);
}
.social-row a svg { width: 17px; height: 17px; }
.social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-4px);
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
}
.footer-base a:hover { color: var(--gold-light); }
.footer-base nav { display: flex; gap: var(--sp-5); flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   21. FLOATING WHATSAPP + BACK TO TOP
   -------------------------------------------------------------------------- */
.float-stack {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.32s var(--ease-out);
}
.fab svg { width: 25px; height: 25px; }
.fab-wa { background: #25D366; color: var(--white); }
.fab-wa:hover { transform: scale(1.1) translateY(-3px); }
.fab-top {
  background: var(--green-deep);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
}
.fab-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top:hover { background: var(--green-leaf); }

/* --------------------------------------------------------------------------
   22. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

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

/* --------------------------------------------------------------------------
   23. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
}

@media (max-width: 940px) {
  :root { --nav-h: 74px; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: var(--sp-5);
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform 0.42s var(--ease-out);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: var(--sp-4) var(--sp-2);
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .brand img { height: 44px; }

  .hero-grid { grid-template-columns: 1fr; }
  /* Headline leads on mobile — the image follows it, not the other way round */
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; margin-top: var(--sp-4); }
  .hero-proof { order: 3; }
  .hero-float-1 { left: 2%; }
  .hero-float-2 { right: 2%; }

  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .split-media { max-width: 560px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid rgba(255,255,255,0.14); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding-inline: var(--sp-4); }

  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-base { flex-direction: column; text-align: center; }
  .footer-base nav { justify-content: center; gap: var(--sp-4); }

  .hero-float { position: static; margin-top: var(--sp-3); animation: none; }
  .hero-visual { display: grid; gap: var(--sp-3); }

  .hero-proof { gap: var(--sp-5); }
  .hero-actions .btn { flex: 1 1 100%; }

  .topbar .wrap { font-size: 0.72rem; }
  .topbar-ticker:nth-child(n+2) { display: none; }

  .float-stack { right: 14px; bottom: 14px; }
  .fab { width: 48px; height: 48px; }

  .cta-band { border-radius: var(--r-lg); }
  .stat-band { grid-template-columns: 1fr; }
  .stat { border-right: none; }
}

/* --------------------------------------------------------------------------
   24. PRODUCT DETAIL GALLERY
   -------------------------------------------------------------------------- */
.pd-gallery { display: grid; gap: var(--sp-3); }
.pd-main { border-radius: var(--r-lg); }
.pd-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.pd-thumbs .img-slot { border-radius: var(--r-sm); padding: var(--sp-3); }
.pd-thumbs .img-slot::before { width: 20px; height: 20px; }
.pd-thumbs .slot-label { font-size: 0.66rem; }
.pd-thumbs .slot-size { font-size: 0.6rem; }

/* Price display */
.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.price-big {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--green-leaf);
  line-height: 1;
}
.price-big small { font-size: 0.45em; font-weight: 500; }
.price-meta { font-size: 0.85rem; color: var(--ink-muted); }
.bg-deep .price-row { border-bottom-color: var(--sand); }

/* --------------------------------------------------------------------------
   25. SPEC / COMPARISON TABLE
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.95rem;
}

.spec-table thead th {
  background: var(--green-forest);
  color: var(--white);
  padding: var(--sp-5) var(--sp-5);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}
.spec-table thead th:first-child { width: 34%; }

.th-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.tag-xl  { background: var(--xl-lime); color: var(--green-forest); }
.tag-xxl { background: var(--xxl-peach); color: var(--xxl-purple-deep); }

.spec-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--green-deep);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:nth-child(even) { background: var(--cream); }
.spec-table tbody tr:hover { background: var(--green-mist); }

.spec-table .yes,
.spec-table .no {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.spec-table .yes { background: var(--green-mist); color: var(--green-deep); }
.spec-table .no  { background: var(--gold-mist); color: var(--olive); }
.spec-table em { color: var(--ink-muted); font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   26. CONTACT PAGE PIECES
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(var(--sp-6), 5vw, var(--sp-8));
  align-items: start;
}

.info-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.34s var(--ease-out);
}
.info-card:hover {
  border-color: var(--green-soft);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.info-card .ic-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--green-mist);
  color: var(--green-leaf);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-card .ic-icon svg { width: 22px; height: 22px; }
.info-card b { display: block; color: var(--green-deep); font-size: 0.98rem; margin-bottom: 3px; }
.info-card p, .info-card a { font-size: 0.93rem; margin: 0; }
.info-card a { color: var(--green-leaf); }
.info-card a:hover { text-decoration: underline; }

.map-slot {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-slot iframe { width: 100%; height: 420px; border: 0; display: block; }

@media (max-width: 940px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .pd-thumbs { grid-template-columns: repeat(3, 1fr); }
  .spec-table thead th,
  .spec-table th,
  .spec-table td { padding: var(--sp-3) var(--sp-4); }
}
