.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(255, 253, 249, 0.85);
    border-bottom: 1px solid rgba(230, 221, 212, 0.75);
}

.site-header__topbar {
    padding: 10px 16px;
    background: var(--secondary);
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    transition: max-height 0.24s ease, padding 0.24s ease, opacity 0.2s ease;
    max-height: 60px;
    overflow: hidden;
}

.site-header.is-scrolled .site-header__topbar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.site-header__shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 86px;
}

.site-header__brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.site-header__brand svg {
    width: calc(332px + (432 - 332) * ((100vw - 320px) / (1920 - 320)));
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 500;
}

.site-header__cta {
    opacity: 0;
    transform: translateX(12px);
    pointer-events: none;
}

.site-header.is-scrolled .site-header__cta {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

@media (max-width: 1100px) {
    .site-header__shell {
        min-height: 78px;
    }

    .site-header__nav {
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .site-header {
        backdrop-filter: none;
    }

    .site-header__shell {
        min-height: 74px;
    }

    .site-header__brand img {
        max-width: 280px;
    }

    .site-header__nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        justify-content: center;
        gap: 0;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(25, 48, 95, 0.08);
        border-radius: 0;
        background: #fff;
        box-shadow: 0 -8px 24px rgba(25, 48, 95, 0.12);
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    }

    .site-header__cta {
        width: 100%;
        padding-inline: 16px;
        min-height: 46px;
        font-size: 0.9rem;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .site-header.is-mobile-nav-hidden .site-header__nav {
        opacity: 0;
        transform: translateY(24px);
        visibility: hidden;
        pointer-events: none;
    }
}
