/* ==========================================================================
   Aaradhya Fruits, design system & styles
   Plain CSS. No frameworks, no preprocessors.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand greens */
  --green-900: #0f2e1e;
  --green-800: #143a26;
  --green-700: #1e6b43;
  --green-600: #257a4d;
  --green-100: #e7f0e9;

  /* Pomegranate accent */
  --pom-700: #8f1a25;
  --pom: #a41e2b;
  --pom-600: #b5333f;

  /* Neutrals (warm) */
  --sand: #f1ead9;
  --paper: #fbf8f1;
  --ink: #23201a;
  --muted: #6e6557;
  --line: #e4ddcd;
  --white: #ffffff;

  /* Type */
  --font-head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1160px;
  --container-narrow: 760px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 30, 15, 0.06), 0 2px 8px rgba(20, 30, 15, 0.05);
  --shadow-md: 0 6px 18px rgba(20, 30, 15, 0.10);
  --shadow-lg: 0 22px 50px rgba(15, 30, 20, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.18s;
  --t: 0.32s;
  --t-slow: 0.7s;
}

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

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--green-900);
}

h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.7rem); font-weight: 640; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.7vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); }

p { color: var(--ink); }
p + p { margin-top: 1rem; }

.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); color: var(--muted); line-height: 1.6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--pom);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--green-100); }

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

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }
.section--alt { background: var(--sand); }
.section--green { background: var(--green-800); color: var(--green-100); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 1rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.75rem; }
.section-head p { margin-top: 1rem; color: var(--muted); }
.section--green .section-head p { color: rgba(231, 240, 233, 0.82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--pom); color: #fff; box-shadow: 0 8px 20px rgba(164, 30, 43, 0.28); }
.btn--primary:hover { background: var(--pom-700); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--green-800); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--ghost-dark { background: transparent; color: var(--green-800); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--green-700); color: var(--green-700); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), padding var(--t) var(--ease);
  padding-block: 1.15rem;
}
.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header.is-solid .nav__link,
.site-header.is-scrolled .nav__link { color: var(--green-900); }
.site-header.is-solid .nav__toggle,
.site-header.is-scrolled .nav__toggle { color: var(--green-900); }

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__logo { height: 46px; width: auto; }

/* Primary nav */
.nav { display: flex; align-items: center; gap: 0.25rem; flex: 1 1 auto; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__link:hover { background: rgba(255, 255, 255, 0.14); }
.site-header.is-solid .nav__link:hover,
.site-header.is-scrolled .nav__link:hover { background: var(--green-100); color: var(--green-700); }
.nav__link.is-active { color: #fff; background: rgba(255, 255, 255, 0.18); }
.site-header.is-solid .nav__link.is-active,
.site-header.is-scrolled .nav__link.is-active { background: var(--green-100); color: var(--green-700); }
.nav__caret { width: 12px; height: 12px; opacity: 0.8; transition: transform var(--t-fast) var(--ease); }

/* Dropdown */
.nav__submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
}
.nav__item:hover .nav__submenu,
.nav__item:focus-within .nav__submenu,
.nav__item.is-open .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.nav__submenu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--ink);
  font-weight: 500;
}
.nav__submenu a:hover { background: var(--green-100); color: var(--green-700); }

/* Mobile toggle */
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; color: #fff; align-items: center; justify-content: center; }
.nav__toggle svg { width: 26px; height: 26px; }

