/* ============================================================
   ECO COCO INTERNATIONAL — DESIGN SYSTEM
   ============================================================ */

:root {
  /* ============================================================
     BRAND COLORS — sampled from Eco Coco International logo
     Green #285028 · Orange #F07800 · Teal #007878
     ============================================================ */

  /* Greens — primary brand (was "forest") */
  --forest-900: #0F2A0F;
  --forest-800: #1B3B1B;
  --forest-700: #285028;   /* ← exact logo green */
  --forest-600: #356535;
  --forest-500: #4B7A4B;

  /* Oranges — energy + CTA (was "bronze") */
  --bronze-700: #B85800;
  --bronze-600: #D66A00;
  --bronze-500: #F07800;   /* ← exact logo orange */
  --bronze-400: #FF9326;
  --bronze-300: #FFB066;

  /* Teals — secondary brand color (new) */
  --teal-900: #003F3F;
  --teal-800: #005C5C;
  --teal-700: #006A6A;
  --teal-600: #007878;     /* ← exact logo teal */
  --teal-500: #1A9090;
  --teal-400: #3AABAB;
  --teal-300: #6CC4C4;

  --cream-50:  #FBF8F0;
  --cream-100: #F5EFE0;
  --cream-200: #EFE7D6;
  --cream-300: #E5DAC2;
  --cream-400: #D4C5A3;

  --charcoal-900: #161B16;
  --charcoal-800: #1F2620;
  --charcoal-700: #2F3830;
  --charcoal-600: #4A5448;
  --charcoal-500: #6B7468;
  --charcoal-400: #8E948B;

  --line-warm: rgba(240, 120, 0, 0.20);
  --line-soft: rgba(40, 80, 40, 0.12);

  /* Light theme (default) */
  --bg:           var(--cream-50);
  --bg-alt:       var(--cream-100);
  --bg-deep:      var(--forest-800);
  --bg-deep-alt:  var(--forest-700);
  --bg-teal:      var(--teal-600);
  --surface:      #FFFFFF;
  --ink:          var(--charcoal-800);
  --ink-soft:     var(--charcoal-600);
  --ink-mute:     var(--charcoal-500);
  --ink-inverse:  var(--cream-100);
  --accent:       var(--bronze-500);      /* brand orange */
  --accent-strong:var(--bronze-700);      /* deeper orange for headline italics */
  --accent-2:     var(--teal-600);        /* brand teal */
  --line:         var(--line-soft);
  --line-strong:  rgba(40, 80, 40, 0.22);

  /* Type — Source Sans 3 (matches brand reference) for everything;
     the var name is "serif" only for legacy reasons (whole site used
     to use a luxury serif). It's now a bold humanist sans-serif. */
  --font-serif: "Source Sans 3", "Open Sans", "Lato", system-ui, sans-serif;
  --font-sans:  "Source Sans 3", "Manrope", "DM Sans", system-ui, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, monospace;

  /* Spacing scale */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px; --s-11: 160px; --s-12: 200px;

  /* Layout */
  --container: 1320px;
  --container-narrow: 920px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 4px;
  --radius:    10px;
  --radius-lg: 18px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 28, 20, 0.05), 0 2px 8px rgba(11, 28, 20, 0.04);
  --shadow-md: 0 6px 24px rgba(11, 28, 20, 0.08), 0 2px 6px rgba(11, 28, 20, 0.05);
  --shadow-lg: 0 24px 60px rgba(11, 28, 20, 0.16), 0 6px 18px rgba(11, 28, 20, 0.08);
}

html[data-theme="dark"] {
  --bg:           var(--forest-900);
  --bg-alt:       var(--forest-800);
  --bg-deep:      #060F06;
  --bg-deep-alt:  var(--forest-900);
  --surface:      var(--forest-800);
  --ink:          var(--cream-100);
  --ink-soft:     var(--cream-200);
  --ink-mute:     #B5AB94;
  --ink-inverse:  var(--charcoal-800);
  --accent:       var(--bronze-400);
  --accent-strong:var(--bronze-300);
  --accent-2:     var(--teal-400);
  --line:         rgba(245, 239, 224, 0.10);
  --line-strong:  rgba(245, 239, 224, 0.22);
}

html[data-heading="opensans"] { --font-serif: "Open Sans", system-ui, sans-serif; }
html[data-heading="lato"]     { --font-serif: "Lato", system-ui, sans-serif; }

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
  overflow-x: hidden;
}

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

