/* NextAds 4.7 — capa neón.
   Minimalista: superficies casi transparentes, esquinas amplias, líneas finas y acentos de neón (cian → azul → violeta)
   que se encienden al pasar el puntero. Se carga al final: ajusta los tokens del sistema y afina cada componente público. */

:root {
    --ink: #03050f;
    --ink-2: #060a1c;
    --panel: #0a1230;
    --panel-2: #0d1840;
    --trace: rgba(150, 180, 255, .14);
    --trace-soft: rgba(150, 180, 255, .08);
    --blue: #3b7bff;
    --blue-strong: #2a64f0;
    --blue-soft: rgba(59, 123, 255, .12);
    --neon: #22d3ff;
    --electric: #22d3ff;
    --violet: #8b5cf6;
    --white: #f4f7ff;
    --mist: #a2afcf;
    --mist-2: #7a87aa;
    --grad: linear-gradient(110deg, #22d3ff 0%, #3b7bff 50%, #8b5cf6 100%);
    --grad-soft: linear-gradient(110deg, rgba(34, 211, 255, .16), rgba(59, 123, 255, .1) 50%, rgba(139, 92, 246, .16));
    --surface: rgba(255, 255, 255, .025);
    --surface-hover: rgba(255, 255, 255, .045);
    --line: rgba(255, 255, 255, .07);
    --line-strong: rgba(255, 255, 255, .14);
    --glass-line: rgba(255, 255, 255, .08);
    --neon-glow: 0 0 0 1px rgba(34, 211, 255, .25), 0 0 24px -4px rgba(34, 211, 255, .45), 0 24px 60px -24px rgba(59, 123, 255, .7);
    --glow: var(--neon-glow);
    --ease: cubic-bezier(.22, .9, .26, 1);
    --radius-s: 12px;
    --radius-m: 22px;
    --radius-l: 30px;
}

html { background: var(--ink); scrollbar-color: rgba(34, 211, 255, .35) transparent; scrollbar-width: thin; }
body { background: transparent; }
::selection { background: rgba(34, 211, 255, .35); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(34, 211, 255, .28); border-radius: 99px; border: 3px solid var(--ink); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Fondo: dos halos de neón y un horizonte, sin retícula ---------- */
.nx-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--ink); }
.nx-backdrop span { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.nx-backdrop .a1 { width: 52vmax; height: 52vmax; left: -18vmax; top: -24vmax; opacity: .5; background: radial-gradient(closest-side, rgba(59, 123, 255, .75), transparent); animation: aurora-a 24s var(--ease) infinite alternate; }
.nx-backdrop .a2 { width: 40vmax; height: 40vmax; right: -16vmax; top: 10vh; opacity: .32; background: radial-gradient(closest-side, rgba(34, 211, 255, .7), transparent); animation: aurora-b 28s var(--ease) infinite alternate; }
.nx-backdrop .a3 { width: 46vmax; height: 46vmax; left: 28vw; bottom: -32vmax; opacity: .3; background: radial-gradient(closest-side, rgba(139, 92, 246, .7), transparent); animation: aurora-a 32s var(--ease) infinite alternate-reverse; }
/* El antiguo span .grid ahora es un resplandor suave en el borde superior. */
.nx-backdrop .grid { inset: 0 0 auto; height: 60vh; border-radius: 0; filter: none; background: radial-gradient(60% 70% at 50% 0%, rgba(34, 211, 255, .1), transparent 70%); }
@keyframes aurora-a { to { transform: translate3d(14vw, 10vh, 0) scale(1.15); } }
@keyframes aurora-b { to { transform: translate3d(-12vw, 14vh, 0) scale(.9); } }
body.in-portal .nx-backdrop .a1, body.in-portal .nx-backdrop .a2, body.in-portal .nx-backdrop .a3 { opacity: .18; animation: none; }
body.in-portal .nx-backdrop .grid { display: none; }

/* ---------- Tipografía ---------- */
h1, h2 { letter-spacing: -.035em; font-weight: 700; }
h3 { letter-spacing: -.01em; }
.hero h1, .page-head h1 { background: linear-gradient(180deg, #ffffff 0%, #e3ebff 50%, #a9c2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 18px rgba(34, 211, 255, .35)); animation: grad-shift 8s ease-in-out infinite alternate; }
@keyframes grad-shift { to { background-position: 100% 0; } }
.kicker, .page-head p.kicker, .section-head p.kicker { color: var(--neon); font-size: .76rem; max-width: 100%; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
    padding: 0; border: 0; border-radius: 0; background: none; text-shadow: 0 0 14px rgba(34, 211, 255, .55); }
.kicker::before { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px 2px rgba(34, 211, 255, .8); animation: kicker-pulse 2.4s ease-in-out infinite; }
@keyframes kicker-pulse { 50% { box-shadow: 0 0 2px 0 rgba(34, 211, 255, .4); opacity: .6; } }
.section-head p, .page-head p, .hero-lead { color: var(--mist); }

/* ---------- Botones: píldoras con brillo ---------- */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: .005em; transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn-primary { position: relative; overflow: hidden; isolation: isolate; border: 0; color: #fff; background: var(--grad); background-size: 160% 100%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 0 22px -2px rgba(34, 211, 255, .55), 0 10px 30px -10px rgba(59, 123, 255, .9); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { background: var(--grad); background-size: 160% 100%; background-position: 100% 0; transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 0 34px 0 rgba(34, 211, 255, .65), 0 16px 40px -12px rgba(139, 92, 246, .8); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--white); border-color: var(--line-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(34, 211, 255, .6); background: rgba(34, 211, 255, .06); color: #fff; transform: translateY(-2px); box-shadow: 0 0 22px -6px rgba(34, 211, 255, .6); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-large { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

/* ---------- Encabezado flotante en forma de píldora ---------- */
.site-header { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* El vidrio va en un pseudo-elemento: así el menú móvil (fixed) no queda atrapado dentro de un backdrop-filter. */
.header-inner { position: relative; isolation: isolate; padding: 0 10px 0 22px; }
.header-inner::before { content: ''; position: absolute; inset: 10px 0; z-index: -1; border-radius: 999px; pointer-events: none;
    background: rgba(6, 10, 28, .55); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
    transition: background-color .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled .header-inner::before { background: rgba(6, 10, 28, .82); border-color: rgba(34, 211, 255, .18); box-shadow: 0 0 30px -12px rgba(34, 211, 255, .5), 0 18px 40px -20px rgba(0, 0, 0, .9); }
.nav-trigger { border-radius: 999px; }
.nav-panel { background: rgba(6, 10, 28, .94); border: 1px solid var(--line); border-radius: 26px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .85), 0 0 40px -18px rgba(34, 211, 255, .45); }
.menu-link { border-radius: 18px; transition: background-color .2s, transform .2s var(--ease); }
.menu-link:hover, .menu-link:focus-visible { background: rgba(255, 255, 255, .04); transform: translateX(2px); }
.menu-link i { border-radius: 50%; background: transparent; color: var(--neon); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .3); text-shadow: 0 0 10px rgba(34, 211, 255, .7); }
.account-dot { background: var(--grad); box-shadow: 0 0 14px rgba(34, 211, 255, .5); }
@media (max-width: 900px) {
    .header-inner { padding: 0 6px 0 16px; }
    .main-nav { background: rgba(3, 5, 15, .98); }
    body.menu-open .site-header { background: var(--ink); }
    body.menu-open .header-inner::before { opacity: 0; }
    .main-nav .nav-item { border-bottom-color: var(--line); }
}

/* ---------- Portada ---------- */
.hero { padding-top: clamp(40px, 7vw, 100px); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: 1.02; }
.hero h1 .light { font-weight: 300; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; }
.hero-note { color: var(--mist-2); }
.hero-note i { color: var(--neon); }
.hero .stage { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); }
.stage-light { background: radial-gradient(340px 280px at var(--mx) var(--my), rgba(34, 211, 255, .26), rgba(139, 92, 246, .1) 45%, transparent 72%); }
.phone-body { box-shadow: inset 0 0 0 1.5px rgba(180, 210, 255, .35), 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 50px -10px rgba(34, 211, 255, .45); }
.stage-traces .pulse { stroke: var(--neon); filter: drop-shadow(0 0 8px rgba(34, 211, 255, .95)); }

/* ---------- Secciones y tarjetas ---------- */
.section { padding-top: clamp(72px, 10vw, 128px); }
.section-head h2, .panel-head h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }

.route-card, .objective-card, .service-item, .package, .eco-card, .segment-card, .category-card, .benefit, .integration, .case-card, .svc-cat {
    position: relative; isolation: isolate;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-l);
    transition: transform .4s var(--ease), border-color .3s, background-color .3s, box-shadow .4s var(--ease);
}
.integration, .category-card { border-radius: var(--radius-m); }
.benefit { padding: 26px; }
/* Brillo que sigue al puntero (las coordenadas las pone premium.js). */
.route-card::before, .objective-card::before, .service-item::before, .package::before, .eco-card::before, .segment-card::before, .category-card::before, .benefit::before, .integration::before, .case-card::before, .svc-cat::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 0%), rgba(34, 211, 255, .14), rgba(139, 92, 246, .06) 45%, transparent 70%);
}
/* Contorno de neón que se enciende al pasar el puntero. */
.route-card::after, .objective-card::after, .service-item::after, .eco-card::after, .segment-card::after, .category-card::after, .benefit::after, .integration::after, .case-card::after, .svc-cat::after {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), var(--neon), rgba(139, 92, 246, .8) 40%, transparent 75%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.route-card:hover, .objective-card:hover, .service-item:hover, .package:hover, a.eco-card:hover, .segment-card:hover, .category-card:hover, .benefit:hover, .integration:hover, .case-card:hover, .svc-cat:hover,
.route-card:focus-visible, .objective-card:focus-visible, .service-item:focus-visible, .svc-cat:focus-visible {
    transform: translateY(-4px); background: var(--surface-hover) !important; border-color: rgba(255, 255, 255, .1) !important;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 40px -16px rgba(34, 211, 255, .45);
}
.route-card:hover::before, .objective-card:hover::before, .service-item:hover::before, .package:hover::before, .eco-card:hover::before, .segment-card:hover::before, .category-card:hover::before, .benefit:hover::before, .integration:hover::before, .case-card:hover::before, .svc-cat:hover::before,
.route-card:hover::after, .objective-card:hover::after, .service-item:hover::after, a.eco-card:hover::after, .segment-card:hover::after, .category-card:hover::after, .benefit:hover::after, .integration:hover::after, .case-card:hover::after, .svc-cat:hover::after { opacity: 1; }
/* Iconos: anillo fino con brillo, sin cuadros rellenos. */
.route-card > i, .objective-card > i, .segment-card > i, .benefit > i, .service-item i.lead, .package > i {
    display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font-size: 1.15rem; color: var(--neon);
    background: radial-gradient(circle at 50% 30%, rgba(34, 211, 255, .14), transparent 70%); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .3), 0 0 20px -6px rgba(34, 211, 255, .6);
    text-shadow: 0 0 12px rgba(34, 211, 255, .8); transition: transform .4s var(--ease), box-shadow .4s;
}
.route-card:hover > i, .objective-card:hover > i, .segment-card:hover > i, .benefit:hover > i, .service-item:hover i.lead, .package:hover > i { transform: scale(1.08); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .6), 0 0 28px -4px rgba(34, 211, 255, .8); }
/* Resto de tarjetas públicas: misma superficie casi transparente y línea fina. */
.objective, .solution-col, .model, .platform, .testimonial, .choice-card, .buy-modes > div, .catalog-cta, .perk-card, .team-card, .roster-card, .ally-card, .agency-card, .mk-card, .live-card, .office, .gallery-item, .fact {
    background: var(--surface); border-color: var(--line); transition: border-color .3s, background-color .3s, box-shadow .4s var(--ease);
}
.objective:hover, .choice-card:hover, .perk-card:hover, .team-card:hover, .ally-card:hover, .agency-card:hover, .mk-card:hover, .live-card:hover {
    background: var(--surface-hover); border-color: rgba(34, 211, 255, .3); box-shadow: 0 0 36px -16px rgba(34, 211, 255, .5);
}
.objective i.lead, .service-hero > i.lead {
    border-radius: 50%; color: var(--neon); background: radial-gradient(circle at 50% 30%, rgba(34, 211, 255, .14), transparent 70%);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .3), 0 0 20px -6px rgba(34, 211, 255, .6); text-shadow: 0 0 12px rgba(34, 211, 255, .8);
}
.objective-go { color: var(--neon); }
.integration i, .category-card i:first-child, .marquee-item i, .chip i { color: var(--neon); text-shadow: 0 0 10px rgba(34, 211, 255, .6); }
.go { color: var(--neon) !important; }
.go i { transition: transform .3s var(--ease); }
a:hover > .go i, a:hover .go i { transform: translateX(4px); }
.case-card { overflow: hidden; }

