/*vars*/
:root {
  --container-width: 1440px;
  --container-padding: 96px;
  --section-padding: 100px;
  --font-accent: 'TiltWarp', sans-serif;
  --font-family-main: "Evolventa";
  --font-size-main: 29.81px;
  --font-weigth-main: 400;
  --font--height-main: 39.65px;
  --text-color: #000000;
  --page-bg: #fff;
  --accent: #B90E0C;
  --link-color: #B90E0C;
}

html {
  width: 100%;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-family-main);
  font-size: calc(max(1rem, min(2.0833333333vw, 1.875rem)));
  font-weight: 400;
  line-height: 130%;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--text-color);
  background-color: var(--page-bg);
}

/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

a,
a:link,
a:visited {
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
  display: inline-block;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

/*utils*/
.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.al-center {
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.jc-sb {
  justify-content: space-between;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
}

.jc-center {
  justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.jc-end {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.w-100 {
  width: 100%;
}

img {
  display: block;
}

.rel {
  position: relative;
}

.pic-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.visible-xs,
.visible-s,
.visible-m {
  display: none;
}

.ta-center {
  text-align: center;
}

a {
  color: var(--text-color);
}

/* common */
.container {
  margin: 0 auto;
  padding: 0 var(--container-padding);
  max-width: var(--container-width);
  width: 100%;
}

.section {
  padding: var(--section-padding) 0;
}

.btn {
  border: 1px solid var(--accent);
  padding: 16px 46px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: var(--accent);
  font-size: 32px;
  font-size: calc(max(1.25rem, min(2.2222222222vw, 2rem)));
  font-weight: 700;
  line-height: 130%;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
  cursor: pointer;
  order-radius: 10px;
}

.btn:hover,
.btn:active {
  color: var(--accent);
  background-color: #ffffff;
}

.title-l {
  font-size: calc(max(2.125rem, min(6.1111111111vw, 5.5rem)));
  font-weight: 700;
  line-height: 134%;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.title {
  font-size: calc(max(1.75rem, min(5.5555555556vw, 5rem)));
  font-weight: 700;
  line-height: 134%;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.link {
  color: var(--link-color);
}

/*header*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  background-color: #ffffff;
  padding: 0px 0;
  overflow: hidden;
  -webkit-transition: .2s linear;
  transition: .2s linear;
}

.header-active {
  border-bottom: 1px solid #D9D9D9;
}

.logo {
  width: 85px;
}

.btn-log-in {
  border: 1px solid var(--accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  background-color: var(--accent);
  padding: 5px 13px;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
  color: #ffffff;
  cursor: pointer;
  border-radius: 10px;
}

.btn-log-in:hover,
.btn-log-in:active {
  color: var(--accent);
  background-color: #ffffff;
}

/*section-top*/
.section-top {
  background: url(../images/top-bg-min.png) center no-repeat;
  background-size: cover;
  padding-top: 132px;
  min-height: 1440px;
}

.section-top__inner {
  padding-top: 304px;
  padding-left: 40px;
}

.section-top__title {
  font-family: "Tomorrow", sans-serif;
  font-size: calc(max(1.3125rem, min(2.7777777778vw, 2.5rem)));
  font-weight: 400;
  line-height: 120%;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #ffffff;
  max-width: 1209px;
}

.section-top__title span.hyphen {
  font-family: "TiltWarp";
  font-size: calc(max(1.625rem, min(2.7777777778vw, 2.5rem)));
  font-weight: 400;
  line-height: 120%;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.section-top__title span {
  font-family: "TiltWarp";
  font-size: calc(max(2.125rem, min(4.4444444444vw, 4rem)));
  font-weight: 400;
  line-height: 125%;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #ffffff;
}

/* swiper */
.section-catalog-cars {
  background: url(../images/catalog-bg.png) center no-repeat;
  background-size: 100%;
  background-position: bottom;
  padding-top: 0;
  padding-bottom: 250px;
}

.cardsCarSwiper {
  max-width: 86%;
  padding: 100px 0 140px;
}

.cardsCarSwiper-wrapper .swiper-button {
  background: url(../images/icons/arrow-right-red.svg) center no-repeat;
  background-size: auto;
  position: absolute;
  top: calc(50% - 72px);
  width: 34px;
  height: 70px;
}

.cardsCarSwiper-wrapper .swiper-button.swiper-button-prev {
  left: 0px;
  -webkit-transform: translateY(-50%) rotate(180deg) !important;
  transform: translateY(-50%) rotate(180deg) !important;
}

.cardsCarSwiper-wrapper .swiper-button.swiper-button-prev.swiper-button-disabled {
  opacity: 1 !important;
  -webkit-transform: translateY(-50%) rotate(0deg) !important;
  transform: translateY(-50%) rotate(0deg) !important;
  background: url(../images/icons/arrow-left-desabled.svg) center no-repeat;
}

.cardsCarSwiper-wrapper .swiper-button.swiper-button-next {
  right: 0px;
  -webkit-transform: translateY(-50%) !important;
  transform: translateY(-50%) !important;
}

.cardsCarSwiper-wrapper .swiper-button.swiper-button-next.swiper-button-disabled {
  opacity: 1 !important;
  -webkit-transform: translateY(-50%) rotate(180deg) !important;
  transform: translateY(-50%) rotate(180deg) !important;
  background: url(../images/icons/arrow-left-desabled.svg) center no-repeat;
}

.car-item {
  background-color: #000000;
  color: #ffffff;
  border-radius: 10px;
}

.car-item__pic-wrap {
  height: 170px;
}

.car-item__pic-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 10px;
}

.car-item__text-wrap {
  padding: 30px 40px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 220px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.car-item__title {
  font-size: 32.94px;
  font-size: calc(max(1.25rem, min(2.2916666667vw, 2.0625rem)));
  font-weight: 700;
  line-height: 130%;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.car-item__price {
  font-size: calc(max(1.25rem, min(2.2916666667vw, 2.0625rem)));
  font-weight: 400;
  line-height: 130%;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  margin-top: 3px;
}

.car-item__more {
  font-size: calc(max(0.75rem, min(0.9722222222vw, 0.875rem)));
  font-weight: 400;
  line-height: 135%;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  margin-top: auto;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cardsCarSwiper-wrapper .swiper-pagination {
  margin-top: 105px;
}

.cardsCarSwiper-wrapper .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 61px;
  border-radius: 10px;
}

.cardsCarSwiper-wrapper .swiper-pagination-bullet {
  width: 80px;
  height: 32px;
  border-radius: 0;
}

.cardsCarSwiper-wrapper .swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

/*section-about*/
.section-about {
  color: #ffffff;
  background: url(../images/about-bg.png) center no-repeat;
  background-size: cover;
  position: relative;
  z-index: 2;
  top: -1px;
  padding-top: 0;
}

.section-about .section-list {
  margin-top: 92px;
}

.section-list li {
  padding-left: 74px;
  position: relative;
}

.section-list li::before {
  position: absolute;
  content: "";
  display: block;
  top: 12px;
  left: 0px;
  width: 24px;
  height: 20px;
  background-color: #ffffff;
}

.section-list li:not(:first-child) {
  margin-top: 60px;
}

.section-about__text {
  margin-top: 90px;
  margin-left: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: calc(max(1.125rem, min(2.5vw, 2.25rem)));
  font-weight: 700;
  line-height: 130%;
  text-align: right;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  text-transform: uppercase;
}

/*section-form*/
.section-form {
  position: relative;
  z-index: 2;
  padding-top: 0px;
}

.section-form__inner {
  max-width: 765px;
  margin: 0 auto;
}

.input-item.req {
  position: relative;
}

.input-item.req::after {
  position: absolute;
  content: "*";
  font-size: calc(max(1.25rem, min(3.3333333333vw, 3rem)));
  font-weight: 400;
  line-height: 130%;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--accent);
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 20px;
  height: 30px;
}

input:user-invalid {
  border-color: red;
}

.input-item {
  display: block;
  position: relative;
}

.input-item:not(:first-child) {
  margin-top: 68px;
}

.input-item__input {
  width: 100%;
  padding: 15px 20px;
  font-size: calc(max(1.25rem, min(3.3333333333vw, 3rem)));
  font-weight: 400;
  line-height: 130%;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #000000;
  border-bottom: 4px solid #000000;
  background-color: transparent;
  -webkit-transition: all 300ms;
  transition: all 300ms;
}

.input-item__input::-webkit-input-placeholder {
  color: #D9D9D9;
}

.input-item__input:-ms-input-placeholder {
  color: #D9D9D9;
}

.input-item__input::-ms-input-placeholder {
  color: #D9D9D9;
}

.input-item__input::placeholder {
  color: #D9D9D9;
}

.feedback-form {
  margin-top: 70px;
}

.form__btn {
  margin-top: 60px;
}

/*section-map */
/* .section-map__pic-wrap { max-width: 938px; margin: 0 auto; } */
.section-map__pic-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

/*benefits */

.section-benefits {
  top: -3px;
  position: relative;
  z-index: 2;
  background: url(../images/form-bg.png) center no-repeat;
  background-size: 100%;
  background-position: top;
  padding-top: 250px;
}

.benefits-section {
  background-color: #ffffff;
  color: #333;
  padding: 40px 20px;
}

.benefits-section .title {
  text-align: center;
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.benefit {
  background-color: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 40px 20px 20px 40px;
  width: calc(50% - 20px);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.benefit-title {
  color: #B90E0C;
  font-size: 36px;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: bold;
}

.benefit ul {
  list-style: none;
  padding: 0;
}

.benefit ul li {
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 20px;
  padding-left: 0px;
  position: relative;
}

.benefit ul li::before {
  position: absolute;
  content: "";
  display: block;
  top: 10px;
  left: -20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #333;
}

/*footer*/
.footer {
  padding: 52px 0;
  background-color: #000000;
}


@keyframes slideDown {
  0% {
    transform: translateY(-110%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: #19191920;
  width: 100%;
  height: 100%;
  overflow: auto;
  pointer-events: none;
  opacity: 0;
  visibility: visible;
}

.popup.opened {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.popup.opened .popup__content {
  animation-name: slideDown;
  animation-duration: 0.3s;
  animation-timing-function: linear;
  animation-fill-mode: both;
}

.popup__wrapper {
  display: table;
  width: 100%;
  height: 100%;
}

.popup__inner {
  display: table-cell;
  vertical-align: middle;
  padding: 50px 0;
}

.popup__content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 624px;
  margin: 0 auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  cursor: pointer;
  background: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.popup-close::before,
.popup-close::after {
  content: "";
  background: #191919;
  height: 20px;
  width: 1px;
  position: absolute;
  border-radius: 10px;
  top: 50%;
}

.popup-close::before {
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}

.popup-close::after {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
}

.modal-open {
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 1800px) {
  .section-top {
    background-size: 100%;
  }
}

@media screen and (max-width: 1700px) {
  .section-top {
    min-height: 1300px;
  }
}

@media screen and (max-width: 1600px) {
  .section-top {
    min-height: 1200px;
  }

  .section-top__inner {
    padding-top: 210px;
  }
}

@media screen and (max-width: 1500px) {
  .section-top {
    min-height: 1100px;
  }
}

@media screen and (max-width: 1400px) {
  .section-top {
    min-height: 1000px;
  }

  .section-top__inner {
    padding-top: 90px;
    padding-left: 0;
  }
}

@media screen and (max-width: 1300px) {
  .section-top {
    min-height: 900px;
  }

  .cardsCarSwiper-wrapper .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 21px;
  }

  .section-catalog-cars {
    padding-bottom: 150px;
  }
}

@media screen and (max-width: 1100px) {
  .section-top {
    min-height: 700px;
  }

  .section-catalog-cars {
    padding-bottom: 100px;
  }

  .section-list li:not(:first-child) {
    margin-top: 40px;
  }

  .section-form {
    padding-top: 150px;
  }

  .cardsCarSwiper-wrapper .swiper-pagination-bullet {
    width: 60px;
    height: 22px;
  }
}

@media screen and (max-width: 900px) {
  .container {
    padding: 0 40px;
  }

  .cardsCarSwiper {
    padding: 40px 0 140px;
  }

  .cardsCarSwiper-wrapper .swiper-button {
    top: calc(50% - 98px);
  }
}

@media screen and (max-width: 700px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }

  .header {
    padding: 4px 0;
  }

  .section-top {
    background: url(../images/top-bg-mb-min.png) center no-repeat;
    min-height: 1000px;
    background-size: cover;
    padding-top: 99px;
  }

  .cardsCarSwiper {
    max-width: 80%;
  }

  .cardsCarSwiper {
    padding: 40px 0;
  }

  .cardsCarSwiper-wrapper .swiper-pagination-bullet {
    width: 20px;
    height: 6px;
  }

  .cardsCarSwiper-wrapper .swiper-pagination {
    margin-top: 30px;
  }

  .cardsCarSwiper-wrapper .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 10px;
  }

  .cardsCarSwiper-wrapper .swiper-button {
    top: calc(50% - 4px);
  }

  .cardsCarSwiper-wrapper .swiper-button {
    width: 22px;
    height: 65px;
    background-size: 100%;
  }

  .cardsCarSwiper-wrapper .swiper-button.swiper-button-prev.swiper-button-disabled,
  .cardsCarSwiper-wrapper .swiper-button.swiper-button-next.swiper-button-disabled {
    background-size: 100%;
  }

  .section-form {
    padding-top: 100px;
  }

  .section-form .title {
    text-align: center;
  }

  .input-item__input {
    padding: 10px 14px;
    border-bottom: 2px solid #000000;
  }

  .input-item.req::after {
    top: 67%;
  }

  .benefits-section .title {
    font-size: 22px;
  }
}

@media screen and (max-width: 600px) {
  .section-about .section-list {
    margin-top: 62px;
  }

  .section-list li {
    padding-left: 34px;
  }

  .section-list li::before {
    position: absolute;
    content: "";
    display: block;
    top: 6px;
    left: 0px;
    width: 15px;
    height: 12px;
    background-color: #ffffff;
  }

  .section-list li:not(:first-child) {
    margin-top: 34px;
  }

  .section-about__text {
    margin-top: 60px;
    margin-left: 0;
  }

  .input-item.req::after {
    top: 62%;
  }

  .footer {
    padding: 20px 0;
  }

  .section-top {
    min-height: 900px;
  }
}

@media screen and (max-width: 500px) {
  .btn {
    padding: 10px 26px;
  }

  .section-top {
    min-height: 806px;
    padding-top: 60px;
    background-position: top;
  }

  .car-item__pic-wrap {
    height: 143px;
  }

  .car-item__text-wrap {
    height: 150px;
  }

  .logo {
    width: 60px;
  }

  .benefits-section .title {
    font-size: 22px;
  }

  .benefit {
    width: 100%;
  }

  .benefit-title {
    font-size: 21px;
  }

  .benefit ul li {
    font-size: 16px;
  }

  .section-form {
    padding-top: 0px;
  }
}

@media screen and (max-width: 400px) {
  .section-top {
    min-height: 656px;
    padding-top: 30px;
  }
}