/* =========================================================
   Safú · landing
   Palette sampled from the logo, mascot and LinkedIn banner.
   ========================================================= */
:root {
  --green-950: #11392a;
  --green-900: #184f3a;
  --green-800: #1d6047;
  --green-700: #247757;
  --sage-500: #6baa90;
  --sage-400: #86bba4;
  --sage-300: #a9cfbe;
  --sage-100: #e3f0e9;
  --yellow-500: #f5b943;
  --yellow-600: #f3aa1a;
  --yellow-200: #fbe6bb;
  --cream-50: #fffaf2;
  --cream-100: #fbf5ea;
  --cream-200: #f4e6cd;
  --cream-300: #ead6b4;

  --ink: var(--green-900);
  --muted: #4b675a;
  --line: rgba(24, 79, 58, 0.12);

  --font-display: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 1px 2px rgba(24, 79, 58, 0.04), 0 12px 32px -20px rgba(24, 79, 58, 0.18);
  --shadow-puffy: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--yellow-500); color: var(--green-900); }

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

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(1200px, 100% - 64px); } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--green-900); color: var(--cream-100);
  padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1.05em; height: 1.05em; }
.icon--xs { width: 0.95em; height: 0.95em; vertical-align: -0.12em; }

/* Film grain like the banner */
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--green-900); --fg: var(--cream-100);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.8em 1.4em;
  border-radius: 999px; border: 0;
  font: 500 0.975rem/1 var(--font-body);
  text-decoration: none; white-space: nowrap;
  color: var(--fg); background: var(--bg);
  box-shadow: var(--shadow-puffy), 0 1px 2px rgba(17, 57, 42, 0.2);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-out), background-color 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-puffy), 0 8px 20px -10px rgba(17, 57, 42, 0.45); }
