/* NovaCampus ERP · sitio comercial. Diseño oscuro: azul noche, cian de marca y el sol del logo. */
:root {
  color-scheme: dark;
  --bg: #03101a;
  --bg-2: #061b2a;
  --panel: rgba(13, 42, 62, .55);
  --panel-solid: #0a2334;
  --line: rgba(127, 224, 255, .14);
  --line-2: rgba(127, 224, 255, .28);
  --ink: #e9f4fb;
  --muted: #9bb3c4;
  --soft: #c8dbe8;
  --brand: #013150;
  --accent: #00b6ee;
  --accent-2: #7fe0ff;
  --sun: #f5b82e;
  --ok: #3ddc97;
  --glow: 0 0 0 1px rgba(127, 224, 255, .18), 0 24px 60px -24px rgba(0, 182, 238, .45);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body); overflow-x: hidden;
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(0, 182, 238, .14), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(1, 49, 80, .55), transparent 60%),
    linear-gradient(rgba(127, 224, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 224, 255, .035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px; background-attachment: fixed;
}
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); text-wrap: balance; margin: 0; letter-spacing: -0.02em; overflow-wrap: anywhere; }
p { margin: 0; }
a { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
b, strong { color: var(--ink); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #002033; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Barra superior */
.topbar {
  position: sticky; top: 0; z-index: 40; background: rgba(3, 16, 26, .74);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; position: relative; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; font: 700 15px var(--display); color: var(--ink); text-decoration: none; white-space: nowrap; }
.nc {
  width: 32px; height: 32px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; position: relative; flex: 0 0 32px;
  box-shadow: 0 0 0 1px rgba(127, 224, 255, .35), 0 0 18px rgba(0, 182, 238, .35);
}
.nc span { color: #fff; font: 800 12px var(--display); letter-spacing: .02em; margin-top: -3px; }
.nc::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent); }
.brandmark b { color: var(--accent); font-weight: 700; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font: 500 14px var(--body); padding: 7px 12px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(127, 224, 255, .1); }
.nav .btn { margin-left: 8px; padding: 9px 16px; font-size: 14px; }
.menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: rgba(127, 224, 255, .06);
  color: var(--ink); font: 600 14px var(--body); padding: 8px 14px; border-radius: 999px; cursor: pointer;
}
.menu-btn .bars { width: 16px; height: 10px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font: 600 15px var(--body); padding: 13px 22px; border-radius: 12px;
  border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn.primary { background: linear-gradient(135deg, #00b6ee, #0079b8); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 182, 238, .7); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0, 182, 238, .9); }
.btn.ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(127, 224, 255, .05); }
.btn.ghost:hover { transform: translateY(-2px); border-color: var(--accent-2); background: rgba(127, 224, 255, .1); }
.btn.sun { background: linear-gradient(135deg, #f5b82e, #e0931a); color: #1a1200; box-shadow: 0 10px 30px -10px rgba(245, 184, 46, .6); }
.btn.sun:hover { transform: translateY(-2px); }
.btn.wa { background: #1f9e55; color: #fff; }
.btn.wa:hover { transform: translateY(-2px); background: #22ad5d; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }

/* Portada */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding-block: 76px 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(0, 182, 238, .08); }
.hero .eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: 0 0 8px; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.15rem); line-height: 1.08; margin-top: 22px; font-weight: 800; }
.grad { background: linear-gradient(100deg, var(--accent-2) 0%, var(--accent) 45%, var(--sun) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.12rem; color: var(--soft); margin-top: 20px; max-width: 36em; }
.byline { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.fact { border: 1px solid var(--line); background: rgba(6, 27, 42, .6); border-radius: 14px; padding: 12px 14px; backdrop-filter: blur(6px); }
.fact .n { font: 600 1.6rem/1 var(--mono); color: var(--accent-2); font-variant-numeric: tabular-nums; }
.fact .l { color: var(--muted); font-size: .8rem; margin-top: 8px; line-height: 1.35; }
.hero-visual { position: relative; perspective: 1400px; }
.hero-visual .browser {
  transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--ease);
  box-shadow: var(--glow), var(--shadow); animation: floaty 7s ease-in-out infinite;
}
.hero-visual:hover .browser { transform: rotateY(-3deg) rotateX(1deg); }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.chip-float {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px;
  background: rgba(6, 27, 42, .92); border: 1px solid var(--line-2); color: var(--ink); font: 500 13px var(--body);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); backdrop-filter: blur(8px); white-space: nowrap;
}
.chip-float i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.chip-float.a { left: -22px; top: 16%; animation: floaty 6s ease-in-out infinite; }
.chip-float.b { right: -14px; bottom: 24%; animation: floaty 7.5s ease-in-out .6s infinite; }
.chip-float.c { left: 12%; bottom: -18px; animation: floaty 6.8s ease-in-out 1.2s infinite; }

/* Banda en movimiento */
.ticker { border-bottom: 1px solid var(--line); background: rgba(6, 27, 42, .55); overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track { display: flex; gap: 38px; width: max-content; padding-block: 14px; animation: marquee 50s linear infinite; }
.ticker-track span { font: 500 13px var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker-track span b { color: var(--accent-2); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Capturas */
.shot { margin: 0; min-width: 0; }
.browser {
  border-radius: 14px; overflow: hidden; background: var(--panel-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.shot .browser:hover { transform: translateY(-4px); box-shadow: var(--glow), var(--shadow); border-color: rgba(127, 224, 255, .45); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #081f2f; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #1d4560; display: block; flex: 0 0 9px; }
.browser .bar i:nth-child(1) { background: #ff5f57; } .browser .bar i:nth-child(2) { background: #febc2e; } .browser .bar i:nth-child(3) { background: #28c840; }
.browser .bar .url { margin-left: 10px; font: 500 12px var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.browser button, .phone button { display: block; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.browser img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.shot .browser:hover img { transform: scale(1.015); }
.shot figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; }
.phone {
  width: min(100%, 240px); border-radius: 32px; padding: 9px; background: linear-gradient(145deg, #12324a, #050f17); box-shadow: var(--glow), var(--shadow);
  margin-inline: auto; transition: transform .45s var(--ease);
}
.phone:hover { transform: translateY(-6px); }
.phone img { border-radius: 24px; display: block; width: 100%; height: auto; }

/* Secciones */
section.block { padding-block: 88px; position: relative; }
section.block + section.block { border-top: 1px solid var(--line); }
section.alt { background: rgba(6, 27, 42, .45); }
.head { max-width: 50rem; margin-bottom: 40px; }
.head h2, .h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; margin-top: 12px; font-weight: 700; }
.head p { color: var(--soft); margin-top: 16px; font-size: 1.06rem; }

.card, .plan, .step, .secure, .faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  backdrop-filter: blur(6px); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover, .secure:hover, .step:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 20px 40px -24px rgba(0, 182, 238, .5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { padding: 22px; }
.card h3 { font-size: 1.08rem; margin-top: 10px; }
.card p { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 182, 238, .12); border: 1px solid var(--line-2); color: var(--accent-2); }
.icon svg { width: 22px; height: 22px; }
.icon.warn { background: rgba(245, 184, 46, .12); border-color: rgba(245, 184, 46, .4); color: var(--sun); }
.icon.ok { background: rgba(61, 220, 151, .12); border-color: rgba(61, 220, 151, .4); color: var(--ok); }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; font-size: .97rem; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 17px; height: 17px; border-radius: 6px; background: rgba(61, 220, 151, .14); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, .4); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: .52em; width: 7px; height: 4px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* El problema */
.problem-after { margin-top: 28px; padding: 24px 26px; border-radius: 16px; border: 1px solid rgba(61, 220, 151, .35); background: rgba(61, 220, 151, .06); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.problem-after p { color: var(--soft); }
.problem-after b { color: var(--ok); }

/* Módulos */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-block: 44px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-top: 10px; }
.feature p { color: var(--soft); margin-top: 14px; }
.feature .num { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.subshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.subshots .browser .bar { padding: 6px 10px; }
.subshots figcaption { font-size: .8rem; }
.module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.module-grid .card { padding: 18px; }
.module-grid .card h3 { font-size: .98rem; margin-top: 8px; }
.module-grid .card p { font-size: .88rem; }

/* Celular */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.phones figure { margin: 0; }
.phones figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 12px; }
.mobile-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 48px; align-items: center; }

/* Países */
.countries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.flags span { font: 500 13px var(--mono); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); background: rgba(6, 27, 42, .6); }
.flags span.on { border-color: rgba(61, 220, 151, .5); color: var(--ok); }

/* Cómo funciona */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 600 2rem/1 var(--mono); color: rgba(127, 224, 255, .35); }
.step h3 { font-size: 1.1rem; margin-top: 12px; }
.step p { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.promise { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promise div { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(6, 27, 42, .6); }
.promise b { display: block; font-family: var(--display); font-size: 1.02rem; }
.promise p { color: var(--muted); font-size: .93rem; margin-top: 6px; }

/* Seguridad */
.secure-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.secure-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.secure { padding: 18px; }
.secure h3 { font-size: 1rem; margin-top: 8px; }
.secure p { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.plan.featured { border-color: rgba(0, 182, 238, .55); box-shadow: var(--glow); background: rgba(0, 182, 238, .08); }
.plan .tag { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.plan h3 { font-size: 1.3rem; margin-top: 8px; }
.plan .for { color: var(--muted); font-size: .92rem; margin-top: 6px; min-height: 2.6em; }
.plan .price { margin-top: 18px; font: 700 2rem/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.plan .price small { font: 500 .85rem var(--body); color: var(--muted); letter-spacing: 0; }
.plan .alt { color: var(--soft); font-size: .92rem; margin-top: 8px; }
.plan .ticks { margin-top: 18px; flex: 1; }
.plan .ticks li { font-size: .92rem; }
.plan .btn { margin-top: 22px; width: 100%; }
.plan-note { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan-note div { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(6, 27, 42, .6); color: var(--soft); font-size: .93rem; }
.plan-note b { color: var(--sun); }
.badge { display: inline-block; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(245, 184, 46, .45); color: var(--sun); background: rgba(245, 184, 46, .08); margin-top: 14px; }

/* Preguntas frecuentes */
.faq { display: grid; gap: 10px; max-width: 56rem; }
.faq details { padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 600 1.02rem var(--display); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.4rem var(--mono); color: var(--accent-2); flex: 0 0 auto; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); padding-bottom: 20px; margin-top: -6px; }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .9rem; color: var(--soft); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(3, 16, 26, .7); color: var(--ink); min-width: 0;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form .hint { font-size: .82rem; color: var(--muted); }
.contact-side h3 { font-size: 1.15rem; margin-top: 24px; }
.contact-side .btn { margin-top: 14px; }
.contact-side .line { color: var(--soft); margin-top: 10px; }
.contact-side .line a { font-family: var(--mono); font-size: .95rem; }

/* Pie */
footer { border-top: 1px solid var(--line); padding-block: 48px 28px; background: rgba(3, 16, 26, .7); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: .95rem; margin-bottom: 12px; }
.foot-grid p, .foot-grid li { color: var(--muted); font-size: .92rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--soft); text-decoration: none; }
.foot-grid a:hover { color: var(--accent-2); }
.tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tech span { font: 500 12px var(--mono); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); background: rgba(6, 27, 42, .6); }
.foot-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .86rem; }
.foot-bottom b { color: var(--accent-2); }

/* Visor de capturas */
dialog.viewer { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); width: auto; }
dialog.viewer::backdrop { background: rgba(2, 10, 16, .88); backdrop-filter: blur(6px); }
dialog.viewer figure { margin: 0; background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
dialog.viewer img { display: block; max-width: 96vw; max-height: 82vh; width: auto; height: auto; }
dialog.viewer figcaption { padding: 12px 16px; color: var(--soft); font-size: .92rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
dialog.viewer button { border: 1px solid var(--line-2); background: rgba(127, 224, 255, .08); color: var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; flex: 0 0 auto; }

/* Aparición al hacer scroll */
.rv { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.pre { opacity: 0; transform: translateY(18px); }

/* Páginas legales */
.legal { padding-block: 64px 80px; max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-top: 10px; }
.legal h2 { font-size: 1.25rem; margin-top: 34px; }
.legal p, .legal li { color: var(--soft); margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 0; }
.legal .back { display: inline-block; margin-top: 36px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv.pre { opacity: 1; transform: none; }
}

/* Tabletas */
@media (max-width: 1024px) {
  .nav { display: none; position: absolute; top: calc(100% + 1px); right: 24px; width: min(320px, calc(100vw - 32px)); flex-direction: column; align-items: stretch; gap: 0;
         background: rgba(6, 27, 42, .97); border: 1px solid var(--line); border-radius: 0 0 16px 16px; box-shadow: var(--shadow); padding: 8px; }
  .nav.open { display: flex; animation: drop .25s var(--ease) both; }
  .nav a { padding: 11px 12px; font-size: 15px; border-radius: 10px; }
  .nav .btn { margin: 8px 0 0; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .feature, .mobile-grid, .secure-grid, .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature.flip .feature-text { order: 0; }
  .hero-visual { margin-top: 10px; padding-inline: 12px; }
  .hero-visual .browser { transform: none; animation: none; }
  .chip-float.a { left: 0; } .chip-float.b { right: 0; }
  .grid-4, .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .promise, .plan-note, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* Celulares */
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .nav { right: 16px; }
  html { scroll-padding-top: 70px; }
  .hero .wrap { padding-block: 44px 48px; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1.02rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
  .ctas .btn { width: 100%; }
  .hero-visual { padding-inline: 0; }
  .chip-float { position: static; display: inline-flex; margin: 10px 6px 0 0; animation: none; white-space: normal; }
  .chip-float.c { margin-bottom: 0; }
  section.block { padding-block: 60px; }
  .head { margin-bottom: 28px; }
  .grid-4, .grid-3, .grid-2, .module-grid, .plans, .steps, .promise, .plan-note, .secure-list, .subshots, .countries, .form .row, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .phones { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .phone { width: min(100%, 230px); }
  .feature { padding-block: 32px; gap: 24px; }
  .problem-after { grid-template-columns: minmax(0, 1fr); }
  .plan .price { font-size: 1.8rem; }
  .form { padding: 20px 16px; }
  .browser .bar .url { font-size: 11px; }
  .foot-bottom { flex-direction: column; }
  .ticker-track { animation-duration: 36s; }
}
