.container {
    padding: 0;

    max-width: 1180px;

    margin: 0 auto;
}

.section__title {
    font-size: 32px;
    line-height: 34px;
}

.section__upper {
    padding: 46px 0 31px;
}

.section__sub-title {
    font-size: 16px;
    line-height: 18px;

    margin-top: 16px;
}

.header {
    padding: 24px 0 20px;
}

.burger {
    display: none;
}

.header-info__item.mob_hide {
    display: flex;
    gap: 12px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 26px;
}

.header-list__links {
    font-size: 16px;
    line-height: 18px;
}

.header-info.desk_hide {
    display: none;
}

.header-logo {
    display: flex;
    column-gap: 20px;
    text-align: center;
}

.header-logo span {
    font-size: 16px;
    position: relative;
    display: block;
}

.header-logo__img {
    max-width: 121px;
}

.header-logo span::before {
    position: absolute;
    top: 50%;
    left: -9px;
    width: 1px;
    height: 22px;
    content: "";
    transform: translateY(-50%);
    background-color: #da3738;
}

.header-menu {
    position: static;

    padding: 15px 0 0;

    border: none;
}

.header-nav {
    flex-direction: row;
    gap: 50px;
}

.header-info__item {
    font-size: 16px;
    line-height: 18px;
}

/* ********* $MAIN-BANNER ********* */

.main-banner {
    /* background-image: url(../img/main-banner_desk.webp);
    background-repeat: no-repeat;
    background-size: cover; */

    /* padding: 75px 0 312px; */
}

.swiper-pagination-bullet:only-child {
    display: inline-block !important;
}

