/* header — шапка главной (Figma 130:30416) */
.header {
    width: 100%;
}

.header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 40px;
    background: var(--bg-layout);
    backdrop-filter: blur(var(--blur-header));
    -webkit-backdrop-filter: blur(var(--blur-header));
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.header__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 4px;
    text-decoration: none;
    border-radius: 8px;
}

.header__label {
    font-weight: var(--fw-medium);
    font-size: 16px;
    line-height: 24px;
    color: #626C77;
}

.header__phone {
    font-weight: var(--fw-bold);
    font-size: 16px;
    line-height: 24px;
    color: #1D2023;
}

.header__support {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-family);
    border-radius: 8px;
}

.header__support-label {
    font-weight: var(--fw-medium);
    font-size: 16px;
    line-height: 24px;
    color: #626C77;
}

.header__support-link {
    font-weight: var(--fw-medium);
    font-size: 16px;
    line-height: 24px;
    color: #1D2023;
    text-decoration: underline;
    text-decoration-color: currentColor;
}

.header__contact:active .header__phone,
.header__support:active .header__support-link {
    color: #CC0028;
}

.header__contact:focus-visible,
.header__support:focus-visible {
    outline: 2px solid #626C77;
    outline-offset: 0;
}

.header__contact[aria-disabled="true"],
.header__contact.is-disabled,
.header__support:disabled,
.header__support.is-disabled,
.header__support[aria-disabled="true"] {
    opacity: .6;
    cursor: default;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .header__contact:not([aria-disabled="true"]):not(.is-disabled):not(:active):not(:focus-visible):hover .header__phone,
    .header__support:not(:disabled):not([aria-disabled="true"]):not(.is-disabled):not(:active):not(:focus-visible):hover .header__support-link {
        color: #E8002E;
    }
}

@media (max-width: 1199px) {
    .header__label,
    .header__phone,
    .header__support-label,
    .header__support-link {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 800px) {
    .header__bar {
        padding: 16px 12px;
        gap: 16px;
    }
}
