/**
 * VARFLO - Sistema de Diseño "Ultra Definición" (Ultra HD & Premium Architecture)
 * Diseñado para máximo contraste, nitidez subpixel y estética corporativa de alto impacto.
 */

:root {
    /* Paleta Premium Oro Metálico */
    --primary: #c5a059;
    --primary-light: #eed69b;
    --primary-dark: #9e7d3b;
    --gold-gradient: linear-gradient(135deg, #fae29f 0%, #c5a059 50%, #8c6a28 100%);
    --gold-glow: 0 8px 30px rgba(197, 160, 89, 0.35);

    /* Fondos Oscuros de Alta Fidelidad (Obsidian Ultra HD) */
    --dark-bg: #08090d;
    --dark-surface: #101218;
    --card-bg: rgba(18, 20, 26, 0.85);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(197, 160, 89, 0.5);

    /* Tipografía Nítida */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Acentos */
    --success: #10b981;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Sombras Cinemáticas */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
    --shadow-gold: 0 10px 30px -5px rgba(197, 160, 89, 0.4);

    /* Suavizado */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Modo Claro Ultra HD (Contraste y Pureza) */
body.light-mode {
    --dark-bg: #f8fafc;
    --dark-surface: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(15, 23, 42, 0.08);
    --card-border-hover: var(--primary);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
}

/* 1. RENDERIZADO GLOBAL ULTRA NÍTIDO */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* 2. SCROLLBAR DE LUJO */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: #333946;
    border-radius: 4px;
    border: 2px solid var(--dark-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 3. NAVBAR ULTRA DEFINICIÓN GLASSMORPHISM & VIP EXECUTIVE HEADER */
nav, .vf-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    background: rgba(11, 14, 22, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(197, 160, 89, 0.22);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.3s ease, 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    box-sizing: border-box;
}

.vf-nav.nav-scrolled {
    height: 66px;
    background: rgba(8, 10, 16, 0.96);
    border-bottom: 1px solid rgba(234, 179, 8, 0.38);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.light-mode nav, 
.light-mode .vf-nav {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(197, 160, 89, 0.28);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.light-mode .vf-nav.nav-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.vf-nav-container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    height: 100%;
    box-sizing: border-box;
}

/* Logo & Identidad Corporativa de Lujo */
.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.logo-container:hover {
    transform: translateY(-1px);
}

.logo-icon-box {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(197, 160, 89, 0.35));
    transition: filter 0.3s ease, transform 0.3s ease;
}
.logo-container:hover .logo-img {
    filter: drop-shadow(0 0 14px rgba(250, 204, 21, 0.65));
    transform: scale(1.05);
}

.logo-pulse-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 9px;
    height: 9px;
    background: #22c55e;
    border: 2px solid #0b0e16;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: vfPulseDot 2.2s infinite ease-in-out;
}
@keyframes vfPulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.28); opacity: 0.75; }
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}
.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.32rem;
    letter-spacing: 1.6px;
    background: linear-gradient(135deg, #ffffff 30%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
    white-space: nowrap;
}
.light-mode .logo-main {
    background: linear-gradient(135deg, #0f172a 35%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #eab308;
    text-transform: uppercase;
    margin-top: 1px;
    white-space: nowrap;
}
.light-mode .logo-sub {
    color: #b45309;
}

/* Enlaces de Navegación */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-links a.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: #cbd5e1;
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a.nav-item .nav-ico {
    font-size: 0.82rem;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}
.nav-links a.nav-item:hover .nav-ico {
    color: #facc15;
    transform: scale(1.1);
}

.nav-links a.nav-item.active-link {
    color: #facc15;
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.35);
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.15);
}
.nav-links a.nav-item.active-link .nav-ico {
    color: #facc15;
}

.light-mode .nav-links a.nav-item {
    color: #475569;
}
.light-mode .nav-links a.nav-item .nav-ico {
    color: #64748b;
}
.light-mode .nav-links a.nav-item:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.04);
}
.light-mode .nav-links a.nav-item.active-link {
    color: #a16207;
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(202, 138, 4, 0.38);
    box-shadow: 0 2px 8px rgba(202, 138, 4, 0.12);
}

/* Acciones Derechas */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Botón WhatsApp de Lujo */
.nav-cta-wsp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 15px;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}
.nav-cta-wsp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
    filter: brightness(1.1);
}
.nav-cta-wsp i {
    font-size: 0.95rem;
}
.mobile-wsp {
    display: none;
}

/* Botón Tema Sol / Luna Ultra HD */
.btn-theme {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #facc15;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
    padding: 0;
}
.btn-theme:hover {
    background: #facc15;
    color: #0b0e16;
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.5);
    transform: rotate(18deg) scale(1.05);
}
.light-mode .btn-theme {
    background: #f1f5f9;
    border-color: rgba(202, 138, 4, 0.35);
    color: #b45309;
}
.light-mode .btn-theme:hover {
    background: #b45309;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(180, 83, 9, 0.4);
}

/* Botón Hamburguesa Móvil (OCULTO ESTRICTAMENTE EN ESCRITORIO) */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.menu-toggle:hover {
    background: rgba(234, 179, 8, 0.15);
    border-color: #facc15;
}
.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.light-mode .hamburger-line {
    background: #0f172a;
}
.menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

varflo-navbar {
    display: block;
    position: relative;
    z-index: 10000;
}

.mobile-drawer-header {
    display: none;
}
.vf-nav-backdrop {
    display: none;
}

/* Responsive: Bloqueo de scroll al abrir menú */
body.vf-menu-open {
    overflow: hidden !important;
}

/* Optimización para monitores medianos (1221px a 1440px) */
@media (max-width: 1440px) and (min-width: 1221px) {
    .vf-nav-container {
        padding: 0 16px;
        gap: 8px;
    }
    .nav-links {
        gap: 3px;
    }
    .nav-links a.nav-item {
        padding: 6px 9px;
        font-size: 0.74rem;
        gap: 5px;
    }
    .logo-main {
        font-size: 1.2rem;
    }
    .logo-sub {
        font-size: 0.58rem;
        letter-spacing: 1.4px;
    }
}

/* Modo Móvil y Tablet (Pantallas <= 1220px) */
@media (max-width: 1220px) {
    .menu-toggle {
        display: flex !important;
    }
    .desktop-wsp {
        display: none !important;
    }
    .mobile-wsp {
        display: inline-flex !important;
        margin-top: 14px;
        width: 100%;
        justify-content: center;
        padding: 12px;
        border-radius: 12px;
        font-size: 0.88rem;
    }
    varflo-navbar {
    display: block;
    position: relative;
    z-index: 10000;
}

.mobile-drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 14px;
        margin-bottom: 12px;
        border-bottom: 1px solid rgba(197, 160, 89, 0.2);
        width: 100%;
    }
    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .mobile-brand-info {
        display: flex;
        flex-direction: column;
    }
    .mobile-brand-title {
        font-family: 'Montserrat', sans-serif;
        font-weight: 900;
        font-size: 1.15rem;
        color: #facc15;
        letter-spacing: 1px;
    }
    .mobile-brand-sub {
        font-size: 0.56rem;
        font-weight: 700;
        color: #94a3b8;
        letter-spacing: 1.2px;
    }
    .mobile-close-btn {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #ffffff;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        cursor: pointer;
    }
    .light-mode .mobile-close-btn {
        background: rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.12);
        color: #0f172a;
    }

    /* Drawer de Navegación Desplegable desde la Derecha */
    .nav-links {
        position: fixed;
        top: 0;
        right: -340px;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        background: #0d111a !important;
        border-left: 1px solid rgba(197, 160, 89, 0.4);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.9);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 20px 18px 40px;
        gap: 6px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 10005 !important;
        pointer-events: none;
        transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
        box-sizing: border-box;
    }
    .light-mode .nav-links {
        background: #ffffff !important;
        border-left: 1px solid rgba(197, 160, 89, 0.25);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
    }
    .nav-links.active-menu {
        right: 0 !important;
        pointer-events: auto !important;
    }
    .nav-links a.nav-item {
        padding: 13px 16px;
        font-size: 0.92rem;
        font-weight: 700;
        border-radius: 12px;
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
        cursor: pointer !important;
        pointer-events: auto !important;
        touch-action: manipulation;
        position: relative;
        z-index: 10006 !important;
    }
    .nav-links a.nav-item .nav-ico {
        font-size: 1.1rem;
        width: 26px;
        text-align: center;
        color: #facc15;
    }

    /* Backdrop Oscurecido */
    .vf-nav-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.72);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 9995 !important;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .vf-nav-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Celulares (< 480px) */
