.Header {
    z-index: 10;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    transform: translate3d(0, 0, .1px);
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    transition: border-color .22s ease-in-out, background-color .22s ease-in-out
}

.Header_Wrapper {
    max-width: 1920px;
    width: 100%;
    padding: 20rem 60rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding .22s ease-in-out;
}

.Header_Wrapper > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34rem;
    height: 50rem;
}

.Header_Logo {
    position: relative;
    width: 175rem;
    height: 50rem
}

.Header_Logo img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%)
}

.Header_Nav {
    font-size: 17rem;
    line-height: 120%
}

.Header_Services {
    border: 1px solid #1D1D1D;
    border-radius: 40rem;
    padding: 10rem 16rem 10rem 20rem;
}

.Header_Nav ul {
    display: flex
}

.Header_Nav li {
    display: block;
    position: relative
}

.Header_Nav li a, .Header_Nav li button {
    white-space: nowrap;
    color: #262626;
    transition: color .22s ease-in-out
}

.Header_Nav li a:focus,
.Header_Nav li a:hover,
.Header_Nav li button:focus,
.Header_Nav li button:hover {
    color: #ef5121
}

.Header_Nav button {
    font-size: 17rem;
    line-height: 120%
}

.Header_Group::before {
    pointer-events: auto;
    position: absolute;
    content: "";
    display: block;
    bottom: 0;
    transform: translateY(100%);
    height: 10rem;
    width: 100%
}

.Header_Group > button {
    cursor: default
}

.Header_Group > a span,
.Header_Group > button span {
    padding-right: 14rem
}

.Header_Group > a::after,
.Header_Group > a::before,
.Header_Group > button::after,
.Header_Group > button::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 6rem;
    right: 0;
    width: 8rem;
    height: 8rem;
    transform: rotate(0);
    transition: transform .22s ease-in-out, opacity .22s ease-in-out;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(/assets/Main/Main/icons/arr_b.svg)
}

.Header_Group > a::after,
.Header_Group > button::after {
    opacity: 0;
    background-image: url(/assets/Main/Main/icons/arr_r.svg)
}

.Header_Services:hover > li > button::after {
    background-image: url(/assets/Main/Main/icons/arr_b.svg) !important;
}

.Header_Group:focus-within > a,
.Header_Group:focus-within > button,
.Header_Group:hover > a,
.Header_Group:hover > button {
    color: #ef5121
}

.Header_Services:hover > .Header_Group > button {
    color: #262626 !important;
}

.Header_Services:hover,
.Header_Services:has(.Header_Group:focus-within),
.Header_Services:has(.Header_Group:hover) {
    border-color: #F5F5F5;
    background-color: #F5F5F5;
}

.Header_Services {
    transition: border-color .22s ease-in-out;
}

.Header_Group:focus-within .Header_NestedList,
.Header_Group:hover .Header_NestedList,
.Header_Services:hover .Header_NestedList {
    opacity: 1;
    pointer-events: auto;
    /*box-shadow: 0 16rem 39rem 0 rgba(34, 60, 80, 0.2);*/
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.Header_Group:focus-within > a::after,
.Header_Group:focus-within > a::before,
.Header_Group:focus-within > button::after,
.Header_Group:focus-within > button::before,
.Header_Group:hover > a::after,
.Header_Group:hover > a::before,
.Header_Group:hover > button::after,
.Header_Group:hover > button::before,
.Header_Services:hover > .Header_Group > button::before {
    transform: rotate(180deg)
}

.Header_Group:focus-within > a::before,
.Header_Group:focus-within > button::before,
.Header_Group:hover > a::before,
.Header_Group:hover > button::before {
    opacity: 0
}

.Header_Group:focus-within > a::after,
.Header_Group:focus-within > button::after,
.Header_Group:hover > a::after,
.Header_Group:hover > button::after {
    opacity: 1
}

.Header_Nav > ul > li {
    margin-right: 34rem
}

.Header_Nav > ul > li:last-child {
    margin-right: 0
}

.header__rating-link {
    margin-right: 26rem;
}
.header__rating-link::after {
    content: 'new';
    color: #ef5121;
    position: absolute;
    bottom: 15rem;
    font-size: 14rem;
}

.Header_NestedList {
    transition: opacity .22s ease-in-out;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    bottom: -9rem;
    left: 60%;
    transform: translate(-50%, 100%);
    border-radius: 20rem;
    padding: 15rem 20rem;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(38, 38, 38, .1)
}

.Header_Services .Header_NestedList {
    left: 110%;
}

.Header_NestedList li {
    margin-top: 12rem
}

.Header_NestedList li:first-child {
    margin-top: 0
}

.Header_CabinetButton {
    min-width: auto;
    font-size: 17rem;
    line-height: 120%;
    padding: 12rem 19rem;
    fill: #262626;
    color: #262626;
    transition: fill .22s ease-in-out, color .22s ease-in-out, background-color .22s ease-in-out, border-color .22s ease-in-out;
    font-weight: unset;
    font-stretch: unset;
    background-color: #F5F5F5;
}

.Header_CabinetButton i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18rem;
    height: 18rem;
    margin-right: 9rem
}

