.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px clamp(16px, 4vw, 56px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(16, 59, 117, 0.06);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none;
}

.brand:hover {
    transform: translateY(-1px);
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(24, 86, 163, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover .brand-logo {
    box-shadow: 0 12px 28px rgba(24, 86, 163, 0.22);
    transform: rotate(-2deg) scale(1.03);
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-name {
    color: var(--brand);
    font-size: 25px;
    line-height: 1;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.nav a,
.text-link {
    border-radius: 999px;
    padding: 8px 11px;
    text-decoration: none;
}

.nav a:hover,
.text-link:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

.page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px clamp(16px, 4vw, 40px) 72px;
}

.section {
    padding: 28px 0;
}

.narrow {
    max-width: 760px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
@media (max-width: 760px) {
    .site-header,
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        justify-content: flex-start;
    }
}
