/* redesign.css — Rediseño "Soluciones IA a medida" · tema DARK AURORA GLASS (home).
   Se carga SOLO cuando $page_light está activo (ver includes/header.php), por lo que
   no afecta a landing.php ni a las páginas legales. Como este archivo solo vive en la
   home, las reglas van scopeadas a #main-content / header.sticky / footer (no a los
   overlays legales ni al success-modal). Paleta: cian #6DBEDA + azul #4A6FA5 + neutros
   oscuros. Variaciones de transparencia / degradados / glassmorphism. */

html { scroll-behavior: smooth; }
body { scroll-padding-top: 104px; }

/* ── Lienzo: base navy → negro DIAGONAL (referencia: navy abajo-izquierda que se
   funde a negro hacia arriba-derecha). Wash fijo al viewport; encima la aurora cian
   que se mueve con el scroll. 100% frío, fiel a la paleta cian + neutros + oscuros. */
body {
    background:
        radial-gradient(125% 112% at 3% 99%, #213a63 0%, #18294a 18%, #0e1830 38%, #090d18 60%, #05070d 100%) !important;
    background-attachment: fixed !important;
    color: #c3ccd6 !important;
    position: relative;
}
/* Aurora ANCLADA A LA PÁGINA (no al viewport): la atmósfera cambia al hacer scroll,
   en vez de repetir el mismo glow en cada pantalla (eso era lo que se sentía plano). */
body::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2; pointer-events: none; display: block !important;
    background-repeat: no-repeat;
    background:
        radial-gradient(40rem 26rem at 88% 2%,  rgba(109,190,218,.08), transparent 60%),
        radial-gradient(34rem 24rem at 2% 4%,   rgba(74,111,165,.08), transparent 58%),
        radial-gradient(32rem 24rem at 98% 24%, rgba(109,190,218,.10), transparent 60%),
        radial-gradient(40rem 30rem at -2% 45%, rgba(74,111,165,.13), transparent 60%),
        radial-gradient(34rem 26rem at 92% 66%, rgba(109,190,218,.12), transparent 60%),
        radial-gradient(30rem 24rem at 12% 82%, rgba(74,111,165,.10), transparent 60%),
        radial-gradient(48rem 34rem at 56% 95%, rgba(109,190,218,.16), transparent 62%);
}
/* Vignette (enfoca el centro) + grano de película fijos: matan la planitud digital */
body::after {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        radial-gradient(135% 125% at 50% 36%, transparent 50%, rgba(2,5,12,.62) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: cover, 160px 160px;
    opacity: .9;
}
/* el grano va al 100% en alpha bajo (≈5%) vía la matriz; mezcla suave sobre lo oscuro */
body::after { mix-blend-mode: normal; }

/* ── Fondos de sección → transparentes (deja ver la aurora) ─────────────────── */
#main-content [class~="bg-white"],
#main-content [class~="bg-[#F8F8F8]"] { background-color: transparent !important; }
#main-content #about-section,
#main-content #contact-section { background: transparent !important; }

/* ── Ritmo de superficie: GLOW LOCALIZADO (no bandas tonales). ──────────────────
   Resplandor radial suave como background del propio <section> (queda detrás del
   contenido, sin z-index), alternando lado. Da profundidad sin "banda" ni salto
   de color. Las impares quedan transparentes (se ve la aurora). */
#main-content > section { position: relative; }
#main-content > section:nth-of-type(4n+2):not(#manifesto):not(#why-custom) {
    background: radial-gradient(46rem 32rem at 12% 50%, rgba(109,190,218,.07), transparent 62%) !important;
}
#main-content > section:nth-of-type(4n):not(#manifesto):not(#why-custom) {
    background: radial-gradient(46rem 32rem at 88% 50%, rgba(74,111,165,.08), transparent 62%) !important;
}

/* ── PANEL RECESADO SPOTLIGHT (motivo compartido: manifesto + por-qué a medida) ─
   Banda full-bleed más hundida + núcleo cian + hairlines cian arriba/abajo. */
#main-content #manifesto,
#main-content #why-custom {
    box-shadow:
        inset 0 16px 44px -22px rgba(0,0,0,.75),
        inset 0 -16px 44px -22px rgba(0,0,0,.75);
}
/* Núcleo cian: centrado en el manifesto (texto centrado), a la izquierda en por-qué */
#main-content #manifesto {
    background:
        radial-gradient(62% 100% at 50% 50%, rgba(109,190,218,.07), transparent 70%),
        linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.12)) !important;
}
#main-content #why-custom {
    background:
        radial-gradient(54% 100% at 22% 50%, rgba(109,190,218,.07), transparent 70%),
        linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.11)) !important;
}
#main-content #manifesto::before, #main-content #manifesto::after,
#main-content #why-custom::before, #main-content #why-custom::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(109,190,218,.5), transparent);
}
#main-content #manifesto::before, #main-content #why-custom::before { top: 0; }
#main-content #manifesto::after, #main-content #why-custom::after { bottom: 0; }
/* Jerarquía: frase líder con algo más de presencia */
#main-content #manifesto .manifesto-lead { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem); letter-spacing: -.01em; }
/* Remate (payoff) con acento cian y subrayado fino */
#main-content #manifesto .manifesto-outro {
    display: inline-block; color: #cfe6f1 !important;
    border-bottom: 2px solid rgba(109,190,218,.55); padding-bottom: .25rem;
}

