.nav-burger {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}

@media (max-width: 900px) {
    .nav-burger {
        display: inline-flex;
    }

    .site-header .main-nav,
    .site-header .btn-login {
        display: none !important;
    }

    .site-header.nav-open {
        background: #0c0e14;
    }

    .site-header[data-nav-theme="light"].nav-open {
        background: #fff;
    }

    .mobile-nav {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        background: #0c0e14;
        color: #fff;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    }

    .site-header[data-nav-theme="light"] .mobile-nav {
        background: #fff;
        color: #111;
        border-top-color: rgba(0, 0, 0, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }

    .mobile-nav[hidden] {
        display: none !important;
    }

    .mobile-nav-link,
    .mobile-nav-sub a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 22px;
        font-family: 'Source Sans Pro', Arial, sans-serif;
        font-size: 17px;
        line-height: 1.2;
        text-decoration: none;
        color: inherit;
        background: none;
        border: 0;
        border-bottom: 1px solid rgba(127, 127, 127, 0.22);
        cursor: pointer;
        text-align: left;
    }

    .mobile-nav-sub a {
        padding-left: 36px;
        font-size: 16px;
    }

    .mobile-nav-sub[hidden] {
        display: none !important;
    }

    .mobile-nav-subtoggle svg {
        width: 12px;
        height: 12px;
        transition: transform 0.2s ease;
    }

    .mobile-nav-subtoggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }
}
