.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);

    background: var(--bg-chrome);
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(20px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    padding-top: 12px;
    padding-bottom: 12px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.logo-image {
    display: block;
    width: auto;
    height: clamp(32px, 4vw, 44px);
    max-width: min(220px, 100%);
}

.nav-links {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(20px, 4vw, 64px);
    min-width: 0;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color 160ms ease;
}

.nav-links a:hover {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
}

@media (max-width: 960px) {
    .header-inner {
        justify-content: center;
    }

    .nav-links {
        order: 3;
        flex: 1 1 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 28px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        justify-content: space-between;
        gap: 14px;

    }

    .logo,
    .header-actions {
        width: auto;
    }

    .logo-image {
        height: 36px;
        max-width: 170px;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .header-actions .btn {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 15px;
        white-space: nowrap;
    }

    .nav-links a {
        font-size: 14px;
    }
}
@media (max-width: 360px) {
    .logo,
    .header-actions {
        width: 100%;
        justify-content: center;
    }
}
