.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    z-index: 3000;
    background-color: inherit;
    backdrop-filter: blur(10px);
    padding: clamp(12px, 2vw + 8px, 16px) 20px;
}

@media (min-width: 768px) {
    .header {
        padding: clamp(16px, 1.5vw + 4px, 24px) clamp(20px, 8vw - 40px, 60px);
    }
}

@media (min-width: 1280px) {
    .header {
        padding: clamp(24px, 1vw + 12px, 30px) clamp(60px, 41vw - 465px, 322px);
    }
}

@media (min-width: 1920px) {
    .header {
        padding: 30px 322px;
    }
}

.header__container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    width: clamp(85px, calc(85px + (113 - 85) * ((100vw - 360px) / (1280 - 360))), 113px);
    display: block;
}

@media (min-width: 1280px) {
    .header__logo {
        width: clamp(113px, calc(113px + (141 - 113) * ((100vw - 1280px) / (1920 - 1280))), 141px);
    }
}

@media (min-width: 1920px) {
    .header__logo {
        width: 141px;
    }
}

.header__logo-img {
    width: 100%;
    height: auto;
}

.header__nav {
    display: none;
}

@media (min-width: 1280px) {
    .header__nav {
        display: flex;
        margin-left: auto;
        margin-right: 10%;
    }
}

@media (min-width: 1920px) {
    .header__nav {

        margin-right: 5%;
    }
}


.header__actions {
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .header__actions {
        flex-direction: row-reverse;
        flex: 1;
        display: flex;
        align-items: center;
    }
}

@media (min-width: 1280px) {
    .header__actions {
        margin: 0;
        flex: 0;
    }
}

.header__burger,
.header__close {
    margin: 0 auto;
}

.header__socials {
    display: none;
    gap: 8px;
}

@media (min-width: 768px) {
    .header__socials {
        display: flex;
    }
}

.header__social-link {
    width: 28px;
    height: 28px;
    display: inline-block;
}

@media (min-width: 1920px) {
    .header__social-link {
        width: 40px;
        height: 40px;
    }
}

.header__social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__social-link:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.header__burger {
    width: 32px;
    height: 32px;
    padding: 7.25px 6px;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.header__close {
    display: none;
    width: 32px;
    height: 32px;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: var(--color-primary);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header--menu-open .header__burger {
    display: none;
}

.header--menu-open .header__close {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 40px;
}

@media (min-width: 1920px) {
    .nav-list {
        gap: 60px;
    }
}

@media (min-width: 1280px) {
    .nav-list {
        gap: clamp(40px, calc(40px + (60 - 40) * ((100vw - 1280px) / (1920 - 1280))), 60px);
    }
}

.nav-list__link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-family: 'Open Sans', apple-system, sans-serif;
    transition: 0.3s ease;
    font-weight: 400;
    line-height: 120%;
}

.nav-list__link:hover {
    color: var(--color-primary);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 60px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu--active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__content {
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 480px;
    padding: 24px 20px;
    border-radius: 32px;
    text-align: center;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.4s ease;
}

.mobile-menu--active .mobile-menu__content {
    transform: translateY(0);
}

.mobile-menu__logo {
    width: 170px;
    display: block;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.mobile-menu__link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 500;
    font-family: 'Open Sans', apple-system, sans-serif;
    line-height: 120%;
}



.mobile-menu__apply {
    background: var(--color-primary);
    color: var(--text-light);
    border: none;
    padding: 14.5px 15px;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;

}

.mobile-menu__socials {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mobile-menu__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.mobile-menu__social-link:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.mobile-menu__social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 1280px) {
    .header__burger {
        display: none;
    }
}

.header--scrolled {
    background: var(--bg-primary);
}

.header--scrolled .nav-list__link:hover {
    color: var(--text-dark);
}