body,
html {
  font-family: "Golos";
  font-weight: 400;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.overlay__close {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;

  @media screen and (max-width: 1280px) {
    stroke: #000;
    top: 50px;
  }
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  background: #fff;
  max-width: 700px;
  width: 96vw;
  padding: 45px 50px;
  box-sizing: border-box;
  transition: transform 0.5s ease;
}

.modal.hidden {
  transform: scale(0.8) translateY(50%);
}

.modal__title {
  font-size: 32px;
  font-weight: 400;
}

.modal__subtitle {
  font-size: 24px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.modal__form-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.modal__form-error {
  font-size: 12px;
  color: red;
}

.modal__form-input {
  width: 100%;
  background: #f1f1f1;
  padding: 22px;
  border-radius: 6px;
  font-size: 22px;
  border: none;
  resize: vertical;
  box-sizing: border-box;
}

.modal__form-input:focus {
  outline: none;
}

.modal__input::placeholder {
  color: #f9f9f9;
}

.modal__form-input[name="phone"]::placeholder {
  color: #000;
}

.modal__link {
  display: block;
  color: #e2051b;
  text-decoration: underline;
}

textarea.modal__form-input {
  min-height: 143px;
  box-sizing: border-box;
}

.modal__form-button {
  background: #e2051b;
  text-transform: uppercase;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 24px 0;
  border-radius: 6px;
  transition: 0.5s;
  cursor: pointer;
}

.modal__form-button:hover {
  background: #ffcf24;
  color: #000;
}

.promo {
  position: relative;
  width: 100vw;
  height: 100vh;

  min-height: 845px;

  @media screen and (max-width: 1280px) {
    height: 120vh;
  }

  @media screen and (min-width: 1600px) {
    height: 70vh;
  }
}

.promo__bg {
  background-color: #ededed;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.promo__bg-1 {
  position: absolute;
  height: 100vh;
  width: 100vw;
  background-image: url("../images/img/promo-bg-1.svg");
  background-repeat: no-repeat;
  background-position: 0 100%;
  filter: blur(1px);
  bottom: 0;

  @media screen and (max-width: 1280px) {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    height: 120vh;
  }

  @media screen and (min-width: 1600px) {
    height: 70vh;
  }
}

.promo__bg-2 {
  height: 100%;
  width: 70%;
  margin-left: auto;

  background-image: url("../images/img/promo-bg-2.png");
  background-repeat: no-repeat;
  background-position-x: -90%;
  background-size: cover;
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 28% 100%);
  z-index: 1;

  @media screen and (max-width: 1280px) {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-image: url("../images/img/promo-bg-2-mobile.png");
    clip-path: none;
    z-index: 10;
    height: 60%;
    width: 100vw;
    max-width: 423px;
  }
}

.promo__bg-img {
  width: 100%;
  height: 845px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0;

  @media screen and (max-width: 1280px) {
    display: none;
  }
}

.header-mobile {
  display: none;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  padding: 12px 0;
  margin-bottom: 24px;
  width: 96vw;
  max-width: 400px;

  @media screen and (max-width: 1280px) {
    display: grid;
  }
}

.header__row {
  display: flex;
  justify-content: space-between;
}

.header__logo {
  width: 160px;
}

.header__logo-img {
  width: 100%;
}

.header__address-link {
  font-style: normal;
  font-size: 20px;
  color: var(--primary-gray);
}

.header__socials {
  display: flex;
  gap: 28px;
}

.header__socials-item {
  width: 42px;
  height: 42px;

  @media screen and (max-width: 1280px) {
    width: 28px;
    height: 28px;
  }
}

.header__socials-item img {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 24px;
  color: #fff;
}

.header__phone-icon {
  width: 34px;
  height: 34px;
  @media screen and (max-width: 1280px) {
    width: 28px;
    height: 28px;
  }
}

.promo__content {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;

  @media screen and (max-width: 1280px) {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }
}

.promo__title {
  font-family: "Roboto";
  position: relative;
}

.promo__earning-price {
  position: absolute;
  font-size: 28px;
  top: -20px;
  right: 0;
  transform: translate(50%, 50%);
  width: max-content;
  background: linear-gradient(
    331deg,
    rgba(255, 118, 76, 1) 54%,
    rgba(255, 184, 37, 1) 100%
  );
  padding: 12px;
  border-radius: 30px;
  line-height: 1;
  color: #fff;

  @media screen and (max-width: 1280px) {
    top: -10px;
    left: 200px;
    font-size: 14px;
    padding: 6px;
  }
}

.promo__subtitle {
  letter-spacing: 10px;
  font-size: 22px;
}

.promo__earning {
  display: flex;
  flex-direction: column;
  gap: 8px;

  @media screen and (max-width: 1280px) {
    align-items: center;
    font-size: 12px;
  }
}

.promo__earning-top {
  display: flex;
  padding-left: 36px;
  gap: 16px;

  @media screen and (max-width: 1280px) {
    padding: 0;
  }
}

.promo__earning-img {
  width: 45px;
}

.promo__earning-text {
  font-size: 28px;
  padding-top: 24px;
  font-weight: 400;

  @media screen and (max-width: 1280px) {
    font-size: 24px;
  }
}

.promo__earning-text_selected {
  display: block;
  color: var(--primary-orange);
  font-family: "Roboto";
  font-weight: 600;
}

.promo__button {
  margin-top: 120px;
  width: 300px;
  width: max-content;

  @media screen and (max-width: 1280px) {
    margin-top: 60px;
  }
}

.promo__discount {
  position: relative;
  margin-top: 8vh;
  background: #fff;
  border-radius: 20px;
  width: max-content;
  padding: 20px 20px 20px 100px;

  @media screen and (max-width: 1280px) {
    margin-top: 60px;
  }
}

.promo__discount-img {
  position: absolute;
  top: 0;
  left: 0;

  transform: translate(-25%, -25%);
}

.promo__discount-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.promo__discount-title {
  font-size: var(--font-lg);
  background: linear-gradient(
    353deg,
    rgba(255, 118, 76, 1) 30%,
    rgba(255, 184, 37, 1) 71%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.promo__content-right {
  display: flex;
  flex-direction: column;
}

/* .promo__comission-title {
  color: #fff;
  text-align: right;
  font-size: 32px;
  font-weight: 400;
  margin-top: 40px;

  @media screen and (max-width: 1280px) {
    display: inline-block;
    margin-right: auto;
    font-size: 24px;
    text-align: left;
    color: #000;
  }
}

.promo__comission-title span {
  color: rgb(255, 168, 27);
} */

/* .promo__comission-percents {
  display: block;
  margin-left: auto;
  width: 369px;
  margin-top: 20px;

  @media screen and (max-width: 1280px) {
    display: inline-block;
    width: 100px;
    margin: 0 0 0 40px;
  }
} */

.promo__comission-car {
  position: absolute;
  display: inline;
  width: 706px;
  margin-top: 13%;
  margin-left: -500px;

  @media screen and (max-width: 1280px) {
    display: none;
  }
}

.promo__comission-partner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 41px;
  margin-top: 130%;
  right: 0px;
  bottom: -200px;
  background: #1e1e1e;
  color: #fff;
  width: max-content;
  overflow: hidden;

  @media screen and (max-width: 1280px) {
    margin: -100px auto 0;
  }
}

.promo__comission-partner:after {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: block;
  content: "";
  height: 50px;
  width: 0px;
  background: #ffffff80;
  box-shadow: 0 0 70px 45px #ffffff80;
}

.promo__comission-partner img {
  display: block;
  width: 70px;
  height: 70px;
  float: left;
  border-radius: 50%;
}

.promo__comission-partner-name {
  display: block;
  font-size: var(--font-lg);
  font-weight: 500;
  margin-top: 6px;
}

.cars {
  display: grid;
  margin-top: 100px;
}

.cars__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;

  @media screen and (max-width: 1280px) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.cars__promotion {
  position: relative;
  transition: 0.4s transform;
  height: 100%;
  max-height: 407px;

  @media screen and (max-width: 1280px) {
    height: 320px;
  }
}

.cars__promotion-img {
  width: auto;
  height: 100%;
}

.cars__promotion-button {
  position: absolute;
  left: 320px;
  bottom: 32px;

  @media screen and (max-width: 1280px) {
    left: 240px;
    bottom: 20px;
  }
}

.car {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #f4f4f4;
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  transition: 0.4s transform;

  @media screen and (max-width: 1280px) {
    width: max-content;
  }
}

.cars__promotion:hover,
.car:hover {
  transform: translateY(-10px);
}

.car__top {
  display: flex;
  justify-content: space-between;
}

.car__name {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 500;
}

.car__tariff {
  display: flex;
  align-items: center;
  text-align: center;
  background: #000;
  color: #fff;
  border-radius: 30px;
  padding: 0px 12px;
  font-size: 1px;
  font-size: var(--font-md);
}

.car__data {
  display: flex;
}

.car__data-icon {
  margin-right: 8px;
}

.car__data-icon_last {
  margin-left: auto;
}

.car__data-param {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 400;
  font-size: var(--font-md);
  font-size: 14px;
}

.car__data-param span {
  font-size: var(--font-lg);
  font-weight: 500;
  font-size: 18px;
}

.car__img {
  width: 100%;

  @media screen and (max-width: 1280px) {
    width: 94vw;
    max-width: 250px;
  }
}

.car__img img {
  width: 100%;
  height: 100%;
}

.car__purchase {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 24px;
}

.car__price {
  display: flex;
  flex-direction: column;
  font-size: 24px;
  font-family: "Roboto";
  font-weight: 600;
}

.car__price-old {
  font-family: "Golos";
  font-weight: 400;
  font-size: 16px;
  text-decoration: line-through;
  color: rgba(0, 0, 0, 0.4);
}

.car__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(
    331deg,
    rgba(255, 118, 76, 1) 0%,
    rgba(255, 184, 37, 1) 69%
  );
}

.help {
  position: relative;
  display: flex;
  background-image: url("../images/img/help-bg.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  max-width: 1180px;
  margin: 100px auto 0;
  border-radius: 60px;
  padding: 40px 60px;

  @media screen and (max-width: 1280px) {
    padding-bottom: 200px;
    border-radius: 30px;
    padding: 30px 30px 200px 30px;
    margin-top: 100px;
  }
}

.help__title {
  font-family: "Roboto";
  font-size: var(--font-exlg);
  margin-bottom: 50px;
  color: #fff;
  font-size: 36px;
}

.help__features {
  display: flex;
  flex-direction: column;
  gap: 48px;
  font-size: 18px;
  color: #fff;
  padding: 0;
  margin: 0;
  font-weight: 200;
}

.help__feature {
  display: flex;
  align-items: center;
  gap: 24px;
  line-height: 1.3;
}

.help__feature-img {
  width: 45px;
}

.help__decorator {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 80px;
  height: 100%;

  @media screen and (max-width: 1024px) {
    display: none;
  }
}

.help__car {
  position: absolute;
  width: 700px;
  top: 0px;
  right: 100px;

  @media screen and (max-width: 1024px) {
    top: 70%;
    right: 0;
    width: 400px;
  }
}

.rent {
  margin-top: 150px;
}

.rent__title {
  text-align: center;
}

.rent__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
  margin-top: 64px;

  @media screen and (max-width: 1200px) {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.rent__finite {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: -200px;
  padding-bottom: 60px;
  gap: 24px;

  @media screen and (max-width: 1200px) {
    margin: 0;
    padding: 0;
  }
}

.rent__finite img {
  @media screen and (max-width: 1200px) {
    display: none;
  }
}

.rent__finite:last-child {
  align-items: flex-start;
}

.rent__finite:last-child img {
  transform: rotateY(180deg);
}

.rent__feature {
  width: 100%;
  height: max-content;
  background: #f9f9f9;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-sizing: border-box;
}

.rent__feature-step {
  padding: 8px 24px;
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(
    331deg,
    rgba(255, 118, 76, 1) 54%,
    rgba(255, 184, 37, 1) 85%
  );
}

.rent__feature-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 16px;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
}

.rent__feature-title {
  font-weight: 400;
  font-size: 16px;
}

.rent__feature_orange {
  background: linear-gradient(
    331deg,
    rgba(246, 69, 63, 1) 4%,
    rgba(255, 118, 76, 1) 25%,
    rgba(255, 184, 37, 1) 78%
  );
}

.rent__feature_orange .rent__feature-container {
  border: none;
}

.rent__feature_orange .rent__feature-step {
  background: var(--primary-gray);
}

.rent__feature_orange .rent__feature-title {
  color: #fff;
}

.rent__buttons {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

.requirements {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0;
  align-items: center;
  max-width: 1550px;
  margin: 100px auto 0;
  border-radius: 60px;
  background: #f6f6f6;

  @media screen and (max-width: 768px) {
    border-radius: 0;
  }
}

.requirements__logo {
  flex-basis: 0;
}

.requirements__list {
  display: flex;
  justify-content: space-around;
  width: 100%;

  @media screen and (max-width: 576px) {
    flex-direction: column;
    gap: 24px;
  }
}

.requirements__list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 24px;
}

.requirements__list-item-img {
  width: 150px;

  @media screen and (max-width: 576px) {
    width: 100px;
  }
}

.conditions {
  margin-top: 100px;
}

.conditions__title {
  text-align: center;
}

.conditions__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;

  @media screen and (max-width: 1024px) {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  @media screen and (max-width: 576px) {
    grid-template-columns: 1fr;
  }
}

.condition-container {
  padding: 16px;
  border: 1px solid #f2f2f2;
  border-radius: 32px;
  height: max-content;
}

.condition {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  gap: 48px;
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  justify-content: space-between;
  font-size: 16px;
  background: linear-gradient(
    310deg,
    rgba(246, 69, 63, 1) 3%,
    rgba(255, 118, 76, 1) 15%,
    rgba(255, 184, 37, 1) 86%
  );
}

.geo {
  height: 300px;
  background: var(--primary-gray);
  margin-top: 500px;
}

.footer {
  position: relative;
  margin-top: 200px;
  padding-bottom: 200px;

  @media screen and (max-width: 1280px) {
    margin-top: 500px;
    padding-bottom: 400px;
  }
}

.footer__map {
  width: 100% !important;
  margin: -100px auto;

  @media screen and (max-width: 1280px) {
    width: 350px !important;
    position: absolute;
    left: 50%;
    top: -25%;
    transform: translateX(-50%);
  }
}

.footer__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  z-index: -1;
  background: var(--primary-gray);

  @media screen and (max-width: 1280px) {
    top: 0;
    height: 100%;
  }
}

.footer__map-wrapper {
  position: relative;

  @media screen and (max-width: 1280px) {
    position: static;
  }
}

.footer__widget {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  padding: 28px;
  border-radius: 20px;

  @media screen and (max-width: 1280px) {
    position: relative;
    width: max-content;
    height: max-content;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.footer__title {
  margin-bottom: 24px;
}

.footer__phone {
  font-weight: 500;
  font-family: "Roboto";
  display: block;
  margin-bottom: 24px;
  margin-top: 8px;
  font-size: 24px;
}

.footer__address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid #f1f1f1;
  font-style: normal;
  line-height: 1.5;
}

.footer__address-title {
  color: #afafaf;
  line-height: 1.5;
}

.footer__privacy {
  display: block;
}

.footer__widget-footer {
  color: #afafaf;
  margin-top: 24px;
}

.footer__privacy {
  color: #afafaf;
  text-decoration: none;
  line-height: 2;
}

.footer-bottom {
  background: #171717;
  padding: 32px 0 24px;
}

.footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;

  @media screen and (max-width: 1280px) {
    flex-direction: column;
  }
}

.footer__link {
  font-size: 18px;
  color: #fff;
}

.footer__logo {
  display: block;
  margin: 48px auto 0;
}
