
    /* Estilos Base del Nav */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #000000b7;
    color: white;
    justify-content: space-between;
    align-items: center;
    height: max-content;
    padding: 1.8em 3em;
    z-index: 999;
    transition: 0.3s ease-in-out;
}

.nav-scroll {
    background: #000000;
    padding: 1em 3em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Logo */
.nav-logo picture {
    display: flex;
    gap: 1em;
}

.nav-logo img {
    width: 100%;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

/* Menú Principal - Versión Desktop */
.nav-links {
    display: flex;
    gap: 0.5em;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: clamp(0.9rem, 1vw, 1.4rem);
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    border-radius: 6px 6px 0 0;
}

.nav-link:hover,
.nav-active {
    border-bottom: 1px solid #ffbb00;
    color: #ffffff;
    background: #414141;
    transform: scale(1.03);
    transition: all 0.2s ease-in-out;
}

/* Botón de Login - Versión Desktop */
.desktop-login {
    padding: 0.15rem 1rem;
    transition: all 0.3s ease-in-out;
    display: flex;
}

.desktop-login a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.desktop-login img {
    object-fit: scale-down;
    padding: 0.5rem;
    height: 50px;
    transition: transform 0.3s ease;
}

.desktop-login span {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.desktop-login:hover {
    color: #f7f7f7;
    background: #bd8e3e;
    border-radius: 6px;
}

.desktop-login:hover img {
    transform: scale(1.1);
}

/* Menú Hamburguesa */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(0px) rotate(45deg);
    background-color: #ffbb00;
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background-color: #ffbb00;
}

@media (max-width: 1368px) {
    .nav-link {
        padding: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .desktop-login {
        display: none;
    }
}


/* Versión Mobile */
@media (max-width: 992px) {
    .top-nav {
        padding: 1.2em 2em;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #000000e8;
        backdrop-filter: blur(5px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1000;
        padding: 20% 0;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        width: 80%;
        text-align: center;
        border-radius: 6px;
    }
    
    .nav-link:hover {
        transform: scale(1.05);
        border-bottom: none;
        box-shadow: 0 4px 8px rgba(255, 187, 0, 0.2);
    }
    
    .desktop-login {
        display: none;
    }
    
    /* Estilos para el login dentro del menú mobile */
    .mobile-login {
        display: block;
        margin-top: 2rem;
        width: 80%;
    }
    
    .mobile-login a {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #bd8e3e;
        color: #fff !important;
        padding: 1.2rem 2rem !important;
        border-radius: 6px !important;
        font-size: 1.4rem !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-login a:hover {
        background: #d9a44e !important;
        transform: scale(1.05) !important;
        box-shadow: 0 4px 12px rgba(189, 142, 62, 0.4);
    }
    
    .mobile-login img {
        width: 24px;
        height: 24px;
        margin-right: 12px;
        filter: brightness(0) invert(1);
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 576px) {
    .top-nav {
        padding: 1em 1.5em;
    }
    
    .nav-logo img {
        height: 40px;
    }
    
    .nav-links {
        gap: 1rem;
        padding: 15% 0;
        bottom: 10%;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        width: 95%;
    }
    
    .mobile-login {
        margin-top: 1.5rem;
    }
    
    .mobile-login a {
        padding: 1rem 1.5rem !important;
        font-size: 1.3rem !important;
    }
}

/* Versión Desktop - Asegurar que el mobile-login no se vea */
@media (min-width: 993px) {
    .mobile-login {
        display: none !important;
    }
    
    .desktop-login {
        display: flex;
    }
}