::selection { background: var(--bronze-500); color: var(--cream-50); }

/* Subtle paper grain on cream */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.18  0 0 0 0 0.15  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
html[data-theme="dark"] body::before { opacity: 0.35; mix-blend-mode: screen; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.serif { font-family: var(--font-serif); font-weight: 400; }
.sans  { font-family: var(--font-sans); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(44px, 7.4vw, 112px); font-weight: 800; line-height: 1.0; }
h2 { font-size: clamp(34px, 5vw, 72px); font-weight: 800; line-height: 1.05; }
h3 { font-size: clamp(22px, 2.4vw, 36px); line-height: 1.18; font-weight: 700; }
h4 { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.25; font-weight: 700; }

/* The "italic" emphasis pattern we used everywhere in headings — keep it
   working but tone it down so sans bold doesn't look like shouting twice */
h1 em, h2 em, h3 em, h4 em,
.hero-title .italic {
  font-style: italic;
  font-weight: 700;
}

p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.eyebrow.no-rule::before { display: none; }

.editorial-rule {
  width: 64px; height: 1px;
  background: var(--accent);
  margin: 0 0 var(--s-4);
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.narrow    { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }

section { position: relative; z-index: 2; }

.section-pad      { padding: clamp(80px, 12vw, 160px) 0; }
.section-pad-sm   { padding: clamp(56px, 8vw, 100px) 0; }

.bg-cream { background: var(--bg); color: var(--ink); }
.bg-cream-alt { background: var(--bg-alt); color: var(--ink); }
.bg-forest { background: var(--bg-deep); color: var(--cream-100); }
.bg-forest-alt { background: var(--bg-deep-alt); color: var(--cream-100); }
.bg-teal { background: var(--teal-600); color: var(--cream-50); }
.bg-teal-deep { background: var(--teal-800); color: var(--cream-50); }
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4,
.bg-forest-alt h1, .bg-forest-alt h2, .bg-forest-alt h3, .bg-forest-alt h4,
.bg-teal h1, .bg-teal h2, .bg-teal h3, .bg-teal h4,
.bg-teal-deep h1, .bg-teal-deep h2, .bg-teal-deep h3, .bg-teal-deep h4 { color: var(--cream-100); }
.bg-forest .lede, .bg-forest-alt .lede,
.bg-teal .lede, .bg-teal-deep .lede { color: var(--cream-200); }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-transparent { color: var(--cream-100); }
.nav.is-solid {
  background: rgba(251, 248, 240, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter);
  color: var(--ink);
}
html[data-theme="dark"] .nav.is-solid {
  background: rgba(11, 28, 20, 0.85);
  color: var(--cream-100);
}
.nav.is-transparent .nav-cta { color: var(--cream-100); border-color: rgba(245,239,224,0.4); }
.nav.is-transparent .nav-cta:hover { background: var(--cream-100); color: var(--forest-800); border-color: var(--cream-100); }

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-brand .logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: filter 0.4s var(--ease);
}
/* On the transparent (over-hero) nav, lift the dark hand with a subtle drop-shadow */
.nav.is-transparent .nav-brand .logo-img {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}
@media (max-width: 720px) {
  .nav-brand .logo-img { height: 34px; }
}
.nav-brand .mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.nav-brand-text small { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.7; font-weight: 500; }

.nav-links { display: flex; gap: 36px; align-items: center; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.nav-links a { position: relative; padding: 8px 0; opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--accent);
}

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { background: var(--forest-700); color: var(--cream-100); border-color: var(--forest-700); }

.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav.is-transparent .nav-toggle { border-color: rgba(245,239,224,0.4); }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  background: var(--bg-deep);
  color: var(--cream-100);
  z-index: 200;
  padding: 100px var(--gutter) var(--s-7);
  display: flex; flex-direction: column;
  gap: var(--s-5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer a { font-family: var(--font-serif); font-size: 36px; line-height: 1.1; }
.mobile-drawer .close {
  position: absolute; top: 22px; right: var(--gutter);
  width: 40px; height: 40px;
  border: 1px solid rgba(245,239,224,0.3);
  border-radius: 999px;
  display: grid; place-items: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 999px;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
}
.btn .arr { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--forest-700); color: var(--cream-50); }
.btn-primary:hover { background: var(--forest-800); box-shadow: 0 14px 36px rgba(40, 80, 40, 0.35); }

.btn-bronze { background: var(--bronze-500); color: #FFFFFF; }
.btn-bronze:hover { background: var(--bronze-600); color: #FFFFFF; box-shadow: 0 14px 36px rgba(240, 120, 0, 0.35); }

.btn-teal { background: var(--teal-600); color: var(--cream-50); }
.btn-teal:hover { background: var(--teal-700); box-shadow: 0 14px 36px rgba(0, 120, 120, 0.35); }

.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn-ghost-light { border-color: rgba(245,239,224,0.4); color: var(--cream-100); }
.btn-ghost-light:hover { background: var(--cream-100); color: var(--forest-800); border-color: var(--cream-100); }

.btn-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid currentColor;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-text:hover { gap: 16px; color: var(--accent); }

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.scroll-reveal.in-view {
  opacity: 1;
  transform: none;
}
.scroll-reveal.delay-1 { transition-delay: 0.08s; }
.scroll-reveal.delay-2 { transition-delay: 0.16s; }
.scroll-reveal.delay-3 { transition-delay: 0.24s; }
.scroll-reveal.delay-4 { transition-delay: 0.32s; }

/* Section-header pattern: eyebrow + huge serif headline + lede */
.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}
.sec-head h2 { max-width: 16ch; }
@media (min-width: 1000px) {
  .sec-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: var(--s-9); }
  .sec-head.split .lede { justify-self: end; max-width: 44ch; padding-bottom: 12px; }
}

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* Floating WhatsApp */
.wa-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42), 0 4px 12px rgba(0,0,0,0.18);
  transition: transform 0.35s var(--ease);
}.wa-fab:hover { transform: translateY(-3px) scale(1.06); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(0.95); opacity: 0.6; }
  80%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Sticky quote bar (appears on scroll) */
