[hidden] { display: none !important; }
/* Layout: una columna editorial de 1160 px; el inicio parte en texto + escena 3D viva; luego bandas que alternan fondo. */
/* Paleta empresarial: blanco o casi negro, líneas finas, el azul de la marca como única tinta (el naranja solo en el logo). */
:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F6F7F9; --bg2: #F6F7F9; --bg3: #EEF0F4; --tray: #F6F7F9;
  --ink: #0B1220; --ink-2: #344054; --muted: #667085; --line: #E4E7EC; --line2: #D0D5DD;
  --brand: #2B35C8; --brand-h: #2129A8; --brand-2: #4A54E1; --brand-ink: #2B35C8; --brand-soft: #EEF0FD; --on-brand: #FFFFFF;
  --orange: #FF8A1F; --green: #067647; --green-soft: #ECFDF3; --red: #D92D20; --pink: #F2477E; --orange-soft: #FFF4E5; --orange-ink: #B54708;
  --navy: #0B1020; --navy2: #141A33; --navy-line: #262D4D; --alu1: #E6E8EE; --alu2: #B6BBC7;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 12px 32px rgba(16,24,40,.08); --glow: rgba(43,53,200,.14);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: .8125rem; --step-0: 1rem; --step-1: 1.125rem; --step-2: 1.375rem; --step-3: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); --step-4: clamp(2.2rem, 1.4rem + 3.4vw, 3.5rem);
  --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0E17; --surface: #10141F; --surface-2: #161B29; --bg2: #10141F; --bg3: #161B29; --tray: #10141F;
    --ink: #F2F4F7; --ink-2: #C7CCD6; --muted: #8D95A7; --line: #1E2432; --line2: #2B3244;
    --brand: #6E77FF; --brand-h: #8A92FF; --brand-2: #8A92FF; --brand-ink: #9EA5FF; --brand-soft: #171C3A; --on-brand: #0B0E17;
    --green: #47CD89; --green-soft: #0E2A1E; --red: #F97066; --orange-soft: #2A2113; --orange-ink: #FDB022;
    --navy: #070A12; --navy2: #0F1424; --navy-line: #222943; --alu1: #41465A; --alu2: #1F2331;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.35); --glow: rgba(110,119,255,.22); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0E17; --surface: #10141F; --surface-2: #161B29; --bg2: #10141F; --bg3: #161B29; --tray: #10141F;
  --ink: #F2F4F7; --ink-2: #C7CCD6; --muted: #8D95A7; --line: #1E2432; --line2: #2B3244;
  --brand: #6E77FF; --brand-h: #8A92FF; --brand-2: #8A92FF; --brand-ink: #9EA5FF; --brand-soft: #171C3A; --on-brand: #0B0E17;
  --green: #47CD89; --green-soft: #0E2A1E; --red: #F97066; --orange-soft: #2A2113; --orange-ink: #FDB022;
  --alu1: #41465A; --alu2: #1F2331; --navy: #070A12; --navy2: #0F1424; --navy-line: #222943;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.35); --glow: rgba(110,119,255,.22); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 650; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; }
.dot { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 46px; padding: 0 20px; border-radius: 10px; font: 600 .95rem/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background .15s, box-shadow .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-h); }
.btn-ghost { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-ghost:hover { background: var(--bg2); }
.btn-sm { height: 38px; padding: 0 14px; font-size: .875rem; border-radius: 9px; }
.btn svg { width: 17px; height: 17px; }

/* Encabezado */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top { border-bottom-color: var(--line); } .top.scrolled { box-shadow: 0 6px 20px -12px rgba(16,24,40,.18); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; transition: height .25s ease; }
.top.scrolled .wrap { height: 58px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.1rem; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: none; } :root[data-theme="dark"] .theme .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .sun { display: none; } :root:not([data-theme="light"]) .theme .moon { display: block; } }
.top .btn { height: 38px; padding: 0 14px; font-size: .875rem; }
.signin { padding: 8px 10px; border-radius: 9px; font-size: .92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.signin:hover { color: var(--ink); background: var(--surface-2); }
.logo { font-weight: 650; } .logo svg { width: 30px; height: 30px; }
.menu-btn { display: none; }
.sheet { display: none; } .sheet-theme { display: none; }
@media (max-width: 860px) {
  .nav, .signin { display: none; }
  .menu-btn { display: grid; }
  .sheet { position: absolute; left: 0; right: 0; top: 68px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); flex-direction: column; gap: 2px; }
  .sheet.open { display: flex; }
  .sheet a { padding: 12px 10px; border-radius: 12px; text-decoration: none; font-weight: 500; }
  .sheet a:hover, .sheet-theme:hover { background: var(--surface-2); }
  .sheet-theme { display: block; text-align: left; padding: 12px 10px; border-radius: 12px; border: 0; background: transparent; color: inherit; font: 500 1rem var(--font); cursor: pointer; border-top: 1px solid var(--line); margin-top: 6px; }
}
.logo span { white-space: nowrap; }
@media (max-width: 440px) { .top .theme { display: none; } .top-actions { gap: 6px; } }

/* Secciones */
section { scroll-margin-top: 80px; }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.head-row { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.head-row h2 { font-size: var(--step-3); }

/* Preguntas */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); max-width: 68ch; }

/* Contacto y pie */
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.mail { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; user-select: all; }
.mail button { height: 38px; padding: 0 14px; border-radius: 11px; border: 0; background: var(--brand-soft); color: var(--brand); font: 600 .85rem var(--font); cursor: pointer; }
footer { padding-block: 40px calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: grid; gap: 28px; }
footer h4 { margin: 0 0 14px; font-size: .82rem; font-weight: 600; color: var(--ink); }
footer .brandcol { display: grid; gap: 14px; align-content: start; } footer .brandcol p { max-width: 34ch; } footer .logo { color: var(--ink); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; } footer a:hover { color: var(--ink); }
footer .legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }
@media (max-width: 760px) { footer .brandcol { grid-column: 1 / -1; } }

/* Entrada suave de secciones (solo lo que está fuera de la primera pantalla) */
.pre { opacity: 0; transform: translateY(18px); }
.rv { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pre { opacity: 1; transform: none; }
}