@media (max-width: 480px) {
    nav, .vf-nav {
        height: 64px;
    }
    .vf-nav.nav-scrolled {
        height: 60px;
    }
    .vf-nav-container {
        padding: 0 14px;
        gap: 10px;
    }
    .logo-icon-box {
        width: 38px;
        height: 38px;
    }
    .logo-img {
        width: 38px;
        height: 38px;
    }
    .logo-main {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }
    .logo-sub {
        font-size: 0.52rem;
        letter-spacing: 1.1px;
    }
    .btn-theme {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .menu-toggle {
        width: 36px;
        height: 36px;
    }
}

/* 4. TARJETAS ULTRA GLASS (High Fidelity Cards) */
.card {
            position: relative !important;
            display: flex !important;
            flex-direction: column !important;
            border-radius: 18px !important;
            padding: 20px !important;
            overflow: hidden !important;
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
            will-change: transform, box-shadow;
            transform-style: preserve-3d;
        }

        /* Efecto de Barrido de Luz (Shimmer Sweep) Dinámico sobre las Ventanas */
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -130%;
            width: 70%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.08),
                rgba(234, 179, 8, 0.16),
                transparent
            );
            transform: skewX(-25deg);
            transition: left 0.9s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
            z-index: 4;
        }
        .card:hover::before {
            left: 160%;
        }

        /* Modo Oscuro (Obsidian Glass + Acento Oro + Animación de Movimiento Dinámico) */
        body:not(.light-mode) .card {
            background: linear-gradient(165deg, rgba(20, 24, 34, 0.96) 0%, rgba(11, 14, 20, 0.98) 100%) !important;
            border: 1px solid rgba(197, 160, 89, 0.28) !important;
            border-top: 3px solid #c5a059 !important;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(197, 160, 89, 0.08) !important;
        }
        body:not(.light-mode) .card:hover {
            transform: translateY(-9px) scale(1.015) !important;
            border-color: rgba(250, 204, 21, 0.7) !important;
            box-shadow: 0 28px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(234, 179, 8, 0.28) !important;
        }

        /* Modo Claro (Lujo Ejecutivo Blanco Puro + Acento Oro) */
        body.light-mode .card {
            background: #ffffff !important;
            border: 1px solid rgba(197, 160, 89, 0.32) !important;
            border-top: 3px solid #c5a059 !important;
            box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.08), 0 0 20px rgba(197, 160, 89, 0.12) !important;
        }
        body.light-mode .card:hover {
            transform: translateY(-9px) scale(1.015) !important;
            border-color: #ca8a04 !important;
            box-shadow: 0 26px 55px -4px rgba(15, 23, 42, 0.18), 0 0 35px rgba(197, 160, 89, 0.3) !important;
        }

        /* Animación de Badges Flotantes */
        .badge-oferta {
            animation: vfBadgeFloat 2.8s ease-in-out infinite !important;
        }
        .badge-top {
            animation: vfBadgeFloat 2.8s ease-in-out infinite 0.7s !important;
        }
        @keyframes vfBadgeFloat {
            0%, 100% {
                transform: translateY(0);
                box-shadow: 0 4px 15px rgba(239, 68, 68, 0.45);
            }
            50% {
                transform: translateY(-3px);
                box-shadow: 0 8px 22px rgba(239, 68, 68, 0.75);
            }
        }

        /* Carrusel de Imágenes */
        .carousel {
            position: relative !important;
            width: 100% !important;
            height: 310px !important;
            background: #06080c !important;
            border-radius: 12px !important;
            margin-bottom: 16px !important;
            overflow: hidden !important;
            cursor: pointer !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
        }
        body.light-mode .carousel {
            border-color: rgba(0, 0, 0, 0.08) !important;
            background: #0f172a !important;
        }
        .carousel img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: none;
            transition: transform 0.4s ease, opacity 0.3s ease !important;
        }
        .carousel img.active {
            display: block !important;
        }
        .carousel:hover img.active {
            transform: scale(1.03) !important;
        }

        /* Badges Flotantes de Lujo en Carrusel */
        .badge-oferta {
            position: absolute !important;
            top: 14px !important;
            right: 14px !important;
            background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
            color: #fff !important;
            padding: 5px 12px !important;
            font-weight: 800 !important;
            font-size: 0.74rem !important;
            z-index: 10 !important;
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.45) !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            border-radius: 6px !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            display: flex !important;
            align-items: center !important;
            gap: 5px !important;
        }
        .badge-top {
            position: absolute !important;
            top: 14px !important;
            left: 14px !important;
            background: linear-gradient(135deg, #fae29f 0%, #c5a059 100%) !important;
            color: #000 !important;
            padding: 5px 12px !important;
            font-weight: 900 !important;
            font-size: 0.74rem !important;
            border-radius: 6px !important;
            z-index: 10 !important;
            box-shadow: 0 4px 15px rgba(197, 160, 89, 0.45) !important;
            display: flex !important;
            align-items: center !important;
            gap: 5px !important;
            letter-spacing: 0.4px !important;
            border: 1px solid rgba(255, 255, 255, 0.4) !important;
        }

        /* Pill de Categoría */
        .vf-cat-pill {
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            padding: 4px 12px !important;
            border-radius: 20px !important;
            font-size: 0.72rem !important;
            font-weight: 800 !important;
            letter-spacing: 0.5px !important;
            text-transform: uppercase !important;
            width: fit-content !important;
            margin-bottom: 8px !important;
            font-family: 'Inter', sans-serif !important;
        }
        .vf-cat-cursos { background: rgba(37, 99, 235, 0.12) !important; color: #3b82f6 !important; border: 1px solid rgba(59, 130, 246, 0.35) !important; }
        .vf-cat-software { background: rgba(249, 115, 22, 0.12) !important; color: #f97316 !important; border: 1px solid rgba(249, 115, 22, 0.35) !important; }
        .vf-cat-plantillas { background: rgba(16, 185, 129, 0.12) !important; color: #10b981 !important; border: 1px solid rgba(16, 185, 129, 0.35) !important; }
        .vf-cat-packs { background: rgba(168, 85, 247, 0.12) !important; color: #a855f7 !important; border: 1px solid rgba(168, 85, 247, 0.35) !important; }
        .vf-cat-otros { background: rgba(197, 160, 89, 0.12) !important; color: var(--primary) !important; border: 1px solid rgba(197, 160, 89, 0.35) !important; }

        /* Título de la Tarjeta */
        .vf-card-title {
            font-family: 'Montserrat', sans-serif !important;
            font-weight: 900 !important;
            font-size: 1.2rem !important;
            line-height: 1.35 !important;
            margin: 0 0 8px 0 !important;
            color: #ffffff !important;
            transition: color 0.25s !important;
            cursor: pointer !important;
        }
        .vf-card-title:hover {
            color: var(--primary, #c5a059) !important;
        }
        body.light-mode .vf-card-title {
            color: #0f172a !important;
        }
        body.light-mode .vf-card-title:hover {
            color: #b08d44 !important;
        }

        /* Fila de Valoración Dinámica con Estrellas en Movimiento */
        .vf-rating-row {
            display: flex !important;
            align-items: center !important;
            gap: 9px !important;
            margin-bottom: 10px !important;
            font-size: 0.82rem !important;
            flex-wrap: wrap !important;
        }

        /* Estrellas con Animación de Movimiento Ondulante y Brillo */
        .vf-stars {
            color: #f59e0b !important;
            display: flex !important;
            gap: 3px !important;
            align-items: center !important;
        }
        .vf-stars i {
            display: inline-block !important;
            animation: vfStarWaveMotion 2.4s ease-in-out infinite !important;
            transform-origin: center center !important;
            transition: transform 0.2s ease !important;
        }
        .vf-stars i:nth-child(1) { animation-delay: 0.0s !important; }
        .vf-stars i:nth-child(2) { animation-delay: 0.2s !important; }
        .vf-stars i:nth-child(3) { animation-delay: 0.4s !important; }
        .vf-stars i:nth-child(4) { animation-delay: 0.6s !important; }
        .vf-stars i:nth-child(5) { animation-delay: 0.8s !important; }

        @keyframes vfStarWaveMotion {
            0%, 100% {
                transform: scale(1) translateY(0) rotate(0deg);
                color: #f59e0b;
                filter: drop-shadow(0 0 1px rgba(245, 158, 11, 0.4));
            }
            25% {
                transform: scale(1.22) translateY(-2px) rotate(8deg);
                color: #fde047;
                filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.95));
            }
            50% {
                transform: scale(1.06) translateY(0) rotate(-6deg);
                color: #fbbf24;
                filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.6));
            }
            75% {
                transform: scale(1.16) translateY(-1px) rotate(4deg);
                color: #fef08a;
                filter: drop-shadow(0 0 5px rgba(254, 240, 138, 0.9));
            }
        }

        .vf-rating-score {
            font-weight: 800 !important;
            color: #fae29f !important;
            font-family: 'Montserrat', sans-serif !important;
            letter-spacing: 0.3px !important;
        }
        body.light-mode .vf-rating-score {
            color: #b45309 !important;
        }

        /* Nuevo Badge Dinámico con Estrella en Movimiento Continuo (Reemplaza a Verificado CIP) */
        .vf-badge-live-star {
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            background: linear-gradient(135deg, rgba(234, 179, 8, 0.16), rgba(245, 158, 11, 0.26)) !important;
            color: #fde047 !important;
            border: 1px solid rgba(234, 179, 8, 0.45) !important;
            padding: 3px 10px !important;
            border-radius: 20px !important;
            font-size: 0.72rem !important;
            font-weight: 800 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            box-shadow: 0 0 12px rgba(234, 179, 8, 0.25) !important;
            animation: vfBadgeGlowPulse 2.8s infinite ease-in-out !important;
        }
        body.light-mode .vf-badge-live-star {
            background: linear-gradient(135deg, #fef08a, #fde047) !important;
            color: #854d0e !important;
            border-color: #eab308 !important;
            box-shadow: 0 2px 8px rgba(202, 138, 4, 0.2) !important;
        }

        /* Estrella Giratoria y Pulsante */
        .vf-star-spin {
            display: inline-block !important;
            color: #fef08a !important;
            filter: drop-shadow(0 0 5px #eab308) !important;
            animation: vfStarSpinPulse 3.2s infinite ease-in-out !important;
            transform-origin: center center !important;
        }
        body.light-mode .vf-star-spin {
            color: #b45309 !important;
            filter: drop-shadow(0 0 3px #ca8a04) !important;
        }

        @keyframes vfStarSpinPulse {
            0% {
                transform: rotate(0deg) scale(1);
            }
            25% {
                transform: rotate(90deg) scale(1.3);
            }
            50% {
                transform: rotate(180deg) scale(1.05);
            }
            75% {
                transform: rotate(270deg) scale(1.28);
            }
            100% {
                transform: rotate(360deg) scale(1);
            }
        }

        @keyframes vfBadgeGlowPulse {
            0%, 100% {
                box-shadow: 0 0 8px rgba(234, 179, 8, 0.2);
                border-color: rgba(234, 179, 8, 0.35);
            }
            50% {
                box-shadow: 0 0 18px rgba(250, 204, 21, 0.55);
                border-color: rgba(250, 204, 21, 0.85);
            }
        }

        /* Caja de Descripción con 'Ver Más' */
        .desc-card-container {
            max-height: 56px !important;
            overflow: hidden !important;
            position: relative !important;
            transition: max-height 0.35s ease !important;
            margin-bottom: 4px !important;
        }
        .desc-card-container.expanded {
            max-height: 600px !important;
        }
        .desc-card-container p {
            font-size: 0.88rem !important;
            color: #94a3b8 !important;
            line-height: 1.5 !important;
            margin: 0 !important;
            white-space: pre-line !important;
        }
        body.light-mode .desc-card-container p {
            color: #334155 !important;
        }
        .btn-ver-mas {
            background: none !important;
            border: none !important;
            color: var(--primary, #c5a059) !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            padding: 4px 0 10px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 5px !important;
            transition: color 0.2s !important;
        }
        .btn-ver-mas:hover {
            color: #fae29f !important;
        }
        body.light-mode .btn-ver-mas {
            color: #9a6e1a !important;
        }

        /* Fila de Precios y Disponibilidad */
        .card-price-row {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            margin-top: auto !important;
            padding-top: 10px !important;
            border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        }
        body.light-mode .card-price-row {
            border-top-color: rgba(0, 0, 0, 0.08) !important;
        }
        .card-price-original {
            font-size: 0.95rem !important;
            color: #94a3b8 !important;
            text-decoration: line-through !important;
            margin-right: 8px !important;
            font-weight: 600 !important;
        }
        .card-price-value {
            font-family: 'Montserrat', sans-serif !important;
            font-size: 1.65rem !important;
            font-weight: 900 !important;
            color: #22c55e !important;
            letter-spacing: -0.5px !important;
        }
        body.light-mode .card-price-value {
            color: #16a34a !important;
        }
        .vf-disp-pill {
            font-size: 0.74rem !important;
            color: #22c55e !important;
            font-weight: 800 !important;
            background: rgba(34, 197, 94, 0.12) !important;
            border: 1px solid rgba(34, 197, 94, 0.35) !important;
            padding: 4px 10px !important;
            border-radius: 20px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 5px !important;
        }
        body.light-mode .vf-disp-pill {
            color: #15803d !important;
            background: #f0fdf4 !important;
            border-color: #bbf7d0 !important;
        }

        /* --- PILA DE BOTONES DINÁMICOS DE LUJO --- */
        .vf-card-buttons-stack {
            display: flex !important;
            flex-direction: column !important;
            gap: 8px !important;
            margin-top: 14px !important;
            width: 100% !important;
        }

        /* Botón 1: PAGAR AQUÍ (Nacional) */
        .vf-btn-pagar {
            width: 100% !important;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            border-radius: 10px !important;
            padding: 12px 14px !important;
            font-size: 0.88rem !important;
            font-weight: 900 !important;
            font-family: 'Montserrat', sans-serif !important;
            letter-spacing: 0.4px !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35) !important;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
            text-transform: uppercase !important;
            text-decoration: none !important;
        }
        .vf-btn-pagar:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 10px 25px rgba(16, 185, 129, 0.55) !important;
            filter: brightness(1.08) !important;
        }
        .vf-bolt-icon {
            font-size: 1rem !important;
            color: #fae29f !important;
            animation: vfBoltPulse 2s infinite ease-in-out !important;
        }
        @keyframes vfBoltPulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.2); opacity: 0.85; }
        }

        /* Botón 2: COMPRAR EN HOTMART (Internacional / Tarjetas) */
        .vf-btn-hotmart {
            width: 100% !important;
            background: linear-gradient(135deg, #ff5722 0%, #ea580c 50%, #c2185b 100%) !important;
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            border-radius: 10px !important;
            padding: 10px 14px !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 10px !important;
            box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35) !important;
            text-decoration: none !important;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        }
        .vf-btn-hotmart:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 12px 28px rgba(234, 88, 12, 0.55) !important;
            filter: brightness(1.08) !important;
        }
        .vf-btn-hotmart-content {
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
            text-align: left !important;
        }
        .vf-hotmart-flame {
            font-size: 1.3rem !important;
            color: #ffeb3b !important;
            filter: drop-shadow(0 0 6px rgba(255, 235, 59, 0.8)) !important;
            animation: vfFlamePulse 1.8s infinite ease-in-out !important;
        }
        @keyframes vfFlamePulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.18); }
        }
        .vf-hotmart-text-col {
            display: flex !important;
            flex-direction: column !important;
            gap: 1px !important;
        }
        .vf-hotmart-main-title {
            font-family: 'Montserrat', sans-serif !important;
            font-weight: 900 !important;
            font-size: 0.84rem !important;
            letter-spacing: 0.5px !important;
            color: #ffffff !important;
            text-transform: uppercase !important;
        }
        .vf-hotmart-sub-title {
            font-size: 0.68rem !important;
            color: rgba(255, 255, 255, 0.92) !important;
            font-weight: 600 !important;
        }
        .vf-hotmart-ext-icon {
            font-size: 0.85rem !important;
            color: rgba(255, 255, 255, 0.85) !important;
        }

        /* Fila de Acciones Secundarias (Ficha + WhatsApp + Compartir) */
        .vf-card-secondary-grid {
            display: grid !important;
            grid-template-columns: 1.3fr 1.3fr auto !important;
            gap: 8px !important;
            align-items: center !important;
        }
        .vf-btn-sec {
            padding: 8px 10px !important;
            border-radius: 8px !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 6px !important;
            text-decoration: none !important;
            transition: all 0.2s ease !important;
            font-family: 'Inter', sans-serif !important;
        }
        .vf-btn-ficha {
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(197, 160, 89, 0.35) !important;
            color: var(--primary, #c5a059) !important;
        }
        .vf-btn-ficha:hover {
            background: var(--gold-gradient, linear-gradient(135deg, #fae29f 0%, #c5a059 100%)) !important;
            color: #000 !important;
            border-color: var(--primary, #c5a059) !important;
        }
        body.light-mode .vf-btn-ficha {
            background: #f8fafc !important;
            border-color: rgba(197, 160, 89, 0.5) !important;
            color: #855d14 !important;
        }
        body.light-mode .vf-btn-ficha:hover {
            background: var(--primary, #c5a059) !important;
            color: #000 !important;
        }
        .vf-btn-wsp {
            background: rgba(37, 211, 102, 0.1) !important;
            border: 1px solid rgba(37, 211, 102, 0.35) !important;
            color: #25d366 !important;
        }
        .vf-btn-wsp:hover {
            background: #25d366 !important;
            color: #fff !important;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
        }
        .vf-btn-share {
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.15) !important;
            color: #94a3b8 !important;
            width: 36px !important;
            height: 36px !important;
            padding: 0 !important;
        }
        .vf-btn-share:hover {
            background: rgba(255, 255, 255, 0.15) !important;
            color: #fff !important;
            border-color: rgba(255, 255, 255, 0.3) !important;
        }
        body.light-mode .vf-btn-share {
            background: #f1f5f9 !important;
            border-color: #cbd5e1 !important;
            color: #475569 !important;
        }

        /* Fila de Administrador */
        .vf-card-admin-row {
            display: flex !important;
            gap: 8px !important;
            margin-top: 4px !important;
            border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
            padding-top: 10px !important;
        }
        body.light-mode .vf-card-admin-row {
            border-top-color: rgba(0, 0, 0, 0.1) !important;
        }
        .vf-admin-btn {
            padding: 7px 12px !important;
            border-radius: 6px !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            transition: all 0.2s !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 6px !important;
        }
        .vf-admin-edit {
            flex: 1 !important;
            background: rgba(37, 99, 235, 0.15) !important;
            border: 1px solid rgba(37, 99, 235, 0.4) !important;
            color: #3b82f6 !important;
        }
        .vf-admin-edit:hover {
            background: #2563eb !important;
            color: #fff !important;
        }
        .vf-admin-del {
            background: rgba(239, 68, 68, 0.15) !important;
            border: 1px solid rgba(239, 68, 68, 0.4) !important;
            color: #ef4444 !important;
        }
        .vf-admin-del:hover {
            background: #ef4444 !important;
            color: #fff !important;
        }

        /* Ajustes Mobile de Botones */
        @media (max-width: 680px) {
            .grid {
                grid-template-columns: 1fr !important;
                padding: 16px 14px 40px !important;
                gap: 24px !important;
            }
            .card {
                padding: 16px !important;
            }
            .carousel {
                height: 240px !important;
            }
            .vf-card-secondary-grid {
                grid-template-columns: 1fr 1fr auto !important;
            }
        }


        /* ========================================================
           CUADRÍCULA DE CATÁLOGO: EXACTAMENTE 4 EN CADA FILA
           ======================================================== */
        .grid {
            display: grid !important;
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 24px !important;
            padding: 30px 24px 70px !important;
            max-width: 1620px !important;
            margin: 0 auto !important;
            box-sizing: border-box !important;
            width: 100% !important;
            align-items: stretch !important;
        }

        .card {
            position: relative !important;
            display: flex !important;
            flex-direction: column !important;
            border-radius: 18px !important;
            padding: 18px !important;
            overflow: hidden !important;
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
            will-change: transform, box-shadow;
            transform-style: preserve-3d;
            box-sizing: border-box !important;
            height: 100% !important;
        }

        .carousel {
            position: relative !important;
            width: 100% !important;
            height: 260px !important;
            background: #06080c !important;
            border-radius: 12px !important;
            margin-bottom: 14px !important;
            overflow: hidden !important;
            cursor: pointer !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
        }

        .vf-card-title {
            font-family: 'Montserrat', sans-serif !important;
            font-weight: 800 !important;
            font-size: 1.05rem !important;
            line-height: 1.35 !important;
            margin: 0 0 8px 0 !important;
            color: #ffffff !important;
            transition: color 0.25s !important;
            cursor: pointer !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            min-height: 2.7em !important;
        }

        /* Responsive Breakpoints: 4 -> 3 -> 2 -> 1 */
        @media (max-width: 1360px) {
            .grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 20px !important;
            }
        }
        @media (max-width: 960px) {
            .grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 16px !important;
                padding: 20px 16px 50px !important;
            }
        }
        @media (max-width: 620px) {
            .grid {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
                padding: 16px 12px 40px !important;
            }
            .card {
                padding: 16px !important;
            }
            .carousel {
                height: 240px !important;
            }
        }


        /* ========================================================
           DISTRIBUCIÓN COHERENTE, MODERNA Y ORDENADA VARFLO
           ======================================================== */
        
        /* 1. Header Compacto y Elegante */
        #catalogo-header {
            padding: 24px 20px 10px !important;
            text-align: center !important;
        }
        #catalogo-header .titulo-seccion {
            font-size: 2.2rem !important;
            line-height: 1.2 !important;
            margin: 0 auto 8px !important;
            font-weight: 900 !important;
            letter-spacing: -0.5px !important;
        }
        #catalogo-header p {
            font-size: 0.92rem !important;
            max-width: 720px !important;
            margin: 0 auto 16px !important;
            color: #94a3b8 !important;
            line-height: 1.5 !important;
        }

        /* 2. Botones de Filtro Estilo Píldora de Lujo */
        .filtros-container {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 8px !important;
            flex-wrap: wrap !important;
            margin: 12px auto 20px !important;
            max-width: 800px !important;
        }
        .btn-filtro {
            padding: 7px 18px !important;
            border-radius: 25px !important;
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            color: #94a3b8 !important;
            font-size: 0.82rem !important;
            font-weight: 700 !important;
            font-family: 'Montserrat', sans-serif !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            letter-spacing: 0.3px !important;
        }
        .btn-filtro:hover {
            color: #ffffff !important;
            background: rgba(255, 255, 255, 0.12) !important;
            border-color: rgba(234, 179, 8, 0.4) !important;
            transform: translateY(-1px) !important;
        }
        .btn-filtro.active-filter {
            background: linear-gradient(135deg, #eab308, #ca8a04) !important;
            color: #0b0f19 !important;
            border-color: #eab308 !important;
            font-weight: 800 !important;
            box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35) !important;
        }
        body.light-mode .btn-filtro {
            background: #f1f5f9 !important;
            border-color: #cbd5e1 !important;
            color: #475569 !important;
        }
        body.light-mode .btn-filtro:hover {
            background: #e2e8f0 !important;
            color: #0f172a !important;
        }
        body.light-mode .btn-filtro.active-filter {
            background: linear-gradient(135deg, #eab308, #ca8a04) !important;
            color: #0b0f19 !important;
            border-color: #ca8a04 !important;
        }

        /* 3. Cuadrícula Exacta de 4 Columnas con Estiramiento Equilibrado */
        .grid {
            display: grid !important;
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 20px !important;
            padding: 15px 20px 80px !important;
            max-width: 1640px !important;
            margin: 0 auto !important;
            align-items: stretch !important;
            box-sizing: border-box !important;
            width: 100% !important;
        }

        /* 4. Tarjeta Coherente y Alineada */
        .card {
            position: relative !important;
            display: flex !important;
            flex-direction: column !important;
            border-radius: 18px !important;
            padding: 16px !important;
            overflow: hidden !important;
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
            will-change: transform, box-shadow;
            transform-style: preserve-3d;
            box-sizing: border-box !important;
            height: 100% !important;
        }

        /* Carrusel Compacto y Proporcional */
        .carousel {
            position: relative !important;
            width: 100% !important;
            height: 215px !important;
            background: #06080c !important;
            border-radius: 12px !important;
            margin-bottom: 12px !important;
            overflow: hidden !important;
            cursor: pointer !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            flex-shrink: 0 !important;
        }

        /* Cuerpo de la Tarjeta */
        .vf-card-body {
            display: flex !important;
            flex-direction: column !important;
            flex: 1 1 auto !important;
        }

        /* Título Uniforme (Exactamente 2 Líneas en todos los Cursos) */
        .vf-card-title {
            font-family: 'Montserrat', sans-serif !important;
            font-weight: 800 !important;
            font-size: 0.98rem !important;
            line-height: 1.35 !important;
            margin: 0 0 6px 0 !important;
            color: #ffffff !important;
            transition: color 0.25s !important;
            cursor: pointer !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            height: 2.7em !important;
            min-height: 2.7em !important;
        }
        body.light-mode .vf-card-title { color: #0f172a !important; }

        /* Fila de Valoración Dinámica */
        .vf-rating-row {
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
            margin-bottom: 8px !important;
            font-size: 0.8rem !important;
            min-height: 26px !important;
        }

        /* Descripción Nítida de 2 Líneas */
        .desc-card-container {
            height: 38px !important;
            max-height: 38px !important;
            overflow: hidden !important;
            position: relative !important;
            margin-bottom: 4px !important;
            transition: max-height 0.35s ease !important;
        }
        .desc-card-container.expanded {
            height: auto !important;
            max-height: 500px !important;
        }
        .desc-card-container p {
            font-size: 0.82rem !important;
            line-height: 1.45 !important;
            color: #94a3b8 !important;
            margin: 0 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
        }
        .desc-card-container.expanded p {
            display: block !important;
            -webkit-line-clamp: unset !important;
        }
        body.light-mode .desc-card-container p { color: #475569 !important; }

        .btn-ver-mas {
            background: none !important;
            border: none !important;
            color: var(--primary, #c5a059) !important;
            font-size: 0.75rem !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            padding: 0 !important;
            margin-bottom: 10px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            align-self: flex-start !important;
        }

        /* Pie de Tarjeta Anclado al Fondo */
        .vf-card-footer {
            margin-top: auto !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 10px !important;
            padding-top: 10px !important;
            border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        }
        body.light-mode .vf-card-footer {
            border-top-color: #e2e8f0 !important;
        }

        /* Fila de Precios */
        .card-price-row {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            margin: 0 !important;
        }
        .card-price-value {
            font-size: 1.35rem !important;
            font-weight: 900 !important;
            color: #22c55e !important;
            font-family: 'Montserrat', sans-serif !important;
            letter-spacing: -0.3px !important;
        }
        .card-price-original {
            font-size: 0.82rem !important;
            color: #64748b !important;
            text-decoration: line-through !important;
            margin-right: 6px !important;
        }

        /* Botón Pagar Compacto y Poderoso */
        .vf-btn-pagar {
            width: 100% !important;
            padding: 12px 14px !important;
            border-radius: 10px !important;
            font-size: 0.88rem !important;
            font-weight: 900 !important;
            letter-spacing: 0.3px !important;
            margin: 0 !important;
        }

        /* Botón Hotmart Compacto */
        .vf-btn-hotmart {
            padding: 9px 12px !important;
            border-radius: 10px !important;
        }
        .vf-hotmart-main-title {
            font-size: 0.78rem !important;
        }
        .vf-hotmart-sub-title {
            font-size: 0.68rem !important;
        }

        /* Fila Secundaria de Botones */
        .vf-card-secondary-grid {
            display: grid !important;
            grid-template-columns: 1fr 1fr auto !important;
            gap: 6px !important;
            margin-top: 2px !important;
        }
        .vf-btn-sec {
            padding: 7px 10px !important;
            font-size: 0.75rem !important;
            border-radius: 8px !important;
        }

        /* Breakpoints Responsivos */
        @media (max-width: 1360px) {
            .grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 18px !important;
            }
        }
        @media (max-width: 960px) {
            .grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 16px !important;
                padding: 15px 16px 60px !important;
            }
        }
        @media (max-width: 620px) {
            .grid {
                grid-template-columns: 1fr !important;
                gap: 18px !important;
                padding: 12px 12px 50px !important;
            }
            .carousel {
                height: 230px !important;
            }
        }

/* ========================================================
           DISTRIBUCIÓN Y ALINEACIÓN DE LUJO COHERENTE VARFLO
           ======================================================== */
        
        /* 1. Header y Sección Superior */
        #cursos.page-content {
            padding-top: 85px !important;
        }
        #catalogo-header {
            padding: 15px 20px 8px !important;
            text-align: center !important;
        }
        #catalogo-header .titulo-seccion {
            font-size: 2.2rem !important;
            line-height: 1.2 !important;
            margin: 0 auto 6px !important;
            font-weight: 900 !important;
            letter-spacing: -0.5px !important;
        }
        #catalogo-header p {
            font-size: 0.92rem !important;
            max-width: 720px !important;
            margin: 0 auto 12px !important;
            color: #94a3b8 !important;
            line-height: 1.5 !important;
        }

        /* 2. Filtros de Categoría */
        .filtros-container {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 8px !important;
            flex-wrap: wrap !important;
            margin: 10px auto 16px !important;
            max-width: 850px !important;
        }
        .btn-filtro {
            padding: 7px 18px !important;
            border-radius: 25px !important;
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            color: #94a3b8 !important;
            font-size: 0.82rem !important;
            font-weight: 700 !important;
            font-family: 'Montserrat', sans-serif !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            letter-spacing: 0.3px !important;
        }
        .btn-filtro:hover {
            color: #ffffff !important;
            background: rgba(255, 255, 255, 0.12) !important;
            border-color: rgba(234, 179, 8, 0.4) !important;
            transform: translateY(-1px) !important;
        }
        .btn-filtro.active-filter {
            background: linear-gradient(135deg, #eab308, #ca8a04) !important;
            color: #0b0f19 !important;
            border-color: #eab308 !important;
            font-weight: 800 !important;
            box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35) !important;
        }
        body.light-mode .btn-filtro {
            background: #f1f5f9 !important;
            border-color: #cbd5e1 !important;
            color: #475569 !important;
        }
        body.light-mode .btn-filtro:hover {
            background: #e2e8f0 !important;
            color: #0f172a !important;
        }
        body.light-mode .btn-filtro.active-filter {
            background: linear-gradient(135deg, #eab308, #ca8a04) !important;
            color: #0b0f19 !important;
            border-color: #ca8a04 !important;
        }

        /* 3. Cuadrícula de 4 Columnas con Estiramiento Uniforme */
        .grid {
            display: grid !important;
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 20px !important;
            padding: 10px 20px 80px !important;
            max-width: 1640px !important;
            margin: 0 auto !important;
            align-items: stretch !important;
            box-sizing: border-box !important;
            width: 100% !important;
        }

        /* 4. Tarjeta Coherente con Altura 100% */
        .card {
            position: relative !important;
            display: flex !important;
            flex-direction: column !important;
            border-radius: 18px !important;
            padding: 16px !important;
            overflow: hidden !important;
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
            will-change: transform, box-shadow;
            transform-style: preserve-3d;
            box-sizing: border-box !important;
            height: 100% !important;
        }

        /* Carrusel Compacto */
        .carousel {
            position: relative !important;
            width: 100% !important;
            height: 215px !important;
            background: #06080c !important;
            border-radius: 12px !important;
            margin-bottom: 12px !important;
            overflow: hidden !important;
            cursor: pointer !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            flex-shrink: 0 !important;
        }

        /* Cuerpo Superior */
        .vf-card-body {
            display: flex !important;
            flex-direction: column !important;
            flex: 1 1 auto !important;
        }

        /* Título Uniforme (Exactamente 2 Líneas) */
        .vf-card-title {
            font-family: 'Montserrat', sans-serif !important;
            font-weight: 800 !important;
            font-size: 0.98rem !important;
            line-height: 1.35 !important;
            margin: 0 0 6px 0 !important;
            color: #ffffff !important;
            transition: color 0.25s !important;
            cursor: pointer !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            height: 2.7em !important;
            min-height: 2.7em !important;
        }
        body.light-mode .vf-card-title { color: #0f172a !important; }

        /* Fila de Calificación y Badge */
        .vf-rating-row {
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
            margin-bottom: 8px !important;
            font-size: 0.8rem !important;
            min-height: 26px !important;
        }

        /* Descripción Nítida de 2 Líneas */
        .desc-card-container {
            height: 38px !important;
            max-height: 38px !important;
            overflow: hidden !important;
            position: relative !important;
            margin-bottom: 4px !important;
            transition: max-height 0.35s ease !important;
        }
        .desc-card-container.expanded {
            height: auto !important;
            max-height: 500px !important;
        }
        .desc-card-container p {
            font-size: 0.82rem !important;
            line-height: 1.45 !important;
            color: #94a3b8 !important;
            margin: 0 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
        }
        .desc-card-container.expanded p {
            display: block !important;
            -webkit-line-clamp: unset !important;
        }
        body.light-mode .desc-card-container p { color: #475569 !important; }

        .btn-ver-mas {
            background: none !important;
            border: none !important;
            color: var(--primary, #c5a059) !important;
            font-size: 0.75rem !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            padding: 0 !important;
            margin-bottom: 12px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            align-self: flex-start !important;
        }

        /* 5. Pie de Tarjeta Anclado al Fondo: OCUPA 100% DEL ANCHO */
        .vf-card-footer {
            margin-top: auto !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 10px !important;
            padding-top: 12px !important;
            border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
        body.light-mode .vf-card-footer {
            border-top-color: #e2e8f0 !important;
        }

        /* Fila de Precios a Todo lo Ancho */
        .card-price-row {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            width: 100% !important;
            margin: 0 !important;
            box-sizing: border-box !important;
        }
        .card-price-wrap {
            display: flex !important;
            align-items: baseline !important;
            gap: 6px !important;
            flex-wrap: nowrap !important;
        }
        .card-price-value {
            font-size: 1.4rem !important;
            font-weight: 900 !important;
            color: #22c55e !important;
            font-family: 'Montserrat', sans-serif !important;
            line-height: 1 !important;
            white-space: nowrap !important;
        }
        .card-price-original {
            font-size: 0.85rem !important;
            color: #64748b !important;
            text-decoration: line-through !important;
            font-weight: 600 !important;
            white-space: nowrap !important;
        }
        .vf-disp-pill {
            font-size: 0.72rem !important;
            font-weight: 700 !important;
            color: #22c55e !important;
            background: rgba(34, 197, 94, 0.12) !important;
            border: 1px solid rgba(34, 197, 94, 0.3) !important;
            padding: 3px 8px !important;
            border-radius: 6px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            white-space: nowrap !important;
        }

        /* Pila de Botones: CADA UNO A TODO LO ANCHO (100%) */
        .vf-card-buttons-stack {
            display: flex !important;
            flex-direction: column !important;
            gap: 8px !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }

        .vf-btn-pagar {
            width: 100% !important;
            box-sizing: border-box !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            padding: 11px 14px !important;
            border-radius: 10px !important;
            font-size: 0.88rem !important;
            font-weight: 900 !important;
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
            color: #ffffff !important;
            border: none !important;
            cursor: pointer !important;
            box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35) !important;
            transition: all 0.22s ease !important;
            margin: 0 !important;
        }
        .vf-btn-pagar:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5) !important;
            background: linear-gradient(135deg, #2ae06a 0%, #1db854 100%) !important;
        }

        .vf-btn-hotmart {
            width: 100% !important;
            box-sizing: border-box !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            padding: 9px 12px !important;
            border-radius: 10px !important;
            background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%) !important;
            color: #ffffff !important;
            text-decoration: none !important;
            border: none !important;
            box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35) !important;
            transition: all 0.22s ease !important;
            margin: 0 !important;
        }
        .vf-btn-hotmart:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5) !important;
        }
        .vf-hotmart-content {
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
        }
        .vf-hotmart-flame {
            font-size: 1.15rem !important;
            color: #ffeb3b !important;
            filter: drop-shadow(0 0 5px rgba(255, 235, 59, 0.6)) !important;
        }
        .vf-hotmart-text-col {
            display: flex !important;
            flex-direction: column !important;
            text-align: left !important;
        }
        .vf-hotmart-main-title {
            font-size: 0.78rem !important;
            font-weight: 900 !important;
            letter-spacing: 0.4px !important;
            line-height: 1.15 !important;
            color: #ffffff !important;
        }
        .vf-hotmart-sub-title {
            font-size: 0.68rem !important;
            opacity: 0.9 !important;
            color: #ffccbc !important;
        }

        /* Fila Secundaria (Ficha, WhatsApp, Compartir) */
        .vf-card-secondary-grid {
            display: grid !important;
            grid-template-columns: 1fr 1fr auto !important;
            gap: 6px !important;
            width: 100% !important;
            box-sizing: border-box !important;
            margin-top: 2px !important;
        }
        .vf-btn-sec {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 5px !important;
            padding: 7px 10px !important;
            font-size: 0.75rem !important;
            font-weight: 700 !important;
            border-radius: 8px !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            background: rgba(255, 255, 255, 0.05) !important;
            color: #e2e8f0 !important;
            text-decoration: none !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            white-space: nowrap !important;
        }
        .vf-btn-sec:hover {
            background: rgba(255, 255, 255, 0.12) !important;
            color: #fff !important;
            transform: translateY(-1px) !important;
        }
        body.light-mode .vf-btn-sec {
            background: #f1f5f9 !important;
            border-color: #cbd5e1 !important;
            color: #334155 !important;
        }
        body.light-mode .vf-btn-sec:hover {
            background: #e2e8f0 !important;
            color: #0f172a !important;
        }
        .vf-btn-wsp {
            background: rgba(37, 211, 102, 0.12) !important;
            border-color: rgba(37, 211, 102, 0.35) !important;
            color: #25d366 !important;
        }
        .vf-btn-wsp:hover {
            background: #25d366 !important;
            color: #000 !important;
            border-color: #25d366 !important;
        }
        .vf-btn-share {
            width: 36px !important;
            padding: 0 !important;
        }

        /* Fila de Botones Admin (Editar / Borrar) */
        .vf-card-admin-row {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 6px !important;
            width: 100% !important;
            margin-top: 4px !important;
            padding-top: 6px !important;
            border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
        }
        .vf-admin-btn {
            padding: 6px 10px !important;
            border-radius: 8px !important;
            font-size: 0.74rem !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            border: none !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 5px !important;
        }
        .vf-admin-edit {
            background: rgba(59, 130, 246, 0.15) !important;
            border: 1px solid rgba(59, 130, 246, 0.35) !important;
            color: #60a5fa !important;
        }
        .vf-admin-edit:hover {
            background: #3b82f6 !important;
            color: #fff !important;
        }
        .vf-admin-del {
            background: rgba(239, 68, 68, 0.15) !important;
            border: 1px solid rgba(239, 68, 68, 0.35) !important;
            color: #ef4444 !important;
        }
        .vf-admin-del:hover {
            background: #ef4444 !important;
            color: #fff !important;
        }

        /* Breakpoints Responsivos */
        @media (max-width: 1360px) {
            .grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 18px !important;
            }
        }
        @media (max-width: 960px) {
            .grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 16px !important;
                padding: 10px 16px 60px !important;
            }
        }
        @media (max-width: 620px) {
            .grid {
                grid-template-columns: 1fr !important;
                gap: 18px !important;
                padding: 10px 12px 50px !important;
            }
            .carousel {
                height: 230px !important;
            }
        }