.quote-bar {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%) translateY(140%);
  z-index: 85;
  display: flex; align-items: center; gap: 22px;
  padding: 12px 12px 12px 28px;
  background: var(--forest-700);
  color: var(--cream-100);
  border: 1px solid rgba(245,239,224,0.12);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(15, 30, 15, 0.4);
  transition: transform 0.6s var(--ease);
  max-width: calc(100vw - 120px);
}
.quote-bar.is-visible { transform: translateX(-50%) translateY(0); }
.quote-bar .qb-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.quote-bar .qb-sub { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.65; display: block; margin-top: 4px; }
.quote-bar .btn { padding: 14px 24px; font-size: 12px; }
@media (max-width: 720px) {
  .quote-bar .qb-text { display: none; }
  .quote-bar { padding: 10px; bottom: 96px; }
}

/* Cookie banner */
.cookie {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 95;
  max-width: 380px;
  padding: 22px 24px;
  background: var(--forest-700);
  color: var(--cream-100);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245,239,224,0.12);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease) 0.3s;
}
.cookie.is-visible { transform: translateY(0); }
.cookie h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--cream-100); }
.cookie p { font-size: 13px; line-height: 1.55; color: var(--cream-200); margin: 0 0 14px; }
.cookie .row { display: flex; gap: 10px; }
.cookie button {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.cookie .accept { background: var(--bronze-500); color: #FFFFFF; }
.cookie .accept:hover { background: var(--bronze-400); }
.cookie .decline { border: 1px solid rgba(245,239,224,0.3); }
.cookie .decline:hover { background: rgba(245,239,224,0.1); }
@media (max-width: 720px) {
  .cookie { left: 12px; right: 12px; max-width: none; bottom: 12px; }
  .wa-fab { bottom: 200px; }
}

/* ============================================================
   QUOTE MODAL
   ============================================================ */

.modal-overlay {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(11, 28, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg);
  color: var(--ink);
  width: min(960px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.5s var(--ease-out);
}
.modal-overlay.is-open .modal { transform: none; }
@media (max-width: 800px) {
  .modal { grid-template-columns: 1fr; max-height: 100vh; border-radius: 0; }
}
.modal-side {
  background: var(--forest-700);
  color: var(--cream-100);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.modal-side h3 { color: var(--cream-100); margin-bottom: 16px; }
.modal-side p { color: var(--cream-200); font-size: 14px; line-height: 1.6; }
.modal-side .modal-bullets { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.modal-side .modal-bullets li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  font-size: 13px; line-height: 1.45; color: var(--cream-200);
}
.modal-side .modal-bullets svg { width: 16px; height: 16px; color: var(--bronze-400); margin-top: 2px; }
.modal-side::after {
  content: "";
  position: absolute; right: -40px; bottom: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(184, 148, 95, 0.18);
}
.modal-form { padding: 48px 40px; }
.modal-form h4 { font-size: 22px; margin-bottom: 6px; }
.modal-form .form-grid {
  display: grid; gap: 18px; grid-template-columns: 1fr 1fr;
  margin-top: 28px;
}
.modal-form .full { grid-column: 1 / -1; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(245,239,224,0.1);
  color: var(--cream-100);
  transition: background 0.3s;
  z-index: 2;
}
.modal-close:hover { background: rgba(245,239,224,0.2); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 80px; }

.success {
  text-align: center;
  padding: 60px 40px;
}
.success svg { width: 60px; height: 60px; color: var(--bronze-500); margin: 0 auto 24px; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--forest-800);
  color: var(--cream-200);
  padding: clamp(80px, 10vw, 140px) 0 40px;
  position: relative; z-index: 2;
}
.footer h4 { color: var(--cream-100); margin-bottom: 18px; }
.footer .foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--s-7);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid rgba(245,239,224,0.1);
}
@media (max-width: 900px) { .footer .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .foot-grid { grid-template-columns: 1fr; } }

.footer .foot-col h5 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-400);
  margin: 0 0 20px;
}
.footer .foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14px; }
.footer .foot-col a { opacity: 0.78; transition: opacity 0.2s, color 0.2s; }
.footer .foot-col a:hover { opacity: 1; color: var(--bronze-300); }
.footer .brand-line { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.footer .brand-line .logo-img-footer {
  height: 60px;
  width: auto;
  display: block;
  background: rgba(245, 239, 224, 0.96);
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.footer .brand-line .mark { width: 44px; height: 44px; border: 1px solid var(--bronze-400); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--bronze-400); }
.footer .brand-line .brand-text { font-family: var(--font-serif); font-size: 24px; line-height: 1; }
.footer .brand-text small { display: block; font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; margin-top: 6px; }
.footer .colophon { font-size: 14px; line-height: 1.7; max-width: 36ch; color: var(--cream-200); opacity: 0.85; }

/* Bottom thin brand stripe — green / orange / teal */
.footer::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background:
    linear-gradient(90deg,
      var(--forest-700) 0%, var(--forest-700) 33.33%,
      var(--bronze-500) 33.33%, var(--bronze-500) 66.66%,
      var(--teal-600) 66.66%, var(--teal-600) 100%
    );
}

