@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 900;          /* rango variable */
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
                 U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  /* Marca */
  --yellow: #ffc914;
  --sky:    #33bbff;
  --navy:   #394792;
  --orange: #e56138;
  --green:  #93d792;
  --pink:   #f8c0c8;

  /* Superficies */
  --paper:      #fffdf6;
  --paper-2:    #fff8e4;
  --ink:        #1c2360;
  --ink-soft:   #5a6199;
  --white:      #fff;

  /* Ritmo */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --gap:  clamp(14px, 1.6vw, 24px);
  --pad:  clamp(18px, 4vw, 48px);
  --maxw: 1320px;
  /* Alto de las curvas divisorias. La sección que va debajo reserva
     exactamente este espacio como margen: si no, la curva se monta
     sobre el contenido anterior y lo tapa. */
  --curve-h: clamp(60px, 9vw, 150px);

  /* Curvas (fuertes, las nativas son débiles) */
  --ease-out:    cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-soft:   cubic-bezier(.4, 0, .2, 1);

  /* Sombras */
  --sh-1: 0 2px 8px rgb(28 35 96 / .06);
  --sh-2: 0 12px 32px -12px rgb(28 35 96 / .22);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 50%; top: 8px;
  translate: -50% -200%;
  z-index: 999;
  padding: 10px 18px; border-radius: 999px;
  background: var(--navy); color: var(--white); font-weight: 700;
  transition: translate 200ms var(--ease-out);
}
.skip:focus-visible { translate: -50% 0; }

/* ── Tipografía base ──────────────────────────────────────── */
.h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--sky), var(--navy) 60%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(.7rem, 1.4vw, .8rem);
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); opacity: .85;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgb(229 97 56 / .55);
  animation: pulse 2.6s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgb(229 97 56 / .5); }
  35%           { box-shadow: 0 0 0 9px rgb(229 97 56 / 0); }
}

/* ── Botones ──────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .86rem; letter-spacing: -.01em;
  white-space: nowrap;
  box-shadow: var(--sh-2);
  /* El transform se compone: imán (JS) + press (CSS). */
  transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0) scale(var(--press, 1));
  transition: transform 260ms var(--ease-out), box-shadow 200ms var(--ease-out);
  will-change: transform;
}
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--sky), var(--navy));
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: 0 18px 36px -14px rgb(28 35 96 / .45); }
  .btn:hover::before { opacity: 1; }
}
.btn:active { --press: .97; transition-duration: 110ms; }

/* ── NAV ──────────────────────────────────────────────────── */
/* Barra de progreso de lectura */
.progress {
  position: fixed; inset: 0 0 auto; z-index: 110;
  height: 3px; background: transparent; pointer-events: none;
}
.progress__bar {
  display: block; height: 100%; width: 100%;
  transform: scaleX(var(--p, 0)); transform-origin: left;
  background: linear-gradient(90deg, var(--sky), var(--yellow) 55%, var(--orange));
  will-change: transform;
}

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: clamp(6px, 1vw, 11px) var(--pad);
  transition: padding 320ms var(--ease-out);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(10px, 2.4vw, 26px);
  padding: 5px 5px 5px 13px;
  border-radius: 999px;
  background: rgb(255 253 246 / 0);
  -webkit-backdrop-filter: blur(0px);   /* Safari < 18 aún lo requiere */
  backdrop-filter: blur(0px);
  box-shadow: 0 0 0 0 rgb(28 35 96 / 0);
  transition: background 340ms var(--ease-out), box-shadow 340ms var(--ease-out),
              backdrop-filter 340ms var(--ease-out);
}
.nav.is-stuck { padding-top: 6px; padding-bottom: 6px; }
.nav.is-stuck .nav__inner {
  background: rgb(255 253 246 / .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px -18px rgb(28 35 96 / .5), inset 0 0 0 1px rgb(28 35 96 / .06);
}

.nav__brand img { width: clamp(30px, 2.9vw, 37px); }
.nav__brand { transition: transform 260ms var(--ease-out); transform-origin: left center; }
.nav__brand:active { transform: scale(.95); }

.nav__links { display: flex; gap: clamp(6px, 1.4vw, 14px); margin-inline-start: auto; }
.nav__links a {
  position: relative;
  padding: 7px 13px; border-radius: 999px;
  font-weight: 600; font-size: .86rem; color: var(--ink);
  transition: color 200ms var(--ease-soft);
}
.nav__links a::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; background: var(--navy);
  transform: scale(.85); opacity: 0;
  transition: transform 240ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav__links a span { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--white); }
  .nav__links a:hover::before { transform: scale(1); opacity: 1; }
}