.Header_CabinetButton:focus,
.Header_CabinetButton:hover {
    border-color: #262626;
    background-color: #262626;
    fill: #fff;
    color: #fff
}

.Header_Buttons {
    min-width: 140rem;
    position: relative
}

.Header.active {
    background-color: #fff;
    border-color: rgba(239, 81, 33, .1)
}

.Header.active .Header_Wrapper {
    padding-top: 15rem;
    padding-bottom: 15rem
}

@media (max-width: 1024px) {
    .Header_Wrapper {
        padding: 20rem 30rem;
    }

    .Header_Logo {
        width: 175rem;
        height: 50rem
    }

    .Header_Nav {
        display: none
    }

    .Header_CabinetButton {
        font-size: 14rem;
        line-height: 120%;
        padding: 15rem 20rem
    }

    .Header_CabinetButton i {
        width: 20rem;
        height: 20rem;
        margin-right: 9rem
    }

    .Header .btn_create {
        display: none
    }

    .Header_Buttons {
        min-width: 1px;
        display: flex;
        justify-content: center
    }

    .BurgerButton {
        flex-shrink: 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 15rem;
        width: 52rem;
        height: 52rem;
        background-color: rgba(0, 0, 0, 0) !important;
        border: 1px solid rgba(0, 0, 0, .1) !important;
    }

    .BurgerButton:after, .BurgerButton:before {
        content: "";
        display: block;
        position: absolute;
        width: 20rem;
        height: 20rem;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: 0 0;
        background-image: url(/assets/Main/Main/icons/brg.svg)
    }

    .BurgerButton:after {
        opacity: 0;
        background-image: url(/assets/Main/Main/icons/brg_close.svg)
    }

    .BurgerButton.mm::after {
        opacity: 1
    }

    .BurgerButton.mm::before {
        opacity: 0
    }

    .BurgerMenu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        z-index: 11;
        min-height: 100%;
        height: 100%;
        transition: transform .22s ease-in-out;
        transform: translate3d(0, -100%, .1px)
    }
    .BurgerMenu.mob.tablet {
        display: flex !important;
    }

    .BurgerMenu_foot, .BurgerMenu_Head {
        flex-shrink: 0
    }

    .BurgerMenu_Body {
        flex-grow: 1
    }

    .BurgerMenu_Head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20rem 30rem;
        border: 1px solid rgba(0, 0, 0, .2)
    }

    .BurgerMenu_Head .logo {
        width: 175rem;
        height: 50rem;
        margin-right: auto
    }

    .BurgerMenu_Body {
        overflow-y: auto;
        padding-bottom: 45rem;
        padding-top: 15rem
    }

    .BurgerMenu_Body li:not(.services-menu__item) {
        margin-top: 30rem;
        width: 100%;
        text-align: center
    }

    .BurgerMenu_Body a:not(.services-menu__link):not(.BurgerMenu_Cabinet), .BurgerMenu_Body button {
        font-weight: 573;
        font-stretch: 128%;
        font-size: 24rem;
        line-height: 150%
    }

    .BurgerMenu_Body button {
        position: relative
    }

    .BurgerMenu_Body button::after, .BurgerMenu_Body button::before {
        pointer-events: auto;
        content: "";
        display: block;
        position: absolute;
        top: -1rem;
        right: 0;
        width: 20rem;
        height: 20rem;
        transform: translateX(200%) translateY(50%) rotate(0);
        transition: transform .22s ease-in-out, opacity .22s ease-in-out;
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-image: url(/assets/Main/Main/icons/arr_b.svg)
    }

    .BurgerMenu_Body button::after {
        opacity: 0;
        background-image: url(/assets/Main/Main/icons/arr_r.svg)
    }

    .BurgerMenu_Body .BurgerMenu_Group ul:not(.services-menu__list) {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        overflow: hidden;
        transition: opacity .22s ease-in-out, max-height .22s ease-in-out
    }

    .BurgerMenu_Body .BurgerMenu_Group ul:not(.services-menu__list) a, .BurgerMenu_Body .BurgerMenu_Group ul:not(.services-menu__list) button {
        font-size: 17rem;
        line-height: 150%
    }

    .BurgerMenu_Body .BurgerMenu_Group.active button {
        color: #ef5121
    }

    .BurgerMenu_Body .BurgerMenu_Group.active button::after {
        opacity: 1
    }

    .BurgerMenu_Body .BurgerMenu_Group.active button::after, .BurgerMenu_Body .BurgerMenu_Group.active button::before {
        transform: translateX(200%) translateY(50%) rotate(180deg)
    }

    .BurgerMenu_Body .BurgerMenu_Group.active ul:not(.services-menu__list) {
        pointer-events: auto;
        opacity: 1
    }

    .BurgerMenu_foot .btn {
        width: 100%
    }

    .BurgerMenu.active {
        transform: translate3d(0, 0, .1px)
    }
}

