/* ==========================================================================
   miahorro · estilos del mockup
   Tokens de marca: docs/marca/2026-10-02-miahorro-marca.md
   ========================================================================== */

@font-face { font-family: Manrope; src: url(fonts/Manrope-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }

:root {
  /* Marca */
  --night: #050B1F;
  --slate: #141F42;
  --teal: #2DD4D9;
  --teal-dark: #086A70;
  --mist: #BFEFF1;
  --white: #F2F8FF;
  /* Grises */
  --g700: #2A3658;
  --g500: #5B6785;
  --g400: #8E9BB8;
  --g200: #D5DCEA;
  --g100: #EAEFF7;
  /* Estado */
  --amber: #F5B547;
  --coral: #FF6B5E;

  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-panel: 32px;
  --r-card: 20px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --shadow-card: 0 1px 2px rgb(5 11 31 / .06), 0 12px 32px -12px rgb(5 11 31 / .18);
  --shadow-dark: 0 1px 0 rgb(255 255 255 / .04) inset, 0 24px 48px -24px rgb(0 0 0 / .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--white);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--teal); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.panel--light :focus-visible { outline-color: var(--teal-dark); }

/* Fondo: brillos suaves turquesa/azul sobre medianoche */
.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 85% -10%, rgb(45 212 217 / .16), transparent 60%),
    radial-gradient(50vw 40vw at -10% 30%, rgb(61 107 255 / .14), transparent 60%),
    radial-gradient(60vw 50vw at 50% 120%, rgb(45 212 217 / .10), transparent 60%),
    var(--night);
}

/* ---------- Iconos ---------- */
.ic { width: 20px; height: 20px; flex: none; }
.ic--lg { width: 28px; height: 28px; }
.ic--teal { color: var(--teal-dark); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 0;
  background: var(--teal); color: var(--night);
  font: 600 16px/1.2 var(--font); text-decoration: none; letter-spacing: -0.01em;
  box-shadow: 0 0 0 1px rgb(45 212 217 / .4), 0 10px 30px -10px rgb(45 212 217 / .55);
  transition-property: transform, background-color, box-shadow;
  transition-duration: 160ms; transition-timing-function: var(--ease);
  cursor: pointer;
}
.btn:hover { background: #57E0E4; box-shadow: 0 0 0 1px rgb(45 212 217 / .6), 0 14px 36px -10px rgb(45 212 217 / .7); }
.btn:active { transform: scale(0.96); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 16px 26px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgb(242 248 255 / .22); }
.btn--ghost:hover { background: rgb(242 248 255 / .06); box-shadow: inset 0 0 0 1px rgb(242 248 255 / .4); }
.btn--dark { background: var(--night); color: var(--white); box-shadow: 0 10px 24px -12px rgb(5 11 31 / .6); }
.btn--dark:hover { background: var(--slate); box-shadow: 0 14px 28px -12px rgb(5 11 31 / .7); }
.btn--dark .ic { color: var(--teal); }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--teal-dark); min-height: 44px; }
.link .ic { width: 18px; height: 18px; transition: transform 160ms var(--ease); }
.link:hover .ic { transform: translateX(3px); }

/* El punto: recurso gráfico de la marca */
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.nav.is-scrolled { background: rgb(5 11 31 / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgb(242 248 255 / .06); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; color: var(--white); }
.logo svg { height: 38px; width: auto; }
.logo .sym { color: var(--teal); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: rgb(242 248 255 / .78); transition: color 150ms var(--ease), background-color 150ms var(--ease); }
.nav__links a:hover { color: var(--white); background: rgb(242 248 255 / .06); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero__in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.eyebrow--dark { color: var(--teal-dark); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); }
.lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: rgb(242 248 255 / .78); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; font-weight: 600; color: var(--mist); }
.assure li { display: inline-flex; align-items: center; gap: 9px; }
.micro { margin-top: 10px; font-size: 13px; color: var(--g400); }

