:root {
  --navy: #0a1f52;
  --blue: #1e6bff;
  --blue-hover: #1550cc;
  --mint: #12e2b0;
  --soft: #f3f7ff;
  --line: #dbe3ef;
  --text: #1c2740;
  --muted: #4a5878;
  --r: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: #fff; color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, .btn:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
::selection { background: var(--mint); color: #04231c; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; position: relative; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: 0; }

/* Encabezado */
.top { position: fixed; inset: 0 0 auto 0; z-index: 10; transition: background .25s, box-shadow .25s; }
.top.solid { background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.brand img { height: 44px; width: auto; }
.logo-on-light { display: none; }
.top.solid .logo-on-dark { display: none; }
.top.solid .logo-on-light { display: block; }
.bar nav { display: flex; align-items: center; gap: 1.25rem; }
.bar nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; }
.top.solid nav a:not(.btn) { color: var(--navy); }
.bar nav a:not(.btn):hover { text-decoration: underline; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.6rem; background: var(--blue); color: #fff; border-radius: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; border: 0; font-family: inherit; font-size: 1rem; cursor: pointer; transition: background .15s, transform .15s, box-shadow .2s; }
.btn:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgb(30 107 255 / .35); }
.btn:active { transform: translateY(0); }
.btn.small { min-height: 44px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn.big { min-height: 54px; padding: .8rem 2rem; font-size: 1.05rem; }
.btn.ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn.ghost:hover { background: var(--soft); box-shadow: none; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .75rem; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); color: #fff; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; }
.sub { color: var(--muted); font-size: 1.08rem; margin: 0; }
.more { margin: 2rem 0 0; font-weight: 700; }
.more a { text-decoration: none; }
.more a:hover { text-decoration: underline; }
.head { max-width: 680px; margin-bottom: 2.25rem; }

/* Pie */
.foot { position: relative; background: var(--navy); color: #dbe6ff; padding: 3rem 0 2.2rem; }
.foot-in { display: grid; gap: 1rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot a { color: #fff; font-weight: 600; }
.foot p { margin: 0; font-size: .9rem; color: #cfe0ff; }
.linklike { background: none; border: 0; padding: 0; color: #fff; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 44px; }
.linklike[hidden] { display: none; }

/* Aparición al scrollear: solo si hay JS; sin JS todo se ve */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ===== INICIO: azul tinta, un solo acento (menta), radios 20 y botones píldora ===== */
.home {
  --ink: #06143a;
  --ink-2: #0a1f52;
  --ink-3: #0f2a66;
  --hair: rgb(255 255 255 / .1);
  --tx: #eaf0ff;
  --tx-2: #a9b8dd;
  --ease: cubic-bezier(.16, 1, .3, 1);
  background: var(--ink);
  color: var(--tx);
  color-scheme: dark;
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  scrollbar-color: var(--ink-3) var(--ink);
}
.home h1, .home h2, .home h3 { color: #fff; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.home a { color: var(--mint); }
.home .sub, .home p { color: var(--tx-2); }
.home .skip { background: var(--mint); color: #04231c; }

.home .top.solid { background: rgb(6 20 58 / .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hair); }
.home .top.solid nav a:not(.btn) { color: #fff; }
.home .bar nav a:not(.btn) { color: var(--tx-2); font-weight: 500; font-size: .95rem; text-decoration: none; transition: color .2s; }
.home .bar nav a:not(.btn):hover { color: #fff; text-decoration: none; }

.home .btn { background: var(--mint); color: #04231c; border-radius: 999px; }
.home .btn:hover { background: #3cf0c4; box-shadow: 0 10px 30px rgb(18 226 176 / .28); }
.home .btn.ghost { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / .28); }
.home .btn.ghost:hover { background: rgb(255 255 255 / .08); box-shadow: none; }
.home .cookie-banner { background: var(--ink-2); border-color: var(--hair); color: var(--tx); }
.home .cookie-banner p { color: var(--tx-2); }
.home .cookie-banner a { color: var(--mint); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 7.5rem 0 3rem; background: radial-gradient(70% 60% at 15% 0%, rgb(30 107 255 / .3), transparent 70%), var(--ink); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.04; margin-bottom: 1.5rem; }
.hl { color: var(--mint); }
.hero-grid { display: block; position: relative; z-index: 1; }
.lead { font-size: 1.15rem; color: var(--tx-2); max-width: 38ch; margin: 0; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero h1, .lead, .cta, .hero-video { animation: rise .9s var(--ease) both; }
.lead { animation-delay: .08s; }
.cta { animation-delay: .16s; }
.hero-video { animation-delay: .24s; width: min(560px, 100% - 2rem); margin: 1.5rem auto 0; aspect-ratio: 4 / 5; }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.phone { border: 6px solid var(--ink-2); border-radius: 30px; overflow: hidden; background: var(--ink-2); box-shadow: 0 24px 50px -12px rgb(0 8 30 / .7); }
.phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }

/* Secciones */
.home .head { margin-bottom: 2.5rem; }
.privacy, .tour, .features-sec, .plans-sec, .steps-sec, .faq-sec { padding: 5rem 0; }
.features-sec { padding-top: 0; }

.priv-grid { display: grid; gap: 1rem; }
.priv-main, .priv-side { border-radius: 20px; padding: 1.75rem; border: 1px solid var(--hair); }
.priv-main { background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); }
.priv-side { background: var(--ink-2); }
.priv-main p, .priv-side p { margin: 0; }
.cipher { margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.cipher div { background: rgb(0 0 0 / .28); border-radius: 12px; padding: .8rem 1rem; }
.cipher dt { font-size: .8rem; color: var(--tx-2); }
.cipher dd { margin: .15rem 0 0; font-variant-numeric: tabular-nums; color: #fff; overflow-wrap: anywhere; }
.cipher .enc { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--mint); letter-spacing: .04em; }

/* Características: bento */
.bento { display: grid; gap: 1rem; }
.cell { border-radius: 20px; padding: 1.75rem; border: 1px solid var(--hair); background: var(--ink-2); overflow: hidden; display: flex; flex-direction: column; }
.cell p { margin: 0; max-width: 40ch; }
.more-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem 1.5rem; color: var(--tx-2); font-size: .98rem; }
.more-list strong { display: block; color: #fff; font-weight: 600; }


/* Efectivo, banco o Mercado Pago */
.medios { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.medios li { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 14px; background: rgb(0 0 0 / .28); color: #fff; font-weight: 600; }
.medios i { width: 12px; height: 12px; border-radius: 3px; flex: none; }

/* Carga por chat */
.chat { margin-top: 1.5rem; display: grid; gap: .75rem; }
.chat .said { margin: 0; justify-self: end; padding: .6rem 1rem; border-radius: 18px 18px 4px 18px; background: var(--blue); color: #fff; font-size: .98rem; }
.chat .mov { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: 14px; background: rgb(0 0 0 / .28); color: #fff; font-weight: 600; }
.chat .mov small { display: block; font-weight: 400; color: var(--tx-2); font-size: .85rem; }
.chat .mov strong { font-variant-numeric: tabular-nums; }

/* Cómo funciona: línea de tiempo a la izquierda y pantallas que se deslizan de costado */
.tour-grid { display: grid; gap: 2.5rem; align-items: center; }
.tour-list .head { margin-bottom: 1.75rem; }
.tl { position: relative; padding-left: 30px; }
.tour-item { position: relative; display: block; width: 100%; text-align: left; font: inherit; color: var(--tx-2); background: none; border: 0; padding: .3rem 0 1.4rem; min-height: 44px; cursor: pointer; transition: color .5s var(--ease); }
.tour-item strong { color: inherit; font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; }
.tour-item::before { content: ''; position: absolute; left: -30px; top: .5rem; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid rgb(255 255 255 / .3); transition: background .5s var(--ease), border-color .5s var(--ease), transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.tour-item::after { content: ''; position: absolute; left: -23px; top: calc(.5rem + 16px); bottom: -.5rem; width: 2px; background: linear-gradient(var(--mint), var(--mint)) top / 100% 0% no-repeat, rgb(255 255 255 / .14); transition: background-size 1s var(--ease); }
.tour-item:last-child::after { display: none; }
.tour-item.done::after { background-size: 100% 100%, auto; }
.tour-item[aria-pressed="true"] { color: #fff; }
.tour-item[aria-pressed="true"]::before { background: var(--mint); border-color: var(--mint); transform: scale(1.25); }
.tour-item:hover:not([aria-pressed="true"]) { color: #fff; }
.tour-item .desc { display: grid; grid-template-rows: 0fr; font-size: .98rem; color: var(--tx-2); transition: grid-template-rows .7s var(--ease); }
.tour-item .desc > span { overflow: hidden; min-height: 0; opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.tour-item[aria-pressed="true"] .desc { grid-template-rows: 1fr; }
.tour-item[aria-pressed="true"] .desc > span { opacity: 1; transform: none; transition-delay: .08s; padding-top: .3rem; }
.tour-stage { position: relative; display: grid; place-items: center; padding: 2rem 0; }
.tour-stage::before { content: ''; position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(30 107 255 / .55), transparent); }
.tour-stage .phone { position: relative; width: min(290px, 74%); aspect-ratio: 390 / 844; }
.tour-stage .row { display: flex; height: 100%; width: 500%; transition: transform 1s cubic-bezier(.34, 1.3, .64, 1); }
.tour-stage .phone img.slide { flex: none; width: 20%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top; }

/* Marca "Pro": amarilla como en la app */
.pro-badge, .pro-tag { display: inline-block; padding: .05rem .5rem; border-radius: 999px; background: #ffb81c; color: #3a2500; font-size: .68rem; font-weight: 800; letter-spacing: .06em; line-height: 1.5; vertical-align: middle; }
.pro-badge { margin-left: .45rem; }
.pro-tag { margin: 0 0 1rem; align-self: flex-start; width: fit-content; }

/* Calculadora de costos */
.c-calc { background: linear-gradient(150deg, rgb(30 107 255 / .35), var(--ink-2) 65%); border-color: rgb(255 255 255 / .16); }
.calc { margin-top: 1.5rem; background: rgb(0 0 0 / .28); border-radius: 16px; padding: 1.25rem; display: grid; gap: 1rem; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: .4rem; color: var(--tx-2); font-size: .95rem; }
.calc output { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--mint); min-height: 28px; }
.calc-res { margin: .25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--hair); display: grid; gap: .15rem; color: var(--tx-2); }
.calc-res strong { font-size: 2rem; letter-spacing: -.04em; color: var(--mint); font-variant-numeric: tabular-nums; line-height: 1.1; }
.calc-res small { font-size: .9rem; }
.calc-note { margin: .75rem 0 0; font-size: .85rem; }

/* Efecto sutil al pasar sobre las tarjetas */
.priv-side, .plan { transition: transform .4s var(--ease), border-color .4s; }
.priv-side:hover, .plan:hover { transform: translateY(-4px); border-color: rgb(255 255 255 / .22); }

/* Planes */
.plans { display: grid; gap: 1rem; align-items: stretch; }
.plan { border-radius: 20px; padding: 2rem; border: 1px solid var(--hair); background: var(--ink-2); display: flex; flex-direction: column; }
.plan-pro { background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border-color: rgb(18 226 176 / .55); }
.plan h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.founder { align-self: flex-start; width: fit-content; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px; background: rgb(18 226 176 / .14); color: var(--mint); font-size: .85rem; font-weight: 600; }
.price { margin: 0; color: #fff; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.amount { font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.per { color: var(--tx-2); }
.plan-for { margin: .75rem 0 1.25rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; color: #dbe6ff; flex: 1; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg) translateY(-30%); }
.plan .btn { align-self: flex-start; }
.plans-note { margin: 1.25rem 0 0; font-size: .9rem; color: var(--tx-2); }
.todo { background: rgb(255 184 28 / .16); color: #ffd98a; padding: .1rem .45rem; border-radius: 6px; font-weight: 600; }

/* Beta */
.install-sec { padding: 1rem 0 5rem; }
.install-card { display: grid; gap: 2rem; align-items: center; background: var(--ink-2); border: 1px solid var(--hair); border-radius: 24px; padding: clamp(1.75rem, 5vw, 3.25rem); }
.install-card h2 { max-width: 20ch; }
.install-card p { max-width: 56ch; }
.qr { display: none; margin: 0; background: #fff; border-radius: 20px; padding: 1.1rem 1.1rem 1.25rem; text-align: center; }
.qr img { width: 180px; height: 180px; margin: 0 auto .6rem; }
.qr figcaption { color: var(--muted); font-size: .9rem; max-width: 20ch; margin: 0 auto; }
.qr strong { display: block; color: var(--navy); font-size: 1rem; }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.steps li { border-top: 1px solid rgb(255 255 255 / .2); padding-top: 1.25rem; }
.steps .n { display: block; font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; color: var(--mint); line-height: 1; margin-bottom: 1rem; }
.steps strong { color: #fff; font-size: 1.1rem; font-weight: 600; }
.steps p { margin: .35rem 0 0; }

/* Preguntas */
.faq { max-width: 820px; margin-inline: auto; }
.qa details { border-top: 1px solid var(--hair); }
.qa details:last-child { border-bottom: 1px solid var(--hair); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; min-height: 44px; font-weight: 600; color: #fff; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; color: var(--mint); font-size: 1.4rem; line-height: 1; transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin: 0 0 1.25rem; max-width: 60ch; }

.home .foot { background: var(--ink); border-top: 1px solid var(--hair); }
.home .foot a { color: var(--tx); }
.home .foot p { color: var(--tx-2); }
.home .linklike { color: var(--tx); }

@media (min-width: 760px) {
  .priv-grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
  .priv-main { grid-row: 1 / 3; }
  .bento { grid-template-columns: repeat(12, 1fr); }
  .c-medios { grid-column: span 5; }
  .c-voz { grid-column: span 7; }
  .c-calc { grid-column: span 7; }
  .c-more { grid-column: span 5; }
  .plans { grid-template-columns: 1fr 1.15fr; }
  .install-card { grid-template-columns: 1fr auto; }
  .qr { display: block; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot nav { justify-content: center; }
}
@media (min-width: 960px) {
  .hero { min-height: min(100svh, 860px); display: flex; align-items: center; padding: 6.5rem 0 4rem; }
  .hero-grid { width: min(1120px, 100% - 2rem); }
  .hero-text { width: 48%; }
  .hero-video { position: absolute; top: 5rem; right: max(1rem, calc((100% - 1120px) / 2 - 3rem)); bottom: 1rem; width: 52%; margin: 0; aspect-ratio: auto; }
  .hero-video video { object-position: right center; }
  .tour-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
@media (max-width: 759px) { .tour-stage { order: -1; } }
@media (max-width: 640px) {
  .bar nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) { .brand img { height: 34px; } .btn.small { padding: .5rem .8rem; font-size: .9rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Páginas internas (legales) */
.legal-page .top { position: sticky; }
.legal { padding-block: 2rem 4rem; max-width: 820px; }
.legal h1 { color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.legal h2 { margin-top: 2rem; font-size: 1.3rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2rem; display: grid; gap: .5rem; }
.legal .upd { color: var(--muted); font-size: .92rem; margin-top: -.25rem; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--blue); }
.callout { background: var(--soft); border: 1px solid #e1eaf8; border-radius: 12px; padding: 1rem 1.25rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); }
code { background: var(--soft); padding: .1rem .35rem; border-radius: 6px; }

/* Aviso de cookies */
.cookie-banner { position: fixed; z-index: 30; left: 1rem; right: 1rem; bottom: 1rem; max-width: 640px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgb(10 31 82 / .25); padding: 1rem 1.25rem; display: grid; gap: .75rem; }
.cookie-banner p { margin: 0; font-size: .95rem; color: var(--text); }
.cookie-banner div { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Página 404 */
.nf { position: relative; min-height: 100vh; background: linear-gradient(135deg, #0a1f52 0%, #1e6bff 58%, #12e2b0 120%); color: #fff; display: grid; place-items: center; text-align: center; overflow: hidden; }
.nf-in { position: static; padding: 2rem 1rem; display: grid; justify-items: center; gap: .75rem; max-width: 560px; }
.nf-in > * { position: relative; z-index: 1; }
.nf-in > .blob { position: absolute; z-index: 0; }
.nf h1 { color: #fff; margin: 0; }
.nf p { color: #e6efff; margin: 0; }
.big404 { font-size: clamp(5rem, 22vw, 9rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; color: #7bffe0; }
.nf .btn { margin-top: 1rem; }
.blob { position: absolute; border-radius: 42% 58% 62% 38% / 45% 38% 62% 55%; }
.b1 { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle at 30% 30%, rgb(18 226 176 / .55), rgb(18 226 176 / 0) 70%); }
.b2 { width: 420px; height: 420px; left: -160px; bottom: -80px; background: radial-gradient(circle at 60% 40%, rgb(255 255 255 / .22), rgb(255 255 255 / 0) 70%); }
.todo { white-space: normal; }
.legal .todo, .callout .todo { background: #fff4d6; color: #7a4b00; }