.nav__cta { margin-left: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 860px);
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(15, 46, 30, 0.92) 0%, rgba(15, 46, 30, 0.72) 42%, rgba(15, 46, 30, 0.35) 100%),
    linear-gradient(0deg, rgba(15, 46, 30, 0.55), rgba(15, 46, 30, 0));
}
.hero__inner { max-width: 720px; padding-block: 7rem 5rem; }
.hero h1 { color: #fff; margin-top: 1.1rem; }
.hero h1 em { font-style: italic; color: #ffd9b0; }
.hero .lead { color: rgba(255, 255, 255, 0.88); margin-top: 1.4rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero__trust-item { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.hero__trust-item svg { width: 20px; height: 20px; color: #9ed87f; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--paper); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.stat__num { font-family: var(--font-head); font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.15rem); font-weight: 640; color: var(--green-700); line-height: 1.05; }
.stat__label { margin-top: 0.5rem; font-size: 0.92rem; color: var(--muted); font-weight: 500; }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: clamp(1rem, 0.5rem + 1.5vw, 1.6rem); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
/* Card image: whole fruit shown + centered (object-fit: contain). The empty
   bands are filled with plain white to match the product photos' white
   backgrounds, so each image blends seamlessly into the card. */
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.card__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform var(--t) var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.card__tag--export { background: rgba(30, 107, 67, 0.12); color: var(--green-700); }
.card__tag--import { background: rgba(164, 30, 43, 0.1); color: var(--pom); }
.card__title { font-size: 1.18rem; }
.card__link { margin-top: auto; padding-top: 0.5rem; font-weight: 600; font-size: 0.92rem; color: var(--green-700); display: inline-flex; align-items: center; gap: 0.35rem; }
.card__link svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Gallery (product sub-pages & overview) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(0.8rem, 0.4rem + 1vw, 1.2rem); }
.gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t) var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 0.9rem 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(0deg, rgba(15, 46, 30, 0.82), rgba(15, 46, 30, 0));
}
.gallery-group { margin-bottom: clamp(2rem, 1rem + 2vw, 3rem); }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-group h3 { margin-bottom: 1rem; }

/* ---------- Split / feature block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--sand); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__media { order: 2; }
.split__content h2 { margin-top: 0.8rem; }
.split__content p { margin-top: 1rem; color: var(--muted); }
.split__list { margin-top: 1.5rem; display: grid; gap: 0.8rem; }
.split__list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink); }
.split__list svg { width: 22px; height: 22px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }

/* ---------- Certification band ---------- */
.cert-band { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
.cert-badge {
  width: clamp(110px, 8vw, 150px);
  height: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.8rem;
  box-shadow: var(--shadow-md);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-800);
  color: #fff;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band p { color: rgba(231, 240, 233, 0.85); margin-top: 0.8rem; max-width: 50ch; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--green-800); color: #fff; padding-block: clamp(5rem, 3rem + 5vw, 7rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(231, 240, 233, 0.85); margin-top: 0.9rem; max-width: 60ch; }
.breadcrumb { font-size: 0.85rem; color: rgba(231, 240, 233, 0.65); margin-bottom: 1rem; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(231, 240, 233, 0.8); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand__logo { height: 52px; }
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; color: rgba(231, 240, 233, 0.7); max-width: 34ch; }
.footer-brand .footer-badge { margin-top: 1.3rem; width: 96px; background: #fff; border-radius: var(--radius-sm); padding: 0.4rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.92rem; color: rgba(231, 240, 233, 0.78); transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 0.6rem; font-size: 0.92rem; margin-bottom: 0.7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: #9ed87f; flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(231, 240, 233, 0.6);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.contact-methods { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.contact-method { display: flex; gap: 1rem; align-items: flex-start; }
.contact-method__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method__icon svg { width: 22px; height: 22px; }
.contact-method h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; font-weight: 700; }
.contact-method p { color: var(--ink); font-weight: 500; }
.contact-method a:hover { color: var(--green-700); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; min-height: 380px; background: var(--sand); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Reveal on scroll ---------- */
/* Base: fade + rise. Variants via data-reveal="left|right|up|scale|blur". */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease-out-expo), transform var(--t-slow) var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-48px); }
[data-reveal="right"] { transform: translateX(48px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="blur"] { opacity: 0; filter: blur(14px); transition: opacity var(--t-slow) var(--ease-out-expo), filter var(--t-slow) var(--ease-out-expo); transition-delay: var(--d, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* When a container is marked [data-stagger], its [data-reveal] children get
   incremental --d delays automatically (wired in main.js). Overrides per-child
   via inline style --d still win. */
[data-stagger] > [data-reveal] { transition-delay: var(--d, 0ms); }

/* ---------- Hero load choreography ---------- */
/* On Home only (.hero). Children slide/fade up on load, staggered. */
.hero.is-ready .hero__inner > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  animation: hero-rise 0.9s var(--ease-out-expo) forwards;
}
.hero.is-ready .hero__inner > *:nth-child(1) { animation-delay: 0.15s; }
.hero.is-ready .hero__inner > *:nth-child(2) { animation-delay: 0.28s; }
.hero.is-ready .hero__inner > *:nth-child(3) { animation-delay: 0.41s; }
.hero.is-ready .hero__inner > *:nth-child(4) { animation-delay: 0.54s; }
.hero.is-ready .hero__inner > *:nth-child(5) { animation-delay: 0.67s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Hero background: Ken Burns drift + scroll parallax ---------- */
.hero__bg {
  animation: ken-burns 22s var(--ease) infinite alternate;
  will-change: transform;
}
@keyframes ken-burns {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -1%); }
}

/* ---------- Inner page hero load-in ---------- */
.page-hero .container > * {
  opacity: 0;
  transform: translateY(18px);
  animation: page-hero-rise 0.7s var(--ease-out-expo) forwards;
}
.page-hero .container > *:nth-child(1) { animation-delay: 0.05s; }
.page-hero .container > *:nth-child(2) { animation-delay: 0.14s; }
.page-hero .container > *:nth-child(3) { animation-delay: 0.23s; }
.page-hero .container > *:nth-child(4) { animation-delay: 0.32s; }
@keyframes page-hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Premium hover: button shine + card image zoom (already zooms; add lift polish) ---------- */
.card { will-change: transform; }
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.cluster { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -120%;
  background: var(--green-700);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav { flex: 0 0 auto; }
  .nav__list {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 380px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    padding: 5.5rem 1.3rem 2rem;
    transform: translateX(100%);
    transition: transform var(--t) var(--ease);
    overflow-y: auto;
    z-index: 95;
  }
  .nav.is-open .nav__list { transform: translateX(0); }
  .nav__scrim { position: fixed; inset: 0; background: rgba(15, 30, 20, 0.5); opacity: 0; visibility: hidden; transition: opacity var(--t) var(--ease), visibility var(--t); z-index: 90; }
  .nav.is-open .nav__scrim { opacity: 1; visibility: visible; }
  .nav__link { color: var(--ink); padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; font-size: 1.02rem; }
  .nav__link:hover, .nav__link.is-active { background: none; color: var(--green-700); }
  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0.4rem 1rem;
    min-width: 0;
  }
  .nav__submenu a { color: var(--muted); padding: 0.45rem 0.5rem; font-size: 0.95rem; }
  .nav__caret { display: none; }
  .nav__cta { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .cert-band { grid-template-columns: 1fr; text-align: left; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 4 / 3; min-height: 300px; }
}

@media (max-width: 560px) {
  .grid--3, .grid--4, .grid--cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero__trust { gap: 1rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero__bg { animation: none; transform: scale(1.04); }
  .hero.is-ready .hero__inner > *,
  .page-hero .container > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   Floating WhatsApp call-to-action
   Injected by main.js on every page. z-index 80 keeps it above page content
   but below the fixed header (100) and the mobile nav drawer, so it never
   overlays the menu. Brand-green (#25d366) chosen for instant recognition.
   ========================================================================== */
.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-md), 0 2px 6px rgba(0, 0, 0, 0.16);
  opacity: 1;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  /* `backwards` so the from-keyframe holds during the delay, then the button
     settles to its base style (letting :hover transform work afterwards). */
  animation: wa-fab-in 0.45s var(--ease) 0.35s backwards;
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 3px 8px rgba(0, 0, 0, 0.2);
}
.wa-fab:active { transform: translateY(0); }
.wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.wa-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0;
  z-index: 0;
  animation: wa-fab-pulse 2.4s ease-out 1s infinite;
}
.wa-fab__icon {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
@keyframes wa-fab-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wa-fab-pulse {
  0%   { transform: scale(1);    opacity: 0.5; }
  70%  { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}
@media (max-width: 480px) {
  .wa-fab { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
  .wa-fab__icon { width: 27px; height: 27px; }
}

/* ============ FAQ ============ */
.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}
.faq__item {
  background: var(--paper, #fbf8f1);
  border: 1px solid rgba(20, 58, 38, 0.12);
  border-radius: 14px;
}
.faq__item summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--green-900, #0f2e1e);
  list-style-position: outside;
}
.faq__item summary:hover,
.faq__item[open] summary {
  color: var(--green-700, #1e6b43);
}
.faq__item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted, #6e6557);
  line-height: 1.6;
}
