/* Extrazona Custom v0.3.0 */

.exz-header {
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    z-index: 99990;
    background: #3159a6;
    color: #ffffff;
    font-family: inherit;
}

body:not(.admin-bar) .exz-header {
    top: 0;
}

.exz-header__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.exz-header__brand {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 16px;
    white-space: nowrap;
}

.exz-header__nav {
    margin-left: auto;
}

.exz-header__menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.exz-header__menu li {
    margin: 0;
    padding: 0;
}

.exz-header__menu a {
    display: block;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    line-height: 1;
}

.exz-header__menu li:last-child a {
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.exz-header__menu a:hover,
.exz-header__menu a:focus {
    opacity: 0.82;
}

.exz-header__social {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-left: 8px;
}

.exz-header__social span {
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
}

.exz-header__toggle {
    display: none;
    margin-left: auto;
    width: 34px;
    height: 34px;
    padding: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.exz-header__toggle span {
    display: block;
    height: 3px;
    margin: 4px 0;
    border-radius: 99px;
    background: #ffffff;
}

/* Ocultación conservadora de la primera sección de Elementor solo si la cabecera alternativa está activa/preview. */
body.exz-custom-header-active .elementor > .elementor-element:first-child {
    display: none !important;
}

@media (max-width: 921px) {
    .exz-header {
        top: 0;
    }

    body.admin-bar .exz-header {
        top: 46px;
    }

    .exz-header__inner {
        width: 100%;
        min-height: 52px;
        padding: 0 14px;
        gap: 12px;
    }

    .exz-header__brand {
        font-size: 12px;
    }

    .exz-header__toggle {
        display: block;
    }

    .exz-header__nav {
        position: absolute;
        top: 52px;
        left: 0;
        right: 0;
        display: none;
        background: #3159a6;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }

    .exz-header.is-open .exz-header__nav {
        display: block;
    }

    .exz-header__menu {
        display: block;
    }

    .exz-header__menu a {
        border-left: 0;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        padding: 14px 18px;
        font-size: 12px;
    }

    .exz-header__social {
        display: none;
    }
}
