/* Layout: columna única pensada para celular; en pantallas anchas, héroe en dos columnas y rejillas de 3. */
:root {
  --ink: #14213D;
  --muted: #535C77;
  --brand: #6B5BD6;
  --brand-strong: #5243C4;
  --brand-soft: #EFECFC;
  --paper: #FAF9FE;
  --surface: #FFFFFF;
  --line: #E3E0F1;
  --mark: #FFF1B8;
  --mark-ink: #6A4B00;
  --wa: #1FA855;
  --grad: linear-gradient(100deg, #EE6FB0 0%, #8B5CF6 50%, #4C8DF6 100%);
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --wrap: 72rem;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 1rem; }
@media (min-width: 48rem) { .wrap { padding-inline: 2rem; } }
.stack { display: grid; gap: 1rem; }
.section { padding-block: 3.5rem; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: .6rem; margin-bottom: 2rem; max-width: 42rem; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
mark.pendiente { background: var(--mark); color: var(--mark-ink); padding: .05em .35em; border-radius: 4px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Encabezado */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand img { width: 10.5rem; }
.nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: .45rem .6rem; border-radius: 8px; }
.nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-strong); }
@media (max-width: 30rem) { .brand img { width: 8.5rem; } .nav a { font-size: .85rem; padding: .4rem .45rem; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.25rem; padding: .8rem 1.6rem; border-radius: 999px; font: 700 1.05rem/1 var(--f-body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand-strong); padding-inline: .25rem; }
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

/* Héroe */
.hero { padding-block: 2.5rem 3.5rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.05fr .95fr; } .hero { padding-block: 4rem 5rem; } }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .stack { gap: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: .85rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }

/* Demostración manual -> curso */
.demo { display: grid; gap: .9rem; position: relative; }
.demo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: 0 18px 40px -28px rgba(20,33,61,.45); }
.demo-pdf { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; width: min(100%, 22rem); }
.pdf-icon { width: 2.6rem; height: 3.2rem; border-radius: 6px; background: #F3D7D7; color: #A3282B; font: 800 .7rem/3.2rem var(--f-body); text-align: center; }
.pdf-lines span { display: block; height: .45rem; border-radius: 4px; background: var(--line); margin-top: .4rem; }
.demo-arrow { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .9rem; color: var(--brand-strong); padding-left: 1rem; }
.demo-arrow::before { content: ""; width: 3px; height: 2.2rem; border-radius: 3px; background: var(--grad); }
.demo-course { margin-left: auto; width: min(100%, 26rem); }
.demo-course header { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.demo-meta { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.progress { height: .5rem; border-radius: 99px; background: var(--brand-soft); margin: .8rem 0 1rem; overflow: hidden; }
.progress i { display: block; height: 100%; width: 68%; background: var(--grad); border-radius: inherit; }
.quiz p { font-weight: 600; margin-bottom: .55rem; }
.quiz ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.quiz li { border: 1px solid var(--line); border-radius: 10px; padding: .5rem .75rem; font-size: .92rem; }
.quiz li.ok { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.video-box { border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-box video { width: 100%; display: block; }
.video-note { font-size: .85rem; text-align: center; }

/* Pasos */
.steps { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: paso; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: paso; display: grid; gap: .5rem; align-content: start; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(paso); font: 800 2.4rem/1 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Oferta y planes */
.offer { display: grid; gap: 1.25rem; padding: 1.75rem; border-radius: calc(var(--radius) + 6px); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.offer::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: var(--grad); opacity: .35; filter: blur(60px); pointer-events: none; }
.offer > * { position: relative; }
.offer .eyebrow { color: #C9C1FF; }
.offer .price { font: 800 clamp(2rem, 6vw, 3rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.offer p { color: #D7DAE6; max-width: 36rem; }
@media (min-width: 48rem) { .offer { grid-template-columns: 1fr auto; align-items: center; padding: 2.5rem; } }
.plans { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: grid; gap: .6rem; align-content: start; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan.destacado { border: 2px solid var(--brand); }
.plan .tag { justify-self: start; font-size: .75rem; font-weight: 700; color: var(--brand-strong); background: var(--brand-soft); border-radius: 99px; padding: .2rem .6rem; }
.plan .amount { font: 700 1.6rem/1.15 var(--f-display); font-variant-numeric: tabular-nums; }
.plan .amount small { font: 500 .95rem var(--f-body); color: var(--muted); }

/* Casos y logos */
.empty { padding: 2rem; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; }
.logos img { height: 2.5rem; width: auto; filter: grayscale(1); opacity: .75; }
.cases { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .cases { grid-template-columns: repeat(2, 1fr); } }
.case { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .5rem; }
.case .result { font: 700 1.5rem/1.2 var(--f-display); color: var(--brand-strong); }

/* Preguntas */
.faq { display: grid; gap: .6rem; max-width: 46rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.1rem; color: var(--muted); }

/* Cierre */
.closing { text-align: left; display: grid; gap: 1rem; justify-items: start; padding: 2rem; border-radius: calc(var(--radius) + 6px); background: var(--brand-soft); }

/* Inicio: dos caminos */
.paths { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .paths { grid-template-columns: 1fr 1fr; } }
.path { display: grid; gap: .8rem; align-content: start; padding: 2rem 1.6rem; border-radius: calc(var(--radius) + 6px); text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.path::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad); }
.path:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -30px rgba(20,33,61,.5); }
.path .label { font: 800 clamp(1.8rem, 5vw, 2.6rem)/1 var(--f-display); }
.path .go { font-weight: 700; color: var(--brand-strong); }

/* Colegios y fichas */
.products { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .products { grid-template-columns: repeat(3, 1fr); } }
.product { display: grid; gap: .6rem; align-content: start; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--pc, var(--brand)); text-decoration: none; color: var(--ink); }
.product .go { font-weight: 700; color: var(--brand-strong); margin-top: .4rem; }
.facts { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .3rem 0 0; font-weight: 600; }
.points { display: grid; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.points li { padding-left: 1.6rem; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--grad); }
.shots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.shot { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius); border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--muted); background: var(--surface); }
.shots img { border-radius: var(--radius); border: 1px solid var(--line); }
.two-col { display: grid; gap: 2rem; }
.two-col > * { min-width: 0; }
@media (min-width: 60rem) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Formulario */
.form { display: grid; gap: 1rem; padding: 1.5rem; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #CFCBE3; border-radius: 10px; padding: .75rem .9rem; min-height: 3rem; width: 100%; }
.field input:focus, .field select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.row-2 { display: grid; gap: 1rem; }
@media (min-width: 36rem) { .row-2 { grid-template-columns: 1fr 1fr; } }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .88rem; color: var(--muted); }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--brand); }
.form-msg { padding: 1rem; border-radius: 10px; background: var(--brand-soft); font-weight: 600; }
.form-msg.error { background: #FDE8E8; color: #8B1D1D; }

/* Nosotros */
.team { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.person { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 800 1.2rem var(--f-display); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.data-list { display: grid; gap: .1rem; margin: 0; }
.data-list div { display: grid; grid-template-columns: minmax(7rem, 30%) 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.data-list dt { color: var(--muted); font-weight: 600; }
.data-list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map iframe { width: 100%; height: 20rem; border: 0; display: block; }
.map a { display: block; padding: .9rem 1.1rem; font-weight: 600; }

/* Privacidad */
.prose { max-width: 44rem; display: grid; gap: 1rem; }
.prose h2 { font-size: 1.35rem; margin-top: 1.25rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }

/* Pie */
.site-footer { background: var(--ink); color: #C9CDDB; padding-block: 3rem 6rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h3 { font-size: 1rem; color: #fff; margin-bottom: .6rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer .legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 2rem; height: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* App en Google Play */
.app-band { display: grid; gap: 1rem; align-items: center; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.app-band > * { min-width: 0; }
@media (min-width: 48rem) { .app-band { grid-template-columns: 1fr auto; padding: 1.75rem 2rem; } }

/* ---------- Nivel premium ---------- */
.hero-dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: 4rem 3.5rem; isolation: isolate; }
.hero-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(40rem 26rem at 85% -10%, rgba(139,92,246,.55), transparent 60%),
  radial-gradient(30rem 22rem at 5% 110%, rgba(238,111,176,.35), transparent 60%),
  radial-gradient(26rem 20rem at 60% 120%, rgba(76,141,246,.35), transparent 60%); }
.hero-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-dark h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
.hero-dark .grad, .hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-dark .eyebrow { color: #C9C1FF; }
.hero-dark .lead { color: #CBD0E0; }
@media (min-width: 60rem) { .hero-dark { padding-block: 6rem 4.5rem; } }
.hero-dark .path { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.hero-dark .path:hover { background: rgba(255,255,255,.1); box-shadow: 0 24px 50px -30px rgba(0,0,0,.8); }
.hero-dark .path h2 { font-size: 1.3rem; }
.hero-dark .path p { color: #CBD0E0; }
.hero-dark .path .go { color: #fff; }
.hero-dark .path .label { font-size: clamp(2rem, 5vw, 2.8rem); }
.trust-row { list-style: none; margin: 0; padding: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 2rem; border-top: 1px solid rgba(255,255,255,.12); color: #AEB4C8; font-size: .9rem; font-weight: 600; }
.trust-row li { display: flex; align-items: center; gap: .55rem; }
.trust-row li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--grad); flex: none; }

.showcase { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .showcase { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .showcase { grid-template-columns: repeat(3, 1fr); } .show-main { grid-row: span 2; } }
.show-card { display: grid; gap: .7rem; align-content: start; padding: 1.6rem; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; position: relative; overflow: hidden; }
.show-card:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -32px rgba(20,33,61,.55); }
.show-card::after { content: ""; position: absolute; right: -2.5rem; top: -2.5rem; width: 7rem; height: 7rem; border-radius: 50%; background: var(--pc, var(--brand)); opacity: .12; }
.show-card h3 { font-size: 1.6rem; }
.show-card p { color: var(--muted); }
.show-card .go { font-weight: 700; color: var(--brand-strong); }
.show-card .btn-ghost { justify-self: start; padding-inline: 0; min-height: auto; }
.pill { justify-self: start; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--brand-strong); background: var(--brand-soft); border-radius: 99px; padding: .25rem .7rem; }
.show-main { background: var(--ink); color: #fff; border-color: var(--ink); align-content: end; min-height: 18rem; }
.show-main::after { width: 22rem; height: 22rem; right: -6rem; top: -8rem; background: var(--grad); opacity: .45; filter: blur(30px); }
.show-main h3 { font-size: clamp(2rem, 5vw, 3rem); }
.show-main p { color: #CBD0E0; font-size: 1.1rem; }
.show-main .go { color: #fff; }
.show-main .pill { background: rgba(255,255,255,.12); color: #fff; }
.show-main > * { position: relative; z-index: 1; }

.principles { display: grid; gap: 1.5rem 2rem; }
@media (min-width: 40rem) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles > div { display: grid; gap: .5rem; align-content: start; padding-top: 1.1rem; border-top: 2px solid var(--ink); }

.panel-grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .panel-grid { grid-template-columns: repeat(3, 1fr); } }
.panel-card { display: grid; gap: .6rem; align-content: start; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.panel-viz { height: 5.5rem; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); margin-bottom: .4rem; position: relative; overflow: hidden; }
.panel-viz.v0 { background: linear-gradient(90deg, var(--brand) 0 72%, var(--brand-soft) 72%) left 1rem top 1.3rem / calc(100% - 2rem) .55rem no-repeat, linear-gradient(90deg, #8B5CF6 0 54%, var(--brand-soft) 54%) left 1rem top 2.5rem / calc(100% - 2rem) .55rem no-repeat, linear-gradient(90deg, #4C8DF6 0 88%, var(--brand-soft) 88%) left 1rem top 3.7rem / calc(100% - 2rem) .55rem no-repeat, var(--paper); }
.panel-viz.v1::before { content: "4,6"; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font: 800 2.4rem/1 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel-viz.v1::after { content: "promedio de ejemplo"; position: absolute; left: 5.6rem; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--muted); }
.panel-viz.v2 { background: linear-gradient(to top, #EE6FB0 0 80%, transparent 80%) 1rem 100% / 1.4rem 100% no-repeat, linear-gradient(to top, #8B5CF6 0 55%, transparent 55%) 3rem 100% / 1.4rem 100% no-repeat, linear-gradient(to top, #4C8DF6 0 35%, transparent 35%) 5rem 100% / 1.4rem 100% no-repeat, linear-gradient(to top, var(--line) 0 20%, transparent 20%) 7rem 100% / 1.4rem 100% no-repeat, var(--paper); }

.mock { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 18px 40px -30px rgba(20,33,61,.5); }
.mock-bar { display: flex; gap: .35rem; padding: .6rem .8rem; background: var(--pc); }
.mock-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: rgba(255,255,255,.7); }
.mock-body { padding: 1rem; display: grid; gap: .5rem; align-content: start; }
.mock-body > span { height: .55rem; border-radius: 4px; background: var(--line); width: 70%; }
.mock-body > span.mock-title { height: .9rem; width: 45%; background: color-mix(in srgb, var(--pc) 45%, var(--line)); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .4rem; }
.mock-cards b { height: 3.2rem; border-radius: 8px; background: color-mix(in srgb, var(--pc) 14%, var(--paper)); border: 1px solid color-mix(in srgb, var(--pc) 25%, var(--line)); }

/* Encabezado oscuro con la marca real */
.site-header { background: color-mix(in srgb, var(--ink) 94%, transparent); border-bottom-color: rgba(255,255,255,.08); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.brand img { width: 2.6rem; height: auto; }
.brand span { display: grid; line-height: 1.05; }
.brand b { font: 700 1.1rem var(--f-display); letter-spacing: -.01em; }
.brand small { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: #AEB4C8; margin-top: .2rem; }
.nav a { color: #E3E5EF; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 30rem) { .brand img { width: 2.1rem; } .brand b { font-size: .95rem; } .brand small { display: none; } }
.footer-logo { width: 9rem; margin-bottom: .5rem; }
.product-logo { width: 9.5rem; }
.ficha-logo img { width: min(100%, 22rem); max-height: 11rem; object-fit: contain; object-position: left center; }
.ficha-title { display: flex; align-items: center; gap: 1rem; }
.ficha-title img { width: clamp(3.5rem, 10vw, 5.5rem); height: auto; }
.show-icon { width: 3.4rem; height: 3.4rem; object-fit: contain; }
.show-main .show-icon { width: 4.5rem; height: 4.5rem; }
.app-icon { border-radius: 14px; }

/* En qué creemos */
.values-section { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.values-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(34rem 22rem at 100% 0%, rgba(139,92,246,.45), transparent 60%), radial-gradient(28rem 20rem at 0% 100%, rgba(76,141,246,.3), transparent 60%); }
.values-section .eyebrow { color: #C9C1FF; }
.belief { font: 700 clamp(1.6rem, 4.2vw, 2.8rem)/1.2 var(--f-display); letter-spacing: -.015em; max-width: 52rem; text-wrap: balance; }
.values { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .values { grid-template-columns: repeat(4, 1fr); } }
.values > div { display: grid; gap: .5rem; align-content: start; padding: 1.4rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.values h3 { font-size: 1.15rem; }
.values p { color: #CBD0E0; }

/* ============================================================
   Tema de marca: fondos azul marino y morado profundo, degradado de la nube
   (magenta, violeta, azul, cian), amarillo como acento puntual y formas redondeadas.
   ============================================================ */
:root {
  --bg: #0B1033;
  --bg-2: #1B1446;
  --card: rgba(255, 255, 255, .055);
  --ink: #F4F5FF;
  --muted: #B4B9DC;
  --brand: #6B5BD6;
  --brand-strong: #C9BCFF;
  --brand-soft: rgba(124, 108, 240, .2);
  --paper: var(--bg);
  --surface: var(--card);
  --line: rgba(255, 255, 255, .13);
  --yellow: #FFB800;
  --cian: #7FE3F7;
  --grad: linear-gradient(100deg, #C13CF2 0%, #6B5BD6 38%, #2F6BFF 70%, #22D3EE 100%);
  --f-display: "Fredoka", "Figtree", "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
  color-scheme: dark;
}
html { background: var(--bg); }
body { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%) fixed; color: var(--ink); }
h1, h2, h3 { letter-spacing: -.005em; }
h1 { font-weight: 700; } h2 { font-weight: 600; } h3 { font-weight: 600; }
a { color: var(--brand-strong); }
::selection { background: #6B5BD6; color: #fff; }
.eyebrow { color: var(--cian); }
.grad, .hero h1 .grad, .hero-dark .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section, .section + .section { border-top: 0; }
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-tight { padding-block: 0 1rem; }
.section-head h2 + .muted { font-size: 1.08rem; }

/* Encabezado y botón de demo */
.site-header { background: rgba(11, 16, 51, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { gap: .75rem; }
.brand img { width: 3.1rem; }
.brand b { font-weight: 600; font-size: 1.2rem; }
.nav { margin-left: auto; }
.nav a { border-radius: 999px; padding: .5rem .85rem; }
.nav a:hover { background: rgba(255, 255, 255, .08); }
.btn { font-family: var(--f-display); font-weight: 600; letter-spacing: .005em; }
.btn-primary { background: var(--grad); background-size: 140% 100%; color: #fff; box-shadow: 0 10px 28px -10px rgba(107, 91, 214, .9); transition: transform .15s ease, box-shadow .15s ease, background-position .3s ease; }
.btn-primary:hover { background: var(--grad); background-size: 140% 100%; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(47, 107, 255, .9); }
.btn-ghost { color: #fff; }
.btn-ghost:hover { color: var(--cian); }
.btn-nav { min-height: 2.6rem; padding: .5rem 1.15rem; font-size: .95rem; }
@media (max-width: 47.99rem) { .btn-nav { display: none; } }
@media (max-width: 30rem) { .brand img { width: 2.4rem; } .nav a { padding: .4rem .55rem; } }

/* Héroes */
.hero, .hero-dark { position: relative; overflow: hidden; background: transparent; color: var(--ink); isolation: isolate; }
.hero { padding-block: 4rem 3.5rem; }
.hero::before, .hero-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(42rem 28rem at 88% -12%, rgba(193, 60, 242, .42), transparent 62%),
  radial-gradient(34rem 24rem at 4% 108%, rgba(47, 107, 255, .34), transparent 62%),
  radial-gradient(26rem 18rem at 62% 118%, rgba(34, 211, 238, .2), transparent 62%); }
.hero-dark h1, .hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.3rem); line-height: 1.05; }
.hero-dark .lead, .hero .lead, .lead { color: #CDD2EE; }
.eyebrow a, .hero-dark .eyebrow a { color: inherit; }
.h1-kicker { display: block; font: 700 .8rem/1.4 var(--f-body); letter-spacing: .13em; text-transform: uppercase; color: var(--cian); margin-bottom: .7rem; }
.hero-producto h1 { font-size: clamp(2.2rem, 5.6vw, 3.7rem); }
.hero-producto .grad { background: linear-gradient(100deg, var(--pc, #C13CF2), #C13CF2 160%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ficha-logo { width: auto; max-width: min(100%, 15rem); max-height: 7.5rem; object-fit: contain; object-position: left center; }
.ficha-title { display: flex; align-items: center; gap: .8rem; font: 600 clamp(1.6rem, 4vw, 2.2rem)/1 var(--f-display); margin: 0; }
.ficha-title img { width: 4rem; height: auto; }
.hero-visual { position: relative; display: grid; place-items: center; min-width: 0; }
.hero-visual img.float { width: min(100%, 30rem); height: auto; border-radius: 28px;
  -webkit-mask-image: linear-gradient(#000 80%, transparent), linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(#000 80%, transparent), linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect; }
.float { animation: flotar 7s ease-in-out infinite; }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Speakora: ruta de niveles */
.ruta { gap: 1.25rem; padding: 2rem 1.5rem; border-radius: 32px; background: var(--card); border: 1px solid var(--line); }
.ruta img.ruta-icono { width: 7.5rem; height: auto; -webkit-mask-image: none; mask-image: none; border-radius: 0; }
.niveles { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: .55rem; }
.niveles li { display: grid; place-items: center; width: clamp(2.9rem, 9vw, 3.8rem); height: calc(2.9rem + var(--k) * 1.05rem); border-radius: 16px; background: linear-gradient(180deg, #22D3EE, #2F6BFF 70%, #6B5BD6); font: 600 1.05rem var(--f-display); color: #fff; box-shadow: 0 12px 26px -14px rgba(34, 211, 238, .9); }
.niveles li:last-child { background: linear-gradient(180deg, #FFB800, #C13CF2); }
.ruta-nota { font-size: .9rem; color: var(--muted); text-align: center; }
.ruta-mini { display: flex; align-items: flex-end; justify-content: center; gap: .4rem; padding: 1.2rem; }
.ruta-mini b { display: grid; place-items: center; width: 2.6rem; border-radius: 12px; background: linear-gradient(180deg, #22D3EE, #2F6BFF); font: 600 .9rem var(--f-display); color: #fff; }
.ruta-mini b:nth-child(1) { height: 2.2rem; } .ruta-mini b:nth-child(2) { height: 2.9rem; } .ruta-mini b:nth-child(3) { height: 3.6rem; } .ruta-mini b:nth-child(4) { height: 4.3rem; } .ruta-mini b:nth-child(n+5) { height: 5rem; }

/* Chips y píldoras */
.chips li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); color: #EDEFFF; padding: .38rem .9rem; font-size: .88rem; }
.hero-producto .chips li:first-child { border-color: color-mix(in srgb, var(--pc) 70%, transparent); }
.pill { background: rgba(127, 227, 247, .12); color: #9BEAFA; }

/* Tarjetas comunes */
.steps li, .plan, .case, .panel-card, .demo-card, .form, .person, .facts div, .faq details, .product, .show-card, .card, .map, .path, .values > div {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
}
.show-card, .product, .path, .card, .steps li, .plan { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.show-card:hover, .product:hover, .path:hover, .hero-dark .path:hover { transform: translateY(-4px); border-color: rgba(127, 227, 247, .5); box-shadow: 0 26px 50px -32px rgba(34, 211, 238, .7); }
.show-card p, .path p { color: var(--muted); }
.show-card .go, .product .go, .path .go, .hero-dark .path .go { color: var(--cian); }
.show-card::after { opacity: .22; filter: blur(8px); }
.show-main { background: linear-gradient(150deg, rgba(193, 60, 242, .32), rgba(47, 107, 255, .24) 60%, rgba(34, 211, 238, .16)); border-color: rgba(255, 255, 255, .2); }
.show-card .chips { margin-top: .2rem; } .show-card .chips li { font-size: .78rem; padding: .25rem .65rem; }
.path, .hero-dark .path { backdrop-filter: none; background: var(--card); border: 1px solid var(--line); }
.path .label { font-weight: 700; }

.cards { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards.n3, .cards.n6 { grid-template-columns: repeat(3, 1fr); } .cards.n4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: grid; gap: .5rem; align-content: start; padding: 1.5rem; }
.card:hover { border-color: rgba(255, 255, 255, .28); }
.card-tag { font: 600 1.5rem/1.1 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.cards.n4 .card-tag { font: 700 .75rem/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--cian); background: none; }

.steps li { padding: 1.6rem; }
.steps li::before { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--grad); color: #fff; -webkit-background-clip: border-box; background-clip: border-box; font-weight: 700; font-size: 1.4rem; }
@media (min-width: 48rem) { .steps.n4 { grid-template-columns: repeat(4, 1fr); } .steps.n2 { grid-template-columns: repeat(2, 1fr); } }
.steps-note { margin-top: 1.25rem; color: var(--muted); font-size: 1.05rem; }

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.rows li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.rows h3 { font-size: 1.08rem; } .rows p { font-size: .95rem; }
.row-tag { display: grid; place-items: center; min-width: 2.9rem; height: 2.9rem; padding-inline: .4rem; border-radius: 12px; font: 700 1rem var(--f-display); color: #0B1033; background: #D56BF7; }
.rows li:nth-child(2) .row-tag { background: #9D90FA; } .rows li:nth-child(3) .row-tag { background: #6FA4FB; } .rows li:nth-child(4) .row-tag { background: #22D3EE; } .rows li:nth-child(n+5) .row-tag { background: var(--yellow); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; color: #D5D9F2; }
.checks li::before { content: ""; width: 1.5rem; height: 1.5rem; margin-top: .1rem; border-radius: 50%; background: #1DD3A7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1033' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checks strong { color: #fff; }

/* Cifras */
.stats { padding-block: 0 1rem; }
.cifras { list-style: none; margin: 0; padding: 1.6rem; display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(2, 1fr); border-radius: 28px; background: linear-gradient(120deg, rgba(193, 60, 242, .2), rgba(47, 107, 255, .18) 55%, rgba(34, 211, 238, .16)); border: 1px solid rgba(255, 255, 255, .16); }
@media (min-width: 56rem) { .cifras { grid-template-columns: repeat(4, 1fr); padding: 2rem 2.4rem; } }
.cifras li { display: grid; gap: .25rem; align-content: start; }
.cifras b { font: 700 clamp(2.2rem, 6vw, 3.4rem)/1 var(--f-display); font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.cifras li:nth-child(3) b { background: none; color: var(--yellow); }
.cifras span { color: #D5D9F2; font-size: .98rem; }

/* Productos (tarjetas con captura) */
.product { border-top: 1px solid var(--line); padding: 1.3rem; gap: .9rem; position: relative; overflow: hidden; }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--pc, var(--grad)); }
.product-shot { display: grid; place-items: center; height: 12.5rem; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--pc, #6B5BD6) 30%, transparent), transparent 70%), rgba(255, 255, 255, .04); }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.product-shot.ruta-mini { display: flex; }
.product-head { display: flex; align-items: center; gap: .8rem; }
.product-head > span { display: grid; gap: .3rem; justify-items: start; }
.product-head h3 { font-size: 1.45rem; }
.facts dt { color: var(--cian); } .facts dd { color: #fff; }
.shots img { border-radius: var(--radius); border: 1px solid var(--line); }
.shot { background: var(--card); }

/* Zafyra y otros bloques heredados */
.demo-card { background: rgba(23, 28, 75, .92); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.pdf-icon { background: #FFD9DD; }
.quiz li { border-color: var(--line); } .quiz li.ok { border-color: #1DD3A7; background: rgba(29, 211, 167, .14); }
.progress { background: rgba(255, 255, 255, .12); }
.demo-arrow { color: var(--cian); }
.offer { background: linear-gradient(120deg, rgba(193, 60, 242, .32), rgba(47, 107, 255, .3) 60%, rgba(34, 211, 238, .22)); border: 1px solid rgba(255, 255, 255, .18); border-radius: 28px; }
.offer::after { display: none; }
.offer .eyebrow { color: var(--yellow); } .offer p { color: #E3E6FA; }
.plan.destacado { border: 2px solid var(--yellow); }
.plan .tag { background: var(--yellow); color: #2A1D00; }
.plan .amount small { color: var(--muted); }
.case .result { color: var(--cian); }
.panel-viz { background: rgba(255, 255, 255, .05); border-color: var(--line); }
.panel-viz.v0 { background: linear-gradient(90deg, #C13CF2 0 72%, rgba(255,255,255,.12) 72%) left 1rem top 1.3rem / calc(100% - 2rem) .55rem no-repeat, linear-gradient(90deg, #6B5BD6 0 54%, rgba(255,255,255,.12) 54%) left 1rem top 2.5rem / calc(100% - 2rem) .55rem no-repeat, linear-gradient(90deg, #22D3EE 0 88%, rgba(255,255,255,.12) 88%) left 1rem top 3.7rem / calc(100% - 2rem) .55rem no-repeat, rgba(255,255,255,.05); }
.panel-viz.v2 { background: linear-gradient(to top, #C13CF2 0 80%, transparent 80%) 1rem 100% / 1.4rem 100% no-repeat, linear-gradient(to top, #6B5BD6 0 55%, transparent 55%) 3rem 100% / 1.4rem 100% no-repeat, linear-gradient(to top, #22D3EE 0 35%, transparent 35%) 5rem 100% / 1.4rem 100% no-repeat, linear-gradient(to top, rgba(255,255,255,.2) 0 20%, transparent 20%) 7rem 100% / 1.4rem 100% no-repeat, rgba(255,255,255,.05); }
.faq summary::after { color: var(--cian); }
.faq details p { color: var(--muted); }
.principles > div { border-top: 3px solid transparent; border-image: var(--grad) 1; padding-top: 1.2rem; }
.empty { border-color: var(--line); }

/* Cierre y formularios */
.closing { background: linear-gradient(120deg, #B235E3, #6B5BD6 40%, #2F6BFF 78%, #1FB6D6); border-radius: 30px; padding: clamp(1.8rem, 5vw, 3rem); color: #fff; }
.closing .lead { color: #F1F0FF; }
.closing .btn-primary, .closing .btn-primary:hover { background: #0B1033; box-shadow: none; }
.field input, .field select { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 14px; }
.field select option { background: #171C4B; color: #fff; }
.field input::placeholder { color: #8E94BD; }
.consent { color: var(--muted); }
.form-msg { background: rgba(29, 211, 167, .16); border: 1px solid rgba(29, 211, 167, .5); }
.form-msg.error { background: rgba(255, 99, 99, .16); border-color: rgba(255, 99, 99, .5); color: #FFD9D9; }

/* Equipo, valores, contacto */
.team { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); max-width: 46rem; }
.person { padding: 1.3rem; gap: 1.2rem; }
.avatar { width: 5.5rem; height: 5.5rem; font-size: 1.7rem; background: var(--grad); box-shadow: 0 0 0 3px rgba(255, 255, 255, .14); }
.values-section { background: transparent; }
.values-section::before { background: radial-gradient(34rem 22rem at 100% 0%, rgba(193, 60, 242, .28), transparent 62%), radial-gradient(28rem 20rem at 0% 100%, rgba(34, 211, 238, .2), transparent 62%); }
.values-section .eyebrow { color: var(--cian); }
.data-list div { border-bottom-color: var(--line); }
.map a { color: var(--cian); }
.prose h2 { color: #fff; } .prose { color: #D5D9F2; }
mark.pendiente { background: var(--yellow); color: #2A1D00; }

/* Pie */
.site-footer { background: rgba(6, 9, 32, .75); border-top: 1px solid var(--line); color: #B4B9DC; }
.trust-row { border-top-color: var(--line); color: #C3C8E8; }

/* Aparición al hacer scroll: todo es visible por defecto; solo se anima si el navegador lo permite. */
html.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
html.anim .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.anim .rv { opacity: 1; transform: none; } .float { animation: none; } }


/* ===== Navegación, celular y acabados ===== */
html { overflow-x: clip; }
body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }
h1, h2, h3, p, li, dd, a { overflow-wrap: break-word; }

/* Encabezado */
.site-header .wrap { min-height: 4.25rem; }
.brand { flex: none; }
.nav { display: flex; align-items: center; gap: .15rem; flex-wrap: nowrap; margin-left: auto; }
.nav .btn-nav { margin-left: .6rem; color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 2.9rem; height: 2.9rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); cursor: pointer; padding: 0; place-items: center; }
.nav-toggle span { display: block; width: 1.25rem; height: 2px; border-radius: 2px; background: #fff; margin: 2.5px auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 56rem) {
  html.js .nav-toggle { display: grid; }
  html.js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .25rem; padding: .8rem 1rem 1.2rem; background: rgba(11, 16, 51, .98); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .7); }
  html.js .site-header.abierto .nav { display: flex; }
  html.js .nav a { font-size: 1.1rem; padding: .85rem 1rem; border-radius: 14px; }
  html.js .nav .btn-nav { display: inline-flex; margin: .5rem 0 0; min-height: 3.2rem; }
  html:not(.js) .nav { flex-wrap: wrap; justify-content: flex-end; }
  html:not(.js) .nav .btn-nav, html:not(.js) .nav-contacto { display: none; }
  .brand span { display: grid; }
}
.site-header { position: sticky; }
.site-header .wrap { position: relative; }

/* Migas */
.migas { font-size: .85rem; color: var(--muted); padding-block: .7rem 0; position: relative; z-index: 3; margin-bottom: -2.2rem; }
.migas .wrap { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.migas a { color: var(--muted); text-decoration: none; } .migas a:hover { color: #fff; text-decoration: underline; }
.migas a::after { content: "›"; margin-left: .35rem; opacity: .6; }
.migas span { color: #E3E6FA; }

/* Ritmo entre secciones */
.section { position: relative; }
main > .section:nth-of-type(even) { background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, 0)); }
main > .section + .section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(72rem, 100% - 2rem); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(193, 60, 242, .5), rgba(34, 211, 238, .5), transparent); }
.section-head { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.card, .steps li, .plan, .panel-card, .show-card, .product { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.card:hover, .steps li:hover, .plan:hover, .panel-card:hover { transform: translateY(-3px); border-color: rgba(127, 227, 247, .4); }
.panel-card { transition: transform .2s ease, border-color .2s ease; }
.btn:active { transform: translateY(0) scale(.98); }
a.btn-ghost { text-underline-offset: .25em; } a.btn-ghost:hover { text-decoration: underline; }

/* Pie con mapa del sitio */
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-grid .btn { margin-top: 1rem; min-height: 2.8rem; padding: .6rem 1.2rem; font-size: .95rem; }
.footer-grid a { text-decoration: none; } .footer-grid a:hover { text-decoration: underline; }

/* Barra fija en celular */
.cta-movil { display: none; }
@media (max-width: 40rem) {
  .cta-movil { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: .6rem 5.2rem calc(.6rem + env(safe-area-inset-bottom, 0px)) 1rem; background: linear-gradient(180deg, rgba(11, 16, 51, 0), rgba(11, 16, 51, .96) 35%); transform: translateY(110%); transition: transform .25s ease; }
  .cta-movil.visible { transform: none; }
  .cta-movil .btn { width: 100%; min-height: 3rem; }
  .wa-float { bottom: calc(.55rem + env(safe-area-inset-bottom, 0px)); width: 3.1rem; height: 3.1rem; }
  .site-footer { padding-bottom: 7rem; }
}

/* Tamaños y espacios por pantalla */
@media (max-width: 40rem) {
  .hero-dark, .hero { padding-block: 3.2rem 2.5rem; }
  .hero-dark h1, .hero h1 { font-size: clamp(2rem, 9.2vw, 2.7rem); }
  .hero-producto h1 { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .lead { font-size: 1.05rem; }
  .cta-row { gap: .6rem 1rem; } .cta-row .btn-primary { width: 100%; }
  .hero-visual img.float { width: min(100%, 21rem); }
  .cifras { padding: 1.2rem; gap: 1.1rem .8rem; } .cifras b { font-size: clamp(1.9rem, 9vw, 2.4rem); } .cifras span { font-size: .9rem; }
  .path, .hero-dark .path { padding: 1.4rem 1.2rem; }
  .facts { grid-template-columns: 1fr 1fr; } .facts div:last-child { grid-column: 1 / -1; }
  .form { padding: 1.1rem; } .closing { padding: 1.5rem 1.2rem; }
  .trust-row { gap: .5rem 1rem; font-size: .82rem; }
  .data-list div { grid-template-columns: 1fr; gap: .1rem; }
  .niveles li { width: 2.7rem; }
  .show-main { min-height: 0; }
  .offer { padding: 1.4rem; }
}
@media (min-width: 40.01rem) and (max-width: 63.99rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual img.float { width: min(100%, 26rem); }
  .steps { grid-template-columns: repeat(2, 1fr); } .steps.n3 li:last-child { grid-column: 1 / -1; }
  .plans, .panel-grid, .products { grid-template-columns: repeat(2, 1fr); }
  .cards.n4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 100rem) { :root { --wrap: 78rem; } body { font-size: 1.125rem; } }
@media (max-height: 30rem) and (orientation: landscape) { .site-header { position: static; } .hero-dark, .hero { padding-block: 2rem; } }

/* Tarjetas con enlace (casos de uso y artículos) y lectura de artículos */
a.card-link { text-decoration: none; color: var(--ink); }
a.card-link:hover { transform: translateY(-4px); border-color: rgba(127, 227, 247, .5); box-shadow: 0 26px 50px -32px rgba(34, 211, 238, .7); }
a.card-link .go { color: var(--cian); font-weight: 700; margin-top: .3rem; }
.card-tag-s { font: 700 .75rem/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--cian); }
.prose { font-size: 1.08rem; }
.prose p, .prose li { color: #D5D9F2; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1rem; }
.prose strong { color: #fff; }

/* Zafyra: video y capturas del producto */
.video-box { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #060920; box-shadow: 0 40px 80px -50px rgba(47, 107, 255, .9); max-width: 60rem; }
.video-box video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
.shots-grandes { grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 48rem) { .shots-grandes { grid-template-columns: repeat(2, 1fr); } }
.shots figure { margin: 0; display: grid; gap: .6rem; }
.shots figure img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.shots figcaption { color: var(--muted); font-size: .95rem; }