.nav__burger {
  display: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy);
  position: relative;
  transition: transform 200ms var(--ease-out);
}
.nav__burger span {
  position: absolute; left: 50%; width: 16px; height: 2px; border-radius: 2px;
  background: var(--white); translate: -50% 0;
  transition: top 220ms var(--ease-out), rotate 260ms var(--ease-out), opacity 160ms;
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 19px; rotate: 45deg; }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 19px; rotate: -45deg; }
.nav__burger:active { transform: scale(.94); }

.nav__sheet {
  max-width: var(--maxw); margin: 8px auto 0;
  display: grid; gap: 2px;
  padding: 10px;
  border-radius: var(--r-lg);
  background: rgb(255 253 246 / .95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-2), inset 0 0 0 1px rgb(28 35 96 / .07);
  overflow: hidden;
}
.nav__sheet[hidden] { display: none; }
.nav__sheet a {
  padding: 14px 16px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 1.05rem;
  opacity: 0; translate: 0 -8px;
  animation: sheetIn 320ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 45ms);
  transition: background 180ms var(--ease-soft);
}
.nav__sheet a:active { background: rgb(51 187 255 / .18); }
@keyframes sheetIn { to { opacity: 1; translate: 0 0; } }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: clamp(64px, 8vw, 84px) var(--pad) clamp(20px, 4vw, 40px);
}
.hero__panel {
  position: relative;
  max-width: var(--maxw); margin-inline: auto;
  min-height: min(76vh, 730px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(32px, 5vw, 80px);
  border-radius: var(--r-xl);
  background: var(--yellow);
  overflow: clip;
  isolation: isolate;
}
/* Spotlight que sigue al puntero */
.hero__panel::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%),
              rgb(255 255 255 / .5), transparent 62%);
  opacity: 0;
  transition: opacity 500ms var(--ease-soft);
}
.hero__panel.is-lit::after { opacity: 1; }

.hero__blob {
  position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(52px); opacity: .5; pointer-events: none;
  will-change: transform;
}
.hero__blob--a {
  width: 46%; aspect-ratio: 1; left: -12%; bottom: -22%;
  background: var(--orange);
  animation: drift 17s var(--ease-soft) infinite alternate;
}
.hero__blob--b {
  width: 38%; aspect-ratio: 1; right: 8%; top: -18%;
  background: var(--sky); opacity: .42;
  animation: drift 21s var(--ease-soft) -6s infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8%, -10%, 0) scale(1.18); }
}

.hero__copy { position: relative; z-index: 2; }

.hero__title {
  margin: 14px 0 clamp(12px, 1.6vw, 20px);
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -.032em;
  color: var(--navy);
}
.hero__title .line { display: block; overflow: hidden; padding-block: .04em; }
.hero__title .word {
  display: inline-block;
  translate: 0 105%;
  animation: wordUp 900ms var(--ease-out) forwards;
  animation-delay: calc(120ms + var(--w) * 70ms);
}
@keyframes wordUp { to { translate: 0 0; } }
.hero__title .word--hl {
  background: linear-gradient(96deg, #fff 8%, #fff 42%, rgb(255 255 255 / .78));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 3px 10px rgb(28 35 96 / .18));
}

.hero__lead {
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: color-mix(in oklab, var(--navy) 88%, black);
}
.hero__lead strong { font-weight: 800; }

.hero__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 2.4vw, 28px); }
.store {
  display: block; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 24px -14px rgb(0 0 0 / .7);
  transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0) scale(var(--press, 1));
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
  will-change: transform;
}
.store img { width: clamp(132px, 15vw, 158px); }
@media (hover: hover) and (pointer: fine) {
  .store:hover { box-shadow: 0 18px 34px -16px rgb(0 0 0 / .8); }
}
.store:active { --press: .96; transition-duration: 110ms; }

