.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: var(--space-section) 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: rgba(10, 12, 15, 0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(10, 12, 15, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 2rem;
    min-height: 88px;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.site-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

body.is-text-page .site-header {
    background: rgba(10, 12, 15, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.is-text-page .site-header.is-scrolled {
    background: rgba(10, 12, 15, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media (max-width: 1080px) {
    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        min-height: 78px;
    }

    .site-nav,
    .site-tools {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .section {
        padding: 5rem 0;
    }
}