/* ── Inversión de texto a claro ────────────────────────────────────────────── */
#main-content h1, #main-content h2, #main-content h3, #main-content h4 { color: #eef3f8 !important; letter-spacing: -.02em; }
/* Presencia: titular de hero mayor y más compacto; evita huérfanos */
#hero-section h1 {
    font-size: clamp(2.6rem, 1.9rem + 3.2vw, 4.05rem) !important;
    line-height: 1.045 !important; letter-spacing: -.033em !important; text-wrap: balance;
}
/* Hero: ilustración sobre lienzo "blueprint" (rejilla + esquinas) → ordena el arte */
#main-content #hero-section .hero-canvas {
    position: relative; width: 100%; max-width: 30rem; padding: 2.25rem; border-radius: 14px;
    border: 1px solid rgba(109,190,218,.18);
    background:
        radial-gradient(rgba(109,190,218,.07) 1px, transparent 1.4px),
        linear-gradient(158deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
    background-size: 16px 16px, auto;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 80px -32px rgba(0,0,0,.85);
}
#main-content #hero-section .hero-canvas::before,
#main-content #hero-section .hero-canvas::after { content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none; }
#main-content #hero-section .hero-canvas::before { top: 12px; left: 12px; border-top: 1.5px solid rgba(109,190,218,.6); border-left: 1.5px solid rgba(109,190,218,.6); }
#main-content #hero-section .hero-canvas::after { bottom: 12px; right: 12px; border-bottom: 1.5px solid rgba(109,190,218,.6); border-right: 1.5px solid rgba(109,190,218,.6); }
#main-content #hero-section .hero-canvas img { position: relative; display: block; }

/* Tinta degradada en los títulos de sección (los acentos cian de los <span> se conservan) */
#main-content h2 {
    background: linear-gradient(176deg, #ffffff 8%, #aab9c7 125%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent !important;
    text-wrap: balance;
}
/* Los acentos cian dentro de un h2 no deben heredar el relleno transparente */
#main-content h2 [class~="text-brand-primary"],
#main-content h2 .text-brand-primary { -webkit-text-fill-color: #6DBEDA; color: #6DBEDA !important; }
#main-content p { text-wrap: pretty; }
#main-content [class~="text-brand-dark"] { color: #eef3f8 !important; }
#main-content [class~="text-gray-600"],
#main-content [class~="text-gray-700"],
#main-content [class~="text-gray-800"],
#main-content [class~="text-gray-900"] { color: #aab6c3 !important; }
#main-content [class~="text-gray-500"],
#main-content [class~="text-gray-400"] { color: #8794a2 !important; }
.text-brand-primary { color: #6DBEDA !important; }

/* ── Tarjetas: vidrio oscuro translúcido con filo cian ─────────────────────── */
#main-content [class~="rounded-2xl"],
#main-content [class~="rounded-xl"] {
    /* Capa 1: foco que sigue al cursor (--mx/--my los actualiza aurora-fx.js).
       Capa 2: vidrio. Ambas son backgrounds → quedan detrás del texto. */
    background:
        radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(109,190,218,.10), transparent 62%),
        linear-gradient(158deg, rgba(255,255,255,.07), rgba(255,255,255,.022)) !important;
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid rgba(109,190,218,.16) !important;
    position: relative;
    /* refracción de borde (1px interior) + brillo superior + sombra tintada en navy */
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.04),
        inset 0 1px 0 rgba(255,255,255,.08),
        0 26px 64px -30px rgba(3,10,24,.9) !important;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease !important;
}
/* Personalidad "Tab": barra cian luminosa en el borde superior (solo cards rounded-2xl,
   no los badges rounded-xl). Los extremos del degradado se desvanecen → sin picos en las
   esquinas redondeadas (no requiere overflow:hidden). */
#main-content [class~="rounded-2xl"]::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(109,190,218,.95) 25%, rgba(109,190,218,.55) 60%, transparent);
    box-shadow: 0 0 14px -2px rgba(109,190,218,.6);
    transition: opacity .35s ease;
}
#main-content [class~="rounded-2xl"]:hover {
    transform: translateY(-4px);
    border-color: rgba(109,190,218,.5) !important;
    box-shadow:
        inset 0 0 0 1px rgba(109,190,218,.18),
        inset 0 1px 0 rgba(255,255,255,.1),
        0 30px 70px -28px rgba(3,10,24,.95),
        0 0 34px -6px rgba(109,190,218,.42) !important;
}
#main-content [class~="border-black/5"] { border-color: rgba(255,255,255,.09) !important; }

/* Insignias de icono: glow cian (después de la regla de tarjeta para que gane) */
#main-content [class~="bg-brand-primary/10"] {
    background: radial-gradient(circle at 30% 25%, rgba(109,190,218,.38), rgba(109,190,218,.08)) !important;
    box-shadow: 0 0 0 1px rgba(109,190,218,.32) inset, 0 0 24px -6px rgba(109,190,218,.6) !important;
}
#main-content [class~="bg-brand-primary/10"] .material-symbols-outlined { color: #8fd4ec !important; }

/* Eyebrow con regla cian de entrada */
#main-content [class~="tracking-[0.2em]"] { display: inline-flex; align-items: center; color: #6DBEDA !important; }
#main-content [class~="tracking-[0.2em]"]::before {
    content: ""; width: 26px; height: 2px; margin-right: .6rem; border-radius: 2px; flex: none;
    background: linear-gradient(90deg, #6DBEDA, rgba(109,190,218,0));
}

