.menu {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    height: 100%;
    font-size: 17px;
}

.menu .menu-wrapper {
    height: 100%;
    position: relative;
}

.menu .menu__list {
    height: 100%;
    margin: 0;
    display: -ms-flexbox;
    display: flex;
}

.menu .menu__list > li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.menu .menu__list > li:not(:last-child) a {
    border-right: 2px solid var(--color-4-30p);
}

.menu .menu__list > li > a {
    padding: 0px 12px;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 1em;
    line-height: normal;
    font-weight: 700;
    letter-spacing: normal;
    color: #fff;
    white-space: nowrap;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-align: center;
    align-items: center;
    text-transform: none;
}

.menu .menu__dropdown {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.menu .menu__dropdown-list {
    min-width: 297px;
    position: absolute;
    top: 100%;
    left: 0px;
    background-color: #fff;
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 15px;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.1);
}

.menu .menu__dropdown-list .menu__dropdown-list {
    top: -13px;
    left: calc(100% + 2px);
}

.menu .menu__dropdown-list .menu__dropdown-list::before {
    content: "";
    width: 2px;
    height: 100%;
    background: transparent;
    position: absolute;
    right: 100%;
    top: 0;
    display: block;
}

.menu .menu__dropdown-list li a {
    display: block;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: normal;
    color: #141615;
    text-transform: none;
    white-space: nowrap;
}

.menu__dropdown-arrow {
    position: relative;
    background-color: transparent;
    width: 18px;
    height: 18px;
}

.menu__dropdown-arrow::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    -webkit-mask-image: url("../../img/icons/menu_icon.svg");
    mask-image: url("../../img/icons/menu_icon.svg");
    background: #303030;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: background 0.3s ease-out;
}

.menu .menu__dropdown-list .switch-back {
    display: none;
}

.menu-overlay {
    pointer-events: none;
    position: fixed;
    display: block;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    background: #fff;
    transition: transform var(--animation-duration) var(--timing-func);
    transform: scaleY(0);
    transform-origin: top;
    display: none;
}

.menu-overlay.active {
    transform: scaleY(1);
}

.nav > li > a {
    padding: 0;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background-color: transparent;
}

.menu-burger {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: none;
    position: relative;
    width: 86px;
    height: 39px;
    overflow: hidden;
    border-radius: 36px;
    background: var(--color-2);
    font-weight: 700;
    font-size: 13px;
    color: var(--color-4);
}

.menu-burger span {
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    transition: transform var(--animation-duration) var(--timing-func);
}

.menu-burger span::before {
    content: attr(data-title);
    position: absolute;
    right: calc(100% + 11px);
}

.menu-burger.active span {
    transform: translateX(100%);
}

.header-search {
    position: absolute;
    top: -3px;
    right: 0;
    width: 80vw;
    max-width: 1480px;
    height: 67px;
    border-radius: 40px;
    border: 1px solid #8F9BB1;
    overflow: hidden;
    -webkit-clip-path: inset(0 0 0 100%);
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    transition: -webkit-clip-path 0.35s var(--timing-func);
    transition: clip-path 0.35s var(--timing-func);
    transition: clip-path 0.35s var(--timing-func), -webkit-clip-path 0.35s var(--timing-func);
    z-index: 99;
}