.main-banner__bg {
    background-image: url(../img/main-banner_desk-1.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 75px 0 312px;
    /* aspect-ratio: 1920 / 875; */

    height: 795px;
}

.main-banner__bg._two {
    background-image: url(../img/main-banner_desk2-1.webp);
    background-repeat: no-repeat;
    background-size: cover;

    padding: 34px 0 312px;
    /* aspect-ratio: 1920 / 875; */
}

.main-banner__bg._two .main-banner__title {
    font-size: 56px;
    line-height: 58px;
}

.main-banner__bg._two .main-banner__sub-title {
    font-size: 35px;
    line-height: 37px;
}

.main-banner__bg._two .main-banner__sub-title br {
    display: none;
}

.main-banner__title {
    font-size: 45px;
    line-height: 47px;
    text-transform: uppercase;
}

.main-banner__sub-title {
    font-size: 42px;
    line-height: 63px;

    margin-top: 14px;
}

.main-banner__info {
    margin-top: 30px;
}

.list {
    gap: 15px;
}

.list-item {
    gap: 15px;

    font-size: 30px;
    line-height: 43px;
}

.main-banner__button {
    margin-top: 41px;
}

.main-banner__timer {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;

    width: 100%;

    padding: 38px 0;

    background: rgb(34 34 34 / 54%);
}

.main-banner__timer.js_no_bg {
    background: rgb(34 34 34 / 0%);
}

.main-banner__container {
    /* padding: 75px 0 312px; */
    position: relative;
}

.main-banner__head {
    font-size: 32px;
    line-height: 32px;
}

.main-banner__head br {
    display: block;
}

.main-banner__text {
    font-size: 32px;
    line-height: 20px;
}

.main-banner__text br {
    display: block;
}

.main-banner__cont {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timer {
    margin: 0;

    flex-basis: 42%;
}

.pie {
    width: 103px;
    height: 103px;

    bottom: -22px;
    left: -22px;
}

.time-count__val {
    font-size: 50px;
    line-height: 52px;
}

.time-count__item {
    width: 57px;
}

.time-count__text {
    font-size: 14px;
    line-height: 16px;
}

.header-nav__item {
    /* padding: 10px 10px 10px 12px; */
    padding: 10px 10px 10px 0;

    transition: all 0.4s;

    cursor: pointer;

    display: flex;
}

.header-nav__link {
    position: relative;
    z-index: 3;
}

.header-nav__item:hover .header-list {
    display: flex;

    opacity: 1;
    z-index: 2;

    box-shadow: 0px 14px 31.3px 0px rgba(0, 0, 0, 0.27);
}

.header-list {
    position: absolute;
    left: -12px;
    opacity: 0;
    z-index: -1;
    /* bottom: -73px; */
    bottom: -85px;
    width: calc(100% + 12px);
    background: var(--color-white);

    margin: 0;
    /* padding: 28px 10px 15px 12px; */
    padding: 34px 10px 15px 12px;

    transition: all 0.4s;
}

.header-list:hover {
    opacity: 1;
    z-index: 1;
}

.header-list__item {
    display: flex;
}

.main-banner .swiper-pagination {
    top: auto;
    bottom: 165px;

    height: 37px;

    padding: 13px;
}

.main-banner .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
}

/* _________ */

/* ********* $OFFER ********* */

.offer {
    padding: 98px 0 0;
}

.offer-container {
    width: 100%;

    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.offer-item {
    height: 146px;

    padding: 18px 27px 20px;

    gap: 29px;
    justify-content: flex-start;

    font-size: 18px;
    line-height: 20px;

    cursor: pointer;
}

.offer-ball {
    width: 41px;
    height: 41px;
}

.offer-ball svg {
    width: 24px;
    height: 24px;
}

/* _________ */

/* ********* $MODELS ********* */

.models-container {
    gap: 25px;
}

.models-card {
    width: 100%;

    display: flex;
    flex-direction: row-reverse;
}

.models-card__images {
    width: 590px;
    height: 365px;
}

.models-card__info {
    flex-basis: 50%;

    padding: 22px 36px 10px 25px;
}

.models-card__name-prices {
    display: flex;
    /* align-items: flex-end; */
    justify-content: space-between;
}

.models-card__name {
    font-size: 34px;
    line-height: 42px;
    text-align: left;
}

.models-card__prices {
    margin-top: 15px;
}

.models-card__price {
    font-size: 29px;
    line-height: 31px;

    /* margin-bottom: 5px; */
}

.models-card__name-wrapper {
    flex-direction: column;
}

.models-card__price--old {
    font-size: 20px;

    margin-right: 0;
}

.models-card__price-month {
    text-align: left;
}

.models-price__list {
    margin-top: 20px;

    row-gap: 19px;
    column-gap: 0;
}

.models-card__list-item {
    gap: 7px;
    font-size: 17px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.models-card__btns {
    margin-top: 30px;

    flex-direction: row;
    gap: 31px;
}

.models-card__button {
    height: 40px;
}

.swiper-models-images {
    height: 100%;
}

.swiper-models-images .swiper-pagination {
    padding: 0 33px 0 21px;

    bottom: 16px;

    height: 100%;
}

.swiper-models-images .swiper-pagination-bullet {
    background: none;

    position: relative;
}

.swiper-models-images .swiper-pagination-bullet::after {
    content: "";

    display: block;

    width: 100%;
    height: 5px;
    position: absolute;
    bottom: 0;
    left: 0;

    background: var(--color-white);
}

.swiper-models-images .swiper-pagination-bullet-active::after {
    background: var(--color-red);
}

.models__features.expanded {
    padding: 40px;
    max-height: 3000px;
}

.models__features {
    padding: 0;
    padding: 0 40px;

    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
}

.models__card-show-features {
    display: flex;
    align-items: center;
    column-gap: 10px;
    background-color: transparent;
    transition: all 0.3s;
    margin: 0 auto;
    margin-top: 15px;
}

.models__card-show-features span {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #da3738;
}

.models__features h3 {
    font-size: 19px;
    margin-bottom: 17px;
    text-align: left;
}

.equip-card__info-list li {
    font-size: 18px;
    list-style: disc;
    margin-bottom: 5px;
}

/* _________ */

/* ********* $GALLERY ********* */

.swiper-gallery {
    width: 100%;

    /* padding: 112px 50px 157px; */
    padding: 143px 50px 157px;
    margin: -58px -20px 0;
}

.swiper-gallery .sample-slider {
    width: 70%;
}

.swiper-gallery .swiper-slide.swiper-slide-active .gallery-swiper__cont {
    /* width: 601px; */
    /* height: 447px; */
    /* transform: scale(1.2); */
    /* height: 447px; */
    /* transform: scale(1.766); */
    transform: scale(1.6);

    box-shadow: 0px 4px 31.7px 0px rgba(0, 0, 0, 0.56);

    background: none;
    backdrop-filter: none;
}

.swiper-gallery
    .swiper-slide.swiper-slide-active
    .gallery-swiper__cont::before {
    opacity: 0;
}

.swiper-gallery
    .swiper-slide.swiper-slide-active
    .gallery-swiper__cont
    .gallery-swiper__info {
    opacity: 1;
}

.gallery-swiper__info {
    opacity: 0;

    padding: 0 17px 17px;
}

.swiper-gallery .swiper-slide.swiper-slide-active {
    z-index: 10;
}

.sample-slider img {
    width: 100%;
}

.gallery-swiper__cont {
    height: 288px;

    transition: all 0.6s;

    box-shadow: none;
}

.gallery-swiper__cont::before {
    content: "";

    display: block;

    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;

    backdrop-filter: blur(10.4px);
    background: rgba(0, 0, 0, 0.34);

    z-index: 1;

    opacity: 1;

    transition: all 0.4s;
}

.gallery__models-tab {
    font-size: 15px;
    line-height: 17px;
}

.gallery-container__swipers {
    margin-top: 51px;

    padding: 0 86px;
}

.gallery .swiper-gallery-button-prev,
.gallery .swiper-gallery-button-next {
    width: 56px;
    height: 56px;

    cursor: pointer;
}

.gallery .swiper-gallery-button-next {
    right: 0;
    top: 40%;
    transform: translate3d(0, -50%, 0);
}

.gallery .swiper-gallery-button-prev {
    left: 0;
    right: auto;
    top: 40%;
    transform: translate3d(0, -50%, 0);
}

.gallery-swiper__text {
    margin-top: 5px;
}

.gallery-swiper__head {
    font-size: 17px;
    line-height: 19px;
}

.gallery-swiper__img {
    object-position: center;
}

/* _________ */

/* ********* $BANNER ********* */

.banner__head {
    font-size: 28px;
    line-height: 30px;

    margin-bottom: 34px;
}

.banner__list {
    gap: 19px;
}

.banner__list-item {
    gap: 14px;

    font-size: 22px;
    line-height: 24px;
}

.banner__form-cont {
    flex-direction: row;
    gap: 15px;
}

.banner__form-button {
    flex-basis: 50%;
}

.banner__form-input {
    flex-basis: 48%;
}

.banner__form {
    width: 100%;
}

/* _________ */

/* ********* $EQUIPS ********* */

.equips__filter {
    width: 100%;

    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.equips__filter-block {
    width: 280px;
}

.equips-container {
    margin-top: 55px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 62px;
    row-gap: 20px;
}

.equips-card {
    width: 100%;
}

/* _________ */

/* ********* $CONTACTS ********* */

.contacts-info {
    bottom: auto;
    top: 0;

    background: none;

    padding: 0;

    height: 100%;
}

.contacts-info__cont {
    padding: 59px 60px 61px 0;

    background: rgba(34, 34, 34, 0.79);

    width: max-content;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
}

.contacts-info__bg {
    position: relative;

    height: 100%;
}

.contacts-info__bg .container {
    height: 100%;
}

.contacts-info__bg::before {
    content: "";

    display: block;

    width: calc(50% - 590px);
    height: 100%;

    background: rgba(34, 34, 34, 0.79);

    position: absolute;
    top: 0;
    left: 0;
}

.contacts__logo {
    max-width: 266px;
    height: 40px;
}

.contacts__head {
    margin-top: 20px;

    font-size: 24px;
    line-height: 26px;

    margin-top: 0;
}

.contacts__list {
    margin: 43px 0 0;

    margin: 0;
}

.contacts__button {
    margin: 56px 0 0;

    margin: 0;
}

/* _________ */

/* ********* $TEST ********* */

.test__form-head {
    margin-bottom: 24px;
}

.test__form {
    width: 780px;
}

.test__form-cont {
    gap: 11px;
}

.test__from-contact .test__form-cont {
    flex-direction: row;
    justify-content: space-between;
}

.test__from-contact .test__form-block {
    flex-basis: 50%;
}

.test__form .select2-container--default .select2-selection--single {
    height: 53px;
}

.test__form-input {
    height: 53px;
}

.test__form-label {
    font-size: 16px;
    line-height: 18px;
}

.test__form-block._change .test__form-label {
    font-size: 12px;
    line-height: 14px;
}

.ui-datepicker .ui-datepicker-title,
.ui-timepicker-standard a {
    font-size: 20px;
}

.ui-datepicker th,
.ui-state-default,
.ui-widget-content .ui-state-default {
    font-size: 17px;
}

.ui-widget.ui-widget-content {
    width: 300px;

    border-radius: 0;
}

.ui-timepicker-standard {
    width: 300px !important;
}

.ui-timepicker-standard .ui-state-hover {
    background: var(--color-red);
    color: var(--color-white);

    border: none;
    border-radius: 0;
}

.ui-menu .ui-menu-item {
    line-height: 22px;
}

.ui-datepicker td {
    line-height: 19px;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight {
    border: 1px solid var(--color-red);
    background: var(--color-red);

    color: var(--color-white);
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 0;
    width: 44px;
    height: 44px;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 0;
    margin-left: 0;
    top: 0;
    margin-top: 0;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover,
.ui-datepicker .ui-datepicker-prev.ui-state-hover,
.ui-datepicker .ui-datepicker-next.ui-state-hover,
.ui-datepicker .ui-datepicker-prev.ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next.ui-datepicker-next-hover {
    background: none !important;
    filter: none !important;
    box-shadow: none !important;
    /* если там меняется цвет, отменяем */
    color: inherit !important;
    border: none !important;
    border-radius: none !important;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    outline: none; /* убирает обводку */
    box-shadow: none; /* убирает тени */
}

.ui-datepicker .ui-datepicker-prev:focus,
.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:focus,
.ui-datepicker .ui-datepicker-next:hover {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}

.ui-datepicker .ui-datepicker-header {
    border-radius: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test__form-button {
    width: 380px;
    height: 64px;

    margin: 33px auto 0;
}

.test
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 25px;
    right: 29px;
}

/* _________ */

/* ********* $FOOTER ********* */

.footer {
    padding: 32px 0 18px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-btns.mob_hide {
    display: flex;
}

.footer-btns.desk_hide {
    display: none;
}

.footer-btns {
    gap: 24px;
    flex-basis: 17%;
}

.footer__button {
    font-size: 12px;
    line-height: 14px;

    height: 48px;
}

.footer-logo__img {
    max-width: 121px;
    height: 18px;
}

.footer-list {
    display: flex;
    flex-basis: 63%;
    gap: 23px;
}

.footer-list__menu {
    display: flex;
    gap: 23px;
}

.footer-list__models {
    display: flex;
    flex-direction: column;
}

.footer-links {
    flex-direction: row;
    gap: 20px;
}

/* _________ */

/* ********* $POPUP ********* */

.popup {
    width: 700px;

    padding: 31px 40px 16px 51px;
}

#modalSpecial {
    padding: 40px 36px 27px 36px;

    background-image: url(../img/p-special_desk.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

#modalSpecial .popup-container {
    align-items: start;
}
#modalSpecial .popup-form {
    align-items: start;
}

#modalCredit .popup-container {
    align-items: end;
}
#modalCredit .popup-form {
    align-items: end;
}

#modalCredit {
    background-image: url(../img/p-credit_desk.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 39px 25px;
}

#modal-success {
    background-image: url(../img/p-suc_desk.webp);
    background-repeat: no-repeat;
    background-size: cover;

    width: 548px;
    height: 313px;
}

#modal-success .popup-head {
    font-size: 32px;
    line-height: 34px;

    margin-bottom: 4px;
}
#modal-error {
    background-image: url(../img/p-suc_desk.webp);
    background-repeat: no-repeat;
    background-size: cover;

    width: 548px;
    height: 313px;
}

#modal-error .popup-head {
    font-size: 32px;
    line-height: 34px;

    margin-bottom: 4px;
}