/* Teléfono con la conversación */
.phone {
  position: relative; justify-self: center; width: min(380px, 100%);
  border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #1B2954, #0A1430);
  box-shadow: 0 0 0 1px rgb(242 248 255 / .08), 0 40px 80px -30px rgb(0 0 0 / .8), 0 0 120px -20px rgb(45 212 217 / .25);
}
.phone__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 30px 30px 0 0; background: var(--slate); }
.phone__head strong { display: block; font-size: 16px; }
.phone__head small { display: block; font-size: 12px; color: var(--g400); min-height: 1.2em; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.avatar svg { width: 62%; height: 62%; color: var(--night); }
.chat {
  display: flex; flex-direction: column; gap: 8px;
  height: 440px; padding: 16px 14px 18px; overflow: hidden;
  border-radius: 0 0 30px 30px;
  background: #0A1430 radial-gradient(circle at 1px 1px, rgb(242 248 255 / .04) 1px, transparent 0) 0 0/18px 18px;
  justify-content: flex-end;
}
.msg {
  position: relative; max-width: 84%;
  padding: 9px 12px 20px; border-radius: 16px;
  font-size: 14.5px; line-height: 1.42;
}
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; opacity: .55; font-variant-numeric: tabular-nums; }
.msg.bot { align-self: flex-start; background: var(--slate); color: var(--white); border-top-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--mist); color: var(--night); border-top-right-radius: 6px; }
.msg b { font-weight: 800; }
.chat .msg { opacity: 0; transform: translateY(8px); display: none; }
.chat .msg.in { display: block; animation: msgIn 320ms var(--ease) forwards; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.bill { width: 170px; padding: 12px; border-radius: 10px; background: #fff; display: grid; gap: 6px; }
.bill span { height: 6px; border-radius: 3px; background: var(--g200); }
.bill span:first-child { width: 60%; background: var(--g400); }
.bill .short { width: 40%; background: var(--teal-dark); }
.bill em { font-style: normal; font-size: 11px; color: var(--g500); margin-top: 4px; }
.typing { align-self: flex-start; display: none; gap: 5px; padding: 12px 14px; border-radius: 16px; border-top-left-radius: 6px; background: var(--slate); }
.typing.on { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); opacity: .35; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { opacity: 1; transform: translateY(-3px); } }
.phone__note { position: absolute; bottom: -30px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--g400); }