/* ========================================================
   SISTEMA MAESTRO DE DASHBOARD VIP EJECUTIVO (VARFLO CORE)
   ======================================================== */
.vf-dash-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 30px 24px 100px;
    box-sizing: border-box;
}

/* 1. Header Ejecutivo del Dashboard */
.vf-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(20, 24, 34, 0.95), rgba(13, 16, 23, 0.98));
    border: 1px solid rgba(234, 179, 8, 0.28);
    border-radius: 18px;
    padding: 22px 28px;
    margin-bottom: 24px;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    flex-wrap: wrap;
}

body.light-mode .vf-dash-header {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid rgba(202, 138, 4, 0.35);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.08);
}

.vf-dash-profile {
    display: flex;
    align-items: center;
    gap: 18px;
}

.vf-dash-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eab308;
    box-shadow: 0 0 18px rgba(234, 179, 8, 0.35);
    background: #11141c;
}

.vf-dash-profile-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vf-dash-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vf-dash-name-row strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.3px;
}

body.light-mode .vf-dash-name-row strong {
    color: #0f172a;
}

.vf-dash-badge-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #0b0f19;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 11px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.35);
}

.vf-dash-email {
    font-size: 0.88rem;
    color: #94a3b8;
    font-family: monospace;
}

body.light-mode .vf-dash-email {
    color: #64748b;
}

