/* Gastos Hogar · landing
   Colores del logo (azul casa, verdes de las barras, moneda amarilla) en bloques
   de color con tinta azul marino. Tipografía display: Bricolage Grotesque;
   texto: Manrope (la misma de la app y los reels); notas a mano: Caveat. */

:root {
  --ink: #0a1f44;
  --ink-2: #13295a;
  --muted: #4e6280;
  --blue: #1769e0;
  --blue-2: #0f4fb5;
  --blue-soft: #d7e8ff;
  --mint: #7ed9b9;
  --mint-soft: #c6eedc;
  --green: #169b76;
  --green-2: #0f7a62;
  --sun: #ffc83d;
  --sun-2: #f2a81d;
  --cream: #fff6e5;
  --paper: #fffdf8;
  --white: #ffffff;
  --radius-section: clamp(28px, 4vw, 56px);
  --font-display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', 'Comic Sans MS', cursive;
  --nav-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Grano sutil: que el color se sienta impreso, no plano. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.section--blue :focus-visible, .section--ink :focus-visible, .hero :focus-visible { outline-color: var(--sun); }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--sun); color: var(--ink); font-weight: 800; border-radius: 12px; }
.skip:focus { top: 12px; }

.wrap { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }

/* ───────── Tipografía ───────── */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 80, 'opsz' 96;
  line-height: .9;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.display--l { font-size: clamp(2.6rem, 5.4vw, 5.3rem); }
.display--xl { font-size: clamp(3.4rem, 9vw, 8.6rem); }
.display .line { display: block; }
.lede { font-size: clamp(1.05rem, 1.25vw, 1.22rem); line-height: 1.62; max-width: 35rem; margin-top: 1.5rem; }
.kicker { display: flex; align-items: center; gap: .75em; margin-bottom: 1.3rem; font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.kicker span { display: grid; place-items: center; width: 2.3em; height: 2.3em; border: 2px solid currentColor; border-radius: 50%; font-size: .78rem; letter-spacing: 0; }
.hand { position: relative; display: inline-block; font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1; transform: rotate(-2.5deg); }
.hand--sun { color: var(--sun); }
.hand--blue { color: var(--blue); }
.scribble { position: absolute; left: 0; bottom: -.32em; width: 100%; height: .45em; overflow: visible; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; }
.caption { margin-top: 18px; font-size: .78rem; font-weight: 600; text-align: center; opacity: .72; }
.tag { display: inline-block; padding: .28em .6em; border: 1.5px solid currentColor; border-radius: 7px; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; opacity: .7; }
.muted { color: var(--muted); }

/* ───────── Botones y etiquetas ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.45em;
  border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 800; font-size: 1rem; line-height: 1.1; white-space: nowrap;
  box-shadow: 0 5px 0 var(--ink);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn span[aria-hidden] { font-size: 1.15em; }
.only-sm { display: none; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: var(--white); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.btn--sm { padding: .7em 1.15em; font-size: .88rem; box-shadow: 0 3px 0 var(--ink); }
.btn--sm:hover { box-shadow: 0 5px 0 var(--ink); }
.sticker { display: inline-block; padding: .5em 1em; border: 2px solid var(--ink); border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 3px 0 var(--ink); transform: rotate(-3deg); }
.sticker--sun { background: var(--sun); color: var(--ink); }
.pill { display: inline-block; padding: .38em .9em; border-radius: 999px; font-weight: 800; font-size: .82rem; }
.pill--blue { background: var(--blue); color: var(--white); }
.pill--ink { background: var(--white); color: var(--ink); }

/* ───────── Navegación ───────── */
.nav {
  position: fixed; z-index: 60; top: 14px; left: 50%;
  width: min(1180px, calc(100% - 24px)); height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 9px 0 18px;
  background: rgba(255, 253, 248, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  transform: translateX(-50%);
  transition: transform .45s cubic-bezier(.2, .9, .3, 1);
}
.nav.is-hidden { transform: translate(-50%, calc(-100% - 30px)); }
.nav__brand img { width: 118px; height: auto; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 34px); font-weight: 700; font-size: .93rem; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav__links a:hover::after { transform: scaleX(1); }

/* ───────── 01 · Hero ───────── */
.hero { position: relative; }
.hero__stage {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--cream);
  --chaos: 1;
}
/* Capa azul del caos: se apaga cuando la casa se ordena. */
.hero__stage::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 78% 22%, rgba(80, 160, 255, .55), transparent 70%),
    radial-gradient(60% 50% at 10% 90%, rgba(10, 50, 140, .45), transparent 70%),
    var(--blue);
}
/* Cortina crema que nace desde la casa cuando todo se ordena. */
.hero__wipe { position: absolute; inset: 0; background: var(--cream); clip-path: circle(calc(var(--wipe, 0) * 125vmax) at var(--wx, 70%) var(--wy, 50%)); }
.hero__stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1.3px, transparent 1.6px);
  background-size: 28px 28px;
  opacity: var(--chaos);
}
.story .hero { height: 330svh; }
.story .hero__stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
.hero__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; touch-action: pan-y; }
.hero.is-3d .hero__canvas { opacity: 1; }
.hero__fallback { position: absolute; z-index: 1; right: 6vw; top: 50%; width: min(36vw, 440px); height: auto; transform: translateY(-50%) rotate(-6deg); filter: drop-shadow(0 30px 40px rgba(4, 20, 60, .35)); }
.story .hero__fallback { display: none; }