.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px;
  font-size: 12px;
  color: var(--cream-300);
  opacity: 0.7;
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 16px;
}
.foot-social { display: flex; gap: 12px; }
.foot-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(245,239,224,0.15);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.3s;
}
.foot-social a:hover { background: var(--bronze-500); border-color: var(--bronze-500); color: var(--forest-900); }
.foot-social svg { width: 16px; height: 16px; }

/* ============================================================
   UTILITY
   ============================================================ */

.divider { height: 1px; background: var(--line); width: 100%; }
.flag {
  display: inline-block;
  width: 22px; height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--bronze-400), var(--forest-700));
}

/* Image-slot defaults inside this design */
image-slot {
  --slot-bg: rgba(184, 148, 95, 0.10);
  --slot-border: rgba(184, 148, 95, 0.35);
  --slot-text: var(--ink-soft);
}
html[data-theme="dark"] image-slot {
  --slot-bg: rgba(245, 239, 224, 0.04);
  --slot-border: rgba(184, 148, 95, 0.4);
  --slot-text: var(--cream-200);
}

/* The image-slot starter places overlay UI; ensure it sits above pictures */
image-slot { position: relative; display: block; }
image-slot img { width: 100%; height: 100%; object-fit: cover; }



/* ============================================================
   MOBILE-FIRST FIXES — appended for comprehensive responsive
   coverage across all 5 pages.
   ============================================================ */