.vf-dash-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vf-dash-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.vf-dash-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}
.vf-dash-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}
body.light-mode .vf-dash-btn-ghost {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}
body.light-mode .vf-dash-btn-ghost:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.vf-dash-btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.vf-dash-btn-gold:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.vf-dash-btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.vf-dash-btn-success:hover {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.vf-dash-btn-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}
.vf-dash-btn-danger:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.vf-dash-btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
    border-radius: 8px;
}

/* 2. KPI Metrics Ribbon */
.vf-dash-kpis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.vf-kpi-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(145deg, rgba(20, 24, 34, 0.9), rgba(15, 18, 26, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.vf-kpi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: transparent;
    transition: background 0.3s;
}

.vf-kpi-card:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 179, 8, 0.35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.vf-kpi-card:hover::before {
    background: linear-gradient(90deg, #eab308, #f59e0b);
}

body.light-mode .vf-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
body.light-mode .vf-kpi-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.vf-kpi-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid;
}

.vf-kpi-data {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vf-kpi-lbl {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    font-weight: 700;
}
body.light-mode .vf-kpi-lbl { color: #64748b; }

.vf-kpi-val {
    font-size: 1.7rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.15;
    margin: 2px 0;
}
body.light-mode .vf-kpi-val { color: #0f172a; }

.vf-kpi-sub {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.light-mode .vf-kpi-sub { color: #94a3b8; }

/* 3. Navegación de Pestañas (Tabs) */
.vf-dash-nav-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}
body.light-mode .vf-dash-nav-tabs {
    border-bottom: 1px solid #e2e8f0;
}

.vf-dash-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.vf-dash-tab-btn:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
}
body.light-mode .vf-dash-tab-btn { color: #64748b; }
body.light-mode .vf-dash-tab-btn:hover { color: #0f172a; background: #f1f5f9; }

.vf-dash-tab-btn.active {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.35);
    color: #facc15;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.15);
}
body.light-mode .vf-dash-tab-btn.active {
    background: #fef08a;
    border-color: #ca8a04;
    color: #854d0e;
}

/* 4. Paneles de Pestañas */
.vf-dash-tab-pane {
    display: none;
    animation: vfFadeIn 0.25s ease;
}
.vf-dash-tab-pane.active {
    display: block;
}

.vf-dash-panel {
    background: linear-gradient(160deg, rgba(20, 24, 34, 0.95), rgba(15, 18, 26, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.4);
    margin-bottom: 24px;
}
body.light-mode .vf-dash-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.vf-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 14px;
}

.vf-panel-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
body.light-mode .vf-panel-title { color: #0f172a; }

.vf-panel-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
}
body.light-mode .vf-panel-desc { color: #64748b; }

/* 5. Tablas Ejecutivas */
.vf-dash-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 13, 20, 0.5);
    margin-top: 16px;
}
body.light-mode .vf-dash-table-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.vf-dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
    min-width: 650px;
}

.vf-dash-table thead th {
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    padding: 14px 16px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.light-mode .vf-dash-table thead th {
    background: #f1f5f9;
    color: #475569;
    border-bottom: 1px solid #cbd5e1;
}

.vf-dash-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    color: #e2e8f0;
}
body.light-mode .vf-dash-table tbody td {
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
}

.vf-dash-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}
body.light-mode .vf-dash-table tbody tr:hover td {
    background: #f8fafc;
}

/* 6. Formularios Ejecutivos */
.vf-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.vf-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vf-form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
body.light-mode .vf-form-label { color: #334155; }

.vf-form-input, .vf-form-select, .vf-form-textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(13, 17, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.vf-form-input:focus, .vf-form-select:focus, .vf-form-textarea:focus {
    outline: none;
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.18);
}
body.light-mode .vf-form-input, 
body.light-mode .vf-form-select, 
body.light-mode .vf-form-textarea {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}
body.light-mode .vf-form-input:focus, 
body.light-mode .vf-form-select:focus, 
body.light-mode .vf-form-textarea:focus {
    border-color: #ca8a04;
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15);
}

.vf-form-help {
    font-size: 0.74rem;
    color: #64748b;
}

/* Vista previa de imágenes / logos */
.vf-upload-preview-box {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 8px;
    position: relative;
}
.vf-upload-preview-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Badges de Estado */
.vf-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.vf-status-venta {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}
.vf-status-construccion {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}
.vf-status-entregado {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

/* Responsive Dashboard Breakpoints */
@media (max-width: 900px) {
    .vf-dash-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .vf-dash-header-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .vf-dash-kpis-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .vf-dash-kpis-grid {
        grid-template-columns: 1fr;
    }
    .vf-dash-panel {
        padding: 18px 14px;
    }
}

/* ========================================================
   VARFLO AULA VIRTUAL VIP - ULTRA HD LUXURY LMS SYSTEM
   ======================================================== */

/* 1. Barra de Usuario VIP */
.vf-aula-userbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 20, 29, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 16px;
    padding: 14px 22px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
    gap: 14px;
}
.vf-aula-user-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.vf-aula-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 14px rgba(197, 160, 89, 0.4);
}
.vf-aula-user-meta h4 {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
}
.vf-aula-user-meta span {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* 2. Pestañas de Navegación del Aula Virtual */
.vf-aula-nav-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}
.vf-aula-tab-btn {
    background: rgba(22, 24, 34, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vf-aula-tab-btn:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}
.vf-aula-tab-btn.active {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.25) 0%, rgba(22, 24, 34, 0.95) 100%);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.25);
}
.vf-badge-pulse-live {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    animation: vf-pulse-shadow 1.5s infinite;
}
@keyframes vf-pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* 3. Barra de Progreso del Alumno */
.vf-progress-panel {
    background: linear-gradient(135deg, rgba(18, 20, 28, 0.95), rgba(10, 11, 16, 0.98));
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 14px;
    padding: 16px 22px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.vf-progress-info {
    flex: 1;
    min-width: 250px;
}
.vf-progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
}
.vf-progress-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.vf-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #c5a059, #fae29f, #22c55e);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.6);
}