/* ---------- Banda de compromisos ---------- */
.band { border-block: 1px solid rgb(242 248 255 / .07); background: rgb(20 31 66 / .35); overflow: hidden; }
.band__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__list { display: flex; list-style: none; margin: 0; padding: 0; }
.band__list li { display: flex; align-items: center; gap: 10px; padding: 20px 28px; white-space: nowrap; font-size: 16px; color: rgb(242 248 255 / .72); }
.band__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 18px; }
.band__list strong { color: var(--white); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones y paneles ---------- */
.sec { padding: clamp(28px, 4vw, 48px) 0; }
.sec__head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); }
.sec__head h2, .panel h2, .final h2 { font-size: clamp(32px, 4vw, 52px); }
.sec__head p { margin-top: 14px; color: rgb(242 248 255 / .72); font-size: 18px; }
.panel { border-radius: var(--r-panel); padding: clamp(28px, 5vw, 64px); }
.panel--glass { background: linear-gradient(180deg, rgb(20 31 66 / .72), rgb(20 31 66 / .42)); box-shadow: var(--shadow-dark), 0 0 0 1px rgb(242 248 255 / .06); }
.panel--light { background: var(--white); color: var(--night); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .6); }
.panel--light p:not(.eyebrow) { color: #3A4566; }

/* Problema */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pain { padding: 28px; border-radius: var(--r-card); background: rgb(5 11 31 / .55); box-shadow: 0 0 0 1px rgb(242 248 255 / .06); }
.pain .ic { color: var(--teal); margin-bottom: 18px; }
.pain h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.pain p { margin-top: 10px; color: var(--g400); font-size: 16px; }
.pains__close { margin-top: 28px; font-size: 19px; font-weight: 600; color: var(--mist); }

/* Cómo funciona: título fijo + línea de tiempo */
.steps { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.steps__intro { position: sticky; top: 120px; }
.steps__intro p:not(.eyebrow) { margin: 18px 0 28px; font-size: 18px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; display: grid; gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--teal), rgb(45 212 217 / .15)); }
.step { position: relative; }
.step__n {
  position: absolute; left: -44px; top: 22px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums;
  background: var(--night); color: var(--teal); box-shadow: 0 0 0 4px var(--white);
}
.card { padding: 26px 28px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card), 0 0 0 1px var(--g100); }
.card .ic { margin-bottom: 14px; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.card p { margin-top: 8px; font-size: 16px; }

/* Lo que ganas: tarjeta clara arriba / oscura abajo */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { border-radius: 24px; overflow: hidden; background: var(--slate); box-shadow: var(--shadow-dark), 0 0 0 1px rgb(242 248 255 / .06); display: flex; flex-direction: column; }
.value__top { background: var(--white); padding: 28px 22px; min-height: 170px; display: grid; place-items: center; }
.value__body { padding: 26px 26px 30px; }
.value__body h3 { font-size: 23px; color: var(--white); letter-spacing: -0.025em; }
.value__body p { margin-top: 10px; color: var(--g400); font-size: 16px; }
.mini { display: grid; gap: 8px; width: 100%; max-width: 280px; font-size: 14px; }
.mini__me { justify-self: end; display: inline-flex; align-items: center; gap: 6px; background: var(--mist); color: var(--night); padding: 8px 12px; border-radius: 14px 14px 4px 14px; font-weight: 500; }
.mini__me .ic { width: 16px; height: 16px; }
.mini__bot { justify-self: start; background: var(--night); color: var(--white); padding: 8px 12px; border-radius: 14px 14px 14px 4px; }
.alert { display: inline-flex; align-items: center; gap: 10px; justify-self: center; padding: 10px 16px; border-radius: 999px; background: var(--night); color: var(--mist); font-weight: 600; font-size: 14px; box-shadow: 0 0 0 1px rgb(45 212 217 / .35); }
.pulse { position: relative; width: 10px; height: 10px; flex: none; }
.pulse i { position: absolute; inset: 0; border-radius: 50%; background: var(--teal); }
.pulse i:last-child { animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { to { transform: scale(2.6); opacity: 0; } }

/* Showcase (regla, gratis, premium) */
.show { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.show--rev .show__copy { order: 2; }
.show__copy > p:not(.eyebrow, .micro) { margin-top: 16px; font-size: 18px; }
.panel--glass .show__copy > p:not(.eyebrow, .micro, .show__punch) { color: rgb(242 248 255 / .76); }
.show__punch { font-weight: 600; color: var(--mist); }
.panel--light .show__copy a { color: var(--teal-dark); font-weight: 600; }
.chatcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 28px; background: #0A1430; box-shadow: 0 0 0 1px rgb(242 248 255 / .06); }
.msg.static { max-width: 88%; padding-bottom: 10px; font-size: 15px; }

.flow { display: grid; gap: 12px; padding: 24px; border-radius: 28px; background: var(--g100); }
.flow__row { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); font-weight: 600; }
.flow__who { color: var(--night); }
.flow__line { height: 2px; background: repeating-linear-gradient(90deg, var(--g200) 0 6px, transparent 6px 12px); }
.flow__line--on { background: repeating-linear-gradient(90deg, var(--teal-dark) 0 6px, transparent 6px 12px); }
.flow__amt { color: var(--teal-dark); font-weight: 800; }
.flow__row--us { background: var(--night); }
.flow__row--us .flow__who { color: var(--white); }
.flow__row--us .flow__amt { color: var(--teal); font-weight: 600; font-size: 14px; }
.flow__note { font-size: 14px; text-align: center; color: var(--g500) !important; margin-top: 4px; }

/* Comparativa */
.compare { border-radius: 28px; overflow: hidden; background: rgb(20 31 66 / .5); box-shadow: 0 0 0 1px rgb(242 248 255 / .07); }
.compare__row { display: grid; grid-template-columns: 0.7fr 1fr 1fr; }
.compare__row > * { padding: 20px 24px; display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid rgb(242 248 255 / .06); font-size: 16px; }
.compare__row--head > * { border-top: 0; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; color: var(--g400); }
.compare [role="rowheader"] { font-weight: 600; color: var(--g400); font-size: 15px; }
.compare [role="cell"]:not(.us) { color: rgb(242 248 255 / .62); }
.compare .us { background: rgb(45 212 217 / .07); color: var(--white); font-weight: 600; }
.compare__row--head .us { color: var(--teal); }
.compare .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--teal); }
.compare .ic--x { color: var(--g500); }

