.mobile-menu-toggle {
    display: none;
    border: 0;
    background: #eff6ff;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle span:nth-child(4) {
    display: none;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
    position: relative;
    left: 0;
    z-index: 3;
}

.site-nav {
    flex: 1 1 auto;
    max-width: 80%;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.nav-list a {
    white-space: nowrap;
}

.mobile-menu-toggle {
    flex: 0 0 auto;
    margin-left: auto;
}

@media (max-width: 768px) {
    .site-header {
        width: 100vw;
        max-width: 100vw;
    }

    .header-inner {
        flex-wrap: nowrap;
        max-width: none;
        width: 100%;
        padding: 12px 10px;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding: 1rem;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    }

    .nav-list a {
        white-space: normal;
    }
}