/* 4. Sala de Transmisión en Vivo (Live Studio) */
.vf-live-studio {
    background: linear-gradient(145deg, rgba(20, 15, 25, 0.95), rgba(10, 11, 16, 0.98));
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.15);
    position: relative;
    overflow: hidden;
}
.vf-live-studio.is-scheduled {
    border-color: rgba(197, 160, 89, 0.35);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(197, 160, 89, 0.15);
}
.vf-live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}
.vf-live-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.vf-live-pill-active {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}
.vf-live-pill-scheduled {
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
}
.vf-live-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 420px;
    margin: 20px auto;
}
.vf-countdown-unit {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
}
.vf-countdown-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    display: block;
    line-height: 1;
}
.vf-countdown-lbl {
    font-size: 0.65rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* 5. Reproductor Theater HD & Playlist */
.vf-classroom-theater {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 22px;
    margin-bottom: 35px;
}
@media (max-width: 1024px) {
    .vf-classroom-theater {
        grid-template-columns: 1fr;
    }
}
.vf-theater-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000000;
    border-radius: 14px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(197, 160, 89, 0.1);
}
.vf-theater-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.vf-playlist-box {
    background: rgba(18, 20, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 520px;
}
.vf-playlist-header {
    padding: 14px 18px;
    background: rgba(10, 11, 16, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vf-playlist-list {
    overflow-y: auto;
    flex: 1;
    padding: 8px;
    scrollbar-width: thin;
}
.vf-playlist-item {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    color: #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}
.vf-playlist-item:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateX(4px);
}
.vf-playlist-item.active {
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.25), rgba(22, 24, 34, 0.9));
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.vf-playlist-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}
.vf-playlist-check.completed {
    background: #22c55e;
    border-color: #22c55e;
    color: #000000;
}

/* 6. Calendario y Cronograma Académico */
.vf-cal-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
    margin-bottom: 35px;
}
@media (max-width: 900px) {
    .vf-cal-layout {
        grid-template-columns: 1fr;
    }
}
.vf-cal-card {
    background: rgba(18, 20, 28, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.vf-cal-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.vf-cal-month-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}
.vf-cal-month-title span {
    color: var(--primary);
}
.vf-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.vf-cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.vf-cal-day-cell {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}
.vf-cal-day-cell:hover {
    background: rgba(197, 160, 89, 0.15);
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
}
.vf-cal-day-cell.today {
    border: 2px solid var(--primary);
    background: rgba(197, 160, 89, 0.2);
    color: #ffffff;
    font-weight: 800;
}
.vf-cal-day-cell.other-month {
    opacity: 0.3;
}
.vf-cal-day-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
}
.vf-dot-live { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.vf-dot-clase { background: #c5a059; box-shadow: 0 0 6px #c5a059; }
.vf-dot-entrega { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }

/* 7. Cronograma Timeline / Syllabus */
.vf-timeline-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
}
.vf-timeline-item::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: -18px;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
}
.vf-timeline-item:last-child::before {
    display: none;
}
.vf-timeline-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #111319;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
    z-index: 1;
}
.vf-timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 16px;
    flex: 1;
}

/* 8. Modales Rápidos para Docente */
.vf-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}
.vf-modal-dialog {
    background: #0f1118;
    border: 1px solid rgba(197, 160, 89, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    max-width: 620px;
    width: 100%;
    padding: 24px 28px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}


/* =========================================================
   SISTEMA DE DASHBOARD DE OBRAS EN VIVO (VARFLO CIVIL WORK)
   ========================================================= */
.vf-obra-hero {
    background: linear-gradient(135deg, rgba(16, 20, 30, 0.95), rgba(10, 12, 18, 0.98));
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 18px;
    padding: 26px 30px;
    margin-bottom: 25px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(197, 160, 89, 0.12);
    position: relative;
    overflow: hidden;
}
.vf-obra-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #c5a059, #eab308, #ca8a04);
}
.vf-obra-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.vf-obra-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    margin: 4px 0 8px 0;
    line-height: 1.3;
}
.vf-obra-sub {
    font-size: 0.88rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Indicador de Desempeño SPI y Avance */
.vf-obra-progress-card {
    background: rgba(14, 18, 27, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 20px 0;
}
.vf-curva-s-wrap {
    background: rgba(10, 13, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
}
.vf-curva-s-legend {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.vf-curva-leg-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.vf-curva-dot-prog {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #eab308;
    box-shadow: 0 0 8px #eab308;
}
.vf-curva-dot-real {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

/* Meta Data Grid de la Obra */
.vf-obra-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-top: 18px;
}
.vf-obra-meta-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
}
.vf-obra-meta-lbl {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 3px;
}
.vf-obra-meta-val {
    font-size: 0.92rem;
    color: #fff;
    font-weight: 700;
}

/* Ensayos de Calidad y Probetas */
.vf-probetas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.vf-probeta-card {
    background: rgba(15, 19, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
    transition: transform 0.25s, border-color 0.25s;
    position: relative;
}
.vf-probeta-card:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.vf-probeta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.vf-probeta-fc-bar {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    margin: 8px 0;
    position: relative;
}
.vf-probeta-fc-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #eab308, #22c55e);
}

/* Bitácora de Dron y Galería HD */
.vf-dron-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.vf-dron-card {
    background: #0d1017;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}
.vf-dron-card:hover {
    transform: translateY(-5px);
    border-color: #c5a059;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(197, 160, 89, 0.2);
}
.vf-dron-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.vf-dron-card:hover img {
    transform: scale(1.05);
}
.vf-dron-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #c5a059;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.vf-dron-info {
    padding: 16px;
}

/* Lightbox Visor Fullscreen */
.vf-lightbox-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.vf-lightbox-img {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.5);
    box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 40px rgba(197, 160, 89, 0.3);
    object-fit: contain;
}
.vf-lightbox-caption {
    margin-top: 16px;
    text-align: center;
    max-width: 800px;
}

/* Selector y Portafolio de Obras */
.vf-obras-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 18px;
}
.vf-obra-select-card {
    background: #0f121b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.vf-obra-select-card:hover {
    border-color: #c5a059;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(197, 160, 89, 0.15);
}
.vf-obra-select-card.active-obra {
    border: 2px solid #c5a059;
    background: linear-gradient(180deg, rgba(197, 160, 89, 0.08), #0f121b);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.25);
}


/* =========================================================
   SUITE DE HERRAMIENTAS Y BOTONES DINÁMICOS CON MOVIMIENTO
   ========================================================= */
@keyframes vfGlowPulse {
    0% { box-shadow: 0 0 10px rgba(197, 160, 89, 0.2); }
    50% { box-shadow: 0 0 25px rgba(197, 160, 89, 0.6), 0 0 40px rgba(234, 179, 8, 0.3); }
    100% { box-shadow: 0 0 10px rgba(197, 160, 89, 0.2); }
}

@keyframes vfShimmerSweep {
    0% { transform: translateX(-150%); }
    100% { transform: translateX(150%); }
}

@keyframes vfFloatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.vf-tool-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.vf-btn-tool {
    position: relative;
    background: linear-gradient(145deg, rgba(20, 24, 34, 0.95), rgba(12, 15, 22, 0.98));
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #cbd5e1;
    padding: 13px 22px;
    border-radius: 40px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.vf-btn-tool::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-150%);
    transition: none;
}

.vf-btn-tool:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: #facc15;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.35);
}

.vf-btn-tool:hover::after {
    animation: vfShimmerSweep 0.8s ease-in-out;
}

.vf-btn-tool.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0b0f19;
    border-color: #facc15;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
    transform: translateY(-2px);
    animation: vfGlowPulse 3s infinite;
}

.vf-btn-tool.active i {
    animation: vfFloatBounce 2s infinite ease-in-out;
}

.vf-dynamic-action-btn {
    background: linear-gradient(135deg, #c5a059, #b38e44);
    color: #000;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    border-radius: 12px;
    padding: 14px 24px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.vf-dynamic-action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.55);
    background: linear-gradient(135deg, #facc15, #eab308);
}

.vf-dynamic-action-btn:active {
    transform: translateY(1px) scale(0.98);
}

.vf-btn-pulse-glow {
    animation: vfGlowPulse 2.5s infinite;
}

.vf-section-canvas-wrap {
    background: rgba(10, 13, 20, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}


/* =========================================================
   SISTEMA DE BLOG DINÁMICO CON GESTOS Y DASHBOARD EDITORIAL
   ========================================================= */
.vf-reading-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, #c5a059, #facc15, #22c55e);
    z-index: 99999;
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
}

@keyframes vfHeartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.25); }
    28% { transform: scale(1); }
    42% { transform: scale(1.25); }
    70% { transform: scale(1); }
}

.vf-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vf-reaction-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #f87171;
    transform: translateY(-2px) scale(1.05);
}

.vf-reaction-btn.liked {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #f87171;
}

.vf-reaction-btn.liked i {
    animation: vfHeartbeat 1.2s ease-in-out;
}

/* =========================================================
   VENTANA /CONTACTO: ULTRA MODERNA, DINÁMICA & BRILLANTE
   CON OBJETOS EN MOVIMIENTO Y FÍSICAS 3D INTERACTIVAS
   ========================================================= */

/* Animaciones Core de Movimiento y Brillo */
@keyframes vfFloatDrift {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(2deg);
    }
}

@keyframes vfFloatReverse {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(14px) rotate(-2deg);
    }
}

