@media (min-width: 991px) {
    .header-menu > li:hover > a,
    .header-menu > li:hover > span {
        color: #ac3025;
    }
    .header-menu li.parent a:hover,
    .header-menu li.parent span:hover {
        color: #ac3025;
    }
}
@media (max-width: 991px) {
    .header-menu > li:active > a,
    .header-menu > li:active > span {
        color: #ac3025;
    }
    .header-menu li.parent a:active,
    .header-menu li.parent span:active {
        color: #ac3025;
    }
}

.header *,
.footer * {
    padding: 0px;
    margin: 0px;
    border: none;
}
.header *,
.footer *,
.header *::before,
.footer *::before .header *::after,
.footer *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.header a,
.footer a {
    color: inherit;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}
.header.header-bg {
    background: #f4e9e9;
}
.header.header-bg .header-inner {
    border: none;
}
.header .contain {
    max-width: 1320px;
}
.header-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(35, 31, 32, 0.2);
}
.header-logo {
    display: inline-block;
    width: 235px;
    height: 48px;
}
.header-logo img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.header-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 42px;
    list-style: none;
}
.header-menu li {
    position: relative;
    padding: 10px 0px 10px 0;
}
.header-menu li.parent {
    padding: 10px 16px 10px 0;
}
.header-menu li.parent::before {
    content: '';
    background-image: url('../images/icons/select-arrow-accent.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 10px;
    height: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.header-menu li.parent::after {
    content: '';
    background-image: url('../images/icons/select-arrow.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 10px;
    height: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.header-menu li.parent:hover::after {
    opacity: 0;
}
.header-menu li.parent:hover::before {
    opacity: 1;
}
.header-menu ul {
    background: #f9f8f6;
    list-style: none;
    border-radius: 4px;
    position: absolute;
    padding: 11px;
    min-width: 249px;
    top: 40px;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotateX(90deg);
    transform: rotateX(90deg);
    opacity: 0;
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
.header-menu ul li {
    padding: 7px;
    width: 100%;
}

.header-menu li.parent:hover ul {
    opacity: 1;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
}

.header-menu a,
.header-menu span {
    display: block;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #231f20;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.header-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 70px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.footer {
    background: #f9f8f6;
}
.footer-logo {
    display: inline-block;
}
.footer-logo img {
    max-width: 100%;
    max-height: 100%;
}
.footer-logo--1 {
    width: 235px;
    height: 48px;
}
.footer-logo--2 {
    max-width: 59px;
    max-height: 81px;
}
.footer-logo--3 {
    max-width: 256px;
    max-height: 59px;
}
.footer-toprow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-top: 1px solid rgba(35, 31, 32, 0.2);
    padding-top: 40px;
}
.footer-toprow__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 31px;
}
.footer-centerrow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 36px 0 0px;
    border-bottom: 1px solid rgb(35, 31, 32, 0.4);
}
.footer-info {
    max-width: 289px;
    margin-right: 90px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.footer-info__title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #231f20;
    margin-bottom: 10px;
}
.footer-info__list {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
}
.footer-info__list p {
    font-weight: 400;
    font-size: 16px;
    color: #231f20;
    opacity: 0.8;
    margin-bottom: 4px;
}
.footer-info__list address {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 129%;
    color: #231f20;
}
.footer-info__list a {
    display: inline-block;
    font-weight: 500;
    color: #231f20;
    text-decoration: none;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.footer-info__list a[href^='mailto:'] {
    font-size: 16px;
}
.footer-info__list a:hover {
    color: #ac3025;
}
.footer-nav {
    width: 198px;
}
.footer-nav a,
.footer-nav span {
    text-decoration: none;
    display: inline-block;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.footer-nav a:hover {
    color: #ac3025;
}
.footer-nav > a,
.footer-nav > span {
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #231f20;
    margin-bottom: 34px;
}
.footer-nav ul {
    list-style: none;
}
.footer-nav ul a {
    font-weight: 400;
    font-size: 16px;
    line-height: 133%;
    color: #231f20;
}
.footer-nav ul li {
    max-width: 178px;
    padding-bottom: 8px;
}
.footer-nav ul li:last-child {
    padding-bottom: 0;
}
.footer-nav .footer-nav__banner {
    margin: 34px 0 25px 0;
}
.footer-nav__banner.footer-nav__banner--mob {
    display: none;
}
.footer-nav__banner img {
    max-width: 100%;
}
.footer-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}
.footer-bottomrow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 30px;
    padding: 12px 0 72px;
    font-weight: 400;
    font-size: 14px;
    line-height: 124%;
    color: #231f20;
    opacity: 0.8;
}
.footer-bottomrow__info {
    max-width: 1002px;
}
.footer-bottomrow__copy {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.header .container,
.footer .container {
    max-width: 1320px;
}

/* переключение языка  */
.header-select {
    cursor: pointer;
}
.header-select .select2-selection.select2-selection--single {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    background: transparent;
}
.header-select .select2 {
    font-family: 'DIN Pro', sans-serif;
}
.header-select .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.header-select .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border: none;
}

.header-select .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none;
}
.header-select .select2-container--default .select2-selection--single .select2-selection__arrow {
    background-image: url('../images/icons/select-arrow.svg');
    background-size: 10px 10px;
    background-position: center;
    background-size: cover;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.header-select .select2-selection.select2-selection--single {
    padding: 0;
    border: none;
}
.header-select .select2-dropdown.select2-dropdown--below {
    background: transparent;
    padding: 5px 12px;
    background: #fff;
    border-radius: 4px;
    width: -webkit-max-content !important;
    width: -moz-max-content !important;
    width: max-content !important;
    margin-left: -3px;
    margin-top: 3px;
}
.header-select .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    color: #ac3025;
    background: transparent;
    font-weight: 500;
}

.header-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    font-weight: 500;
}
.header-select .select2-results__option.select2-results__option--selectable.select2-results__option--selected {
    color: #231f20;
    background: transparent;
    font-weight: 500;
}
.header-select .select2-results__option.select2-results__option--selectable.select2-results__option--highlighted {
    font-weight: 500;
}
.header-select .select2.select2-container.select2-container--default.select2-container--below.select2-container--open .select2-selection__arrow {
    -webkit-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}
