/* Calderilla · web de scroll (prototipo) */

:root {
  --fondo: #0c0e16; /* igual al tono que se ve con el grano: Safari pinta con él la barra de la hora y la de abajo */
  --fondo-2: #0a0f1c;
  --texto: #f2f4f8;
  --suave: #a9b1c1; /* 7:1 sobre el fondo */
  --linea: rgba(255, 255, 255, 0.09);
  --azul: #3b7bf2;
  --azul-claro: #62a0ff;
  --oro: #e2bd63;
  --cobre: #c8784c;
  --radio: 28px;
  --fuente: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--fondo); color-scheme: dark; overflow-x: clip; }
/* Las capas fijas sobresalen 12vh arriba y abajo: así cubren la barra de estado y la de Safari */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  color: var(--texto);
  font: 17px/1.5 var(--fuente);
  -webkit-font-smoothing: antialiased;
  background: var(--fondo);
  overflow-x: clip;
}
body.cargando { overflow: hidden; }

a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(40px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; }
.eyebrow { font: 600 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--azul-claro); margin-bottom: 22px; }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--azul-claro); outline-offset: 4px; border-radius: 8px; }

/* ── Capas fijas ─────────────────────────────── */

.monedas { position: fixed; left: 0; top: -12vh; width: 100vw; height: 124vh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
.monedas.lista { opacity: 1; }
html.sobre-moneda body { cursor: pointer; }

/* Fondo con profundidad: manchas de luz muy desenfocadas que se mueven con el ratón y el scroll */
.aurora { position: fixed; inset: -12vh 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aurora__a { width: 70vmax; height: 55vmax; left: 35%; top: -30%; background: radial-gradient(closest-side, rgba(59, 123, 242, 0.55), transparent); }
.aurora__b { width: 55vmax; height: 55vmax; left: -25%; top: 30%; background: radial-gradient(closest-side, rgba(98, 160, 255, 0.22), transparent); }
.aurora__c { width: 60vmax; height: 45vmax; right: -20%; bottom: -35%; background: radial-gradient(closest-side, rgba(226, 189, 99, 0.28), transparent); opacity: 0.35; }

.vineta { position: fixed; inset: -12vh 0; z-index: 0; pointer-events: none; background: radial-gradient(130% 100% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.55)); }
.foco {
  position: fixed; left: 0; top: 0; width: 1040px; height: 1040px; margin: -520px 0 0 -520px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(98, 160, 255, 0.10), transparent);
  transform: translate3d(-200vw, -200vh, 0); will-change: transform;
}
main, .pie { position: relative; z-index: 1; }

.grano { position: fixed; inset: -12vh 0; z-index: 50; pointer-events: none; overflow: hidden; }
.grano::before {
  content: ""; position: absolute; inset: -60px; opacity: 0.07; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grano 0.6s steps(4) infinite;
}
@keyframes grano { 0% { transform: translate3d(0, 0, 0); } 25% { transform: translate3d(-40px, 30px, 0); } 50% { transform: translate3d(30px, -50px, 0); } 75% { transform: translate3d(-20px, -10px, 0); } }

.progreso { position: fixed; left: 22px; top: 50%; translate: 0 -50%; width: 1px; height: 28vh; background: var(--linea); z-index: 40; }
.progreso span { display: block; width: 100%; height: 100%; background: var(--texto); transform-origin: top; transform: scaleY(0); }

/* ── Entrada: un cuadrado diminuto en el centro crece y deja ver la web ── */

.entrada {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: #eef1f6;
  /* El agujero (la ventana a la web) lo dibuja scroll.js con un polígono evenodd */
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, calc(50% - 7px) calc(50% - 7px), calc(50% + 7px) calc(50% - 7px), calc(50% + 7px) calc(50% + 7px), calc(50% - 7px) calc(50% + 7px), calc(50% - 7px) calc(50% - 7px));
}

/* ── Navegación ──────────────────────────────── */

