/* =========================================
   1. VARIABLES Y RESET GLOBAL
   ========================================= */
:root {
    /* Paleta de Colores TERAFIX */
    --bg-dark: #0a0a0a;       /* Fondo principal muy oscuro */
    --bg-card: #141414;       /* Fondo de tarjetas/módulos */
    --text-main: #f0f0f0;     /* Texto principal */
    --text-muted: #a0a0a0;    /* Texto secundario */
    
    --accent-cyan: #00FFC2;   /* Acento Principal (Cian) */
    --accent-purple: #8A2BE2; /* Acento Secundario (Morado) */
    --accent-gold: #FFD700;   /* Acento Detalles (Dorado) */
    
    --gradient-btn: linear-gradient(90deg, #FFD700, #FFA500); /* Botón Principal */
    --gradient-text: linear-gradient(90deg, #00FFC2, #8A2BE2); /* Texto Degradado */
    
    /* Tipografía */
    --font-head: 'Roboto', sans-serif; /* Títulos (Fuerte) */
    --font-body: 'Inter', sans-serif;  /* Texto (Legible) */
    
    /* Dimensiones */
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* FIX DE DESBORDE Y ANCHO (SOLUCIÓN MÓVIL) */
html, body {
    width: 100%;                    /* Obliga a usar el 100% de la pantalla */
    overflow-x: hidden !important;  /* CRUCIAL: Corta todo lo que se salga a los lados */
    margin: 0;
    padding: 0;
    
    /* Estilos visuales */
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    
    /* Fix para Google Translate */
    top: 0 !important; 
    position: static !important;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER (Sticky & Layout 3 Columnas)
   ========================================= */
.main-header {
    background: rgba(10, 10, 10, 0.95); /* Casi negro, leve transparencia */
    backdrop-filter: blur(10px);        /* Efecto vidrio */
    height: var(--header-height);
    position: fixed;
    top: 0; 
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* --- IZQUIERDA: Logo --- */
.logo-area {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}
.logo-img {
    height: 45px;
    width: auto;
}

/* --- CENTRO: Navegación --- */
.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}
.nav-links a:hover {
    color: var(--accent-cyan);
}
/* Línea animada debajo de los links */
.nav-links a::after {
    content: '';
    position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0;
    background: var(--accent-cyan);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Dropdown Menu (Escritorio) */
.dropdown-item { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%; left: 0%; transform: none;
    background: var(--bg-card);
    width: 240px;
    padding: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    margin-top: 15px;
}
/* Triangulito del menú */
.dropdown-menu::before {
    content: ''; 
    position: absolute; 
    top: -6px; 
    left: 20px; 
    transform: none; 
    width: 0; 
    height: 0;
    border-left: 6px solid transparent; 
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--bg-card);
}
/* Puente invisible para evitar cierre accidental */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px; 
    background: transparent;
    display: block;
}

.dropdown-item:hover .dropdown-menu { display: flex; animation: fadeIn 0.3s ease; }

.dropdown-menu li a {
    padding: 12px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dropdown-menu li a:last-child { border-bottom: none; }
.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-cyan);
    padding-left: 25px;
}
.dropdown-menu li a::after { display: none; }
.dropdown-menu i { width: 25px; color: var(--accent-purple); }

/* --- DERECHA: Acciones --- */
.header-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    font-size: 1.2rem;
    color: var(--text-main);
}
.cart-btn:hover { color: var(--accent-gold); transform: scale(1.1); }

.cta-header {
    font-size: 0.85rem;
    padding: 10px 20px;
    white-space: nowrap; 
}

/* Selector de Idioma */
.lang-selector {
    position: relative;
    margin-right: 15px;
}
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex; align-items: center; gap: 5px;
    transition: 0.3s;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--accent-cyan); }
.lang-btn i { font-size: 0.7rem; }

.lang-dropdown {
    position: absolute; top: 100%; right: 0;
    background: #141414; border: 1px solid #333;
    border-radius: 6px; width: 120px;
    display: none; flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 1000; margin-top: 10px;
}
.lang-dropdown::after {
    content: ''; position: absolute; top: -10px; left: 0; width: 100%; height: 10px; background: transparent;
}
.lang-selector:hover .lang-dropdown { display: flex; animation: fadeIn 0.2s ease; }