.popup-text {
    font-size: 18px;
    line-height: 20px;
}

.popup-text br {
    display: none;
}

#modalSpecial .popup-container {
    width: max-content;

    /* margin-left: auto; */
}

.popup__list {
    flex-direction: column;
}

#modalCredit .popup__list {
    display: flex;
}

.popup-head {
    font-size: 27px;
    line-height: 29px;

    margin-bottom: 24px;
}

.popup__list-box {
    width: 14px;
    height: 14px;
}

.popup__list-item {
    font-size: 18px;
    line-height: 20px;
}

#modalSpecial .popup-form {
    margin-top: 44px;
}

.popup-form {
    margin-top: 27px;
}

.popup-form__inputs {
    display: grid;
    grid-template-columns: 1fr;

    width: 238px;
}

.popup-form__input {
    height: 39px;
    font-size: 14px;
    line-height: 16px;
}

.popup-form__input::placeholder {
    font-size: 14px;
    line-height: 16px;
}

.popup-form__button {
    margin-top: 9px;

    height: 42px;
    width: 238px;
}

.popup-form__checkbox {
    margin-top: 11px;
}

.fancybox__content > .f-button.is-close-btn {
    width: 24px;
    height: 24px;

    background: var(--color-white);

    opacity: 1;

    border-radius: 50%;

    top: -9px;
    right: -7px;
}