/* ── 1. Base type & spacing on small screens ────────────────── */
@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    --container: 100%;
  }
  body { font-size: 15px; }
  .section-pad     { padding: 64px 0; }
  .section-pad-sm  { padding: 48px 0; }
  .lede { font-size: 16px; line-height: 1.55; }
  .sec-head { margin-bottom: 36px; gap: 16px; }
  .sec-head h2 { max-width: 18ch; }
  h1 { font-size: clamp(36px, 10vw, 56px) !important; }
  h2 { font-size: clamp(30px, 8vw, 44px) !important; }
  h3 { font-size: clamp(22px, 6vw, 30px) !important; }
  h4 { font-size: clamp(18px, 5vw, 22px) !important; }
}

/* ── 2. Nav: tighter on mobile, less padding ──────────────── */
@media (max-width: 720px) {
  .nav { padding: 12px 20px !important; }
  .nav.is-solid { padding: 8px 20px !important; }
  .nav-brand .logo-img { height: 32px; }
  .nav-right .nav-cta { display: none; } /* hide — open via hamburger menu */
  .nav-toggle { width: 36px; height: 36px; }
  .mobile-drawer { padding: 90px 24px 30px; gap: 18px; }
  .mobile-drawer a { font-size: 28px; }
}

/* ── 3. About page hero ───────────────────────────────────── */
@media (max-width: 900px) {
  .about-hero { padding: 140px 0 60px; }
  .ah-img { aspect-ratio: 4/3; }
}

/* ── 4. Prod-mast / contact-mast ──────────────────────────── */
@media (max-width: 900px) {
  .prod-mast { padding: 140px 0 60px; }
  .pm-inner { padding-bottom: 40px; }
  .pm-meta { margin-top: 40px; }
  .pm-jump a { font-size: 18px; }
  .contact-mast { padding: 140px 0 50px; }
}

/* ── 5. Story timeline — already had col fallback, tighten ── */
@media (max-width: 900px) {
  .story-frame { gap: 24px; }
  .frame-text .frame-year { font-size: 40px; margin-bottom: 8px; }
  .frame-img { aspect-ratio: 4/3; }
}

/* ── 6. World map — stack & resize svg ────────────────────── */
@media (max-width: 900px) {
  .map-wrap { gap: var(--s-6); }
  .world-map { max-height: 320px; }
  .region-list strong { font-size: 18px; }
}
@media (max-width: 480px) {
  .world-map { max-height: 240px; }
  .region-list li { grid-template-columns: 44px 1fr; padding: 14px 0; }
  .r-num { font-size: 18px; }
}

/* ── 7. Pillars — already stack, tighten spacing ──────────── */
@media (max-width: 560px) {
  .pillar { padding: 24px 0 8px !important; }
  .pillar + .pillar { padding-left: 0 !important; }
  .pillar h3 { font-size: 24px; }
  .pillar p { font-size: 14px; }
}

/* ── 8. Bento brand cards — single column on mobile ───────── */
@media (max-width: 900px) {
  .bento { gap: 16px; }
  .bento-card.big .bento-media { min-height: 220px; }
  .bento-body { padding: 24px 24px 28px; grid-template-columns: 36px 1fr; gap: 14px; }
  .bento-num { font-size: 22px; }
  .bento-tag { font-size: 11px; margin-bottom: 10px; }
}

/* ── 9. Pillars dark-section padding ──────────────────────── */
@media (max-width: 900px) {
  .pillars { gap: 0; }
  .pillar { padding: 28px 16px !important; }
}

/* ── 10. Certifications grid — 2 cols on mobile ──────────── */
@media (max-width: 560px) {
  .cert { padding: 28px 16px 24px; }
  .cert-mark { width: 64px; height: 64px; font-size: 15px; }
  .cert-mark span { font-size: 8px; }
}

/* ── 11. Testimonial cards ────────────────────────────────── */
@media (max-width: 560px) {
  .t-card { padding: 36px 26px; }
  .t-quote { font-size: 18px; }
  .t-mark { font-size: 80px; }
}

/* ── 12. Journal grid ─────────────────────────────────────── */
@media (max-width: 900px) {
  .journal-grid { gap: 20px; }
  .j-card h3 { font-size: 22px; }
  .j-card.big h3 { font-size: 28px; }
  .j-body { padding: 22px; }
}

/* ── 13. CTA banner ───────────────────────────────────────── */
@media (max-width: 720px) {
  .cta-inner { padding: 80px 20px; }
  .cta-inner h2 { font-size: clamp(32px, 9vw, 48px) !important; }
}

