/* =========================================
   GLOBAL CSS - TECHNO BY SE (ESTABLE FINAL)
   ========================================= */

:root {
    --active-theme: #e50914; 
    --primary-red: #e50914;    
    --neon-glow: 0 0 10px rgba(229, 9, 20, 0.7);
    --dark-bg: #050505;        
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
}

/* FIX PARA EVITAR SALTOS DE PANTALLA */
html {
    overflow-y: scroll; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; 
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: transparent; 
    z-index: 1; 
    pointer-events: none; 
}

#particles-js canvas {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

/* --- HEADER ESTABILIZADO --- */
header {
    height: 80px; 
    padding: 0 5%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; 
    top: 0;
    z-index: 1000; 
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

header .logo h1 {
    font-size: 1.8rem;
    color: white;
    font-weight: 800;
    text-shadow: var(--neon-glow);
    white-space: nowrap;
}
header .logo h1 span { color: var(--primary-red); }

nav ul { list-style: none; display: flex; gap: 20px; }

nav ul li a {
    color: white;
    padding: 8px 16px;
    border-radius: 30px; 
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    border: 1px solid transparent;
}

nav ul li a:hover, nav ul li a.active {
    background: rgba(229, 9, 20, 0.15);
    color: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: var(--neon-glow);
}

.menu-icon { display: none; font-size: 2rem; cursor: pointer; color: white; }

footer {
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.9);
    color: #888;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
    margin-top: auto;
}

/* --- PARCHE ANTI-TEMBLOR (CORREGIDO) --- */
/* .service-card NO ESTÁ AQUÍ para permitir su animación */
.logo-card, .benefit-item, .combo-card {
    transition: transform 0s linear !important; 
    transition-property: background-color, border-color, box-shadow, color;
    transition-duration: 0.3s;
}

@media (max-width: 768px) {
    .menu-icon { display: block; }
    nav ul {
        display: none; flex-direction: column;
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(0,0,0,0.95); padding: 20px 0;
    }
    nav ul.show { display: flex; }
    nav ul li { text-align: center; margin: 10px 0; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--active-theme); }