/* ============================================================
   Nexo · sitio público (página de producto)
   Sistema de diseño: rejilla de 4/8 px, tokens claro/oscuro,
   tipografía Inter, componentes sin dependencias.
   ============================================================ */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f5f7fc; --bg2: #edf1fa; --surface: #ffffff; --surface2: #f8faff;
  --ink: #0a1430; --ink2: #37456a; --muted: #5d6b8a;
  --line: #e1e8f5; --line2: #cdd8ec;
  --brand: #2358e6; --brand2: #1b44c0; --brand-soft: #e9efff; --btn: #2358e6; --btn-h: #1b44c0;
  --ok: #0f8f62; --ok-soft: #e2f6ee; --warn: #9a5f00; --warn-soft: #fff3da; --bad: #c93232; --vio: #6a43d8; --vio-soft: #efeaff;
  --shadow-1: 0 1px 2px rgba(10, 20, 48, .05), 0 10px 28px rgba(10, 20, 48, .07);
  --shadow-2: 0 40px 90px -30px rgba(25, 55, 150, .38), 0 14px 34px rgba(10, 20, 48, .10);
  --grid: rgba(35, 88, 230, .07);
  --radius: 16px;
  --nav-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #050b1a; --bg2: #08122a; --surface: #0b1630; --surface2: #0f1c3a;
    --ink: #eaf0fc; --ink2: #b4c1dd; --muted: #8e9dbd;
    --line: #17274a; --line2: #243a66;
    --brand: #6b96ff; --brand2: #8fb0ff; --brand-soft: #12244d; --btn: #3a68ee; --btn-h: #4d79f5;
    --ok: #35c690; --ok-soft: #0e3226; --warn: #f2b441; --warn-soft: #3a2b0c; --bad: #f06b6b; --vio: #a68bf5; --vio-soft: #241b4a;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .35);
    --shadow-2: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 14px 34px rgba(0, 0, 0, .4);
    --grid: rgba(107, 150, 255, .08);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050b1a; --bg2: #08122a; --surface: #0b1630; --surface2: #0f1c3a;
  --ink: #eaf0fc; --ink2: #b4c1dd; --muted: #8e9dbd;
  --line: #17274a; --line2: #243a66;
  --brand: #6b96ff; --brand2: #8fb0ff; --brand-soft: #12244d; --btn: #3a68ee; --btn-h: #4d79f5;
  --ok: #35c690; --ok-soft: #0e3226; --warn: #f2b441; --warn-soft: #3a2b0c; --bad: #f06b6b; --vio: #a68bf5; --vio-soft: #241b4a;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .35);
  --shadow-2: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 14px 34px rgba(0, 0, 0, .4);
  --grid: rgba(107, 150, 255, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--brand); }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