.package { padding: 30px 26px 26px; }
.package.is-featured { border-color: transparent !important; background: linear-gradient(170deg, rgba(34, 211, 255, .1), rgba(139, 92, 246, .06) 45%, var(--surface) 70%) !important; box-shadow: 0 0 60px -24px rgba(34, 211, 255, .6); }
.package.is-featured::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--spin, 0deg), rgba(34, 211, 255, .15) 0 60%, var(--neon) 75%, var(--violet) 88%, rgba(34, 211, 255, .15) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-border 6s linear infinite; }
.package-note { border-radius: 999px; }
.package.is-featured .package-note { background: var(--grad); box-shadow: 0 0 18px rgba(34, 211, 255, .5); }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --spin: 360deg; } }

.panel { background: rgba(255, 255, 255, .025); border-color: var(--line); border-radius: var(--radius-l); }
body.in-portal .panel { background: rgba(10, 16, 40, .7); }
.band { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; border: 1px solid var(--line); padding: clamp(32px, 5vw, 64px);
    background: radial-gradient(120% 140% at 100% 0%, rgba(59, 123, 255, .22), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(139, 92, 246, .16), transparent 60%), rgba(255, 255, 255, .02);
    box-shadow: 0 0 80px -40px rgba(34, 211, 255, .6); }
