/* =========================
   CABECERA INSTITUCIONAL RENACER MUJER
========================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

/* ===== VARIABLES ===== */

:root {
    --ns-header:#c2a289;
    --ns-dark:#cc825b;
    --ns-white:#ffffff;
}

/* ===== HEADER BASE ===== */

.lb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--ns-header);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.lb-header.lb-scrolled {
    background: var(--ns-dark);
}

/* ===== CONTENEDOR ===== */

.lb-header-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== LOGO ===== */

.lb-logo img {
    height: 100px;
    width: auto;
    display: block;
}

/* ===== NAV ===== */

.lb-nav ul {
    display: flex;
    gap: 50px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.lb-nav a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--ns-white);
    transition: color 0.3s ease;
}

.lb-nav a:hover {
    color: var(--ns-dark);
}

.lb-header.lb-scrolled .lb-nav a {
    color: var(--ns-white);
}

/* ===== BOTÓN CTA ===== */

.lb-btn-menu {
    background: var(--ns-header);
    color: var(--ns-white) !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.lb-btn-menu:hover {
    background: var(--ns-dark);
    color: var(--ns-white) !important;
}

/* ===== SUBMENU ===== */

.has-submenu {
    position: relative;
    cursor: pointer;
}

.has-submenu > span {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--ns-white);
}

.submenu {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--ns-white);
    list-style: none;
    padding: 20px 0;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li {
    padding: 0 25px;
}

.submenu a {
    font-size: 16px;
    font-weight: 600;
    color: var(--ns-dark);
}

.submenu a:hover {
    color: var(--ns-header);
}

/* ===== HAMBURGUESA ===== */

.lb-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.lb-hamburger span {
    width: 30px;
    height: 3px;
    background: var(--ns-white);
}

/* ===== OFFSET HEADER ===== */

main {
    margin-top: 120px;
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {

    .lb-nav {
        position: absolute;
        top: 120px;
        right: 0;
        background: var(--ns-dark);
        width: 100%;
        display: none;
    }

    .lb-nav ul {
        flex-direction: column;
        padding: 50px 0;
        gap: 35px;
    }

    .lb-nav a {
        color: var(--ns-white);
        font-size: 20px;
    }

    .lb-nav.lb-nav-active {
        display: block;
    }

    .lb-hamburger {
        display: flex;
    }
}