/* ========== ШАПКА САЙТА ========== */
.site-header {
    font-family: system-ui, -apple-system, sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхняя полоса */
.header-top {
    background: #1e3a5f;
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 6px 0;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.header-top-left {
    display: flex;
    gap: 20px;
}

.header-location,
.header-address {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-regime {
    color: #94a3b8;
}

/* Основная часть */
.header-main {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #64748b;
}

/* Контакты */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-icon {
    font-size: 1.3rem;
}

.phone-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a5f;
    text-decoration: none;
    white-space: nowrap;
}

.phone-link:hover {
    color: #3b82f6;
}

.phone-label {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
}

.btn-callback {
    padding: 10px 20px;
    background: #f59e0b;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-callback:hover {
    background: #d97706;
}

/* Навигация */
.header-nav {
    background: #f8fafc;
    border-bottom: 2px solid #e5e7eb;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-list a {
    display: block;
    padding: 14px 10px;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    text-align: center;
}

.nav-list a:hover {
    color: #1e3a5f;
    background: #fff;
    border-bottom-color: #3b82f6;
}

.nav-list a.active {
    color: #1e3a5f;
    background: #fff;
    border-bottom-color: #1e3a5f;
    font-weight: 600;
}

/* ========== АДАПТИВ ДЛЯ ШАПКИ ========== */
@media (max-width: 768px) {
    .header-top-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-top-left {
        flex-direction: column;
        gap: 4px;
    }

    .header-main-inner {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        flex-direction: column;
    }

    .header-contacts {
        flex-direction: column;
        gap: 12px;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-list a {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}