.band::before { content: ''; position: absolute; z-index: -1; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--neon), var(--violet), transparent); box-shadow: 0 0 18px 1px rgba(34, 211, 255, .6); }
.band::after { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 255, .28), transparent); animation: aurora-b 14s ease-in-out infinite alternate; }

.steps li::before { border: 0; color: #fff; background: rgba(3, 5, 15, .9); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .55), 0 0 22px -4px rgba(34, 211, 255, .8); text-shadow: 0 0 10px rgba(34, 211, 255, .9); }
.steps li::after { height: 1px; background: linear-gradient(90deg, rgba(34, 211, 255, .6), rgba(139, 92, 246, .1)); }
.hub-stats > div strong, .stats strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(34, 211, 255, .35)); }
.marquee-item { background: rgba(255, 255, 255, .025); border-color: var(--line); }
.marquee-item:hover, .marquee-item:focus-visible { border-color: rgba(34, 211, 255, .5); background: rgba(34, 211, 255, .05); color: #fff; box-shadow: 0 0 22px -8px rgba(34, 211, 255, .6); }
.faq details { border-radius: 22px; border-color: var(--line); background: rgba(255, 255, 255, .02); padding: 0 24px; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(34, 211, 255, .3); background: rgba(34, 211, 255, .035); box-shadow: 0 0 30px -16px rgba(34, 211, 255, .6); }
.chip { border-color: var(--line-strong); background: rgba(255, 255, 255, .025); }
.chip:hover { border-color: rgba(34, 211, 255, .55); }
.chip[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 20px -4px rgba(34, 211, 255, .6); }
.chip[aria-pressed="true"] i { color: #fff; text-shadow: none; }
.subnav { background: rgba(3, 5, 15, .7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.subnav a:hover { background: rgba(255, 255, 255, .05); }
.site-footer { background: transparent; border-top: 0; position: relative; }
.site-footer::before { content: ''; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 211, 255, .6), rgba(139, 92, 246, .6), transparent); box-shadow: 0 0 16px rgba(34, 211, 255, .45); }
.site-footer a:hover { color: var(--neon); }
.chat-launcher { background: var(--grad); border: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 0 26px -2px rgba(34, 211, 255, .6), 0 14px 34px -12px rgba(59, 123, 255, .9); }
input, select, textarea { border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: rgba(34, 211, 255, .6); box-shadow: 0 0 0 4px rgba(34, 211, 255, .12), 0 0 18px -6px rgba(34, 211, 255, .6); }

/* ---------- Servicios: vitrina con dispositivos ---------- */
.svc-showcase-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.svc-showcase-copy h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.04; }
.svc-showcase-copy h2 .grad { display: block; }
.svc-showcase-copy .lead { color: var(--mist); font-size: 1.12rem; line-height: 1.6; max-width: 34em; }
.svc-ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.svc-ticks li { display: flex; gap: 12px; align-items: center; color: #dbe4ff; }
.svc-ticks i { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; font-size: .62rem; color: var(--neon); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .5), 0 0 12px -2px rgba(34, 211, 255, .7); }

.svc-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; margin-top: clamp(48px, 7vw, 88px); }
.svc-cat { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; text-decoration: none; color: var(--white); min-height: 100%; }
.svc-cat-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.2rem; color: var(--neon);
    background: radial-gradient(circle at 50% 30%, rgba(34, 211, 255, .16), transparent 70%); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .35), 0 0 22px -6px rgba(34, 211, 255, .7);
    text-shadow: 0 0 12px rgba(34, 211, 255, .8); transition: transform .4s var(--ease), box-shadow .4s; }
