.site-header {
    position: relative;
    background:
            radial-gradient(circle at 20% 30%, rgba(56,178,172,0.25), transparent 40%),
            radial-gradient(circle at 85% 20%, rgba(255,136,0,0.15), transparent 40%),
            linear-gradient(135deg, #0f2027, #1b3a4b 60%, #102a43);
    color: white;
}
.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff8800, #38b2ac);
}
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ===== ЛОГО ===== */
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-brand img {
    height: 110px;
}

.brand-text {
    font-size: 27px;
    font-weight: 700;
    color: white;
}

.brand-text span {
    color: yellow;
}

.header-left {
    display: inline-block;
    align-items: center;
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: 36px;

    padding: 14px 0;

    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);

    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ===== КОНТАКТЫ ===== */
.header-info {
    display: flex;
    flex-direction: column;   /* ❗ ключ */
    align-items: center;
    gap: 8px;                 /* ❗ решает "слипание" */
}

.header-city {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.header-city span{
    color: white;
    font-size: 20px;
}
.header-city i{
    color: red;
    font-size: 22px;
}

.header-phone {
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    line-height: 1.2;
}

.header-phone:hover {
    color: #38b2ac;
}

/* ===== МЕССЕНДЖЕРЫ ===== */
.header-messengers {
    display: flex;
    gap: 100px;
}

.messenger {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    color: #1e3a5f;
    text-decoration: none;
}

.messenger img {
    width: 30px;
    height: 30px;
}

.messenger span {
    color: white;
}

.messenger span:hover {
    color: #38b2ac;
}

.header-slogan {
    flex: 1;                     /* 🔥 заполняет пустое место */
    text-align: center;
    font-size: 26px;             /* подобрано под высоту лого */
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    opacity: 0.95;

    /* лёгкий акцент */
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* Акцентные слова (если захочешь позже) */
.header-slogan span {
    font-weight: 800;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .site-header{
        background:
                radial-gradient(circle at 20% 30%, rgba(56,178,172,0.25), transparent 40%),
                radial-gradient(circle at 85% 20%, rgba(255,136,0,0.15), transparent 40%),
                linear-gradient(135deg, #0f2027, #1b3a4b 60%, #102a43);
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .header-info {
        flex-direction: column;
        gap: 10px;
    }

    .header-phone {
        font-size: 18px;
    }

    .header-brand img {
        height: 80px;
    }
    
    .header-slogan {
        font-size: 18px;
        text-align: center;
        order: 2;      /* между логотипом и контактами */
    }
    
    .header-slogan span {
        margin-left: 2px;
    }
}

@media (min-width: 768px) {

    .header-contacts {
        justify-content: flex-end;
    }

    .header-logo {
        max-height: 110px;   /* компьютер */
    }
}

@media (min-width: 992px) {
/*    .header-logo {
        max-height: 110px;   !* компьютер *!
    }*/
    .brand-description{
        font-size: 1rem;
    }
}