.lang-dropdown a {
    padding: 10px 15px; font-size: 0.85rem; color: #ccc;
    text-decoration: none; border-bottom: 1px solid #222; transition: 0.2s;
}
.lang-dropdown a:hover { background: var(--accent-cyan); color: black; }
.lang-dropdown a.active { color: var(--accent-cyan); font-weight: bold; }

/* Hamburguesa (Oculto en PC) */
.menu-toggle {
    display: none;
    background: none; border: none;
    color: white; font-size: 1.5rem; cursor: pointer;
}

/* ===============================================
   3. HERO SECTION (LOTTIES + GLASS + DINÁMICO)
   =============================================== */
.product-hero {
    position: relative;
    width: 100%;
    height: 850px;
    background-color: #050505;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-portal-bg {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 194, 0.15) 0%, rgba(0,0,0,1) 70%);
    transition: background 1s ease; z-index: 1;
}

.product-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    position: relative; z-index: 2;
    width: 100%; max-width: 100%;
    padding-right: 0; height: 100%;
}

.product-visual {
    display: flex; justify-content: center; align-items: center;
    perspective: 1000px;
}

.lottie-wrapper {
    width: 550px; height: 550px;
    position: relative;
    display: flex; justify-content: center; align-items: center;
}

.lottie-glow {
    position: absolute; width: 150%; height: 150%;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 255, 194, 0.6) 0%, rgba(0,0,0,0) 70%);
    filter: blur(80px); z-index: -1; opacity: 0.7; pointer-events: none;
}

#hero-lottie { position: relative; z-index: 1; width: 100%; height: 100%; filter: drop-shadow(0 0 30px rgba(0,0,0,0.5)); }

.icon-shadow {
    position: absolute; bottom: 50px;
    width: 60%; height: 25px; background: black;
    border-radius: 50%; filter: blur(25px); opacity: 0.6;
    animation: shadowScale 4s ease-in-out infinite; z-index: -1;
}
.floating-anim { animation: floating 4s ease-in-out infinite; }

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}
@keyframes shadowScale {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(0.8); opacity: 0.3; }
}

.product-info {
    display: flex; justify-content: flex-end; width: 100%;
}