/* CTA sólido: cian neón con texto oscuro (navbar, hero, cierre, footer, modal OK) */
a[class~="bg-brand-primary"] {
    background: linear-gradient(135deg, #7ecbe6 0%, #3f93b3 100%) !important;
    color: #04141a !important;
    box-shadow: 0 0 0 1px rgba(109,190,218,.5) inset, 0 10px 34px -8px rgba(109,190,218,.6) !important;
}
a[class~="bg-brand-primary"]:hover {
    background: linear-gradient(135deg, #92d6ee 0%, #4aa3c4 100%) !important;
    box-shadow: 0 0 0 1px rgba(109,190,218,.7) inset, 0 14px 42px -8px rgba(109,190,218,.8) !important;
}

/* ── Navbar (tarjeta flotante de la home) → vidrio oscuro ──────────────────── */
header.sticky .absolute.inset-0 {
    background: rgba(8,11,15,.72) !important;
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-color: rgba(109,190,218,.2) !important;
    box-shadow: 0 14px 44px -14px rgba(0,0,0,.7) !important;
}
header.sticky img { filter: brightness(0) invert(1) opacity(.92); } /* logo oscuro → visible en oscuro */
header.sticky nav a, header.sticky #pv-mobile-menu a { color: #cbd5e1; }
header.sticky nav a:hover, header.sticky #pv-mobile-menu a:hover { color: #ffffff !important; }
header.sticky .pv-bar { background: #e6ebf1 !important; }
header.sticky #pv-mobile-menu .border-t { border-color: rgba(255,255,255,.12) !important; }
header.sticky #pv-mobile-menu .pv-mlink:hover { background: rgba(255,255,255,.06) !important; }
/* Elementos del navbar (rediseño "Soft"): links con píldora al hover, toggle ES/EN, CTA con glow */
header.sticky nav > div:nth-child(2) > a { border-radius: 9999px; transition: background .2s ease, color .2s ease; }
header.sticky nav > div:nth-child(2) > a:hover { background: rgba(109,190,218,.12); color: #d4ecf6 !important; }
/* Switcher de idioma como toggle/píldora segmentada */
header.sticky nav [class~="text-[12px]"] { border: 1px solid rgba(255,255,255,.14); border-radius: 9999px; padding: .18rem; gap: 0 !important; }
header.sticky nav [class~="text-[12px]"] > span { display: none; }
header.sticky nav [class~="text-[12px]"] > a { padding: .18rem .55rem; border-radius: 9999px; line-height: 1; }
header.sticky nav [class~="text-[12px]"] > a[class~="text-brand-primary"] { background: rgba(109,190,218,.16); color: #8fd4ec !important; }
/* CTA con glow cian */
header.sticky nav a[class~="bg-brand-primary"] { box-shadow: 0 0 0 1px rgba(109,190,218,.4) inset, 0 8px 26px -6px rgba(109,190,218,.6) !important; }

/* ── Formulario de contacto (.contact-unified-card) sobre oscuro ───────────── */
#contact-section .contact-unified-card {
    background: linear-gradient(158deg, rgba(255,255,255,.06), rgba(255,255,255,.02)) !important;
    border: 1px solid rgba(109,190,218,.18) !important;
    backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 26px 64px -30px rgba(0,0,0,.85) !important;
}
#contact-section .contact-input {
    background: rgba(255,255,255,.05) !important; color: #e8edf2 !important; border-color: rgba(255,255,255,.14) !important;
}
#contact-section .contact-input::placeholder { color: #7b8794 !important; }
#contact-section .form-label, #contact-section label { color: #c3ccd6 !important; }
#contact-section .contact-unified-card .phone-selector-wrapper .selected-value { color: #e8edf2 !important; }
#contact-section .contact-unified-card .phone-selector-wrapper > div:first-of-type {
    background: rgba(255,255,255,.05) !important; border-color: rgba(255,255,255,.14) !important; color: #e8edf2 !important;
}
#contact-section .contact-unified-card .phone-selector-wrapper svg { color: #9aa6b3 !important; }
#contact-section .scheduler-calendar { color: #cbd5e1; }
#contact-section [style*="border: 1px solid #e8e8e8"] { border-color: rgba(255,255,255,.16) !important; }
#contact-section .scheduler-calendar button:hover { background: rgba(255,255,255,.06) !important; }
/* Calendario / horarios sobre oscuro (estaban en colores de tema claro) */
#contact-section .scheduler-day { color: #cbd5e1 !important; }
#contact-section .scheduler-day-header { color: #8794a2 !important; }
#contact-section .scheduler-day--disabled { opacity: .28 !important; }
#contact-section #scheduler-month-label { color: #eef3f8 !important; }
#contact-section .scheduler-slot {
    color: #cbd5e1 !important; border-color: rgba(255,255,255,.16) !important; background: rgba(255,255,255,.04) !important;
}
#contact-section .scheduler-slot:hover { border-color: #6DBEDA !important; background: rgba(109,190,218,.12) !important; }
/* Botón "Agendar": cian (era #0a0a0a, oscuro-sobre-oscuro) */
#contact-section #scheduler-confirm-btn {
    background: linear-gradient(135deg, #7ecbe6 0%, #3f93b3 100%) !important; color: #04141a !important;
}
#contact-section [style*="border-top: 1px solid #eee"] { border-color: rgba(255,255,255,.1) !important; }
#contact-section [style*="color: #999"], #contact-section [style*="color: #aaa"] { color: #8794a2 !important; }
#contact-section [style*="color: #888"] { color: #9aa6b3 !important; }

/* ── Sección "Agenda tu diagnóstico": split (copy + chips | card) ─────────────── */
#main-content #agenda-section .agenda-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr);
    gap: 3.5rem;
    align-items: center;
}
@media (max-width: 980px) {
    #main-content #agenda-section .agenda-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
#main-content #agenda-section .agenda-lead { color: #aab6c3 !important; }
#main-content #agenda-section .agenda-chips { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
#main-content #agenda-section .agenda-chip { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; color: #c3ccd6; font-weight: 500; }
#main-content #agenda-section .agenda-chip .material-symbols-outlined { color: #6DBEDA; font-size: 20px; }
/* Segundo CTA: hablar directo con ventas por WhatsApp */
#main-content #agenda-section .agenda-alt { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
#main-content #agenda-section .agenda-alt-label { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: #aab6c3; }
#main-content #agenda-section .agenda-wa-btn {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .8rem 1.4rem; border-radius: .8rem;
    font-size: .95rem; font-weight: 700; line-height: 1;
    color: #eafff2;
    background: linear-gradient(135deg, rgba(37,211,102,.18), rgba(37,211,102,.08));
    border: 1px solid rgba(37,211,102,.45);
    box-shadow: 0 8px 24px -12px rgba(37,211,102,.55), inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
#main-content #agenda-section .agenda-wa-btn svg { width: 20px; height: 20px; color: #25D366; flex-shrink: 0; }
#main-content #agenda-section .agenda-wa-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(37,211,102,.3), rgba(37,211,102,.16));
    border-color: rgba(37,211,102,.7);
    box-shadow: 0 14px 32px -12px rgba(37,211,102,.7), inset 0 1px 0 rgba(255,255,255,.1);
}
#main-content #agenda-section .agenda-alt-note { font-size: .78rem; color: #8794a2; }
/* El CTA prominente de arriba reemplaza al enlace tenue dentro del formulario (en home) */
#main-content #agenda-section .agenda-form a[href*="wa.me"] { display: none; }