@keyframes vfRotateCube3D {
    0% {
        transform: rotateX(15deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(15deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes vfGyroRingX {
    0% { transform: rotateX(0deg) rotateY(45deg); }
    100% { transform: rotateX(360deg) rotateY(45deg); }
}

@keyframes vfGyroRingY {
    0% { transform: rotateY(0deg) rotateZ(45deg); }
    100% { transform: rotateY(360deg) rotateZ(45deg); }
}

@keyframes vfGyroRingZ {
    0% { transform: rotateZ(0deg) rotateX(45deg); }
    100% { transform: rotateZ(360deg) rotateX(45deg); }
}

@keyframes vfShineRaySweep {
    0% {
        transform: translateX(-150%) skewX(-25deg);
    }
    50%, 100% {
        transform: translateX(250%) skewX(-25deg);
    }
}

@keyframes vfGoldBorderGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes vfRadarPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes vfGoldenPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(250, 204, 21, 0.25), 0 0 40px rgba(197, 160, 89, 0.15);
    }
    50% {
        box-shadow: 0 0 35px rgba(250, 204, 21, 0.55), 0 0 70px rgba(197, 160, 89, 0.35);
    }
}

/* Escenario y Objetos 3D en Movimiento */
.vf-contacto-hero-stage {
    position: relative;
    padding: 30px 24px 45px;
    background: radial-gradient(circle at 50% 20%, rgba(197, 160, 89, 0.15), rgba(10, 11, 16, 0.95) 75%);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 28px;
    margin-bottom: 35px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Borde metálico brillante con gradiente animado */
.vf-shiny-gold-frame {
    position: relative;
    background: #0f121b;
    border-radius: 24px;
    z-index: 1;
}

.vf-shiny-gold-frame::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(115deg, #c5a059, #ffe28a, #facc15, #855b18, #ffe28a, #c5a059);
    background-size: 300% 300%;
    animation: vfGoldBorderGlow 6s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* 3D Prism Cube Flotante */
.vf-cube-3d-stage {
    position: absolute;
    right: 40px;
    top: 35px;
    width: 140px;
    height: 140px;
    perspective: 800px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.vf-cube-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: vfRotateCube3D 18s linear infinite;
}

.vf-cube-face {
    position: absolute;
    width: 130px;
    height: 130px;
    border: 2px solid rgba(250, 204, 21, 0.5);
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, rgba(10, 11, 16, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #facc15;
    box-shadow: inset 0 0 25px rgba(234, 179, 8, 0.25), 0 0 15px rgba(234, 179, 8, 0.2);
    backdrop-filter: blur(4px);
}

.vf-cube-face::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px dashed rgba(255, 235, 160, 0.4);
    border-radius: 8px;
}

.vf-cube-face.front  { transform: rotateY(0deg) translateZ(65px); }
.vf-cube-face.back   { transform: rotateY(180deg) translateZ(65px); }
.vf-cube-face.right  { transform: rotateY(90deg) translateZ(65px); }
.vf-cube-face.left   { transform: rotateY(-90deg) translateZ(65px); }
.vf-cube-face.top    { transform: rotateX(90deg) translateZ(65px); }
.vf-cube-face.bottom { transform: rotateX(-90deg) translateZ(65px); }

/* Anillos Giroscópicos Geodésicos */
.vf-gyro-stage {
    position: absolute;
    left: 20px;
    bottom: -30px;
    width: 150px;
    height: 150px;
    perspective: 700px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.vf-gyro-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(197, 160, 89, 0.5);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.vf-gyro-ring.ring-1 {
    animation: vfGyroRingX 12s linear infinite;
    border-color: rgba(250, 204, 21, 0.7);
}

.vf-gyro-ring.ring-2 {
    animation: vfGyroRingY 16s linear infinite;
    border-color: rgba(197, 160, 89, 0.5);
    inset: 15px;
}

.vf-gyro-ring.ring-3 {
    animation: vfGyroRingZ 20s linear infinite;
    border-color: rgba(255, 240, 180, 0.6);
    inset: 30px;
}

/* Badges Flotantes de Ingeniería */
.vf-floating-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(18, 22, 34, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f1f5f9;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5), 0 0 15px rgba(197, 160, 89, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.vf-floating-chip.chip-float-1 {
    animation: vfFloatDrift 6s ease-in-out infinite;
}

.vf-floating-chip.chip-float-2 {
    animation: vfFloatReverse 7s ease-in-out infinite;
}

.vf-floating-chip.chip-gold {
    border-color: #facc15;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(18, 22, 34, 0.95));
    color: #fef08a;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
}

/* Tarjetas con Efecto Tilt 3D y Reflejo Especular */
.vf-tilt-card {
    position: relative;
    background: rgba(16, 20, 30, 0.94);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 20px;
    padding: 24px;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.vf-tilt-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(250, 204, 21, 0.65);
    box-shadow: 0 22px 50px rgba(0,0,0,0.8), 0 0 35px rgba(234, 179, 8, 0.25);
}

/* Reflejo de luz móvil en hover */
.vf-tilt-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 320px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 235, 160, 0.16) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.vf-tilt-card:hover::before {
    opacity: 1;
}

/* Efecto destello de luz diagonal */
.vf-shimmer-sweep {
    position: relative;
    overflow: hidden;
}

.vf-shimmer-sweep::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 40%, rgba(255, 245, 200, 0.35) 50%, transparent 60%);
    animation: vfShineRaySweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

/* Botones con brillo intenso */
.btn-vf-shiny {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.94rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    border: none;
}

.btn-vf-shiny-gold {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 50%, #92400e 100%);
    color: #0b0f19;
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.35);
}

.btn-vf-shiny-gold:hover {
    background: linear-gradient(135deg, #facc15 0%, #eab308 50%, #b45309 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(234, 179, 8, 0.55), 0 0 25px rgba(250, 204, 21, 0.4);
    color: #000;
}

.btn-vf-shiny-wsp {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

.btn-vf-shiny-wsp:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.55), 0 0 25px rgba(74, 222, 128, 0.4);
}

.btn-vf-shiny-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #e2e8f0;
}

.btn-vf-shiny-secondary:hover {
    background: rgba(197, 160, 89, 0.18);
    border-color: #facc15;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Simulador de WhatsApp en Vivo */
.vf-whatsapp-simulator {
    background: #0b141a;
    border-radius: 18px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 16px;
    margin-top: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 10px 25px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.vf-wsp-sim-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.vf-wsp-sim-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #22c55e;
}

.vf-wsp-bubble {
    background: #005c4b;
    border-radius: 12px 12px 2px 12px;
    padding: 14px 16px;
    color: #e9edef;
    font-size: 0.88rem;
    line-height: 1.55;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    position: relative;
    max-width: 95%;
    margin-left: auto;
}

.vf-wsp-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    font-size: 0.72rem;
    color: #8696a0;
    margin-top: 6px;
}

.vf-wsp-meta i {
    color: #53bdeb;
}

/* Radar Beacon de Estado */
.vf-radar-beacon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #22c55e;
    display: inline-block;
    animation: vfRadarPulse 2s infinite;
}

.vf-radar-beacon.beacon-closed {
    background-color: #eab308;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.7);
}

/* Chips de Servicios Interactivos */
.vf-service-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 9px 16px;
    border-radius: 25px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vf-service-chip:hover {
    background: rgba(197, 160, 89, 0.18);
    border-color: #eab308;
    color: #fef08a;
    transform: translateY(-2px);
}

.vf-service-chip.active {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(197, 160, 89, 0.35));
    border-color: #facc15;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.3);
}

/* Control deslizante de m2 con brillo */
.vf-range-slider {
    width: 100%;
    accent-color: #facc15;
    cursor: pointer;
}

@media (max-width: 992px) {
    .vf-cube-3d-stage {
        display: none;
    }
    .vf-gyro-stage {
        display: none;
    }
}

/* =========================================================
   OBJETOS EN MOVIMIENTO Y TEMÁTICA DE INGENIERÍA CIVIL (INICIO)
   VARFLO CONSTRUCTORA Y CONSULTORA | ING. REY VARGAS CIP: 205110
   ========================================================= */

@keyframes vfLaserSweep {
    0% {
        top: 15%;
        opacity: 0.3;
    }
    50% {
        top: 85%;
        opacity: 0.85;
    }
    100% {
        top: 15%;
        opacity: 0.3;
    }
}

@keyframes vfPropellerSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes vfSonarWave {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

@keyframes vfRotateBuilding3D {
    0% {
        transform: rotateX(22deg) rotateY(0deg);
    }
    50% {
        transform: rotateX(15deg) rotateY(180deg);
    }
    100% {
        transform: rotateX(22deg) rotateY(360deg);
    }
}

@keyframes vfBlinkBeacon {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 6px #22c55e); }
    50% { opacity: 0.2; filter: none; }
}

/* Rayo Láser de Nivelación Topográfica */
.vf-laser-level-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #22c55e 15%, #4ade80 50%, #22c55e 85%, transparent 100%);
    box-shadow: 0 0 14px #22c55e, 0 0 25px rgba(34, 197, 94, 0.7);
    pointer-events: none;
    z-index: 3;
    animation: vfLaserSweep 8s ease-in-out infinite;
}

.vf-laser-target-marker {
    position: absolute;
    right: 60px;
    top: -14px;
    background: rgba(10, 15, 25, 0.88);
    border: 1px solid #4ade80;
    color: #4ade80;
    font-size: 0.68rem;
    font-family: monospace;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    letter-spacing: 0.5px;
}

/* Dron Topográfico con Telemetría HUD Flotante */
.vf-drone-hud-card {
    position: absolute;
    left: 35px;
    top: 130px;
    background: rgba(12, 16, 26, 0.88);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7), 0 0 20px rgba(197, 160, 89, 0.2);
    backdrop-filter: blur(10px);
    z-index: 4;
    animation: vfFloatDrift 7s ease-in-out infinite;
}

.vf-drone-visual-box {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid #facc15;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #facc15;
    font-size: 1.4rem;
}

.vf-drone-propeller {
    position: absolute;
    width: 14px;
    height: 3px;
    background: #facc15;
    border-radius: 2px;
    animation: vfPropellerSpin 0.18s linear infinite;
}
.vf-drone-propeller.p-top-left { top: 2px; left: 2px; }
.vf-drone-propeller.p-top-right { top: 2px; right: 2px; }
.vf-drone-propeller.p-bot-left { bottom: 2px; left: 2px; }
.vf-drone-propeller.p-bot-right { bottom: 2px; right: 2px; }

.vf-drone-hud-info {
    display: flex;
    flex-direction: column;
}

.vf-drone-hud-title {
    font-size: 0.76rem;
    font-weight: 800;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vf-drone-hud-telemetry {
    font-family: monospace;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* Edificio Estructural 3D con Reticulado Sísmico en el Hero */
.vf-building-3d-stage {
    position: absolute;
    right: 45px;
    top: 110px;
    width: 130px;
    height: 180px;
    perspective: 700px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.85;
}

.vf-building-3d-body {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: vfRotateBuilding3D 24s linear infinite;
}

.vf-building-floor {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 2px solid rgba(250, 204, 21, 0.6);
    background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(10, 15, 25, 0.6) 80%);
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.25);
}

.vf-building-floor.f-1 { transform: rotateX(90deg) translateZ(-60px); }
.vf-building-floor.f-2 { transform: rotateX(90deg) translateZ(-20px); }
.vf-building-floor.f-3 { transform: rotateX(90deg) translateZ(20px); }
.vf-building-floor.f-4 { transform: rotateX(90deg) translateZ(60px); }

.vf-building-column {
    position: absolute;
    width: 3px;
    height: 120px;
    background: linear-gradient(180deg, #facc15, #eab308, #ca8a04);
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}
.vf-building-column.col-1 { left: 10px; top: 10px; transform: rotateY(0deg); }
.vf-building-column.col-2 { right: 10px; top: 10px; transform: rotateY(0deg); }
.vf-building-column.col-3 { left: 10px; bottom: 10px; transform: rotateY(0deg); }
.vf-building-column.col-4 { right: 10px; bottom: 10px; transform: rotateY(0deg); }

/* Grilla del Ecosistema VARFLO */
.vf-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 26px;
    max-width: 1260px;
    margin: 40px auto 70px;
    padding: 0 20px;
}

.vf-portal-card {
    position: relative;
    background: rgba(14, 18, 28, 0.94);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    padding: 26px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.vf-portal-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #facc15;
    box-shadow: 0 20px 45px rgba(0,0,0,0.8), 0 0 35px rgba(250, 204, 21, 0.3);
}

.vf-portal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.vf-portal-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.22), rgba(15, 20, 32, 0.95));
    border: 1px solid rgba(197, 160, 89, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #facc15;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.vf-portal-card:hover .vf-portal-icon-box {
    transform: scale(1.15) rotate(5deg);
    border-color: #facc15;
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.5);
}

.vf-portal-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}

.vf-portal-badge.badge-live {
    background: rgba(34, 197, 94, 0.18);
    border-color: #22c55e;
    color: #4ade80;
}

.vf-portal-badge.badge-gold {
    background: rgba(250, 204, 21, 0.18);
    border-color: #facc15;
    color: #fef08a;
}

.vf-portal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.vf-portal-card:hover .vf-portal-title {
    color: #facc15;
}

.vf-portal-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.vf-portal-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 800;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.25s ease;
}

.vf-portal-card:hover .vf-portal-footer-link {
    gap: 12px;
    color: #ffffff;
}