/* Banner con sello circular */
.banner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; overflow: hidden;
  background: radial-gradient(80% 140% at 100% 0%, rgb(45 212 217 / .22), transparent 60%), linear-gradient(135deg, #0E1A3E, #0A1430);
  box-shadow: 0 0 0 1px rgb(242 248 255 / .08), var(--shadow-dark); }
.banner__copy p { margin: 14px 0 28px; color: rgb(242 248 255 / .76); font-size: 18px; }
.seal { position: relative; width: 210px; height: 210px; flex: none; }
.seal__ring { width: 100%; height: 100%; animation: spin 30s linear infinite; }
.seal__ring text { font: 600 13px var(--font); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--mist); }
.seal__mark { position: absolute; inset: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); }
.seal__mark svg { width: 56%; height: 56%; color: var(--night); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Premium */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--teal); color: var(--night); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.badge::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--night); }
.badge--soft { background: rgb(45 212 217 / .14); color: var(--teal); }
.badge--soft::after { background: var(--teal); }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: rgb(242 248 255 / .78); }
.ticks .ic { color: var(--teal); margin-top: 3px; }
.ticks strong { color: var(--white); font-weight: 600; }
.app { padding: 22px; border-radius: 28px; background: #0A1430; box-shadow: 0 0 0 1px rgb(242 248 255 / .07), 0 30px 60px -30px rgb(0 0 0 / .7); }
.app__head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.app__bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin: 22px 0; padding: 12px; border-radius: 16px; background: rgb(20 31 66 / .7); }
.app__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--teal), rgb(45 212 217 / .35)); }
.app__alerts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.app__alerts li { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; background: var(--slate); font-size: 15px; }
.sd { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sd--ok { background: var(--teal); }
.sd--warn { background: var(--amber); }

/* Para quién */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who__card { padding: 30px; border-radius: 24px; background: var(--white); color: var(--night); box-shadow: 0 30px 60px -36px rgb(0 0 0 / .7); display: flex; flex-direction: column; }
.who__card .ic--lg { margin-bottom: 18px; }
.who__card h3 { font-size: 23px; }
.who__card p { margin: 10px 0 18px; color: #3A4566; font-size: 16px; flex: 1; }

/* Preguntas */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro p { margin: 16px 0 26px; font-size: 18px; }
.faq__list { display: grid; gap: 10px; }
details { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--g100), var(--shadow-card); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; min-height: 44px; font-weight: 600; font-size: 17px; cursor: pointer; border-radius: 18px; }
summary::-webkit-details-marker { display: none; }
summary .ic { color: var(--teal-dark); transition: transform 200ms var(--ease); }
details[open] summary .ic { transform: rotate(45deg); }
details p { padding: 0 22px 22px; font-size: 16px; }

/* CTA final */
.final { text-align: center; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.final h2 { font-size: clamp(40px, 6vw, 80px); }
.final .lead { margin: 18px auto 34px; }
.final__facts { list-style: none; padding: 0; margin: clamp(48px, 6vw, 72px) auto 0; max-width: 880px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.final__facts li { display: grid; justify-items: center; gap: 4px; padding: 26px 16px; border-radius: 24px; background: rgb(20 31 66 / .5); box-shadow: 0 0 0 1px rgb(242 248 255 / .06); }
.final__facts .ic { color: var(--teal); margin-bottom: 8px; }
.final__facts strong { font-size: 18px; }
.final__facts span { color: var(--g400); font-size: 15px; }

/* Pie */
.foot { border-top: 1px solid rgb(242 248 255 / .07); background: rgb(5 11 31 / .6); padding: 56px 0 28px; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand p { margin-top: 14px; color: var(--g400); font-size: 15px; }
.foot__wa { display: flex; align-items: center; gap: 8px; color: var(--mist) !important; }
.foot__wa .ic { color: var(--teal); width: 18px; height: 18px; }
.foot__col { display: grid; align-content: start; gap: 2px; }
.foot__col h3 { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g400); font-weight: 600; margin-bottom: 8px; }
.foot__col a { text-decoration: none; color: rgb(242 248 255 / .8); font-size: 15px; padding: 6px 0; }
.foot__col a:hover { color: var(--teal); }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(242 248 255 / .07); font-size: 13px; color: var(--g500); }

/* Botón fijo en móvil */
.sticky-cta { display: none; }

/* Aparición al hacer scroll (solo si hay JS y no hay reducción de movimiento) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav .btn--sm { margin-left: auto; }
  .hero__in, .steps, .show, .faq { grid-template-columns: 1fr; }
  .show--rev .show__copy { order: 0; }
  .steps__intro, .faq__intro { position: static; }
  .pains, .values, .who { grid-template-columns: 1fr; }
  .phone { margin-top: 12px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav .btn--sm { display: none; }
  .hero__ctas .btn { width: 100%; }
  .chat { height: 400px; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > [role="rowheader"] { grid-column: 1 / -1; padding-bottom: 0; border-top: 1px solid rgb(242 248 255 / .1); }
  .compare__row > [role="cell"] { border-top: 0; font-size: 15px; padding: 10px 16px 18px; }
  .compare__row--head > :first-child { display: none; }
  .banner { grid-template-columns: 1fr; text-align: left; }
  .seal { width: 150px; height: 150px; }
  .seal__mark { inset: 36px; }
  .final__facts { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__bottom { flex-direction: column; }
  .flow__row { grid-template-columns: 90px 1fr auto; padding: 14px; }
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
    transform: translateY(140%); transition: transform 260ms var(--ease);
  }
  .sticky-cta.on { transform: none; }
  .sticky-cta .btn { width: 100%; }
  .foot { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band__track, .seal__ring, .pulse i:last-child, .typing i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .chat .msg.in { animation: none; opacity: 1; transform: none; }
}

/* ---------- Páginas legales ---------- */
.legal { max-width: 760px; padding: 48px 0 80px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 36px 0 10px; }
.legal p, .legal li { color: rgb(242 248 255 / .8); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal strong { color: var(--white); }
.legal a { color: var(--teal); }
.legal__date { font-size: 14px; color: var(--g400) !important; margin-bottom: 28px; }
.legal__summary { padding: 18px 20px; border-radius: 16px; background: rgb(20 31 66 / .6); box-shadow: 0 0 0 1px rgb(242 248 255 / .07); }
.legal__back { margin-left: auto; color: var(--teal); }
.legal-page .foot { padding: 0 0 28px; }
.legal-page .foot__bottom a { color: var(--g400); }
.legal .eyebrow { margin-bottom: 12px; }
.legal h2 { scroll-margin-top: 100px; }
.legal__table { margin: 16px 0; overflow-x: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgb(242 248 255 / .08); }
.legal__table:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid rgb(242 248 255 / .07); }
.legal thead th { border-top: 0; background: rgb(20 31 66 / .7); color: var(--g400); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.legal td { color: rgb(242 248 255 / .8); }
.legal tbody tr:nth-child(even) td { background: rgb(20 31 66 / .3); }
.legal__hint { display: none; font-size: 13px; color: var(--g400) !important; margin-top: 12px; }
@media (max-width: 720px) { .legal__hint { display: block; } }
.foot__note { max-width: 520px; text-align: right; }
@media (max-width: 720px) { .foot__note { text-align: left; } }

/* ---------- Confianza ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__card { position: relative; padding: 30px 22px 26px; border-radius: 24px; background: var(--white); color: var(--night); text-align: center; box-shadow: 0 30px 60px -36px rgb(0 0 0 / .7); }
.trust__big { font-weight: 800; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; color: var(--night); }
.trust__big--teal { color: var(--teal-dark); }
.trust__pre { font-size: 22px; vertical-align: 2px; }
.trust__txt { margin-top: 10px; font-size: 15px; color: var(--g500); }
.trust__soon { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 999px; background: var(--g100); color: var(--teal-dark); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 1000px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Apps (próximamente) ---------- */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stores--center { justify-content: center; margin-top: 36px; }
.stores--foot { margin-top: 20px; }
.stores__label { width: 100%; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g400); }
.stores--center .stores__label { text-align: center; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 12px; border-radius: 12px; background: rgb(242 248 255 / .04); box-shadow: inset 0 0 0 1px rgb(242 248 255 / .18); color: var(--white); font-weight: 700; font-size: 16px; line-height: 1.1; cursor: default; opacity: .85; }
.store .ic { color: var(--teal); }
.store small { display: block; font-size: 11px; font-weight: 500; color: var(--g400); }

/* ---------- Consentimiento de cookies ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ck { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
.ck[hidden], .ckm[hidden] { display: none; }
.ck__in { pointer-events: auto; width: min(760px, 100%); padding: 22px 24px; border-radius: 24px; background: #0E1838; color: var(--white); box-shadow: 0 0 0 1px rgb(242 248 255 / .1), 0 30px 60px -20px rgb(0 0 0 / .8); }
.ck__title { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.ck__text { margin-top: 8px; font-size: 15px; color: rgb(242 248 255 / .78); }
.ck__text a { color: var(--teal); }
.ck__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
/* Mismo tamaño, color y peso para aceptar y rechazar (guía AEPD) */
.ck__btn { min-height: 46px; padding: 10px 14px; border: 0; border-radius: 999px; font: 600 15px/1.2 var(--font); cursor: pointer;
  background: var(--white); color: var(--night); transition-property: transform, background-color; transition-duration: 160ms; transition-timing-function: var(--ease); }
.ck__btn:hover { background: var(--mist); }
.ck__btn:active { transform: scale(0.96); }
.ckm { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgb(5 11 31 / .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ckm__box { width: min(620px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 26px 24px; border-radius: 24px; background: #0E1838; color: var(--white); box-shadow: 0 0 0 1px rgb(242 248 255 / .1), 0 30px 60px -20px rgb(0 0 0 / .8); }
.ckm__cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid rgb(242 248 255 / .08); }
.ckm__cat:first-of-type { margin-top: 14px; }
.ckm__cat strong { font-size: 16px; }
.ckm__cat p { margin-top: 4px; font-size: 14px; color: var(--g400); }
.ckm__fixed { flex: none; font-size: 13px; font-weight: 600; color: var(--teal); padding-top: 2px; }
.sw { position: relative; flex: none; display: inline-flex; min-width: 44px; min-height: 44px; align-items: flex-start; justify-content: flex-end; cursor: pointer; }
.sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sw__track { width: 44px; height: 26px; border-radius: 999px; background: var(--g700); position: relative; transition: background-color 160ms var(--ease); }
.sw__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform 160ms var(--ease); }
.sw input:checked + .sw__track { background: var(--teal); }
.sw input:checked + .sw__track::after { transform: translateX(18px); background: var(--night); }
.sw input:focus-visible + .sw__track { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (max-width: 560px) { .ck__btns { grid-template-columns: 1fr; } }
[data-cookies-config][hidden] { display: none !important; }
