/*
 * VICVER REAL ESTATE — CABECERA GLOBAL
 * Fuente única de estilos de la cabecera pública.
 */

[data-vr-global-header],
[data-vr-global-header] * {
    box-sizing: border-box;
}

.vr-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0));
}

.vr-header-inner {
    width: min(1500px, calc(100% - 90px));
    min-height: 105px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.vr-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.vr-logo-symbol {
    width: 43px;
    height: 43px;
    border: 1px solid rgba(211,181,125,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 300;
    color: #d8bb83;
}

.vr-logo-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vr-logo-name strong {
    font-size: 21px;
    line-height: 1;
    letter-spacing: 5px;
    font-weight: 400;
}

.vr-logo-name small {
    font-size: 8px;
    line-height: 1;
    letter-spacing: 3px;
    font-weight: 400;
    color: rgba(255,255,255,.78);
}

.vr-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex: 1;
}

.vr-navigation a {
    position: relative;
    color: rgba(255,255,255,.94);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .3px;
    white-space: nowrap;
}

.vr-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: #d8bb83;
    transition: width .25s ease;
}

.vr-navigation a:hover,
.vr-navigation a:focus-visible,
.vr-navigation a.active {
    color: #d8bb83;
}

.vr-navigation a:hover::after,
.vr-navigation a:focus-visible::after,
.vr-navigation a.active::after {
    width: 100%;
}

.vr-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.vr-favorite-button {
    width: 39px;
    height: 39px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 25px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
}

.vr-favorite-button.active {
    color: #d8bb83;
}

.vr-agent-button,
.vr-contact-button {
    min-width: 118px;
    padding: 13px 18px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none !important;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .5px;
    white-space: nowrap;
    transition: all .25s ease;
}

.vr-agent-button {
    border: 1px solid rgba(216,187,131,.75);
    color: #d8bb83 !important;
    background: rgba(0,0,0,.12);
}

.vr-agent-button:hover,
.vr-agent-button:focus-visible {
    background: #d8bb83;
    border-color: #d8bb83;
    color: #111 !important;
}

.vr-contact-button {
    padding-left: 21px;
    padding-right: 21px;
    border: 1px solid rgba(255,255,255,.55);
    color: #fff !important;
}

.vr-contact-button:hover,
.vr-contact-button:focus-visible {
    background: #d8bb83;
    border-color: #d8bb83;
    color: #111 !important;
}

.vr-menu-button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.vr-menu-button span {
    width: 23px;
    height: 1px;
    background: #fff;
    transition: transform .25s ease, opacity .25s ease;
}

.vr-menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.vr-menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 1150px) {
    .vr-header-inner {
        width: calc(100% - 50px);
        gap: 25px;
    }

    .vr-navigation {
        gap: 18px;
    }

    .vr-navigation a {
        font-size: 11px;
    }
}

@media (max-width: 900px) {
    .vr-header-inner {
        min-height: 85px;
    }

    .vr-navigation {
        display: none;
        position: fixed;
        top: 85px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 85px);
        overflow-y: auto;
        padding: 28px 24px 35px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        flex: none;
        background: rgba(17,20,22,.98);
        border-top: 1px solid rgba(216,187,131,.25);
    }

    .vr-header.vr-global-menu-open .vr-navigation {
        display: flex;
    }

    .vr-navigation a {
        padding: 16px 0;
        font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .vr-navigation a::after {
        bottom: 8px;
    }

    .vr-menu-button {
        display: flex;
    }
}

@media (max-width: 650px) {
    .vr-header-inner {
        width: calc(100% - 32px);
    }

    .vr-logo-symbol {
        width: 37px;
        height: 37px;
        font-size: 18px;
    }

    .vr-logo-name strong {
        font-size: 17px;
        letter-spacing: 4px;
    }

    .vr-logo-name small {
        font-size: 7px;
        letter-spacing: 2px;
    }

    .vr-favorite-button {
        display: none;
    }

    .vr-agent-button {
        min-width: auto;
        padding: 10px 13px;
        font-size: 10px;
    }

    .vr-contact-button {
        min-width: auto;
        padding: 10px 14px;
        font-size: 10px;
    }

    .vr-navigation {
        top: 72px;
        max-height: calc(100vh - 72px);
    }
}
