:root {
    /* Cable Mágico Colors based on general branding (Orange/Blue) */
    --brand-orange: #00aeff;
    --brand-orange-glow: rgba(138, 43, 226, 0.6);
    --brand-blue: #007499;
    --brand-blue-glow: rgba(0, 116, 153, 0.6);
    
    /* Futuristic Dark Theme */
    --bg-dark: #07090f;
    --bg-card: rgba(13, 17, 28, 0.7);
    --bg-card-hover: rgba(20, 26, 43, 0.85);
    --text-main: #e0e6ed;
    --text-muted: #8a9bb3;
    
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(138, 43, 226, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, .logo {
    font-family: 'Exo 2', sans-serif;
}


/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

html, body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important; 
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   BARRA SUPERIOR PERMANENTE (TRES LÍNEAS APILADAS Y CENTRADAS)
   ========================================================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    background: #000000;
    color: #eee;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 6px 5%; 
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 1001;
    border-top: 2px solid #00aeff;      
    border-bottom: 2px solid #00aeff;   
    box-shadow: 0 2px 10px rgba(160, 32, 240, 0.3); 
}

/* Tu animación original de cambio de colores intacta */
@keyframes rainbow-text {
    0% { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
    14% { color: #ff7f00; text-shadow: 0 0 10px #ff7f00; }
    28% { color: #ffff00; text-shadow: 0 0 10px #ffff00; }
    42% { color: #00ff00; text-shadow: 0 0 10px #00ff00; }
    57% { color: #00f3ff; text-shadow: 0 0 10px #00f3ff; }
    71% { color: #bc13fe; text-shadow: 0 0 10px #bc13fe; }
    85% { color: #e0247d; text-shadow: 0 0 10px #e0247d; }
    100% { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
}

.contact-info-top span {
    animation: rainbow-text 3s linear infinite; /* Animación intacta */
    font-family: 'Exo 2', sans-serif; /* Parámetro intacto */
    font-weight: 800; /* Parámetro intacto */
    letter-spacing: 1px; /* Parámetro intacto */
}

/* ==========================================================================
   2. CONFIGURACIÓN EXCLUSIVA PARA MONITORES GRANDES Y PC (MÁS DE 1024px)
   ========================================================================== */
@media (min-width: 1025px) {
    .top-bar {
        /* MODO PC: Todo en una sola fila horizontal fluida */
        flex-direction: row !important; 
        gap: 30px !important; 
    }
    .contact-info-top {
        flex-direction: row !important; 
        gap: 30px !important; 
        flex-wrap: nowrap !important;
    }
}

/* ==========================================================================
   3. BLINDAJE PARA TELÉFONOS (INCLUYE EL "MODO SITIO DE COMPUTADORA")
   ========================================================================== */
@media (max-width: 1024px) {
    .top-bar {
        /* TU REGLA ORIGINAL INTACTA PARA MÓVIL */
        padding: 6px 10px !important; 
        font-size: 0.85rem !important; 
        
        /* MODO FORZADO DE 3 LÍNEAS VERTICALES COMPACTAS */
        flex-direction: column !important; 
        gap: 4px !important;
        
        /* CORREGIDO: Ahora el ancho es fluido al 100% para evitar el congelamiento asimétrico en Chrome */
        min-width: 100% !important; 
    }
    
    .contact-info-top {
        /* TU REGLA ORIGINAL INTACTA PARA MÓVIL */
        gap: 4px !important; 
        
        /* APILADO STRICTO VERTICAL */
        flex-direction: column !important; 
        width: 100% !important;
        flex-wrap: nowrap !important; 
    }

    /* Clava las comunas en una sola línea compacta e impide la cuarta línea en la simulación */
    .contact-info-top span:last-child, 
    .top-bar div:last-child {
        white-space: nowrap !important;
        font-size: 0.75rem !important; /* Ajuste óptimo para que entren juntas en los 1024px simulados */
        display: block !important;
        text-align: center !important;
    }
}

.navbar.scrolled {
    top: 0;
    padding: 12px 0;
    background: rgba(7, 9, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ==========================================================================
   2. BARRA SUPERIOR (MANTIENE PC HORIZONTAL Y MÓVIL EN 3 LÍNEAS VERTICALES)
   ========================================================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    background: #000000;
    color: #eee;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 6px 5%; 
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 1001;
    border-top: 2px solid #00aeff;      
    border-bottom: 2px solid #00aeff;   
    box-shadow: 0 2px 10px rgba(160, 32, 240, 0.3); 
}

/* Tu animación original de cambio de colores intacta */
@keyframes rainbow-text {
    0% { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
    14% { color: #ff7f00; text-shadow: 0 0 10px #ff7f00; }
    28% { color: #ffff00; text-shadow: 0 0 10px #ffff00; }
    42% { color: #00ff00; text-shadow: 0 0 10px #00ff00; }
    57% { color: #00f3ff; text-shadow: 0 0 10px #00f3ff; }
    71% { color: #bc13fe; text-shadow: 0 0 10px #bc13fe; }
    85% { color: #e0247d; text-shadow: 0 0 10px #e0247d; }
    100% { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
}

.contact-info-top {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important; 
}

.contact-info-top span {
    animation: rainbow-text 3s linear infinite; 
    font-family: 'Exo 2', sans-serif; 
    font-weight: 800; 
    letter-spacing: 1px; 
}

/* CONDICIÓN EXCLUSIVA PARA PC REAL (DISTRIBUCIÓN EN UNA LÍNEA) */
@media (min-width: 1025px) {
    .top-bar {
        flex-direction: row !important; 
        gap: 30px !important; 
    }
    .contact-info-top {
        flex-direction: row !important; 
        gap: 30px !important; 
        flex-wrap: nowrap !important;
    }
}

/* BLINDAJE PARA CELULARES (INCLUYE EL MODO SITIO DE COMPUTADORA EN 3 LÍNEAS) */
@media (max-width: 1024px) {
    .top-bar {
        padding: 6px 10px !important; 
        font-size: 0.85rem !important; 
        flex-direction: column !important; 
        gap: 4px !important;
        min-width: 1024px !important; 
    }
    .contact-info-top {
        gap: 4px !important; 
        flex-direction: column !important; 
        width: 100% !important;
        flex-wrap: nowrap !important; 
    }
    .contact-info-top span:last-child, 
    .top-bar div:last-child {
        white-space: nowrap !important;
        font-size: 0.75rem !important; 
        display: block !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   3. MENÚ DE NAVEGACIÓN Y LOGO (CORREGIDO EXCLUSIVAMENTE PARA SUBIR EL MENU)
   ========================================================================== */
.navbar {
    position: fixed;
    /* AJUSTE SOLICITADO: Cambiado de 75px a 36px para pegar la cabecera al top-bar */
    top: 45px; 
    width: 100%;
    /* AJUSTE SOLICITADO: Reducido de 20px a 10px para que sea delgada como en prueba.finet.cl */
    padding: 10px 0; 
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

/* AJUSTE MAESTRO: Mantiene tu logo grande pero lo empuja hacia abajo */
@media (max-width: 1024px) {
    .navbar {
        top: 45px !important; /* Lo devolvemos a su alineación superior original */
        height: auto !important; /* Deja que la altura se adapte de forma natural */
        max-height: none !important; 
        padding: 10px 0 !important; 
        display: flex !important;
        align-items: center !important; 
        
        /* SOLUCIÓN: Fondo totalmente transparente */
        background: transparent !important; 
        
        /* Elimina cualquier filtro de fondo o sombra rígida que arme un cuadrado */
        backdrop-filter: none !important; 
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }
}

.nav-content {
    width: 100% !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    
    /* 🌟 INTEGRADO AQUÍ: El contenedor ahora genera tus estrellas flotantes en el área del logo */
    position: relative !important;
}

/* 🌟 EFECTO ESTRELLAS: Ubicadas perfectamente entremedio de las letras de tu marca */
.nav-content::before {
    content: "" !important;
    position: absolute !important;
    top: 40px !important;    
    left: 13% !important; /* Sigue de forma fluida el movimiento del logo */
    width: 2.5px !important;  
    height: 2.5px !important;
    background: transparent !important;
    box-shadow: 
        15px 5px #fff, 
        45px -10px rgba(30, 144, 255, 0.9), 
        75px 15px #fff, 
        105px -5px rgba(138, 43, 226, 0.9),
        135px 8px #fff,
        165px -12px rgba(30, 144, 255, 0.9) !important;
    animation: brillarEstrellas 1.8s ease-in-out infinite alternate !important;
    z-index: 4 !important;
    pointer-events: none !important;
}

.desktop-menu {
    display: flex !important;
    align-items: center !important;
    margin-left: 0 !important; /* Eliminamos el margen fijo que rompía el diseño */
}

.nav-links {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 15px !important; /* Espacio uniforme entre cada palabra (Inicio, Servicios...) */
}

.nav-links a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    /* TUS PARÁMETROS ACTUALES INTACTOS: Mantiene tus letras de 1.1rem */
    font-size: 1.1rem !important; 
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    /* TUS PARÁMETROS ACTUALES INTACTOS: Mantiene tu padding actual */
    padding: 10px 8px !important; 
    border-radius: 6px !important;
    transition: all 0.4s ease !important;
    position: relative !important;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    background: rgba(138, 43, 226, 0.1);
    text-shadow: 0 0 10px var(--brand-orange-glow);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}


.nav-actions {
    margin-left: 10px;
}

.btn-glow {
    background: linear-gradient(135deg, #1e90ff, #8a2be2);
    color: #fff;
    /* MODIFICADO: De 8px 16px a 8px 8px para pegar los bordes laterales a las letras */
    padding: 8px 8px !important; 
    font-size: 1.00rem !important; 
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

/* REGLA DE ESPACIADO COMPLEMENTARIA (100% SEGURA) */
.btn-glow i {
    /* Crea un espacio de separación limpio hacia la izquierda del icono sin alterar la caja azul */
    margin-left: 8px !important; 
}

/* Control responsive nativo para la hamburguesa */
@media (min-width: 851px) {
    .hamburger, .mobile-menu, .mobile-menu-overlay {
        display: none !important;
    }
}
@media (max-width: 850px) {
    .desktop-menu {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
}

/* empiezaaa aca el efecto */

.logo { 
    flex-shrink: 0;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center !important;
    margin-left: 12% !important; 
    position: relative !important;
    perspective: 800px !important; /* Profundidad para el efecto 4D */
}

/* 🌀 ANILLO 4D AZUL (Gira en el fondo) */
.logo::before {
    content: "" !important;
    position: absolute !important;
    
    /* MODIFICADO: Aumentado el tamaño a 190px para alejarlo de los bordes del logo */
    width: 190px !important;
    height: 190px !important;
    
    border: 2.5px solid rgba(30, 144, 255, 0.7) !important; 
    border-top-color: transparent !important; 
    border-radius: 50% !important;
    animation: giroOrbita1 4s linear infinite !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* 🌀 ANILLO 4D MORADO (Gira por el frente) */
.logo::after {
    content: "" !important;
    position: absolute !important;
    
    /* MODIFICADO: Aumentado el tamaño a 200px para que orbite de forma más amplia */
    width: 200px !important;
    height: 200px !important;
    
    border: 2.5px solid rgba(138, 43, 226, 0.7) !important; 
    border-bottom-color: transparent !important; 
    border-radius: 50% !important;
    animation: giroOrbita2 6s linear infinite !important;
    pointer-events: none !important;
    z-index: 3 !important; 
}

.logo { 
    flex-shrink: 0;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center !important;
    margin-left: 12% !important; 
    position: relative !important;
    perspective: 800px !important; /* Profundidad para el efecto 4D */
}

/* 🌀 ANILLO 4D AZUL (Gira en el fondo) */
.logo::before {
    content: "" !important;
    position: absolute !important;
    
    /* MODIFICADO: Aumentado el tamaño a 190px para alejarlo de los bordes del logo */
    width: 190px !important;
    height: 190px !important;
    
    border: 2.5px solid rgba(30, 144, 255, 0.7) !important; 
    border-top-color: transparent !important; 
    border-radius: 50% !important;
    animation: giroOrbita1 4s linear infinite !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* 🌀 ANILLO 4D MORADO (Gira por el frente) */
.logo::after {
    content: "" !important;
    position: absolute !important;
    
    /* MODIFICADO: Aumentado el tamaño a 200px para que orbite de forma más amplia */
    width: 200px !important;
    height: 200px !important;
    
    border: 2.5px solid rgba(138, 43, 226, 0.7) !important; 
    border-bottom-color: transparent !important; 
    border-radius: 50% !important;
    animation: giroOrbita2 6s linear infinite !important;
    pointer-events: none !important;
    z-index: 3 !important; 
}

/* ==========================================================================
   🛸 ESTILOS VENTANA FLOTANTE DE COBERTURA (ESTILO TLINK CYBER)
   ========================================================================== */
.modal-cobertura-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.85) !important; /* Oscurece el fondo de canales */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100000 !important; /* Por encima de todo */
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease-in-out !important;
}

.modal-cobertura-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-cobertura-card {
    background: #0d0d14 !important; /* Gris espacial ultra oscuro */
    border: 2px solid rgba(138, 43, 226, 0.4) !important; /* Borde neón morado */
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.2), 0 0 10px rgba(30, 144, 255, 0.2) !important;
    border-radius: 16px !important;
    width: 90% !important;
    max-width: 450px !important;
    padding: 30px !important;
    position: relative !important;
    box-sizing: border-box !important;
    font-family: 'Exo 2', sans-serif !important;
}

.modal-cobertura-close {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    background: transparent !important;
    border: none !important;
    color: #888 !important;
    font-size: 2rem !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
}
.modal-cobertura-close:hover { color: #fff !important; }

.modal-cobertura-header h3 {
    color: #00ffcc !important; /* Turquesa idéntico a tu metro */
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    margin: 0 0 5px 0 !important;
    letter-spacing: 1px !important;
}
.modal-cobertura-header p {
    color: #aaa !important;
    font-size: 0.9rem !important;
    margin: 0 0 25px 0 !important;
}

.form-group-cobertura {
    margin-bottom: 20px !important;
    text-align: left !important;
}
.form-group-cobertura label {
    display: block !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
}
.form-group-cobertura input, 
.form-group-cobertura select {
    width: 100% !important;
    padding: 12px 15px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}
.form-group-cobertura input:focus, 
.form-group-cobertura select:focus {
    outline: none !important;
    border-color: #00ffcc !important;
    background: rgba(0, 255, 204, 0.03) !important;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.1) !important;
}
.form-group-cobertura select option { background: #0d0d14 !important; color: #fff !important; }

.btn-submit-cobertura {
    width: 100% !important;
    padding: 14px !important;
    background: linear-gradient(135deg, #1e90ff, #8a2be2) !important; /* Tus colores fluidos */
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}
.btn-submit-cobertura:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5) !important;
    filter: brightness(1.1) !important;
}

.modal-cobertura-footer {
    margin-top: 15px !important;
    font-size: 0.8rem !important;
    color: #666 !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   🤖 SUBMENÚ DESPLEGABLE (QUIÉNES SOMOS -> PREGUNTAS FRECUENTES)
   ========================================================================== */

/* Posiciona el contenedor base */
.menu-desplegable {
    position: relative !important;
}

/* Configuración de la caja del submenú (Oculta por defecto) */
.menu-desplegable .submenu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important; /* Lo centra y lo baja un poco */
    background: rgba(10, 10, 15, 0.95) !important; /* Fondo oscuro translúcido premium */
    border: 1px solid rgba(138, 43, 226, 0.3) !important; /* Borde morado sutil a tono con tus anillos */
    border-radius: 8px !important;
    padding: 10px 0 !important;
    list-style: none !important;
    min-width: 200px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(138, 43, 226, 0.1) !important;
    
    /* Efecto de transición suave */
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease-in-out !important;
    pointer-events: none !important;
    z-index: 9999 !important;
}

/* Muestra el submenú de inmediato al poner el cursor sobre "Quiénes Somos" */
.menu-desplegable:hover .submenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important; /* Sube suavemente a su posición */
    pointer-events: auto !important;
}

/* Estilos para el botón interno de Preguntas Frecuentes */
.menu-desplegable .submenu li a {
    display: block !important;
    padding: 10px 20px !important;
    color: #ffffff !important;
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
}

/* Efecto hover exclusivo para la opción del submenú */
.menu-desplegable .submenu li a:hover {
    color: #00ffcc !important; /* Color turquesa brillante idéntico a tu metro */
    background: rgba(0, 255, 204, 0.08) !important;
    padding-left: 25px !important; /* Pequeño desplazamiento dinámico a la derecha */
}
/* termina menu de inicio desplegable quienes somos*/

/* empieza animacion metro*/
.logo img {
    max-width: 100%;
    display: block;
    height: 120px !important; 
    width: auto; 
    object-fit: contain;
    position: relative !important;
    z-index: 2 !important; /* Capa intermedia para que los anillos lo envuelvan */
    
    /* 🌊 TUS ANIMACIONES ORIGINALES CONSERVAADAS + 🎰 NUEVO EFECTO TRAGAMONEDAS INYECTADO (Cada 3 segundos) */
    animation: 
        flotarLogo 5s ease-in-out infinite, 
        aparecerDesaparecer 6s ease-in-out infinite,
        brilloTragamonedas 3s linear infinite !important; 
        
    transition: filter 0.4s ease-in-out !important; 
}

.logo img:hover {
    filter: drop-shadow(0 0 8px #1e90ff) drop-shadow(0 0 15px #8a2be2) !important; 
}

/* 🔄 KEYFRAMES: Movimiento de Ola de Mar */
@keyframes flotarLogo {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(1.5deg); }
    50% { transform: translateY(-7px) rotate(0deg); }
    75% { transform: translateY(-4px) rotate(-1.5deg); }
}

/* 🔥 INTEGRADO AQUÍ: Controla que el logotipo se desvanezca suavemente a la mitad del tiempo y vuelva a brillar entero */
@keyframes aparecerDesaparecer {
    0%, 100% {
        opacity: 1; /* Al inicio y final se ve al 100% */
    }
    50% {
        opacity: 0.15; /* En el medio se desvanece sutilmente */
    }
}

/* 🎰 NUEVA ANIMACIÓN TRAGAMONEDAS: Destello reflectante que simula las máquinas de juego */
@keyframes brilloTragamonedas {
    0% {
        filter: brightness(1) drop-shadow(0 0 0px rgba(255,255,255,0));
    }
    15% {
        /* Encendido incandescente al pasar la ráfaga de luz por la imagen */
        filter: brightness(2.2) drop-shadow(0 0 12px #00ffcc);
    }
    30%, 100% {
        /* Retorna a la normalidad esperando el siguiente ciclo */
        filter: brightness(1) drop-shadow(0 0 0px rgba(255,255,255,0));
    }
}

/* 🔄 KEYFRAMES: Anillo 4D Horizontal */
@keyframes giroOrbita1 {
    0% { transform: rotateX(75deg) rotateY(10deg) rotateZ(0deg); }
    100% { transform: rotateX(75deg) rotateY(10deg) rotateZ(360deg); }
}

/* 🔄 KEYFRAMES: Anillo 4D Vertical Inclinado */
@keyframes giroOrbita2 {
    0% { transform: rotateX(60deg) rotateY(-20deg) rotateZ(360deg); }
    100% { transform: rotateX(60deg) rotateY(-20deg) rotateZ(0deg); }
}

/* 🔄 KEYFRAMES: Parpadeo de Estrellas */
@keyframes brillarEstrellas {
    0% { opacity: 0.2; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1.3); }
}

/* Contenedor principal que actúa como la pantalla del letrero */
.metro-marquee-container {
    position: absolute !important;
    top: 95px !important;       /* Lo sitúa exactamente en la zona que marcaste en rojo */
    left: 10% !important;        /* Alineado justo debajo del área del logo */
    width: 420px !important;     /* Tu medida compacta de pantalla ideal que te gustó */
    overflow: hidden !important; /* Oculta el texto que se va saliendo por la izquierda */
    background: transparent !important;
    padding: 5px 0 !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

/* Caja interna del letrero */
.metro-marquee-text {
    width: 100% !important;
}


/* Estilo de la tipografía tipo letrero digital del metro */
.metro-marquee-text span {
    color: #00ffcc !important;   /* Verde/Turquesa digital brillante de tablero */
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-family: 'Courier New', Courier, monospace !important; /* Tipografía monoespaciada de sistema */
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.6) !important;   /* Brillo neón de pantalla */
    margin-right: 80px !important; /* Separación limpia entre cada una de tus frases largas */
}
/* termina animacion metro*/

.logo .cable {
    color: #fff;
}

.logo .magico {
    color: var(--brand-orange);
    text-shadow: 0 0 10px var(--brand-orange-glow);
}

.desktop-menu {
    display: flex;
    align-items: center;
}


/* Buttons */
.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* AJUSTE SUTIL: Cambiamos tu padding horizontal de 28px a 16px para recortar el ancho del botón sin alterar fuentes ni colores */
    padding: 12px 16px;
    background: linear-gradient(45deg, var(--brand-orange), #9932CC);
    color: #fff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px var(--brand-orange-glow);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap; 
}

.btn-glow:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 25px var(--brand-orange);
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--brand-blue);
    color: #fff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--brand-blue-glow);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #008fbc;
    box-shadow: 0 0 25px var(--brand-blue-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid var(--text-muted);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--brand-orange);
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid var(--brand-orange);
    box-shadow: 0 0 10px inset rgba(255,118,0,0.1);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255,118,0,0.1);
    box-shadow: 0 0 15px inset rgba(255,118,0,0.3), 0 0 15px rgba(255,118,0,0.3);
}


.glitch {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 20px var(--brand-blue);
    margin-bottom: 20px;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    left: 3px;
    text-shadow: -2px 0 var(--brand-orange);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -3px;
    text-shadow: -2px 0 var(--brand-blue);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(20px, 9999px, 85px, 0); }
    100% { clip: rect(60px, 9999px, 15px, 0); }
}
@keyframes glitch-anim-2 {
    0% { clip: rect(10px, 9999px, 45px, 0); }
    100% { clip: rect(80px, 9999px, 75px, 0); }
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.scroll-indicator .arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--brand-orange);
    border-bottom: 2px solid var(--brand-orange);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}


.neon-card {
    background: rgba(13, 17, 28, 0.7);
    border: 2px solid #bc13fe;
    border-radius: 16px;
    padding: 30px;
    margin: 20px auto 0;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.4), 0 0 30px rgba(188, 19, 254, 0.3) inset;
}

.neon-card h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(188, 19, 254, 0.7);
}

.neon-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    border-top: 1px solid rgba(255, 118, 0, 0.1);
}


/* Tarjeta Popular */
.service-card.popular {
    position: relative;
    transform: scale(1.05);
    border: 2px solid #b84dff;

    box-shadow:
        0 0 15px rgba(184, 77, 255, 0.5),
        0 0 30px rgba(184, 77, 255, 0.3);

    overflow: hidden;
}


/* Etiqueta Popular */
.popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;

    background: linear-gradient(45deg, #8a2be2, #c44dff);
    color: #fff;

    font-size: 10px;
    font-weight: 700;

    padding: 2px 5px;   /* 👈 reduce el “ancho lateral” */
    
    border-radius: 10px;

    display: inline-flex; /* 👈 evita que se estire raro */
    align-items: center;
    justify-content: center;

    line-height: 1;
    white-space: nowrap;
}

.popular-badge2 {
    position: absolute;
    top: 3px;
    right: 3px;

    background: linear-gradient(45deg, #2be249, #c44dff);
    color: #fff;

    padding: 3px 8px;
    border-radius: 20px;

    font-size: 0.8rem;
    font-weight: 700;

    box-shadow: 0 0 15px rgba(196, 77, 255, 0.5);
}

.popular-badge3 {
    position: absolute;
    top: 3px;
    right: 3px;

    background: linear-gradient(45deg, #b40bb9, #c44dff);
    color: #fff;

    padding: 3px 8px;
    border-radius: 20px;

    font-size: 0.8rem;
    font-weight: 700;

    box-shadow: 0 0 15px rgba(196, 77, 255, 0.5);
}

.popular-badge4 {
    position: absolute;
    top: 3px;
    left: 3px;

    background: linear-gradient(45deg, #b40bb9, #c44dff);
    color: #fff;

    padding: 3px 8px;
    border-radius: 20px;

    font-size: 0.8rem;
    font-weight: 700;

    box-shadow: 0 0 15px rgba(196, 77, 255, 0.5);
}

/* Efecto brillo futurista */
.service-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;

    width: 50%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );

    animation: popular-shine 3s infinite;
}

@keyframes popular-shine {
    100% {
        left: 200%;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-orange);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px inset rgba(255, 118, 0, 0.05);
    background: var(--bg-card-hover);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(0, 116, 153, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    box-shadow: 0 0 15px var(--brand-blue-glow);
    transition: all 0.4s ease;
}

.service-card:hover .icon-wrapper {
    background: var(--brand-orange);
    color: #000;
    border-color: var(--brand-orange);
    box-shadow: 0 0 25px var(--brand-orange-glow);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Plan Tabs */
.plan-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--border-glass);
    color: var(--text-muted);
    border-radius: 30px;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--brand-blue);
    color: #fff;
}

.tab-btn.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    box-shadow: 0 0 15px var(--brand-blue-glow);
}

.tab-content {
    display: none !important;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-content.active {
    display: flex !important;
    flex-wrap: wrap;
    opacity: 1;
}

/* Pricing */
.pricing-grid {
    top: -12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: stretch;
    width: 100%;
}

.pricing-card {
    flex: 1 1 280px;
    max-width: 350px;
    width: 100%;
    padding: 40px 25px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
    box-sizing: border-box;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.pricing-card.popular {
    border-color: var(--brand-orange);
    background: rgba(20, 26, 43, 0.8);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255, 118, 0, 0.15);
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.6), 0 0 30px rgba(255, 118, 0, 0.25);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-orange);
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--brand-orange-glow);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    line-height: 1;
}

.price span {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 5px;
    color: var(--brand-orange);
}

.price small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features li {
    padding: 12px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.features li i {
    color: var(--brand-blue);
    margin-right: 15px;
    font-size: 1.2rem;
}

.popular .features li i {
    color: var(--brand-orange);
}

.features li.disabled {
    color: #556;
}

.features li.disabled i {
    color: #556;
}

.pricing-card .btn-outline, .pricing-card .btn-glow {
    text-align: center;
    width: 100%;
    margin-top: auto;
}

/* Channels Section */
.channels-showcase {
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    border-top: 2px solid var(--brand-orange);
}

.channels-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background: linear-gradient(135deg, rgba(255, 118, 0, 0.1) 0%, rgba(0, 116, 153, 0.1) 100%);
    border-bottom: 1px solid var(--border-glass);
}

.banner-text {
    flex: 1;
    max-width: 600px;
}

.banner-text h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
}

.banner-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.banner-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.tv-icon-wrapper {
    position: relative;
    width: 200px;
    height: 150px;
    background: rgba(13, 17, 28, 0.8);
    border: 2px solid var(--brand-blue);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px var(--brand-blue-glow);
}

.tv-icon-wrapper i {
    font-size: 5rem;
    color: var(--brand-blue);
}

.channel-count {
    position: absolute;
    bottom: -20px;
    background: var(--brand-orange);
    color: #000;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-family: 'Exo 2', sans-serif;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.channel-count span {
    font-size: 1.2rem;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding: 40px 50px;
    background: rgba(0,0,0,0.2);
}

.channel-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.channel-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 116, 153, 0.3);
}

.ch-logo {
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.ch-logo.espn { color: #e60000; text-shadow: 0 0 8px rgba(230,0,0,0.5); }
.ch-logo.disney { color: #0072d6; font-family: cursive; text-transform: none; }
.ch-logo.star { color: #00a8e1; }
.ch-logo.history { color: #f5b041; border-bottom: 2px solid #f5b041; }
.ch-logo.cinecanal { color: #f1c40f; }

@media (max-width: 768px) {
    .channels-banner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 30px 20px;
    }
    .banner-image {
        justify-content: center;
    }
    .channels-grid {
        padding: 30px 20px;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    border-left: 2px solid var(--brand-orange);
}

.contact-info {
    padding: 60px;
    background: rgba(0,0,0,0.2);
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 118, 0, 0.1);
    color: var(--brand-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    margin-right: 20px;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 118, 0, 0.3);
}

.contact-action {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 116, 153, 0.15) 0%, transparent 70%);
}

.hex-bg {
    width: 120px;
    height: 120px;
    background: rgba(255, 118, 0, 0.1);
    border: 1px solid var(--brand-orange);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    transform: rotate(45deg);
    box-shadow: 0 0 30px var(--brand-orange-glow);
    transition: all 0.5s ease;
}

.hex-bg:hover {
    transform: rotate(0deg);
    background: rgba(255, 118, 0, 0.2);
}

.whatsapp-huge {
    font-size: 4rem;
    color: var(--brand-orange);
    transform: rotate(-45deg);
    transition: all 0.5s ease;
}

.hex-bg:hover .whatsapp-huge {
    transform: rotate(0deg);
}

.contact-action h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
}

.contact-action p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #040508;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 20px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Espacio entre elementos del footer */
}

.footer-main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px; /* Espacio entre el logo/texto y el horario */
    width: 100%;
    align-items: flex-start;
}

.footer-brand-info {
    text-align: center;
    max-width: 400px;
}

.schedule-footer {
    text-align: left;
    padding: 20px;
    border-radius: 12px;
    background: rgba(13, 17, 28, 0.7);
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.schedule-footer h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.4rem;
    color: var(--brand-orange);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--brand-orange-glow);
}

.schedule-footer ul {
    list-style: none;
    padding: 0;
}

.schedule-footer li {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-footer li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .footer-main-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-brand-info {
        max-width: 90%;
    }

    .schedule-footer {
        text-align: center;
        width: 90%;
        max-width: 350px;
    }

    .schedule-footer li {
        justify-content: center;
    }
}

.footer-logo {
    font-size: 2.2rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo .cable { color: #fff; }
.footer-logo .magico { color: var(--brand-orange); }

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--brand-blue-glow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    color: #556;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits-title {
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 0 15px var(--brand-blue);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    padding: 20px;
}

.benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.benefit-card {
    padding: 35px 25px;
    border-radius: 16px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
    background: rgba(0, 116, 153, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px inset rgba(0, 116, 153, 0.1);
}

.benefit-card.highlight {
    border-color: rgba(255, 118, 0, 0.3);
    background: rgba(255, 118, 0, 0.05);
}

.benefit-card.highlight:hover {
    border-color: var(--brand-orange);
    background: rgba(255, 118, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px inset rgba(255, 118, 0, 0.1);
}

.b-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Exo 2', sans-serif;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* About Page */
.page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 180px 20px 80px;
    border-bottom: 1px solid var(--border-glass);
    background: radial-gradient(circle at bottom, rgba(0, 116, 153, 0.2) 0%, transparent 60%);
}

.about-content {
    padding: 80px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text {
    padding: 50px;
    border-radius: 20px;
    border-top: 2px solid var(--brand-blue);
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #fff;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-text strong {
    color: #fff;
}

.highlight-text {
    font-size: 1.4rem !important;
    color: var(--brand-orange) !important;
    font-weight: 600;
    font-style: italic;
    border-left: 4px solid var(--brand-orange);
    padding-left: 20px;
    margin-top: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.a-feature {
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.a-feature:hover {
    transform: translateX(10px);
    border-color: var(--brand-orange);
    background: rgba(255, 118, 0, 0.05);
}

.a-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 15px;
}

.a-feature:hover .a-icon {
    color: var(--brand-orange);
    text-shadow: 0 0 15px var(--brand-orange-glow);
}

.a-feature h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
}

.a-feature p {
    color: var(--text-muted);
}

.schedule ul {
    list-style: none;
    margin-top: 15px;
}

.schedule li {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.schedule li:last-child {
    border-bottom: none;
}

.schedule strong {
    color: #fff;
    display: inline-block;
    width: 150px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .glitch {
        font-size: 3.5rem;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .glitch {
        font-size: 2.5rem;
    }
    .hero .subtitle {
        font-size: 1.2rem;
    }
    .cta-group {
        flex-direction: column;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .contact-info {
        padding: 40px 20px;
    }
    .contact-action {
        padding: 40px 20px;
    }
    .pricing-grid {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }
    .pricing-card {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
    }
    section {
        padding: 60px 15px;
        overflow-x: hidden;
        width: 100%;
    }
    .price {
        font-size: 3rem;
    }
    .plan-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .tab-btn {
        width: 100%;
    }
}

/* --- Duo Badges --- */
.duo-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(45deg, #007499, #00d2ff);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 116, 153, 0.6);
    z-index: 5;
    border: 2px solid #07090f;
}

.duo-badge.duo-m {
    background: linear-gradient(45deg, #ff7600, #ffb347);
    box-shadow: 0 0 15px rgba(255, 118, 0, 0.6);
}

.duo-badge.duo-l {
    background: linear-gradient(45deg, #bc13fe, #e056fd);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.6);
}

/* --- Premium Channels --- */
.premium-ch {
    border-color: #ff7600;
    background: rgba(255, 118, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 118, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.premium-ch::after {
    content: 'PREMIUM';
    position: absolute;
    top: 5px;
    right: -25px;
    background: #ff7600;
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 25px;
    transform: rotate(45deg);
}

.premium-ch:hover {
    background: rgba(255, 118, 0, 0.2);
    border-color: #ff9900;
    box-shadow: 0 0 25px rgba(255, 118, 0, 0.4);
    transform: translateY(-5px) scale(1.05);
}

.premium-text {
    background: -webkit-linear-gradient(45deg, #ff7600, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* --- Mobile Menu --- */
.hamburger {
    display: none; /* Sigue oculto en computadoras */
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 99999 !important; /* Valor ultra alto para que NADA lo tape al bajar */
}

/* Corrección para que el menú lateral tape las barras fijas al abrirse */
@media (max-width: 991px) {
    .mobile-menu {
        z-index: 999999 !important; /* Capa superior absoluta para cubrir todo */
    }
    
    .mobile-menu-overlay {
        z-index: 999998 !important; /* El fondo oscuro también cubre las barras */
    }
}

/* En teléfonos y tablets se fuerza a ubicarse arriba a la derecha */
@media (max-width: 991px) { 
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 32px !important;
        height: 22px !important;
        position: absolute !important; /* Volvemos al absolute que te funcionó */
        top: 25px; /* Distancia exacta desde arriba */
        right: 20px; /* Distancia exacta desde la derecha */
    }
}

@media (max-width: 991px) {
    /* Fijamos la barra de contactos de arriba */
    .top-bar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99997 !important;
    }

    /* Fijamos la barra del logo respetando su transparencia original */
    .navbar {
        position: fixed !important;
        top: 40px !important; /* Se acomoda justo debajo de la barra de contactos */
        left: 0;
        width: 100%;
        z-index: 99997 !important;
        background: transparent !important; /* Le devolvemos la transparencia de tu diseño */
    }

    /* Le damos espacio al banner para que no se meta debajo de las barras fijas */
    .hero {
        margin-top: 110px !important;
    }
}

/* Líneas internas con tamaño y visualización garantizada */
.hamburger-line {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #ffffff !important; /* Blanco sólido */
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #020a14;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    padding: 30px 25px;
    box-shadow: -5px 0 25px rgba(0,0,0,0.8);
    transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
    border-left: 1px solid var(--brand-blue);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

section {
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-orange);
    box-shadow: 0 0 10px var(--brand-orange);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
}

.card-header h3 {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.popular .card-header h3 {
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 0;
    border-bottom: none;
}


.close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.close-menu:hover {
    color: var(--brand-orange);
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.mobile-nav-links a:hover {
    color: var(--brand-orange);
    padding-left: 10px;
}

.mobile-btn-container {
    margin-top: auto;
}

.mobile-btn-container .btn-glow {
    background: linear-gradient(90deg, #00d2ff, #bc13fe);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.4);
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px;
}


/* --- Chatbot --- */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2ff 0%, #bc13fe 100%);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(188, 19, 254, 0.5);
    z-index: 999;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(188, 19, 254, 0.7);
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 480px;
    background: var(--bg-card);
    border: 1px solid var(--brand-blue);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0, 116, 153, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 500px) {
    .chatbot-container {
        width: 90%;
        right: 5%;
        left: 5%;
        bottom: 90px;
    }
}

.chatbot-header {
    background: rgba(0, 116, 153, 0.4);
    padding: 15px 20px;
    color: #fff;
    font-weight: 700;
    font-family: 'Exo 2', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 116, 153, 0.6);
}

.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
}

.chat-message.bot {
    background: rgba(0, 116, 153, 0.2);
    border: 1px solid rgba(0, 116, 153, 0.4);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-message.user {
    background: rgba(255, 118, 0, 0.2);
    border: 1px solid rgba(255, 118, 0, 0.4);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px 15px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--brand-blue);
}

.chatbot-input button {
    background: var(--brand-blue);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.chatbot-input button:hover {
    background: #00d2ff;
    box-shadow: 0 0 15px var(--brand-blue-glow);
}

/* --- New Channels Categories Styling on Index --- */
.categories-container {
    padding: 40px;
    background: rgba(13, 17, 28, 0.4);
    border-radius: 0 0 20px 20px;
    border-top: 1px solid var(--border-glass);
}

.categories-intro {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(0, 116, 153, 0.4);
}

.categories-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-item {
    background: rgba(13, 17, 28, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.category-item:hover {
    border-color: var(--brand-orange);
    background: rgba(255, 118, 0, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(255, 118, 0, 0.15);
}

.category-item-bullet {
    color: var(--brand-orange);
    font-size: 1.5rem;
    text-shadow: 0 0 8px var(--brand-orange-glow);
    display: inline-block;
    transition: transform 0.3s ease;
}

.category-item:hover .category-item-bullet {
    transform: scale(1.3) rotate(360deg);
}

.category-item-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.category-item:hover .category-item-text {
    color: #fff;
}

.categories-action-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-parrilla-glow {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(45deg, var(--brand-blue), #00d2ff);
    color: #fff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px var(--brand-blue-glow);
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
}

.btn-parrilla-glow:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 30px #00d2ff;
    background: linear-gradient(45deg, #008fbc, #00f3ff);
}

/* --- Parrilla Page CSS --- */
.parrilla-intro-section {
    padding: 160px 20px 40px;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at bottom, rgba(0, 116, 153, 0.15) 0%, transparent 65%);
}

.parrilla-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 20px var(--brand-blue-glow);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.parrilla-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 500;
}

.parrilla-controls {
    max-width: 1000px;
    margin: 0 auto 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

.search-box-wrapper {
    flex: 1 1 350px;
    position: relative;
}

.search-box-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.search-input {
    width: 100%;
    background: rgba(13, 17, 28, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 14px 20px 14px 50px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 15px var(--brand-blue-glow);
}

.search-input:focus + i {
    color: #00d2ff;
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(13, 17, 28, 0.6);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    border-radius: 20px;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--brand-blue);
    color: #fff;
}

.filter-btn.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    box-shadow: 0 0 15px var(--brand-blue-glow);
}

.parrilla-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.channel-card-premium {
    background: rgba(13, 17, 28, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.channel-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
    opacity: 0;
    transition: opacity 0.3s;
}

.channel-card-premium:hover::before {
    opacity: 1;
}

.channel-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--brand-blue);
    background: rgba(20, 26, 43, 0.9);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(0, 116, 153, 0.25);
}

.logo-wrapper-premium {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    transition: all 0.3s;
}

.channel-card-premium:hover .logo-wrapper-premium {
    border-color: var(--brand-orange);
    box-shadow: 0 0 15px rgba(255, 118, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.logo-wrapper-premium img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.channel-card-premium:hover .logo-wrapper-premium img {
    transform: scale(1.15);
}

.channel-card-premium h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.channel-card-premium:hover h4 {
    color: var(--brand-orange);
}

.channel-category-tag {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-blue);
    letter-spacing: 1px;
    background: rgba(0, 116, 153, 0.1);
    padding: 3px 12px;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.channel-card-premium:hover .channel-category-tag {
    color: #00d2ff;
    background: rgba(0, 116, 153, 0.2);
    opacity: 0;
    transform: translateY(-10px);
}

.channel-hover-description {
    position: absolute;
    bottom: 22px;
    left: 15px;
    right: 15px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    text-align: center;
    line-height: 1.35;
    text-shadow: 0 0 8px rgba(0, 116, 153, 0.6);
}

.channel-card-premium:hover .channel-hover-description {
    opacity: 1;
    transform: translateY(0);
}

/* No results state */
.no-results-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(13, 17, 28, 0.4);
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

.no-results-msg i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.no-results-msg h3 {
    font-family: 'Exo 2', sans-serif;
    color: #fff;
    margin-bottom: 8px;
}

.no-results-msg p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .parrilla-title {
        font-size: 2.5rem;
    }
    .parrilla-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }
    .search-box-wrapper {
        flex: 1 1 auto;
    }
    .filter-categories {
        justify-content: center;
    }
    .parrilla-channels-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
}

/* --- Tamaños personalizados para logos individuales --- */
.logo-wester { 
    width: 130px !important;
    height: auto !important;
}
.logo-cine-war { 
    width: 90px !important;
    height: auto !important;
}
.logo-france-24 { 
    width: 70px !important;
    height: auto !important;
}
.logo-canal-13 { 
    width: 100px !important;
    height: auto !important;
}
.logo-fx { 
    width: 70px !important;
    height: auto !important;
}
.logo-mx-prime { 
    width: 150px !important;
    height: auto !important;
}
.logo-distrito-comedia {
    width: 80px !important;
    height: auto !important;
}
.logo-telenovelas {
    width: 100px !important;
    height: auto !important;
}
.logo-mega {
    width: 170px !important;
    height: auto !important;
}
.logo-la-red {
    width: 70px !important;
    height: auto !important;
}
.logo-girovision {
    width: 100px !important;
    height: auto !important;
}
.logo-informacion {
    width: 100px !important;
    height: auto !important;
}
.logo-t13-vivo {
    width: 70px !important;
    height: auto !important;
}
.logo-mega-2 {
    width: 100px !important;
    height: auto !important;
}
.logo-chilevision {
    width: 80px !important;
    height: auto !important;
}
.logo-tvn {
    width: 80px !important;
    height: auto !important;
}
.logo-avi-concert {
    width: 90px !important;
    height: auto !important;
}
.logo-etc {
    width: 90px !important;
    height: auto !important;
}
.logo-national-geographic {
    width: 95px !important;
    height: auto !important;
}
.logo-a3-series {
    width: 60px !important;
    height: auto !important;
}
.logo-star-channel {
    width: 80px !important;
    height: auto !important;
}
.logo-dhe {
    width: 80px !important;
    height: auto !important;
}
.logo-cinecanal {
    width: 80px !important;
    height: auto !important;
}
.logo-teletrak {
    width: 80px !important;
    height: auto !important;
}
.logo-horizont-wild {
    width: 90px !important;
    height: auto !important;
}
.logo-kanal-d-drama {
    width: 90px !important;
    height: auto !important;
}
.logo-cine-familiar {
    width: 100px !important;
    height: auto !important;
}
.logo-rec-tv {
    width: 80px !important;
    height: auto !important;
}
.logo-pasiones {
    width: 80px !important;
    height: auto !important;
}
.logo-las-estrellas {
    width: 130px !important;
    height: auto !important;
}
.logo-fmh-movies {
    width: 120px !important;
    height: auto !important;
}
.logo-fmh-family {
    width: 100px !important;
    height: auto !important;
}
.logo-fmh-rewind {
    width: 120px !important;
    height: auto !important;
}
.logo-animotion {
    width: 120px !important;
    height: auto !important;
}
.logo-atlas {
    width: 100px !important;
    height: auto !important;
}
.logo-kizzy {
    width: 80px !important;
    height: auto !important;
}
.logo-fmh-kids {
    width: 110px !important;
    height: auto !important;
}
.logo-cine-premium {
    width: 150px !important;
    height: auto !important;
}
.logo-disney-channel {
    width: 80px !important;
    height: auto !important;
}
.logo-america {
    width: 60px !important;
    height: auto !important;
}
.logo-telemundo {
    width: 70px !important;
    height: auto !important;
}
.logo-usa {
    width: 70px !important;
    height: auto !important;
}
.logo-moni-tv {
    width: 80px !important;
    height: auto !important;
}
.logo-amc-series {
    width: 100px !important;
    height: auto !important;
}
.logo-el-gourmet {
    width: 70px !important;
    height: auto !important;
}
.logo-universal-tv {
    width: 80px !important;
    height: auto !important;
}
.logo-sony-movies {
    width: 60px !important;
    height: auto !important;
}
.logo-amc {
    width: 70px !important;
    height: auto !important;
}
.logo-axn {
    width: 80px !important;
    height: auto !important;
}
.logo-sony-channel {
    width: 63px !important;
    height: auto !important;
}
.logo-e {
    width: 110px !important;
    height: auto !important;
}
.logo-love-nature {
    width: 80px !important;
    height: auto !important;
}
.logo-studio-universal {
    width: 90px !important;
    height: auto !important;
}
.logo-history {
    width: 120px !important;
    height: auto !important;
}
.logo-tve {
    width: 70px !important;
    height: auto !important;
}
.logo-cine-hispano {
    width: 150px !important;
    height: auto !important;
}
.logo-karanava { 
    width: 150px !important;
    height: auto !important;
}
.logo-golden { 
    width: 150px !important;
    height: auto !important;
}
.logo-24-horas { 
    width: 50px !important;
    height: auto !important;
}
.logo-cnn { 
    width: 70px !important;
    height: auto !important;
}
.logo-k-pop { 
    width: 80px !important;
    height: auto !important;
}
.logo-cine-classic { 
    width: 70px !important;
    height: auto !important;
}
.logo-antena-3 { 
    width: 60px !important;
    height: auto !important;
}
.logo-sun-channel { 
    width: 70px !important;
    height: auto !important;
}
.logo-tv-mas { 
    width: 90px !important;
    height: auto !important;
}
.logo-dw { 
    width: 70px !important;
    height: auto !important;
}
.logo-ewtn { 
    width: 100px !important;
    height: auto !important;
}
.logo-dhh { 
    width: 100px !important;
    height: auto !important;
}
.logo-humor { 
    width: 100px !important;
    height: auto !important;
}
.logo-tlc { 
    width: 80px !important;
    height: auto !important;
}
.logo-lifetime { 
    width: 50px !important;
    height: auto !important;
}
.logo-golden-edge { 
    width: 90px !important;
    height: auto !important;
}
.logo-senado-tv { 
    width: 80px !important;
    height: auto !important;
}
.logo-enlace { 
    width: 160px !important;
    height: auto !important;
}
.logo-rewind-2 { 
    width: 110px !important;
    height: auto !important;
}
.logo-avi-cine { 
    width: 80px !important;
    height: auto !important;
}
.logo-golden-plus { 
    width: 100px !important;
    height: auto !important;
}
.logo-vision-plus { 
    width: 80px !important;
    height: auto !important;
}
.logo-mx-series { 
    width: 100px !important;
    height: auto !important;
}
.logo-animados {
    width: 150px !important;
    height: auto !important;
}
.logo-chile-channel {
    width: 120px !important;
    height: auto !important;
}
.logo-musica-hits {
    width: 100px !important;
    height: auto !important;
}
.logo-santiago-tv {
    width: 150px !important;
    height: auto !important;
}
.logo-ztv {
    width: 140px !important;
    height: auto !important;
}
.logo-dos-kids {
    width: 130px !important;
    height: auto !important;
}
.logo-clover {
    width: 100px !important;
    height: auto !important;
}
.logo-history-2 {
    width: 70px !important;
    height: auto !important;
}
.logo-inf {
    width: 100px !important;
    height: auto !important;
}
.logo-espn {
    width: 80px !important;
    height: auto !important;
}

.logo-disney-junior {
    width: 80px !important;
    height: auto !important;
}

/* Location Map Styles */
.map-container {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

@media (min-width: 768px) {
    .map-container iframe {
        min-height: 450px;
    }
}

@media (max-width: 767px) {
    .map-container iframe {
        min-height: 250px;
    }
}

.testimonial-header img {
    position: absolute;
    top: 30px;
    right: 60px;

    width: 45px;
    height: 45px;

    border-radius: 50%;
    object-fit: cover;

    border: 2px solid #00cfff;
}

.footer-logo-img {
    max-width: 300px;
    height: auto;
    display: block;
}

footer {
    border-top: 1px solid rgba(138,43,226,.3);
    padding-top: 60px;
}

.footer-content {
    max-width: 1300px;
    margin: auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 50px;
}

.footer-column h3 {
    color: #a855f7;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #bfc7d5;
    text-decoration: none;
    transition: .3s;
}

.footer-column a:hover {
    color: #a855f7;
}

.footer-logo-img {
    width: 250px;
    margin-bottom: 20px;
}

.footer-bottom {
    margin-top: 50px;
    padding: 25px;
    border-top: 1px solid rgba(255,255,255,.08);

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    text-align: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #bfc7d5;
}

.footer-links a:hover {
    color: #a855f7;
}

.hero {
    /* Fuerza al contenedor padre a ignorar los 1200px y ocupar el ancho real de la pantalla */
    max-width: 100% !important; 
    width: 100% !important;
    margin: 0 auto !important;
    overflow-x: hidden; /* Oculta desbordamientos lógicos accidentales */
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 500;
}

.hero{
    padding-top: 0px;
    padding-bottom: 60px;
}

.hero-slider {
    /* Mantiene intacta tu fórmula original avanzada */
    width: 100vw;
    margin-top: 200px;
    margin-left: calc(50% - 50vw);
    height: clamp(320px, 32vw, 550px);
    overflow: hidden;
    position: relative; 
}

/* MODIFICA TU CLASE ACTUAL CON ESTO (TUS PARÁMETROS REALES UNIFICADOS) */
.hero-content {
    /* REGLAS ORIGINALES DE TU SEGUNDO BLOQUE INTACTAS */
    position: relative;   /* Parámetro tuyo intacto */
    text-align: center;   /* Parámetro tuyo intacto */
    padding: 0 20px;      /* Parámetro tuyo intacto */
    z-index: 1;           /* Parámetro tuyo intacto */
    
    /* REGLA ORIGINAL DE TU PRIMER BLOQUE INTACTA */
    max-width: 900px;     /* Recupera tus 900px originales para contener el texto */
    
    /* CORRECCIÓN SEGURA: Unifica tus márgenes de 50px agregando 'auto' a los lados */
    /* Esto mantiene tu separación vertical de 50px y centra la caja horizontalmente */
    margin: 50px auto;     
}

.hero-content .glitch {
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important; 
    font-weight: 900;                                 
    letter-spacing: 2px;                              
    margin-bottom: 20px;                             
    line-height: 1.1;                                 
}

.hero-content .subtitle {
    color: #cccccc;       
    font-size: 1.1rem;
    margin-bottom: 25px;  
}

.hero-slider .slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:opacity 1s ease;
}

.hero-slider .slide.active{
    opacity:1;
}

.hero-slider img{
    width:100%;
    height:100%;
    /* REGLA ORIGINAL INTACTA: Tu proporción compacta se cuida por completo */
    object-fit:contain; 
    
    /* CORRECCIÓN MAGISTRAL NATIVA: Le ordena al navegador ignorar el alineado automático izquierdo */
    /* y clavar la imagen físicamente al centro exacto de los 100vw */
    object-position: center center !important;
}

.hero-slider .slide img {
    /* REGLA ORIGINAL RESPETADA: Tus banners mantienen su proporción exacta y compacta sin estirarse */
    object-fit: contain; 
}

/* 1. CUANDO LA PANTALLA SEA CHICA, ESCONDE LOS ENLACES DE GOLPE */
@media (max-width: 768px) {
    .desktop-menu {
        display: none !important; /* Desaparece el bloque horizontal para que no estorbe */
    }

    /* 2. MUESTRA EL MENÚ SOLO CUANDO RECIBA LA CLASE .active DESDE EL SCRIPT */
    .desktop-menu.active {
        display: block !important; 
        position: absolute;
        top: 60px; /* Ajusta este número para que baje justo al borde de tu barra */
        left: 0;
        width: 100%;
        background-color: #0b0c10; /* Color oscuro de tu marca */
        z-index: 999;
    }

    /* 3. PONE LOS ENLACES UNO ABAJO DEL OTRO (EN VERTICAL) */
    .desktop-menu .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        padding: 20px 0;
    }
}

/* Incremento limpio y controlado solo para las letras de esta página */
.pagina-principal .contact-info-top span {
    font-size: 13px !important; /* Sube el tamaño base de forma segura */
    white-space: nowrap;        /* Evita estrictamente que el texto se salte de línea */
}

/* En pantallas grandes (PC), nos podemos permitir que crezcan un poco más */
@media (min-width: 1024px) {
    .pagina-principal .contact-info-top span {
        font-size: 16px !important; 
    }
}


/* AJUSTE EXCLUSIVO PARA EMPAREJAR EL FOOTER DE LA PÁGINA DE INICIO */
.pagina-principal footer a, 
.pagina-principal footer p, 
.pagina-principal footer span,
.pagina-principal .footer a, 
.pagina-principal .footer p, 
.pagina-principal .footer span {
    font-size: 14px !important; /* Ajusta a 15px o 16px si las otras páginas se ven más grandes */
    line-height: 1.6 !important;
}

.pagina-principal footer h3, 
.pagina-principal footer h4,
.pagina-principal .footer h3, 
.pagina-principal .footer h4 {
    font-size: 16px !important;
    font-weight: bold !important;
}

