.site-header {
    background: #1A1A19;
    padding: 9px 0px;
    position: relative;
    z-index: 1000;
    transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    animation: navbarFixedSlide 0.25s ease;
}

@keyframes navbarFixedSlide {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-inner {
    gap: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-mark img {
    max-height: 62px;
    width: auto;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-actions a img  {
    width: 20px;
    height: 20px;
}

.mobile-menu-toggle,
.mobile-menu-close,
.mobile-menu-head,
.mobile-menu-backdrop {
    display: none;
}

.mobile-menu-toggle,
.mobile-menu-close {
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.mobile-menu-toggle {
    /* width: 42px; */
    /* height: 42px; */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    /* margin-left: auto; */
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    display: block;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-active {
    overflow: hidden;
}

@media (max-width: 991px) {
    .site-header {
        padding: 14px 0;
    }

    .header-inner {
        gap: 14px;
    }

    .brand-mark img {
        max-height: 52px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .header-actions {
        gap: 10px;
    }

    .site-header .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: min(320px, 86vw);
        height: 100vh;
        padding: 22px 22px 32px;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        background: #1A1A19;
        box-shadow: 14px 0 34px rgba(0, 0, 0, 0.28);
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        z-index: 1002;
        overflow-y: auto;
    }

    .site-header.mobile-menu-open .main-nav {
        transform: translateX(0);
    }

    .main-nav a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 16px;
    }

    .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 18px;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        color: #ffffff;
        font-size: 18px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .mobile-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        font-size: 30px;
        line-height: 1;
    }

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.52);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 1001;
    }

    .site-header.mobile-menu-open .mobile-menu-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

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

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

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

@media (max-width: 575px) {
    .brand-mark img {
        max-height: 44px;
    }

    .header-actions a img {
        width: 18px;
        height: 18px;
    }

    .mobile-menu-toggle {
        /* width: 38px; */
        /* height: 38px; */
        padding: 0;
        gap: 0;
    }

    .site-header .main-nav {
        width: min(300px, 88vw);
    }
}