.chips {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; margin-top: clamp(20px, 3vw, 34px);
}
.chip {
  display: grid; gap: 4px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  font-size: clamp(.78rem, 1.1vw, .86rem);
  line-height: 1.4; font-weight: 600;
  color: var(--white);
  box-shadow: var(--sh-2);
  transition: transform 320ms var(--ease-out);
}
.chip strong { font-size: 1.02em; font-weight: 800; letter-spacing: -.01em; }
.chip--sky   { background: var(--sky);   color: var(--ink); }  /* 6.64:1 */
.chip--green { background: var(--green); color: #1e4a2a; }     /* 5.98:1 */
@media (hover: hover) and (pointer: fine) {
  .chip:hover { transform: translateY(-4px); }
}

.hero__art {
  position: relative; z-index: 1;
  justify-self: end; align-self: center;
  width: min(100%, 620px);
  will-change: transform;
}
.hero__art img {
  width: 100%;
  /* El origen bajo hace que se expanda hacia arriba, como un pecho,
     en lugar de inflarse desde el centro. */
  transform-origin: 50% 88%;
  filter: drop-shadow(0 40px 50px rgb(120 70 0 / .28));
  animation: respirar 7.5s var(--ease-soft) infinite;
}
/* Respiración asimétrica: inhala en el 42% del ciclo y exhala en el 58%.
   Si ambas fases duran lo mismo, se lee como un rebote mecánico. */
@keyframes respirar {
  0%   { translate: 0 -7px; scale: 1;     }
  42%  { translate: 0 10px; scale: 1.028; }
  100% { translate: 0 -7px; scale: 1;     }
}

@keyframes bob { from { translate: 0 -8px; } to { translate: 0 10px; } }

/* Scroll cue */
.scrollcue {
  display: flex; align-items: center; gap: 12px;
  width: max-content; margin: clamp(12px, 1.8vw, 20px) auto 0;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.scrollcue__track {
  position: relative; display: block;
  width: 24px; height: 38px; border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgb(28 35 96 / .25);
}
.scrollcue__dot {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; border-radius: 999px; background: var(--orange);
  translate: -50% 0;
  animation: cue 1.9s var(--ease-in-out) infinite;
}
@keyframes cue {
  0%, 12%  { translate: -50% 0;    opacity: 0; }
  30%      { opacity: 1; }
  70%      { translate: -50% 16px; opacity: 1; }
  88%,100% { translate: -50% 16px; opacity: 0; }
}

/* ── TICKER ───────────────────────────────────────────────── */
/* Cinta horizontal, sin fondo: se integra con la página. */
.ticker {
  position: relative;
  margin: clamp(20px, 3.2vw, 42px) 0;
  padding: clamp(8px, 1.1vw, 14px) 0;
  color: var(--navy);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__row { display: flex; width: max-content; will-change: transform; }
.ticker__row.is-running { animation: marquee 78s linear infinite; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* --tx y --tskew los mueve el JS según la velocidad del scroll.
   Al aplicarse igual a las dos copias, la costura del loop no se abre. */
.ticker__list {
  transform: translateX(var(--tx, 0px)) skewX(var(--tskew, 0deg));
  display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px);
  padding-inline: clamp(9px, 1.3vw, 17px);
  font-size: clamp(1.05rem, 2.6vw, 2rem);
  font-weight: 800; letter-spacing: -.02em; white-space: nowrap;
}
/* Alterna azul y amarillo para darle ritmo a la cinta. */
.ticker__list li:not(.sep):nth-of-type(4n + 3) { color: var(--yellow); }
.ticker__list .sep {
  width: 11px; height: 11px; border-radius: 50%; flex: none;
  background: var(--yellow);
  animation: sepPop 6s var(--ease-in-out) infinite;
}
.ticker__list .sep:nth-of-type(4n) { background: var(--navy); animation-delay: -3s; }
@keyframes sepPop {
  0%, 100% { scale: 1; }
  50%      { scale: 1.55; }
}

/* ── SECCIÓN genérica ─────────────────────────────────────── */
.section {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(28px, 4.6vw, 60px) var(--pad);
}
.section__head { margin-bottom: clamp(18px, 2.6vw, 32px); display: grid; gap: 8px; }

/* ── BENTO ────────────────────────────────────────────────── */
.bento {
  perspective: 1400px;          /* da profundidad al giro de entrada */
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(138px, auto);
  gap: var(--gap);
}

.card {
  --accent: var(--navy);
  position: relative;
  grid-column: span 6;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  padding: clamp(16px, 1.8vw, 24px);
  border-radius: var(--r-lg);
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--sh-1);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
  will-change: transform;
}
/* El brillo sigue al puntero dentro de la tarjeta (--sx/--sy los pone el JS). */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 90% at var(--sx, 50%) var(--sy, 0%),
              rgb(255 255 255 / .34), transparent 62%);
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
  .card:hover::before { opacity: 1; }
}

