.container {
  max-width: 1180px;

  padding: 0;
  margin: 0 auto;
}

.btn {
  font-size: 14px;
  line-height: 16px;
}

.section__upper {
  padding: 100px 0 50px;
}

.section__title {
  font-size: 40px;
  line-height: 42px;
}

.header-container {
  padding: 11px 0;
}

.burger {
  display: none;
}

.header-logo__img {
  max-width: 122px;
}

.header-menu {
  position: static;

  padding: 0;

  width: 100%;

  background: none;
}

.header-logo__text {
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  color: var(--color-white);

  display: block;
}

.header-container__flex {
  gap: 10px;
}

.header-button.mob_hide {
  display: flex;
}

.header-info__text-icon {
  display: none;
}

.header-info__text-icon + span {
  display: block;
}

.header-nav {
  flex-direction: row;
  justify-content: space-between;
  gap: 0;
}

.header-bottom {
  background: var(--color-main);
}

.header-button.desk_hide {
  display: none;
}

.header-nav__link {
  border: none;

  font-size: 14px;
  line-height: 16px;

  padding: 11px 0;
}

.header-info__text {
  font-size: 14px;
  line-height: 16px;
  text-decoration: none;

  white-space: nowrap;
}

.header-info__text br {
  display: none;
}

.header-info {
  gap: 40px;

  flex-basis: 52%;
}

/********* $MAIN-BANNER *********/

.main-banner {
  aspect-ratio: 1920/740;

  padding: 30px 0 30px;
}

.main-banner__bg {
  height: auto;
}

.main-banner__logo-wrapper {
  width: 140px;
  display: block;
}

.main-banner__header {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 8px 20px;
  width: max-content;
  grid-auto-flow: row;
  grid-template-areas:
    'main-banner__logo-wrapper main-banner__title'
    'main-banner__subtitle main-banner__subtitle';
  margin: 0 auto;
  text-align: left;
}

.main-banner__title {
  font-size: 44px;
  text-align: left;
}
.main-banner__title span {
  font-size: 39px;
}

.main-banner__subtitle {
  font-size: 38px;
  text-align: center;
}

.main-banner__features {
  display: grid;
  grid-template-columns: 6fr 10fr 7fr;
  grid-template-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 0px;
  max-width: 955px;
}

.main-banner__feature--rate {
  grid-area: unset;
}

.main-banner__feature--installment {
  grid-area: unset;
}

.main-banner__feature--gift {
  grid-area: unset;
}

.main-banner__feature {
  width: 100%;
  height: 94px;
  justify-content: center;
}

.main-banner__feature-text span {
  font-size: 30px;
}

.main-banner__feature-text {
  font-size: 26px;
}

.main-banner__sub-title {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 40px;

  width: 100%;
}

/**************************/

.timer__form {
  margin: 0;
  margin-top: 0;
  width: 65%;
}

/********* $MODELS *********/

