/* Normaliza header/menú en internas y evita conflicto con estilos del home */
body:not(.home) .header { 
    background: #fff; 
}

body:not(.home) .nav-menu a { 
    color: #191919; 
}

body:not(.home) .nav-menu a::after {
    left: 0; 
    transform: none; 
    bottom: -5px; 
    background: var(--color-rojo);
}

body:not(.home) .nav-toggle span { 
    background: #191919; 
}

/* Asegurar visibilidad del logo rojo en páginas internas */
.inner-page .header .logo {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Estilos del menú hamburguesa móvil */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .nav-toggle span {
        width: 100%;
        height: 3px;
        background: #191919;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        font-weight: 500;
    }
}