/* Medidas del bento: ancho y alto se combinan por separado. */
.card--w3   { grid-column: span 3; }
.card--tall { grid-row: span 2; }
/* Los colores de texto salen de medir contraste, no a ojo:
   blanco sobre celeste daba 2.17:1 y sobre naranja 3.44:1 — ambos por
   debajo del mínimo AA (4.5:1) para texto de este tamaño. */
.card--sky    { --accent: var(--sky);    color: var(--ink); }      /* 6.64:1 */
.card--navy   { --accent: var(--navy); }                            /* 8.43:1 */
.card--yellow { --accent: var(--yellow); color: var(--navy); }      /* 5.47:1 */
.card--green  { --accent: var(--green);  color: #1e4a2a; }          /* 5.98:1 */
.card--pink   { --accent: var(--pink);   color: var(--navy); }      /* 5.37:1 */
.card--orange { --accent: #c2451f; }                                /* 5.04:1 */

.card__icon { color: currentColor; opacity: .95; }
.card__icon svg {
  width: clamp(54px, 6vw, 84px); height: auto; aspect-ratio: 1;
  fill: currentColor;
  transition: transform 480ms var(--ease-out);
  will-change: transform;
}
.card__icon--sm svg { width: clamp(30px, 3vw, 38px); fill: none; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__icon svg { transform: scale(1.08) rotate(-3deg); }
}

.card__body h3 {
  font-size: clamp(1.02rem, 1.55vw, 1.35rem);
  font-weight: 800; line-height: 1.22; letter-spacing: -.018em;
  text-wrap: balance;
}
.card__hint {
  margin-top: 6px;
  font-size: clamp(.8rem, 1vw, .9rem); font-weight: 600;
  opacity: .82;
}
@media (hover: hover) and (pointer: fine) {
  .card__hint {
    opacity: 0; translate: 0 8px;
    transition: opacity 320ms var(--ease-out), translate 380ms var(--ease-out);
  }
  .card:hover .card__hint { opacity: .85; translate: 0 0; }
}

.card--art {
  grid-column: span 6;
  background: linear-gradient(150deg, var(--paper-2), #fff);
  color: var(--ink);
  align-items: center; justify-content: center;
  padding: clamp(14px, 2vw, 26px);
  box-shadow: inset 0 0 0 1px rgb(28 35 96 / .07);
}
.card--art img { width: 100%; max-height: 100%; object-fit: contain; will-change: transform; }

/* ── SHOWCASE ─────────────────────────────────────────────── */
.showcase {
  position: relative;
  padding: clamp(24px, 4vw, 54px) var(--pad);
  background:
    radial-gradient(80% 60% at 50% 0%, rgb(51 187 255 / .1), transparent 70%),
    var(--paper);
}
.showcase__grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.showcase__sticky {
  position: sticky; top: clamp(80px, 13vh, 116px);
  display: grid; place-items: center;
  min-height: min(50vh, 420px);
}

/* isolation evita que el glow (z-index:-1) se pierda detrás de la sección. */
.phone { position: relative; isolation: isolate; width: min(100%, 560px); will-change: transform; }
.phone img { width: 100%; filter: drop-shadow(0 40px 60px rgb(28 35 96 / .22)); }
.phone__glow {
  position: absolute; inset: 12% 8% 8%;
  z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, var(--yellow), transparent 65%);
  filter: blur(50px); opacity: .55;
  animation: glow 6s var(--ease-soft) infinite alternate;
}
@keyframes glow { from { opacity: .38; scale: .94; } to { opacity: .62; scale: 1.06; } }

.steps { display: grid; gap: clamp(10px, 1.3vw, 15px); padding-block: clamp(0px, 1.6vw, 22px); }
.step {
  position: relative;
  padding: clamp(15px, 1.7vw, 21px) clamp(17px, 2vw, 26px);
  border-radius: var(--r-lg);
  /* El paso inactivo NO baja opacidad: atenuar el texto lo dejaba en 1.6:1.
     La jerarquía la marcan el fondo, la sombra y la barra de acento. */
  background: color-mix(in srgb, var(--white) 55%, transparent);
  box-shadow: inset 0 0 0 1px rgb(28 35 96 / .08);
  transition: background 420ms var(--ease-out), transform 460ms var(--ease-out),
              box-shadow 420ms var(--ease-out);
  will-change: transform;
}
.step::after {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 4px; border-radius: 999px;
  background: linear-gradient(var(--sky), var(--navy));
  scale: 1 0; transform-origin: top;
  transition: scale 520ms var(--ease-out);
}
.step.is-active {
  background: var(--white); transform: translateX(6px);
  box-shadow: var(--sh-2), inset 0 0 0 1px rgb(28 35 96 / .06);
}
.step.is-active::after { scale: 1 1; }

.step__n {
  display: block; margin-bottom: 5px;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em;
  color: var(--orange);
}
.step h3 {
  font-size: clamp(1.08rem, 1.75vw, 1.42rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.16; margin-bottom: 5px;
}
.step p { color: var(--ink-soft); font-size: clamp(.9rem, 1.1vw, 1rem); font-weight: 500; }

/* ── CTA ──────────────────────────────────────────────────── */
.cta {
  position: relative;
  /* El margen iguala al alto de la curva para que no invada el showcase. */
  margin-top: var(--curve-h);
  padding: clamp(48px, 7vw, 84px) var(--pad) clamp(30px, 4.4vw, 52px);
  background: var(--navy); color: var(--white);
}
/* bottom: calc(100% - 1px) monta la curva 1px sobre la seccion.
   Si los dos bordes coinciden exacto, con zoom o pantallas de
   densidad fraccionada el navegador redondea cada uno para su lado
   y asoma una linea del fondo entre ambos. */
.cta__curve, .foot__curve {
  position: absolute;
  inset: auto 0 calc(100% - 1px);
  z-index: 1;
  display: block; line-height: 0;
  height: var(--curve-h);
  overflow: hidden;
}
/* max-width: none anula el techo que impone el reset (img, svg).
   Sin esto el SVG se quedaba en 100% pero igual se corria -10%,
   dejando una franja del fondo sin cubrir sobre el borde derecho. */
.cta__curve svg, .foot__curve svg {
  width: 120%;
  max-width: none;
  height: 100%;
  margin-left: -10%;
}
.cta__curve path { fill: var(--navy); }

.cta__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(20px, 4vw, 56px);
}
.cta__art { will-change: transform; }
.cta__art img { width: min(100%, 620px); margin-inline: auto; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .35)); }

