.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.site-header .nav-wrap {
    display: flex;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    min-height: 74px;
    margin-inline: auto;
    gap: 16px;
}

.site-header .brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 220px;
    color: #111827;
    text-decoration: none;
}

.site-header .brand--has-logo {
    gap: 0;
}

.site-header .brand-logo {
    display: block;
    width: auto;
    height: 50px;
    max-width: 210px;
    object-fit: contain;
    object-position: left center;
    background: transparent;
}

.site-header .brand--has-logo span,
.site-header .brand--has-logo .brand-mark {
    display: none;
}

.site-header .site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: auto;
    gap: 4px;
}

.site-header .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-header .site-nav a:hover,
.site-header .site-nav .is-active {
    background: #f3f4f6;
    color: #111827;
}

.site-header .header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.site-header .header-phone:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.site-header .nav-toggle {
    display: none;
    border: 0;
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    padding: 10px 14px;
    font-weight: 900;
}

@media (max-width: 920px) {
    .site-header .nav-wrap {
        min-height: 68px;
    }

    .site-header .brand {
        max-width: 180px;
    }

    .site-header .brand-logo {
        height: 44px;
        max-width: 175px;
    }

    .site-header .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .site-header .site-nav {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        border: 1px solid #e5e7eb;
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 24px 70px rgba(20, 16, 10, 0.12);
    }

    .site-header .site-nav.is-open {
        display: flex;
    }

    .site-header .site-nav a {
        justify-content: flex-start;
        min-height: 42px;
        padding: 12px 14px;
    }

    .site-header .header-phone {
        display: none;
    }
}

@media (max-width: 560px) {
    .site-header .nav-wrap {
        width: min(100% - 24px, 1180px);
        min-height: 64px;
    }

    .site-header .brand {
        max-width: 155px;
    }

    .site-header .brand-logo {
        height: 40px;
        max-width: 150px;
    }

    .site-header .nav-toggle {
        padding: 9px 12px;
        font-size: 13px;
    }

    .site-header .site-nav {
        left: 12px;
        right: 12px;
        top: 68px;
    }
}