.header-search__box {
    height: 100%;
    width: 100%;
    background: #fff;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

.header-search__input {
    height: 50px;
    width: 100%;
    font-weight: 400;
    font-size: 18px;
    line-height: 170%;
    color: rgba(20, 22, 21, 0.3);
    font-family: var(--third-family);
    padding-left: 85px;
    padding-right: 15px;
    outline: none;
    background-color: transparent;
}

.header-search__reset {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    height: 67px;
    width: 67px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.header-search__reset::before {
    content: "";
    width: 24px;
    height: 24px;
    background: #e11446;
    -webkit-mask-image: url("../../img/icons/search-icon.svg");
    mask-image: url("../../img/icons/search-icon.svg");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background var(--animation-duration) var(--timing-func);
}

.header-search__submit {
    display: none;
    height: 30px;
    width: 30px;
    background: url("../../img/svgicons/search_icon.svg") center/13px 13px no-repeat;
    border: 1px solid #000;
}

.search-is-open .header-search {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
pointer-events: auto;
}

.header-search-open {
    width: 60px;
    height: 60px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
    background: #8F9BB1;
}

.header-search-open::before {
    content: "";
    width: 24px;
    height: 24px;
    background: #fff;
    -webkit-mask-image: url("../../img/icons/search-icon.svg");
    mask-image: url("../../img/icons/search-icon.svg");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background var(--animation-duration) var(--timing-func);
}

.header-search-open:hover::before {
    background: #e11446;
}

.rs-header {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
}

.rs-header__wrapper {
    height: 99px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

.rs-header .logo {
    -ms-flex: 0 0 163px;
    flex: 0 0 163px;
    margin-right: auto;
    position: relative;
    height: 100%;
}

.rs-header .logo img {
    width: 100%;
    position: absolute;
    top: 0;
}

.rs-header .logo-mobile {
    -ms-flex: 0 0 185px;
    flex: 0 0 185px;
    margin-right: auto;
}

.rs-header .logo-mobile img {
    width: 100%;
}

.rs-header .logo-sticky {
    display: none;
    -ms-flex: 0 0 309px;
    flex: 0 0 309px;
    margin-right: auto;
}

.rs-header .logo-sticky img {
    width: 100%;
}

.rs-header__contacts {
    font-weight: 700;
    font-size: 17px;
    color: var(--color-4);
}

.rs-header__btns {
    margin-left: 17px;
}

.rs-header__search {
    position: relative;
    margin-left: 15px;
}

.rs-header__lang {
    margin-left: 60px;
    margin-right: 17px;
}

.rs-header__lang ul {
    display: -ms-flexbox;
    display: flex;
}

.rs-header__lang ul li {
    padding: 0px 10px;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    color: var(--color-4-30p);
}

.rs-header__lang ul li:not(:last-child) {
    border-right: 2px solid #fff;
}

.rs-header__lang ul li.current {
    color: var(--color-4);
}

.rs-header .mobile-menu-contacts a,
.rs-header .mobile-menu-contacts p {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.01em;
    color: var(--color-3);
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
}

.rs-header .mobile-menu-contacts a::before,
.rs-header .mobile-menu-contacts p::before {
    margin-right: 5px;
    position: relative;
    top: 3px;
}

.rs-header .mobile-menu-contacts a[href^="tel:"]::before,
.rs-header .mobile-menu-contacts p[href^="tel:"]::before {
    content: url("../../img/icons/phone_icon.svg");
}

.rs-header .mobile-menu-contacts a[href^="mailto:"]::before,
.rs-header .mobile-menu-contacts p[href^="mailto:"]::before {
    content: url("../../img/icons/mail_icon.svg");
}

.rs-header .mobile-menu-lang ul {
    display: grid;
    gap: 20px;
}

.rs-header .mobile-menu-lang ul li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.01em;
    color: var(--color-3);
}

.rs-header .mobile-menu-lang ul li::before {
    content: url("../../img/icons/lang_icon.svg");
    margin-right: 5px;
    display: block;
    height: 14px;
}

.rs-header .mobile-menu-lang ul li.current {
    color: var(--primary-color);
}

.rs-header .mobile-menu-social ul {
    display: -ms-flexbox;
    display: flex;
}

.rs-header .mobile-menu-social ul li:not(:last-child) {
    margin-right: 12px;
}

.rs-header .mobile-menu-social ul li a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--color-1);
    border-radius: 50%;
}

.rs-header .mobile-menu-social ul li a img {
    max-width: 100%;
    object-fit: contain;
}

.rs-header .mobile-menu-social .menu-wrapper::after {
    content: "";
    height: 1px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #e5e5e5;
}

.rs-header .mobile-menu-logo {
    position: absolute;
    top: 7px;
    left: 15px;
    height: 40px;
    width: 185px;
}

.rs-header .mobile-menu-logo img {
    width: 100%;
}

@media (min-width: 1149.98px) {
    .menu .menu__dropdown-list li a {
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }

    .menu__list > li > a {
        position: relative;
    }

    .menu__list > li > a span::after {
        content: "";
        height: 2px;
        width: 100%;
        background: var(--color-2);
        display: block;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform var(--animation-duration) var(--timing-func);
    }

    .menu__list > li.current-menu-item > a span::after,
  .menu__list > li:hover > a span::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .menu__dropdown-list li > a {
        transition: color var(--animation-duration) var(--timing-func);
    }

    .menu__dropdown-list li:hover > a {
        color: var(--primary-color);
    }

    .menu .menu__dropdown-list {
        opacity: 0;
        transform: rotateX(-90deg);
        transition: transform 700ms ease, opacity 200ms linear;
        transform-origin: top;
        transform-style: preserve-3d;
		transition-delay: 0.3s;
    }

    .menu__dropdown.hover > .menu__dropdown-list {
        opacity: 1;
        transform: rotateX(0deg);
		transition-delay: 0s;
    }

    .menu-overlay {
        display: none;
    }

    .rs-header .logo-mobile {
        display: none;
    }

    .rs-header .mobile-menu-contacts {
        display: none;
    }

    .rs-header .mobile-menu-lang {
        display: none;
    }

    .rs-header .mobile-menu-social {
        display: none;
    }

    .rs-header .mobile-menu-logo {
        display: none;
    }
}

@media (min-width: 1149.98px) and (min-width: 1149.98px) {
    .menu__dropdown-list li > a span {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
    }

    .menu__dropdown-list li > a span::before {
        content: "";
        width: 0px;
        height: 8px;
        border-radius: 50%;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        background: var(--color-2);
        margin-right: 5px;
        transition: width var(--animation-duration) var(--timing-func);
    }

    .menu__dropdown-list li:hover > a span::before {
        width: 8px;
    }
}

@media (min-width: 1149.98px) and (any-hover: hover) {
    .menu__dropdown:hover > .menu__dropdown-list {
        opacity: 1;
        transform: rotateX(0deg);
        pointer-events: auto;
    }
}