/* ── Submenú de WhatsApp (intenciones) — usado en el CTA de Agenda y en el navbar ──
   Clases base NO scopeadas a #main-content (el navbar vive fuera de <main>). */
.wa-menu { position: relative; }
.agenda-wa-btn { cursor: pointer; font-family: inherit; }
.wa-menu-chevron { font-size: 18px; opacity: .75; transition: transform .2s ease; margin-left: -.15rem; }
[data-action="toggle-wa-menu"][aria-expanded="true"] .wa-menu-chevron { transform: rotate(180deg); }
/* Ícono de WhatsApp en el navbar (hover:text-[#25D366] no está compilado en Tailwind) */
header.sticky .wa-menu > button { color: #cbd5e1; }
header.sticky .wa-menu > button:hover { color: #25D366; }

.wa-menu-popover {
    position: absolute;
    top: calc(100% + .55rem);
    min-width: 290px;
    max-width: 322px;
    padding: .5rem;
    border-radius: .9rem;
    background: rgba(10,12,14,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(37,211,102,.28);
    box-shadow: 0 20px 48px -16px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.03);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.wa-menu-popover--left { left: 0; }
.wa-menu-popover--right { right: 0; }
.wa-menu-popover.wa-menu-open { opacity: 1; visibility: visible; transform: translateY(0); }

.wa-menu-title { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #8794a2; padding: .35rem .65rem .5rem; margin: 0; }

.wa-menu-opt { display: flex; align-items: center; gap: .7rem; padding: .6rem .65rem; border-radius: .65rem; text-decoration: none; transition: background .15s ease; }
.wa-menu-opt:hover { background: rgba(37,211,102,.1); }
.wa-menu-opt-icon { width: 38px; height: 38px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 20px; color: #25D366; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.2); }
.wa-menu-opt-body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.wa-menu-opt-label { font-size: .9rem; font-weight: 600; color: #eaf2f7; line-height: 1.25; }
.wa-menu-opt-sub { font-size: .76rem; color: #8794a2; line-height: 1.25; }

/* Demo destacada (oferta diferencial) → acento cian de marca */
.wa-menu-opt.is-featured { position: relative; background: linear-gradient(90deg, rgba(109,190,218,.12), rgba(109,190,218,.02)); }
.wa-menu-opt.is-featured::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: #6DBEDA; }
.wa-menu-opt.is-featured .wa-menu-opt-icon { color: #6DBEDA; background: rgba(109,190,218,.14); border-color: rgba(109,190,218,.32); }
.wa-menu-opt.is-featured:hover { background: linear-gradient(90deg, rgba(109,190,218,.2), rgba(109,190,218,.05)); }

@media (max-width: 480px) {
    .wa-menu-popover { min-width: 0; width: min(86vw, 322px); }
}
@media (prefers-reduced-motion: reduce) {
    .wa-menu-popover { transform: none; transition: opacity .18s ease, visibility .18s; }
    .wa-menu-popover.wa-menu-open { transform: none; }
}
/* Neutralizar el contenedor propio de contact.php dentro del grid */
#main-content .agenda-form #contact-section { padding: 0 !important; }
#main-content .agenda-form .section-container { max-width: none !important; padding: 0 !important; }
/* Card destacada (glow) */
#agenda-section .contact-unified-card {
    border-color: rgba(109,190,218,.3) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 32px 80px -34px rgba(0,0,0,.9), 0 0 46px -14px rgba(109,190,218,.28) !important;
}

/* ── Footer (variante clara del rediseño) → oscuro ─────────────────────────── */
footer[class~="bg-[#F8F8F8]"] { background: #06080a !important; border-color: rgba(255,255,255,.07) !important; }
footer[class~="bg-[#F8F8F8]"] [class~="text-gray-600"],
footer[class~="bg-[#F8F8F8]"] [class~="text-gray-500"] { color: #9aa6b3 !important; }
footer[class~="bg-[#F8F8F8]"] [class~="text-gray-400"] { color: #6b7884 !important; }
footer[class~="bg-[#F8F8F8]"] [class~="border-black/5"] { border-color: rgba(255,255,255,.07) !important; }
footer[class~="bg-[#F8F8F8]"] img { filter: brightness(0) invert(1) opacity(.9); }

/* ── "Cómo trabajamos": stepper (nodos cian conectados por línea) ───────────── */
#main-content #how-we-work .step-grid { position: relative; }
#main-content #how-we-work .step-grid::before {
    content: ""; position: absolute; top: 1.375rem; left: 16.66%; right: 16.66%; height: 2px; z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(109,190,218,.55) 14%, rgba(109,190,218,.55) 86%, transparent);
}
@media (max-width: 768px) { #main-content #how-we-work .step-grid::before { display: none; } }
#main-content #how-we-work .step-col { position: relative; display: flex; flex-direction: column; }
#main-content #how-we-work .step-node {
    width: 2.75rem; height: 2.75rem; border-radius: 9999px; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #04141a; position: relative; z-index: 2;
    background: linear-gradient(135deg, #7ecbe6, #3f93b3);
    box-shadow: 0 0 0 6px rgba(8,11,15,.9), 0 0 0 7px rgba(109,190,218,.18), 0 0 22px -2px rgba(109,190,218,.75);
}
#main-content #how-we-work .step-card { flex: 1; }

/* ── Línea de tiempo "Nuestra historia" (#about-section) ───────────────────── */
#main-content #about-section .timeline-base,
#main-content #about-section .timeline-base-v { background: rgba(255,255,255,.12); }
#main-content #about-section .timeline-dot {
    background: #0b1626;
    border: 2px solid rgba(109,190,218,.7);
    box-shadow: 0 0 0 4px rgba(109,190,218,.08), 0 0 14px -2px rgba(109,190,218,.55);
}
/* Nodo "meta" (visión aspiracional 2027): cian sólido + glow fuerte, centro oscuro */
#main-content #about-section .timeline-dot-goal {
    background: #6DBEDA;
    border-color: #6DBEDA;
    box-shadow: 0 0 0 5px rgba(109,190,218,.16), 0 0 22px 1px rgba(109,190,218,.75);
}
#main-content #about-section .timeline-dot-goal > div { background: #04141a !important; }

/* ── Blog: transición color→negro de entrada + cards con el glass del sitio ──── */
/* El wrapper era #0a0a0a sólido (corte abrupto); ahora el tope se funde desde el
   color de la página (aurora/navy) hacia el negro total del blog. */
#main-content #blog-zone {
    background: linear-gradient(180deg, transparent 0, #0a0a0a 280px) !important;
}
/* Cards: lenguaje glass + glow cian del sitio (sin perder la esencia oscura) */
#main-content #blog-zone .blog-inline-card {
    background: linear-gradient(158deg, rgba(255,255,255,.055), rgba(255,255,255,.02)) !important;
    border: 1px solid rgba(109,190,218,.14) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 50px -28px rgba(3,10,24,.85) !important;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
#main-content #blog-zone .blog-inline-card:hover {
    border-color: rgba(109,190,218,.4) !important;
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(109,190,218,.15), 0 26px 60px -28px rgba(3,10,24,.92), 0 0 30px -8px rgba(109,190,218,.35) !important;
}
#main-content #blog-zone .blog-inline-card.active {
    border-color: rgba(109,190,218,.55) !important;
    background: linear-gradient(158deg, rgba(109,190,218,.12), rgba(109,190,218,.04)) !important;
    box-shadow: 0 0 0 1px rgba(109,190,218,.2), 0 0 36px -6px rgba(109,190,218,.4), 0 26px 60px -28px rgba(0,0,0,.6) !important;
    transform: translateY(-4px) scale(1.02);
}
/* Search: glow cian al enfocar */
#main-content #blog-zone .blog-search-input:focus {
    border-color: rgba(109,190,218,.5) !important;
    box-shadow: 0 0 0 3px rgba(109,190,218,.1);
}

/* ── Reveal de entrada (scroll) de las cards: "Blur-rise" ──────────────────────
   Solo bajo .reveal-on (JS + sin reduced-motion) → sin JS las cards se ven normales.
   Mitigaciones: blur pequeño (6px), fade-up sin blur en móvil, y se QUITA el filter al
   terminar (.reveal-done) para no dejar capa de blur permanente. */
.reveal-on #main-content [class~="rounded-2xl"]:not(.revealed):not(.reveal-done) {
    opacity: 0; transform: translateY(24px); filter: blur(8px);
}
/* !important: la regla global de la card tiene transition !important (solo transform .35s);
   sin esto, opacity/filter saltaban instantáneos y el blur no se veía. */
.reveal-on #main-content [class~="rounded-2xl"]:not(.reveal-done) {
    transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease !important;
}
.reveal-on #main-content [class~="rounded-2xl"].revealed { opacity: 1; transform: none; filter: blur(0); }
.reveal-on #main-content [class~="rounded-2xl"].reveal-done { filter: none; }
/* La demo de Casos genera burbujas rounded-2xl dinámicas dentro de #usecase-chat:
   NUNCA aplicarles el reveal (se quedaban desenfocadas). */
.reveal-on #usecase-chat [class~="rounded-2xl"] { opacity: 1 !important; transform: none !important; filter: none !important; }
@media (max-width: 768px) {
    /* Móvil: fade-up sin blur (GPU-friendly) */
    .reveal-on #main-content [class~="rounded-2xl"]:not(.revealed):not(.reveal-done) { filter: none; transform: translateY(18px); }
    .reveal-on #main-content [class~="rounded-2xl"]:not(.reveal-done) { transition: opacity .5s ease, transform .5s ease !important; }
}
/* Nodos del timeline: fade-up (lo hacía GSAP; ahora vía reveal.js + este CSS) */
.reveal-on #main-content [data-animate="timeline-node"]:not(.revealed):not(.reveal-done) { opacity: 0; transform: translateY(18px); }
.reveal-on #main-content [data-animate="timeline-node"]:not(.reveal-done) { transition: opacity .5s ease, transform .5s ease; }
.reveal-on #main-content [data-animate="timeline-node"].revealed { opacity: 1; transform: none; }
/* Sin animación (reduced-motion): la línea del timeline se muestra completa */
@media (prefers-reduced-motion: reduce) {
    #timeline-line-fill { width: 100% !important; }
    #timeline-line-fill-mobile { height: 100% !important; }
}

/* ── Componentes funcionales del rediseño (ajustados a oscuro) ─────────────── */
/* FAQ <details> */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }

/* Casos de uso interactivos */
.usecase-item { cursor: pointer; }
.usecase-item .usecase-label { color: #aab6c3; font-weight: 500; }
.usecase-item:hover { background: rgba(255,255,255,.04); }
.usecase-item.is-active { background: rgba(255,255,255,.06); box-shadow: inset 3px 0 0 #6DBEDA; }
.usecase-item.is-active .usecase-label { color: #8fd4ec; font-weight: 600; }
.usecase-item.is-active .material-symbols-outlined { color: #6DBEDA; opacity: 1; }

/* Animación de burbujas + indicador "escribiendo" */
@keyframes uc-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.uc-anim { animation: uc-fade-in .3s ease-out both; }
.uc-typing { display: inline-flex; align-items: center; }
.uc-typing span { width: 6px; height: 6px; margin: 0 2px; border-radius: 9999px; background: #9ca3af; animation: uc-bounce 1s infinite; }
.uc-typing span:nth-child(2) { animation-delay: .15s; }
.uc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes uc-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Marquee de logos: no pausar al pasar el cursor */
.animate-marquee-logos:hover { animation-play-state: running !important; }
/* Banda "Confían en VINDAM" sobre oscuro: logos en blanco suave (legibles) */
#main-content .logo-marquee-slot img {
    filter: brightness(0) invert(.92) !important;
    opacity: .58 !important;
    transition: opacity .3s ease !important;
    /* Altura de logo controlada por CSS (las h-* de Tailwind no siempre compilan) */
    height: 3.4rem;
}
@media (min-width: 768px) { #main-content .logo-marquee-slot img { height: 4.2rem; } }
/* Altura REAL de la banda (h-28/h-36 de Tailwind NO están compiladas → no aplicaban) */
#main-content .animate-marquee-logos { height: 5.6rem; }
@media (min-width: 768px) { #main-content .animate-marquee-logos { height: 7.2rem; } }
#main-content .logo-marquee-slot img:hover { opacity: 1 !important; }
/* Máscaras laterales: desvanecer hacia el fondo oscuro (no blanco) */
#main-content .logo-fade-l { background: linear-gradient(to right, #0a1020, rgba(10,16,32,0)); }
#main-content .logo-fade-r { background: linear-gradient(to left,  #0a1020, rgba(10,16,32,0)); }
/* Slots un poco más anchos para acompañar los logos más grandes */
#main-content .logo-marquee-slot { width: 180px; }
@media (min-width: 768px) { #main-content .logo-marquee-slot { width: 220px; } }
/* Promediar el tamaño VISUAL (sobreescribe las escalas por logo; UPB dominaba) */
#main-content .logo-marquee-slot img[alt="Upb"]         { transform: scale(.74) !important; }
#main-content .logo-marquee-slot img[alt="Talentotech"] { transform: scale(1.32) !important; }
#main-content .logo-marquee-slot img[alt="Mintic"]      { transform: scale(1.2) !important; }

/* Frase rotativa del hero: TODAS las frases apiladas en la misma celda de grid →
   la altura del contenedor = la frase más alta, así el texto blanco y el resto del
   layout NUNCA se mueven; solo cambia (cross-fade) la frase cian. */
#hero-rotator.hero-rotator { display: grid; }
#hero-rotator .hr-item {
    grid-area: 1 / 1; opacity: 0; pointer-events: none;
    transition: opacity .35s ease;
}
#hero-rotator .hr-item.is-on { opacity: 1; pointer-events: auto; }

/* Navbar: menú móvil propio + hamburguesa → X */
#pv-mobile-menu { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
#pv-mobile-menu.open { max-height: 420px; }
#pv-menu-btn.open .pv-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#pv-menu-btn.open .pv-bar:nth-child(2) { opacity: 0; }
#pv-menu-btn.open .pv-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Fusión cierre + contacto: ocultar el encabezado propio de contact.php */
#contact-section .section-container > .text-center,
#contact-section .section-container > .section-title,
#contact-section .section-container > .section-subtitle { display: none; }
#contact-section { padding-top: 0 !important; }

/* ── Movimiento reducido ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    #main-content [class~="rounded-2xl"] { transition: none !important; }
    #main-content [class~="rounded-2xl"]:hover { transform: none; }
    .uc-anim, .uc-typing span, #hero-rotator, .usecase-item { animation: none !important; transition: none !important; }
    /* Sin JS de rotación (reduce): solo la primera frase visible */
    #hero-rotator .hr-item { opacity: 0 !important; }
    #hero-rotator .hr-item.is-on { opacity: 1 !important; }
}

/* ════════════════════════════════════════════════════════════════════════════
   "Qué construimos" — pestañas con un objeto 3D animado por capacidad.
   Markup + JS en sections/what-we-build.php · gradiente SVG #wwb-wire.
   ════════════════════════════════════════════════════════════════════════════ */
.wwb-tabwrap { position: relative; }
.wwb-tabbar { -ms-overflow-style: none; scrollbar-width: none; scroll-behavior: smooth; }
.wwb-tabbar::-webkit-scrollbar { display: none; }
/* Las pestañas se difuminan hacia el borde donde haya más para deslizar */
.wwb-tabwrap.can-left  .wwb-tabbar { -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px); mask-image: linear-gradient(90deg, transparent, #000 72px); }
.wwb-tabwrap.can-right .wwb-tabbar { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
.wwb-tabwrap.can-left.can-right .wwb-tabbar { -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); }
.wwb-arrow { position: absolute; top: 0; bottom: 1px; z-index: 6; width: 54px; display: none; place-items: center;
    cursor: pointer; border: 0; background: none; color: #7cc6e2; transition: color .2s ease; }
.wwb-arrow .material-symbols-outlined { font-size: 24px; filter: drop-shadow(0 0 8px rgba(109,190,218,.65)); }
.wwb-arrow:hover { color: #eaf6fb; }
.wwb-arrow:hover .material-symbols-outlined { filter: drop-shadow(0 0 10px rgba(109,190,218,.95)); }
.wwb-arrow.left  { left: 0;  justify-items: start; padding-left: 10px; }
.wwb-arrow.right { right: 0; justify-items: end;   padding-right: 10px; }
.wwb-tabwrap.can-left .wwb-arrow.left { display: grid; }
.wwb-tabwrap.can-right .wwb-arrow.right { display: grid; }

/* Pestañas con ícono */
.vz-tab { flex: none; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem 1rem .5rem .75rem; border-radius: 9px; font-size: 14px; line-height: 1;
    color: #aeb9c6; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.10);
    transition: color .25s ease, border-color .25s ease, background .25s ease; }
.vz-tab .vz-tab-ic { font-size: 18px; color: #6DBEDA; opacity: .8; transition: opacity .25s ease; }
.vz-tab:hover { color: #d7e7f0; border-color: rgba(109,190,218,.4); }
.vz-tab.is-active { color: #eaf6fb; background: rgba(109,190,218,.14); border-color: rgba(109,190,218,.7); box-shadow: 0 0 22px -8px rgba(109,190,218,.7); }
.vz-tab.is-active .vz-tab-ic { opacity: 1; }
.wwb-fade { animation: wwbFade .5s ease both; }
@keyframes wwbFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Escenario de visuales ── */
.vstage { position: relative; width: 100%; max-width: 380px; margin: 0 auto; aspect-ratio: 1/1; }
.vstage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 64%; height: 64%; transform: translate(-50%,-50%);
    border-radius: 50%; background: radial-gradient(circle, rgba(109,190,218,.18), transparent 62%); filter: blur(10px); pointer-events: none; }
.viz { position: absolute; inset: 0; display: none; place-items: center; }
.viz.is-on { display: grid; animation: vizIn .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vizIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.viz svg { width: 100%; height: 100%; overflow: visible; }
.viz .stroke { stroke: url(#wwb-wire); fill: none; stroke-width: 1.4; stroke-linejoin: round; }

/* (0) Constelación orbital */
.cn-scene { position: relative; width: 250px; height: 250px; display: grid; place-items: center; perspective: 760px; }
.cn-globe { position: absolute; inset: 0; transform-style: preserve-3d; animation: spinY 22s linear infinite; }
.cn-ring { position: absolute; inset: 26px; border-radius: 50%; border: 1px solid rgba(109,190,218,.5); box-shadow: 0 0 18px -6px rgba(109,190,218,.5) inset; }
.cn-ring.r2 { transform: rotateX(72deg); } .cn-ring.r3 { transform: rotateY(66deg) rotateX(18deg); border-color: rgba(122,160,210,.42); }
.cn-node { position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: #8fd4ec; box-shadow: 0 0 12px 1px rgba(143,212,236,.9); }
.cn-node.b { transform: translate3d(-92px,16px,30px); } .cn-node.c { transform: translate3d(24px,-96px,-22px); background: #9fb6dd; }
.cn-node.a { transform: translate3d(100px,0,0); } .cn-node.d { transform: translate3d(44px,84px,40px); }
.cn-core { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #cdeefb, #4A6FA5); box-shadow: 0 0 26px 2px rgba(143,212,236,.8); }

/* (1) Workflow ramificado (automatización): entrada → 2 ramas → salida */
.wf-svg { filter: drop-shadow(0 0 3px rgba(109,190,218,.4)); }
.wf-c { stroke: rgba(143,212,236,.5); stroke-width: 2; fill: none; stroke-dasharray: 5 7; animation: wfDash .8s linear infinite; }
@keyframes wfDash { to { stroke-dashoffset: -24; } }

/* (2) Hub de red */
.flow { stroke: rgba(109,190,218,.55); stroke-width: 1.4; fill: none; stroke-dasharray: 3 7; animation: dashFlow 1.1s linear infinite; }
.hub-node { transform-box: fill-box; transform-origin: center; animation: nodePulse 2.6s ease-in-out infinite; }
.hub-node.d2 { animation-delay: -.6s; } .hub-node.d3 { animation-delay: -1.2s; } .hub-node.d4 { animation-delay: -1.8s; } .hub-node.d5 { animation-delay: -2.2s; }

/* (3) Diorama de losas de vidrio */
.dio { position: relative; width: 230px; height: 230px; perspective: 900px; display: grid; place-items: center; }
.dio-stack { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(45deg); }
.dio-slab { position: absolute; inset: 36px; border-radius: 22px; border: 1px solid rgba(109,190,218,.4);
    background: linear-gradient(150deg, rgba(255,255,255,.10), rgba(109,190,218,.04)); box-shadow: 0 0 30px -10px rgba(109,190,218,.5); }
.dio-slab.s1 { transform: translateZ(48px); border-color: rgba(143,212,236,.65); }
.dio-slab.s1::before, .dio-slab.s1::after { content:""; position:absolute; left:14%; right:30%; height:2px; background:rgba(143,212,236,.5); border-radius:2px; }
.dio-slab.s1::before { top: 34%; } .dio-slab.s1::after { top: 56%; right: 46%; }
.dio-slab.s2 { transform: translateZ(22px); opacity: .8; } .dio-slab.s3 { transform: translateZ(-2px); opacity: .55; }
.dio-cube { position: absolute; width: 24px; height: 24px; border: 1px solid rgba(143,212,236,.7); border-radius: 6px;
    background: linear-gradient(150deg, rgba(109,190,218,.22), rgba(109,190,218,.04)); animation: floatZ 6s ease-in-out infinite; }
.dio-cube.k1 { top: 0; left: 34px; transform: translateZ(86px); } .dio-cube.k2 { bottom: 8px; right: 20px; transform: translateZ(72px); animation-delay: -2s; width: 18px; height: 18px; }

/* (4) Globo de conocimiento (esfera de meridianos) */
.kg-scene { position: relative; width: 230px; height: 230px; display: grid; place-items: center; perspective: 760px; }
.kg-globe { position: absolute; inset: 30px; transform-style: preserve-3d; animation: spinY 18s linear infinite; }
.kg-mer { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(109,190,218,.34); }
.kg-mer.m2 { transform: rotateY(36deg); } .kg-mer.m3 { transform: rotateY(72deg); } .kg-mer.m4 { transform: rotateY(108deg); } .kg-mer.m5 { transform: rotateY(144deg); }
.kg-lat { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(143,212,236,.28); border-radius: 50%; transform-style: preserve-3d; }
.kg-lat.l1 { width: 86%; height: 86%; transform: translate(-50%,-50%) rotateX(90deg); }
.kg-lat.l2 { width: 60%; height: 60%; transform: translate(-50%,-50%) rotateX(90deg) translateZ(40px); }
.kg-lat.l3 { width: 60%; height: 60%; transform: translate(-50%,-50%) rotateX(90deg) translateZ(-40px); }
.kg-dot { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #8fd4ec; box-shadow: 0 0 10px 1px rgba(143,212,236,.9); }
.kg-dot.p1 { transform: translate3d(70px,-30px,40px); } .kg-dot.p2 { transform: translate3d(-60px,40px,50px); }
.kg-dot.p3 { transform: translate3d(20px,60px,-60px); background:#9fb6dd; } .kg-dot.p4 { transform: translate3d(-40px,-50px,-30px); }

/* (5) Cubo de vidrio anidado girando */
.cube-scene { position: relative; width: 230px; height: 230px; display: grid; place-items: center; perspective: 820px; }
.cube { grid-area: 1/1; transform-style: preserve-3d; }
.cube-out { width: 132px; height: 132px; --z: 66px; animation: cubeSpin 17s linear infinite; }
.cube-in  { width: 62px;  height: 62px;  --z: 31px; animation: cubeSpinR 12s linear infinite; }
.cube-core { grid-area: 1/1; width: 30px; height: 30px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #cdeefb, #4A6FA5); box-shadow: 0 0 28px 3px rgba(143,212,236,.8); }
.cf { position: absolute; inset: 0; border: 1px solid rgba(109,190,218,.5);
    background: linear-gradient(150deg, rgba(109,190,218,.07), rgba(109,190,218,.015)); }
.cube-out .cf { box-shadow: 0 0 18px -8px rgba(109,190,218,.45) inset; }
.cube-in .cf { border-color: rgba(143,212,236,.6); background: rgba(143,212,236,.05); }
.cf-front  { transform: translateZ(var(--z)); }
.cf-back   { transform: rotateY(180deg) translateZ(var(--z)); }
.cf-right  { transform: rotateY(90deg) translateZ(var(--z)); }
.cf-left   { transform: rotateY(-90deg) translateZ(var(--z)); }
.cf-top    { transform: rotateX(90deg) translateZ(var(--z)); }
.cf-bottom { transform: rotateX(-90deg) translateZ(var(--z)); }

/* keyframes compartidos del componente */
@keyframes spinY { from { transform: rotateY(0) rotateX(12deg); } to { transform: rotateY(360deg) rotateX(12deg); } }
@keyframes dashFlow { to { stroke-dashoffset: -20; } }
@keyframes nodePulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.22); opacity: 1; } }
@keyframes floatZ { 0%,100% { transform: translateZ(78px) translateY(0); } 50% { transform: translateZ(78px) translateY(-9px); } }
@keyframes cubeSpin { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
@keyframes cubeSpinR { from { transform: rotateX(18deg) rotateZ(12deg) rotateY(0); } to { transform: rotateX(18deg) rotateZ(12deg) rotateY(-360deg); } }

@media (prefers-reduced-motion: reduce) {
    .cn-globe, .kg-globe, .wf-c, .flow, .hub-node, .dio-cube, .cube-out, .cube-in, .viz.is-on { animation: none !important; }
    .vstage animateMotion { display: none; }
}