/* Cada bloque de texto ocupa todo el escenario; solo su contenido recibe el puntero. */
.hero__copy {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 34px) clamp(20px, 6vw, 96px) 40px;
  pointer-events: none;
}
.hero__inner { width: min(47rem, 52vw); pointer-events: auto; }
.hero__copy--a { color: var(--white); }
.hero__copy--a h1 { font-size: clamp(3.3rem, 8vw, 8.4rem); }
/* La etiqueta vive dentro del H1: es lo que la página es, para personas y buscadores. */
.hero__copy--a h1 .sticker { margin-bottom: 22px; font-family: var(--font-body); font-variation-settings: normal; font-size: .76rem; line-height: 1.3; letter-spacing: .08em; }
.hero__copy--a .hand { margin-top: 18px; }
.hero__lede { max-width: 31rem; margin-top: 30px; font-size: clamp(1rem, 1.2vw, 1.15rem); color: rgba(255, 255, 255, .9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__copy--b, .hero__copy--c { visibility: hidden; opacity: 0; }
.hero__copy--b .hero__inner, .hero__copy--c .hero__inner { width: min(40rem, 44vw); }
.hero__copy--b .display { margin-top: 14px; }
.hero__copy--b p:last-child, .hero__copy--c p { max-width: 28rem; margin-top: 22px; font-size: clamp(1.02rem, 1.2vw, 1.18rem); color: var(--ink-2); }
.hero__copy--c .btn { margin-top: 28px; }
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::before { content: ''; position: absolute; z-index: -1; left: -.06em; right: -.08em; bottom: .02em; height: .42em; background: var(--sun); border-radius: .1em; transform: rotate(-2deg) scaleX(var(--mark, 1)); transform-origin: left; }
html:not(.story) .hero__copy--b, html:not(.story) .hero__copy--c { display: none; }
.hero__cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--white); font-family: var(--font-hand); font-size: 1.45rem; transform: translateX(-50%); }
.hero__cue i { width: 2px; height: 36px; background: linear-gradient(var(--white), transparent); animation: cue 1.6s ease-in-out infinite; transform-origin: top; }
html:not(.story) .hero__cue { display: none; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ───────── 02 · Cintas ───────── */
.tapes { position: relative; z-index: 2; height: clamp(170px, 19vw, 250px); background: var(--cream); overflow: hidden; }
.tape {
  position: absolute; left: -6%; width: 112%;
  padding: .75em 0;
  border-block: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 85, 'opsz' 48;
  font-size: clamp(1.15rem, 2.2vw, 1.9rem); line-height: 1.2; white-space: nowrap;
}
.tape--sun { top: 18%; background: var(--sun); color: var(--ink); transform: rotate(-3.2deg); }
.tape--ink { top: 50%; background: var(--ink); color: var(--white); transform: rotate(2.4deg); }
.tape__track { display: inline-flex; align-items: center; gap: 1.1em; padding-right: 1.1em; will-change: transform; }
.tape--sun b { color: var(--blue); }
.tape--ink b { color: var(--sun); font-size: .6em; }

/* ───────── Secciones apiladas ───────── */
.section {
  position: relative;
  margin-top: calc(-1 * var(--radius-section));
  padding: clamp(96px, 11vw, 160px) 0 calc(clamp(96px, 11vw, 160px) + var(--radius-section));
  border-radius: var(--radius-section) var(--radius-section) 0 0;
}
.section--ink { background: var(--ink); color: var(--white); }
.section--cream { background: var(--paper); }
.section--blue { background: var(--blue); color: var(--white); }
.section--mint { background: var(--mint-soft); }
.section--sun { background: var(--sun); }
.section--sky { background: var(--blue-soft); }
.section--ink .lede, .section--blue .lede { color: rgba(255, 255, 255, .84); }

/* Teléfono con la interfaz real */
.phone {
  position: relative; width: min(300px, 72vw); aspect-ratio: 660 / 1428; margin-inline: auto;
  border: 10px solid #071833; border-radius: 46px; overflow: hidden; background: var(--white);
  box-shadow: 0 34px 60px -22px rgba(4, 18, 48, .55), 0 0 0 2px rgba(255, 255, 255, .1);
}
.phone::after { content: ''; position: absolute; z-index: 2; top: 7px; left: 50%; width: 30%; height: 20px; border-radius: 20px; background: #071833; transform: translateX(-50%); }
.phone__screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__screen--over { opacity: 0; }
.phone--tilt-r { transform: rotate(4deg); }
.phone--tilt-l { transform: rotate(-4deg); }

/* ───────── 03 · Voz ───────── */
.voice__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 6vw, 100px); }
.voice .kicker { color: var(--sun); }
.notes { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; }
.note { position: relative; width: min(252px, 100%); padding: 24px 20px 20px; color: var(--ink); border-radius: 3px; box-shadow: 0 16px 26px -14px rgba(0, 0, 0, .55); transform: rotate(-2deg); }
.note::before { content: ''; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; background: rgba(255, 255, 255, .5); transform: translateX(-50%) rotate(-4deg); }
.note:nth-child(2) { transform: rotate(2.4deg) translateY(12px); }
.note h3 { margin-bottom: 8px; font-family: var(--font-hand); font-size: 1.95rem; line-height: 1; }
.note p { font-size: .95rem; line-height: 1.5; }
.note--sun { background: var(--sun); }
.note--mint { background: var(--mint); }
.voice__demo { position: relative; justify-self: center; width: min(100%, 520px); padding: 30px 0 10px; }
.bubble {
  position: absolute; z-index: 3; left: -4%; top: 15%;
  display: flex; align-items: center; gap: 12px; max-width: 80%;
  padding: 14px 18px 14px 14px;
  background: var(--white); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 24px 24px 24px 6px;
  box-shadow: 0 6px 0 var(--sun);
  font-weight: 800; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.25;
}
.bubble__mic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); }
.bubble__mic svg { width: 20px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
.bubble__text { min-height: 1.25em; }
.chips { position: absolute; z-index: 3; right: -3%; top: 44%; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chip { padding: .55em 1em; border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 3px 0 var(--ink); color: var(--ink); font-weight: 800; font-size: .95rem; }
.chip--blue { background: var(--blue); color: var(--white); }
.chip--sun { background: var(--sun); }
.chip--mint { background: var(--mint); }
.chip--white { background: var(--white); }
.voice__demo.is-listening .bubble__mic { animation: listen 1s ease-out infinite; }
@keyframes listen { 0% { box-shadow: 0 0 0 0 rgba(255, 200, 61, .9); } 100% { box-shadow: 0 0 0 16px rgba(255, 200, 61, 0); } }
.replay { display: block; margin: 26px auto 0; padding: .5em 1em; border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px; background: transparent; color: var(--white); font-weight: 800; font-size: .85rem; cursor: pointer; }
.replay:hover { background: rgba(255, 255, 255, .12); }

/* ───────── 04 · Casa y Yo ───────── */
.casa__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 100px); }
.casa .kicker { color: var(--blue); }
.switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 34px; padding: 6px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 5px 0 var(--ink);
}
.switch button { position: relative; z-index: 1; padding: .85em 1.55em; border: 0; border-radius: 999px; background: none; font-weight: 800; font-size: 1rem; cursor: pointer; transition: color .3s; }
.switch button[aria-pressed='true'] { color: var(--white); }
.switch__thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--blue); transition: transform .5s cubic-bezier(.5, 1.6, .4, 1), background-color .3s; }
.switch[data-view='yo'] .switch__thumb { transform: translateX(100%); background: var(--ink); }
.flip { justify-self: center; width: min(100%, 470px); perspective: 1400px; }
.flip__inner { display: grid; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3, 1.35, .4, 1); }
.flip[data-view='yo'] .flip__inner { transform: rotateY(180deg); }
.card { grid-area: 1 / 1; padding: 26px 26px 22px; border: 2px solid var(--ink); border-radius: 30px; background: var(--white); box-shadow: 0 10px 0 var(--ink); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.card--yo { background: var(--ink); color: var(--white); box-shadow: 0 10px 0 var(--blue); transform: rotateY(180deg); }
.card header, .card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__label { margin-top: 22px; font-weight: 700; font-size: .92rem; opacity: .7; }
.card__total { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 85, 'opsz' 96; font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.rows { margin-top: 18px; }
.rows li { display: grid; grid-template-columns: 44px 1fr auto; column-gap: 12px; align-items: center; padding: 12px 0; border-top: 1.5px dashed rgba(10, 31, 68, .16); }
.card--yo .rows li { border-color: rgba(255, 255, 255, .16); }
.rows li > span:nth-child(2) { font-weight: 800; line-height: 1.25; }
.rows em { grid-column: 2; font-style: normal; font-size: .82rem; opacity: .65; }
.rows b { grid-column: 3; grid-row: 1 / span 2; font-weight: 800; white-space: nowrap; }
.rows b.pos { color: var(--mint); }
.ico { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 14px; background: #eaf2ff center / 22px no-repeat; }
.card--yo .ico { background-color: rgba(255, 255, 255, .1); }
.ico--home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231769e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.ico--cart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231769e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.2a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.2L21 7H6'/%3E%3C/svg%3E"); }
.ico--bolt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231769e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.ico--wifi { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231769e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.8a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='19.5' r='1'/%3E%3C/svg%3E"); }
.ico--up { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ed9b9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E"); }
.ico--down { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc83d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E"); }
.ico--pig { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7e8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9.5c1.2.2 2 1 2 2.5h-1.6a6.5 6.5 0 0 1-2.4 3.6V19h-3v-2h-3v2H8v-3.4A6 6 0 0 1 5 10.5 6 6 0 0 1 11 5h3c1.5 0 2.8.6 3.8 1.5L20 5.5z'/%3E%3Ccircle cx='15.5' cy='9.5' r='.6'/%3E%3C/svg%3E"); }
.card footer { margin-top: 16px; font-size: .84rem; font-weight: 700; opacity: .85; }
.lock { font-size: 1.3rem; }

/* ───────── 05 · Roomies ───────── */
.roomies__grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 6vw, 100px); }
.roomies .kicker { color: var(--sun); }
.chat { justify-self: center; width: min(100%, 430px); color: var(--ink); background: #f3f6fb; border: 2px solid var(--ink); border-radius: 34px; box-shadow: 0 12px 0 var(--ink); transform: rotate(-2deg); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--white); border-bottom: 2px solid var(--ink); border-radius: 32px 32px 0 0; }
.chat__head strong { display: block; line-height: 1.2; }
.chat__head small { font-size: .78rem; color: var(--muted); }
.chat__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); font-size: 1.3rem; }
.chat__body { display: flex; flex-direction: column; gap: 10px; min-height: 452px; padding: 22px 18px 10px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 18px; font-weight: 600; font-size: .98rem; line-height: 1.35; }
.msg b { display: block; margin-bottom: 2px; color: var(--blue); font-size: .72rem; font-weight: 800; }
.msg--in { align-self: flex-start; background: var(--white); border: 1.5px solid rgba(10, 31, 68, .12); border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: var(--mint); border-bottom-right-radius: 6px; }
.msg--app { display: grid; gap: 8px; align-self: stretch; max-width: none; padding: 14px 16px; background: var(--white); border: 2px solid var(--blue); border-radius: 20px; box-shadow: 0 6px 0 var(--blue); }
.msg__brand { display: flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; font-size: .8rem; }
.msg__brand img { width: 24px; height: auto; }
.msg__row { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 1.12rem; }
.msg__row--meta { font-size: .85rem; font-weight: 600; color: var(--muted); }
.ok { color: var(--green); font-weight: 800; }
.chat .caption { margin: 4px 0 16px; color: var(--muted); opacity: 1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.step { padding: 20px 18px 22px; color: var(--ink); border-radius: 3px; box-shadow: 0 16px 26px -14px rgba(0, 0, 0, .5); transform: rotate(-2deg); }
.step:nth-child(1) { background: var(--sun); }
.step:nth-child(2) { background: var(--white); transform: rotate(1.6deg) translateY(10px); }
.step:nth-child(3) { background: var(--mint); transform: rotate(-1deg); }
.step span { display: block; color: var(--blue); font-family: var(--font-display); font-weight: 800; font-size: 2.7rem; line-height: 1; }
.step h3 { margin: .35em 0 .3em; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; line-height: 1.1; }
.step p { font-size: .9rem; line-height: 1.45; }

/* ───────── 06 · Próximos pagos ───────── */
.pagos__grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(40px, 6vw, 100px); }
.pagos .kicker { color: var(--green-2); }
.calendar { position: relative; margin-top: clamp(50px, 6vw, 80px); padding: 88px 0 18px; overflow: hidden; }
.calendar__track { display: flex; gap: 12px; width: max-content; padding-left: 50vw; will-change: transform; }
.calendar__today { position: absolute; top: 4px; left: 50%; color: var(--blue); font-family: var(--font-hand); font-weight: 700; font-size: 1.7rem; transform: translateX(-50%) rotate(-3deg); }
.calendar__today::after { content: '↓'; display: block; font-family: var(--font-body); font-size: 1.3rem; text-align: center; }
.day {
  position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 92px; height: 112px; border: 2px solid var(--ink); border-radius: 18px; background: var(--white); box-shadow: 0 5px 0 var(--ink);
}
.day small { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.day strong { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.day--month { background: var(--ink); color: var(--white); }
.day--month small { color: var(--sun); }
.day--due { background: var(--sun); }
.due {
  position: absolute; z-index: 2; bottom: calc(100% + 12px); left: 50%;
  padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--white);
  font-weight: 800; font-size: .85rem; line-height: 1.25; text-align: center; white-space: nowrap;
  transform: translateX(-50%) rotate(-4deg) scale(0); transform-origin: 50% 100%;
  transition: transform .5s cubic-bezier(.3, 1.8, .4, 1);
}
.due small { display: block; color: var(--sun); font-size: .68rem; }
.due::after { content: ''; position: absolute; top: 100%; left: 50%; border: 7px solid transparent; border-top-color: var(--ink); transform: translateX(-50%); }
.day.is-hit .due { transform: translateX(-50%) rotate(-4deg) scale(1); }

/* ───────── 07 · Chanchitos ───────── */
.chanchitos__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px); }
.chanchitos .kicker { color: var(--blue-2); }
.piggy { position: relative; justify-self: center; width: min(100%, 600px); aspect-ratio: 1; }
.piggy__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.piggy.is-3d .piggy__canvas { opacity: 1; }
.piggy__fallback { position: absolute; left: 50%; top: 50%; width: 62%; height: auto; transform: translate(-50%, -50%) rotate(-5deg); }
.piggy.is-3d .piggy__fallback { display: none; }
.piggy__drops li {
  position: absolute; left: 50%; top: 6%;
  padding: .5em 1em; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); box-shadow: 0 4px 0 var(--ink);
  font-weight: 800; font-size: .95rem; white-space: nowrap;
  opacity: 0; /* GSAP lo centra con xPercent */
}
html:not(.js) .piggy__drops, .piggy:not(.is-3d) .piggy__drops { display: none; }
.goal { margin-top: 34px; max-width: 30rem; padding: 22px 24px; background: var(--white); border: 2px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 var(--ink); }
.goal header { display: flex; align-items: center; gap: 14px; }
.goal header .tag { margin-left: auto; }
.goal header strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.goal header small { color: var(--muted); font-size: .82rem; }
.goal__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #eaf2ff; font-size: 1.5rem; }
.goal__amount { margin-top: 18px; }
.goal__amount strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 85; font-size: clamp(2.2rem, 3.8vw, 3rem); letter-spacing: -.03em; }
.goal__amount span { color: var(--muted); font-weight: 700; }
.goal__bar { height: 14px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: #eaf2ff; }
.goal__bar i { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--mint)); }
.goal__meta { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-weight: 700; font-size: .88rem; }

