/* =========================================================
   COME · Landing page
   Paleta del Brandbook v1.0 · Títulos: Outfit · Texto: Plus Jakarta Sans
   ========================================================= */
:root {
  --orange: #FF6A00;
  --orange-600: #E85F00;
  --orange-100: #FFE6D5;
  --orange-50: #FFF4EC;
  --navy: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #273449;
  --green: #00D38E;
  --green-100: #D6F7EB;
  --gray: #E5E7EB;
  --gray-50: #F6F7F9;
  --slate: #4B5567;
  --slate-400: #94A3B8;
  --white: #FFFFFF;

  --font-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(15, 23, 42, .28);
  --shadow-sm: 0 8px 24px -12px rgba(15, 23, 42, .18);
  --container: 1280px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; color: var(--navy);
  background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; word-spacing: .04em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.015em; word-spacing: .04em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--slate); }
.text-orange { color: var(--orange); }
.lead { font-size: 1.14rem; max-width: 34em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
svg use { pointer-events: none; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--narrow { --container: 840px; }

/* ---------- Tag ---------- */
.tag {
  display: inline-block; padding: 7px 14px; margin-bottom: 20px; border-radius: 999px;
  background: var(--orange-50); color: var(--orange-600);
  font: 600 .82rem/1 var(--font-display); letter-spacing: .02em;
}
.tag--dark { background: rgba(255, 255, 255, .08); color: var(--white); border: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--font-display); letter-spacing: .005em;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 12px 28px -12px rgba(255, 106, 0, .8); }
.btn--primary:hover { background: var(--orange-600); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-800); }
.btn--ghost { background: none; color: var(--navy); padding-inline: 8px; }
.btn--ghost:hover { color: var(--orange); }
.btn--sm { padding: 11px 18px; font-size: .95rem; border-radius: 12px; }
.btn--sm:hover .ico { transform: none; }
.btn--lg { padding: 18px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--gray); box-shadow: var(--shadow-sm); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font: 500 .98rem var(--font-display); }
.nav a:not(.btn) { position: relative; color: var(--navy-700); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--orange); }
.header__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.header__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 72px) 0 88px; overflow: hidden;
  background: radial-gradient(900px 520px at 88% 18%, var(--orange-50), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__visual { position: relative; min-height: 560px; }
.hero__photo { position: absolute; right: 0; top: 0; width: 72%; height: 90%; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__arc { position: absolute; width: 520px; right: -160px; bottom: -200px; opacity: .06; pointer-events: none; }
.hero .phone--home { position: absolute; left: 0; bottom: 0; }
.hero .toast { position: absolute; right: 6%; bottom: 4%; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; word-spacing: .04em; }

/* Carrusel: las diapositivas se apilan en la misma celda para que la altura sea la de la más alta. */
.hero__slides { display: grid; position: relative; z-index: 1; touch-action: pan-y; }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
.hero__slide .hero__copy > *, .hero__slide .hero__photo, .hero__slide .phone, .hero__slide .hero-card { opacity: 0; }
.hero__slide.is-active .hero__copy > * { animation: heroIn .8s var(--ease) both; }
.hero__slide.is-active .hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__slide.is-active .hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__slide.is-active .hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__slide.is-active .hero__photo { animation: heroPhoto 1s var(--ease) both; }
.hero__slide.is-active .phone, .hero__slide.is-active .hero-card { animation: heroIn .8s .25s var(--ease) both; }
.hero__slide.is-active .toast { animation: heroIn .7s .45s var(--ease) both, float 5s 1.2s ease-in-out infinite; }
.hero__slide.is-active .hero__photo img { animation: kenburns 9s ease-out both; }
.hero__slide:not(.is-active) .toast { animation: none; opacity: 0; }
.hero[data-dir="prev"] .hero__slide.is-active .hero__copy > * { animation-name: heroInPrev; }
@keyframes heroIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes heroInPrev { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes heroPhoto { from { opacity: 0; clip-path: inset(0 0 0 100% round 32px); } to { opacity: 1; clip-path: inset(0 round 32px); } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-card {
  position: absolute; left: 0; bottom: 12%; width: 300px; padding: 18px; display: grid; gap: 10px;
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--gray); font-size: .82rem;
}
.hero-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.hero-card__head b { display: block; font: 700 1rem var(--font-display); }
.hero-card__head small { color: var(--slate); font-size: .76rem; }
.hero-card__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-50); }
.hero-card__icon--green { background: var(--green-100); }
.hero-card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-card__icon--green svg { stroke: #00A06B; }
.hero-card__row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 1px solid var(--gray); border-radius: 12px; }
.hero-card__row > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; font-weight: 600; }
.hero-card__row small { font-weight: 400; color: var(--slate); font-size: .72rem; }
.hero-card__bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 4px 4px 0; border-bottom: 1px solid var(--gray); }
.hero-card__bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: var(--orange-100); transform-origin: bottom; }
.hero-card__bars i:last-child { background: var(--orange); }
.hero__slide.is-active .hero-card__bars i { animation: grow .8s var(--ease) both; }
.hero__slide.is-active .hero-card__bars i:nth-child(n) { animation-delay: calc(.45s + var(--i, 0) * 60ms); }
.hero-card__bars i:nth-child(2) { --i: 1; } .hero-card__bars i:nth-child(3) { --i: 2; } .hero-card__bars i:nth-child(4) { --i: 3; }
.hero-card__bars i:nth-child(5) { --i: 4; } .hero-card__bars i:nth-child(6) { --i: 5; } .hero-card__bars i:nth-child(7) { --i: 6; }
@keyframes grow { from { transform: scaleY(0); } }
.hero-card__days { display: flex; gap: 10px; padding-inline: 4px; color: var(--slate-400); font-size: .7rem; font-weight: 600; }
.hero-card__days span { flex: 1; text-align: center; }

