.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateZ(0);
    backface-visibility: hidden
}

.nav-container {
    max-width: 1520px;
    margin: 0 auto;
    height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0 1.2rem;
    gap: 1.2rem;
    position: relative
}

.site-logo,
.nav-container>a:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem
}

.site-logo img,
.nav-container>a:first-child img {
    display: block;
    width: 263px;
    height: 60px;
    object-fit: contain
}

.site-logo {
    justify-self: start;
    grid-column: 1
}

.main-nav {
    justify-self: center;
    grid-column: 2;
    margin-left: 0
}

.nav-right {
    justify-self: end;
    grid-column: 3
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    list-style: none;
    margin: 0;
    padding: 0
}

.nav-links {
    justify-content: center
}

.nav-links a {
    font-weight: 500;
    color: #0b0b0c;
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(11, 11, 12, 0.18);
    transition: width .22s ease
}

.nav-links a:hover::after {
    width: 100%
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.95rem
}

.header-social {
    display: inline-flex;
    align-items: center
}

.nav-social-mobile {
    display: none
}

.header-social-desktop {
    display: inline-flex
}

.header-social-mobile {
    display: inline-flex
}

.nav-social-mobile {
    display: none
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #ffffff;
    font-size: 1.05rem;
    color: #0b0b0c
}

.nav-icon:hover {
    border-color: rgba(0, 0, 0, 0.18);
    transform: translateY(-1px)
}

.language-switcher {
    position: relative
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #ffffff;
    cursor: pointer;
    height: 38px;
    padding: 0 .8rem;
    border-radius: 999px;
    font-weight: 500;
    color: #0b0b0c
}

.lang-current:hover {
    border-color: rgba(0, 0, 0, 0.18);
    transform: translateY(-1px)
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    border: 1px solid rgba(0, 0, 0, 0.10);
    list-style: none;
    margin: 0;
    padding: .45rem;
    min-width: 160px;
    z-index: 2000
}

.language-switcher.is-open .lang-menu {
    display: block
}

.lang-menu li {
    margin: 0;
    padding: 0
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .1rem .1rem;
    border-radius: 10px;
    color: #0b0b0c;
    text-decoration: none
}

.lang-menu a:hover {
    background: rgba(0, 0, 0, 0.04)
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #ffffff;
    cursor: pointer
}

.nav-toggle {
    flex-direction: column;
    justify-content: center;
    padding: 0 12px
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #0b0b0c;
    border-radius: 999px;
    margin: 3px 0
}

.nav-toggle:hover {
    border-color: rgba(0, 0, 0, 0.18);
    transform: translateY(-1px)
}

@media (max-width:900px) {
    .nav-container {
        display: flex
    }

    .site-logo {
        order: 1;
        margin-right: auto
    }

    .nav-right {
        order: 2
    }

    .nav-right .header-social {
        display: none
    }

    .nav-social-mobile {
        display: block
    }

    .main-nav {
        position: static
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 12px;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: .6rem;
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
        border: 1px solid rgba(0, 0, 0, 0.10);
        min-width: 220px;
        z-index: 1500
    }

    .nav-links.open {
        display: flex
    }

    .nav-links li {
        width: 100%
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: .65rem .7rem;
        border-radius: 12px
    }

    .nav-links a::after {
        display: none
    }

    .nav-links a:hover {
        background: rgba(0, 0, 0, 0.04)
    }
}

@media (max-width:900px) {
    .header-social-desktop {
        display: none !important
    }

    .nav-social-mobile {
        display: block;
        width: 100%;
        margin-top: .5rem;
        padding-top: .5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08)
    }

    .nav-social-mobile .footer-social {
        width: 100%;
        justify-content: center
    }
}

@media (max-width:900px) {
    .nav-links {
        max-height: calc(100vh - 90px);
        overflow: auto
    }

    .nav-social-mobile {
        margin-top: auto
    }

    .lang-current {
        width: 70px
    }
}

@media (max-width:900px) {
    .nav-social-mobile .footer-social a {
        width: 44px;
        height: 44px
    }

    .nav-social-mobile .footer-social svg {
        width: 22px;
        height: 22px
    }
}