.cta__title {
  font-size: clamp(2.4rem, 5.8vw, 4.8rem); font-weight: 900;
  line-height: 1.04; letter-spacing: -.03em; text-transform: uppercase;
  text-wrap: balance;
}
.cta__title em {
  font-style: normal; display: block;
  background: linear-gradient(100deg, var(--yellow), var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta__lead {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 12px; font-size: clamp(1rem, 1.4vw, 1.15rem); opacity: .82; font-weight: 500;
}
.cta__chev svg {
  width: 46px; height: auto; aspect-ratio: 76 / 48;
  fill: var(--yellow);
  animation: chev 2.4s var(--ease-in-out) infinite;
}
@keyframes chev {
  0%, 65%, 100% { translate: 0;    opacity: .55; }
  30%           { translate: 10px; opacity: 1; }
}

.cta__grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(22px, 3vw, 34px);
  padding-inline: clamp(0px, 4vw, 56px);
}
.qr {
  display: grid; gap: 12px; justify-items: center;
  padding: 14px; border-radius: var(--r-md);
  background: rgb(255 255 255 / .07);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14);
  transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0) scale(var(--press, 1));
  transition: transform 280ms var(--ease-out), background 280ms var(--ease-out);
  will-change: transform;
}
.qr__code { width: clamp(96px, 10vw, 124px); border-radius: 10px; }
.qr__badge { width: clamp(96px, 10vw, 124px); border-radius: 8px; }
@media (hover: hover) and (pointer: fine) {
  .qr:hover { background: rgb(255 255 255 / .13); }
}
.qr:active { --press: .97; transition-duration: 110ms; }