.hero__controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; position: relative; z-index: 1; }

/* Escritorio: el hero ocupa la primera vista. main.js calcula --hero-h (alto de la ventana)
   y --hero-fit (escala para que diapositiva + controles quepan sin scroll). */
@media (min-width: 921px) {
  .hero {
    display: flex; flex-direction: column; justify-content: center;
    min-height: var(--hero-h, 100vh); padding: calc(var(--header-h) + 20px) 0 28px;
  }
  /* El ancho se compensa para que, escalado, siga alineado con el header. */
  .hero__slides, .hero__controls {
    zoom: var(--hero-fit, 1);
    width: min(100% - 48px / var(--hero-fit, 1), var(--container) / var(--hero-fit, 1));
  }
  .hero__controls { margin-top: 32px; }
}
.hero__dots { display: flex; gap: 10px; flex: 1; max-width: 560px; }
.hero__dot {
  flex: 1; display: grid; gap: 10px; padding: 0 0 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 .86rem var(--font-display); color: var(--slate-400); transition: color .25s;
}
.hero__dot:hover, .hero__dot.is-active { color: var(--navy); }
.hero__dot i { display: block; height: 4px; border-radius: 4px; background: var(--gray); overflow: hidden; }
.hero__dot i::after { content: ""; display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--orange); border-radius: inherit; }
.hero__dot.is-done i::after { width: 100%; background: var(--slate-400); }
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: var(--white); border: 1px solid var(--gray); color: var(--navy); box-shadow: var(--shadow-sm);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.hero__arrow:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); }
.hero__arrow--prev .ico { transform: scaleX(-1); }

