.header-contact {
    position: relative;
    z-index: 3;
    padding: 0;
}

:root {
    --mc-hero-gradient: linear-gradient(100deg, #0d2340 0%, #1a3c6e 50%, #234a7e 100%);
}

#header-container:not(.sticky) {
    background: var(--mc-hero-gradient);
}

#header-container.sticky {
    background: #f3f5fc;
}

.header-contact__inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-contact__variant-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.header-contact-info,
.header-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.header-contact .header-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-left: auto;
}

.header-contact .header-social li,
.header-contact .header-contact-info li {
    margin: 0;
}

.header-contact .header-contact-info li {
    border: 0;
}

.header-contact .header-contact-info li a.phone-button {
    font-size: 14px;
}

.header-contact .header-contact__link.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
    margin: 0;
    min-height: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.header-contact .header-contact__link.button:hover {
    transform: translateY(-1px);
}

.header-contact__icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.header-contact__link--video .header-contact__icon {
    -webkit-mask-image: url('../../../24/img/ico/zoom.svg');
    mask-image: url('../../../24/img/ico/zoom.svg');
}

.header-contact__link--whatsapp .header-contact__icon {
    -webkit-mask-image: url('../../../24/img/ico/whatsapp.svg');
    mask-image: url('../../../24/img/ico/whatsapp.svg');
}

.header-contact__link--phone .header-contact__icon {
    -webkit-mask-image: url('../../../24/img/ico/phone.svg');
    mask-image: url('../../../24/img/ico/phone.svg');
}

.header-contact .header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-contact .header-social img {
    width: 18px;
    height: 18px;
    display: block;
}

.header-contact--v1 {
    background: #143868;
    color: rgba(226, 232, 240, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-contact--v1 .header-contact__link.button {
    color: rgba(226, 232, 240, 0.82);
}

.header-contact--v1 .header-contact__link.button:hover {
    color: #fff;
}

.header-contact--v1 .header-contact__link--video .header-contact__icon,
.header-contact--v1 .header-contact__link--phone .header-contact__icon {
    background-color: #62a7ff;
}

.header-contact--v1 .header-contact__link--whatsapp .header-contact__icon {
    background-color: #49d17e;
}

.header-contact--v1 .header-social img {
    filter: brightness(0) invert(1);
    opacity: 0.78;
}

.header-contact--v1 .header-social a:hover img {
    opacity: 1;
}

.header-contact--v4 {
    background: linear-gradient(90deg, #15386c 0%, #12335d 46%, #0d2149 100%);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.header-contact--v4 .header-contact__link.button,
.header-contact--v4 .header-social a {
    color: rgba(255, 255, 255, 0.88);
    opacity: 0.82;
}

.header-contact--v4 .header-contact__link--video .header-contact__icon,
.header-contact--v4 .header-contact__link--phone .header-contact__icon {
    background-color: #62a7ff;
}

.header-contact--v4 .header-contact__link--whatsapp .header-contact__icon {
    background-color: #49d17e;
}

.header-contact--v4 .header-contact__link.button:hover,
.header-contact--v4 .header-social a:hover {
    color: #fff;
    opacity: 1;
}

.header-contact--v4 .header-social a:hover {
    transform: translateY(-1px) scale(1.06);
}

.header-contact--v4 .header-social img {
    filter: brightness(0) invert(1);
}

@media only screen and (max-width: 991px) {
    .header-contact__inner {
        min-height: 0;
        justify-content: center;
        gap: 10px;
        padding: 8px 0;
    }

    .header-contact__variant-label,
    .header-contact .header-social {
        display: none !important;
    }

    .header-contact-info {
        width: 100%;
        justify-content: center;
        gap: 10px 18px;
    }

    .header-contact .header-contact__link.button {
        font-size: 13px;
    }
}

@media only screen and (max-width: 575px) {
    .header-contact-info {
        gap: 8px 14px;
    }

    .header-contact .header-contact__link.button {
        font-size: 12px;
    }

    .header-contact__icon {
        width: 14px;
        height: 14px;
    }
}