/* V-Go — landing de comercios (admin.vgo.com.ar/merchants, src/merchants.html).
   Mismo sistema que la home de www.vgo.com.ar (repo vgo, home.css): violetas en sus tonos,
   blanco y negro; League Spartan 900 en mayúsculas para la marca y Archivo sólo en las
   piezas que imitan una pantalla (aviso de pedido, envío, cobro, formulario).
   ───────────────────────────────────────── */

: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 */
  --grey: #4B4B4B;

  --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, figcaption { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, select, input { 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, .join :focus-visible, .ticket :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, .cost-copy h2, .who-head h2, .steps-title, .steps-list h3,
.faq-title, .close-title, .who-types li, .who-proof-title {
  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; /* sin opacity: choca con las entradas de GSAP y el botón quedaba invisible */
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn[disabled] { cursor: progress; opacity: .75; transform: none; }
.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(--violet-9); }
.btn-violet { background: var(--violet); color: var(--white); }
.btn-violet:hover { background: var(--violet-7); }

.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="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="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-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, como en www: con svh queda una franja abajo al esconderse la barra del navegador */
.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; left: 36%; bottom: 8vh; width: min(380px, 30vw); transform: rotate(-4deg); }
.story.no-webgl .story-canvas, .story.no-webgl .story-labels, .story.no-webgl .order-card,
.story.no-webgl .tracker, .story.no-webgl .paid-card { display: none; }
.story.no-webgl .story-poster { display: block; }

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

/* Portada: título arriba a la izquierda, formulario a la derecha, el barrio de fondo. */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; gap: var(--gap);
  padding: calc(var(--bar-h) + 6vh) var(--m) 6vh;
}
.hero-copy { grid-column: 1 / 9; display: grid; gap: 22px; }
.hero-title { font-size: clamp(54px, 8.4vw, 168px); }
.hero-title .line-dark { color: var(--orchid); }
.hero-sub { max-width: 30ch; font-size: var(--fs-lead); line-height: 1.3; font-weight: 500; }

/* Formulario: imita una tarjeta de la app (Archivo). */
.join {
  grid-column: 1 / 5; grid-row: 2; align-self: end;
  display: grid; gap: 12px;
  padding: 24px 24px 22px; border-radius: var(--r);
  background: var(--white); color: var(--black);
  font-family: var(--ui);
}
.join-label { font-size: 15px; font-weight: 700; }
.join-step, .join-more { display: grid; gap: 10px; }
.join-row { display: flex; gap: 8px; }
.join-row .join-input { flex: 1 1 auto; min-width: 0; }
.join-input, .join-prefix {
  min-height: 52px; padding: 0 16px;
  border: 2px solid transparent; border-radius: 14px;
  background: var(--lilac-2); color: var(--black);
  font-family: var(--ui); font-size: 17px; font-weight: 500;
  transition: border-color .2s, background-color .2s;
}
.join-input::placeholder { color: #6E5A78; }
.join-input:hover, .join-prefix:hover { background: var(--lilac); }
.join-input:focus, .join-prefix:focus { outline: none; border-color: var(--violet); background: var(--white); }
.join-input[aria-invalid="true"] { border-color: var(--black); background: var(--white); }
.join-phone { display: flex; gap: 8px; }
.join-phone .join-input { flex: 1 1 auto; min-width: 0; }
.join-prefix {
  flex: none; padding: 0 30px 0 12px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A0A0A' stroke-width='2.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.join-next { flex: none; min-height: 52px; padding: 2px 22px 0; font-size: 16px; }
.join-send { margin-top: 6px; width: 100%; }
.js .join.is-step1 .join-more { display: none; }
.join:not(.is-step1) .join-next, html:not(.js) .join-next { display: none; }
.join-msg { font-size: 15px; font-weight: 700; color: var(--violet-7); }
.join-msg:empty { display: none; }
.join-msg.is-error { color: var(--black); }
.join-note { font-size: 14px; color: var(--grey); }
.join-alt { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; font-weight: 700; }
.join-alt a { text-underline-offset: 3px; transition: color .2s; }
.join-alt a:hover { color: var(--violet-7); }

.step { min-height: 92vh; min-height: 92svh; display: flex; align-items: center; padding: 0 var(--m); }
.step-long { min-height: 160vh; min-height: 160svh; }
.step-end { min-height: 120vh; min-height: 120svh; }
.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-art { width: 78%; margin: 18px 0 -8px auto; transform: rotate(3deg); }
.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 pantallas (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; }
.tag-mine { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; padding: 10px 18px 11px; background: var(--black); color: var(--white); font-size: 16px; }
.tag-mine::after { border-top-color: var(--black); }
.tag-mine::before { background: var(--orchid); }
.tag-home::before { background: var(--black); }

.order-card, .tracker, .paid-card {
  position: absolute;
  background: var(--white); color: var(--black);
  font-family: var(--ui);
  box-shadow: 0 18px 40px rgba(20, 0, 30, .25); /* taste-skill-ignore: son pantallas flotando sobre la escena (data-ui) */
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s;
}
.order-card {
  right: var(--m); top: calc(var(--bar-h) + 24px);
  width: 340px; padding: 18px 20px 20px; border-radius: 22px;
  transform: translateY(-30px) scale(.96);
}
.order-card.is-on { opacity: 1; transform: none; }
.order-head { display: flex; align-items: center; gap: 12px; }
.order-head p { font-size: 17px; }
.order-head p span { color: var(--grey); font-weight: 500; }
.order-bell { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); }
.order-bell::after {
  content: ''; position: absolute; inset: 10px 11px 9px; border-radius: 6px 6px 2px 2px;
  background: var(--white);
}
.order-bell i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--violet); opacity: 0; }
.order-card.is-ringing .order-bell i { animation: ring 1.4s var(--ease-out) infinite; }
.order-card.is-ringing .order-bell i:nth-child(2) { animation-delay: .45s; }
.order-card.is-ringing .order-bell i:nth-child(3) { animation-delay: .9s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.order-items { display: grid; gap: 6px; margin: 14px 0 10px; font-size: 15px; }
.order-items li, .order-total { display: flex; justify-content: space-between; gap: 12px; }
.order-total { padding-top: 10px; border-top: 2px dashed var(--lilac); font-size: 16px; font-weight: 700; }
.order-btn {
  margin-top: 14px; padding: 13px 0 12px; border-radius: 999px;
  background: var(--violet); color: var(--white);
  font-size: 16px; font-weight: 700; text-align: center;
  transition: background-color .3s;
}
.order-card.is-accepted .order-btn { background: var(--black); }

.tracker {
  right: var(--m); bottom: 28px;
  width: 360px; padding: 18px 20px 16px; border-radius: 22px;
  transform: translateY(140%);
}
.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: var(--grey); }
.tracker-steps li.is-done { color: var(--violet-7); font-weight: 700; }

