/* V-Go — home (index.html)
   Sólo la home: el resto de las páginas sigue con styles.css.
   Marca: violetas en sus tonos, blanco y negro (naranja y turquesa casi no se usan).
   League Spartan = tipografía de la marca (Content Studio); Archivo = la de la interfaz de
   la app, sólo en las piezas que imitan una pantalla (notificación, seguimiento, etiquetas).
   ───────────────────────────────────────── */

:root {
  --violet: #9D3DBF;
  --violet-6: #8A36A8;
  --violet-7: #722A90;
  --violet-9: #36124C;
  --orchid: #C58BDB;
  --lilac: #E6CFF0;
  --lilac-2: #F4EAF8;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --night: #2A2130; /* el pavimento del barrio 3D: fondo de la escena, la barra y el pie */

  --brand: 'League Spartan', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(16px, 2vw, 28px);
  --bar-h: 64px;
  --r: 28px;

  --fs-h2: clamp(40px, 5vw, 84px);
  --fs-lead: clamp(20px, 1.8vw, 26px);
  --fs-body: 19px;
  --fs-small: 15px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--night);
  color: var(--black);
  font-family: var(--brand);
  font-size: var(--fs-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, select { font: inherit; color: inherit; }
::selection { background: var(--black); color: var(--white); }

:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 4px; }
[data-chapter="white"] :focus-visible,
[data-chapter="lilac"] :focus-visible,
.step-card :focus-visible { outline-color: var(--black); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--white); color: var(--black); font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* Titulares de marca: League Spartan negra, mayúsculas, apretada. */
.hero-title, .step-card h2, .cravings-head h2, .reach-panel h2, .trade-copy h2,
.faq-title h2, .close-title, .foot-title, .crave h3 {
  font-family: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: .9;
}
.line { display: block; overflow: hidden; padding-top: .04em; padding-bottom: .02em; }
.line-in { display: block; }

/* ── Botones ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 2px 28px 0;
  border: 0; border-radius: 999px;
  font-family: var(--brand); font-size: 18px; font-weight: 800; letter-spacing: 0.01em;
  text-decoration: none; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-lg { min-height: 60px; padding: 2px 36px 0; font-size: 20px; }
.btn-ink { background: var(--black); color: var(--white); }
.btn-ink:hover { background: var(--white); color: var(--black); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--lilac); }
.btn-violet { background: var(--violet); color: var(--white); }
.btn-violet:hover { background: var(--white); color: var(--violet-9); }
.btn-ghost-light { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--violet-9); }

.link-light {
  color: var(--white); font-weight: 700; font-size: 18px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: text-underline-offset .25s var(--ease-out), opacity .2s;
}
.link-light:hover { text-underline-offset: 8px; opacity: .85; }

/* ── Barra (toma el color del capítulo) ── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--m);
  background: var(--bar-bg, var(--night));
  color: var(--bar-ink, var(--white));
  transition: background-color .3s, color .3s;
}
.bar[data-ink="street"] { --bar-bg: var(--night);    --bar-ink: var(--white); }
.bar[data-ink="night"]  { --bar-bg: var(--violet-9); --bar-ink: var(--white); }
.bar[data-ink="black"]  { --bar-bg: var(--black);    --bar-ink: var(--white); }
.bar[data-ink="white"]  { --bar-bg: var(--white);    --bar-ink: var(--black); }
.bar[data-ink="lilac"]  { --bar-bg: var(--lilac-2);  --bar-ink: var(--black); }
.bar[data-ink="black"] .bar-cta, .bar[data-ink="night"] .bar-cta, .bar[data-ink="street"] .bar-cta { background: var(--white); color: var(--black); }
.bar-logo { display: block; width: 84px; color: inherit; flex: none; }
.bar-logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.bar-links { display: flex; gap: 26px; margin-left: auto; }
.bar-links a { position: relative; padding: 4px 0; font-size: 17px; font-weight: 600; text-decoration: none; }
.bar-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease-out);
}
.bar-links a:hover::after { transform: scaleX(1); }
.bar-links-app { display: none; }
.bar-cta { min-height: 42px; padding: 2px 20px 0; font-size: 15px; }
.bar-toggle { display: none; }

/* ── El pedido (escena 3D fija detrás de los capítulos) ── */
.story { position: relative; background: var(--night); color: var(--white); }
.story-stage { position: absolute; inset: 0; z-index: 0; }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; } /* lvh: alto con la barra del navegador escondida; con svh quedaba una franja violeta abajo al scrollear en el celular */
.story-canvas { display: block; width: 100%; height: 100%; }
.js .story-canvas { opacity: 0; transition: opacity 1.2s ease; }
.js .story.is-ready .story-canvas { opacity: 1; }
.story-poster { display: none; position: absolute; right: 6vw; bottom: 8vh; width: min(420px, 40vw); transform: rotate(-4deg); }
.story.no-webgl .story-canvas, .story.no-webgl .story-labels, .story.no-webgl .toast, .story.no-webgl .tracker { display: none; }
.story.no-webgl .story-poster { display: block; }