/* Simulador Sísmico E.030 Interactivo */
.vf-seismic-simulator-section {
    max-width: 1100px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

@media (max-width: 992px) {
    .vf-drone-hud-card {
        display: none;
    }
    .vf-building-3d-stage {
        display: none;
    }
}

/* ========================================================
   ESTILOS PREMIUM PARA SEGUIMIENTO DE OBRAS Y DOSSIER TÉCNICO
   ======================================================== */
.vf-admin-bar {
    background: linear-gradient(90deg, rgba(30, 24, 12, 0.95), rgba(15, 17, 24, 0.98));
    border: 1px solid rgba(234, 179, 8, 0.45);
    border-radius: 14px;
    padding: 12px 20px;
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.15);
}
.vf-admin-bar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #facc15;
    font-size: 0.88rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.4px;
}
.vf-admin-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* 1. Tarjeta de Identidad del Proyecto Activo (Sin Translape) */
.vf-obra-header-card {
    background: linear-gradient(135deg, rgba(18, 22, 34, 0.96) 0%, rgba(12, 14, 22, 0.98) 100%);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}
.vf-obra-header-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #c5a059, #eab308, #ca8a04);
}
.vf-obra-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.vf-obra-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0 14px 0;
    line-height: 1.35;
    word-break: break-word;
}
.vf-obra-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.vf-meta-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.82rem;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}
.vf-meta-chip strong {
    color: #ffffff;
}

/* 2. Galería y Marco Fotográfico HD (Flujo Limpio e Independiente) */
.vf-obra-gallery-card {
    background: linear-gradient(160deg, #10131d 0%, #0a0d14 100%);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}
.vf-obra-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vf-obra-gallery-header h3 {
    margin: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vf-obra-main-frame {
    width: 100%;
    height: clamp(260px, 42vh, 420px);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #080a12;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}
.vf-obra-main-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.vf-obra-main-frame:hover img {
    transform: scale(1.02);
}
.vf-obra-main-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 12, 0.9) 70%, rgba(5, 7, 12, 0.98) 100%);
    padding: 24px 20px 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}
.vf-obra-main-caption-text strong {
    color: #fff;
    font-size: 0.95rem;
    display: block;
    font-family: 'Montserrat', sans-serif;
}
.vf-obra-main-caption-text span {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Tira de Miniaturas Debajo de la Foto */
.vf-obra-thumbs-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 2px 4px;
    scrollbar-width: thin;
}
.vf-obra-thumb-btn {
    width: 90px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #0d111a;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    position: relative;
}
.vf-obra-thumb-btn:hover, .vf-obra-thumb-btn.is-active {
    border-color: #facc15;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
}
.vf-obra-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tarjetas de Portafolio Modernizadas */
.vf-obra-card-hd {
    background: linear-gradient(160deg, #121622 0%, #0c0f17 100%);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.vf-obra-card-hd:hover {
    transform: translateY(-6px);
    border-color: #eab308;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(234, 179, 8, 0.2);
}
.vf-obra-card-hd.is-current {
    border: 2px solid #eab308;
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.3);
}
.vf-obra-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}
.vf-obra-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.vf-obra-card-hd:hover .vf-obra-card-media img {
    transform: scale(1.06);
}
.vf-obra-card-tag-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}
.vf-obra-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Dossier / Ficha Técnica Modal */
.vf-ficha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin: 16px 0;
}
.vf-ficha-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
}
.vf-ficha-box-lbl {
    font-size: 0.74rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.vf-ficha-box-val {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 768px) {
    .vf-obra-header-card {
        padding: 18px 16px;
    }
    .vf-obra-gallery-card {
        padding: 14px 12px;
    }
    .vf-obra-main-frame {
        height: 240px;
    }
    .vf-admin-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .vf-admin-bar-actions {
        width: 100%;
    }
}

/* ========================================================
   SISTEMA DE FICHA INDIVIDUAL DE CURSOS Y PRODUCTOS (VARFLO LUXURY)
   ======================================================== */

/* Controles Universales de Carrusel */
.car-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    z-index: 5 !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.car-btn:hover {
    background: var(--primary, #cca35e) !important;
    color: #000000 !important;
    border-color: var(--primary, #cca35e) !important;
    transform: translateY(-50%) scale(1.1) !important;
}
.car-prev { left: 10px !important; }
.car-next { right: 10px !important; }

.bg-blur {
    position: absolute !important;
    inset: -20px !important;
    background-size: cover !important;
    background-position: center !important;
    filter: blur(24px) brightness(0.35) !important;
    z-index: 0 !important;
    opacity: 0.8 !important;
    pointer-events: none !important;
    transition: background-image 0.4s ease !important;
}
body.light-mode .bg-blur {
    filter: blur(24px) brightness(0.95) !important;
    opacity: 0.3 !important;
}

/* Contenedor Principal de la Ficha */
.individual-container,
#individual-view {
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 15px 20px 120px !important;
    box-sizing: border-box !important;
}

body.is-individual #catalogo-header {
    display: none !important;
}
body.is-individual #cursos-grid {
    display: none !important;
}
body.is-individual #individual-view {
    display: block !important;
}

.vf-indiv-wrapper {
    width: 100% !important;
    box-sizing: border-box !important;
    animation: vfFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes vfFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Barra Superior: Retorno, Migas de Pan y Compartir */
.vf-indiv-topbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    padding: 12px 18px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(197, 160, 89, 0.25) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    z-index: 10 !important;
}
.vf-indiv-back-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(197, 160, 89, 0.16) !important;
    border: 1px solid #c5a059 !important;
    color: #fae29f !important;
    padding: 9px 20px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    font-family: 'Montserrat', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
}
.vf-indiv-back-btn i {
    color: #c5a059 !important;
    font-size: 0.95rem !important;
    transition: transform 0.2s ease !important;
}
.vf-indiv-back-btn:hover {
    background: #c5a059 !important;
    color: #000000 !important;
    border-color: #c5a059 !important;
    box-shadow: 0 4px 18px rgba(197, 160, 89, 0.45) !important;
    transform: translateX(-3px) !important;
}
.vf-indiv-back-btn:hover i {
    color: #000000 !important;
    transform: translateX(-2px) !important;
}
.vf-indiv-crumbs {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
}
.vf-indiv-crumbs a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
.vf-indiv-crumbs a:hover {
    color: var(--primary, #cca35e) !important;
}
.vf-crumb-sep {
    font-size: 0.68rem !important;
    color: rgba(255, 255, 255, 0.25) !important;
}
.vf-crumb-current {
    color: #f1f5f9 !important;
    font-weight: 600 !important;
    max-width: 650px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.vf-indiv-topbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.vf-indiv-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}
.vf-indiv-share-wa {
    background: rgba(37, 211, 102, 0.15) !important;
    border-color: rgba(37, 211, 102, 0.4) !important;
    color: #25D366 !important;
}
.vf-indiv-share-wa:hover {
    background: #25D366 !important;
    color: #000000 !important;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4) !important;
}
.vf-indiv-share-more {
    padding: 8px 12px !important;
    font-size: 1rem !important;
    color: #94a3b8 !important;
}
.vf-indiv-share-more:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

/* Grid Principal de 2 Columnas */
.vf-indiv-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.3fr) minmax(350px, 0.8fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

/* Columna Izquierda */
.vf-indiv-main-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    min-width: 0 !important;
}

/* Tarjetas Base de la Ficha */
.vf-indiv-card {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 26px 28px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
}

