/* ==========================================================================
   BP SERIES 2026 - HOJA DE ESTILOS OFICIAL (SEO & PERFORMANCE OPTIMIZED)
   ========================================================================== */

/* 1. RESET & CORE CONFIG
   ========================================================================== */
html { 
    scroll-behavior: auto; 
} 

body { 
    margin: 0; 
    font-family: sans-serif; 
    background-color: #0d162b; 
    color: #ffffff; 
    overflow-x: hidden; 
}

/* Contenedor Global: Centrado Matemático Absoluto */
.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

section { 
    padding: clamp(80px, 10vw, 140px) 0; 
    position: relative; 
    width: 100%; 
    box-sizing: border-box; 
}

/* Componentes de Utilidad global */
.text-volt { color: #B4E150 !important; }
.highlight-volt { color: #B4E150; }
.font-bold { font-weight: 700; }

/* 2. HEADER & NAVEGACIÓN
   ========================================================================== */
.site-header-nav { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 90px; 
    background: rgba(13, 22, 43, 0.85); 
    backdrop-filter: blur(20px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
    z-index: 1000; 
    display: flex; 
    align-items: center; 
}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* Forzar proporciones correctas del Logotipo de la marca */
.brand-logo img, 
header .logo img, 
.navbar-brand img, 
img[src*="BP-series-logo.svg"] { 
    height: 60px !important; 
    width: auto !important; 
    display: block; 
}

.nav-links { 
    display: flex; 
    gap: 30px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

.nav-link-item { 
    color: #ffffff; 
    text-decoration: none; 
    font-size: 0.85rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: color 0.3s; 
}

.nav-link-item:hover { 
    color: #B4E150; 
}

/* Menú Hamburguesa Móvil */
.menu-toggle { 
    display: none; 
    flex-direction: column; 
    justify-content: space-between; 
    width: 26px; 
    height: 18px; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    padding: 0; 
    z-index: 1100; 
}

.hamburger-line { 
    width: 100%; 
    height: 2px; 
    background-color: #ffffff; 
    transition: transform 0.3s, opacity 0.3s; 
    transform-origin: left center; 
}

/* 3. VIDEO BACKGROUND INMERSIVO
   ========================================================================== */
.video-bg-wrapper { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    z-index: -1; 
    overflow: hidden; 
}

.video-bg-element { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.video-bg-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, rgba(13, 22, 43, 0.7) 0%, rgba(13, 22, 43, 0.4) 50%, rgba(13, 22, 43, 0.2) 100%); 
    z-index: 1; 
}

/* 4. HERO SECTION
   ========================================================================== */
.hero-section { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    padding-top: 120px; 
}

.hero-title { 
    font-size: clamp(2.2rem, 5vw, 4.5rem); 
    font-weight: 800; 
    line-height: 1.1; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
}

.hero-subtitle { 
    font-size: clamp(1rem, 1.8vw, 1.25rem); 
    color: #ffffff; 
    max-width: 600px; 
    margin-bottom: 35px; 
    line-height: 1.4; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

.badge-geo { 
    color: #B4E150; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    display: inline-block; 
    margin-bottom: 15px; 
    font-size: 0.9rem; 
}

.hero-actions { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
}

/* Botones Premium */
.btn-primary, .btn-secondary { 
    padding: 15px 30px; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 1px; 
    text-decoration: none; 
    border-radius: 4px; 
    transition: all 0.3s; 
    display: inline-block; 
    text-align: center; 
}

.btn-primary { 
    background: #B4E150; 
    color: #162E63; 
    border: 1px solid #B4E150; 
}

.btn-primary:hover { 
    background: #ffffff; 
    color: #162E63; 
    border-color: #ffffff; 
}

.btn-secondary { 
    border: 2px solid #ffffff; 
    color: #ffffff; 
    background: rgba(255,255,255,0.05); 
    backdrop-filter: blur(5px); 
}

.btn-secondary:hover { 
    background: #ffffff; 
    color: #162E63; 
}

/* 5. SECCIÓN PRÓXIMO EVENTO
   ========================================================================== */
.event-section { 
    background: radial-gradient(circle at top left, rgba(13, 22, 43, 0.4), transparent); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.03); 
}

.event-container { 
    display: grid; 
    grid-template-columns: 1.1fr 1fr; 
    gap: 40px; 
    align-items: stretch; 
}

.event-card-main { 
    background: rgba(13, 22, 43, 0.85); 
    border: 1px solid rgba(255, 255, 255, 0.12); 
    border-radius: 12px; 
    padding: clamp(25px, 4vw, 50px); 
    backdrop-filter: blur(15px); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.event-badge-edition { 
    background: #ff5722; 
    color: #ffffff; 
    display: inline-block; 
    align-self: flex-start; 
    padding: 6px 14px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    border-radius: 3px; 
    margin-bottom: 15px; 
}

.presented-by { 
    color: #cbd5e1; 
    font-size: 0.9rem; 
    letter-spacing: 0.5px; 
    margin-bottom: 5px; 
}

.presented-by strong { 
    color: #ffffff; 
}

.event-main-title { 
    font-size: clamp(2rem, 4vw, 3rem); 
    font-weight: 900; 
    color: #ffffff; 
    line-height: 1; 
    margin-bottom: 30px; 
    letter-spacing: -1px; 
}

.event-meta-info { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    margin-bottom: 35px; 
}

.meta-item { 
    display: flex; 
    align-items: center; 
    gap: 18px; 
}

.meta-icon { 
    color: #B4E150; 
    font-size: 1.2rem; 
    background: rgba(180, 225, 80, 0.15); 
    width: 44px; 
    height: 44px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    flex-shrink: 0; 
    border: 1px solid rgba(180, 225, 80, 0.25); 
}

.meta-item h4 { 
    font-size: 0.8rem; 
    color: #94a3b8; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin: 0; 
}

.meta-item p { 
    font-size: 1.15rem; 
    color: #ffffff; 
    font-weight: 600; 
    margin: 2px 0 0 0; 
}

.meta-item p small { 
    font-size: 0.8rem; 
    color: #94a3b8; 
    font-weight: 400; 
}

.ranking-note { 
    font-size: 0.85rem; 
    color: #cbd5e1; 
    border-left: 3px solid #ff5722; 
    padding-left: 12px; 
    margin-bottom: 35px; 
}

.btn-register { 
    box-shadow: 0 4px 25px rgba(180, 225, 80, 0.3); 
}

.sub-cta-text { 
    font-size: 0.8rem; 
    color: #94a3b8; 
    margin-top: 12px; 
    text-align: center; 
}

/* Panel Lateral de Premios */
.event-rewards-panel { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    background: rgba(9, 15, 30, 0.9); 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: 12px; 
    padding: clamp(25px, 4vw, 40px); 
    backdrop-filter: blur(20px); 
}

.rewards-header { 
    border-bottom: 1px solid rgba(255, 255, 255, 0.12); 
    padding-bottom: 20px; 
    margin-bottom: 25px; 
}

.rewards-header h3 { 
    font-size: 1.5rem; 
    color: #ffffff; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.road-to { 
    font-size: 0.85rem; 
    color: #B4E150; 
    font-weight: 700; 
    letter-spacing: 0.5px; 
    text-transform: uppercase; 
    display: block; 
    margin-top: 4px; 
}

.rewards-list { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    padding: 0; 
    margin: 0; 
}

.rewards-list li { 
    display: flex; 
    gap: 20px; 
    align-items: flex-start; 
}

.reward-icon-box { 
    background: rgba(255, 255, 255, 0.07); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    width: 48px; 
    height: 48px; 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.25rem; 
    flex-shrink: 0; 
    color: #B4E150; 
}

.reward-text strong { 
    display: block; 
    font-size: 1.1rem; 
    color: #ffffff; 
    margin-bottom: 4px; 
}

.reward-text p { 
    font-size: 0.95rem; 
    color: #cbd5e1; 
    line-height: 1.45; 
    margin: 0; 
}

/* 6. SECCIÓN ACERCA DE
   ========================================================================== */
.about-grid { 
    display: grid; 
    grid-template-columns: 1.6fr 1fr; 
    gap: 50px; 
    align-items: center; 
}

.about-brand h2 { 
    font-size: clamp(1.8rem, 3vw, 2.5rem); 
    margin-bottom: 25px; 
    color: #ffffff; 
    text-transform: uppercase; 
}

.lead-text { 
    font-size: clamp(1.1rem, 1.8vw, 1.3rem); 
    color: #ffffff; 
    margin-bottom: 20px; 
    line-height: 1.5; 
}

.body-text { 
    color: #cbd5e1; 
    line-height: 1.6; 
    font-size: 0.95rem; 
}

.about-seo-card { 
    background: rgba(13, 22, 43, 0.85); 
    border: 1px solid rgba(255,255,255,0.12); 
    padding: 40px; 
    border-radius: 8px; 
    backdrop-filter: blur(10px); 
}

.about-seo-card h3 { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    color: #94a3b8; 
    letter-spacing: 2px; 
}

.geo-focus { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: #ff5722; 
    margin: 10px 0 15px; 
    text-transform: uppercase; 
}

.about-seo-card .desc { 
    color: #ffffff; 
    font-size: 0.95rem; 
    line-height: 1.5; 
}

/* 7. PUNTO DE DECISIÓN (LIVE SCOREBOARD)
   ========================================================================== */
.section-title-box { 
    text-align: center; 
    margin-bottom: clamp(30px, 5vw, 60px); 
}

.section-title-box h2 { 
    font-size: clamp(1.8rem, 3vw, 2.5rem); 
    text-transform: uppercase; 
    color: #ffffff; 
}

.section-title-box p { 
    color: #cbd5e1; 
    margin-top: 10px; 
    font-size: 0.95rem; 
}

.scoreboard-container-responsive { 
    width: 100%; 
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 0 20px; 
    box-sizing: border-box; 
}

.scoreboard-card-wrapper { 
    background: rgba(9, 15, 30, 0.9); 
    border: 1px solid rgba(255,255,255,0.15); 
    border-radius: 12px; 
    backdrop-filter: blur(20px); 
    padding: clamp(15px, 3vw, 30px); 
}

.scoreboard-card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid rgba(255,255,255,0.12); 
    padding-bottom: 18px; 
    margin-bottom: 20px; 
}

.court-label { 
    color: #ffffff; 
    font-size: 0.9rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.visual-live-pulse { 
    color: #ff3b30; 
    animation: pulse-live 1.5s infinite; 
    font-size: 0.75rem; 
}

@keyframes pulse-live { 
    0% { opacity: 0.4; } 
    50% { opacity: 1; } 
    100% { opacity: 0.4; } 
}

.status-badge { 
    background: #ff3b30; 
    color: white; 
    padding: 4px 12px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    border-radius: 3px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.scoreboard-table-matrix { 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
}

.matrix-header-row { 
    display: grid; 
    grid-template-columns: 2.5fr repeat(3, 1fr) 1.2fr; 
    gap: 15px; 
    padding: 10px 15px; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
}

.matrix-player-row { 
    display: grid; 
    grid-template-columns: 2.5fr repeat(3, 1fr) 1.2fr; 
    gap: 15px; 
    padding: 20px 15px; 
    background: rgba(255,255,255,0.02); 
    border-radius: 6px; 
    align-items: center; 
}

.m-cell { 
    color: #ffffff; 
    font-size: 1rem; 
}

.matrix-header-row .m-cell { 
    color: #94a3b8; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 0.5px; 
}

.text-left { text-align: left; }
.text-center { text-align: center; }

.player-profile { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
}

.player-profile .name { 
    font-size: 1.2rem; 
    font-weight: 700; 
    color: #ffffff; 
}

.player-profile .corporate { 
    font-size: 0.85rem; 
    color: #94a3b8; 
}

.score-cell { 
    text-align: center; 
    font-size: 1.3rem; 
    font-weight: 600; 
    color: #94a3b8; 
}

.current-live-set { 
    color: #ffffff; 
    font-weight: 700; 
    background: rgba(255,255,255,0.05); 
    border-radius: 4px; 
    padding: 5px 0; 
}

.real-points-cell { 
    text-align: center; 
    color: #B4E150; 
    font-size: 2rem; 
    font-weight: 800; 
    text-shadow: 0 0 10px rgba(180, 225, 80, 0.2); 
}

/* 8. CAROUSEL DE SPONSORS (FONDO CLARO ESTRATÉGICO)
   ========================================================================== */
.sponsors-section { 
    background-color: rgba(255, 255, 255, 0.98); 
    overflow: hidden; 
    padding: clamp(60px, 8vw, 100px) 0; 
}

.sponsors-section .section-title-box h2 { 
    color: #162E63; 
}

.carousel-container { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
}

.carousel-track-wrapper { 
    overflow: hidden; 
    width: 100%; 
    max-width: 960px; 
}

.carousel-track { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
}

.sponsor-slide { 
    flex: 0 0 calc(25% - 30px); 
    display: flex; 
    justify-content: center; 
}

.sponsor-slide img { 
    max-width: 100%; 
    height: auto; 
    max-height: 55px; 
    object-fit: contain; 
}

.carousel-btn { 
    background: transparent; 
    color: #162E63; 
    border: none; 
    font-size: 1.8rem; 
    cursor: pointer; 
    padding: 0 20px; 
    z-index: 10; 
    transition: color 0.2s; 
}

.carousel-btn:hover { 
    color: #ff5722; 
}

/* 9. FOOTER & FIRMA DE AGENCIA
   ========================================================================== */
.site-footer { 
    padding: 35px 20px; 
    text-align: center; 
    background-color: #090f1e; 
    border-top: 1px solid rgba(255, 255, 255, 0.06); 
}

.iluminare-signature { 
    display: inline-flex; 
    flex-direction: row; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    text-decoration: none; 
    opacity: 0.75; 
    transition: opacity 0.3s; 
}

.iluminare-signature:hover { 
    opacity: 1; 
}

.iluminare-signature span { 
    color: #94a3b8; 
    font-size: 0.75rem; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
    font-weight: 500; 
}

.iluminare-signature img { 
    height: 24px !important; 
    width: auto !important; 
    display: block; 
}

/* 10. MICRO-INTERACCIONES Y EFECTOS SUTILES DE HOVER
   ========================================================================== */
.event-card-main, 
.event-rewards-panel, 
.about-seo-card, 
.scoreboard-card-wrapper { 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease; 
}

.event-card-main:hover, 
.event-rewards-panel:hover, 
.about-seo-card:hover, 
.scoreboard-card-wrapper:hover { 
    transform: scale(1.02) translateY(-3px); 
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); 
    border-color: rgba(180, 225, 80, 0.35) !important; 
}

/* ==========================================================================
   11. MEDIA QUERIES (RESPONSIVE COMPLETAMENTE FLUIDO)
   ========================================================================== */
@media (max-width: 992px) {
    .event-container { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .sponsor-slide { 
        flex: 0 0 calc(33.333% - 27px); 
    }
}

@media (max-width: 768px) {
    /* Menú Mobile Desplegable */
    .menu-toggle { 
        display: flex; 
    }
    
    .nav-wrapper { 
        position: fixed; 
        top: 90px; 
        left: 0; 
        width: 100%; 
        background: rgba(9, 15, 30, 0.98); 
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
        padding: 30px 0; 
        opacity: 0; 
        visibility: hidden; 
        transform: translateY(-20px); 
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    }
    
    .nav-wrapper.mobile-active { 
        opacity: 1; 
        visibility: visible; 
        transform: translateY(0); 
    }
    
    .nav-links { 
        flex-direction: column; 
        align-items: center; 
        gap: 25px; 
    }
    
    /* Transformación de Hamburguesa a X (Cerrar) */
    .menu-toggle.open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(2px, 1px); }
    .menu-toggle.open .hamburger-line:nth-child(2) { opacity: 0; }
    .menu-toggle.open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(1px, -1px); }

    .hero-actions { 
        flex-direction: column; 
        width: 100%; 
        max-width: 320px; 
        margin: 0 auto; 
    }
    
    .btn-primary, .btn-secondary { 
        text-align: center; 
        width: 100%; 
    }
    
    .sponsor-slide { 
        flex: 0 0 calc(50% - 20px); 
    }
    
    /* Transformación de Tabla de Marcador a Cards Apiladas */
    .matrix-header-row { 
        display: none; 
    } 
    
    .matrix-player-row { 
        grid-template-columns: 1fr; 
        gap: 12px; 
        padding: 20px; 
        border: 1px solid rgba(255,255,255,0.08); 
        margin-bottom: 15px; 
    }
    
    .player-profile { 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
        padding-bottom: 12px; 
    }
    
    .score-cell, .real-points-cell { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 4px 0; 
        font-size: 1.15rem; 
    }
    
    /* Inyección de labels de tabla mediante pseudo-elementos */
    .score-cell::before, .real-points-cell::before { 
        content: attr(data-label); 
        color: #94a3b8; 
        font-size: 0.8rem; 
        text-transform: uppercase; 
        font-weight: 700; 
    }
    
    .current-live-set { 
        background: rgba(180, 225, 80, 0.1); 
        border: 1px solid rgba(180, 225, 80, 0.2); 
        padding: 6px 12px; 
        border-radius: 4px; 
    }
    
    .real-points-cell { 
        font-size: 1.6rem; 
        color: #B4E150; 
        border-top: 1px dashed rgba(255,255,255,0.1); 
        padding-top: 10px; 
    }
}

@media (max-width: 480px) {
    .sponsor-slide { 
        flex: 0 0 100%; 
    }
    .carousel-track-wrapper { 
        padding: 0 35px; 
    }
    .carousel-btn { 
        position: absolute; 
        background: rgba(255, 255, 255, 0.95); 
        box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
        border-radius: 50%; 
        width: 38px; 
        height: 38px; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
    }
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
    .iluminare-signature { 
        flex-direction: column; 
        gap: 8px; 
    }
}

/* ==========================================================================
   ACTUALIZACIONES BREAKPOINT SERIES - VIDEO, INSTAGRAM Y RESPONSIVE FIXES
   ========================================================================== */

/* Control de visibilidad de videos */
.video-bg-desktop {
    display: block;
}
.video-bg-mobile {
    display: none;
}

/* Redes Sociales - Header */
.nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}
.nav-social-link:hover {
    color: #B4E150;
}

/* Redes Sociales - Footer */
.footer-social-wrapper {
    margin-top: 15px;
}
.footer-social-link {
    color: #ffffff;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}
.footer-social-link:hover {
    color: #B4E150;
}

/* Media Queries Quirúrgicas para Dispositivos Móviles */
@media (max-width: 768px) {
    .video-bg-desktop {
        display: none;
    }
    .video-bg-mobile {
        display: block;
    }
    .nav-social-link {
        margin: 15px 0 0 0;
        font-size: 1.5rem;
    }
    
    /* Centrado perfecto de elementos y botones en el Hero */
    .hero-container-inner {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 15px;
    }
    .hero-actions .btn-primary, 
    .hero-actions .btn-secondary {
        width: 85% !important;
        max-width: 320px;
        text-align: center;
        box-sizing: border-box;
        margin: 0 auto !important;
    }

    /* Corrección de padding y desborde en la tarjeta de inscripción */
    .event-card-main {
        box-sizing: border-box;
        padding: 30px 20px !important;
        width: 100% !important;
        overflow: hidden;
    }
    .event-cta-block {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        padding: 0 !important;
    }
    .btn-register {
        width: 100% !important;
        box-sizing: border-box;
        display: block;
        text-align: center;
        margin: 0 auto !important;
    }
}
/* ==========================================================================
   CABECERA PREMIUM: HOVERS ANIMADOS Y FIX DE INSTAGRAM
   ========================================================================== */

/* Enlaces del menú base */
.nav-links li a.nav-link-item {
    position: relative;
    color: #ffffff;
    text-decoration: none !important; /* Asegura eliminar cualquier subrayado por defecto */
    transition: color 0.3s ease;
    padding: 8px 0;
}

/* Cambio de color del texto al pasar el mouse */
.nav-links li a.nav-link-item:hover {
    color: #B4E150; /* Tu verde volt corporativo */
}

/* Animación del subrayado estético (Efecto expansión desde el centro) */
.nav-links li a.nav-link-item::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #B4E150;
    transform-origin: bottom center;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links li a.nav-link-item:hover::after {
    transform: scaleX(1);
}

/* ==========================================================================
   ELIMINACIÓN DE LÍNEA EN INSTAGRAM (FIX CAPTURA DE PANTALLA)
   ========================================================================== */
.nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    margin-left: 15px;
    text-decoration: none !important; /* Mata la línea inferior de la captura */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

/* Animación micro-interactiva para el icono de Instagram (Pop sutil) */
.nav-social-link:hover {
    color: #B4E150;
    transform: scale(1.18); /* Crece sutilmente con un efecto elástico */
    text-decoration: none !important;
}

/* Aplicar el mismo fix al footer para curarse en salud */
.footer-social-link {
    color: #ffffff;
    font-size: 1.6rem;
    text-decoration: none !important;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.footer-social-link:hover {
    color: #B4E150;
    transform: scale(1.15);
    text-decoration: none !important;
}

/* Ajustes responsivos para mantener la consistencia */
@media (max-width: 768px) {
    .nav-social-link {
        margin: 20px 0 0 0;
        font-size: 1.6rem;
    }
    
    /* En móvil deshabilitamos el efecto hover expandible para evitar bugs táctiles */
    .nav-links li a.nav-link-item::after {
        display: none;
    }
}


/* ==========================================================================
   CABECERA PREMIUM: HOVERS ANIMADOS Y FIX DE INSTAGRAM
   ========================================================================== */

/* Enlaces del menú base */
.nav-links li a.nav-link-item {
    position: relative;
    color: #ffffff;
    text-decoration: none !important; /* Asegura eliminar cualquier subrayado por defecto */
    transition: color 0.3s ease;
    padding: 8px 0;
}

/* Cambio de color del texto al pasar el mouse */
.nav-links li a.nav-link-item:hover {
    color: #B4E150; /* Verde volt corporativo */
}

/* Animación del subrayado estético (Efecto expansión desde el centro) */
.nav-links li a.nav-link-item::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #B4E150;
    transform-origin: bottom center;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links li a.nav-link-item:hover::after {
    transform: scaleX(1);
}

/* ==========================================================================
   ELIMINACIÓN DE LÍNEA EN INSTAGRAM (FIX CAPTURA DE PANTALLA)
   ========================================================================== */
.nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    margin-left: 15px;
    text-decoration: none !important; /* Quita la línea inferior de la captura */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

/* Animación micro-interactiva para el icono de Instagram */
.nav-social-link:hover {
    color: #B4E150;
    transform: scale(1.18); /* Crece sutilmente con un efecto elástico */
    text-decoration: none !important;
}

/* Fix para el footer para evitar el mismo error de herencia */
.footer-social-link {
    color: #ffffff;
    font-size: 1.6rem;
    text-decoration: none !important;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.footer-social-link:hover {
    color: #B4E150;
    transform: scale(1.15);
    text-decoration: none !important;
}