section[id] { scroll-margin-top: 72px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--btn); color: #fff; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.btn.primary { background: var(--btn); color: #fff; box-shadow: 0 8px 20px -6px rgba(35, 88, 230, .6); }
.btn.primary:hover { background: var(--btn-h); transform: translateY(-1px); box-shadow: 0 12px 26px -6px rgba(35, 88, 230, .65); }
.btn.ghost { background: var(--surface); border-color: var(--line2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--brand); transform: translateY(-1px); }
.btn.lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink2); transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Barra superior ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background-color .25s, border-color .25s, box-shadow .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.open { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #3b82f6, #1e46c8); box-shadow: 0 6px 16px -4px rgba(35, 88, 230, .55); }
.logo-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 8px 12px; border-radius: 10px; color: var(--ink2); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.nav-links a.active { color: var(--brand); }
.menu-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.ic-sun { display: none; }
:root[data-theme="dark"] .ic-moon { display: none; }
:root[data-theme="dark"] .ic-sun { display: block; }
.menu-btn { display: none; }
.menu-btn .ic-close { display: none; }
.nav.open .menu-btn .ic-open { display: none; }
.nav.open .menu-btn .ic-close { display: block; }

/* ---------- Portada ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(56px, 8vw, 96px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; display: block; width: 720px; height: 720px; border-radius: 50%; filter: blur(8px); }
.o1 { top: -300px; left: 50%; transform: translateX(-85%); background: radial-gradient(closest-side, rgba(59, 130, 246, .30), transparent); }
.o2 { top: -200px; left: 50%; transform: translateX(-5%); background: radial-gradient(closest-side, rgba(122, 79, 224, .24), transparent); }
.grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 75% 62% at 50% 22%, #000 28%, transparent 76%); mask-image: radial-gradient(ellipse 75% 62% at 50% 22%, #000 28%, transparent 76%); }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid var(--line2); border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink2); font-size: 13.5px; font-weight: 600; margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
h1 { max-width: 980px; font-size: clamp(34px, 5.2vw, 66px); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; margin-bottom: 24px; }
.grad { background: linear-gradient(100deg, #2358e6 0%, #5b6cf0 45%, #8a4fe0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .grad { background-image: linear-gradient(100deg, #6b96ff 0%, #8f9bff 50%, #b595ff 100%); }
.lead { max-width: 700px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.65; color: var(--ink2); margin-bottom: 32px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-bottom: clamp(40px, 6vw, 64px); color: var(--ink2); font-size: 14.5px; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { width: 18px; height: 18px; color: var(--ok); }
.stage { position: relative; width: 100%; max-width: 1080px; }

/* ---------- Marco de navegador ---------- */
.frame { border: 1px solid var(--line2); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--surface2); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.frame-bar i:nth-child(2) { background: #febc2e; }
.frame-bar i:nth-child(3) { background: #28c840; }
.frame-url { flex: 1; max-width: 340px; margin-left: 16px; padding: 5px 14px; border-radius: 8px; background: var(--bg2); color: var(--muted); font-size: 12.5px; line-height: 1.4; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-body { position: relative; background: var(--surface); }
.frame-body img { display: block; width: 100%; height: auto; }
.frame-body img.img-dark { display: none; }
:root[data-theme="dark"] .frame-body img.img-light { display: none; }
:root[data-theme="dark"] .frame-body img.img-dark { display: block; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-1); text-align: left; animation: floaty 7s ease-in-out infinite alternate; }
.float b { display: block; font-size: 14px; line-height: 1.3; }
.float small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.fi.ok { background: var(--ok-soft); color: var(--ok); } .fi.bl { background: var(--brand-soft); color: var(--brand); } .fi.vi { background: var(--vio-soft); color: var(--vio); }
.f1 { left: -36px; top: 16%; }
.f2 { right: -36px; top: 34%; animation-delay: -2s; }
.f3 { left: 7%; bottom: -26px; animation-delay: -4s; }
@keyframes floaty { to { transform: translateY(-10px); } }

/* ---------- Franja ---------- */
.strip { padding: 8px 0 0; }
.strip-in { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.strip-t { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink2); font-size: 14px; font-weight: 600; }

/* ---------- Secciones ---------- */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec-alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sec-head.left { margin-inline: 0; text-align: left; }
.eyebrow { display: block; margin-bottom: 14px; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; margin-bottom: 16px; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
.sub { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.65; color: var(--ink2); text-wrap: pretty; }
.ticks { display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink2); }
.ticks .ic { width: 20px; height: 20px; margin-top: 3px; color: var(--ok); }
.ticks b { color: var(--ink); }

/* ---------- Funciones ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.fcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fcard:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow-1); transform: translateY(-3px); }
.fcard:hover::before { opacity: 1; }
.fcard h3 { margin-top: 12px; }
.fcard p { color: var(--ink2); font-size: 15px; line-height: 1.65; }
.ficon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.c1 { --c: #d98a0b; } .c2 { --c: #e0504f; } .c3 { --c: #2d7be5; } .c4 { --c: #0f9d6b; } .c5 { --c: #0a8f87; } .c6 { --c: #7a4fe0; }
.c7 { --c: #c9701a; } .c8 { --c: #2358e6; } .c9 { --c: #cf4a8a; } .c10 { --c: #14a89d; } .c11 { --c: #4f6bdb; } .c12 { --c: #7c8aa5; }

/* ---------- Recorrido ---------- */
.show { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 40px); align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 8px; }
.tab { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 2px 14px; padding: 14px 16px; border: 1px solid transparent; border-radius: 16px; background: transparent; color: var(--ink2); text-align: left; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.tab:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.tab .ti { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg2); color: var(--muted); transition: background-color .2s, color .2s; }
.tab b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; font-weight: 700; }
.tab small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.tab[aria-selected="true"] { background: var(--surface); border-color: var(--line2); box-shadow: var(--shadow-1); }
.tab[aria-selected="true"] .ti { background: var(--btn); color: #fff; }
.show-main { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.show-shot img { transition: opacity .3s ease; }
.show-shot img.swap { opacity: 0; }
.show-info { display: grid; gap: 14px; padding: 4px 4px 0; border-radius: 12px; }
.show-info h3 { font-size: 22px; letter-spacing: -.02em; }
.show-info p { color: var(--ink2); font-size: 16px; }
.show-info ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin-top: 4px; }
.show-info li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink2); font-size: 15px; line-height: 1.5; }
.show-info li .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }

/* ---------- Móvil ---------- */
.mob { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.mob-text .sub { margin-bottom: 28px; }
.mob-shot { display: flex; justify-content: center; }
.phone { position: relative; width: min(320px, 100%); padding: 14px 12px 12px; border: 1px solid #223760; border-radius: 46px; background: #0b1530; box-shadow: var(--shadow-2); }
.phone-notch { position: absolute; top: 5px; left: 50%; width: 56px; height: 4px; margin-left: -28px; border-radius: 4px; background: #2a3f6b; }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.step-n { position: absolute; top: 18px; right: 22px; font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: color-mix(in srgb, var(--brand) 16%, transparent); }
.step-i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.step p { color: var(--ink2); font-size: 15px; line-height: 1.65; }

/* ---------- Seguridad ---------- */
.sec-dark { background: radial-gradient(900px 420px at 15% 0%, rgba(59, 108, 240, .28), transparent 70%), radial-gradient(700px 380px at 100% 100%, rgba(122, 79, 224, .22), transparent 70%), #070f27; color: #eaf0fc; }
.sec-dark .eyebrow { color: #8fb0ff; } .sec-dark h2 { color: #fff; } .sec-dark .sub { color: #b4c1dd; }
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scard { display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: rgba(255, 255, 255, .04); transition: border-color .25s, background-color .25s, transform .25s; }
.scard:hover { border-color: rgba(143, 176, 255, .5); background: rgba(255, 255, 255, .07); transform: translateY(-3px); }
.scard.big { grid-column: span 2; grid-row: span 2; justify-content: flex-start; padding: clamp(28px, 4vw, 44px); background: linear-gradient(160deg, rgba(59, 108, 240, .22), rgba(255, 255, 255, .04) 60%); }
.scard h3 { margin-top: 12px; color: #fff; }
.scard.big h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.scard p { color: #b4c1dd; font-size: 15px; line-height: 1.65; }
.sicon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(107, 150, 255, .16); color: #9db8ff; }
.iso { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: auto; padding-top: 40px; }
.iso-b { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 16px; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 16px; color: #8d9fc7; }
.iso-b .ic { width: 22px; height: 22px; }
.iso-b span { font: 500 13px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iso-b i { display: block; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.iso-b i:last-child { width: 62%; }
.iso-b.me { border: 1px solid #5f8cff; background: rgba(59, 108, 240, .22); color: #fff; box-shadow: 0 10px 30px -10px rgba(59, 108, 240, .6); }
.iso-b.me i { background: rgba(255, 255, 255, .35); }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; padding-top: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.plan.rec { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-2); }
.plan-badge { position: absolute; top: -14px; left: 28px; padding: 5px 14px; border-radius: 999px; background: var(--btn); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.plan h3 { font-size: 20px; }
.plan-note { min-height: 24px; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 20px 0 6px; }
.plan-price b { font-size: 42px; line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.plan-price b.ask { font-size: 28px; letter-spacing: -.02em; }
.plan-price span { color: var(--muted); font-size: 14px; font-weight: 500; }
.plan-trial { align-self: flex-start; margin: 8px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 12.5px; font-weight: 700; }
.plan-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink2); font-size: 15px; line-height: 1.5; }
.plan-list .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.plan .btn { margin-top: auto; }
.plan.skel { gap: 16px; min-height: 380px; }
.plan.skel i { display: block; height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--bg2) 25%, var(--line) 50%, var(--bg2) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.plan.skel i:first-child { width: 50%; height: 22px; } .plan.skel i:nth-child(2) { width: 70%; height: 40px; margin-top: 12px; } .plan.skel i:nth-child(4) { width: 85%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.plans-err { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 24px; border: 1px dashed var(--line2); border-radius: 20px; background: var(--surface); text-align: center; }
.plans-err p { color: var(--ink2); max-width: 460px; }
.plans-note { margin-top: 32px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Preguntas ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.qa.open { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow-1); }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border: 0; border-radius: 18px; background: none; color: var(--ink); font-size: 16.5px; line-height: 1.4; font-weight: 700; text-align: left; }
.qa button .ic { width: 20px; height: 20px; color: var(--muted); transition: transform .25s, color .2s; }
.qa.open button .ic { transform: rotate(180deg); color: var(--brand); }
.qa .a { padding: 0 22px 22px; color: var(--ink2); font-size: 15.5px; line-height: 1.7; }
.qa .a[hidden] { display: none; }

/* ---------- Registro ---------- */
.reg { padding-block: clamp(56px, 7vw, 96px); }
.reg-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: linear-gradient(135deg, #17368f 0%, #2358e6 55%, #5a3fd6 100%); color: #fff; box-shadow: var(--shadow-2); }
.reg-card::before { content: ""; position: absolute; z-index: -1; top: -240px; right: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); }
.reg-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(120deg, #000, transparent 60%); mask-image: linear-gradient(120deg, #000, transparent 60%); }
.reg-text h2 { color: #fff; }
.reg-text .sub { color: rgba(255, 255, 255, .86); margin-bottom: 28px; }
.eyebrow.on-dark { color: rgba(255, 255, 255, .78); }
.ticks.on-dark li { color: rgba(255, 255, 255, .9); }
.ticks.on-dark .ic { color: #8ff0c4; }
.form-card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 70px -20px rgba(5, 15, 60, .55); }
.form-card h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 6px; }
.form-card .sub { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.fgrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.span2 { grid-column: span 2; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--ink2); font-size: 13px; font-weight: 600; }
.f input, .slug input { width: 100%; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface2); color: var(--ink); font-size: 15px; font-weight: 500; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.f input::placeholder, .slug input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.f input:hover, .slug input:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line2)); }
.f input:focus, .slug input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); background: var(--surface); }
.slug { display: flex; align-items: stretch; }
.slug input { border-radius: 12px 0 0 12px; text-align: right; }
.slug span { display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--line2); border-left: 0; border-radius: 0 12px 12px 0; background: var(--bg2); color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.hint { min-height: 18px; color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.4; }
.hint.ok { color: var(--ok); } .hint.bad { color: var(--bad); }
.chk { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; color: var(--ink2); font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--btn); flex: none; }
.note { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 13px; line-height: 1.5; }
.note[hidden] { display: none; }
.err { margin-top: 12px; color: var(--bad); font-size: 13.5px; font-weight: 500; line-height: 1.5; }
.err:empty { display: none; }
#go { margin-top: 18px; }
.done { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 8px; text-align: center; }
.done[hidden] { display: none; }
.done h2 { margin: 4px 0 0; }
.done p { color: var(--ink2); max-width: 380px; }
.done-i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.done-i .ic { width: 28px; height: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr); gap: 40px; padding-block: 64px 48px; }
.foot-brand p { max-width: 360px; margin-top: 16px; color: var(--muted); font-size: 14.5px; }
.foot-brand .foot-legal { margin-top: 12px; font-size: 13px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-col h4 { margin-bottom: 6px; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.foot-col a { color: var(--ink2); font-size: 14.5px; text-decoration: none; }
.foot-col a:hover { color: var(--brand); }
.foot-bar { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; color: var(--muted); font-size: 13.5px; }
.foot-bar::before { content: ""; position: absolute; top: 0; left: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); height: 1px; background: var(--line); }
.foot-bar a { color: var(--muted); text-decoration: none; }
.foot-bar a:hover { color: var(--brand); }

/* ---------- Aparición al desplazarse ---------- */
html.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .fcard.rv.in:hover { transform: translateY(-3px); transition-delay: 0ms; }

/* ---------- Adaptación ---------- */
@media (max-width: 1180px) { .float { display: none; } }
@media (max-width: 1024px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scard.big { grid-column: span 2; grid-row: auto; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px clamp(20px, 4vw, 40px) 20px; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 12px; font-size: 16px; }
  .menu-cta { display: inline-flex; margin-top: 10px; }
}
@media (max-width: 900px) {
  .show { grid-template-columns: minmax(0, 1fr); }
  .tabs { flex-direction: row; gap: 8px; margin-inline: calc(clamp(20px, 4vw, 40px) * -1); padding: 4px clamp(20px, 4vw, 40px) 18px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: clamp(20px, 4vw, 40px); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; grid-template-columns: auto; padding: 10px 16px 10px 10px; scroll-snap-align: start; border-color: var(--line); background: var(--surface); white-space: nowrap; }
  .tab { grid-template-columns: 36px auto; }
  .tab .ti { grid-row: auto; width: 36px; height: 36px; }
  .tab small { display: none; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .sec-head { position: static; margin-bottom: 8px; }
  .mob { grid-template-columns: minmax(0, 1fr); }
  .reg-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .fgrid, .steps, .sgrid { grid-template-columns: minmax(0, 1fr); }
  .scard.big { grid-column: auto; }
  .show-info ul { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { flex: 1 1 100%; }
  .frame-bar { height: 38px; padding: 0 12px; }
  .frame-url { margin-left: 8px; font-size: 11.5px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-bar { flex-direction: column; }
}
@media (max-width: 480px) {
  .fgrid2 { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: auto; }
  .reg-card { border-radius: 22px; }
  .plan-price b { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .rv { opacity: 1; transform: none; }
}