/* ── 14. Footer ───────────────────────────────────────────── */
@media (max-width: 720px) {
  .footer { padding: 64px 0 30px; }
  .footer .foot-grid { gap: 36px; padding-bottom: 40px; }
  .footer .brand-line .logo-img-footer { height: 50px; padding: 8px 14px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 11px; }
}

/* ── 15. Product chapters (Products hub) ─────────────────── */
@media (max-width: 900px) {
  .prod-chapter { padding: 60px 0 !important; }
  .chapter { gap: 40px !important; }
  .chap-num { font-size: 40px; margin-bottom: 12px; }
  .chap-title { font-size: clamp(40px, 10vw, 60px) !important; }
  .chap-tag { font-size: 11px; margin-bottom: 24px; }
  .chap-body { font-size: 16px; margin-bottom: 28px; }
  .spec-list { margin-bottom: 28px; }
  .spec-list li { padding: 12px 0; }
  .spec-list span { font-size: 10px; }
  .spec-list strong { font-size: 16px; }
  .chap-media { gap: 12px; }
  .chap-media .cm-side image-slot, .chap-media .cm-side img { aspect-ratio: 4/5; }
}
@media (max-width: 560px) {
  .chap-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .chap-actions .btn { width: 100%; justify-content: center; }
}

/* ── 16. Applications grid — single col on phones ────────── */
@media (max-width: 560px) {
  .app { padding: 28px 20px 24px; }
  .app h4 { font-size: 20px; }
  .app .num { font-size: 18px; margin-bottom: 14px; }
}

/* ── 17. Eco-coco product page ───────────────────────────── */
@media (max-width: 900px) {
  .prod-hero { padding: 110px 0 60px; }
  .crumbs { margin-bottom: 30px; font-size: 11px; }
  .ph-grid { gap: 40px !important; }
  .ph-trust { margin-top: 32px; padding-top: 24px; gap: 16px; }
  .ph-trust > div { padding-right: 14px; }
  .ph-trust strong { font-size: 18px; }
  .ph-trust span { font-size: 10px; }
  .ph-cta { gap: 10px; }
  .ph-cta .btn { padding: 14px 22px; font-size: 12px; }
}
@media (max-width: 560px) {
  .ph-trust { grid-template-columns: 1fr 1fr; }
  .ph-trust > div:nth-child(2) { border-right: none; }
  .ph-trust > div:nth-child(1), .ph-trust > div:nth-child(2) { padding-bottom: 16px; }
  .ph-trust > div:last-child { grid-column: 1 / -1; border-right: none; padding-top: 16px; border-top: 1px solid var(--line); padding-right: 0; }
}