/* ---------- Partners marquee ---------- */
.partners { padding: 44px 0 52px; border-block: 1px solid var(--gray); background: var(--white); }
.partners__title { text-align: center; font: 600 .95rem var(--font-display); color: var(--slate); margin-bottom: 28px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee var(--marquee-duration, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand {
  display: flex; align-items: center; justify-content: center; gap: 12px; height: 84px; min-width: 200px; padding: 0 24px;
  filter: brightness(0); opacity: .38; transition: opacity .3s;
}
.brand:hover { opacity: .7; }
.brand img { max-height: 48px; max-width: 170px; width: auto; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--white); font: 800 .82rem var(--font-display); letter-spacing: -.02em; background: var(--brand-color, var(--navy)); }
.brand__name { display: flex; flex-direction: column; font: 700 1.08rem/1.1 var(--font-display); color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.brand__name small { font: 500 .72rem var(--font-body); color: var(--slate); letter-spacing: .02em; }

/* ---------- Phone mockups ---------- */
.phone {
  width: 252px; height: 510px; padding: 11px; border-radius: 42px; position: relative; flex: none;
  background: var(--navy); box-shadow: var(--shadow), inset 0 0 0 2px #334155;
}
.phone__notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 72px; height: 20px; background: var(--navy); border-radius: 12px; z-index: 2; }
.phone > div:not(.phone__notch) { height: 100%; border-radius: 32px; overflow: hidden; }
.phone--sm { width: 236px; height: 478px; }

.app { background: var(--white); padding: 46px 16px 16px; font-size: .78rem; }
.app__top { display: flex; justify-content: space-between; align-items: center; font: 700 1.05rem var(--font-display); margin-bottom: 12px; }
.app__top .ico { color: var(--slate); stroke-width: 5; }
.app__searchbar { background: var(--gray-50); border: 1px solid var(--gray); border-radius: 12px; padding: 9px 12px; color: var(--slate-400); margin-bottom: 14px; }
.app__cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: .64rem; font-weight: 600; color: var(--slate); margin-bottom: 14px; }
.app__cats i { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 5px; background: var(--orange-50); border-radius: 13px; }
.app__cats svg { width: 20px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.app__label { font: 700 .82rem var(--font-display); margin: 4px 0 8px; }
.app__offer { display: flex; align-items: center; gap: 10px; padding: 9px; border: 1px solid var(--gray); border-radius: 14px; margin-bottom: 8px; }
.app__offer b { display: grid; place-items: center; min-width: 46px; height: 46px; border-radius: 11px; background: var(--orange); color: var(--white); font: 700 .85rem var(--font-display); }
.app__offer--green b { background: var(--green); color: var(--navy); }
.app__offer span { display: flex; flex-direction: column; font-weight: 600; color: var(--navy); }
.app__offer small { font-weight: 400; color: var(--slate); }
.app__map { position: relative; height: 92px; border-radius: 14px; background:
  linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%),
  linear-gradient(0deg, transparent 45%, #fff 45% 52%, transparent 52%),
  linear-gradient(135deg, #EEF2F6, #E3E9F0); }
.app__map i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 106, 0, .2); }
.app__map i:nth-child(1) { left: 22%; top: 25%; } .app__map i:nth-child(2) { left: 64%; top: 58%; background: var(--green); box-shadow: 0 0 0 5px rgba(0, 211, 142, .2); } .app__map i:nth-child(3) { left: 80%; top: 18%; }

.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--white);
  border-radius: 18px; box-shadow: var(--shadow); max-width: 270px; animation: float 5s ease-in-out infinite;
}
.toast b { display: block; font: 700 .95rem var(--font-display); }
.toast small { color: var(--slate); font-size: .8rem; line-height: 1.4; display: block; }
.toast__check { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--green); }
.toast__check--orange { background: var(--orange); }
.toast__check svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 88px 0; }
.section--soft { background: var(--gray-50); }
.section--dark { background: var(--navy); color: var(--white); overflow: hidden; }
.section--dark::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 0, .22), transparent); pointer-events: none; }
.section--dark p { color: #B8C2D3; }
.section__head { max-width: 680px; margin-bottom: 56px; position: relative; }
.section__head p { font-size: 1.08rem; }

/* ---------- Value triad ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { position: relative; padding: 36px 32px; border-radius: var(--radius); background: var(--orange); color: var(--white); overflow: hidden; transition: transform .35s var(--ease); }
.value::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -70px; border: 34px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.value:hover { transform: translateY(-6px); }
.value p { color: rgba(255, 255, 255, .88); margin: 0; }
.value--navy { background: var(--navy); }
.value--navy p { color: #B8C2D3; }
.value--green { background: var(--green); color: var(--navy); }
.value--green p { color: rgba(15, 23, 42, .78); }
.value__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .18); margin-bottom: 26px; }
.value--green .value__icon { background: rgba(15, 23, 42, .1); }
.value__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Icon tiles (shared) ---------- */
.tile__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(145deg, #FF8A33, var(--orange)); box-shadow: 0 10px 22px -10px rgba(255, 106, 0, .9); }
.tile__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.tile__icon--light { background: var(--orange-50); box-shadow: none; }
.tile__icon--light svg { stroke: var(--orange); }

/* ---------- Cómo funciona (flow) ---------- */
.flow { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: stretch; }
.flow__steps { display: grid; gap: 12px; align-content: start; }
.flow__step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; text-align: left; cursor: pointer;
  padding: 22px 24px; border: 1px solid transparent; border-radius: 20px; background: transparent; overflow: hidden;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.flow__step:hover { background: rgba(255, 255, 255, .6); }
.flow__step.is-active { background: var(--white); border-color: var(--gray); box-shadow: var(--shadow-sm); }
.flow__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gray); color: var(--slate); font: 700 1rem var(--font-display); transition: background .3s, color .3s; }
.flow__step.is-active .flow__num { background: var(--orange); color: var(--white); }
.flow__text { display: flex; flex-direction: column; }
.flow__role { font: 600 .78rem var(--font-display); color: var(--orange-600); letter-spacing: .04em; text-transform: uppercase; }
.flow__text strong { font: 700 1.14rem/1.3 var(--font-display); color: var(--navy); }
.flow__desc { display: block; max-height: 0; color: var(--slate); font-size: .95rem; opacity: 0; transition: max-height .45s var(--ease), opacity .35s, margin .35s; overflow: hidden; }
.flow__step.is-active .flow__desc { max-height: 8em; opacity: 1; margin-top: 6px; }
.flow__bar { position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px; background: transparent; }
.flow__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--orange); }
.flow__step.is-active .flow__bar { background: var(--gray); }