.cta__note {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: clamp(26px, 3.6vw, 46px) auto 0;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: clamp(16px, 2vw, 24px) clamp(22px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / .06);
  box-shadow: inset 0 0 0 2px var(--sky);
  text-align: center; text-wrap: balance;
  font-weight: 700; font-size: clamp(.9rem, 1.35vw, 1.12rem);
  color: #8ad6ff;                                                   /* 5.28:1 sobre navy */
}
.cta__note-i { width: 26px; height: 26px; flex: none; }

/* ── FOOTER ───────────────────────────────────────────────── */
.foot {
  position: relative;
  padding: clamp(48px, 7vw, 88px) var(--pad) clamp(22px, 3vw, 34px);
  background: var(--navy); color: var(--white);
}
.foot::before {
  content: ""; position: absolute; inset: auto 0 100%; height: 1px; background: var(--navy);
}
.foot__curve { inset: auto 0 100%; }
.foot__curve path { fill: var(--navy); }

.foot__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; justify-items: center; gap: clamp(14px, 2vw, 22px);
  text-align: center;
}
.foot__logo img {
  width: clamp(84px, 9vw, 116px);
  filter: drop-shadow(0 14px 26px rgb(0 0 0 / .35));
  animation: bob 7s var(--ease-soft) infinite alternate;
}
.foot__logo { transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .foot__logo:hover { opacity: .85; transform: translateY(-3px); } }
.foot__logo:active { transform: scale(.97); }

.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.foot__links a {
  padding: 8px 16px; border-radius: 999px;
  font-size: .86rem; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22);
  transition: background 220ms var(--ease-soft), color 220ms var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .foot__links a:hover { background: var(--sky); color: var(--ink); }
}
.foot__legal {
  display: grid; gap: 4px;
  font-size: .8rem; opacity: .7; font-weight: 500; line-height: 1.6;
}
.foot__legal strong { font-weight: 700; opacity: .95; }
.foot__legal sup { font-size: .62em; vertical-align: super; margin-left: 1px; }

/* ── Volver arriba ────────────────────────────────────────── */
.totop {
  position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px);
  z-index: 90;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  box-shadow: var(--sh-2);
  opacity: 0; translate: 0 14px; pointer-events: none;
  transition: opacity 300ms var(--ease-out), translate 380ms var(--ease-out),
              transform 200ms var(--ease-out), background 240ms var(--ease-soft);
}
.totop.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.totop svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .totop:hover { background: var(--orange); }
}
.totop:active { transform: scale(.94); }