.nav {
  position: fixed; top: calc(16px + env(safe-area-inset-top)); left: 50%; translate: -50% 0; z-index: 60;
  display: flex; align-items: center; gap: 28px; padding: 8px 8px 8px 16px;
  border-radius: 999px; border: 1px solid var(--linea);
  background: rgba(10, 14, 24, 0.62); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  font-size: 14px;
}
.nav a { text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.nav__marca { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.nav__enlaces { display: flex; gap: 22px; color: var(--suave); }
.nav__enlaces a:hover { color: var(--texto); }
.nav__boton { padding: 0 16px; border-radius: 999px; background: var(--texto); color: var(--fondo); font-weight: 600; }

.icono {
  width: 26px; height: 26px; border-radius: 7px; display: grid; align-content: center; gap: 3px; padding: 0 6px;
  background: linear-gradient(#62a0ff, #3b7bf2);
}
.icono i { display: block; height: 4px; border-radius: 4px; background: #fff; }
.icono i + i { background: #cfe1fb; }

/* ── Botones ─────────────────────────────────── */

.boton {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: transform 0.4s var(--ease), background 0.3s;
}
.boton svg { width: 18px; height: 18px; fill: currentColor; }
.boton:hover { transform: translateY(-2px); }
.boton:active, .nav__boton:active, .pausa:active { transform: translateY(1px) scale(0.96); transition-duration: 0.08s; }
.nav__boton, .pausa { transition: transform 0.4s var(--ease); }
.pausa__seguir { translate: 1.5px 0; } /* centro óptico del triángulo */
.boton--claro { background: var(--texto); color: var(--fondo); }
.boton--hueco { border: 1px solid var(--linea); background: rgba(22, 26, 38, 0.7); }

/* ── 1 · Portada ─────────────────────────────── */

.portada {
  min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center;
  padding: 120px 24px 80px; position: relative;
}
.portada__contenido { display: grid; justify-items: center; gap: 28px; }
.portada__definicion { font: 400 14px var(--mono); color: var(--suave); }
.portada__definicion em { font-style: normal; color: var(--texto); }
.portada__titulo {
  font-size: clamp(54px, 10.5vw, 176px); line-height: 0.9; letter-spacing: -0.055em; font-weight: 750;
  text-shadow: 0 10px 60px rgba(5, 7, 13, 0.6);
}
.portada__sub { font-size: clamp(18px, 1.8vw, 22px); color: var(--suave); max-width: 30ch; }
.portada__acciones { display: grid; justify-items: center; gap: 4px; }
.insignia-app-store { display: inline-flex; padding: 8px; align-items: center; justify-content: center; border-radius: 6px; }
.insignia-app-store img { display: block; width: auto; height: 40px; }
.disponibilidad-ue { color: var(--suave); font-size: 14px; }
.portada__baja { position: absolute; bottom: 28px; display: grid; justify-items: center; gap: 10px; font: 500 11px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--suave); }
.portada__baja i { width: 1px; height: 48px; background: linear-gradient(var(--texto), transparent); animation: baja 2s var(--ease) infinite; transform-origin: top; }
@keyframes baja { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Letras partidas para la entrada */
.letra-mascara { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.12em 0.02em 0.08em; margin: -0.12em -0.02em -0.08em; }
.letra { display: inline-block; will-change: transform; }

/* ── 2 · Manifiesto ──────────────────────────── */

.manifiesto { min-height: 160vh; padding: 30vh 8vw; }
.manifiesto__texto {
  position: sticky; top: 22vh;
  font-size: clamp(30px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 650; max-width: 20ch;
}
.palabra { display: inline-block; opacity: 0.12; filter: blur(6px); }
.palabra--acento { color: var(--azul-claro); }

/* ── 3 · Historia con el móvil ───────────────── */

.historia { height: 340vh; position: relative; }
.historia__fijo {
  position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 0 8vw; gap: 4vw;
}
.historia__textos { position: relative; height: 320px; }
.paso { position: absolute; inset: 0; opacity: 0; }
.paso[data-n="0"] { opacity: 1; } /* el resto lo mueve el scroll (scroll.js) */
.paso h2 { margin: 0 0 20px; }
.paso p { color: var(--suave); font-size: 20px; max-width: 30ch; }
.historia__puntos { position: absolute; bottom: 0; display: flex; gap: 8px; }
.historia__puntos i { width: 24px; height: 3px; border-radius: 3px; background: var(--linea); transition: background 0.4s, width 0.4s var(--ease); }
.historia[data-paso="0"] .historia__puntos i:nth-child(1),
.historia[data-paso="1"] .historia__puntos i:nth-child(2),
.historia[data-paso="2"] .historia__puntos i:nth-child(3) { background: var(--texto); width: 48px; }

.movil-escena { perspective: 1400px; display: grid; place-items: center; }
.movil {
  --ancho: min(340px, 30vw, 35vh);
  position: relative; width: var(--ancho); aspect-ratio: 1350 / 2760;
  filter: drop-shadow(0 60px 55px rgba(0, 0, 0, 0.75));
  transform-style: preserve-3d; will-change: transform;
  font-size: calc(var(--ancho) * 1206 / 1350 / 21.25); /* 16px con la pantalla a 340px de ancho */
}
.movil__pantalla {
  position: absolute; left: 5.333333%; top: 2.5%; width: 89.333333%; height: 95%;
  border-radius: 8% / 3.7%; overflow: hidden; background: #000;
  isolation: isolate;
}
.movil__marco { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.movil__marco img { display: block; width: 100%; height: 100%; }
.movil__pantalla {
  container-type: inline-size; /* las capas vivas se miden en cqw: % del ancho de la pantalla */
  background: #17171a url("data:image/webp;base64,UklGRgYBAABXRUJQVlA4IPoAAACQBgCdASoYADUAPulapk2pJKOiM/maqSAdCWlh8bA/DlAAKk2cHA7hpLAeAIpAOGdzhgiy8GW4uIxfLJIUAP7vxUH1fDOGcyDpHdVF/OBt6mLfAYVaZxCAufJ5y2+tAcg6ZdHlgfGXJL7Kx+zcAmbVm8h68krmp0vdm24kQuMGaos7DFYiCLeRfr/3Sl7CJubBwrqeNC6LKQDl7LD62CSeo/iqjI3NgeeqwppZgBU/+B7e4gOXnhmivB6j0WgHKeY2XcrHewnE75EshzDFVSBibiJj6kEK6mJPjsQPT2Lbe4geTsnIA2blpGhLm8lVQ+6x2bZAdN3AAAAA") top / 100% auto no-repeat; /* vista previa difuminada */
}
.movil picture { display: contents; }
.movil picture.movil__marco { display: block; }
.movil__zoom { opacity: 0; transition: opacity 0.6s var(--ease); }
.movil.cargado .movil__zoom { opacity: 1; }
.movil__zoom { position: absolute; inset: 0; transform-origin: 50% 12%; will-change: transform; }
.captura {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; will-change: opacity, transform;
}
.captura[data-c="cafe"] { opacity: 1; }
/* Sin JavaScript: la pantalla tras apuntar */
.sin-js .captura { opacity: 0; } .sin-js .captura[data-c="apuntado"] { opacity: 1; }

/* Capas vivas: tapan el trozo de la captura que cambia y lo dibujan con la tipografía del iPhone.
   Medidas sacadas de las capturas (1206 × 2622 px): todo en % de la pantalla o en cqw. */
.vivo { position: absolute; z-index: 1; opacity: 0; pointer-events: none; font-family: -apple-system, "SF Pro Display", "SF Pro", "Helvetica Neue", Arial, sans-serif; line-height: 1; white-space: nowrap; }
.vivo--importe {
  left: 27%; width: 47%; top: 57.87cqw; height: 9.6%; background: #17171a; /* línea base en y = 902 px */
  display: flex; justify-content: center; align-items: baseline;
  font-size: 19.3cqw; font-weight: 300; color: #fff; letter-spacing: -0.01em; font-variant-numeric: proportional-nums;
}
.vivo__euro { font-size: 0.4855em; color: #96969d; margin-left: 0.37em; font-weight: 400; }
.vivo--boton {
  left: 28%; width: 44%; top: 81.6%; height: 3.8%; background: #454548; color: #78787b;
  display: flex; justify-content: center; align-items: center; font-size: 4.48cqw; font-weight: 600;
}
.vivo--disponible { inset: 0; opacity: 0; }
/* Solo los dos dígitos que cambian (3 → 1 y 6 → 8), cada uno en su celda exacta de la captura */
.vivo--disponible .celda {
  position: absolute; top: 33.33cqw; height: 7cqw; padding-top: 0.66cqw; background: #242428; overflow: hidden;
  color: #fff; font-size: 5.3cqw; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center;
}
.vivo--disponible .rueda { display: block; height: 1em; overflow: hidden; transform: scaleX(0.77); /* los dígitos de la app son más estrechos (25 px frente a 33) */ }
.vivo--disponible .rueda > span { display: flex; flex-direction: column; will-change: transform; }
.vivo--disponible .rueda > span > i { font-style: normal; height: 1em; line-height: 1em; }

/* Calendario: una tira que se desplaza de verdad, con las barras fijas encima */
.captura--tira { overflow: hidden; }
.tira { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; }
.cromo { position: absolute; left: 0; width: 100%; height: auto; }
.cromo--estado { top: 0; }
.cromo--pestanas { bottom: 0; clip-path: inset(7.4% 5.1% 21.5% 5.3% round 999px); }

/* El dedo: viaja en curva de tecla en tecla y pulsa donde se tocó la pantalla de verdad */
.toque {
  position: absolute; left: 50%; top: 96%; width: 12%; aspect-ratio: 1; border-radius: 50%; z-index: 3;
  translate: -50% -50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2) 60%, transparent 71%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 6px 18px rgba(0, 0, 0, 0.35);
}
.toque__onda { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.8); opacity: 0; }

/* Foco: oscurece la pantalla salvo dos huecos (lo que cambia y lo que se toca) */
.foco-movil {
  --ax: 50%; --ay: 31%; --arx: 8; --ary: 3.2; --bx: 50%; --by: 96%; --br: 0;
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-mask-image:
    radial-gradient(ellipse calc(var(--arx) * 1em) calc(var(--ary) * 1em) at var(--ax) var(--ay), transparent 70%, #000 100%),
    radial-gradient(circle calc(var(--br) * 1em + 1px) at var(--bx) var(--by), transparent 70%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse calc(var(--arx) * 1em) calc(var(--ary) * 1em) at var(--ax) var(--ay), transparent 70%, #000 100%),
    radial-gradient(circle calc(var(--br) * 1em + 1px) at var(--bx) var(--by), transparent 70%, #000 100%);
  mask-composite: intersect;
}
/* −1,80 € que sale de «Disponible este mes» */
.restado {
  position: absolute; right: 7%; top: 9.5%; z-index: 3; opacity: 0; pointer-events: none;
  padding: 0.25em 0.6em; border-radius: 999px; font-weight: 700; font-size: 0.95em;
  color: #fff; background: #ff453a; box-shadow: 0 6px 16px rgba(255, 69, 58, 0.45);
  font-variant-numeric: tabular-nums;
}
/* Marco que señala «Disponible este mes» */
.resalte {
  position: absolute; left: 3.6%; top: 13.6%; width: 92.8%; height: 9.8%; border-radius: 1.4em; z-index: 3;
  box-shadow: 0 0 0 2px var(--azul-claro), 0 0 30px rgba(98, 160, 255, 0.45); opacity: 0; pointer-events: none;
}

/* Cifra con rodillos */
.rodillo { display: inline-flex; overflow: hidden; height: 1.15em; vertical-align: top; }
.rodillo__col { display: flex; flex-direction: column; transition: transform 1s var(--ease); }
.rodillo__col span, .rodillo__fijo { height: 1.15em; line-height: 1.15em; }

/* ── 4 · Pagos en horizontal ─────────────────── */

.pagos { position: relative; }
.pagos__fijo { height: 100vh; overflow: hidden; display: flex; align-items: center; }
.pagos__pista { display: flex; gap: 24px; padding: 0 8vw; align-items: stretch; will-change: transform; }
.pagos__intro { flex: none; width: min(560px, 80vw); padding-right: 6vw; align-self: center; }
.pagos__intro h2 { font-size: clamp(36px, 4.6vw, 68px); margin-bottom: 24px; }
.pagos__intro p:last-child { color: var(--suave); font-size: 19px; max-width: 34ch; }
.pago {
  flex: none; width: clamp(240px, 22vw, 320px); aspect-ratio: 3 / 4; border-radius: var(--radio); padding: 28px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--linea);
}
.pago::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -20%; border-radius: 50%; background: var(--c); filter: blur(60px); opacity: 0.35; }
.pago__dia { font-variant-numeric: tabular-nums; font-size: 88px; font-weight: 700; letter-spacing: -0.06em; line-height: 0.9; position: relative; }
.pago__dia small { font: 500 14px var(--mono); letter-spacing: 0.1em; margin-left: 8px; text-transform: uppercase; color: var(--suave); }
.pago h3 { margin-top: auto; font-size: 26px; letter-spacing: -0.02em; }
.pago p { font-size: 22px; color: var(--texto); font-variant-numeric: tabular-nums; margin: 4px 0 14px; }
.pago__aviso { font: 500 12px var(--mono); color: var(--suave); text-transform: uppercase; letter-spacing: 0.08em; }
.pago--total { background: linear-gradient(170deg, var(--azul-claro), var(--azul)); background: linear-gradient(170deg in oklch, var(--azul-claro), var(--azul)); border-color: transparent; }
.pago--total::before { display: none; }
.pago--total .pago__aviso, .pago--total .pago__dia small { color: rgba(255, 255, 255, 0.8); }

/* ── 5 · Propinas ────────────────────────────── */

.propinas { height: 320vh; position: relative; }
.propinas__fijo { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: 0 8vw; }
.propinas__texto { max-width: 470px; }
.propinas__texto > p:not(.eyebrow) { color: var(--suave); font-size: 19px; margin: 26px 0 34px; }
.hucha { display: inline-grid; gap: 4px; padding: 18px 24px; border-radius: 22px; border: 1px solid var(--linea); background: rgba(22, 26, 38, 0.78); }
.hucha__etiqueta { font: 500 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--suave); }
.hucha__cifra { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--oro); }
.propinas__etiquetas { position: absolute; inset: 0; pointer-events: none; }
.etiqueta-moneda {
  position: absolute; left: 0; top: 0; translate: -50% -50%; white-space: nowrap;
  display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 10px; border-radius: 999px;
  font: 650 13px/1.2 var(--fuente); letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  color: var(--texto); background: rgba(10, 14, 24, 0.86); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.etiqueta-moneda b { font-weight: 600; font-size: 0.85em; color: var(--oro); }

/* ── 6 · Funciones ───────────────────────────── */

.funciones { padding: 22vh 8vw 18vh; background: linear-gradient(transparent, var(--fondo) 18%); }
.funciones h2 { max-width: 14ch; margin-bottom: 64px; }
.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tarjeta {
  position: relative; padding: 30px; border-radius: var(--radio); min-height: 260px; display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--linea);
}
.tarjeta__icono { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(98, 160, 255, 0.12); color: var(--azul-claro); }
.tarjeta__icono svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tarjeta h3 { margin-top: auto; font-size: 24px; letter-spacing: -0.02em; padding-top: 40px; }
.tarjeta p { color: var(--suave); margin-top: 8px; }

/* ── 7 · Privacidad ──────────────────────────── */

.privacidad { padding: 12vh 0 22vh; overflow: hidden; }
.cinta { display: grid; gap: 4px; rotate: -3deg; margin: 0 -5vw; }
.cinta__fila { display: flex; width: max-content; will-change: transform; }
.cinta__fila span {
  font-size: clamp(48px, 8vw, 128px); font-weight: 750; letter-spacing: -0.05em; white-space: nowrap; padding-right: 0.5em;
}
.cinta__fila span::after { content: "✦"; font-size: 0.4em; vertical-align: middle; margin-left: 0.5em; color: var(--azul-claro); }
.cinta__fila--inversa span { color: transparent; -webkit-text-stroke: 1.5px rgba(242, 244, 248, 0.35); }
.privacidad__bloque { display: grid; justify-items: center; gap: 36px; margin: 14vh auto 0; padding: 0 24px; max-width: 980px; text-align: center; }
.privacidad__lema {
  font-size: clamp(28px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 650; max-width: 24ch;
  background: linear-gradient(100deg, var(--azul-claro), #cfe1fb 70%);
  background: linear-gradient(100deg in oklch, var(--azul-claro), #cfe1fb 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.privacidad__lema span { color: var(--texto); -webkit-text-fill-color: var(--texto); }
.garantias { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.garantias li {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px;
  border: 1px solid var(--linea); background: rgba(22, 26, 38, 0.7); font-weight: 600; font-size: 16px;
}
.garantias__icono { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(98, 160, 255, 0.14); color: var(--azul-claro); }
.garantias__icono svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.boton .flecha { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.boton:hover .flecha { transform: translateX(3px); }

/* ── 8 · Cierre ──────────────────────────────── */

.cierre { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 10vh 24px; gap: 18px; }
.cierre__marca {
  font-size: clamp(72px, 17vw, 300px); line-height: 0.85; letter-spacing: -0.065em;
  background: linear-gradient(180deg, #fff 30%, rgba(98, 160, 255, 0.55));
  background: linear-gradient(180deg in oklch, #fff 30%, oklch(0.72 0.14 255 / 0.6)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cierre__sub { font-size: 20px; color: var(--suave); max-width: 43ch; margin-bottom: 10px; }
.cierre .disponibilidad-ue { margin-top: -12px; }
.pie { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px 8vw 40px; border-top: 1px solid var(--linea); color: var(--suave); font-size: 14px; }
.pie a { color: var(--suave); display: inline-flex; align-items: center; min-height: 44px; }
.pie a:hover { color: var(--texto); }

/* Saltar al contenido: visible solo con el teclado */
/* Oculto del todo (también bajo la barra de la hora del iPhone) hasta que se llega con el teclado */
.saltar {
  position: fixed; top: calc(12px + env(safe-area-inset-top)); left: 12px; z-index: 200; padding: 12px 18px; border-radius: 999px;
  background: var(--texto); color: var(--fondo); font-weight: 600; text-decoration: none;
  opacity: 0; pointer-events: none; clip-path: inset(50%); transform: translateY(-200%);
}
.saltar:focus-visible { opacity: 1; pointer-events: auto; clip-path: none; transform: none; }

/* Pausa del movimiento (monedas, polvo, cinta, grano) */
.pausa {
  position: fixed; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--texto);
  border: 1px solid var(--linea); background: rgba(10, 14, 24, 0.82);
}
.pausa svg { width: 18px; height: 18px; fill: currentColor; }
.pausa__seguir, .en-pausa .pausa__pausar { display: none; }
.en-pausa .pausa__seguir { display: block; }
.en-pausa .grano::before { animation-play-state: paused; }

/* ── Móvil ───────────────────────────────────── */

@media (max-width: 820px) {
  .palabra { filter: none; }
  /* En vertical la viñeta solo oscurece los lados: arriba y abajo no deja franjas */
  .vineta { background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.35)); }
  .nav { gap: 12px; padding-left: 12px; }
  .nav__enlaces { display: none; }
  .progreso { display: none; }
  .historia__fijo { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 110px 24px 24px; gap: 16px; align-items: start; }
  .historia__textos { height: 170px; }
  .paso h2 { font-size: 40px; margin: 0 0 10px; }
  .paso p { font-size: 16px; }
  .historia__puntos { display: none; }
  .movil { --ancho: min(270px, 62vw, 27vh); }
  .pago { width: 72vw; }
  .pago__dia { font-size: 48px; }
  .propinas { height: 190vh; }
  .propinas__fijo { align-items: flex-start; padding: 100px 24px 0; }
  .garantias li { font-size: 15px; }
  .etiqueta-moneda { font-size: 11px; padding: 3px 8px; gap: 3px; }
  .propinas__texto > p:not(.eyebrow) { font-size: 16px; margin: 16px 0 20px; }
  .hucha__cifra { font-size: 34px; }
  .rejilla { grid-template-columns: 1fr; }
  .tarjeta { min-height: 0; }
  .manifiesto { padding: 24vh 24px; }
}

/* Sin animaciones si el sistema lo pide */
@media (prefers-reduced-motion: reduce) {
  .grano::before, .portada__baja i { animation: none; }
  .foco, .pausa { display: none; }
  .palabra { opacity: 1; filter: none; }
}