/* ───────── 08 · Todo en una pantalla ───────── */
.showcase__head { text-align: center; }
.showcase__head .kicker { justify-content: center; color: var(--blue); }
.showcase__head .display { max-width: 14ch; margin-inline: auto; }
.showcase__stage { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.showcase__phone .phone { width: min(320px, 74vw); }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout { position: absolute; width: 250px; padding: 14px 16px; background: var(--white); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); }
.callout strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.15; }
.callout span { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.callout::before { content: ''; position: absolute; top: 50%; width: 46px; height: 2px; background: var(--ink); }
.c1, .c2, .c3 { right: calc(50% + 200px); }
.c4, .c5, .c6 { left: calc(50% + 200px); }
.c1::before, .c2::before, .c3::before { left: 100%; }
.c4::before, .c5::before, .c6::before { right: 100%; }
.c1 { top: 8%; transform: rotate(-2deg); } .c2 { top: 38%; transform: rotate(1.5deg); } .c3 { top: 66%; transform: rotate(-1deg); }
.c4 { top: 12%; transform: rotate(2deg); } .c5 { top: 42%; transform: rotate(-1.5deg); } .c6 { top: 70%; transform: rotate(1deg); }
.c2 { background: var(--sun); } .c5 { background: var(--mint); }
.extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 56px; }
.extras li { padding: .55em 1.1em; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 800; font-size: .9rem; }