.chapter { position: relative; z-index: 1; pointer-events: none; }
.chapter a, .chapter button { pointer-events: auto; }

.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--bar-h) + 6vh) var(--m) 6vh;
}
.hero-title { font-size: clamp(54px, 8.6vw, 176px); }
.hero-title .line-dark { color: var(--orchid); }
.hero-foot { width: min(440px, 34vw); display: grid; gap: 24px; }
.hero-sub { font-size: var(--fs-lead); line-height: 1.3; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.step { min-height: 92vh; min-height: 92svh; display: flex; align-items: center; padding: 0 var(--m); }
.step-long { min-height: 150vh; min-height: 150svh; }
.step-end { min-height: 115vh; min-height: 115svh; }
.step-card {
  position: relative;
  width: min(440px, 34vw);
  padding: 32px 32px 34px;
  border-radius: var(--r);
  background: var(--white); color: var(--black);
}
.step-card h2 { font-size: clamp(36px, 3.4vw, 56px); }
.step-card p { margin-top: 14px; font-size: var(--fs-body); line-height: 1.4; }
.step-phone {
  display: block; width: auto; max-height: 34vh; margin: 22px 0 0 auto;
  border-radius: 18px;
  aspect-ratio: 432 / 932; object-fit: cover; object-position: top;
  transform: rotate(4deg);
}
.step-card-big { width: min(560px, 42vw); background: var(--black); color: var(--white); }
.step-card-big h2 { font-size: clamp(44px, 4.8vw, 84px); }
.step-card-big .line:last-child { color: var(--orchid); }
.step-card-big .btn { margin-top: 24px; }
.step-card-big .btn-ink { background: var(--white); color: var(--black); }
.step-card-big .btn-ink:hover { background: var(--orchid); }

/* Piezas que imitan la app (Archivo). */
.story-labels { position: absolute; inset: 0; pointer-events: none; }
.tag3d {
  position: absolute; left: 0; top: 0;
  padding: 8px 14px 9px; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-family: var(--ui); font-size: 14px; font-weight: 700; white-space: nowrap;
  opacity: 0; transition: opacity .35s;
}
.tag3d::before {
  content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 7px;
  border-radius: 50%; background: var(--violet); vertical-align: 1px;
}
.tag3d::after {
  content: ''; position: absolute; left: 50%; bottom: -6px; margin-left: -6px;
  border: 6px solid transparent; border-bottom: 0; border-top-color: var(--white);
}
.tag3d.is-on { opacity: 1; }

.toast {
  position: absolute; left: 50%; top: calc(var(--bar-h) + 16px);
  display: flex; align-items: center; gap: 12px;
  width: min(400px, calc(100vw - 32px));
  padding: 12px 16px; border-radius: 18px;
  background: var(--white); color: var(--black);
  font-family: var(--ui); font-size: 15px; line-height: 1.3;
  box-shadow: 0 18px 40px rgba(20, 0, 30, .25);
  transform: translate(-50%, -160%); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s;
}
.toast svg { flex: none; width: 52px; fill: var(--violet); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

.tracker {
  position: absolute; right: var(--m); bottom: 28px;
  width: 360px; padding: 18px 20px 16px; border-radius: 22px;
  background: var(--white); color: var(--black);
  font-family: var(--ui);
  box-shadow: 0 18px 40px rgba(20, 0, 30, .25);
  transform: translateY(140%); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s;
}
.tracker.is-on { transform: none; opacity: 1; }
.tracker-title { font-size: 17px; font-weight: 700; }
.tracker-bar { height: 8px; margin: 12px 0 10px; border-radius: 99px; background: var(--lilac); overflow: hidden; }
.tracker-bar span { display: block; height: 100%; background: var(--violet); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease-out); }
.tracker-steps { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; font-weight: 500; color: #4b4b4b; }
.tracker-steps li.is-done { color: var(--violet-7); font-weight: 700; }

/* ── Antojos ────────────────────────────── */
.cravings { background: var(--white); color: var(--black); padding: 18vh 0 12vh; overflow: hidden; }
.cravings-head { display: flex; align-items: flex-end; gap: 32px; padding: 0 var(--m); margin-bottom: 7vh; }
.cravings-head h2 { font-size: clamp(64px, 11vw, 200px); line-height: .82; color: var(--violet); }
.cravings-head p { font-size: var(--fs-lead); font-weight: 500; max-width: 18ch; padding-bottom: 1.2vw; }
.cravings-row { display: flex; gap: 28px; width: max-content; padding: 30px var(--m) 0; }
.crave { width: clamp(270px, 25vw, 400px); }
.crave a {
  position: relative; display: block; text-decoration: none;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease-out);
}
.crave figure { overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; background: var(--lilac-2); }
.crave figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.crave a:hover figure img { transform: scale(1.06); }
.crave-doodle { position: absolute; top: -34px; right: -18px; width: 112px; height: auto; pointer-events: none; }
.crave h3 { margin-top: 18px; font-size: clamp(34px, 2.8vw, 48px); }
.crave p { margin-top: 6px; font-size: 22px; font-weight: 700; color: var(--violet-7); }
.cravings-note { padding: 6vh var(--m) 0; font-size: var(--fs-small); }
.cravings-note a { font-weight: 700; text-underline-offset: 3px; }

/* ── ¿Llegamos a tu casa? ───────────────── */
.reach {
  position: relative; overflow: hidden;
  min-height: 110vh; min-height: 110svh;
  padding: calc(var(--bar-h) + 10vh) var(--m) 10vh;
  background: var(--violet-9); color: var(--white);
}
.reach-stage { position: absolute; inset: 0; z-index: 0; }
.reach-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.js .reach-canvas { opacity: 0; transition: opacity 1.2s ease; }
.js .reach.is-ready .reach-canvas { opacity: 1; }
.reach-poster { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; opacity: .55; }
.reach.no-webgl .reach-canvas { display: none; }
.reach.no-webgl .reach-poster { display: block; }
.reach-panel { position: relative; z-index: 1; width: min(460px, 36vw); display: grid; gap: 20px; pointer-events: none; }
.reach-panel a, .reach-panel button, .reach-panel select, .reach-panel .picker { pointer-events: auto; }
.reach-panel h2 { font-size: clamp(44px, 4.6vw, 80px); }
.reach-lead { font-size: var(--fs-lead); font-weight: 500; line-height: 1.3; }
.picker { display: grid; gap: 16px; }
.picker-controls { display: flex; flex-wrap: wrap; gap: 12px; }
.picker-select {
  flex: 1 1 220px; min-height: 52px;
  padding: 0 48px 0 22px; border: 0; border-radius: 999px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230A0A0A' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 20px center;
  color: var(--black); font-family: var(--ui); font-weight: 700; font-size: 17px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.picker-select:disabled { opacity: .7; cursor: progress; }
.picker-out { display: grid; gap: 12px; justify-items: start; padding: 22px; border-radius: var(--r); background: var(--black); }
.picker-out[hidden], .picker-out:empty { display: none; }
.picker-big { font-size: 26px; font-weight: 800; line-height: 1.15; }
.picker-text { font-size: 17px; line-height: 1.45; }
.picker-text a { font-weight: 700; text-underline-offset: 3px; }
.picker-go { margin-top: 4px; }
.zone-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.zone-list li { display: contents; }
.zone-list a {
  display: inline-flex; gap: 6px; align-items: baseline;
  padding: 7px 13px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: var(--fs-small); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.zone-list a:hover { background: var(--white); color: var(--black); }
.zone-list span { opacity: .75; font-size: 13px; }

/* ── Comercios ──────────────────────────── */
.trade {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  padding: 18vh var(--m) 16vh;
  background: var(--black); color: var(--white);
}
.trade-figure { grid-column: 1 / 7; grid-row: 1; line-height: .8; }
.trade-num { display: block; font-size: clamp(140px, 21vw, 400px); font-weight: 900; letter-spacing: -0.05em; color: var(--orchid); }
.trade-unit { display: block; margin-top: .3em; font-size: clamp(26px, 2.6vw, 44px); font-weight: 900; text-transform: uppercase; }
.trade-copy { grid-column: 8 / 13; grid-row: 1 / 3; display: grid; gap: 26px; align-content: start; padding-top: 2vh; }
.trade-copy h2 { font-size: var(--fs-h2); }
.trade-lead { font-size: var(--fs-lead); line-height: 1.3; font-weight: 500; }
.trade-list { display: grid; gap: 4px; font-size: var(--fs-body); font-weight: 600; }
.trade-list li { position: relative; padding: 9px 0 9px 30px; }
.trade-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -8px; border-radius: 50%; background: var(--violet); }
.trade-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.trade-doodle { grid-column: 2 / 6; grid-row: 2; width: min(340px, 100%); margin-top: 4vh; }

/* ── Preguntas ──────────────────────────── */
.faq-band {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  padding: 56px var(--m);
  background: var(--white); color: var(--black);
}
.faq-band[data-chapter="lilac"] { background: var(--lilac-2); }
.faq-band h3 { grid-column: 1 / 6; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.faq-band p { grid-column: 7 / 13; font-size: 18px; line-height: 1.55; max-width: 60ch; }
.faq-band p a { font-weight: 700; text-underline-offset: 4px; }
.faq-title { min-height: 40vh; min-height: 40svh; align-items: end; padding-bottom: 40px; background: var(--night); color: var(--white); }
.faq-title h2 { grid-column: 1 / -1; font-size: clamp(52px, 8vw, 150px); line-height: .85; }

/* ── Cierre ─────────────────────────────── */
.close {
  min-height: 92vh; min-height: 92svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16vh var(--m) 40px;
  background: var(--black); color: var(--white);
}
.close-title { font-size: clamp(60px, 11vw, 210px); line-height: .86; }
.close-title .line:last-child { color: var(--violet); }
.close-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 10vh; }
.close-foot p { font-size: 21px; max-width: 30ch; }
.close-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px 28px; }

/* ── Pie ────────────────────────────────── */
.foot {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 14vh var(--m) 0;
  background: var(--night); color: var(--white);
}
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.foot-invite { grid-column: 1 / 8; display: grid; gap: 28px; align-content: start; }
.foot-title { font-size: clamp(44px, 5.4vw, 104px); max-width: 11ch; }
.foot-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-social { grid-column: 10 / 13; display: grid; gap: 8px; align-content: start; font-size: var(--fs-body); font-weight: 600; }
.foot-social a, .foot-links a, .foot-legal a, .foot-partners a { text-decoration: none; transition: opacity .2s; }
.foot-social a:hover, .foot-links a:hover, .foot-legal a:hover, .foot-partners a:hover { opacity: .7; }
.foot-partners { margin-top: auto; padding-top: 10vh; max-width: 70ch; font-size: var(--fs-small); }
.foot-partners a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: var(--fs-small); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 13px; }
.foot-legal p:last-child { display: flex; gap: 18px; }
.foot-mark { margin: 2vh calc(var(--m) * -1) 0; line-height: 0; }
.foot-mark svg { display: block; width: 104vw; height: auto; margin: -6vw 0 0 -1vw; fill: var(--violet); transform: translateY(26%); }

