/* Общие стили шапки */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Контейнер шапки (держим ширину как в Figma, чтобы элементы не разлетались) */
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap; /* строго в одну строку */
}

/* 1. Логотип */
.header-logo-box {
    flex-shrink: 0;
}

.header-logo-img {
    height: 72px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* 2. Колонки меню */
.header-nav-cols {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    flex-shrink: 0;
}

.header-nav-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-link {
    color: #2b2b2b;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.25;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.header-link:hover {
    color: #558ec4;
}

/* 3. Кнопка "Версия для слабовидящих" */
.btn-bvi {
    background-color: #558ec4;
    color: #ffffff !important;
    border-radius: 50px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
    border: none;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.btn-bvi:hover {
    background-color: #477bb0;
}

.btn-bvi svg {
    flex-shrink: 0;
}

/* 4. Блок контактов */
.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.header-phone {
    color: #000000;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.header-phone:hover {
    color: #558ec4;
}

.header-feedback-link {
    color: #4a84be;
    font-size: 13px;
    text-decoration: underline;
    line-height: 1.2;
    white-space: nowrap;
}

.header-feedback-link:hover {
    color: #356799;
}

/* Адаптив для экранов меньше 1024px */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .header-nav-cols {
        gap: 16px;
    }
}