/* ───────── 09 · Preguntas ───────── */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(40px, 6vw, 100px); }
.faq .kicker { color: var(--blue); }
.faq__head { position: sticky; top: calc(var(--nav-h) + 50px); }
.faq__list { display: grid; gap: 14px; }
.qa { background: var(--white); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); transition: background-color .25s, box-shadow .2s, transform .2s; }
.qa[open] { background: var(--sun); }
.qa:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.qa summary { position: relative; display: block; padding: 20px 64px 20px 22px; font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 90; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.2; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font-family: var(--font-body); font-size: 1.2rem; line-height: 1; transform: translateY(-50%); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { padding: 0 22px 22px; font-size: 1rem; line-height: 1.6; }

/* ───────── 10 · Descarga ───────── */
.final { text-align: center; }
/* Recorte rectangular propio: animar capas dentro de un padre redondeado con overflow:hidden
   obliga a usar máscaras y en algunos móviles deja de pintar la página. */
.final__coins { position: absolute; top: var(--radius-section); left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; }
.coin {
  position: absolute; top: -80px; display: grid; place-items: center;
  width: var(--s, 56px); height: var(--s, 56px); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe28a, var(--sun) 45%, var(--sun-2));
  box-shadow: inset 0 0 0 4px #f6b52a, inset 0 0 0 7px #ffd65c, 0 6px 0 rgba(6, 19, 43, .35);
  color: #a86a05; font-family: var(--font-display); font-weight: 800; font-size: calc(var(--s, 56px) * .34);
}
.final__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final__mega {
  margin-top: 6px;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 75, 'opsz' 96;
  font-size: clamp(5.4rem, 23vw, 21rem); line-height: .82; letter-spacing: -.045em;
  color: var(--sun); text-shadow: 0 .045em 0 var(--ink);
}
.final__mega .char { display: inline-block; }
.final .lede { margin-inline: auto; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.store { display: flex; align-items: center; gap: 12px; min-width: 196px; padding: 12px 22px; color: var(--white); background: var(--ink); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 #061330; text-align: left; transition: transform .16s, box-shadow .16s; }
.store[href]:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #061330; }
.store[aria-disabled='true'] { cursor: default; }
.store svg { flex: none; width: 26px; height: 26px; }
.store small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.store strong { display: block; font-size: 1.2rem; line-height: 1.1; }
.final__note { margin-top: 16px; font-size: .9rem; font-weight: 600; opacity: .82; }

/* ───────── Pie ───────── */
.footer { position: relative; margin-top: calc(-1 * var(--radius-section)); padding: clamp(60px, 7vw, 90px) 0 40px; border-radius: var(--radius-section) var(--radius-section) 0 0; background: var(--ink); color: var(--white); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px 40px; }
.footer__brand img { width: 170px; height: auto; }
.footer__tag { font-family: var(--font-hand); font-size: 1.7rem; line-height: 1.05; color: var(--sun); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; font-size: .92rem; }
.footer__nav a:hover { color: var(--sun); }
.footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; opacity: .65; }

/* ───────── Responsive ───────── */
@media (max-width: 1180px) {
  .c1, .c2, .c3 { right: calc(50% + 180px); }
  .c4, .c5, .c6 { left: calc(50% + 180px); }
  .callout { width: 210px; }
}
@media (max-width: 1020px) {
  .callouts { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 44px; pointer-events: auto; }
  .callout { position: relative; inset: auto; width: auto; transform: none !important; }
  .callout::before { display: none; }
  .steps { grid-template-columns: 1fr; max-width: 420px; }
  .step:nth-child(n) { transform: rotate(-1deg); }
  .step:nth-child(2) { transform: rotate(1deg); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .voice__grid, .casa__grid, .roomies__grid, .pagos__grid, .chanchitos__grid { grid-template-columns: 1fr; }
  .roomies__copy { order: -1; }
  .pagos__phone { order: 2; }
  .piggy { width: min(100%, 460px); }
  .chanchitos__copy { order: -1; }
  .hero__wipe { --wx: 50%; --wy: 30%; }
  .hero__copy { align-items: flex-end; padding: 0 20px max(28px, env(safe-area-inset-bottom)); }
  .hero__inner, .hero__copy--b .hero__inner, .hero__copy--c .hero__inner { width: 100%; }
  .hero__copy--a h1 { font-size: clamp(2.9rem, 13vw, 4.6rem); }
  .hero__copy--a h1 .sticker { margin-bottom: 16px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .hero__copy--a .hand { margin-top: 12px; font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .hero__lede { margin-top: 20px; font-size: .98rem; }
  .hero__ctas { margin-top: 22px; }
  .hero__fallback { right: 50%; top: 92px; width: min(56vw, 300px); transform: translateX(50%) rotate(-6deg); }
  html:not(.story) .hero__stage { min-height: 760px; }
  .hero__cue { display: none !important; }
  .voice__demo { margin-top: 10px; }
  .bubble { left: 0; }
  .chips { right: 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .nav { top: 10px; width: calc(100% - 20px); height: 56px; padding-left: 14px; }
  .nav__brand img { width: 104px; }
  .btn--sm { font-size: .8rem; padding: .66em 1em; }
  .hero__copy--a h1 .sticker { font-size: .62rem; letter-spacing: .05em; }
  .hero__copy--a h1 { font-size: clamp(2.7rem, 12.4vw, 3.6rem); }
  .hero__lede { margin-top: 16px; font-size: .92rem; line-height: 1.5; }
  .hero__ctas { flex-wrap: nowrap; gap: 10px; margin-top: 18px; }
  .hero__ctas .btn { padding: .8em 1.05em; font-size: .88rem; }
  .only-lg { display: none; }
  .only-sm { display: inline; }
  .tape { font-size: 1.05rem; }
  .notes { gap: 26px; }
  .note { width: 100%; }
  .note:nth-child(2) { transform: rotate(1.5deg); }
  .phone { border-width: 8px; border-radius: 38px; }
  .bubble { top: 6%; font-size: .95rem; max-width: 92%; }
  .chips { top: 50%; }
  .chip { font-size: .82rem; }
  .switch button { padding: .8em 1.15em; font-size: .92rem; }
  .card { padding: 22px 18px 18px; }
  .rows li { grid-template-columns: 40px 1fr auto; }
  .ico { width: 40px; height: 40px; }
  .chat__body { min-height: 440px; }
  .callouts { grid-template-columns: 1fr; }
  .day { width: 78px; height: 98px; }
  .day strong { font-size: 2rem; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .phone--tilt-r, .phone--tilt-l, .chat { transform: none; }
}