@media (max-width: 590px) {
    .Header {
        height: auto
    }

    .Header_Wrapper {
        padding: 10rem 15rem;
        transition: padding .22s ease-in-out;
    }

    .Header_Wrapper > div {
        height: unset;
    }

    .Header_Logo {
        transform-origin: left center;
        width: 106rem;
        height: 30rem;
        transition: transform .22s ease-in-out
    }

    .Header_Nav {
        display: none
    }

    .Header .BurgerButton,
    .Header_CabinetButton {
        transform-origin: center right;
        transition: transform .22s ease-in-out;
        width: 40rem;
        height: 40rem
    }

    .Header_CabinetButton {
        padding: 5rem
    }

    .Header_CabinetButton span {
        display: none
    }

    .Header_CabinetButton i {
        width: 15rem;
        height: 15rem;
        margin-right: 0
    }

    .Header .BurgerButton::after,
    .Header .BurgerButton::before {
        width: 15rem;
        height: 15rem
    }

    .Header.active .Header_Wrapper {
        padding: 5rem 15rem
    }

    .Header.active .Header_CabinetButton {
        transform: translateX(18rem) scale(.8)
    }

    .Header.active .BurgerButton {
        transform: scale(.8)
    }

    .Header.active .Header_Logo {
        transform: scale(.8)
    }

    .BurgerMenu_Head {
        padding: 10rem 15rem
    }

    .BurgerMenu_Head .BurgerMenu_Logo {
        width: 106rem;
        height: 30rem
    }

    .BurgerMenu .BurgerButton::after {
        width: 15rem;
        height: 15rem
    }

    .BurgerMenu_Body {
        padding-bottom: 45rem;
        padding-top: 25rem
    }

    .BurgerMenu_Body li:not(.services-menu__item) {
        margin-top: 20rem
    }

    .BurgerMenu_Body a:not(.services-menu__link):not(.BurgerMenu_Cabinet), .BurgerMenu_Body button {
        font-size: 20rem;
        line-height: 150%
    }

    .BurgerMenu_Body button::after, .BurgerMenu_Body button::before {
        width: 16rem;
        height: 16rem
    }
}

.Header_Wrapper.has-promo {
    margin-top: 68rem;
}
.header-promo--mob {
    display: none;
    background-color: black;
    position: fixed;
    width: 100%;
    top: 0;
}
.header-promo {
    height: 68rem;
    background-color: black;
    position: fixed;
    width: 100%;
    top: 0;
    background-image: url("/assets/Main/GraphiteTheme/img/promo/line.svg");
    background-size: cover;
}
.header-promo__wrapper {
    display: flex;
    align-items: center;
    height: 68rem;
    justify-content: center;
    gap: 20rem;
}
.header-promo__text {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 629;
    font-stretch: 151%;
    font-variation-settings: "GRAD" 0, "slnt" 0, "XTRA" 468, "XOPQ" 96, "YOPQ" 79, "YTLC" 514, "YTUC" 712, "YTAS" 750, "YTDE" -203, "YTFI" 738;
    color: white;
    font-size: 20rem;
    line-height: 140%;
    overflow: hidden;
    margin-left: -30rem;
}
.header-promo__thunder img {
    height: 95rem;
}
.header-promo .btn_r {
    height: 44rem;
    width: 165rem;
    min-width: unset;
    border: none;
    padding: 22rem 20rem;
}
.header-promo__cases {
    display: flex;
    padding-top: 10rem;
    gap: 10rem;
    overflow: hidden;
    height: 68rem;
    margin-left: 60rem;
    margin-right: 30rem;
}
.header-promo__cases img {
    width: 75rem;
}
.header-promo__star {
    margin-right: -20rem;
}
.header-promo__star img {
    height: 68rem;
    width: 130rem;
}