.paid-card {
  right: var(--m); top: calc(var(--bar-h) + 24px);
  width: 320px; padding: 18px 22px 20px; border-radius: 22px;
  transform: translateY(-30px) scale(.96);
}
.paid-card.is-on { opacity: 1; transform: none; }
.paid-meta { font-size: 14px; font-weight: 700; color: var(--grey); }
.paid-num { margin-top: 4px; font-family: var(--brand); font-size: 52px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; color: var(--violet-7); font-variant-numeric: tabular-nums; }
.paid-note { margin-top: 6px; font-size: 14px; }

/* ── Cuánto cuesta ──────────────────────── */
.cost {
  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);
}
.cost-figure { grid-column: 1 / 7; grid-row: 1; line-height: .8; }
.cost-num { display: block; font-size: clamp(140px, 19vw, 360px); font-weight: 900; letter-spacing: -0.05em; color: var(--orchid); }
.cost-unit { display: block; margin-top: .3em; font-size: clamp(26px, 2.6vw, 44px); font-weight: 900; text-transform: uppercase; }
.cost-copy { grid-column: 1 / 7; grid-row: 2; display: grid; gap: 24px; align-content: start; margin-top: 6vh; }
.cost-copy h2 { font-size: var(--fs-h2); }
.cost-lead { max-width: 34ch; font-size: var(--fs-lead); line-height: 1.3; font-weight: 500; }
.cost-list { display: grid; gap: 4px; font-size: var(--fs-body); font-weight: 600; }
.cost-list li { position: relative; padding: 8px 0 8px 30px; }
.cost-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -8px; border-radius: 50%; background: var(--violet); }