.flow__stage {
  position: relative; min-height: 580px; border-radius: 32px; padding: 28px; overflow: hidden;
  background: radial-gradient(420px 320px at 80% 90%, rgba(0, 211, 142, .16), transparent 70%), radial-gradient(420px 320px at 10% 10%, rgba(255, 106, 0, .16), transparent 70%), var(--white);
  border: 1px solid var(--gray); display: flex; flex-direction: column;
}
.flow__track { display: flex; justify-content: space-between; list-style: none; margin: 0 0 24px; padding: 0 10px; position: relative; }
.flow__track::before { content: ""; position: absolute; left: 36px; right: 36px; top: 50%; border-top: 3px dotted var(--gray); }
.flow__track li { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 2px solid var(--gray); transition: all .4s var(--ease); }
.flow__track svg { width: 24px; height: 24px; fill: none; stroke: var(--slate-400); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.flow__track li.is-on { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 6px var(--orange-100); }
.flow__track li.is-on svg { stroke: var(--white); }
.flow__track li.is-done { border-color: var(--green); }
.flow__track li.is-done svg { stroke: var(--green); }

.screen { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.screen[hidden] { display: none; }
.screen.is-active > * { animation: screenIn .55s var(--ease) both; }
.screen.is-active > .toast { animation: screenIn .55s .25s var(--ease) both, float 5s 1s ease-in-out infinite; }
@keyframes screenIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.screen--phone .toast--stage { position: absolute; right: 0; bottom: 20px; }

.win { width: 100%; max-width: 460px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--gray); overflow: hidden; font-size: .85rem; }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--gray-50); border-bottom: 1px solid var(--gray); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.win__bar i:nth-child(2) { background: #FBBF24; } .win__bar i:nth-child(3) { background: #34D399; }
.win__bar em { margin-left: 10px; font-style: normal; font-size: .75rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__body { padding: 22px; display: grid; gap: 14px; }
.m-title { font: 700 1.15rem var(--font-display); }
.m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-field label { display: block; font-size: .72rem; font-weight: 600; color: var(--slate); margin-bottom: 5px; }
.m-field > div:not(.m-chips) { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--gray); border-radius: 10px; font-weight: 600; }
.m-field .ico { color: var(--orange); }
.m-big { color: var(--orange); font: 800 1.05rem var(--font-display); }
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.m-chips span { padding: 7px 11px; border-radius: 999px; border: 1.5px solid var(--gray); font-size: .74rem; font-weight: 600; color: var(--slate); }
.m-chips span.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.m-btn { padding: 12px; border-radius: 11px; background: var(--orange); color: var(--white); text-align: center; font: 700 .9rem var(--font-display); }
.m-list { display: grid; gap: 8px; }
.m-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--gray); border-radius: 12px; }
.m-item > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; font-weight: 600; }
.m-item small { font-weight: 400; color: var(--slate); font-size: .74rem; }
.m-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--orange); color: var(--white); font: 700 .75rem var(--font-display); }
.m-logo.g { background: var(--green); color: var(--navy); } .m-logo.n { background: var(--navy); }
.m-switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--gray); transition: background .3s; }
.m-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.m-switch.on { background: var(--green); }
.m-switch.on::after { transform: translateX(16px); }
.m-note { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--green-100); color: #065F46; font-weight: 600; font-size: .8rem; }