@media (max-width: 1919px) {
    .rs-header {
        padding: 0 15px;
    }
}

@media (max-width: 1700px) {
    .rs-header__lang {
        margin-left: 8px;
        margin-right: 8px;
    }
}

@media (max-width: 1600px) {
    .menu {
        font-size: 12px;
    }

    .menu .menu__list > li > a {
        padding: 0px 4px;
    }

    .rs-header .logo {
        -ms-flex: 0 0 80px;
        flex: 0 0 80px;
    }

    .rs-header .logo-sticky {
        -ms-flex: 0 0 80px;
        flex: 0 0 80px;
    }

    .rs-header__contacts {
        font-size: 12px;
    }

    .rs-header__btns .btn-color span {
        font-size: 12px;
    }

    .rs-header__lang ul li {
        font-size: 12px;
    }
}

@media (max-width: 1149.98px) {
    .menu {
        pointer-events: none;
        left: 0;
        top: 0;
        height: 100svh;
        padding-top: 56px;
        position: fixed;
        width: 100%;
        overflow-y: auto;
        font-size: 14px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .menu.active {
        visibility: visible;
        pointer-events: auto;
    }

    .menu .menu-wrapper {
        height: auto;
        width: 100%;
        max-width: 375px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .menu .menu-wrapper::before {
        content: "";
        height: 1px;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: #e5e5e5;
    }

    .menu .menu__list {
        display: block;
        height: auto;
    }

    .menu .menu__list > li {
        height: auto;
        margin-right: 0 !important;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-left: 0;
        border: none;
    }

    .menu .menu__list > li > a {
        color: #141615;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.01em;
    }

    .menu .menu__dropdown {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .menu .menu__dropdown-list {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translate(0px, 0px);
        padding: 10px 0px 7px 15px;
        pointer-events: auto;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        height: auto;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }

    .menu .menu__dropdown-list .menu__dropdown-list {
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }

    .menu .menu__dropdown-list li a {
        white-space: normal;
    }

    .menu .menu__dropdown-list li a {
        white-space: normal;
        padding-left: 0;
        padding-right: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .menu__dropdown-arrow {
        margin-left: 20px;
        transform: rotate(-90deg);
    }

    .menu {
        background: #fff;
        transform: translateX(-100%);
        transition: transform var(--animation-duration) var(--timing-func);
    }

    .menu.active {
        transform: translateX(0);
    }

    .menu .menu__dropdown-list {
        padding-left: 15px;
        padding-right: 15px;
        position: fixed;
        left: 0;
        top: 56px;
        width: 100%;
        height: calc(100% - 56px);
        z-index: 2;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(-100%);
        border-radius: 0;
        background: #fff;
        transition: transform var(--animation-duration) var(--timing-func);
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .menu .menu__dropdown-list::-webkit-scrollbar {
        width: 0;
    }

    .menu .menu__dropdown-list.is-active {
        transform: none;
    }

    .menu .menu__dropdown-list .switch-back {
        background: url("../../img/icons/switch_back_icon.svg") 0px 50% no-repeat;
        display: block;
        color: #000;
        font-size: 15px;
        font-weight: 400;
        padding-bottom: 20px;
        padding-top: 20px;
        padding-left: 25px;
        text-align: center;
        border-bottom: 1px solid #e5e5e5;
        border-top: 1px solid #e5e5e5;
    }

    .menu .menu__dropdown-list .menu__dropdown {
        border-bottom: 1px solid #e5e5e5;
    }

    .menu .menu__dropdown-list .menu__dropdown-list {
        top: 0;
        left: 0;
        position: static;
        transform: none;
        padding: 0;
    }

    .menu .menu__dropdown-list .menu__dropdown-list li a {
        font-family: var(--second-family);
        font-weight: 400;
        font-size: 14px;
        letter-spacing: -0.01em;
        color: var(--color-3);
    }

    .menu-burger {
        display: block;
        position: relative;
        z-index: 2;
    }

    .header-search {
        height: 45px;
        width: 60vw;
    }

    .header-search__input {
        padding-left: 55px;
    }

    .header-search__reset {
        width: 39px;
        height: 39px;
    }

    .header-search__reset::before {
        width: 16px;
        height: 16px;
    }

    .header-search-open::before {
        width: 16px;
        height: 16px;
    }

    .header-search-open {
        height: 39px;
        width: 39px;
    }

    .rs-header__wrapper {
        height: 56px;
    }

    .rs-header .logo {
        display: none;
    }

    .rs-header .logo-sticky {
        -ms-flex: 0 0 185px;
        flex: 0 0 185px;
    }

    .rs-header__contacts {
        display: none;
    }

    .rs-header__btns {
        display: none;
    }

    .rs-header__search {
        margin-right: 10px;
    }

    .rs-header__lang {
        display: none;
    }
}

@media (max-width: 1149.98px) and (min-width: 405px) and (max-width: 1149.98px) {
    .menu .menu__dropdown-list {
        padding-left: calc((100vw - 375px) / 2);
        padding-right: calc((100vw - 375px) / 2);
    }
}

@media (any-hover: hover) {
    .menu__dropdown-arrow {
        display: none;
    }
}