/* El ticket de la comandera, con borde dentado abajo. */
.ticket {
  grid-column: 8 / 13; grid-row: 1 / 3; align-self: center;
  --tooth: 14px;
  padding: 30px 30px calc(30px + var(--tooth));
  background: var(--white); color: var(--black);
  font-family: var(--ui); font-size: 17px; font-variant-numeric: tabular-nums;
  transform: rotate(2deg);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%; /* taste-skill-ignore: máscara del borde dentado, no un relleno */
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%; /* taste-skill-ignore */
}
.ticket-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 2px dashed var(--black); font-weight: 700; }
.ticket-head svg { width: 70px; height: auto; fill: var(--violet); }
.ticket-head span { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.ticket-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; }
.ticket-input { padding-top: 20px; font-size: 19px; font-weight: 700; }
.ticket-money { display: inline-flex; align-items: baseline; }
.ticket-money input {
  width: 6.2ch; padding: 0 2px; border: 0; border-bottom: 2px solid var(--violet);
  background: var(--lilac-2); color: var(--black);
  font-family: var(--ui); font-size: 19px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums;
}
.ticket-money input:focus { outline: none; background: var(--lilac); }
.ticket-help { margin-top: -4px; padding-bottom: 8px; font-size: 13px; color: var(--grey); }
.ticket-total { margin-top: 6px; padding-top: 16px; border-top: 2px dashed var(--black); font-size: 22px; font-weight: 700; }
.ticket-total span:last-child { color: var(--violet-7); }
.ticket-foot { margin-top: 16px; font-size: 13px; line-height: 1.45; color: var(--grey); }

/* ── Quién se puede sumar ───────────────── */
.who { padding: 18vh 0 14vh; background: var(--white); color: var(--black); overflow: hidden; }
.who-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: 0 var(--m); align-items: end; }
.who-head h2 { grid-column: 1 / 9; font-size: clamp(52px, 7vw, 132px); color: var(--violet); }
.who-head h2 .line:last-child { color: var(--black); }
.who-lead { grid-column: 9 / 13; font-size: var(--fs-lead); line-height: 1.3; font-weight: 500; }
.who-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); margin-top: 12vh; padding: 0 var(--m); }
.who-types li { display: grid; justify-items: start; gap: 18px; font-size: clamp(22px, 1.9vw, 32px); }
.who-types img { height: clamp(90px, 9vw, 150px); width: auto; transition: transform .5s var(--ease-out); }
.who-types li:hover img { transform: rotate(-6deg) scale(1.06); }
.who-note { max-width: 64ch; margin-top: 8vh; padding: 0 var(--m); font-size: var(--fs-body); }
.who-proof { margin-top: 12vh; }
.who-proof-title { padding: 0 var(--m); font-size: clamp(28px, 2.6vw, 44px); }
.marquee { margin-top: 28px; overflow: hidden; }
.marquee-row { display: flex; gap: 14px; width: max-content; padding: 0 var(--m); }
.js .marquee-row { animation: slide var(--marquee-t, 40s) linear infinite; }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-row li {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 26px 10px 10px; border-radius: 999px;
  background: var(--lilac-2);
  font-size: 22px; font-weight: 800; white-space: nowrap;
}
.marquee-row img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--white); }

/* ── El alta ────────────────────────────── */
.steps { padding: 16vh var(--m) 14vh; background: var(--lilac-2); color: var(--black); }
.steps-title { font-size: clamp(56px, 8vw, 150px); color: var(--violet); }
.steps-title span { display: block; }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 10vh; }
.steps-list li { display: grid; gap: 14px; align-content: start; }
.steps-num { font-size: clamp(110px, 11vw, 200px); font-weight: 900; line-height: .8; letter-spacing: -0.05em; color: var(--violet); }
.steps-list h3 { font-size: clamp(30px, 2.6vw, 46px); }
.steps-list p { max-width: 34ch; font-size: var(--fs-body); }
.steps-need { margin-top: 10vh; max-width: 60ch; font-size: var(--fs-lead); font-weight: 600; line-height: 1.3; }

/* ── Preguntas ──────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: 16vh var(--m); background: var(--white); color: var(--black); }
.faq-title { grid-column: 1 / 5; font-size: clamp(48px, 4.8vw, 96px); color: var(--violet); position: sticky; top: calc(var(--bar-h) + 24px); align-self: start; }
.faq-list { grid-column: 5 / 13; }
.faq details { border-bottom: 2px solid var(--lilac); }
.faq summary {
  position: relative; display: block; padding: 24px 56px 24px 0;
  font-size: clamp(21px, 1.7vw, 27px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 22px; height: 3px; margin-top: -1.5px;
  border-radius: 2px; background: var(--violet);
  transition: transform .35s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--violet-7); }
.faq details p { max-width: 62ch; padding: 0 0 26px; font-size: 18px; line-height: 1.55; }
.faq-more { grid-column: 5 / 13; margin-top: 36px; font-size: var(--fs-body); }
.faq-more a { font-weight: 700; text-underline-offset: 4px; }

/* ── Cierre ─────────────────────────────── */
.close {
  min-height: 92vh; min-height: 92svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16vh var(--m) 48px;
  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; padding: 7vh var(--m) 0; background: var(--night); color: var(--white); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 18px; font-weight: 600; }