/* ── Reveal on scroll ─────────────────────────────────────── */
/* Se ocultan SOLO si el JS está vivo (clase .js en <html>).
   Si el script falla o está bloqueado, el contenido se ve igual. */
.js [data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 700ms var(--ease-out), translate 800ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
[data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Las tarjetas entran girando levemente sobre su base, no sólo subiendo.
   `rotate` es propiedad independiente: convive con el transform del hover. */
.js .card[data-reveal] {
  rotate: x 12deg;
  transform-origin: 50% 100%;
  transition: opacity 700ms var(--ease-out), translate 800ms var(--ease-out),
              rotate 900ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .card[data-reveal].is-in { rotate: none; }

/* Barrido: la imagen se descubre de abajo hacia arriba en vez de aparecer. */
.js [data-wipe] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1000ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
[data-wipe].is-in { clip-path: inset(0 0 0 0); }

/* Destello diagonal al pasar por encima de los botones de descarga. */
.store, .qr { position: relative; overflow: hidden; }
.store::after, .qr::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%,
              rgb(255 255 255 / .45) 50%, transparent 62%);
  translate: -130% 0;
}
@media (hover: hover) and (pointer: fine) {
  .store:hover::after, .qr:hover::after {
    translate: 130% 0;
    transition: translate 750ms var(--ease-out);
  }
}

/* El panel del hero retrocede al salir de pantalla (--heroS lo pone el JS). */
.hero__panel {
  transform: scale(var(--heroS, 1));
  transform-origin: 50% 30%;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  /* Dos columnas: el bento se reordena solo, manteniendo los altos. */
  .bento { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .card, .card--art, .card--w3 { grid-column: span 4; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; margin-inline-start: auto; }

  .hero { padding-top: clamp(96px, 20vw, 130px); }
  .hero__panel { grid-template-columns: minmax(0, 1fr); }
  .hero__art { order: -1; justify-self: center; width: min(72%, 320px); }
  .hero__title { font-size: clamp(2.1rem, 8.6vw, 3rem); }

  .showcase__grid { grid-template-columns: minmax(0, 1fr); }
  .showcase__sticky { position: static; min-height: 0; }
  .phone { width: min(84%, 420px); }
  .step { background: var(--white); }
  .step::after { scale: 1 1; }

  .cta__inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .cta__art { order: -1; }
  .cta__art img { width: min(62%, 300px); }
  .cta__grid { justify-content: center; }
  .cta__title em { display: inline; }
}

@media (max-width: 620px) {
  /* Una sola columna: la altura la manda el contenido.
     Con alturas forzadas, el space-between de .card abria un hueco
     enorme entre el icono y el texto. */
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
  .card, .card--art, .card--w3, .card--tall { grid-column: span 4; grid-row: auto; }

  .card {
    justify-content: flex-start;
    gap: 16px;
    min-height: 0;
    padding: 22px;
  }
  .card--w3.card--tall { min-height: 0; }
  .card--art { padding: 16px; }

  .card__icon svg { width: 52px; }
  .card__icon--sm svg { width: 32px; }

  .chips { grid-template-columns: minmax(0, 1fr); }
  .hero__panel { border-radius: var(--r-lg); }
}

/* ── Movimiento reducido ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  /* Se conservan sólo los cambios de opacidad, sin desplazamiento.
     Va con .js para ganarle en especificidad a la regla de arriba. */
  .js [data-reveal] { opacity: 1; translate: none; }
  .js .card[data-reveal] { rotate: none; }
  .js [data-wipe] { clip-path: none; }
  .hero__panel { transform: none; }
  .ticker__list { transform: none; }
  .store::after, .qr::after { display: none; }
  .hero__title .word { translate: none; }
  .card__hint { opacity: .85 !important; translate: none !important; }
  .ticker__row.is-running { animation: none; }
  .hero__art img, .phone__glow, .hero__blob, .scrollcue__dot, .eyebrow__dot,
  .cta__chev svg, .ticker__list .sep, .foot__logo img { animation: none; }
  .card:hover, .chip:hover, .step.is-active, .foot__logo:hover { transform: none; }
  .totop { translate: none; }
}