.mobile-open {
    display: none;
}

@media (max-width: 1280px) {
    .header-menu {
        gap: 24px;
    }
    .header-logo {
        width: 207px;
        height: 46px;
    }
    .header-wrapper {
        gap: 48px;
    }
    .footer-toprow {
        padding-top: 30px;
    }
    .footer-bottomrow {
        padding: 12px 0 55px;
    }
    .footer-logo--1 {
        width: 207px;
        height: 46px;
    }
    .footer-logo--2 {
        max-width: 48px;
        max-height: 68px;
    }
    .footer-logo--3 {
        max-width: 207px;
        max-height: 51px;
    }
    .footer-info__title {
        font-size: 17px;
        margin-bottom: 10px;
    }
    .footer-nav > a,
    .footer-nav > span {
        font-size: 17px;
        margin-bottom: 25px;
    }
    .footer-nav__banner {
        margin-top: 30px;
    }
    .footer-nav ul a {
        font-size: 15px;
    }
    .footer-nav {
        width: 180px;
    }
    .footer-info {
        max-width: 263px;
        margin-right: 50px;
    }
    .footer-toprow__inner {
        gap: 24px;
    }
}
@media (max-width: 1110px) {
    .footer-menu {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 40px 1fr;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        max-width: 400px;
    }
    .footer-bottomrow {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 12px;
    }
}
@media (max-width: 991px) {
    .header-wrapper {
        display: none;
    }
    .mobile-open {
        display: inline-block;
        border-radius: 4px;
        padding: 15px 12px;
        width: 52px;
        height: 52px;
        background-color: #ac3025;
        background-image: url('../images/icons/open.svg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 22px 18px;
    }
}
@media (max-width: 768px) {
    .mobile-open {
        width: 44px;
        height: 44px;
        background-size: 20px 16px;
    }
    .header-logo {
        width: 183px;
        height: 38px;
    }
    .header-inner {
        padding: 14px 0 13px;
        gap: 20px;
    }
    .footer-toprow {
        padding-top: 20px;
    }
    .footer-logo--1 {
        width: 186px;
        height: 38px;
    }
    .footer-logo--2 {
        width: 44px;
        height: 61px;
    }
    .footer-logo--3 {
        width: 169px;
        height: 39px;
    }
    .footer-centerrow {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 34px 0 25px;
    }
    .footer-info__title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .footer-info__list p {
        font-size: 15px;
    }
    .footer-info__list address {
        font-size: 15px;
    }
    .footer-info__list a {
        font-size: 17px;
    }
    .footer-nav > a,
    .footer-nav > span {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .footer-menu {
        gap: 22px;
        margin-top: 34px;
    }
    .footer-nav__banner {
        margin-top: 22px;
    }
    .footer-bottomrow {
        padding: 12px 0 35px;
    }
    .footer-nav__banner.footer-nav__banner--desk {
        display: none;
    }
    .footer-nav__banner.footer-nav__banner--mob {
        display: block;
        width: 207px;
        height: 37px;
    }
}
@media (max-width: 550px) {
    .footer-toprow {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .footer-logo--1 {
        margin-bottom: 18px;
    }
    .footer-toprow__inner {
        padding-top: 20px;
        border-top: 1px solid rgba(35, 31, 32, 0.1);
        width: 100%;
    }
    .footer-info {
        max-width: 100%;
        margin-right: 0;
    }
    .footer-info__title {
        font-size: 15px;
        margin-bottom: 14px;
    }
    .footer-info__list {
        gap: 10px;
    }
    .footer-info__list p {
        font-size: 14px;
    }
    .footer-info__list a {
        font-size: 16px;
    }
    .footer-nav > a,
    .footer-nav > span {
        font-size: 15px;
        margin-bottom: 15px;
    }
    .footer-nav {
        width: auto;
    }
    .footer-nav ul li {
        padding-bottom: 11px;
    }
    .footer-nav__banner {
        margin-top: 23px;
    }
    .footer-nav__banner.footer-nav__banner--mob {
        width: 178px;
        height: 30px;
    }
    .footer-bottomrow {
        font-size: 13px;
        line-height: 123%;
        gap: 8px;
    }
    .footer-info__list a[href^='mailto:'] {
        font-size: 15px;
    }
}
@media (max-width: 350px) {
    .footer-menu {
        -webkit-column-gap: 8px;
        -moz-column-gap: 8px;
        column-gap: 8px;
    }
}