.btn:active { transform: none; }
.btn--sm { min-height: 42px; padding: 0.65em 1.15em; font-size: 0.95rem; }
.btn--lg { min-height: 54px; padding: 0.95em 1.6em; font-size: 1rem; }
.btn--dark { --bg: var(--green-900); --fg: var(--cream-100); }
.btn--dark:hover { --bg: var(--green-800); }
.btn--yellow { --bg: var(--yellow-500); --fg: var(--green-950); }
.btn--yellow:hover { --bg: #f6c158; }
.btn--cream { --bg: var(--cream-100); --fg: var(--green-900); }
.btn--ghost {
  --bg: rgba(251, 245, 234, 0.35); --fg: var(--green-900);
  box-shadow: inset 0 0 0 1.5px rgba(24, 79, 58, 0.5);
}
.btn--ghost:hover { --bg: rgba(251, 245, 234, 0.6); box-shadow: inset 0 0 0 1.5px var(--green-900); }
.btn--ghost .icon { transition: transform 0.25s var(--ease-out); }
.btn--ghost:hover .icon { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: background-color 0.3s, box-shadow 0.3s, height 0.3s;
}
.nav.is-scrolled {
  background: rgba(251, 245, 234, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__brand img { height: 40px; width: auto; transition: transform 0.3s var(--ease-spring); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a:not(.btn) {
  padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; text-decoration: none;
  transition: background-color 0.2s;
}
.nav__links a:not(.btn):hover { background: rgba(24, 79, 58, 0.08); }
.nav__cta-mobile { display: none; }
.lang-toggle {
  flex: none; display: grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px;
  border: 0; background: transparent; color: var(--green-900);
  box-shadow: inset 0 0 0 1.5px rgba(24, 79, 58, 0.25);
  font: 600 0.85rem/1 var(--font-body); letter-spacing: 0.04em; cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.lang-toggle:hover { background: rgba(24, 79, 58, 0.08); box-shadow: inset 0 0 0 1.5px rgba(24, 79, 58, 0.5); }
/* Hide the page for a moment while English is applied, so Spanish never flashes. */
.lang-pending body { opacity: 0; }
.nav__toggle { display: none; }

@media (max-width: 880px) {
  :root { --nav-h: 68px; }
  .nav__brand img { height: 34px; }
  .lang-toggle { margin-left: auto; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: rgba(24, 79, 58, 0.08); cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--green-900); transition: transform 0.3s var(--ease-out); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .nav__links {
    position: fixed; inset: var(--nav-h) 12px auto; margin: 0;
    flex-direction: column; gap: 4px; padding: 12px;
    background: var(--cream-50); border-radius: var(--radius);
    box-shadow: 0 30px 60px -20px rgba(24, 79, 58, 0.4), 0 0 0 1px var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.25s, transform 0.3s var(--ease-out), visibility 0.25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav__cta-mobile { display: inline-flex; margin-top: 6px; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }

}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(24, 79, 58, 0.16), transparent 60%),
    var(--sage-500);
  padding: calc(var(--nav-h) + 48px) 0 96px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 56px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 120px; min-height: min(100svh, 920px); display: grid; align-items: center; }
  .hero__inner { grid-template-columns: 1.08fr 0.92fr; gap: 40px; }
}

.hero__title {
  font-size: clamp(2.4rem, 1.5rem + 4.6vw, 5rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.038em;
  color: var(--green-900);
  text-wrap: balance;
}
.hl { white-space: nowrap; color: var(--cream-50); }
@media (max-width: 340px) { .hl { white-space: normal; } }

.hero__lead { margin-top: 24px; max-width: 34ch; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--green-950); opacity: 0.85; }
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ticks { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 500; font-size: 0.92rem; }
.hero__ticks li { display: inline-flex; align-items: center; gap: 7px; }

@media (max-width: 520px) {
  .hero__ctas .btn, .stores__cta .btn, .vision__cta .btn { width: 100%; }
}

.hero__accent {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(760px, 95vw); right: -12%; top: 16%;
  transform: rotate(-24deg);
  filter: drop-shadow(0 40px 60px rgba(17, 57, 42, 0.25));
}
@media (max-width: 979px) { .hero__accent { top: auto; bottom: 4%; right: -30%; width: 120vw; max-width: 760px; opacity: 0.95; } }

/* stage */
.hero__stage { position: relative; display: grid; place-items: center; padding: 10px 0 40px; }
.hero__stage { --w: min(320px, 78vw, max(250px, calc((100svh - var(--nav-h) - 90px) * 71.6 / 147.6))); }

/* iPhone: titanium rim, black bezel, Dynamic Island */
.phone {
  position: relative; isolation: isolate;
  width: var(--w); aspect-ratio: 71.6 / 147.6;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.17);
  background: #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 2px 3px rgba(0, 0, 0, 0.15),
    0 30px 50px -20px rgba(17, 57, 42, 0.45),
    0 70px 110px -40px rgba(17, 57, 42, 0.5);
}
.phone::before {
  content: ""; position: absolute; z-index: -1; inset: -3.5px;
  border-radius: calc(var(--w) * 0.17 + 3.5px);
  background: linear-gradient(140deg, #8d8d92 0%, #3b3b3e 18%, #232325 45%, #2e2e31 70%, #77777c 100%);
}
.phone__btn { position: absolute; width: 3.5px; background: linear-gradient(90deg, #5e5e63, #2c2c2f); }
.phone__btn--action, .phone__btn--up, .phone__btn--down { left: -6.5px; border-radius: 2px 0 0 2px; }
.phone__btn--action { top: 17%; height: 4.6%; }
.phone__btn--up { top: 25%; height: 8.5%; }
.phone__btn--down { top: 35.5%; height: 8.5%; }
.phone__btn--power { right: -6.5px; top: 28%; height: 13%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #5e5e63, #2c2c2f); }

.phone__screen {
  --tint: #1dab61;
  position: relative; height: 100%; overflow: hidden;
  border-radius: calc(var(--w) * 0.138);
  background: #efeae2;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--font-body);
  color: #111b21; letter-spacing: -0.01em;
}
.phone__screen::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 42%);
}

.wa__top { position: relative; z-index: 2; background: rgba(246, 246, 246, 0.96); box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.15); }
.ios-status {
  position: relative; height: calc(var(--w) * 0.14);
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--w) * 0.02) calc(var(--w) * 0.085) 0;
  font-weight: 600; font-size: calc(var(--w) * 0.047); color: #000;
}
.ios-status__time { width: 26%; text-align: center; }
.ios-status__island {
  position: absolute; left: 50%; top: calc(var(--w) * 0.032); translate: -50% 0;
  width: 31%; height: calc(var(--w) * 0.092); border-radius: 999px; background: #000;
}
.ios-status__sys { display: flex; align-items: center; gap: calc(var(--w) * 0.016); }
.ios-status__sys svg { height: calc(var(--w) * 0.036); width: auto; fill: currentColor; color: #000; }
.ios-status__sys svg:last-child { height: calc(var(--w) * 0.04); }

.wa__head { display: flex; align-items: center; gap: 8px; padding: 2px 12px 8px 10px; }
.wa__back { width: 9px; height: 16px; color: var(--tint); flex: none; }
.wa__head picture { flex: none; display: block; }
.wa__head img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--sage-500); flex: none; }
.wa__who { flex: 1; min-width: 0; line-height: 1.15; }
.wa__who strong { display: flex; align-items: center; gap: 3px; font-size: 14px; font-weight: 600; }
.wa__who span { font-size: 11px; color: #667781; }
.wa__verified { width: 13px; height: 13px; }
.wa__icon { width: 21px; height: 21px; color: var(--tint); flex: none; margin-left: 10px; }

.chat__body {
  flex: 1; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 10px 12px;
  background-color: #efeae2;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(84, 101, 111, 0.06) 1.2px, transparent 1.6px),
    radial-gradient(circle at 75% 75%, rgba(84, 101, 111, 0.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  font-size: 12.5px; line-height: 1.32;
}
.wa__day {
  align-self: center; margin-bottom: 6px; padding: 3px 9px; border-radius: 7px;
  background: rgba(255, 255, 255, 0.92); font-size: 10.5px; font-weight: 500; color: #54656f;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.1);
}
.msg {
  position: relative; max-width: 82%;
  padding: 5px 8px 16px; border-radius: 8px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  flex: none;
}
.msg::before {
  content: ""; position: absolute; top: 0; width: 8px; height: 11px; background: inherit;
}
.msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 0; margin-left: 6px; }
.msg--in::before { left: -7px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.msg--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 0; margin-right: 6px; }
.msg--out::before { right: -7px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.msg time { position: absolute; right: 7px; bottom: 3px; display: inline-flex; align-items: center; gap: 2px; font-size: 9.5px; color: #667781; }
.ticks { width: 14px; height: 10px; color: #53bdeb; }

.msg--loc { padding: 3px 3px 16px; width: 62%; }
.msg--loc .loc {
  height: 72px; border-radius: 6px; margin-bottom: 3px;
  background:
    linear-gradient(90deg, transparent 46%, #fff 46% 50%, transparent 50%),
    linear-gradient(0deg, transparent 58%, #fff 58% 62%, transparent 62%),
    linear-gradient(28deg, transparent 30%, rgba(255,255,255,.8) 30% 33%, transparent 33%),
    linear-gradient(160deg, transparent 70%, #c9e4f1 70%),
    #e6efe3;
  display: grid; place-items: center;
}
.loc__label { padding-left: 5px; font-size: 11.5px; color: #667781; }
.loc__pin { width: 15px; height: 15px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #e5493a; box-shadow: 0 2px 4px rgba(0,0,0,.25); }

.msg--card { padding: 4px 4px 0; width: 84%; }
.msg--card time { bottom: auto; top: auto; position: static; display: flex; justify-content: flex-end; padding: 2px 4px 3px; }
.quote { background: #f5f6f6; border-radius: 6px; padding: 8px 9px; }
.quote__store { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.quote__store b { display: block; font-size: 12px; line-height: 1.2; }
.quote__store small { font-size: 10px; color: #667781; }
.quote__awning { flex: none; width: 24px; height: 24px; object-fit: contain; }
.quote dl { margin: 0; display: grid; gap: 1px; font-size: 11px; }
.quote dl div { display: flex; justify-content: space-between; gap: 8px; }
.quote dt, .quote dd { margin: 0; }
.quote__fee { color: #667781; }
.quote__total { margin-top: 3px; padding-top: 4px; border-top: 0.5px solid rgba(0, 0, 0, 0.15); font-weight: 600; font-size: 12px; }
.quote__eta { margin-top: 5px; font-size: 10.5px; color: #667781; }
.quote__btn {
  display: block; margin: 0 -4px; padding: 8px; text-align: center;
  border-top: 0.5px solid rgba(0, 0, 0, 0.12);
  color: #027eb5; font-weight: 500; font-size: 12.5px;
  transition: background-color 0.2s;
}
.quote__btn.is-pressed { background: rgba(2, 126, 181, 0.1); border-radius: 0 0 8px 8px; }

.msg--typing { display: flex; gap: 3px; padding: 9px 11px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-3px); opacity: 1; } }

/* JS-driven sequencing: hidden until shown */
.chat-ready .msg { display: none; }
.chat-ready .msg.is-shown { display: block; animation: pop 0.35s var(--ease-out) both; }
.chat-ready .msg--typing.is-shown { display: flex; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wa__input {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px calc(var(--w) * 0.075);
  background: rgba(246, 246, 246, 0.96); box-shadow: 0 -0.5px 0 rgba(0, 0, 0, 0.12);
  color: #111b21;
}
.wa__input > svg { width: 21px; height: 21px; flex: none; }
.wa__field {
  flex: 1; height: 28px; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 7px;
}
.wa__field svg { width: 17px; height: 17px; color: #8696a0; }
.phone__home {
  position: absolute; z-index: 6; left: 50%; bottom: 6px; translate: -50% 0;
  width: 36%; height: 4.5px; border-radius: 3px; background: #000;
}

.hero__stage > picture { display: contents; }
.hero__mascot {
  position: absolute; z-index: 2;
  width: clamp(130px, 22vw, 200px); left: calc(50% - var(--w) / 2 - clamp(120px, 19vw, 192px)); bottom: 4%;
  filter: drop-shadow(0 24px 24px rgba(17, 57, 42, 0.3));
}
@media (max-width: 520px) {
  .hero__stage { --w: min(264px, 70vw); padding-bottom: 118px; }
  /* Below the phone, centered a bit left of the middle, over the accent. */
  .hero__mascot { width: 180px; left: calc(50% - 108px); bottom: -86px; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section--sage { background: var(--sage-500); isolation: isolate; overflow: hidden; }
.section--dark { background: var(--green-900); color: var(--cream-100); overflow: hidden; }

.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -0.035em; text-wrap: balance; }
.section__lead { margin-top: 18px; max-width: 56ch; font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); color: var(--muted); }
.section--dark .section__lead { color: rgba(251, 245, 234, 0.75); }
.section--sage .section__lead { color: var(--green-950); opacity: 0.82; }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }


/* ---------- steps ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step {
  position: relative; padding: 30px 26px 30px;
  border-radius: var(--radius);
  background: var(--cream-50);
  box-shadow: var(--shadow-soft), 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft), 0 0 0 1px rgba(24, 79, 58, 0.2); }
.step__n {
  position: absolute; top: 22px; right: 24px;
  font: 500 0.85rem/1 var(--font-display); letter-spacing: 0.08em; color: var(--muted); opacity: 0.7;
}
.step__icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 28px;
  display: grid; place-items: center;
  background: var(--sage-100); color: var(--green-800);
}
.step__icon svg { width: 22px; height: 22px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px 20px 22px; }
  .step__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .step h3, .step p { grid-column: 2; }
  .step h3 { margin: 2px 0 4px; }
  .step__n { top: 20px; right: 20px; }
}

.assurances {
  margin-top: 28px; padding: 22px 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px;
  border-radius: var(--radius); background: var(--sage-100);
  font-weight: 500; font-size: 0.97rem;
}
.assurances li { display: inline-flex; align-items: center; gap: 10px; }
.assurances .icon { color: var(--green-700); }

/* ---------- vision ---------- */
.vision__inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .vision__inner { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }
.vision h2 { color: var(--green-900); }
.pillars { display: grid; margin-top: 36px; border-top: 1px solid rgba(24, 79, 58, 0.18); }
.pillars li { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid rgba(24, 79, 58, 0.18); }
@media (min-width: 640px) { .pillars li { grid-template-columns: 220px 1fr; align-items: baseline; } }
.pillars h3 { font-size: 1.05rem; }
.pillars p { color: var(--green-950); opacity: 0.8; }
.vision__cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.vision__cta p { font-weight: 500; color: var(--green-950); opacity: 0.8; }

.radar { position: relative; width: min(520px, 100%); margin-inline: auto; }
.radar svg { width: 100%; height: auto; overflow: visible; }
.radar__wave { transform-origin: 260px 260px; animation: wave 4s var(--ease-out) infinite; opacity: 0; }
.radar__wave--2 { animation-delay: 2s; }
@keyframes wave { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(6); opacity: 0; } }

.link { stroke-dasharray: 6 9; stroke-dashoffset: 0; opacity: 0; }
.s { transform-box: view-box; }
.s--far { opacity: 0.55; }
.radar__win { opacity: 0; transform-box: view-box; }
.radar__me { transform-box: view-box; animation: mePulse 2.5s ease-in-out infinite; }
@keyframes mePulse { 50% { transform: scale(1.06); } }

/* 8s loop: wave 1 lights stores 1 & 2, store 2 wins */
.radar.is-in .link--1, .radar.is-in .link--2 { animation: linkOn 8s infinite, dash 1s linear infinite; }
.radar.is-in .link--3, .radar.is-in .link--4 { animation: linkOff 8s infinite, dash 1s linear infinite; }
.radar.is-in .s--1, .radar.is-in .s--2 { animation: storeHop 8s infinite; }
.radar.is-in .s--2 { animation: storeWin 8s infinite; }
.radar.is-in .radar__win { animation: win 8s var(--ease-spring) infinite; }
@keyframes dash { to { stroke-dashoffset: -15; } }
@keyframes linkOn { 0%, 8% { opacity: 0; } 14%, 70% { opacity: 0.85; } 78%, 100% { opacity: 0; } }
@keyframes linkOff { 0%, 100% { opacity: 0; } }
@keyframes storeHop { 0%, 10% { transform: none; } 14% { transform: translateY(-6px); } 18%, 100% { transform: none; } }
@keyframes storeWin { 0%, 10% { transform: none; } 14% { transform: translateY(-6px); } 18%, 36% { transform: none; } 42%, 74% { transform: scale(1.18); } 82%, 100% { transform: none; } }
@keyframes win { 0%, 38% { opacity: 0; transform: scale(0.3); } 44%, 74% { opacity: 1; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(0.6); } }


/* ---------- stores ---------- */
.stores { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1000px) { .stores { grid-template-columns: 1.1fr 0.9fr; gap: 80px; } }
.stores h2 { color: var(--cream-50); }
.benefits { display: grid; gap: 14px; margin-top: 40px; }
.benefits li {
  display: flex; gap: 16px; padding: 22px;
  border-radius: var(--radius);
  background: rgba(251, 245, 234, 0.05);
  box-shadow: inset 0 0 0 1px rgba(251, 245, 234, 0.1);
  transition: background-color 0.3s;
}
.benefits li:hover { background: rgba(251, 245, 234, 0.09); }
.benefits__icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(245, 185, 67, 0.14); color: var(--yellow-500);
}
.benefits__icon svg { width: 20px; height: 20px; }
.benefits h3 { font-size: 1.05rem; margin: 2px 0 6px; color: var(--cream-50); }
.benefits p { font-size: 0.97rem; color: rgba(251, 245, 234, 0.72); }
.stores__cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.stores__cta p { color: rgba(251, 245, 234, 0.65); font-size: 0.95rem; }

.stores__visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.store-card {
  position: relative; z-index: 1;
  width: min(360px, 100%); padding: 22px;
  border-radius: 28px; background: var(--cream-50); color: var(--green-900);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.6);
}
.store-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.store-card__badge { padding: 6px 12px; border-radius: 999px; background: var(--green-900); color: var(--yellow-500); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.02em; }
.store-card__code { font: 600 1.1rem/1 var(--font-display); color: var(--muted); }
.store-card__items { display: grid; gap: 10px; }
.store-card__items li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.store-card__qty { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--sage-100); font: 600 0.9rem/1 var(--font-display); }
.store-card__meta { margin-top: 14px; display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--muted); }
.store-card__actions { margin-top: 18px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; }
.sbtn { display: grid; place-items: center; padding: 11px 6px; border-radius: 10px; background: var(--cream-200); font-weight: 600; font-size: 0.85rem; text-align: center; }
.sbtn--yes { background: var(--green-900); color: var(--cream-50); }
.store-card--mini {
  position: absolute; z-index: 2; right: 0; bottom: 8%;
  width: auto; padding: 14px 18px; border-radius: 14px;
  background: var(--sage-500);
  font-size: 0.92rem;
}
.store-card--mini b { margin-right: 6px; }
@media (max-width: 999px) {
  .stores { gap: 40px; }
  .stores__visual { min-height: 0; padding-bottom: 36px; }
  .store-card--mini { bottom: 0; }
}
@media (max-width: 520px) { .store-card--mini { right: -4px; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } .faq__head { position: sticky; top: calc(var(--nav-h) + 32px); } }
.faq__list { display: grid; gap: 12px; }
.faq details {
  border-radius: 16px; background: var(--cream-50);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.faq details[open] { box-shadow: 0 0 0 1px rgba(24, 79, 58, 0.3); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px;
  font: 600 1.05rem/1.35 var(--font-display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 20px; height: 20px;
  background:
    linear-gradient(var(--green-900), var(--green-900)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--green-900), var(--green-900)) center / 1.5px 12px no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--muted); max-width: 62ch; }
.faq details a { color: var(--green-700); font-weight: 600; }

/* ---------- final ---------- */
.final {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 12px; border-radius: var(--radius-lg);
  background: var(--sage-500);
  padding: clamp(72px, 9vw, 120px) 0;
}
@media (min-width: 720px) { .final { margin: 0 24px; } }
.final__accent {
  position: absolute; z-index: 0; width: min(780px, 130vw);
  left: -14%; top: 50%; translate: 0 -50%; transform: rotate(-14deg);
  opacity: 0.95;
}
.final__inner { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .final__inner { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
@media (max-width: 899px) { .final__accent { top: auto; bottom: -6%; translate: none; left: -30%; } }
.final__logo { width: clamp(200px, 30vw, 320px); height: auto; filter: drop-shadow(0 12px 18px rgba(17, 57, 42, 0.2)); }
.final__tagline { margin-top: 18px; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 500; max-width: 30ch; color: var(--green-950); }
.final h2 { margin-top: 36px; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); letter-spacing: -0.04em; color: var(--green-900); }
.final .hero__ctas { margin-top: 28px; }
.final__mascot { width: min(460px, 78vw); justify-self: center; order: 2; }
.final__mascot picture { display: block; }
.final__mascot img { width: 100%; filter: drop-shadow(0 30px 30px rgba(17, 57, 42, 0.3)); }
@media (min-width: 900px) { .final__mascot { order: 0; } }

/* ---------- legal pages (privacidad, terminos) ---------- */
.legal__back { margin-left: auto; font-weight: 500; font-size: 0.95rem; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.legal__back:hover { background: rgba(24, 79, 58, 0.08); }
.legal { padding: calc(var(--nav-h) + 48px) 0 24px; }
.legal__inner { width: min(760px, 100% - 32px); margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); letter-spacing: -0.035em; margin: 10px 0 12px; text-wrap: balance; }
.legal__meta { color: var(--muted); font-size: 0.92rem; }
.legal h2 { font-size: 1.35rem; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--green-950); }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 1.3em; display: grid; gap: 6px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li ul { margin: 8px 0 0; }
.legal li::marker { color: var(--green-700); }
.legal a { color: var(--green-700); font-weight: 500; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__table { overflow-x: auto; margin: 8px 0 18px; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--line); }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--cream-50); }
.legal th, .legal td { text-align: left; padding: 12px 16px; vertical-align: top; }
.legal th { font-family: var(--font-display); font-weight: 600; background: var(--sage-100); }
.legal tbody tr + tr td { border-top: 1px solid var(--line); }
.legal td:first-child { white-space: nowrap; font-weight: 500; }
@media (max-width: 520px) { .legal td:first-child { white-space: normal; } }

/* ---------- footer ---------- */
.footer { padding: 56px 0 40px; }
.footer__inner { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer__inner { grid-template-columns: 1fr auto; align-items: start; } .footer__legal { grid-column: 1 / -1; } }
.footer__brand img { height: 44px; width: auto; }
.footer__brand p { margin-top: 12px; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 500; font-size: 0.95rem; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-decoration-color: var(--yellow-500); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer__legal { padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .link--1, .link--2 { opacity: 0.85; }
  .radar__win { opacity: 1; }
}