/* Cabecera de la Ficha */
.vf-indiv-meta-pills {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}
.vf-indiv-disp-pill {
    font-size: 0.72rem !important;
    color: #22c55e !important;
    font-weight: 800 !important;
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    text-transform: uppercase !important;
}
.vf-indiv-cip-pill {
    font-size: 0.72rem !important;
    color: #60a5fa !important;
    font-weight: 800 !important;
    background: rgba(59, 130, 246, 0.12) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    text-transform: uppercase !important;
}
.vf-indiv-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.95rem !important;
    font-weight: 900 !important;
    line-height: 1.28 !important;
    color: #ffffff !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.5px !important;
}
.vf-indiv-rating-box {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.vf-rating-desc {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
}
.vf-rating-guarantee {
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-left: auto !important;
}

/* Tarjeta del Autor / Docente */
.vf-indiv-author-box {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 20px 24px !important;
}
.vf-indiv-author-avatar {
    width: 62px !important;
    height: 62px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(204, 163, 94, 0.25) 0%, rgba(204, 163, 94, 0.05) 100%) !important;
    border: 2px solid var(--primary, #cca35e) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.7rem !important;
    color: var(--primary, #cca35e) !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 18px rgba(204, 163, 94, 0.25) !important;
}
.vf-indiv-author-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important;
}
.vf-indiv-author-tag {
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--primary, #cca35e) !important;
    font-weight: 800 !important;
}
.vf-indiv-author-name {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}
.vf-indiv-author-creds {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.4 !important;
}
.vf-cip-badge {
    background: rgba(59, 130, 246, 0.18) !important;
    border: 1px solid rgba(59, 130, 246, 0.45) !important;
    color: #93c5fd !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-size: 0.74rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

/* Tarjeta de Contenido / Temario */
.vf-indiv-section-head {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.vf-indiv-section-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: rgba(204, 163, 94, 0.12) !important;
    border: 1px solid rgba(204, 163, 94, 0.25) !important;
    color: var(--primary, #cca35e) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
}
.vf-indiv-section-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 2px 0 !important;
}
.vf-indiv-section-subtitle {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}
.vf-indiv-desc-text {
    color: #cbd5e1 !important;
    font-size: 0.96rem !important;
    line-height: 1.85 !important;
    white-space: pre-line !important;
    word-break: break-word !important;
}
.vf-indiv-admin-box {
    margin-top: 24px !important;
    padding-top: 18px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.15) !important;
}
.vf-admin-box-title {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    color: var(--primary, #cca35e) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.vf-admin-box-actions {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

/* Tarjeta de Beneficios y Garantías */
.vf-indiv-perks-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
}
.vf-indiv-perk-item {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    padding: 14px 16px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    transition: border-color 0.25s !important;
}
.vf-indiv-perk-item:hover {
    border-color: rgba(204, 163, 94, 0.3) !important;
}
.vf-perk-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: rgba(204, 163, 94, 0.12) !important;
    color: var(--primary, #cca35e) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
}
.vf-perk-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}
.vf-perk-content strong {
    font-size: 0.88rem !important;
    color: #ffffff !important;
}
.vf-perk-content span {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    line-height: 1.4 !important;
}

/* Columna Derecha (Sticky) */
.vf-indiv-sidebar-col {
    min-width: 0 !important;
}
.vf-indiv-sticky {
    position: sticky !important;
    top: 85px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* Marco de Medios / Carrusel */
.vf-indiv-media-frame {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
}
.vf-indiv-carousel {
    position: relative !important;
    width: 100% !important;
    height: 320px !important;
    overflow: hidden !important;
    background: #06080c !important;
}
.vf-indiv-carousel img.main-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    z-index: 1 !important;
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}
.vf-indiv-carousel img.main-img.active {
    display: block !important;
}
.vf-indiv-media-counter {
    padding: 8px 14px !important;
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    text-align: center !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

/* Caja de Compra y Precios */
.vf-indiv-checkout-box {
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(204, 163, 94, 0.28) !important;
    border-radius: 18px !important;
    padding: 22px !important;
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.6), 0 0 25px rgba(204, 163, 94, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.vf-indiv-price-block {
    text-align: center !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.vf-price-tag-label {
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #94a3b8 !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 4px !important;
}
.vf-price-display {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 10px !important;
}
.vf-indiv-price-orig {
    font-size: 1.05rem !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    font-weight: 600 !important;
}
.vf-indiv-price-curr {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.1rem !important;
    font-weight: 900 !important;
    color: #22c55e !important;
    letter-spacing: -0.5px !important;
}
.vf-indiv-price-sub {
    font-size: 0.78rem !important;
    color: #22c55e !important;
    font-weight: 700 !important;
    margin-top: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}
.vf-btn-pagar-hero {
    width: 100% !important;
    padding: 15px 20px !important;
    font-size: 1.02rem !important;
    border-radius: 12px !important;
    justify-content: center !important;
}
.vf-indiv-pay-methods {
    display: flex !important;
    justify-content: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-top: -2px !important;
    margin-bottom: 4px !important;
}
.vf-pay-pill {
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.vf-indiv-btn-video {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 11px 16px !important;
    border-radius: 10px !important;
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #ef4444 !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: 0.25s !important;
}
.vf-indiv-btn-video:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4) !important;
}
.vf-indiv-btn-wa {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    background: rgba(37, 211, 102, 0.12) !important;
    border: 1px solid rgba(37, 211, 102, 0.35) !important;
    color: #25D366 !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    transition: 0.25s !important;
}
.vf-indiv-btn-wa:hover {
    background: #25D366 !important;
    color: #000000 !important;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4) !important;
    transform: translateY(-2px) !important;
}
.vf-indiv-link-aula {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 11px 16px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(204, 163, 94, 0.3) !important;
    color: var(--primary, #cca35e) !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    text-decoration: none !important;
    transition: 0.25s !important;
}
.vf-indiv-link-aula:hover {
    background: var(--primary, #cca35e) !important;
    color: #000000 !important;
    border-color: var(--primary, #cca35e) !important;
}
.vf-indiv-trust-row {
    display: flex !important;
    justify-content: space-around !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 0.72rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
}
.vf-indiv-trust-row span {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

/* Modo Claro */
body.light-mode .vf-indiv-card,
body.light-mode .vf-indiv-topbar,
body.light-mode .vf-indiv-media-frame,
body.light-mode .vf-indiv-checkout-box {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.09) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
}
body.light-mode .vf-indiv-title,
body.light-mode .vf-indiv-section-title,
body.light-mode .vf-indiv-author-name,
body.light-mode .vf-indiv-back-btn,
body.light-mode .vf-perk-content strong {
    color: #0f172a !important;
}
body.light-mode .vf-indiv-desc-text {
    color: #334155 !important;
}
body.light-mode .vf-indiv-author-creds,
body.light-mode .vf-indiv-section-subtitle,
body.light-mode .vf-perk-content span,
body.light-mode .vf-rating-desc {
    color: #64748b !important;
}
body.light-mode .vf-indiv-perk-item {
    background: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}
body.light-mode .vf-indiv-back-btn {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}
body.light-mode .vf-indiv-back-btn:hover {
    background: var(--primary, #cca35e) !important;
    color: #000000 !important;
}
body.light-mode .vf-indiv-carousel {
    background: #0f172a !important;
}
body.light-mode .vf-crumb-current {
    color: #0f172a !important;
}
body.light-mode .vf-pay-pill {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
}

/* Adaptación Responsive para Móviles y Tablets */
@media (max-width: 991px) {
    .individual-container,
    #individual-view {
        padding: 10px 14px 160px !important;
    }
    .vf-indiv-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .vf-indiv-sidebar-col {
        order: -1 !important; /* El marco con foto, precio y botón de compra van primero en móvil */
        position: static !important;
    }
    .vf-indiv-sticky {
        position: static !important;
    }
    .vf-indiv-topbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 12px 14px !important;
    }
    .vf-indiv-back-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    .vf-indiv-crumbs {
        justify-content: center !important;
        font-size: 0.78rem !important;
    }
    .vf-indiv-title {
        font-size: 1.5rem !important;
    }
    .vf-indiv-perks-grid {
        grid-template-columns: 1fr !important;
    }
    .vf-indiv-card {
        padding: 20px 18px !important;
    }
    .vf-indiv-carousel {
        height: 260px !important;
    }
}

/* ========================================================
   SISTEMA DE DIFUSIÓN Y COMPARTIR EN REDES Y WHATSAPP (VARFLO)
   ======================================================== */

/* Franja de Identificación Oficial de Ficha */
.vf-ficha-official-strip {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.73rem !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.vf-fob-tag {
    background: rgba(204, 163, 94, 0.18) !important;
    border: 1px solid rgba(204, 163, 94, 0.45) !important;
    color: var(--primary, #cca35e) !important;
    padding: 3px 10px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-weight: 800 !important;
}
.vf-fob-dot {
    color: rgba(255, 255, 255, 0.2) !important;
}
.vf-fob-cip {
    color: #60a5fa !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-weight: 800 !important;
}

/* Grilla de Especificaciones Rápidas de la Ficha */
.vf-ficha-spec-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.vf-spec-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.vf-spec-label {
    font-size: 0.69rem !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.vf-spec-val {
    font-size: 0.84rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Tarjeta Principal de Difusión (Share Hub Card) */
.vf-share-hub-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(12, 38, 24, 0.88) 100%) !important;
    border: 1px solid rgba(37, 211, 102, 0.38) !important;
    box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(37, 211, 102, 0.1) !important;
}
.vf-share-hub-header {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.vf-share-hub-icon-ring {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: rgba(37, 211, 102, 0.16) !important;
    border: 2px solid #25D366 !important;
    color: #25D366 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.75rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.35) !important;
    animation: vfPulseWa 2.4s infinite !important;
}
@keyframes vfPulseWa {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(37, 211, 102, 0.3); }
    50% { transform: scale(1.08); box-shadow: 0 0 28px rgba(37, 211, 102, 0.65); }
}
.vf-share-hub-titles {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}
.vf-share-hub-kicker {
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #25D366 !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.vf-share-hub-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
}
.vf-share-hub-subtitle {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Grilla de Acciones de Compartir */
.vf-share-hub-actions-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}
.vf-share-action-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    border: 1px solid transparent !important;
    text-align: left !important;
    background: rgba(255, 255, 255, 0.04) !important;
    font-family: 'Inter', sans-serif !important;
    width: 100% !important;
}
.vf-sab-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
}
.vf-sab-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 1 !important;
    min-width: 0 !important;
}
.vf-sab-text strong {
    font-size: 0.88rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}
.vf-sab-text span {
    font-size: 0.74rem !important;
    color: #94a3b8 !important;
    line-height: 1.3 !important;
}
.vf-sab-arrow {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
    transition: transform 0.2s !important;
}

/* Variantes de Botones de Compartir */
.vf-btn-share-whatsapp {
    border-color: rgba(37, 211, 102, 0.45) !important;
    background: rgba(37, 211, 102, 0.12) !important;
}
.vf-btn-share-whatsapp .vf-sab-icon {
    background: #25D366 !important;
    color: #000000 !important;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.4) !important;
}
.vf-btn-share-whatsapp:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45) !important;
}
.vf-btn-share-whatsapp:hover .vf-sab-text strong {
    color: #000000 !important;
}
.vf-btn-share-whatsapp:hover .vf-sab-text span {
    color: #064e3b !important;
}
.vf-btn-share-whatsapp:hover .vf-sab-arrow {
    color: #000000 !important;
    transform: translateX(4px) !important;
}

.vf-btn-share-copy {
    border-color: rgba(59, 130, 246, 0.35) !important;
    background: rgba(59, 130, 246, 0.1) !important;
}
.vf-btn-share-copy .vf-sab-icon {
    background: rgba(59, 130, 246, 0.25) !important;
    color: #60a5fa !important;
}
.vf-btn-share-copy:hover {
    background: rgba(59, 130, 246, 0.22) !important;
    border-color: #3b82f6 !important;
    transform: translateY(-2px) !important;
}

.vf-btn-share-download {
    border-color: rgba(204, 163, 94, 0.35) !important;
    background: rgba(204, 163, 94, 0.1) !important;
}
.vf-btn-share-download .vf-sab-icon {
    background: rgba(204, 163, 94, 0.25) !important;
    color: var(--primary, #cca35e) !important;
}
.vf-btn-share-download:hover {
    background: rgba(204, 163, 94, 0.22) !important;
    border-color: var(--primary, #cca35e) !important;
    transform: translateY(-2px) !important;
}

.vf-btn-share-modal {
    border-color: rgba(168, 85, 247, 0.35) !important;
    background: rgba(168, 85, 247, 0.1) !important;
}
.vf-btn-share-modal .vf-sab-icon {
    background: rgba(168, 85, 247, 0.25) !important;
    color: #c084fc !important;
}
.vf-btn-share-modal:hover {
    background: rgba(168, 85, 247, 0.22) !important;
    border-color: #a855f7 !important;
    transform: translateY(-2px) !important;
}

/* Botón WhatsApp en Sidebar Sticky */
.vf-btn-share-whatsapp-sticky {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    background: rgba(37, 211, 102, 0.14) !important;
    border: 1px solid rgba(37, 211, 102, 0.4) !important;
    color: #25D366 !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    cursor: pointer !important;
    transition: 0.25s !important;
    font-family: 'Inter', sans-serif !important;
}
.vf-btn-share-whatsapp-sticky:hover {
    background: #25D366 !important;
    color: #000000 !important;
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.45) !important;
    transform: translateY(-2px) !important;
}

/* Barra Flotante Inferior en Celulares (Mobile Sticky Bar) */
.vf-mobile-sticky-bar {
    display: none;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(10, 11, 16, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding: 10px 14px !important;
    z-index: 999 !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.75) !important;
    box-sizing: border-box !important;
    align-items: center !important;
    gap: 10px !important;
}
.vf-msb-share-btn {
    flex: 1 !important;
    background: rgba(37, 211, 102, 0.18) !important;
    border: 1px solid #25D366 !important;
    color: #25D366 !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    padding: 12px 8px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
}
.vf-msb-share-btn:active {
    background: #25D366 !important;
    color: #000000 !important;
}
.vf-msb-buy-btn {
    flex: 1.3 !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 0.88rem !important;
    padding: 12px 8px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
    font-family: 'Montserrat', sans-serif !important;
}
.vf-msb-buy-btn:active {
    transform: scale(0.98) !important;
}

/* Overrides para Modo Claro */
body.light-mode .vf-share-hub-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
    border-color: rgba(37, 211, 102, 0.4) !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.1) !important;
}
body.light-mode .vf-share-hub-title {
    color: #0f172a !important;
}
body.light-mode .vf-share-hub-subtitle {
    color: #475569 !important;
}
body.light-mode .vf-share-action-btn {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-mode .vf-sab-text strong {
    color: #0f172a !important;
}
body.light-mode .vf-sab-text span {
    color: #64748b !important;
}
body.light-mode .vf-spec-item {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
body.light-mode .vf-spec-val {
    color: #0f172a !important;
}
body.light-mode .vf-mobile-sticky-bar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top-color: rgba(0, 0, 0, 0.1) !important;
}

/* Adaptación Responsive para Móvil */
@media (max-width: 991px) {
    .vf-mobile-sticky-bar {
        display: flex !important;
    }
    .vf-ficha-spec-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .vf-share-hub-actions-grid {
        grid-template-columns: 1fr !important;
    }
    .vf-share-hub-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
}

/* ==========================================================================
   SISTEMA INTERACTIVO DE EDICIÓN DE ESTRELLAS Y VALORACIONES (VARFLO 2026)
   ========================================================================== */
.vf-btn-edit-stars-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(197, 160, 89, 0.12) !important;
    color: #fae29f !important;
    border: 1px solid rgba(197, 160, 89, 0.45) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    font-family: inherit !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    text-decoration: none !important;
}
.vf-btn-edit-stars-pill:hover {
    background: rgba(197, 160, 89, 0.3) !important;
    border-color: #c5a059 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35) !important;
}
.vf-btn-edit-stars-pill i {
    color: #c5a059 !important;
}

.vf-tbl-star-badge {
    background: rgba(250, 226, 159, 0.1) !important;
    border: 1px solid rgba(250, 226, 159, 0.3) !important;
    color: #fae29f !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
}
.vf-tbl-star-badge:hover {
    background: rgba(250, 226, 159, 0.25) !important;
    border-color: #fae29f !important;
    transform: scale(1.04) !important;
    color: #fff !important;
}

.vf-chip-star {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    color: #fae29f !important;
    padding: 3px 9px !important;
    border-radius: 5px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
}
.vf-chip-star:hover, .vf-chip-star.active {
    background: #c5a059 !important;
    color: #000 !important;
    border-color: #c5a059 !important;
    transform: translateY(-1px) !important;
}

.vf-interactive-stars-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1.85rem !important;
    color: #c5a059 !important;
    cursor: pointer !important;
    user-select: none !important;
}
.vf-interactive-stars-row i {
    transition: transform 0.15s ease, color 0.15s ease !important;
}
.vf-interactive-stars-row i:hover {
    transform: scale(1.28) !important;
    color: #f59e0b !important;
}





/* =========================================================
           MODALES INTERACTIVOS: PAGO DIRECTO, COMPARTIR Y EDICIÓN
           ========================================================= */
        .pago-modal-overlay {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            background: rgba(0, 0, 0, 0.88) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            z-index: 999999 !important;
            display: none !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 16px !important;
            overflow-y: auto !important;
            box-sizing: border-box !important;
        }

        .pago-modal-overlay.active {
            display: flex !important;
        }

        .pago-modal-card {
            background: #0d1017 !important;
            border: 1px solid rgba(197, 160, 89, 0.45) !important;
            border-radius: 16px !important;
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgba(197, 160, 89, 0.25) !important;
            width: 100% !important;
            max-width: 660px !important;
            max-height: 90vh !important;
            overflow-y: auto !important;
            padding: 24px !important;
            position: relative !important;
            color: #e2e8f0 !important;
            margin: auto !important;
            animation: vfModalFadeIn 0.22s ease-out !important;
            box-sizing: border-box !important;
        }

        @keyframes vfModalFadeIn {
            from { opacity: 0; transform: scale(0.96) translateY(12px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .pago-modal-close {
            position: absolute !important;
            top: 14px !important;
            right: 16px !important;
            background: rgba(255, 255, 255, 0.08) !important;
            border: 1px solid rgba(255, 255, 255, 0.18) !important;
            color: #fff !important;
            font-size: 1.45rem !important;
            width: 36px !important;
            height: 36px !important;
            border-radius: 50% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            cursor: pointer !important;
            transition: all 0.2s !important;
            z-index: 10 !important;
            line-height: 1 !important;
        }
        .pago-modal-close:hover {
            background: #ef4444 !important;
            border-color: #ef4444 !important;
            color: #fff !important;
            transform: rotate(90deg) !important;
        }

        .pago-grid-2col {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 10px !important;
        }

        @media (max-width: 600px) {
            .pago-grid-2col {
                grid-template-columns: 1fr !important;
            }
            .pago-modal-card {
                padding: 16px !important;
                max-height: 94vh !important;
            }
        }