/* ── Tablet ─────────────────────────────── */
@media (max-width: 1024px) {
  .bar-links { gap: 18px; }
  .hero-foot { width: min(440px, 52vw); }
  .step-card { width: min(440px, 52vw); }
  .step-card-big { width: min(560px, 64vw); }
  .reach-panel { width: min(460px, 56vw); }
  .tracker { width: 320px; }
  .cravings { padding: 12vh 0; }
  .cravings-track { padding: 0 var(--m); }
  .cravings-row { display: grid; grid-template-columns: repeat(3, 1fr); width: auto; padding: 30px 0 0; gap: 40px 20px; }
  .crave { width: auto; }
}

/* ── Celular ────────────────────────────── */
@media (max-width: 760px) {
  :root { --fs-body: 17px; --bar-h: 58px; }

  .bar { gap: 12px; }
  .bar-logo { width: 72px; }
  .bar-cta { margin-left: auto; min-height: 40px; padding: 2px 16px 0; }
  .bar-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; padding: 0 10px;
    border: 0; background: none; cursor: pointer;
  }
  .bar-toggle span { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease-out); }
  .bar-toggle.is-open span:first-child { transform: translateY(4.75px) rotate(45deg); }
  .bar-toggle.is-open span:last-child { transform: translateY(-4.75px) rotate(-45deg); }
  .bar-links {
    position: fixed; inset: var(--bar-h) 0 0 0;
    flex-direction: column; gap: 4px;
    margin: 0; padding: 32px var(--m);
    background: var(--black); color: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .4s;
  }
  .bar-links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease-out); }
  .bar-links a { display: block; padding: 10px 0; font-size: 40px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
  .bar-links a::after { display: none; }
  .bar-links-app { display: block; margin-top: 16px; }
  .bar-links-app a { color: var(--orchid); }

  .hero { padding: calc(var(--bar-h) + 5vh) var(--m) 4vh; }
  .hero-title { font-size: 10.6vw; }
  .hero-foot { width: auto; gap: 16px; }
  .hero-sub { font-size: 18px; }
  .hero-actions .btn { flex: 1 1 auto; }

  /* Cada tarjeta queda fija abajo mientras dura su capítulo (y se va con un fundido, home.js):
     si viajaba por el medio de la pantalla tapaba la moto. */
  .step, .step-long { align-items: flex-end; padding-top: 0; padding-bottom: 2.5svh; }
  .step-card { position: sticky; bottom: max(12px, 2.5svh); }
  .step-card, .step-card-big { width: 100%; padding: 18px 20px 20px; }
  .step-card h2 { font-size: 30px; }
  .step-card p { margin-top: 10px; font-size: 16px; }
  .step-card-big h2 { font-size: 10.2vw; }
  .step-phone { display: none; }
  .tracker { left: 12px; right: 12px; top: calc(var(--bar-h) + 10px); bottom: auto; width: auto; padding: 12px 14px; transform: translateY(-160%); }
  .tracker-steps { font-size: 13px; gap: 4px; }
  .toast { top: calc(var(--bar-h) + 10px); }
  .story-poster { left: 50%; right: auto; top: 38%; bottom: auto; width: 70vw; transform: translateX(-50%) rotate(-4deg); }

  .cravings-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 4vh; }
  .cravings-head h2 { font-size: 22vw; }
  .cravings-row { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .crave h3 { font-size: 26px; margin-top: 12px; }
  .crave p { font-size: 18px; }
  .crave-doodle { width: 74px; top: -22px; right: -8px; }

  .reach { min-height: 150svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--m) 6svh; }
  .reach-panel { width: auto; padding: 22px; border-radius: var(--r); background: var(--violet-9); }
  .reach-panel h2 { font-size: 12vw; }

  .trade { grid-template-columns: 1fr; padding: 12vh var(--m); }
  .trade-figure, .trade-copy, .trade-doodle { grid-column: 1; grid-row: auto; }
  .trade-num { font-size: 40vw; }
  .trade-doodle { width: 64%; justify-self: end; }

  .faq-band { grid-template-columns: 1fr; gap: 12px; padding: 32px 20px; }
  .faq-band h3, .faq-band p { grid-column: 1; }
  .faq-band h3 { font-size: 20px; }
  .faq-title { min-height: 30svh; }
  .faq-title h2 { font-size: 13.5vw; }

  .close { min-height: 0; padding: 12vh 20px 48px; }
  .close-foot { margin-top: 6vh; }
  .close-title { font-size: 14.6vw; }
  .close-foot { flex-direction: column; align-items: stretch; }
  .close-foot p { font-size: 18px; }
  .close-actions { flex-direction: column; align-items: stretch; text-align: center; }

  .foot { min-height: 0; padding-top: 56px; }
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
  .foot-invite, .foot-social { grid-column: 1; }
  .foot-title { font-size: 12vw; }
  .foot-social { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
  .foot-legal { flex-direction: column; gap: 6px; }
  /* Entero, con los márgenes del texto y aire abajo: cortado contra el borde (a lo ancho o abajo)
     en el celular parecía un error. */
  .foot-mark { margin-top: 32px; padding-bottom: 28px; }
  .foot-mark svg { width: calc(100% - 2 * var(--m)); margin: 0 auto; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