/* ---------- Tabs / Bento ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 40px; position: relative; }
.tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: #B8C2D3; font: 600 1rem var(--font-display); padding: 12px 22px; border-radius: 13px; cursor: pointer; transition: background .25s, color .25s; }
.tab:hover { color: var(--white); }
.tab.is-active { background: var(--white); color: var(--navy); }
.tab.is-active .ico { color: var(--orange); }

.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative;
  grid-template-areas: "lead lead photo" "t1 t2 t3" "t4 t5 t5";
}
.bento[hidden] { display: none; }
.bento.is-active > * { animation: screenIn .5s var(--ease) both; }
.bento.is-active > *:nth-child(3) { animation-delay: .05s; } .bento.is-active > *:nth-child(4) { animation-delay: .1s; }
.bento.is-active > *:nth-child(5) { animation-delay: .15s; } .bento.is-active > *:nth-child(6) { animation-delay: .2s; } .bento.is-active > *:nth-child(7) { animation-delay: .25s; }
.bento__lead { grid-area: lead; padding: 40px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy-800), #172033); border: 1px solid rgba(255, 255, 255, .08); }
.bento__kicker { display: block; font: 600 .85rem var(--font-display); color: var(--green); margin-bottom: 10px; }
.bento__lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.015em; }
.bento__lead p { font-size: 1.05rem; max-width: 30em; margin-bottom: 28px; }
.bento__photo { grid-area: photo; border-radius: var(--radius); overflow: hidden; min-height: 260px; }
.bento__photo img { width: 100%; height: 100%; object-fit: cover; }
.bento .tile:nth-child(3) { grid-area: t1; } .bento .tile:nth-child(4) { grid-area: t2; } .bento .tile:nth-child(5) { grid-area: t3; }
.bento .tile:nth-child(6) { grid-area: t4; } .bento .tile:nth-child(7) { grid-area: t5; }
.tile { position: relative; padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s, border-color .3s, transform .35s var(--ease); overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 0, .3), transparent); opacity: 0; transition: opacity .35s; }
.tile:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 106, 0, .45); transform: translateY(-4px); }
.tile:hover::after { opacity: 1; }
.tile h4 { color: var(--white); margin: 18px 0 6px; }
.tile p { font-size: .93rem; margin: 0; }

/* ---------- App ---------- */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.features { display: grid; gap: 14px; margin-top: 32px; }
.feature { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--gray); border-radius: 18px; transition: border-color .3s, box-shadow .3s; }
.feature:hover { border-color: transparent; box-shadow: var(--shadow-sm); }
.feature h4 { margin-bottom: 2px; }
.feature p { margin: 0; font-size: .95rem; }
.app-phones { display: flex; justify-content: center; gap: 24px; position: relative; }
.app-phones::before { content: ""; position: absolute; inset: 5% 0; background: radial-gradient(closest-side, var(--orange-100), transparent); z-index: -1; }
.phone--dark { margin-top: 60px; }
.splash { background: var(--navy); display: grid; place-items: center; padding: 30px; }
.detail { padding: 0 0 16px; }
.detail__cover { height: 130px; background: linear-gradient(135deg, var(--orange), #FF9A4D); display: flex; align-items: flex-end; padding: 0 16px; }
.detail__cover span { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: -28px; border-radius: 16px; background: var(--white); color: var(--orange); font: 800 1.1rem var(--font-display); box-shadow: var(--shadow-sm); }
.detail__name { margin: 38px 16px 0; font: 700 1.15rem var(--font-display); }
.detail__cat { margin: 0 16px 14px; color: var(--slate); }
.detail__deal { display: flex; align-items: center; gap: 12px; margin: 0 16px 14px; padding: 12px; border-radius: 14px; background: var(--orange-50); }
.detail__deal b { font: 800 1.6rem var(--font-display); color: var(--orange); }
.detail__deal span { display: flex; flex-direction: column; font-weight: 700; }
.detail__deal small { font-weight: 400; color: var(--slate); }
.detail__row { display: flex; align-items: center; gap: 8px; margin: 0 16px; padding: 10px 0; border-bottom: 1px solid var(--gray); color: var(--slate); }
.detail__row .ico { color: var(--orange); }
.detail__btn { margin: 16px 16px 0; padding: 12px; border-radius: 12px; background: var(--navy); color: var(--white); text-align: center; font: 700 .9rem var(--font-display); }

.redeem { background: var(--white); padding: 56px 18px 18px; text-align: center; }
.redeem__pct { font: 800 3rem/1 var(--font-display); color: var(--orange); }
.redeem__sub { color: var(--orange-600); font-weight: 600; font-size: .85rem; margin-bottom: 18px; }
.redeem__check { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: var(--green); }
.redeem__check svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.redeem__ok { font: 800 1.3rem var(--font-display); }
.redeem__txt { font-size: .78rem; color: var(--slate); margin-bottom: 16px; }
.redeem__table { margin: 0 0 14px; font-size: .78rem; text-align: left; border-top: 1px dashed var(--gray); padding-top: 10px; }
.redeem__table div { display: flex; justify-content: space-between; padding: 4px 0; }
.redeem__table dt { color: var(--slate); } .redeem__table dd { margin: 0; font-weight: 600; }
.redeem__table .g { color: #059669; }
.redeem__table .total { border-top: 1px solid var(--gray); margin-top: 4px; padding-top: 8px; font-size: .9rem; }
.redeem__table .total dt { color: var(--navy); font-weight: 700; }
.redeem__code { font-size: .72rem; font-weight: 600; letter-spacing: .08em; background: var(--gray-50); border-radius: 8px; padding: 8px; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec { background: var(--white); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--gray); transition: transform .35s var(--ease), box-shadow .3s; }
.sec:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.sec h3 { margin: 20px 0 8px; font-size: 1.15rem; }
.sec p { font-size: .94rem; margin: 0; }

/* ---------- Quote ---------- */
.quote { padding: 110px 0; background: var(--white); position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border: 60px solid var(--orange); border-radius: 50%; opacity: .08; }
.quote__inner { text-align: center; max-width: 900px; }
.quote blockquote { margin: 0 0 20px; font: 800 clamp(2rem, 4.4vw, 3.4rem)/1.12 var(--font-display); letter-spacing: -.02em; word-spacing: .04em; }
.quote p { font-size: 1.1rem; max-width: 40em; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--gray); border-radius: 18px; padding: 0 24px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 600 1.08rem var(--font-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; translate: 0 -50%; border-radius: 9px; background: var(--orange-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23FF6A00' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; }

/* ---------- Contacto ---------- */
.contact-section { background: var(--navy); color: var(--white); overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 760px; height: 760px; left: -320px; bottom: -420px; border: 120px solid rgba(255, 106, 0, .12); border-radius: 50%; }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; position: relative; }
.contact__copy p { color: #B8C2D3; font-size: 1.1rem; }
.next { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.next li { display: flex; gap: 16px; align-items: flex-start; }
.next li > span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--orange); font: 700 1rem var(--font-display); }
.next b { display: block; font: 600 1.05rem var(--font-display); }
.next small { color: #94A3B8; font-size: .92rem; }

.form-card { background: var(--white); color: var(--navy); border-radius: 28px; padding: 36px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form { display: grid; gap: 20px; }
.picker { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.picker legend { font: 600 1.05rem var(--font-display); margin-bottom: 12px; padding: 0; }
.pick { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick__box { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border: 1.5px solid var(--gray); border-radius: 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.pick__icon { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gray-50); transition: background .2s; }
.pick__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--slate); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pick__box b { font: 700 1rem var(--font-display); }
.pick__box small { color: var(--slate); font-size: .8rem; line-height: 1.3; }
.pick:hover .pick__box { border-color: var(--slate-400); }
.pick input:checked + .pick__box { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 0 0 4px rgba(255, 106, 0, .1); }
.pick input:checked + .pick__box .pick__icon { background: var(--orange); }
.pick input:checked + .pick__box .pick__icon svg { stroke: var(--white); }
.pick input:focus-visible + .pick__box { outline: 3px solid var(--green); outline-offset: 2px; }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl { position: relative; }
.fl[hidden] { display: none; }
.fl--full { grid-column: 1 / -1; }
.fl input, .fl select, .fl textarea {
  width: 100%; padding: 24px 16px 10px; border: 1.5px solid var(--gray); border-radius: 14px; background: var(--gray-50);
  font-size: .98rem; transition: border-color .2s, background .2s, box-shadow .2s; appearance: none;
}
.fl textarea { resize: vertical; min-height: 110px; }
.fl select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%234B5567' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.fl label { position: absolute; left: 17px; top: 17px; color: var(--slate); font-size: .98rem; pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(255, 106, 0, .12); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label,
.fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label,
.fl select:focus + label, .fl select.has-value + label { transform: translateY(-9px) scale(.78); color: var(--orange-600); font-weight: 600; }
.fl__count { position: absolute; right: 14px; bottom: 10px; font-size: .72rem; color: var(--slate-400); }
.fl.is-invalid input, .fl.is-invalid select { border-color: #DC2626; background: #FEF2F2; }
.fl.is-invalid label { color: #DC2626; }

.consent { display: flex; gap: 12px; font-size: .88rem; color: var(--slate); align-items: flex-start; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }
.consent.is-invalid span { color: #DC2626; }
.form__status { margin: -6px 0 0; font-size: .9rem; min-height: 1.2em; text-align: center; }
.form__status.is-error { color: #DC2626; }
.form__status.is-ok { color: #059669; }
.form-done { text-align: center; padding: 48px 12px; }
.form-done[hidden] { display: none; }
.form-done__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; background: var(--green); animation: screenIn .5s var(--ease) both; }
.form-done__icon svg { width: 36px; height: 36px; fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.footer { background: #0B1222; color: #CBD5E1; padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer p { color: #94A3B8; max-width: 320px; font-size: .95rem; }
.footer h5 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer a { display: block; padding: 4px 0; font-size: .95rem; transition: color .2s; }
.footer a:hover { color: var(--orange); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #94A3B8; }
.footer__claim { letter-spacing: .2em; text-transform: uppercase; font-weight: 600; font-size: .75rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .toast, .marquee__track, .screen.is-active > *, .bento.is-active > * { animation: none !important; }
  .hero__slide *, .hero__slide .hero__copy > * { animation: none !important; opacity: 1 !important; }
  .hero__slide { transition: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 20px; }
  .flow { grid-template-columns: 1fr; }
  .flow__stage { min-height: 560px; }
}
@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .header__toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px 16px 24px; border-bottom: 1px solid var(--gray); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s;
  }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--gray); }
  .nav .btn { margin-top: 16px; padding: 14px; }
  .header.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .header.is-open .header__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .header__toggle span:nth-child(2) { opacity: 0; }
  .header.is-open .header__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero__grid, .app-grid, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { min-height: 520px; max-width: 520px; width: 100%; margin-inline: auto; }
  .value-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "lead lead" "photo photo" "t1 t2" "t3 t4" "t5 t5"; }
  .bento__photo { max-height: 320px; }
  .bento__photo { min-height: 260px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 84px 0; }
}
@media (max-width: 560px) {
  .sec-grid, .form__grid, .picker { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__visual { min-height: 460px; }
  .hero .phone--home { transform: scale(.82); transform-origin: left bottom; }
  .hero__photo { width: 78%; }
  .hero .toast { right: 0; bottom: -10px; }
  .hero-card { width: 260px; bottom: 14%; padding: 14px; }
  .hero-card__bars { height: 90px; }
  .hero__controls { margin-top: 36px; gap: 16px; }
  .hero__dot span { font-size: .74rem; }
  .hero__arrow { width: 42px; height: 42px; }
  .app-phones .phone--dark { display: none; }
  .form-card { padding: 24px 18px; border-radius: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .tab { justify-content: center; padding: 11px 4px; font-size: .86rem; }
  .tab .ico { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "lead" "photo" "t1" "t2" "t3" "t4" "t5"; }
  .bento__lead { padding: 28px 22px; }
  .flow__step { padding: 18px; gap: 14px; }
  .flow__stage { padding: 18px; min-height: 540px; border-radius: 24px; }
  .flow__track li { width: 44px; height: 44px; }
  .screen--phone .toast--stage { right: -6px; bottom: 0; max-width: 220px; }
  .win__body { padding: 16px; }
  .m-row { grid-template-columns: 1fr; }
  .brand { min-width: 180px; height: 72px; padding: 0 20px; }
}

/* ---------- Escala en pantallas grandes ---------- */
/* Todo el diseño (tipografía, mockups y espacios) crece en proporción al monitor. */
@media (min-width: 1700px) { html { zoom: 1.05; } }
@media (min-width: 2100px) { html { zoom: 1.1; } }
@media (min-width: 2600px) { html { zoom: 1.2; } }
@media (min-width: 3200px) { html { zoom: 1.35; } }
