/* ==========================================
   STObonus — Header — Full Dark Premium
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(11, 15, 25, .8);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: all var(--speed) var(--ease);
}

.header.scrolled {
    background: rgba(7, 10, 18, .92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* ── Logo — Premium ──────────────────────── */
.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: var(--letter-tight);
    color: #fff;
}

.header__logo span {
    color: #6EB0FF;
}

.header__logo-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: all var(--speed) var(--ease);
}

.header__logo:hover .header__logo-img {
    transform: scale(1.08);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(var(--accent-rgb), .4));
}

/* ── Navigation ──────────────────────────── */
.header__nav {
    display: flex;
    gap: 4px;
    margin: 0 auto;
}

.header__nav a {
    padding: 8px 18px;
    font-size: .88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
    border-radius: var(--radius-sm);
    transition: all var(--speed) var(--ease);
    white-space: nowrap;
}

.header__nav a:hover,
.header__nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

/* ── Actions ─────────────────────────────── */
.header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.header__phone {
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    transition: color var(--speed) var(--ease);
}

.header__phone:hover {
    color: #fff;
}

.header__socials {
    display: flex;
    gap: 4px;
}

.header__socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .4);
    border-radius: var(--radius-sm);
    transition: all var(--speed) var(--ease);
}

.header__socials a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.header__socials svg {
    width: 18px;
    height: 18px;
}

/* ── Burger ── */
.header__burger {
    display: none;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .6);
    cursor: pointer;
    padding: 8px;
}

/* ── Mobile menu ─────────────────────────── */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px 24px;
    z-index: 99;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transform: translateY(-10px);
    opacity: 0;
    transition: all var(--speed) var(--ease);
}

.mobile-menu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    padding: 14px 16px;
    font-size: .95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, .7);
    transition: all var(--speed) var(--ease);
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.mobile-menu__phone {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.mobile-menu__phone a {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

@media (max-width: 768px) {

    .header__inner {
        justify-content: space-between;
        width: 100%;
    }

    .header__nav,
    .header__actions {
        display: none;
    }

    .header__burger {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .header__logo {
        flex-shrink: 0;
    }
}