.models-list {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.models-cards {
  margin-top: 100px;
  gap: 50px;
}

.model-card {
  width: 100%;

  padding: 20px;
}

.model-card__cont {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.model-card__car {
  width: 298px;

  margin-bottom: 0;

  align-self: flex-end;
}

.model-card__btns {
  flex-direction: row;
}

.model-card__button {
  height: 60px;
}

.model-card__real {
  margin-top: 10px;
  margin-bottom: 0;

  width: 382px;

  order: 3;
}

.model-card__colors {
  margin-bottom: 0;
}

.model-card__head.desk_hide {
  display: none;
}

.model-card__head.mob_hide {
  display: block;
}

.model-card__head {
  font-size: 40px;
  line-height: 42px;

  margin-bottom: 32px;
}

.model-card__price-old {
  font-size: 32px;
  line-height: 34px;

  margin-bottom: 20px;
}

.model-card__images {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 0;
}

.model-card__price {
  font-size: 40px;
  line-height: 42px;

  margin-bottom: 21px;
}

.model-card__price-month {
  font-size: 24px;
  line-height: 26px;
}

.model-card__bg {
  width: max-content;

  position: static;
}

.model-card__cont picture {
  position: absolute;

  left: auto;
  right: 20px;
  top: 20px;
}

.model-card__actions.desk_hide {
  display: none;
}

.model-card__actions.mob_hide {
  display: flex;
}

.model-card__actions {
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
  height: 100%;

  margin-bottom: 0;

  margin-right: -75px;

  padding: 20px 0 0;
  position: relative;
}

.model-card__info {
  flex-basis: 43%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.model-card__actions-item {
  gap: 18px;
}

.model-card__actions-text {
  font-size: 16px;
  line-height: 18px;
  font-weight: 700;
}

/**************************/

/********* $EQUIPS *********/

.equips__filter {
  width: 100%;
  gap: 80px;
  flex-direction: row;
  justify-content: center;

  margin-bottom: 50px;
}

.equips__filter-block {
  width: 300px;
}

.equips-list {
  gap: 75px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  font-size: 20px;
  line-height: 22px;
}

.equips-card {
  width: 100%;
}

.equips-card__cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.equips-card__top {
  display: none;
}

.equips-card__info {
  margin-bottom: 0;

  order: 2;

  margin-right: -40px;
}

.equips-card__images {
  order: 1;
}

.equips-card__prices-btns {
  order: 3;

  flex-basis: 42%;
}

.equips-card__info-texts {
  display: block;

  margin-bottom: 26px;
}

.equips-card__model {
  display: block;

  margin-bottom: 10px;

  font-size: 40px;
  line-height: 42px;
  font-weight: 700;
  color: var(--color-main);
  white-space: nowrap;
}

.equips-card__head {
  margin-bottom: 0;

  font-size: 20px;
  line-height: 22px;
  color: var(--color-black);
}

.equips-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 16px;
  column-gap: 28px;
}

.equips-card__specs-item.mob_hide {
  display: flex;
}

.equips-card__specs-item {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  line-height: 18px;
}

.equips-card__specs-item svg {
  display: block;
}

.equips-card__prices {
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.equips-card__price-old {
  font-size: 32px;
  line-height: 34px;
  color: rgba(34, 34, 34, 0.5);
}

.equips-card__price {
  font-size: 40px;
  line-height: 42px;
  color: var(--color-black);
}

.equips-card__price-month {
  font-size: 16px;
  line-height: 18px;
  color: var(--color-black);
}

.equips-card__img {
  max-width: 304px;
}

.equips-card__btns {
  flex-direction: row;

  width: 100%;
}

/**************************/

/********* $BANNERS *********/

.banner {
  margin-top: 100px;
}

.banner__mob {
  display: none;
}

.banner__bg {
  background: none;

  position: relative;
}

.banner__mob-img.mob_hide {
  display: block;
}

.credits__bg .banner__mob-img {
  object-position: right;
}

.credits__bg {
  padding: 36px 0 43px;
}

.trade__bg {
  padding: 54px 0;
}

.gossale__bg {
  padding: 54px 0;
}

.banner__container {
  width: 100%;
}

.banner__title.mob_hide {
  display: block;
}

.banner__title {
  font-size: 32px;
  line-height: 34px;
  text-transform: uppercase;
}

.credits__title {
  margin-bottom: 30px;
}

.credits-list {
  padding-left: 30px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.banner-list__item {
  font-size: 22px;
  line-height: 24px;

  gap: 20px;
}

.credits-list::before {
  background: var(--color-red);
}

.banner__form {
  margin-top: 30px;

  width: 786px;
}

.banner__form-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}

.banner__button {
  margin-top: 0;

  flex-basis: 50%;
}

.banner .banner__input {
  flex-basis: 50%;
}

.trade__title {
  text-align: right;

  margin-bottom: 40px;
}

.trade__form {
  margin: 40px 0 0 auto;
}

.trade-list {
  width: max-content;

  margin-left: auto;
}

.timer__btn {
  flex-basis: unset;
  height: 40px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  text-transform: unset;
}

.timer__input {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.timer__input::placeholder {
  color: #fff;
}

.gossale__title {
  margin-left: auto;
  /* width: max-content; */
  max-width: 470px;
  width: 100%;
  margin-bottom: 40px;
}

.gossale__subtitle {
  font-size: 16px;
  line-height: 16px;
  font-weight: 700;
  margin-left: auto;
  display: flex;
  margin-bottom: 10px;
  max-width: 470px;
  width: 100%;
  color: #fff;
}

.banner__button.gossale__btn {
  flex-basis: unset;
}

.gossale__form {
  margin: 40px 0 0 auto;
}

.banner__bg.gossale__bg {
  background: none;
}

.gossale-list {
  width: max-content;

  margin-left: auto;
}

.credits-list__docs {
  margin-top: 49px;
}

.credits-list__doc-head {
  font-size: 32px;
  line-height: 34px;

  margin-bottom: 30px;
}

.credits-list__docs-list {
  display: flex;
  gap: 53px;
  width: max-content;
}

/**************************/

/********* $CONTACTS *********/

.contacts {
  position: relative;

  /* margin-top: 100px; */
}

.contacts__map {
  position: absolute;
  right: 0;
  top: 0;

  width: 50%;
  height: 100%;

  object-fit: cover;
}

.contacts__bg {
  padding: 36px 0 56px;
}

.contacts__container {
  width: 100%;
  margin: 0;
}

.contacts__title {
  font-size: 40px;
  line-height: 42px;

  margin-bottom: 40px;
}

.contacts__list {
  margin-bottom: 40px;
}

.contacts__list-item {
  font-size: 20px;
  line-height: 22px;
}

.contacts__button {
  width: 240px;
}

/**************************/

/********* $FOOTER *********/

.footer-text {
  font-size: 14px;
  line-height: 16px;
}

.footer-links {
  flex-direction: row;
  justify-content: center;
  text-align: center;
}

/* .footer-container {
    flex-direction: row;
} */

.footer-links__link {
  white-space: nowrap;
}

/**************************/

/********* $POPUP *********/

.popup {
  width: 600px;
  height: 400px;

  border-radius: 9px;

  padding: 18px 20px 20px;
}

#modalCredit {
  background: url(../img/modal-credit_desk.webp) no-repeat;
  background-size: cover;
}

#modalRequest {
  background: url(../img/modal-req_desk.webp) no-repeat;
  background-size: cover;
}

#modal-success {
  background: url(../img/modal-suc_desk.webp) no-repeat;
  background-size: cover;
}

.popup__head {
  font-size: 32px;
  line-height: 34px;
}

.popup__list {
  margin: 10px 0;
}

.popup__list.mob_hide {
  display: block;
}

.popup__list-item {
  font-size: 20px;
  line-height: 1;
}

.popup__form {
  width: 510px;
}

.popup__form-cont {
  flex-direction: row;
}

.popup__input {
  height: 60px;
}

.popup__button {
  height: 60px;
}

.popup .form__checkbox-text {
  font-size: 16px;
  line-height: 18px;
}

.fancybox__content > .f-button.is-close-btn {
  top: 18px;
  right: 14px;

  width: 24px;
  height: 24px;

  border: 2px solid var(--color-white);

  border-radius: 50%;
}

.f-button svg {
  width: 10px;
  height: 10px;
  opacity: 1;
  stroke: #fff;
  fill: #fff;
  stroke-width: 6px;
}

/**************************/

.show-btn {
  font-size: 16px;
  line-height: 18px;

  margin: 50px auto 0;
}

@media screen and (max-width: 1280px) {
  .container {
    max-width: 1000px;
  }

  .header-info {
    flex-basis: 61%;
  }

  .model-card__head {
    font-size: 32px;
    line-height: 34px;
  }

  .model-card__price-old {
    font-size: 24px;
    line-height: 26px;
  }

  .model-card__price {
    font-size: 36px;
    line-height: 38px;
  }

  .model-card__price-month {
    font-size: 20px;
    line-height: 22px;
  }

  .model-card__actions {
    gap: 32px;

    padding: 60px 0 0;

    margin-right: -45px;
  }

  .model-card__actions-text {
    font-size: 14px;
    line-height: 16px;
  }

  .model-card__real {
    width: 298px;
  }

  .equips-card__model {
    font-size: 32px;
    line-height: 34px;
  }

  .equips-card__head {
    font-size: 18px;
    line-height: 20px;
  }

  .equips-card__specs-item {
    font-size: 14px;
    line-height: 18px;
  }

  .equips-card__price-old {
    font-size: 24px;
    line-height: 26px;
  }

  .equips-card__price {
    font-size: 32px;
    line-height: 34px;
  }

  .equips-card__price-month {
    font-size: 16px;
    line-height: 18px;
  }

  .equips-card__prices-btns {
    flex-basis: 38%;
  }
}

.trade__mob .banner__mob-container {
  align-items: end;
}

.trade__title {
  padding-top: 0;
}

.gossale__mob .banner__mob-container {
  align-items: end;
}

.gossale__title {
  padding-top: 0;
}

@media screen and (min-width: 1600px) {
  .main-banner__logo-wrapper {
    width: 168px;
  }

  .main-banner__title {
    font-size: 47px;
  }
  .main-banner__title span {
    font-size: 42px;
  }

  .main-banner__subtitle {
    font-size: 42px;
    text-align: center;
  }

  .main-banner__features {
    max-width: 1058px;
  }
}