/* ── 18. Spec table → stacked rows on mobile ──────────────── */
@media (max-width: 720px) {
  .spec-table-wrap { border-radius: var(--radius); }
  .spec-table thead { display: none; }
  .spec-table tbody tr { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .spec-table tbody tr:last-child { border-bottom: none; }
  .spec-table tbody td { padding: 0; border: none; font-size: 14px !important; }
  .spec-table tbody td:first-child::before {
    content: "PARAMETER"; display: block;
    font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.18em;
    color: var(--ink-mute); font-weight: 600; margin-bottom: 2px;
  }
  .spec-table tbody td:nth-child(2)::before {
    content: "STANDARD"; display: block;
    font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.18em;
    color: var(--ink-mute); font-weight: 600; margin: 6px 0 2px;
  }
  .spec-table tbody td:nth-child(3)::before {
    content: "PREMIUM"; display: block;
    font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.18em;
    color: var(--accent-strong); font-weight: 600; margin: 6px 0 2px;
  }
}

/* ── 19. Crops grid (Eco-coco) ──────────────────────────── */
@media (max-width: 560px) {
  .crops { grid-template-columns: 1fr !important; }
  .crop { padding: 24px 0 24px 0 !important; border-right: none !important; border-bottom: 1px solid rgba(245,239,224,0.18) !important; }
  .crop:last-child { border-bottom: none !important; }
  .crop:nth-child(2n) { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ── 20. Logistics list (Eco-coco) ───────────────────────── */
@media (max-width: 560px) {
  .logi-list li { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; }
  .li-num { font-size: 18px; }
  .logi-list strong { font-size: 18px; }
  .logi-list p { font-size: 13px; }
}

/* ── 21. Packaging cards (Eco-coco) ──────────────────────── */
@media (max-width: 900px) {
  .pack-card .pack-body { padding: 22px 24px; }
  .pack-body h4 { font-size: 20px; margin-bottom: 14px; }
}

/* ── 22. Contact form chips ──────────────────────────────── */
@media (max-width: 560px) {
  .chip { padding: 9px 14px; font-size: 12px; }
  .cform { padding: 24px !important; }
  .cform-fields { gap: 18px; }
  .cform-submit { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cform-submit .btn { width: 100%; justify-content: center; }
}

/* ── 23. Map (Contact) ───────────────────────────────────── */
@media (max-width: 600px) {
  .map-card { height: 360px; }
}

/* ── 24. FAQ ─────────────────────────────────────────────── */
@media (max-width: 560px) {
  .faq summary { gap: 10px; }
  .f-num { font-size: 16px; }
  .f-q { font-size: 18px; }
  .f-a { padding: 4px 0 12px 42px; }
  .f-a p { font-size: 14px; }
}

/* ── 25. Modal — full screen on mobile ───────────────────── */
@media (max-width: 600px) {
  .modal-overlay { padding: 0; }
  .modal { grid-template-columns: 1fr; max-height: 100vh; border-radius: 0; }
  .modal-side { padding: 32px 24px; }
  .modal-side h3 { font-size: 24px !important; }
  .modal-side .modal-bullets { margin-top: 20px; gap: 10px; }
  .modal-form { padding: 32px 24px; }
  .modal-form .form-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
  .modal-form h4 { font-size: 20px; }
}

/* ── 26. Sticky quote-bar — sit above WhatsApp FAB ──────── */
@media (max-width: 720px) {
  .quote-bar { bottom: 92px; padding: 8px 8px 8px 18px; gap: 12px; max-width: calc(100vw - 32px); }
  .quote-bar .qb-text { font-size: 14px; display: block; }
  .quote-bar .qb-sub { display: none; }
  .quote-bar .btn { padding: 12px 18px; font-size: 11px; }
  .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-fab svg { width: 26px; height: 26px; }
}
@media (max-width: 480px) {
  .quote-bar .qb-text { font-size: 12px; }
  .quote-bar .qb-text em { display: none; }
}

/* ── 27. Cookie banner — overlap-safe on mobile ──────────── */
@media (max-width: 720px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px 18px; }
  .cookie h4 { font-size: 14px; }
  .cookie p { font-size: 12px; margin-bottom: 10px; }
  .cookie button { padding: 8px 14px; font-size: 11px; }
}

/* ── 28. Hero scroll indicator hidden on tight screens ──── */
@media (max-width: 760px) { .hero-scroll { display: none; } }

/* ── 29. Mar­quee a bit smaller ──────────────────────────── */
@media (max-width: 720px) {
  .hero-marquee { padding: 10px 0; }
  .marquee-track { font-size: 13px; gap: 18px; }
}

/* ── 30. Story sticky removed on small screens ──────────── */
@media (max-width: 900px) {
  .story-grid { gap: 40px; }
  .story-sticky { position: static; }
}

/* ── 31. MVV cards ──────────────────────────────────────── */
@media (max-width: 900px) {
  .mvv-card { padding: 32px 28px; }
  .mvv-roman { font-size: 28px; margin-bottom: 16px; }
}

/* ── 32. Process steps (About) ──────────────────────────── */
@media (max-width: 900px) {
  .process-step { padding: 28px 0; gap: 18px; }
  .ps-img { aspect-ratio: 16/10; }
  .ps-body p { font-size: 14px; }
}

/* ── 33. Sustainability grid (About) ────────────────────── */
@media (max-width: 900px) {
  .sus-grid { gap: 40px; }
  .sus-img { aspect-ratio: 4/3; }
  .sus-list { margin-top: 24px; gap: 14px; }
  .sus-list li { font-size: 14px; }
}

/* ── 34. Team grid ──────────────────────────────────────── */
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-card h4 { font-size: 18px; margin-top: 8px; }
  .team-card span { font-size: 10px; }
}

/* ── 35. Tweaks panel — hidden on phones ─────────────────── */
@media (max-width: 560px) {
  .tw-panel { width: calc(100vw - 24px); right: 12px; left: 12px; bottom: 80px; }
}

/* ── 36. Tap-target safety: ensure buttons & links ≥ 44px ── */
@media (max-width: 720px) {
  .btn { padding: 16px 24px; }
  .btn-text { padding: 8px 0; }
}
