/*Mobile*/
.blue-theme {
    --primary-text-color: #1E262E;
    background: linear-gradient(180deg, #F6FBFF 83.65%, #EFF6FF 100%);
    .container {
        max-width: 1280px;
        width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    .header {
        padding-top: 10px;
        padding-bottom: 10px;
        width: 100%;
        display: inline-block;
        border-bottom: 1px solid #DBE9FE;
    }
    .header__nav {
        z-index: 2;
    }
}

.header__top_menu {
    display: flex;
    justify-content: space-between; /* Распределяет элементы по ширине */
    align-items: center; /* Выравнивает элементы по вертикали */
    width: 100%; /* На всю ширину родителя */
}

.top_menu__left_section {
    display: flex;
    align-items: center;
    gap: 50px; /* Отступ между лого и списком */
}

.top_menu__list_items {
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--primary-text-color);
    a {
        font-size: 14px;
    }
}

.top_menu__login {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-text-color);
    a {
        font-size: 14px;
    }
}

.top_menu__button_mobile_menu {
    display: flex;
    z-index: 3;
}

/*бургер меню с лендоса*/
.header {
    position: relative
}

.header__wrap {
    z-index: 4;
    position: relative;
    background-color: #fff;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 4px 20px #02113b1a
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 22px;
    gap: 22px;
    z-index: 4;
    min-height: 60px
}

.header__button {
    display: flex;
    position: relative;
    z-index: 3
}

.menu-open .header__button {
    display: none
}

.header__logo {
    margin-right: auto;
    position: relative;
    z-index: 3
}

.header__burger {
    position: relative;
    z-index: 3
}

.header__nav {
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    max-height: 100vh;
    box-sizing: border-box;
    padding-top: 60px;
    visibility: hidden;
    pointer-events: none
}

.menu-open .header__nav {
    visibility: visible;
    pointer-events: initial
}

.header__nav_wrapper {
    position: relative;
    height: 100%;
    display: flex;
    overflow-y: auto;
    scroll-behavior: smooth;
    snap-type: y mandatory
}

.nav {
    flex: 100%;
    display: flex;
    flex-direction: column
}

.nav__inner {
    padding: 0 22px
}

.nav__list {
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
    padding: 22px 0 14px
}

.nav__item {
    opacity: 0;
    transition: all .1s ease
}

.menu-open .nav__item {
    opacity: 1;
    transition-delay: .2s;
    transition-duration: .3s
}

.nav__item a {
    padding: 16px 36px;
    font-size: 16px;
    line-height: 16px;
    text-decoration: none;
    font-weight: 600;
    display: block
}

.nav__item a:hover {
    color: #038aee
}

.nav__list, .nav__top, .nav__bottom {
    position: relative;
    z-index: 4
}

.nav__top, .nav__bottom {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: all .1s ease-in
}

.menu-open .nav__top {
    opacity: 1;
    transition-delay: .1s;
    transition-duration: .3s
}

.menu-open .nav__bottom {
    opacity: 1;
    transition-delay: .3s;
    transition-duration: .3s
}

.nav__top {
    padding: 22px 12px 0
}

.nav__top * {
    flex: 100%
}

.nav__bottom {
    border-top: 1px solid #D6E3ED;
    padding: 14px 0 34px;
    gap: 24px
}

.nav__contacts {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.nav__contacts_section {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.nav__contacts_section a {
    font-weight: 600;
    line-height: 24px;
    text-decoration: none
}

.nav__contacts_section span {
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    color: #6f7985
}
.header-nav-overlay {
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #038aee33;
    visibility: hidden;
    opacity: 0;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
    transition: all .3s ease
}
.header-nav-backpanel {
    background-color: #fff;
    border-radius: 0 0 32px 32px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130%;
    transform: translateY(-100%);
    transition: all .3s ease
}

.menu-open .header-nav-backpanel {
    transform: translateY(0)
}

body.lock {
    overflow: hidden
}

body.lock .header-nav-overlay {
    visibility: visible;
    opacity: 1;
    pointer-events: initial
}
.burger.opened .burger__icon_open {
    display: none
}

.burger__icon_close {
    display: none
}

.button--light,.button--light:hover {
    background-color: #e3f2ff;
    color: #038aee
}

.burger.opened .burger__icon_close {
    display: block
}
.socials {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

.socials a {
    height: 53px;
    width: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fafafa
}

.socials a:hover {
    background-color: #e3f2ff;
    transition: all .3s ease
}

.socials--smaller {
    gap: 0
}

.socials--smaller a {
    height: 48px;
    width: 48px
}

.socials:not(.socials--colorful) a {
    filter: hue-rotate(0deg)
}

.socials--colorful a {
    background-color: #e3f2ff
}
/**/

/*Desktop*/
@media screen and (min-width: 769px) {
    .hidden-desktop {
        display: none;
    }
    .blue-theme {
        .header {
            padding-top: 25px;
            padding-bottom: 25px;
        }
    }
    .header__wrap {
        border-radius: 0 0 50px 50px;
        box-shadow: none
    }
    .header__inner {
        padding: 16px 0
    }
    .header__logo {
        margin-right: auto
    }
    .header__nav {
        display: block;
        position: relative;
        padding: 0;
        top: auto;
        left: auto;
        width: auto;
        height: auto
    }
    .nav__list {
        flex-direction: row;
        visibility: visible;
        pointer-events: initial;
        padding: 0
    }
    .nav__item {
        opacity: 1
    }
    .nav__item a {
        padding: 16px
    }
    .nav__top, .nav__bottom {
        display: none
    }
    .loginBtn {
        border-radius: 0;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #038aee;
        font-weight: 700;
        font-size: 16px;
        width: auto;
        height: auto
    }

    .loginBtn path {
        fill: #038aee
    }

    .loginBtn__icon {
        position: initial;
        transform: none;
        top: auto;
        left: auto
    }

    .loginBtn__text {
        display: block
    }

    .loginBtn:hover {
        color: #1f262e
    }

    .loginBtn:hover path {
        fill: #1f262e
    }
    .header-nav-overlay {
        display: none
    }
    .burger {
        display: none
    }
    .socials {
        justify-content: flex-end
    }

    .socials a {
        height: 56px;
        width: 56px
    }
}

@media screen and (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}