/* ---------- Páginas internas ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 32px); }
.page-hero h1 { font-size: var(--step-4); letter-spacing: -.035em; max-width: 22ch; }
.page-hero .lead { margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.draft { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--orange) 14%, var(--surface)); color: var(--ink); font-size: .9rem; margin-top: 22px; max-width: 760px; }
.draft svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--orange); margin-top: 2px; }

/* Texto largo (guías y documentos legales) */
.prose { max-width: 70ch; font-size: 1.04rem; color: var(--ink-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: var(--step-2); color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: var(--step-1); color: var(--ink); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 600; background: var(--surface-2); }
.tbl { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.note { padding: 16px 18px; border-radius: 16px; background: var(--brand-soft); color: var(--ink); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: 96px; display: grid; gap: 14px; }
.aside .cta-card { padding: 22px; border-radius: var(--r); color: #fff; background: radial-gradient(120% 140% at 100% 0%, #4A54E1, #2B35C8 50%, #1A2190); display: grid; gap: 12px; }
.aside .cta-card p { color: rgba(255,255,255,.85); font-size: .92rem; }
.aside .cta-card .btn { background: #fff; color: #1F2699; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .88rem; margin-top: 16px; }
@media (max-width: 900px) { .article { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }

/* Tarjetas de guías y ayuda */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gcard { --c: var(--brand); display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.band.alt .gcard { background: var(--bg); }
.gcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, var(--line)), var(--shadow); }
.gcard .art { height: 120px; border-radius: 14px; background: color-mix(in srgb, var(--c) 12%, var(--surface)); display: grid; place-items: center; overflow: hidden; }
.gcard .art svg { width: 70%; height: 90%; }
.gcard h3 { font-size: var(--step-1); }
.gcard p { color: var(--ink-2); font-size: .93rem; }
.gcard small { color: var(--muted); font-weight: 500; margin-top: auto; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.help-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.help-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.help-nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.help-nav a:hover { background: var(--surface-2); color: var(--ink); }
.help-group { display: grid; gap: 10px; scroll-margin-top: 90px; }
.help-group + .help-group { margin-top: 36px; }
.help-group h2 { font-size: var(--step-2); margin-bottom: 4px; }
#help-nav { display: contents; }
.help-search { position: relative; display: block; margin-bottom: 26px; max-width: 820px; }
.help-search svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.help-search input { width: 100%; height: 56px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 14px 34px rgba(17,19,48,.06); padding: 0 22px 0 52px; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.help-search input:focus { box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px rgba(43,53,200,.10); }
.help-none { margin: -10px 0 24px; color: var(--muted); }
.help-none a { color: var(--brand); font-weight: 600; }
.faq .art { padding-bottom: 20px; color: var(--ink-2); max-width: 68ch; display: grid; gap: 12px; }
.faq .art p, .faq .art ul, .faq .art ol { margin: 0; padding-bottom: 0; }
.faq .art ul, .faq .art ol { padding-left: 22px; display: grid; gap: 4px; }
.faq .art h3 { font-size: 16px; margin: 4px 0 0; color: var(--ink); }
.faq .art b { color: var(--ink); }
.faq .art a { color: var(--brand); font-weight: 600; }
.faq .util { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: 14px; }
.faq .util span { flex: 1; min-width: 120px; }
.faq .util button { height: 34px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.faq .util button:hover { color: var(--brand); }
@media (max-width: 860px) { .help-grid { grid-template-columns: minmax(0, 1fr); } .help-nav { position: static; display: flex; flex-wrap: wrap; } }

/* ---------- Formulario de contacto / PQRS ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.channels { display: grid; gap: 12px; margin-top: 26px; }
.channel { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.band.alt .channel { background: var(--bg); }
.channel .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.channel .ic svg { width: 21px; height: 21px; }
.channel b { display: block; font-weight: 600; }
.channel span { color: var(--ink-2); font-size: .9rem; overflow-wrap: anywhere; }
.channel button { margin-left: auto; height: 36px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--brand-soft); color: var(--brand); font: 600 .82rem var(--font); cursor: pointer; flex-shrink: 0; }
.form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.band.alt .form { background: var(--bg); }
.form .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .form .two { grid-template-columns: minmax(0, 1fr); } }
.f { display: grid; gap: 6px; min-width: 0; }
.f > label, .f > legend { font-size: .85rem; font-weight: 600; color: var(--ink); padding: 0; }
.f .hint { font-size: .78rem; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; min-width: 0; border: 0; border-radius: 13px; background: var(--surface-2); color: var(--ink); font: 400 16px/1.4 var(--font); padding: 12px 14px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s, background .15s; }
.f input, .f select { height: 48px; }
.f textarea { min-height: 130px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 2px var(--brand-2); }
.f [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--pink); }
.f .err, .sus-ok .err { font-size: .8rem; color: var(--pink); min-height: 0; }
.sus-ok .err:not(:empty) { display: block; justify-self: start; text-align: left; margin-top: 2px; padding-left: 35px; }
.types { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.types label { position: relative; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.types input:checked + span { background: var(--brand); color: #fff; }
.types input:focus-visible + span { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.drop { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--line); color: var(--ink-2); font-size: .9rem; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--brand-2); background: var(--brand-soft); }
.drop svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.files { display: flex; flex-wrap: wrap; gap: 6px; }
.files span { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.check a { color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn-primary { justify-self: start; }
.done { display: grid; gap: 12px; justify-items: start; padding: 8px 2px; }
.done .tick { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.done .tick svg { width: 28px; height: 28px; }
.done code { font: 600 1.05rem var(--font); color: var(--ink); background: var(--surface-2); padding: 6px 12px; border-radius: 10px; letter-spacing: .02em; }
.done p { color: var(--ink-2); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WhatsApp flotante ---------- */
.wa { position: fixed; z-index: 25; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: end; gap: 10px; }
.wa-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: #1FAF5A; box-shadow: 0 12px 28px -8px rgba(31,175,90,.6); transition: transform .2s; text-decoration: none; }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-pop { width: min(300px, calc(100vw - 36px)); padding: 16px; border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: grid; gap: 10px; font-size: .9rem; animation: chip .35s cubic-bezier(.34,1.56,.64,1); }
.wa-pop p { color: var(--ink-2); }
.wa-pop .btn { height: 42px; font-size: .88rem; }

/* Redes en el pie */
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.socials a:hover { color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
footer { margin-top: clamp(72px, 9vw, 104px); padding-top: 64px; } footer .wrap { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1000px) { footer .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } footer .brandcol { grid-column: 1 / -1; } }
@media (max-width: 640px) { footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; } }

.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; }

.pq-mant { grid-column: 1 / -1; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--orange, #FF8A1F) 14%, var(--surface)); color: var(--ink); margin-bottom: 6px; }
.pq-mant p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }


/* =========================================================
   Inicio empresarial (Ronda 17)
   ========================================================= */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }
.c { width: 100%; max-width: 1264px; margin-inline: auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
.num { font-variant-numeric: tabular-nums; }
.eb { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); }
main .lead { font-size: 1.125rem; color: var(--muted); line-height: 1.6; max-width: 640px; }
.ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex-shrink: 0; }
.ic svg { width: 20px; height: 20px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.t-ok { background: var(--green-soft); color: var(--green); } .t-ok i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.t-dev { background: var(--bg3); color: var(--muted); } .t-br { background: var(--brand-soft); color: var(--brand-ink); }
.sec { padding-top: 112px; }
.sh { display: grid; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.sh h2 { font-size: 2.75rem; letter-spacing: -.028em; line-height: 1.08; }
.sh.ctr { margin-inline: auto; text-align: center; justify-items: center; }
.lt { } .dk { display: none !important; }
:root[data-theme="dark"] .lt { display: none !important; } :root[data-theme="dark"] .dk { display: block !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lt { display: none !important; } :root:not([data-theme="light"]) .dk { display: block !important; } }

/* Inicio */
.hero { position: relative; padding-top: 88px; overflow: hidden; }
/* HBG */
.hbg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; color: var(--brand); }
.hb-svg { position: absolute; left: 0; top: 0; width: 100%; height: 260px; overflow: visible; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hb-svg path, .hb-svg rect { vector-effect: non-scaling-stroke; }
.hb-l1 { fill: none; stroke: currentColor; stroke-opacity: .32; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hbdraw 2.4s cubic-bezier(.4,0,.2,1) .3s forwards; }
.hb-l2 { fill: none; stroke: var(--muted); stroke-opacity: .28; stroke-width: 1.2; stroke-dasharray: 2 7; animation: hbmarch 14s linear infinite; }
.hb-area { opacity: 0; animation: hbfade 1.6s ease 1.6s forwards; }
.hb-bar { fill: currentColor; fill-opacity: .08; transform-box: fill-box; transform-origin: 50% 100%; animation: hbbar 6s ease-in-out calc(var(--i) * .25s) infinite; }
.hb-app { position: absolute; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 7%, var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent); opacity: .75; animation: hbbob 9s ease-in-out var(--dl) infinite; }
.hb-app svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hb-arr { position: absolute; width: 22px; height: 22px; color: var(--brand); opacity: 0; animation: hbrise 7s ease-in-out var(--dl) infinite; }
.hb-arr svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes hbdraw { to { stroke-dashoffset: 0; } }
@keyframes hbfade { to { opacity: 1; } }
@keyframes hbmarch { to { stroke-dashoffset: -180; } }
@keyframes hbbar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes hbbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hbrise { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: .38; } 70% { opacity: .38; } 100% { opacity: 0; transform: translate(28px, -28px); } }
@media (max-width: 1020px) { .hb-app.a3, .hb-app.a4, .hb-arr.r0, .hb-arr.r3, .hb-arr.r4 { display: none; } }
@media (max-width: 640px) { .hb-app, .hb-bar, .hb-arr.r1, .hb-arr.r2 { display: none; } .hb-svg { height: 150px; top: -20px; } }
@media (prefers-reduced-motion: reduce) { .hbg * { animation: none !important; } .hb-l1 { stroke-dashoffset: 0; } .hb-area { opacity: 1; } }
/* /HBG */
.hero .c { position: relative; }
.suite { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px 0 6px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); font-size: .875rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: box-shadow .2s; animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.suite:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.suite b { font-weight: 500; } .suite > svg { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; } .suite:hover > svg { transform: translateX(3px); }
.apps5 { display: flex; } .apps5 span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 2px var(--bg); margin-left: -6px; transition: transform .25s; }
.apps5 span:first-child { margin-left: 0; } .apps5 svg { width: 15px; height: 15px; }
.suite:hover .apps5 span { transform: translateY(-2px); }
.suite:hover .apps5 span:nth-child(2) { transition-delay: .03s; } .suite:hover .apps5 span:nth-child(3) { transition-delay: .06s; } .suite:hover .apps5 span:nth-child(4) { transition-delay: .09s; } .suite:hover .apps5 span:nth-child(5) { transition-delay: .12s; }
.hgrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero h1 { font-size: 3.625rem; letter-spacing: -.035em; line-height: 1.05; margin-top: 24px; max-width: 640px; }
.hstage { position: relative; height: 640px; perspective: 1800px; }
.glow { position: absolute; inset: 6% 4% 4% 10%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 26%, transparent), transparent); filter: blur(10px); animation: breathe 8s ease-in-out infinite; }
.tilt { position: absolute; left: 50%; top: 50%; width: 280px; margin: -300px 0 0 -120px; transform-style: preserve-3d; animation: tilt 9s ease-in-out infinite, pin .9s cubic-bezier(.2,.7,.2,1) .25s both; will-change: transform; }
.hphone { position: relative; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2A2F45, #0B0E17 40%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), 0 50px 90px -30px rgba(16,24,40,.55), 0 20px 40px -20px rgba(16,24,40,.35); }
.hphone video { display: block; width: 100%; aspect-ratio: 600 / 1298; object-fit: cover; border-radius: 36px; background: #fff; }
.notch { position: absolute; left: 50%; top: 20px; width: 86px; height: 24px; margin-left: -43px; border-radius: 99px; background: #05060B; z-index: 2; }
.fc { position: absolute; z-index: 3; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line), 0 18px 36px -18px rgba(16,24,40,.35); font-size: .8125rem; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.fc.on { opacity: 1; transform: none; }
.fc b { display: block; font-weight: 600; font-size: .84rem; } .fc small { display: block; color: var(--muted); font-size: .78rem; white-space: nowrap; } .fc small b { display: inline; font-size: .78rem; color: var(--ink); }
.ic.sm { width: 34px; height: 34px; border-radius: 9px; } .ic.sm svg { width: 17px; height: 17px; } .ic.ok { background: var(--green-soft); color: var(--green); }
.mbar { display: block; width: 150px; height: 5px; border-radius: 9px; background: var(--bg3); margin: 6px 0 5px; overflow: hidden; } .mbar i { display: block; height: 100%; width: 33%; border-radius: 9px; background: var(--brand); }
.fc1 { left: 0; top: 96px; } .fc2 { left: 10px; bottom: 120px; } .fc3 { right: 0; top: 300px; }
.demo-tag { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.demo-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
.tour { margin-top: 96px; } .tour-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; } .tour-h p:last-child { font-size: .94rem; color: var(--muted); }
.tour .show { margin-top: 0; }
@supports (animation-timeline: view()) {
  .tour .browser { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes grow { from { opacity: .4; transform: scale(.93) translateY(30px); } to { opacity: 1; transform: none; } }
}
.hero .lead { margin-top: 22px; font-size: 1.1875rem; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta { margin-top: 34px; } .hero .cta .btn { height: 50px; padding: 0 22px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: .875rem; color: var(--muted); }
.ticks span { display: inline-flex; align-items: center; gap: 7px; } .ticks svg { width: 16px; height: 16px; color: var(--green); }
.show { position: relative; margin-top: 64px; }
.browser { border-radius: 14px; background: var(--bg); box-shadow: 0 0 0 1px var(--line2), 0 30px 80px -30px rgba(16,24,40,.35), 0 12px 24px -12px rgba(16,24,40,.12); overflow: hidden; animation: rise .9s cubic-bezier(.2,.7,.2,1) .2s both; }
.bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.bar > i { width: 11px; height: 11px; border-radius: 50%; background: var(--line2); }
.bar > span { margin: 0 auto; height: 24px; min-width: 300px; padding: 0 14px; border-radius: 6px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: .75rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.bar > span svg { width: 12px; height: 12px; }
.urls { position: relative; display: block; height: 16px; width: 240px; font-weight: 400; } .urls em { position: absolute; inset: 0; font-style: normal; }
.bscr { position: relative; aspect-ratio: 1600 / 1000; } .bscr img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hcap { position: absolute; left: 24px; bottom: 64px; z-index: 2; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-radius: 10px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px var(--line), 0 12px 28px -12px rgba(16,24,40,.3); font-size: .84rem; font-weight: 600; animation: rise .7s cubic-bezier(.2,.7,.2,1) .9s both; }
.hcap-t { position: relative; display: block; width: 160px; height: 20px; } .hcap-t span { position: absolute; inset: 0; white-space: nowrap; }
.hdots { position: relative; display: flex; gap: 5px; } .hdots > i { width: 18px; height: 3px; border-radius: 2px; background: var(--line2); } .hdots > i.cy { position: absolute; top: 0; background: var(--brand); }
.hdots > i.cy0 { left: 0; } .hdots > i.cy1 { left: 23px; } .hdots > i.cy2 { left: 46px; } .hdots > i.cy3 { left: 69px; }
.cy { opacity: 0; animation: cyc 16s ease-in-out infinite both; } .cy0 { animation-delay: -16s; } .cy1 { animation-delay: -12s; } .cy2 { animation-delay: -8s; } .cy3 { animation-delay: -4s; }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); margin: 56px 0 0; }
.facts li { padding: 30px 28px; display: grid; gap: 4px; } .facts li + li { border-left: 1px solid var(--line); }
.facts b { font-size: 1.75rem; font-weight: 650; letter-spacing: -.02em; } .facts span { font-size: .875rem; color: var(--muted); }
.in1 { animation: rise .7s cubic-bezier(.2,.7,.2,1) .05s both; } .in2 { animation: rise .7s cubic-bezier(.2,.7,.2,1) .12s both; } .in3 { animation: rise .7s cubic-bezier(.2,.7,.2,1) .2s both; }

/* Producto: funciones que avanzan solas */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.flist { display: grid; gap: 4px; }
.fi { position: relative; display: flex; gap: 16px; padding: 20px 20px 22px 18px; border-radius: 12px; overflow: hidden; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .25s; }
.fi:hover { background: color-mix(in srgb, var(--bg2) 60%, transparent); }
.fi.on { background: var(--bg2); }
.fx { display: grid; gap: 4px; } .fx b { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); transition: color .2s; } .fi.on .fx b { color: var(--ink); }
.fx span { font-size: .906rem; color: var(--muted); }
.fi .pb { position: absolute; left: 18px; right: 20px; bottom: 10px; height: 2px; border-radius: 2px; }
.fi .pb i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--brand); }
.fi.on .pb i { width: 100%; }
.feat.auto .fi.on .pb i { width: 0; animation: pbar 5s linear forwards; }
.fpanel { border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); padding: 28px 0 0 28px; overflow: hidden; }
.fstack { position: relative; width: 118%; aspect-ratio: 1300 / 991; }
.fimg { position: absolute; inset: 0; width: 100%; height: auto; border-radius: 10px 0 0 0; box-shadow: 0 0 0 1px var(--line2), 0 20px 40px -20px rgba(16,24,40,.3); opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.fimg.on { opacity: 1; transform: none; }
.mfeat { display: none; }
.caps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.caps li { padding: 28px 28px 28px 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; border-bottom: 1px solid var(--line); }
.caps li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.caps .ic { grid-row: span 2; width: 36px; height: 36px; } .caps .ic svg { width: 18px; height: 18px; }
.caps .ic, .sg .ic, .srow .ic, .mf .ic { transition: transform .35s cubic-bezier(.2,.7,.2,1), background .2s; }
.caps li:hover .ic, .sg li:hover .ic, .srow:hover .ic { transform: translateY(-2px) rotate(-4deg); }
.caps h3 { font-size: .97rem; font-weight: 600; letter-spacing: -.01em; } .caps p { font-size: .875rem; color: var(--muted); }

/* Tutoriales */
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vc { display: grid; gap: 14px; padding: 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.vt { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 16 / 9; background: var(--navy); display: block; }
.vt img, .vt video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.vt video { opacity: 0; transition: opacity .5s, transform .5s cubic-bezier(.2,.7,.2,1); } .vt video.on { opacity: 1; }
.vc:hover .vt img, .vc:hover .vt video { transform: scale(1.04); }
.vt .live { position: absolute; top: 14px; left: 14px; height: 26px; padding: 0 10px; border-radius: 99px; background: rgba(11,16,32,.72); color: #fff; font-size: .75rem; font-weight: 600; display: flex; align-items: center; gap: 6px; backdrop-filter: blur(6px); }
.vt .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #47CD89; animation: pulse 1.6s infinite; }
.vt .pl { position: absolute; left: 16px; bottom: 16px; height: 36px; padding: 0 14px 0 10px; border-radius: 99px; background: rgba(255,255,255,.95); color: #0B1220; display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; transition: transform .25s; }
.vt .pl svg { width: 14px; height: 14px; } .vc:hover .vt .pl { transform: translateY(-2px); }
.vx { display: grid; gap: 2px; } .vx b { font-size: 1rem; font-weight: 600; } .vx span { font-size: .875rem; color: var(--muted); }
.vc:focus-visible .vt { outline: 3px solid var(--brand-2); outline-offset: 3px; }
.vmodal { border: 0; padding: 0; background: transparent; width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); color: #ECEEFA; }
.vmodal::backdrop { background: rgba(8,9,22,.78); backdrop-filter: blur(6px); }
.vmodal[open] { animation: rise .35s cubic-bezier(.2,.7,.2,1); }
.vm-box { position: relative; border-radius: 16px; overflow: hidden; background: #10141F; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), inset 0 0 0 1px #262D4D; }
.vm-stage { background: #070A12; aspect-ratio: 16 / 9; max-height: calc(100dvh - 140px); display: grid; place-items: center; }
.vm-stage video { width: 100%; height: 100%; object-fit: contain; display: block; }
.vm-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.1); color: #fff; } .vm-x:hover { background: rgba(255,255,255,.2); color: #fff; }
.vm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-top: 1px solid #262D4D; }
.vm-foot b { display: block; font-weight: 600; } .vm-foot .sm { color: #8D95A7; font-size: .8rem; }
.vm-foot .btn-primary { background: #6E77FF; color: #0B0E17; }

/* Soluciones */
.sol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.srow { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1fr) 120px 24px; gap: 24px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.srow:hover { background: var(--bg2); }
.srow .ic { width: 44px; height: 44px; } .srow h3 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.srow .d { font-size: .906rem; color: var(--ink-2); } .srow .a { font-size: .844rem; color: var(--muted); }
.srow .ch { color: var(--muted); display: grid; place-items: center; } .srow .ch::after { content: ""; position: absolute; inset: 0; } .srow .ch svg { width: 18px; height: 18px; transition: transform .2s; }
.srow:hover .ch { color: var(--brand-ink); } .srow:hover .ch svg { transform: translateX(3px); }
.srow.main { background: linear-gradient(90deg, var(--brand-soft), transparent 70%); }
.wl { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px 32px; align-items: center; padding: 24px 28px; border-radius: 14px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 96px; }
.wl-t h3 { font-size: 1.0625rem; font-weight: 600; } .wl-t p { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.wl-field { display: flex; gap: 8px; }
.wl-field input { flex: 1; min-width: 0; height: 46px; border-radius: 10px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line2); padding: 0 14px; font: 400 16px var(--font); color: var(--ink); }
.wl-field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand); }
.opts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.opts label { position: relative; cursor: pointer; } .opts input { position: absolute; opacity: 0; }
.opts span { display: inline-flex; height: 30px; align-items: center; padding: 0 12px; border-radius: 7px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: .8rem; color: var(--ink-2); transition: background .15s, color .15s; }
.opts input:checked + span { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.opts input:focus-visible + span { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.wl .msg { grid-column: 2; font-size: .875rem; min-height: 0; color: var(--ink); } .wl .msg:empty { display: none; }
.wl .fine { grid-column: 1 / -1; font-size: .75rem; color: var(--muted); } .wl .fine a { color: var(--brand-ink); }
.hp { position: absolute; left: -9999px; }

/* Seguridad */
.sec-dark { position: relative; overflow: hidden; background: var(--navy); color: #F2F4F7; margin-top: 112px; padding-block: 96px; }
.sec-dark::before { content: ""; position: absolute; width: 720px; height: 720px; left: -200px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(110,119,255,.22), transparent); animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
.sec-dark > .c { position: relative; }
:root[data-theme="dark"] .sec-dark { border-block: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sec-dark { border-block: 1px solid var(--line); } }
.sd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.sd h2 { font-size: 2.5rem; letter-spacing: -.028em; line-height: 1.08; margin-top: 14px; } .sd .lead { color: #A6AEC2; margin-top: 16px; font-size: 1.0625rem; } .sd .eb { color: #9EA5FF; }
.sd a { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: .94rem; font-weight: 600; color: #fff; text-decoration: none; } .sd a svg { width: 16px; height: 16px; transition: transform .2s; } .sd a:hover svg { transform: translateX(3px); }
.sg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--navy-line); border-left: 1px solid var(--navy-line); }
.sg li { padding: 28px; border-right: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); display: grid; gap: 10px; align-content: start; }
.sg .ic { background: var(--navy2); color: #AEB4FF; box-shadow: inset 0 0 0 1px var(--navy-line); }
.sg h3 { font-size: 1rem; font-weight: 600; color: #fff; } .sg p { font-size: .875rem; color: #A6AEC2; }

/* Precios */
.ctrls { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.seg { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 36px; padding: 0 16px; border-radius: 7px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 .875rem var(--font); color: var(--muted); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 0 0 1px var(--line); }
.seg small { font-size: .75rem; color: var(--green); font-weight: 600; }
.founder { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 40px; max-width: 760px; padding: 12px 16px; border-radius: 10px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); font-size: .875rem; color: var(--ink-2); }
.founder b { font-weight: 600; color: var(--ink); } .founder .tag { flex-shrink: 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 800px; margin: 0 auto; transition: opacity .25s, transform .25s; }
.plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.plans.swap { opacity: 0; transform: translateY(8px); }
.pc { border-radius: 14px; padding: 28px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 20px; transition: box-shadow .2s; }
.pc:hover { box-shadow: inset 0 0 0 1px var(--line2), 0 16px 32px -24px rgba(16,24,40,.35); }
.pc.rec, .pc.rec:hover { box-shadow: inset 0 0 0 2px var(--brand), 0 24px 48px -28px color-mix(in srgb, var(--brand) 60%, transparent); }
.pt { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; } .pt h3 { font-size: 1.1875rem; font-weight: 600; } .pt p { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.pp { display: grid; gap: 4px; } .pp > div { display: flex; align-items: baseline; gap: 6px; } .pp b { font-size: 2.75rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; } .pp > div span { font-size: .94rem; color: var(--muted); }
.pp small { font-size: .8125rem; color: var(--muted); } .pp s { color: var(--muted); }
.pc .btn { width: 100%; } .pc hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.inc { font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: -6px; }
.pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .906rem; color: var(--ink-2); }
.pc li { display: flex; gap: 10px; align-items: flex-start; } .pc li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green); margin-top: 2px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; } .meta-row span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); font-size: .78rem; color: var(--ink-2); font-weight: 500; } .meta-row svg { width: 14px; height: 14px; color: var(--muted); }
.pnote { text-align: center; margin-top: 28px; font-size: .875rem; color: var(--muted); } .pnote a { color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.cmp table { width: 100%; min-width: 860px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px; border-bottom: 1px solid var(--line); font-size: .875rem; } .cmp thead th { background: var(--bg2); font-size: .94rem; } .cmp tbody th { white-space: nowrap; }
.cmp ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; } .cmp s { color: var(--muted); }

/* Guías en el inicio, preguntas y cierre */
#guias .cards { gap: 16px; }
.faq2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq2 .sh { margin: 0; } .faq2 .sh h2 { font-size: 2.5rem; } .faq2 .lead { font-size: 1rem; }
.help { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; } .help svg { width: 16px; height: 16px; }
.qa { gap: 0; max-width: none; border-top: 1px solid var(--line); }
.qa details { border-radius: 0; background: transparent; box-shadow: none; padding: 0; border-bottom: 1px solid var(--line); }
.qa summary { padding: 22px 0; font-size: 1.03rem; } .qa summary:hover { color: var(--brand-ink); } .qa details p { color: var(--muted); font-size: .94rem; max-width: 640px; }
.final { position: relative; overflow: hidden; margin-top: 112px; border-radius: 20px; background: var(--navy); color: #fff; padding: 72px 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.final::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(110,119,255,.35), transparent 65%); pointer-events: none; animation: drift2 14s ease-in-out infinite alternate; }
:root[data-theme="dark"] .final { box-shadow: inset 0 0 0 1px var(--line2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .final { box-shadow: inset 0 0 0 1px var(--line2); } }
.final h2 { font-size: 2.5rem; position: relative; } .final p { color: #A6AEC2; margin-top: 12px; font-size: 1.0625rem; position: relative; }
.final .cta { position: relative; } .final .w { background: #fff; color: #0B1220; } .final .w:hover { background: #E8EAF0; } .final .o { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); } .final .o:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
main + footer { margin-top: 96px; }

/* Movimiento: suave, sin rebotes; lo que no se ve espera quieto */
[data-anim]:not(.in), [data-anim]:not(.in) * { animation-play-state: paused !important; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes slidein { from { opacity: 0; transform: translate(40px, 30px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes cyc { 0% { opacity: 1; } 22% { opacity: 1; } 26% { opacity: 0; } 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes pbar { from { width: 0; } to { width: 100%; } }
@keyframes pan { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(-34%); } }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes tilt { 0%, 100% { transform: rotateY(-13deg) rotateX(5deg) rotateZ(1.2deg) translateY(0); } 50% { transform: rotateY(-7deg) rotateX(3deg) rotateZ(.4deg) translateY(-12px); } }
@keyframes pin { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(520px, 260px); } }
@keyframes drift2 { from { transform: translate(0, 0); } to { transform: translate(-260px, 120px); } }
@keyframes chip { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cy, .browser, .hcap, .suite, .in1, .in2, .in3, .mf .im img, .vt .live::before, .tilt, .glow, .sec-dark::before, .final::after, .demo-tag::before { animation: none !important; }
  .tilt { transform: rotateY(-8deg) rotateX(3deg); } .fc2 { opacity: 1; transform: none; }
  .cy { opacity: 0; } .cy0 { opacity: 1; }
  .vt video { display: none; }
}

/* Tableta */
@media (max-width: 1020px) {
  .c { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
  .hgrid { grid-template-columns: minmax(0, 1fr); gap: 8px; } .hstage { margin-top: 48px; height: 640px; max-width: 560px; width: 100%; margin-inline: auto; }
  .hero h1 { font-size: 3.25rem; } .sh h2 { font-size: 2.375rem; }
  .hcap { bottom: 48px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li:nth-child(3) { border-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feat { grid-template-columns: minmax(0, 1fr); } .flist { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fstack { width: 130%; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .caps li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .caps li:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
  .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vids .vc:nth-child(3) { display: none; }
  .srow { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px 18px; } .srow .ic { grid-row: span 2; } .srow .d { grid-column: 2; } .srow .a { display: none; } .srow .tag { grid-row: 1; grid-column: 3; } .srow .ch { position: absolute; inset: 0; opacity: 0; }
  .wl { grid-template-columns: minmax(0, 1fr); } .opts, .wl .msg { grid-column: auto; }
  .sd { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .plans.three { gap: 14px; } .plans.three .pc { padding: 22px; }
  .faq2 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .final { grid-template-columns: minmax(0, 1fr); padding: 56px 44px; }
}
/* Celular */
@media (max-width: 640px) {
  .c { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .sec { padding-top: 80px; } .sh { margin-bottom: 32px; } .sh h2 { font-size: 1.875rem; letter-spacing: -.025em; } main .lead { font-size: 1.03rem; }
  .hero { padding-top: 40px; } .hero h1 { font-size: 2.375rem; line-height: 1.1; margin-top: 20px; } .hero .lead { font-size: 1.0625rem; margin-top: 16px; }
  .suite { height: 38px; font-size: .84rem; gap: 10px; } .apps5 span { width: 26px; height: 26px; } .apps5 svg { width: 14px; height: 14px; }
  .cta { flex-direction: column; } .hero .cta { margin-top: 28px; } .cta .btn, .hero .cta .btn { width: 100%; height: 52px; }
  .ticks { flex-direction: column; gap: 10px; margin-top: 20px; }
  .hstage { height: 560px; margin-top: 16px; perspective: 1400px; } .tilt { width: 236px; margin: -250px 0 0 -118px; }
  .hphone { border-radius: 38px; padding: 9px; } .hphone video { border-radius: 30px; } .notch { top: 16px; width: 70px; height: 20px; margin-left: -35px; }
  .fc { padding: 10px 12px; gap: 10px; } .fc small { font-size: .75rem; } .fc1 { left: -4px; top: 40px; } .fc3 { display: none; } .fc2 { left: auto; right: -4px; bottom: 70px; } .mbar { width: 110px; }
  .tour { display: none; }
  .facts { margin-top: 48px; } .facts li { padding: 22px 16px; } .facts b { font-size: 1.375rem; } .facts span { font-size: .8125rem; }
  .feat { display: none; } .mfeat { display: grid; gap: 16px; }
  .mf { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; background: var(--bg); }
  .mf .tx { padding: 20px 20px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; } .mf .ic { grid-row: span 2; width: 36px; height: 36px; } .mf .ic svg { width: 18px; height: 18px; }
  .mf h3 { font-size: 1rem; font-weight: 600; } .mf p { font-size: .906rem; color: var(--muted); }
  .mf .im { background: var(--bg2); border-top: 1px solid var(--line); padding: 20px 20px 0; height: 250px; overflow: hidden; }
  .mf .im img { display: block; width: 100%; height: auto; border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px var(--line2); animation: pan 9s ease-in-out infinite alternate; }
  .caps { grid-template-columns: minmax(0, 1fr); margin-top: 32px; } .caps li, .caps li:nth-child(2n) { padding: 20px 0; border-left: 0; }
  .vids { grid-template-columns: minmax(0, 1fr); gap: 28px; } .vids .vc:nth-child(3) { display: grid; }
  .srow { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 20px 0; } .srow .ic { width: 40px; height: 40px; } .srow .tag { grid-row: auto; grid-column: 2; justify-self: start; margin-top: 6px; }
  .srow.main { margin-inline: -20px; padding-inline: 20px; } .srow h3 { font-size: .97rem; } .srow .d { font-size: .875rem; color: var(--muted); }
  .wl { padding: 20px; } .wl-field { flex-direction: column; } .wl-field input { flex: none; height: 50px; } .wl-field .btn { width: 100%; height: 50px; }
  .sec-dark { margin-top: 80px; padding-block: 72px; } .sd h2 { font-size: 1.875rem; } .sg { grid-template-columns: minmax(0, 1fr); } .sg li { padding: 22px 20px; }
  .ctrls { flex-direction: column; align-items: stretch; } .seg { width: 100%; } .seg button { flex: 1; padding: 0 10px; }
  .founder { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 28px; }
  .plans, .plans.three { grid-template-columns: minmax(0, 1fr); gap: 16px; } .pc, .plans.three .pc { padding: 24px 20px; } .pp b { font-size: 2.5rem; }
  .faq2 .sh h2 { font-size: 1.875rem; } .qa summary { font-size: .97rem; } .qa details p { font-size: .906rem; }
  .final { margin-top: 80px; padding: 44px 24px; border-radius: 16px; } .final h2 { font-size: 1.875rem; }
  main + footer { margin-top: 72px; }
}

/* Inicio (Ronda 19): portátil que abre la tapa con el recorrido en video y el celular adelante */
.duo { height: 560px; }
.dev { position: absolute; left: 0; right: 4%; top: 50%; transform: translateY(-54%); }
.laptop { position: relative; perspective: 1600px; }
.lid { position: relative; transform-origin: 50% 100%; background: #0B0E17; border-radius: 16px 16px 4px 4px; padding: 12px 12px 16px; box-shadow: inset 0 0 0 1.5px #2A2F45, 0 30px 60px -30px rgba(16,24,40,.5); animation: open 1.5s cubic-bezier(.2,.75,.2,1) .15s both; }
.cam { position: absolute; top: 4.5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2A2F45; }
.scr { aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #fff; }
.scr video { display: block; width: 100%; height: 100%; object-fit: cover; }
.base { position: relative; height: 14px; margin: 0 -6.5%; border-radius: 2px 2px 16px 16px / 2px 2px 12px 12px; background: linear-gradient(var(--alu1), var(--alu2)); box-shadow: 0 22px 34px -14px rgba(16,24,40,.5); }
.base i { position: absolute; left: 50%; top: 0; width: 15%; height: 5px; margin-left: -7.5%; border-radius: 0 0 8px 8px; background: rgba(0,0,0,.18); }
.hphone.sm { position: absolute; right: -5%; bottom: -12%; width: 25%; border-radius: 26px; padding: 6px; animation: pin .9s cubic-bezier(.2,.7,.2,1) 1.1s both, floatp 7s ease-in-out 2s infinite; will-change: transform, translate; backface-visibility: hidden; }
.hphone.sm video { border-radius: 20px; } .hphone.sm .notch { top: 11px; width: 34%; height: 12px; margin-left: -17%; }
.duo .fc1 { left: -6%; top: 2%; } .duo .fc3 { right: -3%; top: -2%; } .duo .fc2 { left: 2%; bottom: 4%; }
.win { width: 112%; border-radius: 12px 0 0 0; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line2), 0 20px 40px -20px rgba(16,24,40,.3); }
.wbar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--bg3); border-bottom: 1px solid var(--line); }
.wbar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); } .wbar span { margin-left: 10px; font-size: .75rem; color: var(--muted); font-weight: 500; }
.wscr { position: relative; aspect-ratio: 16 / 10; }
.wscr .fimg { inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; transform: scale(.985); }
.wscr .fimg.on { transform: none; }
.feat.auto .fi.on .pb i { animation-duration: var(--d, 5s); }
@keyframes open { from { transform: rotateX(-82deg); opacity: .15; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes floatp { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .lid, .hphone.sm { animation: none !important; } }
@media (max-width: 1020px) { .duo { height: 520px; } .wscr .fimg { width: 100%; } }
@media (max-width: 640px) {
  .duo { height: 350px; margin-top: 28px; } .dev { right: 8%; top: 42%; }
  .duo .fc1, .duo .fc3 { display: none; } .duo .fc2 { left: -4px; right: auto; bottom: 34px; }
  .lid { padding: 7px 7px 10px; border-radius: 10px 10px 3px 3px; } .cam { top: 2.5px; width: 3px; height: 3px; margin-left: -1.5px; } .base { height: 9px; }
  .hphone.sm { border-radius: 16px; padding: 4px; } .hphone.sm video { border-radius: 12px; } .hphone.sm .notch { top: 7px; height: 7px; }
}

/* ===== Guías: temas, tutoriales, calculadoras ===== */
.gcard .gk { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c); margin-top: 4px; }
:root[data-theme="dark"] .gcard .gk { color: color-mix(in srgb, var(--c) 55%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gcard .gk { color: color-mix(in srgb, var(--c) 55%, #fff); } }
.gcard small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-top: 6px; }
.gt { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: .72rem; font-weight: 600; }
.gt svg { width: 10px; height: 10px; } .gt.v { background: var(--brand-soft); color: var(--brand-ink); box-shadow: none; }
.gcard[hidden] { display: none; }
.chips { display: flex; gap: 8px; margin: 28px 0 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 99px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.gnone { color: var(--muted); padding: 32px 0; text-align: center; }
.gstart { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 20px 24px 20px 20px; border-radius: 18px; text-decoration: none; background: linear-gradient(120deg, var(--brand-soft), var(--surface) 70%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 22%, var(--line)); transition: transform .25s, box-shadow .25s; }
.gstart:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 50%, var(--line)), var(--shadow); }
.gs-art { height: 96px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); } .gs-art svg { width: 78%; height: 86%; }
.gs-x { display: grid; gap: 4px; min-width: 0; } .gs-x b { font-size: var(--step-2); line-height: 1.25; letter-spacing: -.01em; } .gs-x > span:last-child { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .gstart { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 16px; } .gs-art { height: 72px; } .gstart .btn { grid-column: 1 / -1; } .gs-x b { font-size: var(--step-1); } }
.tuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
@media (max-width: 900px) { .tuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tuts { grid-template-columns: minmax(0, 1fr); } }

.prose .fine { font-size: .85rem; color: var(--muted); margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose .tbl table { min-width: 460px; }
.how { display: grid; gap: 14px; padding: 20px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); margin-top: 1.6em !important; }
.how-t, .calc-t { display: grid; gap: 3px; font-size: var(--step-1); font-weight: 600; color: var(--ink); line-height: 1.3; }
.how-t span, .calc-t span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.how ol { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 10px; }
.how ol li { counter-increment: p; position: relative; padding-left: 36px; min-height: 26px; font-size: .97rem; }
.how ol li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: .8rem; font-weight: 600; display: grid; place-items: center; }
.how .btn { justify-self: start; text-decoration: none; }
.prose .how .btn { color: var(--on-brand); }
.how .gv { width: 100%; gap: 0; } .how .gv .vx { display: none; } .how .gv .vt { border-radius: 14px; }
.prose > .how + .how { margin-top: 14px !important; }

.calc { display: grid; gap: 16px; padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 30%, var(--line)), var(--shadow); margin-top: 1.6em !important; }
.calc-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.cf { display: grid; gap: 6px; font-size: .86rem; font-weight: 500; color: var(--ink-2); min-width: 0; }
.ci { display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 12px; border-radius: 11px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line2); transition: box-shadow .15s; }
.ci:focus-within { box-shadow: inset 0 0 0 2px var(--brand); }
.ci input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cx, .cs { color: var(--muted); font-weight: 500; }
.calc-o { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.co { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); min-width: 0; }
.co span { font-size: .8rem; color: var(--ink-2); } .co b { font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.2; }
.co.bad { background: color-mix(in srgb, var(--red) 10%, var(--surface)); } .co.bad b { color: var(--red); }
.co.ok { background: var(--green-soft); } .co.ok b { color: var(--green); }
.co.wide { grid-column: 1 / -1; background: var(--surface-2); } .co.wide span { font-size: .92rem; color: var(--ink); }
.calc-n { font-size: .8rem; color: var(--muted); margin: 0 !important; }
.toc { display: grid; gap: 10px; padding: 18px 20px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--ink-2); font-size: .9rem; line-height: 1.35; display: block; } .toc a:hover { color: var(--brand); }
@media (max-width: 900px) { .toc { display: none; } }

/* ===== Suscripción a las guías ===== */
.sus { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 20px 40px; align-items: start; padding: clamp(22px, 3.4vw, 36px); border-radius: 22px; background: linear-gradient(135deg, var(--brand-soft), var(--surface) 62%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 20%, var(--line)); scroll-margin-top: 96px; }
.prose .sus { grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 2.6em 0 0 !important; }
.sus-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.sus-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); flex-shrink: 0; }
.sus-ic svg { width: 23px; height: 23px; } .sus-ic.sm { width: 38px; height: 38px; border-radius: 12px; } .sus-ic.sm svg { width: 19px; height: 19px; }
.sus h2, .prose .sus h2 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -.015em; margin: 0 !important; }
.sus-h p, .prose .sus-h p { color: var(--ink-2); font-size: .97rem; margin: 6px 0 0 !important; }
.sus-f, .sus-done { display: grid; gap: 14px; min-width: 0; }
.sus-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; }
.sus .f input { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); }
.sus .f input:focus { box-shadow: inset 0 0 0 2px var(--brand-2); }
.sus .f [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--pink); }
.sus .opt { font-weight: 400; color: var(--muted); }
.sus-temas { border: 0; margin: 0; padding: 0; } .sus-temas legend { margin-bottom: 8px; }
.sus .types span { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); padding: 8px 13px; font-size: .86rem; }
.sus .types input:checked + span { box-shadow: none; }
.sus-ok { display: grid; gap: 4px; } .sus .check { font-size: .84rem; line-height: 1.5; } .prose .sus .check a { color: var(--brand-ink); }
.sus-ok .err:empty, .sus .f .err:empty { display: none; }
.sus-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sus-go .btn { min-width: 190px; }
.sus-n { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); } .sus-n svg { width: 14px; height: 14px; flex-shrink: 0; }
.sus-done .ok-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.sus-done .tick { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); flex-shrink: 0; } .sus-done .tick svg { width: 24px; height: 24px; }
.sus-done .tick.info { background: var(--brand-soft); color: var(--brand); }
.sus-done b.t { display: block; font-size: var(--step-1); line-height: 1.3; color: var(--ink); }
.sus-done p, .prose .sus-done p { margin: 4px 0 0 !important; color: var(--ink-2); font-size: .95rem; }
.sus-done .lnk { border: 0; background: none; padding: 0; font: inherit; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.sus-wa { display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sus-wa .wa-h, .prose .sus-wa .wa-h { display: flex; gap: 12px; align-items: flex-start; margin: 0 !important; font-weight: 600; color: var(--ink); line-height: 1.45; } .sus-wa .wa-h svg { width: 22px; height: 22px; color: #1FAF5A; flex-shrink: 0; margin-top: 1px; }
.sus-wa .wa-h span { font-weight: 400; color: var(--muted); font-size: .85rem; }
.sus-wa .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sus-wa .f { flex: 1 1 220px; } .sus-wa .sus-wa-f { display: grid; gap: 12px; }
.prose .sus-done .ok-h { margin-top: 0 !important; }
.sus-mini { display: grid; gap: 8px; justify-items: start; padding: 18px 20px; border-radius: var(--r); background: var(--brand-soft); }
.sus-mini b { font-size: 1rem; color: var(--ink); } .sus-mini p { margin: 0; font-size: .87rem; color: var(--ink-2); }
@media (max-width: 900px) { .sus { grid-template-columns: minmax(0, 1fr); } .sus-mini { display: none; } }
@media (max-width: 560px) { .sus-row { grid-template-columns: minmax(0, 1fr); } .sus-go .btn { width: 100%; } .sus-h { grid-template-columns: minmax(0, 1fr); } .sus-ic { width: 42px; height: 42px; } }

.conf { text-align: center; } .conf .wrap { display: grid; justify-items: center; }
.conf-ok { display: grid; justify-items: center; gap: 6px; max-width: 620px; } .conf-ok[hidden] { display: none; }
.conf-ok .lead { margin-top: 6px; } .conf-ok .btn { margin-top: 18px; }
.conf-tick { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 14px; animation: pop .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.conf-tick svg { width: 36px; height: 36px; } .conf-tick.bad { background: color-mix(in srgb, var(--pink) 14%, var(--surface)); color: var(--pink); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.conf-app { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 22px 26px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.conf-app b { font-size: var(--step-1); } .conf-app p { margin: 4px 0 0; color: var(--ink-2); }
@media (max-width: 560px) { .conf-app .btn { width: 100%; } }

/* Mis finanzas en tu celular */
.movil { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 28px; padding: 48px; }
.movil h2 { margin-top: 12px; font-size: 2.25rem; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.movil .lead { margin-top: 14px; }
.movil-abrir { display: none; margin-top: 22px; }
.movil-pasos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.movil-pasos h3 { font-size: 1rem; margin-bottom: 10px; }
.movil-pasos ol { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 10px; }
.movil-pasos li { counter-increment: p; display: flex; gap: 12px; color: var(--ink-2); line-height: 1.55; font-size: .95rem; }
.movil-pasos li::before { content: counter(p); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.movil-qr { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; background: var(--brand-soft); border-radius: 24px; padding: 32px; }
.movil-qr .qr { width: 200px; height: 200px; background: #FFFFFF; border-radius: 18px; padding: 14px; box-sizing: border-box; }
.movil-qr .qr svg { display: block; width: 100%; height: 100%; }
.movil-qr span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (max-width: 860px) {
  .movil { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 0; }
  .movil-qr { display: none; }
  .movil-abrir { display: inline-flex; }
  .movil-pasos { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .movil h2 { font-size: 1.75rem; }
}