.foot-links a { text-decoration: none; transition: opacity .2s; }
.foot-links a:hover { opacity: .7; }
.foot-legal { margin-top: 18px; font-size: 13px; }
.foot-mark { margin-top: 5vh; padding-bottom: var(--m); line-height: 0; }
/* Entero y en blanco; más chico que el ancho de la página para que el pie no ocupe una pantalla. */
.foot-mark svg { display: block; width: min(420px, 40%); height: auto; fill: var(--white); }

/* ── Tablet ─────────────────────────────── */
@media (max-width: 1024px) {
  .bar-links { gap: 18px; }
  .hero-copy { grid-column: 1 / -1; }
  .join { grid-column: 1 / 8; }
  .step-card { width: min(440px, 52vw); }
  .step-card-big { width: min(560px, 64vw); }
  .tracker, .order-card, .paid-card { width: 320px; }
  .ticket { grid-column: 1 / -1; grid-row: auto; max-width: 520px; margin-top: 6vh; }
  .cost-copy { grid-column: 1 / -1; }
  .who-head h2, .who-lead { grid-column: 1 / -1; }
  .who-types { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .faq-title, .faq-list, .faq-more { grid-column: 1 / -1; position: static; }
}

/* ── 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; }

  .hero { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: calc(var(--bar-h) + 4vh) var(--m) 3vh; }
  .hero-copy { gap: 12px; }
  .hero-title { font-size: 10.6vw; }
  .hero-sub { font-size: 17px; max-width: 34ch; }
  .join { padding: 18px 16px 16px; gap: 10px; border-radius: 22px; }
  .join-note { font-size: 13px; }
  .join-alt { font-size: 13px; }

  /* Cada tarjeta queda fija abajo mientras dura su capítulo (y se va con un fundido, merchants.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: 12vw; }
  .step-art { 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; }
  .order-card, .paid-card { left: 12px; right: 12px; top: calc(var(--bar-h) + 10px); width: auto; padding: 14px 16px 16px; }
  .order-items { margin: 10px 0 8px; font-size: 14px; }
  .order-btn { margin-top: 10px; padding: 10px 0 9px; font-size: 15px; }
  .paid-num { font-size: 40px; }
  .tag3d { font-size: 13px; padding: 7px 12px 8px; }
  .tag-mine { font-size: 15px; }
  .story-poster { left: 50%; right: auto; top: 30%; bottom: auto; width: 60vw; transform: translateX(-50%) rotate(-4deg); }

  .cost { grid-template-columns: 1fr; padding: 12vh var(--m); }
  .cost-figure, .cost-copy, .ticket { grid-column: 1; grid-row: auto; }
  .cost-num { font-size: 40vw; }
  .cost-copy { margin-top: 4vh; }
  .ticket { padding: 24px 20px calc(24px + var(--tooth)); transform: rotate(1deg); }

  .who { padding: 12vh 0 10vh; }
  .who-head h2 { font-size: 10vw; }
  .who-types { grid-template-columns: 1fr 1fr; gap: 36px 16px; margin-top: 7vh; }
  .who-types li { font-size: 21px; gap: 12px; }
  .who-types img { height: 84px; }
  .marquee-row li { font-size: 18px; padding: 8px 20px 8px 8px; }
  .marquee-row img { width: 48px; height: 48px; }

  .steps { padding: 12vh var(--m) 10vh; }
  .steps-title { font-size: 14vw; }
  .steps-list { grid-template-columns: 1fr; gap: 44px; margin-top: 6vh; }
  .steps-num { font-size: 96px; }
  .steps-list h3 { font-size: 30px; }
  .steps-need { font-size: 19px; }

  .faq { padding: 12vh var(--m); }
  .faq-title { font-size: 16vw; }
  .faq summary { padding: 20px 44px 20px 0; font-size: 20px; }
  .faq details p { font-size: 17px; }

  .close { min-height: 0; padding: 12vh 20px 48px; }
  .close-foot { margin-top: 6vh; }
  .close-title { font-size: 17vw; }
  .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 { padding-top: 48px; }
  .foot-links { font-size: 16px; }
  .foot-mark { margin-top: 28px; padding-bottom: 24px; }
  .foot-mark svg { width: 46%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .marquee-row { animation: none; }
  .marquee { overflow-x: auto; }
}