.svc-cat:hover .svc-cat-icon { transform: scale(1.08); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .7), 0 0 30px -4px rgba(34, 211, 255, .9); }
.svc-cat-count { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mist-2); }
.svc-cat strong { font: 700 1.3rem/1.15 var(--display); letter-spacing: -.015em; }
.svc-cat-text { color: var(--mist); font-size: .92rem; line-height: 1.55; }
.svc-cat-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; flex: 1; align-content: flex-start; }
.svc-cat-list span { font-size: .76rem; padding: 4px 11px; border-radius: 999px; color: #c4cfec; border: 1px solid var(--line); }
.svc-cat .go { font-weight: 600; font-size: .9rem; }
.service-group-title i { color: var(--neon); text-shadow: 0 0 10px rgba(34, 211, 255, .6); }
.service-count { background: var(--grad) !important; color: #fff !important; }

/* Escenario laptop + teléfono */
.device-stage { min-height: 0; aspect-ratio: 1.18 / 1; perspective: 1600px; }
.device-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.device-orb.o1 { width: 55%; height: 55%; left: 8%; top: 12%; background: radial-gradient(closest-side, rgba(59, 123, 255, .5), transparent); animation: aurora-a 12s ease-in-out infinite alternate; }
.device-orb.o2 { width: 40%; height: 40%; right: 0; bottom: 6%; background: radial-gradient(closest-side, rgba(139, 92, 246, .4), transparent); animation: aurora-b 14s ease-in-out infinite alternate; }
.laptop { position: absolute; left: 0; top: 6%; width: 86%; transform: rotateY(calc(8deg + var(--tx) * 6deg)) rotateX(calc(4deg - var(--ty) * 5deg)) translateY(calc(var(--sy) * -12px)); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.laptop-lid { padding: 2% 2% 2.8%; border-radius: 22px 22px 8px 8px; background: linear-gradient(160deg, #222c48, #080d20 40%, #151d38);
    box-shadow: inset 0 0 0 1px rgba(180, 210, 255, .25), 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -14px rgba(34, 211, 255, .45); }
.laptop-screen { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #070c22, #03050f); container-type: inline-size; display: flex; flex-direction: column; }
.laptop-base { position: relative; height: 0; padding-top: 3%; margin: 0 -6%; border-radius: 0 0 26px 26px; background: linear-gradient(180deg, #2c3656, #0f152c 60%, #070b1a); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .9); }
.laptop-base span { position: absolute; left: 50%; top: 0; width: 16%; height: 40%; translate: -50% 0; border-radius: 0 0 10px 10px; background: rgba(0, 0, 0, .35); }
.device-phone { position: absolute; right: 2%; bottom: 2%; width: 30%; transform: translateY(calc(var(--sy) * 18px)); }
.device-phone .phone { width: 100%; margin: 0; }
.device-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font: 600 .8rem var(--text); color: #e8eeff; white-space: nowrap;
    background: rgba(6, 10, 28, .72); border: 1px solid rgba(34, 211, 255, .25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 0 22px -8px rgba(34, 211, 255, .6), 0 14px 40px -14px rgba(0, 0, 0, .9); animation: float 6s ease-in-out infinite paused; }
.device-chip i { color: var(--neon); text-shadow: 0 0 10px rgba(34, 211, 255, .8); }
.device-chip.c1 { left: -2%; bottom: 14%; }
.device-chip.c2 { right: 26%; top: 0; animation-delay: -3s; }
.device-stage.is-live .device-chip { animation-play-state: running; }

/* Pantalla del tablero (medidas en cqw: escala con la laptop) */
.lp-chrome { display: flex; align-items: center; gap: 1.1cqw; padding: 1.4cqw 2cqw; background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lp-chrome > span { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #ff5f57; }
.lp-chrome > span:nth-child(2) { background: #febc2e; }
.lp-chrome > span:nth-child(3) { background: #28c840; }
.lp-chrome b { margin-left: 2cqw; flex: 1; max-width: 55cqw; padding: .6cqw 1.6cqw; border-radius: 99px; font: 500 1.6cqw var(--text); color: var(--mist); background: rgba(0, 0, 0, .3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lp-chrome b i { color: var(--ok); font-size: .9em; }
.lp-app { flex: 1; display: flex; min-height: 0; }
.lp-side { display: flex; flex-direction: column; gap: 2.4cqw; padding: 2.4cqw 1.6cqw; border-right: 1px solid rgba(255, 255, 255, .05); }
.lp-side i { width: 4.4cqw; height: 4.4cqw; display: grid; place-items: center; border-radius: 50%; font-size: 1.8cqw; color: var(--mist-2); }
.lp-side i.on { color: var(--neon); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .5), 0 0 2cqw rgba(34, 211, 255, .5); }
.lp-main { flex: 1; min-width: 0; padding: 2.2cqw 2.6cqw; display: flex; flex-direction: column; gap: 1.8cqw; }
.lp-top { display: flex; justify-content: space-between; align-items: center; }
.lp-top strong { font: 700 2.3cqw var(--display); color: #fff; }
.lp-live { display: inline-flex; align-items: center; gap: .8cqw; font: 600 1.5cqw var(--text); color: var(--ok); padding: .5cqw 1.4cqw; border-radius: 99px; background: rgba(58, 210, 159, .1); }
.lp-live i { width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--ok); animation: kicker-pulse 1.6s infinite; }
.lp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.lp-kpi { padding: 1.4cqw 1.8cqw; border-radius: 2cqw; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); animation: lp-pop 6s var(--ease) infinite; animation-delay: calc(var(--i) * .25s); }
.lp-kpi small { display: block; font-size: 1.4cqw; color: var(--mist-2); }
.lp-kpi b { display: block; font: 700 2.8cqw/1.1 var(--display); color: #fff; }
.lp-kpi em { font-style: normal; font-size: 1.35cqw; font-weight: 700; color: var(--neon); }
.lp-chart { position: relative; flex: 1; min-height: 14cqw; border-radius: 2cqw; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .05); overflow: hidden; }
.lp-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-area { fill: url(#lp-fill); opacity: 0; animation: lp-fade 6s ease infinite; }
.lp-line { fill: none; stroke: var(--neon); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 420; stroke-dashoffset: 420; filter: drop-shadow(0 0 5px rgba(34, 211, 255, .95)); animation: lp-draw 6s ease infinite; }
.lp-bars { position: absolute; left: 3%; right: 3%; bottom: 0; height: 70%; display: flex; align-items: flex-end; gap: 3%; opacity: .5; }
.lp-bars span { flex: 1; height: var(--h); border-radius: 99px 99px 0 0; background: linear-gradient(180deg, rgba(139, 92, 246, .7), rgba(59, 123, 255, .04)); transform-origin: bottom; animation: lp-grow 6s var(--ease) infinite; animation-delay: calc(var(--i) * .07s); }
.lp-rows { display: grid; gap: 1cqw; }
.lp-row { display: flex; align-items: center; gap: 1.4cqw; padding: .9cqw 1.4cqw; border-radius: 99px; background: rgba(255, 255, 255, .03); font-size: 1.5cqw; animation: lp-slide 6s var(--ease) infinite; animation-delay: calc(.4s + var(--i) * .15s); }
.lp-row .m-avatar { width: 3.2cqw; height: 3.2cqw; font-size: 1.4cqw; }
.lp-row b { flex: 1; color: #dfe7ff; font-weight: 600; }
.lp-state { padding: .3cqw 1.2cqw; border-radius: 99px; font-weight: 700; font-size: 1.3cqw; }
.lp-state.s0 { color: #9fe8ff; background: rgba(34, 211, 255, .12); }
.lp-state.s1 { color: var(--ok); background: rgba(58, 210, 159, .12); }
.lp-state.s2 { color: #c4b1ff; background: rgba(139, 92, 246, .16); }
@keyframes lp-draw { 0% { stroke-dashoffset: 420; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes lp-fade { 0%, 20% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lp-grow { 0% { transform: scaleY(0); } 30%, 90% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes lp-pop { 0% { opacity: 0; transform: translateY(6px); } 12%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lp-slide { 0% { opacity: 0; transform: translateX(-8px); } 15%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.device-stage:not(.is-live) .laptop *, .device-stage:not(.is-live) .laptop *::after { animation-play-state: paused !important; }

@media (max-width: 900px) {
    .svc-showcase-grid { grid-template-columns: 1fr; }
    .device-stage { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
    :root { --radius-l: 26px; }
    .kicker, .page-head p.kicker, .section-head p.kicker { font-size: .68rem; letter-spacing: .16em; }
    .device-chip { font-size: .7rem; padding: 7px 11px; }
    .device-chip.c2 { right: 30%; top: -2%; }
    .svc-cat { padding: 24px 22px; }
    .band { border-radius: 28px; }
    .hero-actions .btn-large { flex: 1 1 100%; }
}

/* ---------- Banda infinita de beneficios (socios) ---------- */
/* Dos filas, 4 tarjetas visibles (2 en el teléfono); cada fila corre a su ritmo y en sentido opuesto. */
.benefit-band { --bb-gap: 16px; --bb-cols: 4; container-type: inline-size; display: grid; gap: var(--bb-gap); }
.bb-row { min-width: 0; overflow: clip; padding: 6px 0; margin: -6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bb-track { position: relative; display: flex; width: max-content; animation: bb-left var(--bb-speed, 48s) linear infinite; }
.bb-row.is-reverse .bb-track { animation-name: bb-right; }
.benefit-band:hover .bb-track, .benefit-band:focus-within .bb-track { animation-play-state: paused; }
.bb-group { display: flex; gap: var(--bb-gap); padding-right: var(--bb-gap); }
.bb-card { position: relative; isolation: isolate; overflow: hidden; flex: none; width: calc((100cqw - (var(--bb-cols) - 1) * var(--bb-gap)) / var(--bb-cols)); min-height: 178px;
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; align-content: start; gap: 0 12px; padding: 22px 22px 20px; text-align: left; cursor: pointer;
    color: #fff; font: 650 1.06rem/1.25 var(--display); letter-spacing: -.01em; border: 1px solid var(--line); border-radius: var(--radius-l);
    background: linear-gradient(160deg, rgba(34, 211, 255, .07), transparent 42%), var(--surface);
    transition: transform .4s var(--ease), border-color .3s, background-color .3s, box-shadow .4s var(--ease); }
.bb-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: -1; background: linear-gradient(90deg, transparent, rgba(34, 211, 255, .55), transparent); opacity: .5; transition: opacity .3s; }
.bb-card > i:first-child { grid-row: 1; margin-bottom: 18px; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 1.05rem; color: var(--neon);
    background: radial-gradient(circle at 50% 30%, rgba(34, 211, 255, .14), transparent 70%); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .3), 0 0 20px -6px rgba(34, 211, 255, .6);
    text-shadow: 0 0 12px rgba(34, 211, 255, .8); transition: transform .4s var(--ease), box-shadow .4s; }
.bb-card > span { grid-column: 1 / -1; grid-row: 2; }
.bb-card > small { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; color: var(--mist); font: 400 .86rem/1.5 var(--text); letter-spacing: 0;
    align-self: start; max-height: 3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-more { grid-column: 2; grid-row: 1; justify-self: end; font-size: .8rem; color: var(--mist); opacity: .7; transition: transform .3s var(--ease), color .3s, opacity .3s; }
.bb-card:hover, .bb-card:focus-visible { transform: translateY(-4px); background: var(--surface-hover); border-color: rgba(34, 211, 255, .45);
    box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9), 0 0 36px -14px rgba(34, 211, 255, .6); }
.bb-card:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.bb-card:hover::before, .bb-card:focus-visible::before { opacity: 1; }
.bb-card:hover > i:first-child, .bb-card:focus-visible > i:first-child { transform: scale(1.08); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .6), 0 0 28px -4px rgba(34, 211, 255, .8); }
.bb-card:hover .bb-more, .bb-card:focus-visible .bb-more { color: var(--neon); opacity: 1; transform: rotate(90deg); }
@keyframes bb-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bb-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 720px) { .benefit-band { --bb-cols: 2; --bb-gap: 12px; } .bb-card { min-height: 150px; padding: 16px; font-size: .98rem; } .bb-card > i:first-child { margin-bottom: 14px; width: 40px; height: 40px; } .bb-card > small { font-size: .8rem; } }

/* Detalle del beneficio: brota desde la tarjeta (escala + desvanecido). */
dialog.modal.benefit-modal { width: min(520px, calc(100vw - 24px)); height: fit-content; border-color: rgba(34, 211, 255, .35); background: rgba(8, 13, 34, .96);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(34, 211, 255, .55); animation: bb-pop .42s var(--ease); }
dialog.modal.benefit-modal::backdrop { animation: bb-fade .3s ease-out; }
dialog.modal.benefit-modal .modal-head { background: transparent; }
.bb-detail { display: grid; justify-items: start; gap: 16px; }
.bb-detail > i { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-size: 1.35rem; color: var(--neon);
    background: radial-gradient(circle at 50% 30%, rgba(34, 211, 255, .16), transparent 70%); box-shadow: inset 0 0 0 1px rgba(34, 211, 255, .4), 0 0 26px -6px rgba(34, 211, 255, .75); text-shadow: 0 0 12px rgba(34, 211, 255, .8); }
.bb-detail p { margin: 0; color: var(--mist); font-size: 1.05rem; line-height: 1.6; }
@keyframes bb-pop { from { opacity: 0; transform: translate(var(--bb-fx, 0), var(--bb-fy, 0)) scale(.3); } to { opacity: 1; transform: none; } }
@keyframes bb-fade { from { opacity: 0; } }
@media (max-width: 640px) {
    dialog.modal.benefit-modal { width: 100vw; max-width: 100vw; height: fit-content; max-height: 92dvh; margin: auto 0 0; border-radius: var(--radius-l) var(--radius-l) 0 0; border-bottom: 0; }
    .bb-detail .btn { width: 100%; justify-content: center; }
}

/* ---------- Aparición al hacer scroll ---------- */
.rv-on [data-rv]:not(.rv-in) { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.rv-on [data-rv] { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease), border-color .3s, background-color .3s, box-shadow .4s var(--ease);
    transition-delay: calc(var(--rv, 0) * 70ms), calc(var(--rv, 0) * 70ms), calc(var(--rv, 0) * 70ms), 0s, 0s, 0s; }
.rv-on [data-rv].rv-in { filter: none; }
.rv-on [data-rv].rv-in:hover { transition-delay: 0s; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    .nx-backdrop span, .grad, .band::after, .device-orb, .package.is-featured::after, .kicker::before { animation: none !important; }
    .lp-line, .lp-area, .lp-kpi, .lp-row, .lp-bars span, .device-chip { animation: none !important; }
    .lp-line { stroke-dashoffset: 0; } .lp-area { opacity: 1; }
    /* Banda de beneficios: cuadrícula estática con todas las tarjetas una sola vez. */
    .benefit-band { grid-template-columns: repeat(var(--bb-cols), minmax(0, 1fr)); }
    .bb-row, .bb-track, .bb-group { display: contents; }
    .bb-group[aria-hidden="true"] { display: none; }
    .bb-card { width: auto; }
    .bb-card, .bb-card > i:first-child, .bb-more { transition: none; }
    .bb-card:hover, .bb-card:focus-visible { transform: none; }
    dialog.modal.benefit-modal, dialog.modal.benefit-modal::backdrop { animation: none; }
}

/* ---------- 7.4.0 · Celular ---------- */
/* Subnavegación: la sección en pantalla queda marcada; sin barra de desplazamiento (parecía un subrayado). */
.subnav-inner { position: relative; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { transition: color .2s, background-color .2s, box-shadow .2s; }
.subnav a.is-current { color: #fff; background: rgba(34, 211, 255, .1); box-shadow: 0 0 0 1px rgba(34, 211, 255, .35) inset; }
/* Puntos de los carruseles: solo en el celular. En planes, los nombres de cada plan. */
.nx-dots { display: none; }
@media (max-width: 640px) {
    /* Encabezado y subnavegación forman una sola franja sólida: el texto ya no se asoma entre los dos al desplazarse. */
    .site-header::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
        background: rgba(3, 5, 15, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
    .site-header.is-scrolled::after { opacity: 1; }
    body.menu-open .site-header::after { opacity: 0; }
    .subnav { background: rgba(3, 5, 15, .94); }
    .subnav-inner { width: auto; padding: 8px 16px; gap: 4px;
        -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .subnav a { padding: 8px 12px; font-size: .92rem; }
    .objective-grid:not(.is-compact), .case-grid, .catalog-grid-preview, .packages { position: relative; }
    .nx-dots { position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; margin: 6px 0 0; }
    .nx-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .22); cursor: pointer; transition: width .25s, background-color .25s; }
    .nx-dots button[aria-current="true"] { width: 22px; background: var(--neon, #22d3ff); box-shadow: 0 0 10px rgba(34, 211, 255, .6); }
    /* Planes: fila de nombres arriba de las tarjetas, fija y deslizable. */
    .nx-dots.is-named { justify-content: flex-start; gap: 6px; margin: 0 -20px 12px; padding: 2px 20px 4px; overflow-x: auto; scrollbar-width: none; }
    .nx-dots.is-named::-webkit-scrollbar { display: none; }
    .nx-dots.is-named button { width: auto; height: 34px; padding: 0 14px; flex: none; color: var(--mist, #c3cde4); font: 600 .86rem/1 var(--text); background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset; }
    .nx-dots.is-named button[aria-current="true"] { width: auto; color: #fff; background: rgba(34, 211, 255, .14); box-shadow: 0 0 0 1px rgba(34, 211, 255, .55) inset, 0 0 14px -4px rgba(34, 211, 255, .7); }
    /* Las tarjetas de planes dejan espacio para su sombra y su brillo. */
    .packages.tiers { padding-bottom: 26px; }
    .package.tier .tier-action .btn { min-height: 50px; font-size: 1rem; }
}

/* ---------- 7.4.1 · Portales en el celular (agencias y administración) ---------- */
@media (max-width: 640px) {
    /* Cifras: la etiqueta arriba y el número siempre abajo, alineado entre tarjetas vecinas; la última sola ocupa el ancho. */
    .stats > .stat { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 76px; }
    .stats > .stat > span { font-size: .8rem; line-height: 1.3; }
    .stats > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .plan-strip { gap: 8px 14px; padding: 12px 14px; font-size: .86rem; }
    .plan-strip .btn { width: 100%; justify-content: center; }
    /* Encabezado de cada sección: acciones a lo ancho, fáciles de tocar. */
    .portal-head .row-actions .btn { flex: 1 1 auto; justify-content: center; }
    .referral-code { font-size: 1.6rem; }
    .referral-progress:has(.referral-tier) { grid-template-columns: minmax(84px, auto) 1fr auto; column-gap: 10px; }
}
@container (max-width: 720px) {
    /* Tablas en tarjetas: más aire entre renglones y botón de la fila a lo ancho. */
    table.data td { padding-top: 7px; padding-bottom: 7px; }
    table.data td::before { top: 9px; }
    table.data td:last-child > .btn { display: flex; width: 100%; justify-content: center; }
}

/* ---------- 9.9.3 · Celular sin caídas, con todo el contenido y movimiento ----------
   En teléfonos, las tres auroras de 50vmax con filter: blur(90px) y decenas de backdrop-filter en tarjetas y etiquetas
   agotaban la memoria gráfica y el navegador recargaba la pestaña. Se conserva todo (auroras en movimiento, vidrio del
   encabezado, pantallas de muestra animadas, pulsos), pero hecho ligero:
   - Auroras: el degradado radial ya es suave, así que se quita el desenfoque en vivo y solo se mueve con transform
     (lo hace la tarjeta gráfica sin repintar). Mismos colores, capas más chicas.
   - Vidrio: se queda en el encabezado, el menú y la subnavegación (pocas capas, con desenfoque menor); en tarjetas,
     etiquetas y fondos de diálogo se cambia por un color casi opaco que se ve igual.
   - La aparición al desplazarse ya no desenfoca cada tarjeta (una capa por tarjeta); solo sube y aparece.
   Las pantallas de muestra ya se pausan solas fuera de pantalla (.is-live). */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
    .nx-backdrop span { filter: none; will-change: transform; contain: strict; }
    .nx-backdrop .a1 { width: 70vmax; height: 70vmax; left: -28vmax; top: -32vmax; background: radial-gradient(closest-side, rgba(59, 123, 255, .5), rgba(59, 123, 255, .18) 55%, transparent); }
    .nx-backdrop .a2 { width: 56vmax; height: 56vmax; right: -24vmax; background: radial-gradient(closest-side, rgba(34, 211, 255, .42), rgba(34, 211, 255, .14) 55%, transparent); }
    .nx-backdrop .a3 { width: 62vmax; height: 62vmax; bottom: -40vmax; background: radial-gradient(closest-side, rgba(139, 92, 246, .42), rgba(139, 92, 246, .14) 55%, transparent); }
    /* Vidrio solo donde hay pocas capas. */
    .btn-ghost, .eye-chips, .cc-tag, .collab-state .badge, .pc-badges .badge, .lost-overlay, .device-chip, .portal-nav,
    dialog.modal::backdrop { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
    .header-inner::before { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(6, 10, 28, .7); }
    .site-header::after, .subnav, .nav-panel { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    .btn-ghost { background: rgba(255, 255, 255, .06); }
    .eye-chips, .cc-tag, .collab-state .badge, .pc-badges .badge { background: rgba(4, 10, 31, .88); }
    .device-chip { background: rgba(6, 10, 28, .9); }
    dialog.modal::backdrop { background: rgba(2, 5, 16, .86); }
    /* Brillos con sombra en vez de filtro en las líneas y el texto degradado. */
    .lp-line, .stage-traces .pulse { filter: none; }
    .phone-shadow { filter: none; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); }
    /* Aparición al desplazarse: sin desenfoque por tarjeta. */
    .rv-on [data-rv]:not(.rv-in) { filter: none; transform: translateY(18px); }
    .rv-on [data-rv] { transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s, background-color .3s, box-shadow .4s var(--ease);
        transition-delay: calc(var(--rv, 0) * 60ms), calc(var(--rv, 0) * 60ms), 0s, 0s, 0s; }
}
/* Con la pestaña oculta o la app en segundo plano no se mueve nada del fondo. */
html.nx-hidden .nx-backdrop span, html.nx-hidden .marquee-track, html.nx-hidden .bb-track { animation-play-state: paused !important; }