.info-card {
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none; border-radius: 40px 0 0 40px;
    padding: 80px 100px 80px 80px;
    width: 100%; max-width: 850px; margin-right: 0;
    box-shadow: -30px 0 80px rgba(0,0,0,0.5);
    opacity: 1; transform: translateX(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card.hidden-state { opacity: 0; transform: translateX(100px); }
.info-card.visible-state { opacity: 1; transform: translateX(0); }
.bg-fade-out { opacity: 0; }
.lottie-fade-out { opacity: 0; transform: scale(0.9) translateY(20px); }
.animate-circular-in { animation: circularIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards; }

@keyframes circularIn {
    0% { opacity: 0; transform: perspective(1000px) translateX(150px) translateZ(-100px) rotateY(-30deg); }
    100% { opacity: 1; transform: perspective(1000px) translateX(0) translateZ(0) rotateY(0deg); }
}

.info-card h4 {
    color: #bbb; letter-spacing: 4px; font-size: 0.9rem;
    margin-bottom: 15px; text-transform: uppercase; font-family: 'Genos', sans-serif;
}
.info-card h1 {
    font-size: 4rem; line-height: 1; margin-bottom: 25px;
    color: white; text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.info-card p {
    font-size: 1.3rem; color: #ccc; margin-bottom: 40px; line-height: 1.5;
}

#hero-btn {
    display: inline-block; padding: 18px 50px;
    font-family: 'Roboto', sans-serif; font-weight: 900;
    font-size: 1rem; text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; border-radius: 50px;
    background: transparent !important; background-image: none !important;
    color: #000000 !important; border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
#hero-btn:hover { transform: translateY(-5px) scale(1.05); filter: brightness(1.3); cursor: pointer; }
#hero-btn:active { transform: translateY(-2px) scale(0.98); }

.slider-controls-bottom {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 25px; align-items: center; z-index: 10;
    padding: 10px 20px; background: rgba(0,0,0,0.5);
    border-radius: 50px; backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}
.nav-btn {
    background: transparent; border: 1px solid rgba(255,255,255,0.3);
    color: white; width: 45px; height: 45px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.nav-btn:hover { background: white; color: black; }
.slider-dots { display: flex; gap: 12px; }
.dot { width: 12px; height: 12px; background: #555; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: white; transform: scale(1.3); box-shadow: 0 0 10px white; }

/* === SLIDE MAESTRO (Modo Full Screen) === */
.product-hero.hero-mode-maestro .product-grid {
    grid-template-columns: 1fr !important; width: 100% !important;
    max-width: 100% !important; padding: 0 !important; margin: 0 !important;
}
.product-hero.hero-mode-maestro .info-card {
    width: 100vw !important; max-width: none !important; height: 100% !important;
    margin: 0 !important; border-radius: 0 !important; border: none !important;
    background: rgba(0, 0, 0, 0.2) !important;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.product-hero.hero-mode-maestro .info-card h1 { font-size: 5vw; text-shadow: 0 0 30px rgba(255,255,255,0.3); z-index: 10; position: relative; }
.product-hero.hero-mode-maestro .product-visual {
    position: absolute !important; top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important; width: 100% !important; height: 100% !important;
    z-index: 0 !important; opacity: 0.15 !important; pointer-events: none;
}
.product-hero.hero-mode-maestro .lottie-wrapper { width: 800px !important; height: 800px !important; }
.product-hero.hero-mode-maestro #hero-btn { display: none !important; }

/* =========================================
   4. PARTNERS (Carrusel Infinito - OPTIMIZADO)
   ========================================= */
.partners-section {
    padding: 80px 0; background: #000; border-bottom: 1px solid #222; overflow: hidden;
}
.section-title {
    text-align: center; margin-bottom: 50px; font-family: var(--font-head);
    font-size: 1.5rem; color: #666; text-transform: uppercase; letter-spacing: 2px;
}
.logo-carousel-container { display: flex; flex-direction: column; gap: 50px; padding: 20px 0; }
.partner-row { display: flex; width: max-content; align-items: center; }

.partner-row img {
    height: 90px; width: auto; max-width: 220px; object-fit: contain;
    margin: 0 50px; filter: brightness(0) invert(1); opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.partner-row img:hover {
    opacity: 1; transform: scale(1.15); filter: none !important;
}

.partner-row-right { animation: scrollRight 60s linear infinite; }
.partner-row-left { animation: scrollLeft 60s linear infinite; }
@keyframes scrollRight { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollLeft { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* =========================================
   5. SECCIÓN ABOUT (VIDEO + MVV)
   ========================================= */
.about-section { padding: 80px 0; background: #0a0a0a; color: #fff; position: relative; }
.about-main-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }

.section-title-left { font-size: 2.5rem; margin-bottom: 10px; }
.highlight-text { color: var(--accent-cyan); }
.about-lead { color: #aaa; margin-bottom: 30px; font-size: 1.1rem; }

.video-container {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid #333;
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.about-mvv { display: flex; flex-direction: column; gap: 20px; }
.mvv-card {
    display: flex; align-items: flex-start; gap: 20px; background: rgba(255, 255, 255, 0.03);
    padding: 25px; border-radius: 12px; border-left: 4px solid #333; transition: 0.3s ease;
}
.mvv-card:hover { background: rgba(255, 255, 255, 0.06); border-left-color: var(--accent-cyan); transform: translateX(10px); }
.mvv-icon { font-size: 1.5rem; color: var(--accent-cyan); min-width: 40px; text-align: center; margin-top: 5px; }
.mvv-content h3 { margin: 0 0 10px 0; font-size: 1.2rem; color: #fff; }
.mvv-content p { margin: 0; font-size: 0.95rem; color: #ccc; line-height: 1.5; }

.about-stats {
    display: flex; justify-content: space-around; background: linear-gradient(90deg, #111, #1a1a1a, #111);
    padding: 40px; border-radius: 20px; border: 1px solid #333; flex-wrap: wrap; gap: 20px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stat i { font-size: 2rem; color: var(--accent-cyan); margin-bottom: 5px; }
.stat span { font-size: 1.8rem; font-weight: bold; color: #fff; }
.stat small { color: #888; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }

/* =========================================
   6. FOOTER (COMPACTO Y ELEGANTE)
   ========================================= */
.footer {
    background: #050505; padding: 50px 0 20px; border-top: 1px solid #1a1a1a; font-size: 0.85rem;
}
.footer-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 30px; padding-bottom: 30px;
}
.footer-col { flex: 1; min-width: 220px; }

.footer-brand-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-desc { color: #777; max-width: 260px; margin: 10px auto 0; line-height: 1.5; font-size: 0.8rem; }

.footer h4 {
    color: #fff; margin-bottom: 20px; font-size: 1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    border-left: 3px solid var(--accent-cyan); padding-left: 10px;
}
.footer-links {
    list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px;
}
.footer-links a { color: #aaa; text-decoration: none; transition: 0.3s; display: block; font-size: 0.85rem; }
.footer-links a:hover { color: var(--accent-cyan); padding-left: 3px; }
.footer-links li:last-child {
    grid-column: span 2; margin-top: 10px; border-top: 1px solid #222;
    padding-top: 10px; text-align: center;
}

.social-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.social-icons a {
    width: 35px; height: 35px; display: flex; align-items: center; justify-content: center;
    background: #151515; border-radius: 50%; color: #bbb; text-decoration: none;
    transition: all 0.3s ease; font-size: 0.9rem;
}
.social-icons a:hover { background: var(--accent-cyan); color: #000; transform: translateY(-3px); }

.footer-bottom { background: #000; padding: 15px; text-align: center; border-top: 1px solid #111; }
.footer-bottom p { color: #444; font-size: 0.75rem; margin: 0; }

/* =========================================
   7. MODALES & CHAT WIDGET
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 3000;
    display: flex; justify-content: center; align-items: center;
    opacity: 1; transition: opacity 0.3s;
}
.modal-overlay.hidden { opacity: 0; pointer-events: none; }
.modal-content {
    background: #151515; padding: 40px; border-radius: 12px; width: 90%; max-width: 500px;
    border: 1px solid #333; position: relative; box-shadow: 0 0 40px rgba(0, 255, 194, 0.1);
}
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #555; cursor: pointer; }
.modal-close:hover { color: var(--accent-cyan); }

.form-group { margin-bottom: 15px; }
input, select, textarea {
    width: 100%; padding: 12px; background: #0a0a0a; border: 1px solid #333;
    color: #fff; border-radius: 6px; font-family: var(--font-body);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent-cyan); outline: none; }
.btn-primary {
    background: var(--gradient-btn); color: #000; border: none; font-weight: 700;
    cursor: pointer; padding: 12px; border-radius: 6px; transition: 0.3s; width: 100%;
}

#terafix-chat-widget { position: fixed; bottom: 20px; right: 20px; z-index: 4000; font-family: var(--font-body); }
#chat-toggle-btn {
    width: 60px; height: 60px; border-radius: 50%; border: none;
    background: var(--gradient-text); color: white; font-size: 1.5rem; cursor: pointer;
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.4); transition: transform 0.3s;
}
#chat-toggle-btn:hover { transform: scale(1.1); }
#chat-window {
    width: 350px; height: 500px; background: #151515; border: 1px solid #333;
    border-radius: 12px; position: absolute; bottom: 80px; right: 0;
    display: flex; flex-direction: column; overflow: hidden;
    transition: 0.3s; transform-origin: bottom right;
}
#chat-window.hidden { transform: scale(0); opacity: 0; pointer-events: none; }
.chat-header { background: #1a1a1a; padding: 15px; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; color: white; }
#chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #0f0f0f; display: flex; flex-direction: column; gap: 10px; }
.message { max-width: 80%; padding: 10px 15px; border-radius: 10px; font-size: 0.9rem; }
.bot-message { background: #222; color: #ddd; align-self: flex-start; }
.user-message { background: var(--accent-purple); color: white; align-self: flex-end; }
.chat-input-area { padding: 10px; background: #1a1a1a; display: flex; gap: 10px; border-top: 1px solid #333; }

/* =========================================
   8. UTILITIES (GOOGLE TRANSLATE KILLER)
   ========================================= */
#google_translate_element, .goog-te-banner-frame, .goog-tooltip, .goog-te-gadget-icon, iframe[id^=":"] {
    display: none !important; visibility: hidden !important; height: 0 !important; width: 0 !important;
}

/* =========================================
   9. RESPONSIVE MAESTRO (CLEAN & ORDERED)
   ========================================= */

/* --- TIER 1: TABLETS Y LAPTOPS PEQUEÑAS (max-width: 992px) --- */
@media (max-width: 992px) {
    .product-hero {
        height: auto !important;
        min-height: 100vh; /* Ocupa al menos toda la pantalla */
        padding: 100px 0;
    }

    .product-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 30px;
    }

    /* En Tablet el Lottie puede ser mediano (NO GIGANTE) */
    .lottie-wrapper {
        width: 300px !important;
        height: 300px !important;
        margin: 0 auto 20px;
    }

    /* Orden: Imagen arriba, Texto abajo */
    .product-visual { order: 1; }
    .product-info { order: 2; justify-content: center; }

    /* Tarjeta centrada */
    .info-card {
        width: 80%;
        margin: 0 auto;
        padding: 40px;
        background: rgba(255, 255, 255, 0.05); /* Fondo sutil para leer mejor */
        border-radius: 20px;
        backdrop-filter: blur(10px);
    }

    /* Ajustes generales */
    .about-main-grid, .footer-row { grid-template-columns: 1fr; }
    .footer-row { justify-content: center; }
}

/* --- TIER 2: CELULARES (max-width: 768px) --- */
@media (max-width: 768px) {
    
    /* 1. HERO Y LOTTIES (Corrección Galaxy S10) */
    .product-hero {
        padding-top: 90px !important;
        padding-bottom: 120px !important; /* Espacio para que no se corte abajo */
    }

    /* AQUÍ ESTÁ EL FIX: Forzamos el tamaño pequeño en celular */
    .lottie-wrapper {
        width: 180px !important; /* De 350px bajamos a 180px */
        height: 180px !important;
        margin-bottom: 10px;
    }

    /* Tarjeta Compacta */
    .info-card {
        width: 95% !important;
        padding: 20px 15px !important;
        background: rgba(15, 15, 15, 0.85) !important; /* Fondo oscuro sólido */
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: none;
    }

    .info-card h1 {
        font-size: 26px !important; /* Título controlado */
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .info-card p {
        font-size: 0.95rem !important;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    #hero-btn {
        width: 100%;
        padding: 12px 0;
        text-align: center;
    }

    /* 2. HEADER Y MENÚ */
    .nav-links { display: none !important; } /* Ocultar menú escritorio */
    .header-actions { display: flex !important; gap: 10px; flex: 1; justify-content: flex-end; }
    
    /* Icono de Cotización (Tu petición anterior) */
    .cta-header {
        display: flex !important;
        width: 40px !important; height: 40px !important;
        padding: 0 !important; border-radius: 50%;
        font-size: 0 !important;
        align-items: center; justify-content: center;
        background: var(--gradient-btn);
    }
    .cta-header::before {
        content: '\f571'; /* Icono billete */
        font-family: "Font Awesome 6 Free";
        font-weight: 900; font-size: 1.2rem; color: #000;
    }
    
    .menu-toggle { display: block !important; font-size: 1.8rem; color: white; }

    /* 3. MENU DESPLEGABLE (Full Screen) */
    .nav-center {
        position: fixed; top: var(--header-height); left: 0;
        width: 100%; height: 0;
        background: rgba(5, 5, 5, 0.98);
        overflow: hidden;
        transition: height 0.4s ease;
        display: flex; flex-direction: column;
        z-index: 999;
    }
    .nav-center.active { height: calc(100vh - var(--header-height)); }
    
    /* Mostrar links al abrir */
    .nav-center.active .nav-links {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 25px;
        opacity: 0;
        animation: fadeInLinks 0.4s ease 0.2s forwards;
    }
    .nav-center.active .nav-links a { font-size: 1.4rem; color: white; display: block; }
    
    /* Dropdowns planos */
    .dropdown-menu {
        position: static; display: block; 
        background: transparent; border: none; 
        box-shadow: none; padding: 5px 0; width: 100%; text-align: center;
    }
    .dropdown-menu::before { display: none; }
    .dropdown-menu li a { font-size: 1rem !important; color: #aaa !important; }

    /* 4. FOOTER & EXTRAS */
    .partner-row img { height: 30px !important; margin: 0 10px !important; }
    .footer-row { flex-direction: column; gap: 40px; text-align: center; }
    .footer-col { width: 100%; }
    .container { padding-left: 15px; padding-right: 15px; width: 100%; }
}

/* ANIMACIÓN (Fuera de los media queries) */
@keyframes fadeInLinks {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   10. FUNCIONALIDAD MENÚ MÓVIL (PANTALLA COMPLETA)
   ========================================= */
@media (max-width: 768px) {
    /* El menú comienza oculto (altura 0) */
    .nav-center {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        overflow: hidden;
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }

    /* Cuando el JS agrega la clase 'active', se abre */
    .nav-center.active {
        height: calc(100vh - var(--header-height));
    }

    /* Animación de los enlaces al abrirse */
    .nav-center.active .nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 25px;
        text-align: center;
        opacity: 0;
        /* Aquí llamamos a la animación, pero la definimos abajo */
        animation: fadeInLinks 0.5s ease 0.2s forwards;
    }
    
    .nav-center.active .nav-links a {
        font-size: 1.4rem;
        color: #fff;
        display: block;
    }
    
    /* Ocultar dropdowns complejos en móvil y mostrar todo plano */
    .dropdown-menu {
        position: static;
        display: block;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 10px 0 0;
        width: 100%;
    }
    .dropdown-menu::before { display: none; }
    .dropdown-menu li a { 
        font-size: 1rem !important; 
        color: #aaa !important; 
        border: none;
        padding: 5px 0;
    }
} /* <--- AQUÍ CERRAMOS EL MEDIA QUERY (LA LLAVE QUE FALTABA) */


/* --- ANIMACIÓN (DEFINIDA AFUERA PARA EVITAR ERRORES) --- */
@keyframes fadeInLinks {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   SECCIÓN DE PRECIOS INTELIGENTE
   ========================================= */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #0a0a0a, #111);
    position: relative;
}

/* --- SWITCH (Interruptor) --- */
.pricing-switch-container {
    display: flex; justify-content: center; align-items: center; gap: 15px;
    margin: 40px 0; font-size: 1.1rem; color: #fff; font-weight: bold;
}
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333; transition: .4s; border-radius: 34px;
}
.slider:before {
    position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px;
    background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--accent-cyan); }
input:checked + .slider:before { transform: translateX(26px); }

/* Etiquetas del Switch */
.switch-label { opacity: 0.5; transition: 0.3s; }
.pricing-switch-container.active-monthly .switch-label:last-child { opacity: 1; color: var(--accent-cyan); }
.pricing-switch-container.active-single .switch-label:first-child { opacity: 1; color: var(--accent-gold); }

/* --- GRID DE TARJETAS --- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; animation: fadeIn 0.5s ease;
}
.hidden-grid { display: none; }

/* --- TARJETA DE PRECIO --- */
.price-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px; padding: 40px 30px;
    position: relative; transition: 0.3s;
    display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-10px); border-color: var(--accent-cyan); background: rgba(255, 255, 255, 0.06); }

/* Tarjeta Destacada (Recomendado) */
.featured-card { border: 1px solid var(--accent-cyan); box-shadow: 0 0 20px rgba(0, 255, 194, 0.1); }
.badge-pop {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--accent-cyan); color: #000; padding: 5px 15px;
    font-size: 0.8rem; font-weight: bold; border-radius: 20px;
    text-transform: uppercase;
}

.price-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.price { font-size: 2.5rem; font-weight: 900; color: #fff; margin-bottom: 5px; }
.price .period { font-size: 1rem; color: #888; font-weight: 400; }
.desc { color: #aaa; font-size: 0.95rem; margin-bottom: 25px; min-height: 40px; }

/* Lista Previa */
.features-preview { list-style: none; margin-bottom: 20px; text-align: left; }
.features-preview li { color: #ddd; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.features-preview i { color: var(--accent-cyan); }

/* --- ACORDEÓN DE DETALLES (EL COMBO) --- */
.details-accordion { margin-top: auto; margin-bottom: 20px; width: 100%; }
.accordion-btn {
    background: none; border: none; color: var(--text-muted);
    font-size: 0.9rem; cursor: pointer; text-decoration: underline;
    width: 100%; text-align: center; padding: 10px; transition: 0.3s;
}
.accordion-btn:hover { color: #fff; }
.accordion-content {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    background: rgba(0,0,0,0.2); border-radius: 8px;
}
.accordion-content.open { max-height: 500px; /* Altura suficiente para mostrar todo */ }

.full-details-list { list-style: none; padding: 15px; text-align: left; font-size: 0.85rem; color: #ccc; }
.full-details-list li { margin-bottom: 8px; padding-left: 10px; border-left: 2px solid #333; }
.full-details-list li.exclusion { border-left-color: #ff4444; color: #ff9999; }