#modal-success.fancybox__content > .f-button.is-close-btn {
    background: var(--color-black);

    top: 18px;
    right: 18px;
}
#modal-error.fancybox__content > .f-button.is-close-btn {
    background: var(--color-black);

    top: 18px;
    right: 18px;
}

.f-button svg {
    width: 14px;
    height: 14px;

    stroke: var(--color-black);
    stroke-width: 3px;
}

#modal-success .f-button svg {
    stroke: var(--color-white);
}
#modal-error .f-button svg {
    stroke: var(--color-white);
}

/* _________ */

@media screen and (max-width: 1740px) {
    .contacts-info__cont {
        padding: 31px 60px 25px 0;
    }
}

@media screen and (max-width: 1440px) {
    .container {
        max-width: 1250px;
    }

    .timer {
        margin-right: 30px;
    }

    .contacts-info__bg::before {
        width: calc(50% - 625px);
    }

    .contacts-info__cont {
        padding: 17px 45px 17px 0;
    }

    .contacts__head {
        font-size: 17px;
        line-height: 19px;
    }

    .contacts__list {
        gap: 13px;
    }

    .contacts__logo {
        height: 31px;
    }
}

@media screen and (max-width: 1280px) {
    .container {
        max-width: 990px;
    }

    .main-banner__head {
        font-size: 21px;
        line-height: 23px;
    }

    .main-banner__text {
        font-size: 13px;
        line-height: 15px;
    }

    .offer-item {
        font-size: 16px;
        line-height: 18px;

        padding: 11px 15px 13px;
    }

    .offer {
        padding: 59px 0 0;
    }

    .list-item {
        font-size: 23px;
        line-height: 25px;
    }

    .models-card__images {
        width: 491px;
        height: 260px;
    }

    .models-card__name {
        font-size: 31px;
        line-height: 33px;
    }

    .models-card__price {
        font-size: 23px;
        line-height: 25px;
    }

    .models-card__price-month {
        font-size: 16px;
        line-height: 18px;
    }

    .models-card__info {
        padding: 18px 22px 0px 21px;
    }

    .models-card__list-item {
        font-size: 16px;
        line-height: 18px;
    }

    .models-price__list {
        column-gap: 31px;
    }

    .equips-container {
        gap: 15px;
    }

    .contacts-info__bg::before {
        width: calc(50% - 495px);
    }

    .swiper-gallery .swiper-slide.swiper-slide-active .gallery-swiper__cont {
        transform: scale(1.4);
    }

    .swiper-gallery {
        width: 100%;
        padding: 88px 50px 157px;
        margin: 0;
    }
}

.credits__head {
    font-size: 35px;
}

.trade__head {
    font-size: 35px;
}

.trade-credit__wrapper {
    margin-top: 90px;
}

.trade-credit__wrapper .banner__form-button {
    max-width: 340px;
    height: 50px;
    font-size: 15px;
}

.trade-credit__wrapper .banner-container {
    align-items: center;
}

.credits-container {
    margin-right: 43px;
}

.trade-container {
    margin-left: 30px;
}

#map {
    width: 100%;
    height: 490px;
    /* -webkit-filter: grayscale(100%);
	filter: grayscale(100%); */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.contacts-info {
    pointer-events: none; /* пропускаем клики сквозь фон */
}

.contacts-info__cont * {
    pointer-events: auto; /* но клики по кнопкам и ссылкам остаются */
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: block;
    width: 44px;
    height: 44px;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
    overflow: hidden;
}

.ui-datepicker .ui-datepicker-prev span {
    background-image: url("../img/left.svg") !important;
}

.ui-datepicker .ui-datepicker-next span {
    background-image: url("../img/right.svg") !important;
}

.ui-widget-header {
    border: 1px solid #aaaaaa;
    background: #eeeeee !important;
    color: #222222;
    font-weight: bold;
}


