/* ==========================================================
   Rockbu — landing v5
   Sistema visual del hero v2: Manrope + Instrument Serif,
   fondo #FAFBFE, tinta #101318, azul #2563EB, cian #26BDDF.
   ========================================================== */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #FAFBFE;
  --white: #FFFFFF;
  --soft: #F3F6FC;
  --ink: #101318;
  --ink-2: #2A3040;
  --body: #3D4352;
  --muted: #4B5263;
  --faint: #8A91A3;
  --line: #E1E6F2;
  --line-2: #E6E9F2;
  --chip: #F1F4FB;
  --blue: #2563EB;
  --blue-d: #1D4FD0;
  --blue-50: #EEF3FF;
  --blue-100: #DDE6FF;
  --cyan: #26BDDF;
  --dark: #0B0E14;
  --on-dark: #C3CAD9;
  --accent-dark: #8FB4FF;

  --f: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --shadow: 0 30px 60px -32px rgba(16,19,24,.28), 0 2px 6px rgba(16,19,24,.04);
  --shadow-sm: 0 24px 48px -26px rgba(16,19,24,.3);
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: clamp(16px, 3vw, 24px);
  --section: clamp(84px, 9vw, 136px);
}

/* ==========================================================
   TIPOGRAFÍA · única fuente de verdad
   Todos los tamaños, pesos, interlineados y tracking de la web
   se definen AQUÍ. El resto del CSS no declara ninguno.

   Pesos:  800 titulares y cifras · 700 títulos pequeños, etiquetas,
           botones y negritas · 500 interfaz secundaria · 400 texto

   Escala:
   display  56 → 38  H1 del hero y frase grande
   h2       46 → 32  titulares de sección
   h3       32 → 24  subtítulos de bloque, cifras
   h4       20 → 18  títulos de tarjeta, preguntas FAQ
   lead     19 → 17  entradillas y párrafos destacados
   body     16       texto corriente
   ui       15       botones, menú, interfaz
   small    14       notas y textos secundarios
   label    13       etiquetas en mayúsculas
   xs       12       microtextos de las maquetas
   ========================================================== */
:root {
  --fs-display: clamp(38px, 3.9vw, 56px);
  --fs-h2: clamp(32px, 3.2vw, 46px);
  --fs-h3: clamp(24px, 2.2vw, 32px);
  --fs-h4: clamp(18px, 1.4vw, 20px);
  --fs-lead: clamp(17px, 1.3vw, 19px);
  --fs-body: 16px;
  --fs-ui: 15px;
  --fs-small: 14px;
  --fs-label: 13px;
  --fs-xs: 12px;
  --fs-price: clamp(56px, 6vw, 80px);

  --lh-tight: 1.06;
  --lh-head: 1.15;
  --lh-snug: 1.35;
  --lh-text: 1.6;

  --ls-display: -.035em;
  --ls-head: -.025em;
  --ls-title: -.01em;
  --ls-label: .12em;
}

body { font-size: var(--fs-body); font-weight: 400; line-height: var(--lh-text); }
b, strong, .hl, .ph, .checklist b, .g-list b, .growth-note b { font-weight: 700; }

/* Display */
.hero-title, .scroll-words {
  font-size: var(--fs-display); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--ls-display); }

/* H2 · titulares de sección (todos iguales) */
h2, .guarantee h2, h3.note-title, .legal h1 {
  font-size: var(--fs-h2); font-weight: 800; line-height: 1.08; letter-spacing: var(--ls-display); }

/* H3 · subtítulos de bloque y cifras grandes */
h3, .footer-claim, .footer-mail, .help-close-t, .how-cta-t, .smp-ask-t, .smx-title, .smx-price, .cv-card h3, .feature-copy h3, .takeaway-h, .qtitle,
.stat-num, .kpi-n, .marquee-track span {
  font-size: var(--fs-h3); font-weight: 800; line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.marquee-track span { letter-spacing: var(--ls-display); }

/* H4 · títulos de tarjeta */
.chat-q, .legal h2, .kpi-h, .mnav-inner > a, .final-path h3, .smp-t, .g-steps h3, .how-step h3, .card h3, .outcome h3, .concept h3, .fq summary, .gbp-title, .quiz-kicker,
.score b, .r-kpis b {
  font-size: var(--fs-h4); font-weight: 700; line-height: var(--lh-snug); letter-spacing: var(--ls-title); }
.score b, .r-kpis b { font-weight: 800; line-height: 1.1; }

/* Lead · entradillas */
.hero-sub, .sec-sub, .cv-promise, .how-lead, .help-lead, .feature-copy > p:not(.kicker), .about-copy > p:not(.eyebrow),
.final-lead, .prompt-text, .qdone-text {
  font-size: var(--fs-lead); font-weight: 400; line-height: var(--lh-text); }
.prompt-text { font-weight: 700; line-height: var(--lh-snug); }

/* Body · texto corriente */
.checklist li, .legal p, .legal li, .legal td, .legal th, .footer-desc, .smp-p, .smx-text, .how-step p:not(.how-tag), .cv-card p, .cv-final-note, .g-steps p, .g-foot, .help-body > p:not(.kicker):not(.help-tags), .help-close-s, .card p, .outcome p, .concept p, .g-list p, .note-honest, .fq-body,
.final-path p, .growth-note p, .quote-card, .qfield input, .qfield textarea, .qhelp {
  font-size: var(--fs-body); line-height: var(--lh-text); }
.checklist li, .g-list p { line-height: 1.5; }
.quote-card { font-weight: 500; line-height: 1.5; }

/* UI · botones, menú e interfaz */
.btn, .btn-lg, .smp-link, .smp-pick, .cv-benefits li, .pay-split b, .nav, .hero-id b, .me-chip b, .chat-a p, .r-title, .cookie-title,
.qopt-t, .qback, .site-footer, .footer-links a, .footer-name, .footer-place {
  font-size: var(--fs-ui); line-height: var(--lh-snug); }
.btn, .footer-name, .smp-link, .smp-pick, .pay-split b, .hero-id b, .me-chip b, .r-title, .cookie-title { font-weight: 700; }
.nav, .qopt-t, .chip, .kpi-t, .help-tags span, .cv-benefits li { font-weight: 500; }
.btn-lg { font-size: var(--fs-body); }

/* Small · notas y secundarios */
.cta-micro, .hero-id span, .me-chip span, .chip, .kpi-t, .kpi-s, .help-tags span, .gbp-meta, .gbp-open,
.ai-float p, .smp-note, .smx-micro, .smx-note, .smx-thumb span, .price-note, .price-sub, .pay-split span, .cv-note, .concepts-note, .stat-label, .footer-bottom, .quiz-sub, .qfield span,
.qcheck, .qerror, .qnote, .quiz-foot, .cookie, .switch, .btn-sm, .prompt-copy, .photo-tag, .code-card pre {
  font-size: var(--fs-small); line-height: 1.5; }
.btn-sm, .prompt-copy, .photo-tag { font-weight: 700; }
.qfield span { font-weight: 500; }
.code-card pre { line-height: 1.7; }

/* Label · etiquetas en mayúsculas */
.eyebrow, .trust-label, .kicker, .mini-label, .footer-h {
  font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; line-height: 1.4; }
.row-n, .g-n, .how-n, .price-incl, .gbp-actions span { font-size: var(--fs-label); font-weight: 700; }

/* XS · microtextos de maquetas */
.stars, .web-url, .score span, .code-head, .tag, .how-tag, .smp-tag,
.r-sub, .r-kpis span, .r-kpis em, .illustrative, .chat-note, .kpi-tags, .concept-tag, .qlegal, .quiz-count {
  font-size: var(--fs-xs); line-height: 1.45; }
.tag, .how-tag, .smp-tag, .concept-tag, .r-kpis em { font-weight: 700; }
.stars { letter-spacing: 1px; }

/* Precio */
.price { font-size: var(--fs-price); font-weight: 800; line-height: 1; letter-spacing: -.045em; }

/* IVA junto al precio */
/* (price-incl = etiqueta; peso 700 por el grupo label) */
.price .iva { font-size: var(--fs-h4); font-weight: 500; letter-spacing: 0; color: var(--on-dark); white-space: nowrap; }

/* Acento en cursiva: siempre el mismo, relativo a su titular */
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08em; line-height: 1; letter-spacing: -.01em; }
.quote-card cite { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--fs-h4); }

/* Interlineados compactos de bloques con nombre + cargo */
.hero-id p, .me-chip p, .report-head p { line-height: var(--lh-snug); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }

.accent { font-family: var(--serif); font-style: italic; color: var(--blue); padding-right: .04em; }
.dark .accent, .price-card .accent { color: var(--accent-dark); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.dark .eyebrow { color: #D7DDEA; }
.dark .eyebrow .dot { background: var(--cyan); }

.sec-head { text-align: center; max-width: 780px; margin: 0 auto clamp(44px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 18px; }
.sec-sub { color: var(--body); max-width: 58ch; margin: 0 auto; }

/* ---------- Botones ---------- */
.btn { appearance: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { height: 56px; padding: 0 30px; }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 14px 30px -14px rgba(37,99,235,.65); }
.btn-primary:hover { background: #000; box-shadow: 0 0 0 6px rgba(37,99,235,.14), 0 18px 34px -14px rgba(37,99,235,.75); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 16px 36px -16px rgba(0,0,0,.5); }
.btn-white:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.2), 0 16px 36px -16px rgba(0,0,0,.5); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,251,254,.92); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.site-header.scrolled { background: rgba(250,251,254,.94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: var(--line-2); }
.header-inner { height: 70px; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; color: var(--ink); fill: var(--ink); text-decoration: none; }
.logo svg { fill: currentColor; display: block; }
.logo-dot { fill: var(--blue); }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { position: relative; color: var(--body); text-decoration: none; padding: 6px 0; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); opacity: 0; transform: scale(0); transition: opacity .25s ease, transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]::after { opacity: 1; transform: none; }
.nav a:focus-visible, .nav-toggle:focus-visible, .mnav a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); height: 42px; padding: 0 18px; box-shadow: none; transition: background .25s ease, color .25s ease; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--line-2); background: rgba(250,251,254,.98); }
.mnav-inner { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 28px; }
.mnav-inner > a { color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.mnav-inner .btn { margin-top: 24px; justify-content: center; }
.mnav-mail { margin: 16px 0 0; text-align: center; }
.mnav-mail a { color: var(--muted); text-decoration: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-block; }
}
@media (max-width: 420px) { .header-cta { display: none; } }
@media (min-width: 901px) { .mnav { display: none !important; } }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: calc(100svh - 70px); display: flex; align-items: center; padding: clamp(32px, 3.5vw, 48px) 0 clamp(48px, 5vw, 72px); }

/* Fondo animado */
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hx-dots { position: absolute; inset: 0; background-image: radial-gradient(#C9D2E8 1px, transparent 1.2px); background-size: 22px 22px; opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); animation: hxDots 60s linear infinite; }
@keyframes hxDots { to { background-position: 220px 110px; } }
.hx-mesh { position: absolute; left: 38%; right: -12%; top: -6%; bottom: -6%; filter: blur(64px) saturate(1.1); opacity: .9; }
.hx-mesh i { position: absolute; border-radius: 50%; will-change: transform; }
.hx-mesh i:nth-child(1) { width: 34vw; height: 34vw; left: 8%; top: 20%; background: rgba(38,189,223,.42); animation: hxA 18s ease-in-out infinite alternate; }
.hx-mesh i:nth-child(2) { width: 30vw; height: 30vw; right: 6%; top: 34%; background: rgba(37,99,235,.32); animation: hxB 22s ease-in-out infinite alternate; }
.hx-mesh i:nth-child(3) { width: 28vw; height: 28vw; left: 30%; top: 4%; background: rgba(205,218,255,.95); animation: hxC 20s ease-in-out infinite alternate; }
.hx-mesh i:nth-child(4) { width: 18vw; height: 18vw; left: 46%; bottom: 6%; background: rgba(140,180,255,.45); animation: hxA 26s ease-in-out infinite alternate-reverse; }
@keyframes hxA { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw, 4vh) scale(1.12); } 100% { transform: translate(2vw, -6vh) scale(.94); } }
@keyframes hxB { 0% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(-7vw, 6vh) scale(.92); } 100% { transform: translate(-2vw, -5vh) scale(1.1); } }
@keyframes hxC { 0% { transform: translate(0,0) scale(.95); } 50% { transform: translate(-5vw, 6vh) scale(1.08); } 100% { transform: translate(5vw, -2vh) scale(1); } }
.hx-rings { position: absolute; left: 72%; top: 50%; width: 0; height: 0; }
.hx-rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%,-50%); border: 1.5px solid transparent;
  background: conic-gradient(from var(--angle), rgba(37,99,235,0) 0deg, rgba(37,99,235,.5) 60deg, rgba(38,189,223,.45) 120deg, rgba(37,99,235,0) 200deg) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  animation: spin 24s linear infinite; }
.hx-rings i:nth-child(1) { width: 640px; height: 640px; opacity: .45; }
.hx-rings i:nth-child(2) { width: 940px; height: 940px; opacity: .3; animation-duration: 34s; animation-direction: reverse; }
.hx-rings i:nth-child(3) { width: 1260px; height: 1260px; opacity: .18; animation-duration: 46s; }
.hx-beam { position: absolute; top: -30%; left: -40%; width: 34%; height: 160%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); filter: blur(20px); animation: hxBeam 10s ease-in-out infinite; }
@keyframes hxBeam { 0%, 15% { left: -45%; } 70%, 100% { left: 120%; } }
.hx-spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--hx, 70%) var(--hy, 45%), rgba(37,99,235,.12), transparent 60%); }
.hx-grain { position: absolute; inset: -50%; opacity: .14; mix-blend-mode: multiply;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .2 0 0 0 0 .5 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: hxGrain 1.2s steps(6) infinite; }
@keyframes hxGrain { 0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-2%); } 60% { transform: translate(-2%,-4%); } 80% { transform: translate(4%,2%); } 100% { transform: translate(0,0); } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none; background: linear-gradient(transparent, var(--bg)); }

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }

.hero-grid { display: grid; grid-template-columns: 44fr 56fr; gap: clamp(36px, 4.5vw, 64px); align-items: center; }
.hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-title { margin-bottom: 22px; }
.hero-title .accent { display: block; margin-top: 6px; }
.hero-title .w { display: inline-block; }
.hero-sub { color: var(--body); max-width: 50ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.hl { color: var(--ink); padding: 0 .1em; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(90deg, rgba(37,99,235,.18), rgba(38,189,223,.18)) no-repeat 0 90% / 100% 30%;
  transition: background-size .7s cubic-bezier(.2,.8,.2,1); }
.anim .hl:not(.in) { background-size: 100% 0; }
.hl:hover { background-size: 100% 0; transition-duration: .35s; }
.cta-micro { margin: 0; color: var(--muted); max-width: 44ch; }
.hero-id { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; max-width: 440px; }
.hero-id img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px #D3DAEC, 0 10px 22px -12px rgba(37,99,235,.6); }
.hero-id p { margin: 0; display: flex; flex-direction: column; }
.hero-id span { color: var(--muted); }

/* Demo del hero · chat + 3 tarjetas, todo alineado a la misma rejilla */
.hero-demo { min-width: 0; --gap: 14px; }
.chat, .kpi { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(37,99,235,.07), 0 28px 60px -30px rgba(37,99,235,.45), 0 2px 6px rgba(16,19,24,.04); }
.chat { position: relative; z-index: 1; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.chat-q-row { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.chat-spark { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #4F8BFF, var(--blue)); box-shadow: 0 10px 22px -10px rgba(37,99,235,.8), inset 0 1px 0 rgba(255,255,255,.4); }
.chat-spark svg { width: 18px; fill: #fff; }
.chat-q { margin: 0; color: var(--ink); }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--blue); opacity: 0; }
.typing .caret { opacity: 1; animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chat-a { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #F3F5FA; min-height: 92px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.chat-a.hide { opacity: 0; transform: translateY(6px); }
.chat-ai { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.chat-ai svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
.chat-a p { margin: 0; color: var(--body); }
.chat-a { position: relative; }
.chat-status { display: none; color: var(--muted) !important; }
.chat-a.is-searching .chat-status { display: block; }
.chat-a.is-searching .chat-ans { display: none; }
.chat-dots { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.chat-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); animation: chatDot 1s ease-in-out infinite; }
.chat-dots i:nth-child(2) { animation-delay: .15s; } .chat-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-note { margin: -6px 0 0; color: var(--faint); }
.chat-a strong { color: var(--ink); }
.chat-foot { display: flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.chip svg { width: 16px; height: 16px; }
.chat-send { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 20px -10px rgba(16,19,24,.6); }
.chat-send svg { width: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.kpi { border-radius: 18px; padding: 16px 16px 18px; display: flex; flex-direction: column; min-width: 0; }
.kpi p { margin: 0; }
.kpi-t { display: flex; align-items: center; gap: 8px; color: var(--body); margin-bottom: 14px !important; white-space: nowrap; }
.kpi-t svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kpi-t svg.ic-g { stroke: none; }
.kpi-n { color: var(--ink); white-space: nowrap; }
.kpi-n.up { color: #10A36B; }
.kpi-n.muted { color: var(--faint); }
.kpi-n.blue { color: var(--blue); }
.kpi-s { color: var(--muted); margin-top: 4px !important; white-space: nowrap; }
.kpi-split { display: grid; grid-template-columns: 1fr 1fr; }
.kpi-split > div:first-child { padding-right: 14px; }
.kpi-split > div + div { padding-left: 14px; border-left: 1px solid var(--line-2); }
.kpi-row { display: flex; align-items: center; gap: 8px; }
.kpi-row .stars { font-size: var(--fs-label); }
.stars .half { background: linear-gradient(90deg, #F5B400 50%, #D9DEE8 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi-ba { display: flex; align-items: flex-start; gap: 8px; }
.kpi-arrow { width: 16px; margin-top: 10px; flex: none; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kpi-bars { margin-left: auto; padding-left: 4px; align-self: flex-end; display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.kpi-bars i { width: 5px; height: calc(var(--h) * 100%); border-radius: 3px; background: linear-gradient(180deg, #5B9BFF, var(--blue)); transform-origin: bottom; animation: barUp .8s var(--ease) both; }
.kpi-bars i:nth-child(2) { animation-delay: .1s; } .kpi-bars i:nth-child(3) { animation-delay: .2s; } .kpi-bars i:nth-child(4) { animation-delay: .3s; } .kpi-bars i:nth-child(5) { animation-delay: .4s; }
@keyframes barUp { from { transform: scaleY(0); } }
.hero-demo .illustrative { text-align: center; margin-top: 12px; }
@media (max-width: 1300px) and (min-width: 1121px) { .kpi-bars { display: none; } }
/* Tarjetas de capacidades (sin cifras) */
.kpi-cap { padding: 16px 18px 18px; }
.kpi-cap .kpi-t { margin-bottom: 16px !important; color: var(--muted); }
.kpi-ic { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), #E3F6FB); border: 1px solid #DCE6FA; }
.kpi-ic svg { width: 15px; height: 15px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kpi-h { color: var(--ink); margin: 0 0 8px !important; font-weight: 800; letter-spacing: -.02em; }
.kpi-tags { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.kpi-sep { flex: none; }
.kpi-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--blue); opacity: .55; }
@media (max-width: 1260px) and (min-width: 1121px), (max-width: 820px) and (min-width: 641px) {
  .kpi-cap { padding-left: 14px; padding-right: 14px; }
  .kpi-tags { flex-wrap: wrap; white-space: normal; gap: 2px 10px; }
  .kpi-sep { display: none; }
}
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr; } }

.maps-map { height: 74px; position: relative; background-color: #EAF0FB; background-image: linear-gradient(#fff 3px, transparent 3px), linear-gradient(90deg, #fff 3px, transparent 3px); background-size: 42px 30px; background-position: -8px -6px; overflow: hidden; }
.maps-map.tall { height: 130px; }
.maps-road { position: absolute; left: -10%; right: -10%; top: 46%; height: 7px; background: #D6E2FA; transform: rotate(-8deg); }
.maps-pin { position: absolute; left: 50%; top: 18%; width: 26px; height: 32px; margin-left: -13px; animation: pinBob 2.4s ease-in-out infinite; }
.maps-map.tall .maps-pin { top: 26%; width: 30px; height: 38px; margin-left: -15px; }
.maps-pin path { fill: var(--blue); } .maps-pin circle { fill: #fff; }
@keyframes pinBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.stars { color: #F5B400; }
.web-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #F4F6FB; border-bottom: 1px solid var(--line-2); }
.dots3 { display: flex; gap: 4px; }
.dots3 i { width: 7px; height: 7px; border-radius: 50%; background: #D3DAEC; }
.web-url { flex: 1 1 auto; display: flex; align-items: center; gap: 5px; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 8px; }
.web-url svg { width: 10px; fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; }

.rise { animation: rise .8s var(--ease) both; }
.rise-2 { animation-delay: .2s; } .rise-3 { animation-delay: .3s; } .rise-4 { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1120px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-demo { max-width: 640px; }
  .hx-mesh { left: 0; top: 40%; }
  .hx-rings { left: 50%; top: 72%; }
}
@media (max-width: 560px) {
  .chat { padding: 16px; }
  .chip { padding: 0 10px; }
}


/* ==========================================================
   EN QUÉ PUEDO AYUDARTE
   ========================================================== */
.help { overflow: clip; isolation: isolate; padding-top: clamp(64px, 7vw, 104px); }
.help-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; filter: blur(90px); }
.help-glow i { position: absolute; border-radius: 50%; }
.help-glow i:nth-child(1) { width: 520px; height: 520px; right: -120px; top: 6%; background: rgba(38,189,223,.16); animation: hxB 24s ease-in-out infinite alternate; }
.help-glow i:nth-child(2) { width: 440px; height: 440px; left: -160px; bottom: 25%; background: rgba(37,99,235,.10); animation: hxA 22s ease-in-out infinite alternate; }
.help-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.help-intro { position: sticky; top: 130px; }
.help-intro h2 { margin-bottom: 24px; }
.help-intro h2 .accent { display: block; margin-top: 4px; }
.help-lead { color: var(--body); max-width: 42ch; }
.help-lead + .help-lead { margin-top: -4px; }

.help-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.help-item { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: clamp(24px, 2.6vw, 34px); background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 1px 2px rgba(16,19,24,.03); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.help-item:hover { transform: translateY(-3px); border-color: #CFD9EE; box-shadow: 0 30px 60px -36px rgba(37,99,235,.45); }
.help-item::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .6s var(--ease);
  background: conic-gradient(from var(--angle), transparent 0deg, rgba(37,99,235,.9) 70deg, rgba(38,189,223,.9) 140deg, transparent 200deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 5s linear infinite; }
.help-item.is-active { border-color: #C9D7FB; box-shadow: 0 30px 60px -36px rgba(37,99,235,.5); }
.help-item.is-active::after { opacity: 1; }
.help-item.is-active .help-ic { background: linear-gradient(135deg, var(--blue), var(--cyan)); border-color: transparent; }
.help-item.is-active .help-ic svg { stroke: #fff; }
.help-ic { transition: background .5s var(--ease), border-color .5s; }
.help-ic svg { transition: stroke .5s; }
.help-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), #E3F6FB); border: 1px solid #DCE6FA; }
.help-ic svg { width: 24px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.help-body { min-width: 0; }
.help-body .kicker { margin-bottom: 10px; }
.help-body h3 { margin-bottom: 12px; }
.help-body > p:not(.kicker):not(.help-tags) { color: var(--body); margin: 0; max-width: 58ch; }
.help-body > p:not(.kicker):not(.help-tags) + p:not(.help-tags) { margin-top: 10px; }
.help-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.help-tags span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; }
.help-tags .off { color: var(--faint); background: #F3F4F8; text-decoration: line-through; text-decoration-color: rgba(138,145,163,.7); }
.help-tags .on { color: var(--blue); background: var(--blue-50); }
.help-tags .on::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }

.help-close { display: flex; flex-direction: column; align-items: stretch; gap: clamp(24px, 3vw, 36px); margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 3.6vw, 48px); border-radius: 28px; background: var(--ink); color: #fff; box-shadow: 0 40px 80px -44px rgba(37,99,235,.7); position: relative; overflow: hidden; }
.help-close::before { content: ""; position: absolute; right: -10%; top: -120%; width: 60%; height: 300%; background: radial-gradient(closest-side, rgba(37,99,235,.45), transparent), radial-gradient(closest-side at 70% 60%, rgba(38,189,223,.3), transparent); filter: blur(30px); pointer-events: none; }
.help-close > * { position: relative; }
.help-close-copy { flex: 1; min-width: 0; }
.help-close-copy p { margin: 0; }
.help-close .mini-label { margin-bottom: 14px; }
.help-close-t { color: #fff; margin-bottom: 12px !important; text-wrap: balance; }
.help-close-s { color: var(--on-dark); max-width: 56ch; }
.help-close-cta { flex: none; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.help-close .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.help-close .btn-primary:hover { background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.16); }

@media (max-width: 960px) {
  .help-grid { grid-template-columns: 1fr; }
  .help-intro { position: static; }
}
@media (max-width: 860px) {
}
@media (max-width: 560px) { .help-close .btn { width: 100%; } }
@media (max-width: 480px) {
  .help-item { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Franja de plataformas ---------- */
.trust { padding: 28px 0 8px; text-align: center; }
.trust-label { color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; max-width: 1100px; margin: 0 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { color: #A8B0C2; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Revelado ---------- */
.anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.anim .reveal.in { opacity: 1; transform: none; }
.anim .hero-title .w { opacity: 0; transform: translateY(.35em); filter: blur(8px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); transition-delay: calc(var(--i) * 45ms + 80ms); }
.anim .hero-title .accent { opacity: 0; transform: translateY(.3em); transition: opacity .8s var(--ease) .65s, transform .8s var(--ease) .65s; }
.anim .hero-title.in .w, .anim .hero-title.in .accent { opacity: 1; transform: none; filter: none; }
.anim .hero-sub { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
.anim .hero-sub.in { opacity: 1; transform: none; }

/* ---------- Foco del ratón en tarjetas ---------- */
[data-spot] { position: relative; }
[data-spot]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,.10), transparent 55%); }
[data-spot]:hover::before { opacity: 1; }
.price-card[data-spot]::before { background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(38,189,223,.22), transparent 50%); }

/* ---------- Borde con luz que gira ---------- */
.glow-border { position: relative; isolation: isolate; }
.glow-border::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--angle), transparent 0deg, rgba(37,99,235,.85) 70deg, rgba(38,189,223,.85) 140deg, transparent 200deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 7s linear infinite; }

/* ==========================================================
   EL PROBLEMA
   ========================================================== */
.problem { background: var(--bg); }
.prompt { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto 28px; padding: 16px 16px 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.prompt-ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.prompt-ic svg { width: 20px; fill: #fff; }
.prompt-text { margin: 0; flex: 1; color: var(--ink); }
.ph { color: var(--blue); }
.prompt-copy { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); font: inherit; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.prompt-copy svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.prompt-copy:hover { background: var(--blue-50); border-color: #C9D7FB; }
.prompt-copy.done { background: var(--blue); border-color: var(--blue); color: #fff; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.outcome { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; }
.outcome h3 { margin: 16px 0 8px; }
.outcome p { margin: 0; color: var(--body); }
.outcome-key { background: var(--ink); border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(37,99,235,.55); }
.outcome-key h3 { color: #fff; }
.outcome-key p { color: var(--on-dark); }
.outcome-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.outcome-ic svg { width: 22px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.outcome-ic.ok { background: #E4F7F0; } .outcome-ic.ok svg { stroke: #0F9D6B; }
.outcome-ic.warn { background: rgba(255,255,255,.1); } .outcome-ic.warn svg { stroke: #FFB547; stroke-width: 2.8; }
@media (max-width: 720px) {
  .outcomes { grid-template-columns: 1fr; }
  .prompt { flex-wrap: wrap; }
  .prompt-text { flex-basis: calc(100% - 60px); }
  .prompt-copy { margin-left: 54px; }
}

/* ==========================================================
   SECCIONES OSCURAS (frase + cómo trabajo)
   ========================================================== */
.dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.dark h2, .dark h3 { color: #fff; }
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.aurora i { position: absolute; width: 55vw; height: 55vw; max-width: 820px; max-height: 820px; border-radius: 50%; filter: blur(100px); opacity: .28; will-change: transform; }
.aurora i:nth-child(1) { background: var(--blue); left: -12%; top: 20%; animation: hxA 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: var(--cyan); right: -14%; top: 0; opacity: .18; animation: hxB 22s ease-in-out infinite alternate; }
.dark-dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%); }

.scrolltext { padding: clamp(110px, 15vw, 200px) 0; }
.scroll-words { text-align: center; max-width: 24ch; margin: 0 auto; color: #fff; text-wrap: balance; }
.scroll-words .sw { opacity: .16; transition: opacity .25s linear; }
.scroll-words .sw.on { opacity: 1; }
.scroll-words .accent { color: var(--accent-dark); }

/* ==========================================================
   QUÉ HAGO · filas
   ========================================================== */
.services { background: transparent; padding-top: clamp(48px, 5vw, 72px); }
.services .wrap { position: relative; }
.rows { position: relative; display: grid; gap: clamp(72px, 8vw, 120px); padding-left: 60px; }
.rows-line { position: absolute; left: 18px; top: 40px; bottom: 40px; width: 2px; border-radius: 2px; background: var(--line); }
.rows-line i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--blue), var(--cyan)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.row-n { position: absolute; left: -60px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; display: grid; place-items: center; color: var(--faint); background: #fff; border: 1.5px solid var(--line); transition: all .4s var(--ease); z-index: 2; }
.feature-row { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.feature-row.lit .row-n { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 6px rgba(37,99,235,.14), 0 8px 20px -8px rgba(37,99,235,.8); }
.feature-row.reverse .feature-copy { order: 2; }
.kicker { color: var(--blue); margin-bottom: 14px; }
.feature-copy h3 { margin-bottom: 16px; }
.feature-copy > p:not(.kicker) { color: var(--body); }
.checklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--body); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.checklist b { color: var(--ink); }
.checklist.on-dark li { color: #D5DBE8; }
.checklist.on-dark li::before { background-color: rgba(143,180,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238FB4FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }

.mock { position: relative; border-radius: 24px; padding: clamp(20px, 3vw, 36px); background: linear-gradient(160deg, #F4F7FF, #EAF1FD); border: 1px solid #DCE5F6; transition: transform .35s var(--ease); transform-style: preserve-3d; }
.mock::after { border-radius: 24px; }
.browser { position: relative; z-index: 1; background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.site { padding: 16px; }
.site i, .site u { display: block; border-radius: 4px; }
.site-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.site-nav i { height: 6px; background: #E3E8F2; }
.site-nav i.dk { height: 8px; background: var(--ink); margin-right: auto; }
.site-nav u { width: 60px; height: 20px; border-radius: 999px; background: var(--blue); }
.site-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: center; margin-bottom: 16px; }
.site-hero div i { height: 6px; background: #E3E8F2; margin-bottom: 7px; }
.site-hero div i.h { height: 12px; background: var(--ink); margin-bottom: 8px; }
.site-hero u { width: 44%; height: 22px; border-radius: 999px; background: var(--blue); margin-top: 12px; }
.site-img { display: block; height: 110px; border-radius: 12px; background: linear-gradient(135deg, var(--blue-100), #BDEFF8); }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.site-cards i { height: 52px; border-radius: 10px; background: #F1F4FB; }
.w10 { width: 10%; } .w20 { width: 20%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); animation: floaty 7s ease-in-out infinite; }
.float-card p { margin: 0; }
.score { right: -18px; bottom: -22px; }
.score svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: #E6ECF7; }
.ring { stroke: #10B981; stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.feature-row.in .ring, .feature-row.lit .ring { stroke-dashoffset: 2.3; }
.score b { display: block; }
.score span { color: var(--muted); }

.code-card { position: relative; z-index: 1; background: var(--ink); color: #E4E8F2; border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.code-head { color: #9AA3B8; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.tag { color: #fff; background: var(--blue); border-radius: 6px; padding: 2px 7px; }
.code-card pre { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.code-card i { font-style: normal; color: #8FB4FF; }
.code-card s { text-decoration: none; color: #7FE3F2; }
.ai-float { left: -22px; bottom: -28px; max-width: 320px; align-items: flex-start; }
.ai-float p { color: var(--ink-2); }

.gbp { position: relative; z-index: 1; background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); max-width: 440px; margin: 0 auto; }
.gbp-body { padding: 16px 18px 18px; }
.gbp-body p { margin: 0 0 6px; }
.gbp-meta { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.gbp-meta b { color: var(--ink); }
.gbp-open { color: var(--muted); }
.gbp-open b { color: #0F9D6B; }
.gbp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.gbp-actions span { color: var(--blue); background: var(--blue-50); border-radius: 999px; padding: 6px 12px; }

.report { position: relative; z-index: 1; background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 18px 20px; box-shadow: var(--shadow); }
.report-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.report-head p { margin: 0; }
.report-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.report-ic svg { width: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.r-sub { color: var(--muted); }
.r-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.r-kpis div { background: var(--soft); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.r-kpis span { color: var(--muted); }
.r-kpis em { font-style: normal; color: #0F9D6B; }
.r-chart { width: 100%; height: 90px; }
.illustrative { margin: 8px 0 0; color: var(--faint); }

@media (max-width: 960px) {
  .rows { padding-left: 0; }
  .rows-line, .row-n { display: none; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy { order: 0; }
  .score { right: 8px; } .ai-float { left: 8px; right: 8px; }
}

/* ==========================================================
   TRABAJOS (oculta hasta tener imágenes)
   ========================================================== */
.works { background: var(--bg); }
.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.concept { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px 16px 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.concept:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.concept-tag { position: absolute; top: 26px; left: 26px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink-2); border: 1px solid var(--line); }
.concept-stage { height: 230px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); }
.concept-stage img { width: 100%; height: 100%; object-fit: cover; }
.concept h3 { margin: 20px 6px 8px; }
.concept p { margin: 0 6px; color: var(--body); }
.concepts-note { text-align: center; color: var(--muted); font-style: italic; margin: 28px auto 0; max-width: 62ch; }
@media (max-width: 960px) { .concepts { grid-template-columns: 1fr; } }

/* ==========================================================
   PRECIO + GARANTÍA
   ========================================================== */
.offer { background: var(--bg); }
.offer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.price-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(28px, 3.6vw, 48px); background: var(--ink); color: #fff; box-shadow: 0 40px 80px -40px rgba(37,99,235,.6); }
.price-card > *:not(.price-glow) { position: relative; z-index: 2; }
.price-glow { position: absolute; z-index: 0; right: -20%; top: -40%; width: 80%; height: 120%; border-radius: 50%; filter: blur(70px); opacity: .55; background: radial-gradient(closest-side, rgba(37,99,235,.9), transparent), radial-gradient(closest-side at 70% 70%, rgba(38,189,223,.7), transparent); animation: hxB 16s ease-in-out infinite alternate; }
.mini-label { color: var(--accent-dark); margin: 0; }
.price { margin: 14px 0 22px; }
.price-note { color: #AEB6C8; margin: 22px 0 26px; max-width: 46ch; }
.guarantee { border-radius: var(--r-lg); padding: clamp(28px, 3.6vw, 48px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.seal { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); margin-bottom: 20px; }
.seal svg { width: 26px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.guarantee h2 { margin-bottom: 22px; }
.g-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.g-list li { position: relative; padding-left: 36px; }
.g-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.g-list p { margin: 0; color: var(--body); }
.g-list b { color: var(--ink); }
.note-honest { text-align: center; font-style: italic; color: var(--muted); max-width: 70ch; margin: 36px auto 0; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   CLÍNICA VISIBLE · tarjetas 2x2 + precio y garantía
   ========================================================== */
.cv-promise { margin: 18px auto 0; color: var(--ink); }
.cv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cv-card { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 38px); border-radius: var(--r-lg); background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cv-card:hover { transform: translateY(-3px); }
.cv-card[data-spot]::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,.08), transparent 55%); }
.cv-card[data-spot]:hover::before { opacity: 1; }
.cv-card > * { position: relative; }
.cv-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); margin-bottom: 20px; }
.cv-ic svg { width: 22px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cv-card .kicker { margin: 0 0 10px; }
.cv-card h3 { margin: 0 0 14px; text-wrap: balance; }
.cv-card p { margin: 0; color: var(--body); }
.cv-card .cv-note { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--blue); color: var(--muted); }
.cv-promise b { font-weight: 700; }
.cv-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cv-top .cv-ic { margin: 0; width: 42px; height: 42px; border-radius: 13px; }
.cv-top .kicker { margin: 0; }
.cv-card h3 { margin: 0 0 12px; }
.cv-card > p { max-width: 46ch; }
.cv-card .cv-benefits { margin: auto 0 0; padding: 22px 0 0; gap: 12px; }
.cv-card > p + .cv-benefits { margin-top: 22px; border-top: 1px solid var(--line-2); }
.cv-benefits li { color: var(--ink); }
.cv-close { margin-top: clamp(28px, 3vw, 40px); }
.cv-close .price-card, .cv-close .guarantee { padding: clamp(32px, 4vw, 56px); }
.cv-close .price-card .btn { align-self: stretch; justify-content: center; }
.cv-close .price-card .pay-split { margin: 22px 0 26px; }
.cv-close .guarantee h2 { margin-bottom: 30px; }
.g-steps { gap: 26px; }
.checklist.on-dark b, .price-note b { color: #fff; }
.cv-close .price-card .checklist + .price-note { margin-top: auto; padding-top: 22px; }
.pay-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0; }
.pay-split p { margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 4px; }
.pay-split b { color: #fff; }
.pay-split span { color: #AEB6C8; }
.g-steps b { color: var(--ink); }
.cv-final-note { margin-top: 14px !important; color: var(--muted); }
.note-honest .btn { margin-top: 24px; }
.cv-close { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: 20px; }
.cv-close .price-card, .cv-close .guarantee { display: flex; flex-direction: column; }
.price-sub { margin: -10px 0 0; color: #AEB6C8; }
.price-incl { margin: 26px 0 14px; color: #fff; }
.cv-close .price-card .checklist { margin-top: 0; }
.cv-close .price-card .price-note { margin: 22px 0 24px; }
.cv-close .price-card .price-cta-note { margin: 14px 0 0; }
.g-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.g-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; }
.g-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #4F8BFF, var(--blue)); box-shadow: 0 8px 18px -8px rgba(37,99,235,.7); }
.g-steps h3 { margin: 4px 0 6px; color: var(--ink); }
.g-steps p { margin: 0; color: var(--body); }
.g-foot { margin: auto 0 0; padding-top: 22px; color: var(--muted); font-style: italic; }
.g-steps + .g-foot { margin-top: 24px; border-top: 1px solid var(--line-2); }
.note-honest { font-style: normal; max-width: 64ch; }
.note-honest p { margin: 0 0 16px; }
.note-honest b { color: var(--ink); }
.note-honest { margin-top: clamp(112px, 12vw, 176px); margin-bottom: clamp(24px, 4vw, 56px); }
.note-title { margin: 0 0 22px; color: var(--ink); }
.note-title .accent { color: var(--blue); }
@media (max-width: 960px) {
  .cv-grid, .cv-close { grid-template-columns: 1fr; }
  .pay-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .cv-close .price-card .btn { align-self: stretch; } }

/* ==========================================================
   ASÍ PODRÍA VERSE TU WEB · muestras
   ========================================================== */
.samples { padding-top: 0; }
.smp-pick { text-align: center; margin: 0 0 22px; color: var(--ink); }
.smp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.smp-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16,19,24,.04), 0 24px 50px -36px rgba(16,19,24,.35); overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.smp-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,.45); box-shadow: 0 0 0 4px rgba(37,99,235,.08), 0 36px 70px -40px rgba(37,99,235,.55); }
.smp-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.smp-shot { position: relative; display: block; overflow: hidden; background: linear-gradient(160deg, #F4F7FF, #E8EFFC); border-bottom: 1px solid var(--line-2); }
.smp-bar { display: flex; gap: 5px; padding: 9px 12px; background: #fff; border-bottom: 1px solid var(--line-2); }
.smp-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D9DEE8; }
.smp-img { display: block; aspect-ratio: 1 / 1; background-size: cover; background-position: center; transition: transform .9s var(--ease); }
.smp-card:hover .smp-img.has-img { transform: scale(1.04); }
.smp-card .smp-img { background-position: center; }
.smp-img:not(.has-img)::after { content: "Mockup pendiente"; display: grid; place-items: center; height: 100%; color: var(--faint); font-size: var(--fs-small); }
.smp-tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.92); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.smp-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.smp-body .kicker { display: block; margin: 0 0 10px; }
.smp-t { display: block; color: var(--ink); margin-bottom: 10px; text-wrap: balance; }
.smp-p { display: block; color: var(--body); margin-bottom: 20px; }
.smp-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); }
.smp-link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.smp-card:hover .smp-link svg { transform: translate(2px, -2px); }
.smp-foot { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.smp-note { margin: 0; color: var(--muted); max-width: 60ch; }
.smp-ask { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.smp-ask-t { margin: 0; color: var(--ink); }
@media (max-width: 960px) {
  .smp-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .smp-foot { grid-template-columns: 1fr; }
  .smp-ask { justify-content: flex-start; }
}
@media (max-width: 560px) { .smp-ask .btn { width: 100%; justify-content: center; } }

/* Modal de muestras */
.smx { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.smx-backdrop { position: absolute; inset: 0; background: rgba(11,14,20,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s ease; }
.smx.open .smx-backdrop { opacity: 1; }
.smx-panel { position: relative; width: min(1200px, 90vw); height: min(820px, 90vh); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(11,14,20,.6); opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.smx.open .smx-panel { opacity: 1; transform: none; }
.smx-x { top: 18px; right: 18px; }
.smx-visual { display: flex; flex-direction: column; min-height: 0; background: linear-gradient(160deg, #F2F5FC, #E6EDFA); padding: 24px 24px 16px; gap: 14px; }
.smx-stage { flex: 1; min-height: 0; overflow: auto; border-radius: 14px; background: #ECEFF8; border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(16,19,24,.4); outline: none; overscroll-behavior: contain; }
.smx-stage:focus-visible { box-shadow: 0 0 0 3px rgba(37,99,235,.35); }
.smx-frame { height: 100%; display: flex; align-items: center; justify-content: center; }
.smx-frame img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; cursor: zoom-in; }
.smx-stage.is-zoom .smx-frame { height: auto; display: block; }
.smx-stage.is-zoom .smx-frame img { width: 200%; max-width: none; max-height: none; cursor: zoom-out; }
.smx-empty { display: grid; place-items: center; height: 100%; min-height: 320px; color: var(--faint); text-align: center; padding: 24px; }
.smx-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.smx-thumb { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 104px; display: flex; flex-direction: column; gap: 6px; }
.smx-thumb span:first-child { display: block; height: 64px; border-radius: 10px; background: #fff center / cover no-repeat; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line); transition: border-color .25s, box-shadow .25s; }
.smx-thumb[aria-selected="true"] span:first-child { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.smx-thumb:focus-visible span:first-child { border-color: var(--blue); }
.smx-thumb span:last-child { color: var(--muted); text-align: center; }
.smx-thumb[aria-selected="true"] span:last-child { color: var(--ink); }
.smx-info { display: flex; flex-direction: column; min-height: 0; overflow: auto; padding: clamp(32px, 3.6vw, 48px); }
.smx-esp { margin: 0 0 14px; }
.smx-title { margin: 0 0 16px; text-wrap: balance; padding-right: 36px; }
.smx-text { margin: 0 0 22px; color: var(--body); }
.smx-list { margin: 0 0 28px; }
.smx-buy { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.smx-price { margin: 0 0 16px; color: var(--ink); }
.smx-price span { color: var(--muted); font-weight: 500; }
.smx-cta { width: 100%; justify-content: center; }
.smx-micro { margin: 12px 0 0; color: var(--muted); text-align: center; }
.smx-note { margin: 18px 0 0; color: var(--faint); }
@media (max-width: 900px) {
  .smx { padding: 0; align-items: end; }
  .smx-panel { width: 100%; height: 94svh; grid-template-columns: 1fr; grid-template-rows: none; display: block; overflow: auto; border-radius: 24px 24px 0 0; overscroll-behavior: contain; }
  .smx-visual { padding: 60px 16px 12px; }
  .smx-stage { height: 52svh; flex: none; }
  .smx-info { overflow: visible; padding: 24px 20px 0; }
  .smx-buy { position: sticky; bottom: 0; background: #fff; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); margin-top: 8px; box-shadow: 0 -12px 20px -16px rgba(16,19,24,.25); }
  .smx-note { margin: 0 0 18px; order: -1; }
  .smx-x { position: absolute; }
}

/* ==========================================================
   CÓMO TRABAJO · timeline
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.how { overflow: clip; }
.how-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.how-intro { position: sticky; top: 130px; }
.how-intro h2 { margin: 0 0 24px; text-wrap: balance; }
.how-lead { color: var(--on-dark); margin: 0; max-width: 44ch; }
.how-track { position: relative; }
.how-line { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: rgba(255,255,255,.12); }
.how-line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--blue), var(--cyan)); transform-origin: top; transform: scaleY(1); }
.anim .how-line i { transform: scaleY(var(--hp, 0)); transition: transform .2s linear; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(34px, 3.4vw, 48px); }
.how-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.how-n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--dark); border: 1px solid rgba(255,255,255,.22); transition: border-color .5s var(--ease), color .5s, box-shadow .5s; }
.how-step.is-key .how-n { background: linear-gradient(135deg, var(--blue), var(--cyan)); border-color: transparent; box-shadow: 0 0 0 6px rgba(37,99,235,.16), 0 10px 26px -10px rgba(38,189,223,.8); }
.how-step.is-lit:not(.is-key) .how-n { border-color: rgba(143,180,255,.6); }
.anim .how-step:not(.is-lit) .how-n { color: #8D95A8; }
.anim .how-step.is-key:not(.is-lit) .how-n { box-shadow: none; }
.how-body { padding-top: 9px; }
.how-body h3 { margin: 0 0 10px; }
.how-body p { margin: 0; color: var(--on-dark); max-width: 58ch; }
.how-body p + p { margin-top: 10px; }
.how-body b { color: #fff; }
.how-step.is-key .how-body { padding: 20px 22px 22px; margin-top: -11px; border-radius: 18px; background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(38,189,223,.05)); border: 1px solid rgba(143,180,255,.2); }
.how-body .how-tag { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; color: var(--accent-dark); background: rgba(143,180,255,.12); border: 1px solid rgba(143,180,255,.22); }
.anim .how-body { transition: opacity .6s var(--ease); }
.anim .how-step:not(.is-lit) .how-body { opacity: .45; }
.how-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: clamp(40px, 4vw, 56px) 0 0 calc(44px + clamp(20px, 2.4vw, 32px)); padding-top: clamp(28px, 3vw, 36px); border-top: 1px solid rgba(255,255,255,.12); }
.how-cta-t { margin: 0; color: #fff; }
@media (max-width: 960px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-intro { position: static; }
}
@media (max-width: 560px) {
  .how-step { grid-template-columns: 36px 1fr; gap: 16px; }
  .how-n { width: 36px; height: 36px; }
  .how-line { left: 17px; }
  .how-body { padding-top: 6px; }
  .how-step.is-key .how-body { padding: 16px 16px 18px; margin-top: -10px; }
  .how-cta { margin-left: 0; }
  .how-cta .btn { width: 100%; justify-content: center; }
}

/* ==========================================================
   QUIÉN SOY
   ========================================================== */
.about { background: transparent; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; margin: 0; aspect-ratio: 1 / 1; }
.about-photo::before { content: ""; position: absolute; inset: 8% 4% 0; border-radius: 36px; background: radial-gradient(70% 70% at 50% 35%, #D6E4FF, #EAF1FF 55%, #F4F7FF); box-shadow: inset 0 0 0 1px #DCE5F6; }
.about-photo::after { content: ""; position: absolute; inset: 8% 4% 0; border-radius: 36px; opacity: .6; background-image: radial-gradient(rgba(37,99,235,.25) 1px, transparent 1.2px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%); }
.about-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: bottom; border-radius: 0 0 36px 36px; filter: drop-shadow(0 30px 40px rgba(16,19,24,.18)); }
.photo-tag { position: absolute; z-index: 2; left: 8%; top: 12%; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow-sm); }
.quote-card { position: absolute; z-index: 2; right: -28px; bottom: 16%; max-width: 280px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; color: var(--ink); box-shadow: var(--shadow); animation: floaty 8s ease-in-out infinite; }
.quote-card cite { display: block; margin-top: 8px; font-family: var(--serif); font-style: italic; color: var(--blue); }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p:not(.eyebrow) { color: var(--body); }
.about-copy b { color: var(--ink); }
.about-cta { margin-top: 10px; }
.takeaway-h { margin: clamp(64px, 7vw, 100px) 0 22px; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about .card { background: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.stats > div { padding: 26px 20px 0 0; }
.stat-num { margin: 0 0 4px; }
.stat-label { color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 520px; width: 100%; margin: 0 auto; }
  .quote-card { right: 8px; }
  .benefits, .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .quote-card { position: relative; right: auto; bottom: auto; margin: -20px 12px 0; max-width: none; }
  .about-photo { aspect-ratio: auto; display: flex; flex-direction: column; }
  .photo-tag { position: relative; left: auto; top: auto; order: -1; align-self: flex-start; margin: 0 0 -14px 4%; }
  .about-photo img { height: auto; }
  .about-photo::before, .about-photo::after { inset: calc(22px + (100vw - 32px) * .08) 4% auto; height: calc((100vw - 32px) * .92); }
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq { overflow: hidden; background: linear-gradient(180deg, #fff 0%, #F2F6FF 50%, var(--bg) 100%); }
.faq-bg { position: absolute; inset: 0; pointer-events: none; filter: blur(80px); opacity: .55; }
.faq-bg i { position: absolute; border-radius: 50%; }
.faq-bg i:nth-child(1) { width: 480px; height: 480px; left: -140px; top: 10%; background: #C3D6FF; animation: hxA 20s ease-in-out infinite alternate; }
.faq-bg i:nth-child(2) { width: 440px; height: 440px; right: -120px; top: 34%; background: #BFEAF5; animation: hxB 24s ease-in-out infinite alternate; }
.faq-bg i:nth-child(3) { width: 360px; height: 360px; left: 40%; bottom: -12%; background: #DDE6FF; animation: hxC 22s ease-in-out infinite alternate; }
.faq-wrap { position: relative; z-index: 1; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.fq { background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s; }
.fq:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(37,99,235,.5); border-color: #C9D7FB; }
.fq[open] { background: #fff; box-shadow: 0 22px 50px -30px rgba(37,99,235,.55); border-color: #BCD0FA; }
.fq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px 20px 24px; }
.fq summary::-webkit-details-marker { display: none; }
.fq-ic { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); position: relative; transition: background .3s, transform .45s var(--ease); }
.fq-ic::before, .fq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px; border-radius: 2px; background: var(--blue); transition: transform .45s var(--ease), background .3s; }
.fq-ic::after { transform: rotate(90deg); }
.fq[open] .fq-ic { background: var(--blue); transform: rotate(180deg); }
.fq[open] .fq-ic::before, .fq[open] .fq-ic::after { background: #fff; }
.fq[open] .fq-ic::after { transform: rotate(0deg); }
.fq-body { padding: 0 24px 22px; color: var(--body); }
.fq-body p { margin: 0; }
.fq-body p + p, .fq-body ul + p, .fq-body p + ul { margin-top: 10px; }
.fq-body ul { margin: 0; padding-left: 20px; }
.fq-body li + li { margin-top: 4px; }
.fq.animating .fq-body { overflow: hidden; }

/* ==========================================================
   CTA FINAL · linterna
   ========================================================== */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; padding: clamp(96px, 11vw, 160px) 0; background: linear-gradient(180deg, #070A12 0%, #0A1422 55%, #0B1A26 100%); }
.final-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final-bg i { position: absolute; border-radius: 50%; filter: blur(120px); }
.final-bg i:nth-child(1) { width: 720px; height: 520px; left: 50%; top: -20%; transform: translateX(-50%); background: rgba(37,99,235,.28); }
.final-bg i:nth-child(2) { width: 560px; height: 420px; right: -10%; bottom: -25%; background: rgba(38,189,223,.14); }
.final .dark-dots { opacity: .45; }
.final-inner { position: relative; max-width: 920px; }
.final .eyebrow { justify-content: center; margin-bottom: 18px; color: #D7DDEA; }
.final .eyebrow .dot { background: var(--cyan); }
.final h2 { color: #fff; margin: 0 auto 20px; max-width: 18ch; text-wrap: balance; }
.final .accent { color: var(--accent-dark); }
.final-lead { color: var(--on-dark); margin: 0 auto clamp(40px, 5vw, 56px); max-width: 52ch; }
.final-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.final-path { padding: clamp(24px, 2.6vw, 32px); border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); transition: border-color .4s var(--ease), background .4s var(--ease); }
.final-path:hover { border-color: rgba(143,180,255,.35); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.04)); }
.final-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(37,99,235,.18); border: 1px solid rgba(143,180,255,.25); }
.final-ic svg { width: 20px; fill: none; stroke: var(--accent-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.final-path h3 { color: #fff; margin: 0 0 8px; }
.final-path p { margin: 0; color: var(--on-dark); }
.final-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 32px; margin-top: clamp(32px, 4vw, 44px); }
.final-cta .btn { padding-left: 40px; padding-right: 40px; }
.final-cta .me-chip-dark { margin: 0; padding-left: 32px; border-left: 1px solid rgba(255,255,255,.14); }
@media (max-width: 720px) {
  .final-paths { grid-template-columns: 1fr; }
  .final-cta { flex-direction: column; }
  .final-cta .btn { width: 100%; justify-content: center; }
  .final-cta .me-chip-dark { padding-left: 0; border-left: 0; }
}

.me-chip { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.me-chip p { margin: 0; display: flex; flex-direction: column; }
.me-chip span { color: var(--muted); }
.avatar-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.me-chip-dark { margin-top: 26px; color: #fff; }
.me-chip-dark span { color: #C8D4F5; }

/* ==========================================================
   PIE
   ========================================================== */
.site-footer { position: relative; background: #F7F8FB; padding: clamp(72px, 8vw, 112px) 0 36px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 72px); }
.footer-logo { margin-bottom: 28px; }
.footer-claim { margin: 0 0 14px; color: var(--ink); max-width: 22ch; }
.footer-desc { margin: 0; color: var(--body); max-width: 40ch; }
.footer-h { color: var(--muted); margin: 0 0 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a, .footer-bottom a, .link-btn { position: relative; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 0 1px; background-position: 0 100%; transition: color .2s ease, background-size .35s var(--ease); }
.footer-links a { color: var(--ink); }
.footer-links a:hover, .footer-bottom a:hover, .link-btn:hover { background-size: 100% 1px; }
.footer-links a:hover { color: var(--blue); }
.footer-name { margin: 0 0 10px; color: var(--ink); }
.footer-mail { display: inline-block; color: var(--ink); text-decoration: none; padding-bottom: 6px; background: linear-gradient(90deg, var(--blue), var(--cyan)) no-repeat 0 100% / 100% 2px; transition: color .25s ease, background-size .35s var(--ease); word-break: break-word; }
.footer-mail:hover { color: var(--blue); background-size: 40% 2px; }
.footer-place { margin: 18px 0 0; color: var(--muted); max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }
.link-btn { border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; background-color: transparent; }
.link-btn:hover { color: var(--ink); }
.footer-links a:focus-visible, .footer-mail:focus-visible, .footer-bottom a:focus-visible, .link-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   MODAL · formulario de 5 pasos
   ========================================================== */
body.quiz-open { overflow: hidden; }
.quiz { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.quiz-backdrop { position: absolute; inset: 0; background: rgba(11,14,20,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s ease; }
.quiz.open .quiz-backdrop { opacity: 1; }
.quiz-panel { position: relative; width: min(640px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #fff; border-radius: 28px; padding: 28px clamp(20px, 4vw, 40px); box-shadow: 0 40px 100px -30px rgba(11,14,20,.6); opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .4s var(--ease), transform .5s cubic-bezier(.2,1.2,.4,1); }
.quiz.open .quiz-panel { opacity: 1; transform: none; }
.quiz-glow { position: absolute; inset: -40% -20% auto; height: 70%; pointer-events: none; border-radius: 50%; filter: blur(50px); opacity: .5; background: radial-gradient(40% 60% at 30% 50%, #BFD3FF, transparent 70%), radial-gradient(40% 60% at 70% 50%, #BDEFF8, transparent 70%); animation: hxB 14s ease-in-out infinite alternate; }
.quiz-panel > * { position: relative; }
.quiz-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.85); cursor: pointer; display: grid; place-items: center; z-index: 2; transition: transform .25s; }
.quiz-x:hover { transform: rotate(90deg); }
.quiz-x svg { width: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.quiz-head { display: flex; gap: 14px; align-items: center; padding-right: 44px; margin-bottom: 22px; }
.quiz-head .avatar-img { width: 52px; height: 52px; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgba(37,99,235,.35); }
.quiz-head p { margin: 0; }
.quiz-sub { color: var(--muted); }
.quiz-progress { height: 6px; border-radius: 6px; background: #EDF1F8; overflow: hidden; }
.quiz-progress i { display: block; height: 100%; width: calc(var(--qp, 1) / 3 * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue)); background-size: 200% 100%; animation: shimmer 3s linear infinite; transition: width .5s var(--ease); }
@keyframes shimmer { to { background-position: 200% 50%; } }
.quiz-count { margin: 8px 0 18px; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.qstep { border: 0; padding: 0; margin: 0; display: none; min-width: 0; }
.qstep.is-active { display: block; animation: qIn .45s var(--ease) both; }
.qstep.is-back { animation-name: qInBack; }
@keyframes qIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes qInBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.qtitle { color: var(--ink); margin: 0 0 20px; padding: 0; }
.qfields { display: grid; gap: 12px; }
.qfield { display: grid; gap: 6px; margin-top: 12px; }
.qfield span { color: var(--ink-2); }
.qfield input { font: inherit; padding: 15px 16px; border-radius: 14px; border: 1.5px solid #E1E6F0; background: #F7F9FD; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.qfield textarea { font: inherit; padding: 15px 16px; border-radius: 14px; border: 1.5px solid #E1E6F0; background: #F7F9FD; color: var(--ink); resize: vertical; min-height: 140px; transition: border-color .2s, box-shadow .2s, background .2s; }
.qfield textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 5px rgba(37,99,235,.14); }
.qfield input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 5px rgba(37,99,235,.14); }
.qfield input[aria-invalid="true"] { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.qopts { display: grid; gap: 10px; }
.qopts-list { grid-template-columns: 1fr; gap: 8px; }
.qopts-list .qopt-box { padding: 12px 14px; }
.qopts-list .qopt-ic { width: 34px; height: 34px; border-radius: 10px; }
.qopts-list .qopt-ic svg { width: 18px; }
.qtitle + .qhelp { margin-top: -10px; }
.qhelp { margin: 0 0 18px; color: var(--body); }
.qnote { margin: 14px 0 0; color: var(--muted); }
.quiz-foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); color: var(--muted); text-align: center; }
.quiz-foot a { color: var(--blue); font-weight: 700; text-decoration: none; }
.quiz-foot a:hover { text-decoration: underline; }
.qopts-2 { grid-template-columns: 1fr 1fr; }
.qopts-4 { grid-template-columns: repeat(4, 1fr); }
.qopt { position: relative; cursor: pointer; }
.qopt input { position: absolute; opacity: 0; pointer-events: none; }
.qopt-box { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: 16px; border: 1.5px solid #E1E6F0; background: #fff; transition: border-color .2s, box-shadow .25s, transform .2s, background .2s; }
.qopts-4 .qopt-box { flex-direction: column; text-align: center; gap: 8px; padding: 16px 8px; }
.qopt:hover .qopt-box { border-color: #AFC5F7; transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(37,99,235,.6); }
.qopt-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; flex: none; transition: background .2s; }
.qopt-ic svg { width: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qopt-t { color: var(--ink); }
.qopt-check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #CFD7E5; flex: none; transition: all .2s; }
.qopts-4 .qopt-check { display: none; }
.qopt input:checked + .qopt-box { border-color: var(--blue); background: #F5F8FF; box-shadow: 0 0 0 4px rgba(37,99,235,.13); }
.qopt input:checked + .qopt-box .qopt-ic { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.qopt input:checked + .qopt-box .qopt-ic svg { stroke: #fff; }
.qopt input:checked + .qopt-box .qopt-check { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.qopt input:focus-visible + .qopt-box { outline: 3px solid var(--blue); outline-offset: 2px; }
.qcheck { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--ink-2); cursor: pointer; }
.qcheck input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.qcheck a { color: var(--blue); }
.qlegal { color: var(--faint); margin: 12px 0 0; }
.qerror { min-height: 20px; margin: 14px 0 0; color: #D93036; }
.qnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.qback { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; padding: 10px 4px; visibility: hidden; }
.qback.show { visibility: visible; }
.qback:hover { color: var(--ink); }
.qnext { background: var(--ink); color: #fff; height: 52px; padding: 0 26px; }
.qnext.is-submit { background: var(--blue); box-shadow: 0 14px 30px -12px rgba(37,99,235,.7); }
.qnext.is-submit:hover { background: var(--blue-d); }
.qnext[disabled] { opacity: .6; cursor: progress; }
.qdone { text-align: center; padding: 10px 0 4px; }
.qdone-ic { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 0 0 10px rgba(37,99,235,.12); animation: qPop .6s cubic-bezier(.2,1.6,.4,1) both; }
.qdone-ic svg { width: 34px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: qDraw .5s .35s ease-out forwards; }
@keyframes qPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes qDraw { to { stroke-dashoffset: 0; } }
.qdone-text { color: var(--body); max-width: 40ch; margin: 0 auto 20px; }
.qdone .me-chip { margin: 0 auto; }
.quiz.done .qnav, .quiz.done .quiz-progress, .quiz.done .quiz-count, .quiz.done .qerror { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
  .quiz { padding: 0; align-items: end; }
  .quiz-panel { border-radius: 24px 24px 0 0; max-height: 92svh; transform: translateY(40px); }
  .qopts-2 { grid-template-columns: 1fr; }
  .qopts-4 { grid-template-columns: 1fr 1fr; }
  /* móvil: botón siempre visible, con aire */
  .quiz-panel { padding: 22px 20px 0; }
  .quiz-head { margin-bottom: 16px; gap: 12px; }
  .quiz-head .avatar-img { width: 44px; height: 44px; }
  .quiz-count { margin: 8px 0 16px; }
  .qtitle { margin-bottom: 14px; line-height: 1.2; }
  .qtitle + .qhelp { margin-top: 0; }
  .qhelp { margin-bottom: 18px; line-height: 1.6; }
  .qopts-list { gap: 8px; }
  .qopts-list .qopt-box { padding: 11px 14px; }
  .qnote { margin-top: 12px; }
  .qfield { margin-top: 8px; }
  .qfield input { padding: 13px 14px; }
  .qfield textarea { min-height: 120px; }
  .qerror { min-height: 0; margin-top: 10px; }
  .qerror:empty { margin: 0; }
  .qnav { position: sticky; bottom: 0; z-index: 3; margin: 12px -20px 0; padding: 22px 20px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255,255,255,0), #fff 22px); }
  .qnext { flex: 1; justify-content: center; }
  .qback:not(.show) { display: none; }
  .quiz-foot { margin: 0; padding: 4px 0 calc(20px + env(safe-area-inset-bottom)); border-top: 0; }
}

/* ==========================================================
   COOKIES
   ========================================================== */
.cookie { position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 30px 70px -30px rgba(16,19,24,.45); color: var(--body); animation: rise .5s var(--ease) both; }
.cookie p { margin: 0 0 12px; }
.cookie a { color: var(--ink); }
.cookie-title { color: var(--ink); margin-bottom: 4px !important; }
.cookie-config { display: grid; gap: 8px; margin-bottom: 12px; }
.switch { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.switch input { width: 18px; height: 18px; accent-color: var(--blue); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-sm { appearance: none; font: inherit; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.btn-sm:hover { background: var(--chip); }
.btn-sm-solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.cookie-actions [data-ck="config"] { order: -1; margin-right: auto; }
.btn-sm-solid:hover { background: #000; }
@media (max-width: 560px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 14px; }
  .cookie p:not(.cookie-title) { margin-bottom: 10px; }
  .btn-sm { height: 36px; padding: 0 12px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}

/* ==========================================================
   PÁGINAS LEGALES Y 404
   ========================================================== */
.legal { padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 9vw, 128px); }
.legal-wrap { max-width: 780px; }
.legal h1 { margin: 0 0 28px; color: var(--ink); }
.legal h2 { margin: 40px 0 12px; color: var(--ink); }
.legal p, .legal li { color: var(--body); }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li + li { margin-top: 6px; }
.legal a:not(.btn) { color: var(--blue); }
.legal-head .header-actions { margin-left: auto; }
.legal strong { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 700; }
.legal .upd { margin-top: 32px; color: var(--muted); }
.legal-footer { padding: 28px 0; }
.legal-footer .footer-bottom { border-top: 0; padding-top: 0; }
.notfound .eyebrow { margin-bottom: 18px; }
.notfound-cta { margin-top: 28px !important; }

/* ==========================================================
   MÓVIL · rendimiento: fuera animaciones de capas desenfocadas
   ========================================================== */
@media (max-width: 900px), (pointer: coarse) {
  .hx-grain, .hx-beam, .hx-rings { display: none; }
  .hx-dots, .hx-mesh i, .aurora i, .help-glow i, .price-glow, .float-card { animation: none !important; will-change: auto; }
  .chat, .kpi, .help-item, .smp-tag, .site-header.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .chat, .kpi, .help-item { background: rgba(255,255,255,.97); }
  .site-header.scrolled { background: rgba(250,251,254,.98); }
}

/* Footer · teléfono (línea secundaria bajo el email) */
.footer-tel { display: flex; width: fit-content; align-items: center; gap: 10px; margin-top: 18px; color: var(--ink-2); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; text-decoration: none; transition: color .25s ease; }
.footer-tel svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-tel:hover { color: var(--blue); }
.footer-tel:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