.lang-select {
    display: flex;
    gap: 5rem;
    margin-left: 6rem;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.lang-select__img {
    width: 25rem;
    height: 25rem;
    border-radius: 100rem;
    background-size: cover;
    border: 1px solid #dddddd;
    position: relative;
    cursor: pointer;
    z-index: 9;
}
.lang-select::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 8rem;
    right: -15rem;
    width: 8rem;
    height: 8rem;
    transform: rotate(0);
    transition: transform .22s ease-in-out, opacity .22s ease-in-out;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(/assets/Main/Main/icons/arr_b.svg);
}
.lang-select:hover::after {
    transform: rotate(180deg);
}
.lang-select__list {
    display: none;
    position: absolute;
    height: 80rem;
    width: 34rem;
    background-color: #f5f5f5;
    border-radius: 26rem;
    left: -5rem;
    top: -5rem;
    transition: opacity .22s ease-in-out;
}
.lang-select:hover .lang-select__list {
    display: block;
}
.lang-select__list a:hover img {
    border-color: #ef5021;
}
.lang-select__list img {
    width: 25rem;
    height: 25rem;
    border-radius: 100rem;
    background-size: cover;
    border: 1px solid #f5f5f5;
    position: relative;
    cursor: pointer;
    margin-top: 49rem;
    margin-left: 5rem;
    transition: border-color .22s ease-in-out;
}

@media (max-width: 1024px) {
    .Header_Wrapper.has-promo {
        margin-top: 48rem;
    }
    .header-promo, .header-promo__cases, .header-promo__wrapper, .header-promo__star img {
        height: 48rem;
    }
    .header-promo__thunder img {
        height: 65rem;
    }
    .header-promo__text {
        font-size: 16rem;
    }
    .header-promo__cases {
        margin-left: 20rem;
        margin-right: 10rem;
    }
    .header-promo__cases img {
        width: 50rem;
    }
    .header-promo__star {
        margin-left: -20rem;
    }
    .header-promo__star img {
        width: 90rem;
    }
    .header-promo .btn_r {
        height: 32rem;
        width: 120rem;
        padding: 12rem 16rem;
        font-size: 14rem;
    }
    .Header_Buttons {
        flex-direction: row-reverse;
    }
    .Header_Buttons .Header_CabinetButton {
        display: none;
    }
    .BurgerButton {
        margin-left: 0;
    }
    .lang-select {
        margin-left: 0;
        margin-right: 20rem;
        transition: margin-right .22s ease-in-out;
    }
    .lang-select::after {
        bottom: 9rem;
        right: -10rem;
        width: 6rem;
        height: 6rem;
    }
    .lang-select__img {
        width: 25rem;
        height: 25rem;
    }
    .lang-select__list {
        width: 32rem;
        height: 68rem;
        left: -4rem;
    }
    .lang-select__list img {
        width: 25rem;
        height: 25rem;
        margin-top: 39rem;
        margin-left: 4rem;
    }
}

@media (max-width: 590px) {
    .Header_Wrapper.has-promo {
        margin-top: 40rem;
    }
    .header-promo--mob {
        display: block;
        height: 40rem;
        overflow: hidden;
    }
    .header-promo {
        display: none;
    }
    .header-promo__wrapper {
        height: 40rem;
        gap: 10rem;
    }
    .header-promo__thunder {
        display: none;
    }
    .header-promo__text {
        text-align: center;
        font-size: 10rem;
        width: 150rem;
        margin-left: 0;
    }
    .header-promo__cases {
        height: 40rem;
        overflow: hidden;
        margin-left: 5rem;
        gap: 5rem;
        padding-top: 5rem;
        margin-right: 0;
        width: 90rem;
    }
    .header-promo__cases img {
        width: 35rem;
    }
    .header-promo__star {
        position: absolute;
        width: 150rem;
        z-index: -1;
        right: -20rem;
        top: -10rem;
    }
    .header-promo--mob .btn_r {
        height: 23rem;
        width: 65rem;
        padding: 10rem 12rem;
        font-size: 8rem;
        min-width: unset;
        margin-right: 20rem;
    }
    .Header.active .lang-select {
        margin-right: 12rem;
    }
}
