/* --- Header General --- */
.header-top {
    background-color: #616161;
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-bottom-area {
    background-color: #ffffff;
    padding: 12px 0;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* --- Header Fixed / Sticky --- */
.header-bottom-area.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* --- Menú Desktop --- */
.main-menu__list a {
    color: #222222;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.main-menu__list a:hover {
    color: #d9381e;
    /* Color primario/acento */
}

.thm-btn {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: none;
}

.thm-btn:hover {
    background-color: #d9381e;
    color: #ffffff;
}

/* --- Botón Hamburguesa --- */
.mobile-nav__toggler {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #1e1e1e;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Evitar Scroll al abrir Menú --- */
body.locked {
    overflow: hidden;
}

/* --- Menú Móvil Lateral (Desplegable Responsivo) --- */
.mobile-nav__wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav__wrapper.expanded {
    visibility: visible;
    opacity: 1;
}

.mobile-nav__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.mobile-nav__content {
    position: absolute;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-nav__wrapper.expanded .mobile-nav__content {
    transform: translateX(300px);
}

.mobile-nav__close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

/* Estilos de la lista dentro del menú móvil */
.mobile-nav__container .main-menu__list {
    flex-direction: column;
    gap: 15px !important;
    padding: 0;
    margin: 0;
}

.mobile-nav__container .main-menu__list a {
    display: block;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}