#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e8edf5;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 18px rgba(16, 38, 75, 0.045);
}

.site-header .nav {
    width: min(1180px, calc(100% - 48px));
    min-height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-logo img {
    display: block;
    max-width: 190px;
    max-height: 55px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 21px;
}

.nav-links a {
    position: relative;
    font: 600 13px 'DM Sans', sans-serif;
    color: #33445f;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    border-radius: 3px;
    background: #2563eb;
    transition: width .2s ease;
}

.nav-links a:not(.nav-cta):hover {
    color: #2563eb;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-links .nav-cta {
    padding: 11px 18px;
    border-radius: 9px;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 5px 14px rgba(37, 99, 235, .18);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nav-links .nav-cta:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .25);
}

.menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    padding: 9px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.menu-toggle:hover {
    background: #f5f8ff;
    border-color: #bfdbfe;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 3px;
    background: #10264b;
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1050px) {
    .site-header .nav {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 1001;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 18px 18px;
        background: #fff;
        border: 1px solid #e6ebf3;
        border-top: 0;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 18px 35px rgba(16, 38, 75, .12);
    }

    .nav-links.active {
        display: flex;
        animation: navDrop .2s ease-out;
    }

    .nav-links a {
        display: block;
        padding: 12px 9px;
        border-radius: 7px;
    }

    .nav-links a:not(.nav-cta):hover {
        background: #f4f7ff;
    }

    .nav-links a:not(.nav-cta)::after {
        display: none;
    }

    .nav-links .nav-cta {
        text-align: center;
        margin-top: 7px;
    }
}

@keyframes navDrop {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .site-header .nav {
        width: calc(100% - 34px);
        min-height: 68px;
    }

    .brand-logo img {
        max-width: 165px;
        max-height: 47px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .site-header *,
    .site-header *::before,
    .site-header *::after {
        animation: none !important;
        transition: none !important;
    }
}

.site-header .nav.container {
    width: min(1180px, calc(100% - 48px));
    max-width: none;
}

@media (max-width: 480px) {
    .site-header .nav.container {
        width: calc(100% - 34px);
    }
}