/* .home-new {
  padding-bottom: 120px;
} */

body.modal-open {
  overflow: hidden;
}

section {
  padding-bottom: 60px;
}

@media (max-width: 767.98px) { 
  section {
    padding-bottom: 20px;
  }
}

.home-new .surface-card {
  background-color: #fff;
}

.home-new .section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 36px;
  border-radius: 8px;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
}

.home-new .section-heading__title {
  margin: 0;
  color: var(--color-heading);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  
}

.home-new .section-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.geo-current-city-mobile {
  color: #000 !important;
  font-weight: 500;
  text-decoration: underline;
}

.home-new .section-controls__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 768px) {
  .home-new .section-controls__button {
  width: 28px;
    height: 28px;
  }
}

.home-new .section-controls__button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.assistant-promo,
.services,
.leasing,
.steps,
.lead-banner,
.help-section,
.conditions,
.video-section,
.easy-loan,
.online-apply,
.live-deals,
.ur-lica,
.field-visit,
.down-rate,
.nonresident,
.restruct,
.invest,
.advantages,
.faq,
.offices {
  padding-top: 100px;
}

.nonresident {
  padding-top: 160px;
}

.lead-banner {
  padding-top: 30px;
}

.assistant-promo__card {
  position: relative;
  min-height: 418px;
  padding: 74px 40px 55px;
  overflow: visible;
  background: url(../img/bg-section2.png) center center no-repeat;
  background-size: cover;
  border-radius: 30px;
  background-color: #5a5f62;
  color: #fff;
}

.assistant-promo__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

@media (max-width: 767.98px) {
  .assistant-promo__content {
    max-width: 322px;
    padding-bottom: 85%;
  }
}

.home-new .hero__button {
  min-width: 240px;
  min-height: 47px;
  margin-top: 30px;
  padding: 9px 32px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 500;
}

.assistant-promo__title {
  color: #fff;
}

.assistant-promo__text {
  max-width: 381px;
  margin-top: 20px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
}

.assistant-promo__button {
  min-width: 240px;
  min-height: 47px;
  margin-top: 40px;
  padding: 9px 32px;
  border-radius: 10px;
}

.assistant-promo__media {
  inset: 0;
  pointer-events: none;
}

.assistant-promo__ellipse,
.assistant-promo__curves,
.assistant-promo__robot {
  position: absolute;
  max-width: none;
}

.assistant-promo__ellipse--desktop {
  left: -47px;
  bottom: -102px;
  width: 502px;
}

.assistant-promo__curves--desktop {
  right: -314px;
  bottom: -624px;
  width: 1270px;
}

.assistant-promo__robot--desktop {
  right: 8px;
  bottom: 0;
  width: 55%;
  max-width: 680px;
}

.assistant-promo__ellipse--mobile,
.assistant-promo__curves--mobile,
.assistant-promo__robot--mobile {
  display: none;
}

.services__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track img,
.carousel-track a {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.carousel-track:not(.is-dragging) img,
.carousel-track:not(.is-dragging) a,
.carousel-track:not(.is-dragging) button {
  pointer-events: auto;
}

.carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.service-card {
  position: relative;
  flex: 0 0 calc((100% - 60px) / 3);
  min-height: 359px;
  padding: 23px 23px 25px;
  overflow: hidden;
  border-radius: 30px;
  background: url(../img/home/slider1/service-ellipse.png) bottom right no-repeat;
  background-color: #fff;
  background-size: 100%;
  scroll-snap-align: start;
}

.service-card__badge {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 18px;
  border: 1px solid var(--color-accent);
  border-radius: 10px;
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 300;
  line-height: 28px;
}

.service-card__title {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  color: #5a5f62;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.2;
}

.service-card__ellipse,
.service-card__image {
  position: absolute;
  max-width: none;
}

@media (max-width: 768px) {
  .services__head .section-controls {
    display: none;
  }
  .service-card__image {
    max-width: 222px;
    bottom: 18px !important;
  }

  .service-card--estate .service-card__image {
    bottom: -22px !important;
    max-width: 269px;
  }

  .service-card--truck .service-card__image {
    max-width: 269px;
  }
}

.service-card__ellipse {
  left: 0;
  bottom: -40px;
  width: 423px;
}

.service-card--car .service-card__image {
  right: 0;
  bottom: 15px;
  width: 360px;
}

.service-card--estate .service-card__image {
  right: -1px;
  bottom: -25px;
  width: 416px;
}

.service-card--truck .service-card__image {
  right: -22px;
  bottom: 28px;
  width: 404px;
}

.service-card--moto .service-card__image {
  right: 0;
  bottom: 25px;
  width: 340px;
}

.service-card--scooter .service-card__image {
  right: 0;
  bottom: 20px;
  width: 320px;
}

.service-card--special .service-card__image {
  right: 0;
  bottom: 20px;
  width: 380px;
}

.service-card--snowmobile .service-card__image {
  right: 0;
  bottom: 25px;
  width: 360px;
}

.service-card--jetski .service-card__image {
  right: 0;
  bottom: 20px;
  width: 308px;
}

.service-card--boat .service-card__image {
  right: 0;
  bottom: 25px;
  width: 309px;
}

.service-card--yacht .service-card__image {
  right: 0;
  bottom: 20px;
  width: 369px;
}

.service-card--pawnshop .service-card__image {
  right: 0;
  left: auto;
  bottom: 20px;
  width: 300px;
}

.service-card__button {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  position: absolute;
  left: 51px;
  bottom: 25px;
  z-index: 3;
  min-width: 240px;
  min-height: 47px;
  padding: 9px 24px;
  border-radius: 6px;
  background-color: #fff;
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
}

.service-card__button:hover {
  color: #fff;
  background: #cb2932;
  border: 1px solid;
}

.leasing__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.leasing__head .section-controls {
  display: none;
}

.leasing__title {
  color: var(--color-heading);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
}

.leasing__track {
  gap: 20px;
  overflow-x: unset;
}

.leasing-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-height: 580px;
  perspective: 800px;
  scroll-snap-align: start;
}

.leasing-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.leasing-card:hover .leasing-card__inner {
  transform: rotateY(180deg);
}

.leasing-card__front,
.leasing-card__back {
  position: absolute;
  aspect-ratio: 8/10;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 30px 25px;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.leasing-card__front {
  align-items: center;
  justify-content: end;
  gap: 20px;
}

.leasing-card__back {
  transform: rotateY(180deg);
}

.leasing-card__icon {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.leasing-card__badge {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 30px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 300;
  line-height: 28px;
}

.leasing-card__title {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.leasing-card__back .leasing-card__title {
  margin-top: 16px;
}

.leasing-card__text {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  margin-top: 30px;
  font-size: 20px;

  line-height: 1.45;
}

.leasing-card__button {
  min-width: 240px;
  min-height: 44px;
  margin-top: auto;
  border-radius: 10px;
  align-self: center;
}

.leasing-card--financial .leasing-card__front {
  background: url(../img/home/slider2/slider-1-key.png) top right no-repeat;
  background-color: #5a5f62;
  color: #fff;
  background-size: 100%;
}

.leasing-card--financial .leasing-card__back {
  background-color: var(--color-result);
  color: #fff;
}

.leasing-card--financial .leasing-card__back .leasing-card__badge {
  background-color: #cb2932;
  border: none;
}

.leasing-card--return .leasing-card__front {
  background: url(../img/home/slider2/slider-2-rub.png) top right no-repeat;
  background-color: var(--color-accent);
  color: #fff;
  background-size: 79%;
}

.leasing-card--return .leasing-card__back {
  background-color: var(--color-accent);
  color: #fff;

}

.leasing-card--return .leasing-card__button {
  background-color: #fff;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.leasing-card--return .leasing-card__button:hover {
  color: #fff;
  background: var(--color-accent);
  border: 1px solid;
}

.leasing-card--operational .leasing-card__front {
  background: url(../img/home/slider2/slide-3-circul-rows.png) top right no-repeat;
  background-color: #fff;
  color: #5a5f62;
  background-size: 100%;
}

.leasing-card--operational .leasing-card__back {
  background-color: #fff;
  color: #5a5f62;
}

.leasing-card--operational .leasing-card__badge {
  color: #fff;
  background-color:  var(--color-accent);
  border: none;
}

@media (max-width: 767.98px) { 
  .leasing__track {
    overflow-x: auto;
  }

  .leasing__head .section-controls {
    display: flex;
  }

  .leasing__title {
    font-size: 30px;
  }

  .leasing-card {
    flex: 0 0 100%;
    min-height: 380px;
    perspective: none;
  }

  .leasing-card__inner {
    transform-style: flat;
    transition: none;
  }

  .leasing-card:hover .leasing-card__inner {
    transform: none;
  }

  .leasing-card__front {
    display: none;
  }

  .leasing-card__back {
    position: relative;
    aspect-ratio: unset;
    transform: none;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    min-height: 100%;
    padding: 24px 20px;
    border-radius: 20px;
    justify-content: space-around;
  }

  .leasing-card__badge {
    font-size: 12px;
    min-height: 24px;
    padding: 0 14px;
  }

  .leasing-card__title {
    font-size: 20px;
  }

  .leasing-card__text {
    font-size: 15px;
  }

  .leasing-card__button {
    min-width: 0;
    width: 100%;
    min-height: 42px;
    margin-top: 20px;
  }
}

.steps {
  padding-bottom: 130px;
}

.steps__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.steps__card {
  position: relative;
  min-height: 286px;
  padding: 21px 18px 32px;
  overflow: hidden;
  border-radius: 30px;
  background-color: #fff;
}

.steps__meta {
  display: inline-flex;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  align-items: center;
  gap: 12px;
  color: #5a5f62;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.steps__meta img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.steps__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  position: relative;
  z-index: 2;
  /* max-width: 286px; */
  max-width: unset;
  margin-top: 48px;
  color: #5a5f62;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  padding-bottom: 20%;
}

.steps__title b {
  display: block;
  margin-bottom: 15px;
}

.steps__number {
  font-family: "Golos Text", sans-serif;
  position: absolute;
  right: -18px;
  bottom: -34px;
  color: #f0f0f0;
  font-size: 190px;
  font-weight: 800;
  line-height: 0.9;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.steps__card:hover .steps__number {
  color: var(--color-accent);
  transition: color 0.5s ease;
  text-shadow: 0 0 10px var(--color-accent);
}

@media (max-width: 767.98px) {
  .steps {
    padding-bottom: 50px;
  }
}

.lead-banner {
  background: url(../img/home/lead-bg.png) bottom right no-repeat;
  background-color: var(--color-accent);
  background-size: contain;
}

.lead-banner__card {
  position: relative;
  min-height: 546px;
  padding: 30px 0px;
  overflow: hidden;
  border-radius: 30px;
  
  color: #fff;
}

.lead-banner__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.lead-banner__title {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
}

.lead-banner__text {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.lead-banner__form {
  margin-top: 27px;
}

.lead-banner__row {
  display: flex;
  gap: 20px;
}

.lead-banner__field,
.lead-banner__submit {
  height: 60px;
  border-radius: 10px;
}

.lead-banner__field {
  width: 263px;
  padding: 0 23px;
  border: 0;
  background-color: rgba(255, 255, 255, 0.95);
  color: #757575;
  font-family: inherit;
  font-size: 20px;
  font-weight: 300;
}

.lead-banner__field::placeholder {
  color: #757575;
}

.lead-banner__submit {
  min-width: 277px;
  padding: 0 32px;
  border-radius: 10px;
  background-color: #5a5f62;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.lead-banner__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 536px;
  margin-top: 34px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.lead-banner__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: #fff;
}

.lead-banner__consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-banner__bot {
  position: absolute;
  left: 40px;
  bottom: 59px;
  z-index: 3;
  display: flex;
  align-items: center;
}

.lead-banner__bot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 193px;
  height: 42px;
  padding: 0 14px 0 62px;
  border-radius: 20px;
  background: linear-gradient(82.707deg, #fff 9.17%, #5a5f62 20.72%, #5a5f62 60.74%);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

.lead-banner__bot-image {
  position: absolute;
  left: -7px;
  bottom: -14px;
  width: 94px;
}

.lead-banner__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lead-banner__curves,
.lead-banner__robot {
  position: absolute;
  max-width: none;
}

.lead-banner__curves--desktop {
  right: -960px;
  bottom: -500px;
  width: 1783px;
}

.lead-banner__curves--mobile,
.lead-banner__robot--mobile {
  display: none;
}

@media (max-width: 767.98px) {
  .lead-banner__card {
    min-height: 660px;
    padding: 0;
    border-radius: 20px;
  }

  .lead-banner__title {
    font-size: 30px;
    line-height: 1.33;
  }

  .lead-banner__text {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.4;
  }
}

.help-section {
  padding-top: 100px;
  background-color: #fff;
}

.help-section__card {
  padding: 0 0 30px;
  border-radius: 30px;
}

.help-section__title {
  max-width: 800px;
  color: var(--color-heading);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
}

.help-section__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.help-section__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  background-color: #f0f0f0;
  color: var(--color-text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.help-section__item:nth-child(1),
.help-section__item:nth-child(2) {
  grid-column: span 3;
  
}


.help-section__item:nth-child(3),
.help-section__item:nth-child(4),
.help-section__item:nth-child(5) {
  grid-column: span 2;

}

.help-section__text {
  position: relative;
  z-index: 2;
  max-width: 330px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  color: inherit;
}

.help-section__item:nth-child(1) .help-section__text,
.help-section__item:nth-child(2) .help-section__text {
  padding-bottom: 103px;
}

.help-section__item:nth-child(3) .help-section__text,
.help-section__item:nth-child(4) .help-section__text,
.help-section__item:nth-child(5) .help-section__text {
  padding-bottom: 180px;
}

.help-section__icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  object-fit: contain;
}

.help-section__item {
  background-color: #f0f0f0;
}

.help-section__item:nth-child(1) {
  background-image: url(../img/home/help-section/calc.svg);
  background-repeat: no-repeat;
  background-position: bottom 0 right 50px;
}

.help-section__item:nth-child(2) {
  background-image: url(../img/home/help-section/rub.svg);
  background-repeat: no-repeat;
  background-position: bottom 0 right 50px;
}

.help-section__item:nth-child(3) {
  background-image: url(../img/home/help-section/clock.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
}

.help-section__item:nth-child(4) {
  background-image: url(../img/home/help-section/bank.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
}

.help-section__item:nth-child(5) {
  background-image: url(../img/home/help-section/wallet.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
}

.help-section__item:hover,
.help-section__item:focus-within {
  background-color: var(--color-accent);
  color: #fff;
}

.help-section__item--accent .help-section__icon {
  right: 50%;
  bottom: 10px;
  transform: translateX(50%);
  
}

@media (max-width: 768px) {
  .help-section__card {
    padding: 0;
    border-radius: 20px;
  }

  .help-section__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    column-gap: 0;
    margin-top: 24px;
  }

  .help-section__item:nth-child(1),
  .help-section__item:nth-child(2),
  .help-section__item:nth-child(3),
  .help-section__item:nth-child(4),
  .help-section__item:nth-child(5) {
    background-size: 170px;
    background-position: bottom -27px right 20px;
    min-height: 225px;
  }

  .help-section__item:nth-child(3),
  .help-section__item:nth-child(4),
  .help-section__item:nth-child(5) {
    background-size: 195px;
    background-position: bottom -27px right 7px;
  }

  .help-section__item:nth-child(4) {
    background-size: 200px;
    background-position: bottom -10px right 1px;
  }

  .help-section__item:nth-child(5) {
    background-size: 170px;
    background-position: bottom -10px right 7px;
  }

  .help-section__item:nth-child(2),
  .help-section__item:nth-child(4) {
    background-color: var(--color-accent);
    color: #fff;
  }

  .help-section__item:nth-child(1) .help-section__text,
  .help-section__item:nth-child(2) .help-section__text,
  .help-section__item:nth-child(3) .help-section__text,
  .help-section__item:nth-child(4) .help-section__text,
  .help-section__item:nth-child(5) .help-section__text {
    font-size: 18px;
    max-width: 250px;
    padding-bottom: 0;
    padding-top: 15px;
  }

  .help-section__icon {
    width: 80px;
    height: 80px;
  }

  
}

/* ── Conditions ── */
.conditions {
  background-color: #fff;
}

.conditions__title {
  margin-bottom: 40px;
  color: var(--color-heading);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
}

.conditions__card {
  padding: 30px 0;
  border-radius: 20px;
}

.conditions__tabs {
  display: flex;
  gap: 0;
  column-gap: 20px;
}

.conditions__tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  min-height: 60px;
  padding: 12px 20px;
  border: 1px solid #CB2932;
  background: transparent;
  color: var(--color-heading);
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
  border-radius: 10px;
}

.conditions__tab + .conditions__tab {
  margin-left: -1px;
  
}

.conditions__tab.is-active {
  margin-bottom: 0;
  padding-top: 0;
  color: var(--color-accent);
  background-color: #f0f0f0;
  border-color: var(--color-accent);
  font-weight: 500;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border: none;
}

.conditions__panel {
  padding: 25px 40px 50px 40px;
  background-color: #f0f0f0;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.conditions__panel[hidden] {
  display: none;
}

.conditions__vehicles {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.page-template-page-template_1 .conditions__vehicles,
.page-template-page-zaim .conditions__vehicles {
  flex-wrap: wrap;
}

.conditions__vehicle {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  padding: 20px;
  background-color: #fff; 
  border-radius: 20px;
  text-align: center;
}

@media (min-width: 767.98px) {
.page-template-page-template_1 .conditions__vehicle,
.page-template-page-zaim .conditions__vehicle {
    width: 49%;
  }
}

.conditions__vehicle-label {
  color: var(--color-heading);
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 300;
  line-height: 1.3;
}

.conditions__vehicle img {
  width: 100%;
  height: 100%;
  max-width: 280px;
  margin-top: 10px;
  object-fit: contain;
}

.page-template-page-template_1 .conditions__vehicle img {
  max-width: 250px;
}

.conditions__vehicles .conditions__vehicle:nth-child(1) img {
  position: relative;
  bottom: -20px;
}

.page-template-page-template_1 .conditions__vehicles .conditions__vehicle:nth-child(1) img {
  bottom: 0;
  max-width: 280px;
}

.conditions__vehicles .conditions__vehicle:nth-child(2) img {
  max-width: 240px;
}

.conditions__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  column-gap: 65px;
  padding: 40px;
  border-radius: 20px;
  background-color: var(--color-accent);
  align-items: center;
}

.page-template-page-template_1 .conditions__bottom {
  grid-template-columns: 1fr;
  column-gap: 0;
}

.conditions__bottom--full {
  grid-template-columns: 1fr;
}

.conditions__bottom--borrower {
  min-height: 400px;
  grid-template-columns: 1fr 1fr;
 
  gap: 40px;
}

.conditions__checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  row-gap: 30px;
  list-style: none;
}

.page-template-page-template_1 .conditions__checklist {
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.conditions__check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 300;
  line-height: 1.3;
}

.conditions__check-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.conditions__icons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.conditions__icon-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.conditions__icon-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 119px;
  height: 80px;
  padding: 12px;
  background-color: #fff;
  border-radius: 8px;
}

.conditions__icon-box img {
  width: 40px;
  height: 44px;
  object-fit: contain;
}

.icon-car-box img {
  width: 50px;
}

.conditions__icon-row span {
  color: #fff;
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 300;
  line-height: 1.3;
}

.conditions__icon-box--big {
  width: 190px;
  height: 160px;
  padding: 24px;
  border-radius: 20px;
}

.conditions__icon-box--big img {
  width: 80px;
  height: 70px;
}

.conditions__icons--large {
  flex-direction: row;
  gap: 20px;
}

.conditions__assess-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.conditions__assess-item span {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
}

.conditions__borrower-card {
  align-self: start;
  padding: 30px;
  background-color: #fff;
  border-radius: 20px;
}

.conditions__bullet-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  padding: 0;
}

.conditions__bullet-list li {
  position: relative;
  padding-left: 20px;
  color: var(--color-heading);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.conditions__bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.conditions__borrower-checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  row-gap: 30px;
  align-self: start;
}

.conditions__check-item--light {
  color: #fff;
}

.conditions__docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.conditions__doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: #fff;
  border-radius: 16px;
  text-align: center;
}

.conditions__doc-card img {
  width: 100%;
  max-width: 140px;
  height: 100px;
  object-fit: contain;
}

.conditions__doc-card span {
  color: var(--color-heading);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 1199.98px) {
  .conditions__title {
    font-size: 40px;
  }

  .conditions__tab {
    font-size: 17px;
    min-height: 52px;
    padding: 10px 14px;
  }

  .conditions__icon-box--big {
    width: 160px;
    height: 140px;
  }

  .conditions__bottom--borrower {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .conditions__title {
    max-width: 353px;
    font-size: 30px;
    line-height: 1.33;
  }

  .conditions__card {
    padding: 40px 20px;
    border-radius: 20px;
    background-color: #f0f0f0 !important;
  }

  .conditions__tabs {
    flex-direction: column;
    gap: 10px;
  }

  .conditions__tab {
    font-size: 18px;
    min-height: 46px;
    border-radius: 10px;
  }

  .conditions__tab.is-active {
    padding-top: 10px;
    margin-bottom: 10px;
    background-color: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    border-radius: 12px;
  }

  .conditions__panel {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .conditions__tab + .conditions__tab {
    margin-left: 0;
  }

  .conditions__vehicles {
    flex-direction: column;
    gap: 12px;
  }

  .conditions__bottom {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    border-radius: 16px;
    row-gap: 30px;
  }

  .conditions__bottom--borrower {
    grid-template-columns: 1fr;
  }

  .conditions__icons--large {
    flex-direction: column;
  }

  .conditions__icon-row {
    gap: 12px;
  }

  .conditions__icon-box--big {
    width: 120px;
    height: 100px;
  }

  .conditions__docs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .conditions__doc-card img {
    height: 120px;
  }

  .conditions__bullet-list li {
    font-size: 15px;
  }

  .conditions__check-item {
    font-size: 15px;
  }

  .conditions__borrower-card {
    padding: 20px 10px;
  }

  .conditions__check-icon {
    width: 25px;
    height: 25px;
  }

  .conditions__icon-box {
    width: 91px;
    height: 61px;
  }
}

/* ── /Conditions ── */

/* ── Video section ── */
.video-section {
  background-color: #fff;

}

.video-section__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-radius: 20px;
}

.video-section__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: start;
  gap: 0;
}

.video-section__title {
  margin-top: 24px;
}

.video-section__text {
  margin-top: 16px;
  color: var(--color-heading);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.4;
}

.video-section__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 367px;
}

.video-section__media[id="localVideoPlayer"] {
  cursor: pointer;
}

.video-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-section__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 4px;
  background-color: #4A9FD8;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.video-section__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #3a8fc8;
}

.video-section__play svg {
  margin-left: 3px;
  width: 16px;
  height: 18px;
}

@media (max-width: 1199.98px) {
  .video-section__title {
    font-size: 40px;
  }

  .video-section__card {
    gap: 30px;
    padding: 40px 30px;
  }
}

@media (max-width: 767.98px) {
  .video-section {
    padding-top: 20px;
  }

  .video-section__card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0;
    border-radius: 20px;
  }

  .video-section__title {
    max-width: 100%;
    margin-top: 16px;
    font-size: 30px;
    line-height: 1.33;
  }

  .video-section__text {
    margin-top: 12px;
    font-size: 15px;
  }

  .video-section__media {
    border-radius: 16px;
    min-height: 182px;
  }

  .video-section__play {
    width: 44px;
    height: 44px;
  }

  .video-section__play svg {
    width: 12px;
    height: 14px;
  }
}

/* ── /Video section ── */

/* ── Easy loan ── */
.easy-loan {
  background-color: #fff;
}

.easy-loan__card {
  padding: 40px 40px 50px;
  border-radius: 20px;
  background-color: var(--color-heading);
}

.easy-loan__title {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
}

.easy-loan__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.page-template-promo2 .easy-loan__grid {
  grid-template-columns: repeat(3, 1fr);
}

.easy-loan__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  padding: 24px 20px;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
  min-height: 160px;
}

.easy-loan__label {
  color: var(--color-heading);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.3;
}


.easy-loan__phone {
  color: var(--color-accent);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.easy-loan__phone:hover {
  color: var(--color-accent);
}

.easy-loan__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.easy-loan__icon--pin {
  width: 60px;
  height: 70px;
}

@media (max-width: 1199.98px) {
  .easy-loan__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .easy-loan__title {
    font-size: 34px;
  }
}

@media (max-width: 767.98px) {
  .easy-loan__card {
    padding: 30px 20px 36px;
    border-radius: 20px;
  }

  .easy-loan__title {
    font-size: 30px;
    line-height: 1.33;
  }

  .easy-loan__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .page-template-promo2 .easy-loan__grid {
    grid-template-columns: 1fr;
  }

  .easy-loan__item {
    min-height: 140px;
    padding: 20px;
    border-radius: 16px;
  }

}

/* ── /Easy loan ── */

/* ── Online apply ── */
.online-apply {
  background-color: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.page-template-page-template_1 .online-apply {
  padding-top: 184px;
}

.online-apply__hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
  padding: 60px 40px;
  overflow: hidden;
  border-radius: 20px;
  background: url(../img/home/online-oformlenie-bg.png) no-repeat bottom right;
  background-color: var(--color-accent);
  background-size: 65%;
}

.page-template-page-template_1 .online-apply__hero {
  background-color: #5A5F62;
}

.online-apply__hero--template-1 {
  overflow: visible;
}

.online-apply__content {
  position: relative;
  z-index: 2;
  max-width: 56%;
}

.online-apply__title {
  color: #fff;
}

.online-apply__text {
  margin-top: 16px;
  color: #fff;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  line-height: normal;
}

.online-apply__text br {
  display: none;
}

.online-apply__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 50px;
  margin-top: 28px;
  padding: 8px 32px;
  border: 2px solid #fff;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
  background-color: #fff;
  color: #cb2932;
}

.online-apply__button:hover {
  background-color: #cb2932;
  border: 2px solid #fff;
  color: #fff;
}

.online-apply__media {
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
}

.online-apply__hero--template-1 .online-apply__media {
  width: 56%;
  right: 0;
}

.online-apply__phone {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 100%;
  max-width: 300px;
  z-index: 2;
}

.online-apply__hero--template-1 .online-apply__phone {
  max-width: unset;
}

.online-apply__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.online-apply__info-card {
  padding: 30px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.15);
}

.online-apply__info-title {
  color: var(--color-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.online-apply__decor {
  height: 1px;
  background: rgba(90, 95, 98, 0.50);
  width: 53%;
  margin-top: 20px;
}

.online-apply__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.online-apply__list li {
  position: relative;
  padding-left: 20px;
  color: var(--color-heading);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.online-apply__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

@media (max-width: 1199.98px) {
  .online-apply__hero {
    min-height: 380px;
    padding: 40px 30px;
    background-size: 50%;
  }

  .online-apply__title {
    font-size: 36px;
  }

  .online-apply__media {
    width: 40%;
    right: 20px;
  }

  .online-apply__phone {
    right: 20px;
    max-width: 300px;
  }
}

@media (max-width: 767.98px) {
  .online-apply__content {
    max-width: 100%;
  }
  .online-apply__hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 30px 20px 0;
    border-radius: 20px;
    background-size: 100%;
    background-position: bottom center;
  }

  .online-apply__title {
    font-size: 28px;
    line-height: 1.25;
  }

  .online-apply__text {
    font-size: 14px;
    margin-top: 12px;
  }

  .online-apply__button {
    width: 100%;
    margin-top: 20px;
    min-height: 46px;
    font-size: 16px;
  }

  .online-apply__media {
    position: relative;
    width: 100%;
    height: auto;
    right: auto;
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }

  .online-apply__hero--template-1 .online-apply__media {
    width: 100%;
  }

  .online-apply__hero--template-1 .online-apply__phone {
    max-width: unset;
    width: 100%;
  }

  .online-apply__phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 60%;
    max-width: 240px;
  }

  .online-apply__info {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  .online-apply__info-card {
    padding: 20px;
    border-radius: 16px;
  }

  .online-apply__info-title {
    font-size: 17px;
  }

  .online-apply__list li {
    font-size: 14px;
  }
}

/* ── /Online apply ── */

/* ── Live deals ── */

.live-deals__card {
  padding: 40px 50px 50px;
  border-radius: 20px;
  background-color: #5a5f62;
}

.live-deals__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.live-deals__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
}

.live-deals__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  animation: live-deals-pulse 1.5s ease-in-out infinite;
}

@keyframes live-deals-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.live-deals__title {
  margin-top: 16px;
  color: #fff;
}

.live-deals__counters {
  display: flex;
  gap: 30px;
  flex-shrink: 0;
}

.live-deals__counter {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-deals__counter-value {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
}

.live-deals__counter-label {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
}

.live-deals__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.live-deals__item {
  padding: 16px 20px 14px;
  border-radius: 12px;
  background-color: #fff;
}

.live-deals__item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.live-deals__item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.live-deals__item-name {
  color: var(--color-heading);
  font-size: clamp(15px, 3.8vw, 20px);
  font-weight: 300;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-deals__item-time {
  color: #888;
  font-size: 13px;
  font-weight: 400;
}

.live-deals__item-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-deals__item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.live-deals__item-summ {
  color: var(--color-heading);
  font-size: clamp(15px, 3.8vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.live-deals__item-status {
  color: #888;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.live-deals__item-line {
  display: flex;
  height: 4px;
  margin-top: 12px;
  border-radius: 2px;
  overflow: hidden;
  background-color: #e9e9e9;
}

.live-deals__line-fill {
  height: 100%;
  border-radius: 2px;
}

.live-deals__line-fill--red {
  background-color: var(--color-accent);
}

.live-deals__line-fill--green {
  flex: 1 0 100%;
  background-color: #0DC141;
}

.live-deals__line-empty {
  height: 100%;
}

.live-deals__button {
  margin-top: 30px;
}

@media (max-width: 1199.98px) {
  .live-deals__card {
    padding: 30px 30px 40px;
  }

  .live-deals__counter-value {
    font-size: 36px;
  }
}

@media (max-width: 767.98px) {
  .live-deals__card {
    padding: 24px 16px 30px;
  }

  .live-deals__head {
    flex-direction: column;
    gap: 16px;
  }

  .live-deals__counters {
    gap: 24px;
  }

  .live-deals__counter-value {
    font-size: 30px;
  }

  .live-deals__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .live-deals__item {
    padding: 14px 16px 12px;
  }

  .live-deals__item-name {
    font-size: 15px;
  }

  .live-deals__item-summ {
    font-size: 15px;
  }
}

/* ── /Live deals ── */


.promo-block {
  padding-top: 100px;
  background: url(../img/home/procent.png) bottom -9px right no-repeat;
  background-color: #fff;
  background-size: clamp(500px, 70%, 1000px) auto;
  padding-bottom: 200px;
}


.promo-block__layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.promo- br {
  display: none;
}

.promo-block__content {
  flex: 1;
  min-width: 0;
}

/* .promo-block__title {
  color: #5a5f62;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.06em;
} */

.promo-block__media {
  flex-shrink: 0;
}

.promo-block__media img {
  display: block;
  max-width: 100%;
  height: auto;
}

.promo-block--percent .promo-block__media img {
  width: 500px;
}

.loan-form--promo {
  --loan-form-field-bg: #f0f0f0;
  --loan-form-text: #5a5f62;
  --loan-form-submit-bg: #5a5f62;
  --loan-form-submit-color: #fff;
  margin-top: 30px;
}

.loan-form--promo .loan-form__field {
  width: 263px;
  height: 55px;
}

.loan-form--promo .loan-form__submit {
  height: 55px;
  margin-top: 0;
}

.loan-form--promo .loan-form__bot {
  border-radius: 16px;
  background: linear-gradient(82.707deg, #fff 9.17%, #e4979a 20.72%, #cb2932 60.74%);
}

.promo-block--compact {
  padding-top: 30px;
  padding-bottom: 60px;
  background: none;
}

.promo-block__card--percent {
  position: relative;
  overflow: hidden;
  padding: 44px 34px 40px;
  border-radius: 30px;
  background: #cb2932 url(../img/home/procent-template1.png) right -6px bottom -6px no-repeat;
  background-size: min(60%, 620px) auto;
}



.promo-block--compact .promo-block__layout {
  gap: 0;
}

.promo-block--compact .promo-block__content {
  position: relative;
  z-index: 1;
}

.promo-block__title--compact {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.6vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.promo-block__text--compact {
  color: rgba(255, 255, 255, 0.92);

}

.loan-form--promo-card {
  --loan-form-field-bg: #fff;
  --loan-form-text: #fff;
  --loan-form-submit-bg: #fff;
  --loan-form-submit-color: #5a5f62;
  margin-top: 30px;
}

.loan-form--promo-card .loan-form__field {
  width: 270px;
  color: #5a5f62;
}

.loan-form--promo-card .loan-form__field::placeholder {
  color: #8b8b8b;
}

.loan-form--promo-card .loan-form__submit {
  min-width: 240px;
  padding: 0 28px;
  background-color: #fff;
  color: #cb2932;
}

.loan-form--promo-card .loan-form__submit:hover {
  background-color: #cb2932;
  border: 2px solid #fff;
  color: #fff;
}

.loan-form--promo-card .loan-form__consent {
  margin-top: 18px;
}

.loan-form--promo-card .loan-form__consent-text,
.loan-form--promo-card .loan-form__consent-text a {
  color: #fff;
}

.loan-form--promo-card .loan-form__checkbox-control {
  border-color: #fff;
  background-color: transparent;
}

.loan-form--promo-card .loan-form__checkbox:checked + .loan-form__checkbox-control {
  background-color: #fff;
  border-color: #fff;
}

.loan-form--promo-card .loan-form__checkbox:checked + .loan-form__checkbox-control::after {
  border-color: var(--color-accent);
}

.loan-form--promo-card .loan-form__bot {
  margin-top: 30px;
  border-radius: 16px;
  background: linear-gradient(88deg, #fff -9.17%, #5a5f62 20.72%, #5a5f62 60.74%);
}

.promo-block--compact .loan-form__bot { 
  background: linear-gradient(88deg, rgb(255, 255, 255) -9.17%, rgb(90, 95, 98) 20.72%, rgb(90, 95, 98) 60.74%) !important;
}

@media (max-width: 1199.98px) {
  .promo-block {
    padding-top: 100px;
  }

  .promo-block__title {
    font-size: 40px;
  }

  .promo-block--percent .promo-block__media img {
    width: 380px;
  }

  .promo-block__card--percent {
    background-size: min(58%, 520px) auto;
  }

  .promo-block--compact .promo-block__content {
    max-width: 600px;
  }

  .promo-block__title--compact {
    max-width: 700px;
    font-size: clamp(30px, 4vw, 48px);
  }
}

@media (max-width: 767.98px) {
  .promo-block {
    padding-top: 60px;
    background-size: contain;
    background-position: top 30% center;
    padding-bottom: 60px;
    
  }

  .promo-block__layout {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .promo-block--compact {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .promo-block__card--percent {
    padding: 30px 20px 32px;
    border-radius: 24px;
    background-size: 295px auto;
    background-position: right -46px bottom -4px;
  }

  .promo-block__title--compact {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.06;
  }

  .promo-block__text--compact {
    max-width: 100%;
    margin-top: 14px;
    font-size: 16px;
  }

  .loan-form--promo-card {
    margin-top: 24px;
  }

  .loan-form--promo-card .loan-form__submit {
    min-width: 0;
  }

  .loan-form--promo-card .loan-form__consent-text {
    font-size: 12px;
  }

  .promo-block__title {
    max-width: 353px;
    font-size: 30px;
    line-height: 1.33;
    
  }

  .promo-block__media {
    order: -1;
    align-self: center;
  }

  .promo-block--percent .promo-block__media img {
    width: 280px;
  }

  .loan-form--promo {
    padding-top: 45%;
    grid-template-columns: 1fr;
  }

  .loan-form--promo .loan-form__field,
  .loan-form--promo .loan-form__submit {
    width: 100%;
    min-width: 0;
  }

  .loan-form--promo .loan-form__submit {
    margin-top: 0;
  }
}

/* ── /Promo block ── */

/* ── Ur Lica ── */

.ur-lica__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 40px;
}

.page-template-page-investirovaniye .ur-lica__head {
  gap: 100px;
}

.ur-lica__title {
  max-width: 45%;
  flex-shrink: 0;
  letter-spacing: unset;
}

.ur-lica__desc {
  max-width: 60%;
  padding-top: 10px;
  color: #5a5f62;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.ur-lica__card {
  position: relative;
  padding: 40px 40px 55px;
  min-height: 440px;
  border-radius: 30px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  background: url(../img/home/ur-lica-bg.png) bottom right no-repeat;
  background-size: 70%;
  background-color: #fff;
}

.ur-lica__form-wrap {
  position: relative;
  z-index: 2;
  max-width: 50%;
  
}

.ur-lica__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ur-lica__hero {
  position: absolute;
  right: 60px;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: 50%;
  object-fit: contain;
  object-position: bottom center;
}

.loan-form--ur-lica {
  --loan-form-field-bg: #f0f0f0;
  --loan-form-text: #5a5f62;
  --loan-form-submit-bg: #5a5f62;
  --loan-form-submit-color: #fff;
  grid-template-columns: 1fr 1fr;
}

.loan-form--ur-lica .loan-form__title {
  font-size: 25px;
  line-height: 1.3;
}

.loan-form--ur-lica .loan-form__field {
  width: 95%;
  height: 55px;
}

.loan-form--ur-lica .loan-form__submit {
  width: auto;
  max-width: 230px;
  height: 55px;
  margin-top: 0;
}

.loan-form--ur-lica .loan-form__bot {
  border-radius: 16px;
  background: linear-gradient(82.707deg, #fff 9.17%, #e4979a 20.72%, #cb2932 60.74%);
}

@media (max-width: 1199.98px) {
  .ur-lica__head {
    gap: 30px;
  }

  .ur-lica__desc {
    font-size: 18px;
  }

  .ur-lica__form-wrap {
    max-width: 55%;
  }

  .ur-lica__hero {
    right: 20px;
  }

  .loan-form--ur-lica .loan-form__title {
    font-size: 20px;
  }
}

@media (max-width: 767.98px) {
  .ur-lica__head {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .ur-lica__title {
    max-width: 353px;
    font-size: 30px;
    line-height: 1.33;
  }

  .ur-lica__desc {
    max-width: 100%;
    font-size: 16px;
  }

  .ur-lica__card {
    padding: 40px 20px 0;
    min-height: 0;
    border-radius: 20px;
    background-size: 150%;
  }

  .ur-lica__form-wrap {
    max-width: 100%;
  }

  .ur-lica__media {
    margin-top: 30px;
    position: relative;
    inset: auto;
    overflow: hidden;
  }

  .ur-lica__hero {
    position: relative;
    right: auto;
    display: block;
    height: auto;
    max-width: 100%;
    max-height: 350px;
    margin: 0 auto;
  }

  .loan-form--ur-lica {
    grid-template-columns: 1fr;
  }

  .loan-form--ur-lica .loan-form__title {
    font-size: 18px;
  }

  .loan-form--ur-lica .loan-form__field,
  .loan-form--ur-lica .loan-form__submit {
    width: 100%;
    min-width: 0;
  }

  .loan-form--ur-lica .loan-form__submit {
    margin-top: 0;
  }
}

/* ── /Ur Lica ── */

/* ── Field Visit ── */

.field-visit {
  position: relative;
  overflow: hidden;
  padding-bottom: 100px;
}

.field-visit__content {
  position: relative;
  z-index: 2;
  max-width: 50%;
}

.field-visit__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--color-accent);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.4;
}

.field-visit__text {
  max-width: 580px;
  margin-top: 20px;
  color: #5a5f62;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.3;
}

.field-visit__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.field-visit__note {
  color: #5a5f62;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.field-visit__note span {
  color: var(--color-accent);
  font-style: italic;
}

.field-visit__car {
  position: absolute;
  right: 0;
  bottom: 25px;
  width: 55%;
  max-width: 50%;
  height: auto;
  pointer-events: none;
}

@media (max-width: 1199.98px) {
  .field-visit__content {
    max-width: 400px;
  }

  .field-visit__car {
    width: 50%;
  }
}

@media (max-width: 767.98px) {
  .field-visit {
    overflow: visible;
  }

  .field-visit__content {
    max-width: 100%;
  }

  .field-visit__text {
    max-width: 100%;
    font-size: 16px;
  }

  .field-visit__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .field-visit__button {
    width: 100%;
  }

  .field-visit__car {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }
}

/* ── /Field Visit ── */

/* ── Down Rate ── */

.down-rate {
  position: relative;
  overflow: hidden;
  background: url(../img/home/down-procent-bg.png) bottom right 8% no-repeat;
  background-size: 500px;
  background-color: #fff;
}

.down-rate__content {
  position: relative;
  z-index: 2;
  max-width: 85%;
}

.down-rate__title br {
  display: none;
}

.down-rate__text {
  max-width: 800px;
  margin-top: 20px;
  color: #5a5f62;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  line-height: normal;
}

.loan-form--down-rate {
  --loan-form-field-bg: #f0f0f0;
  --loan-form-text: #5a5f62;
  --loan-form-submit-bg: #5a5f62;
  --loan-form-submit-color: #fff;
  margin-top: 30px;
}

.loan-form--down-rate .loan-form__field {
  width: 263px;
  height: 55px;
}

.loan-form--down-rate .loan-form__submit {
  width: auto;
  min-width: 240px;
  height: 55px;
  margin-top: 0;
}

.loan-form--down-rate .loan-form__bot {
  border-radius: 16px;
  background: linear-gradient(82.707deg, #fff 9.17%, #e4979a 20.72%, #cb2932 60.74%);
}

@media (max-width: 1199.98px) {
  .down-rate__content {
    max-width: 80%;
  }

  .down-rate__text {
    max-width: 600px;
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {
  .down-rate {
    background-size: auto 30%;
    background-position: bottom center;
  }

  .down-rate__content {
    max-width: 100%;
    padding-bottom: 75%;
  }

  .down-rate__text {
    font-size: 16px;
  }

  .loan-form--down-rate {
    grid-template-columns: 1fr;
  }

  .loan-form--down-rate .loan-form__field,
  .loan-form--down-rate .loan-form__submit {
    width: 100%;
    min-width: 0;
  }

  .loan-form--down-rate .loan-form__submit {
    margin-top: 0;
  }
}

/* ── /Down Rate ── */

.nonresident__layout {
  position: relative;
  overflow: visible;
}

.nonresident__content {
  position: relative;
  z-index: 2;
  max-width: 770px;
}

.nonresident__title {
  color: #5a5f62;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;

}

.nonresident__text {
  max-width: 682px;
  margin-top: 20px;
  color: #212529;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.nonresident__text br {
  display: none;
}

.nonresident__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.nonresident__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
}

.nonresident__tag br {
  display: none;
}

.nonresident__details {
  display: flex;
  gap: 32px;
  margin-top: 44px;
}

.nonresident__detail {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}


.nonresident__detail-title {
  color: #5a5f62;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.2;
}

.nonresident__age-icon {
  width: 64px;
  margin: 0 auto;
  margin-top: 18px;
}

.nonresident__doc-list {
  display: flex;
  gap: 22px;
  margin-top: 18px;
}

.nonresident__doc {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nonresident__doc img:first-child {
  width: 95px;
}

.nonresident__doc span {
  max-width: 145px;
  color: #5a5f62;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.3;
}

.nonresident__hero {
  position: absolute;
  right: 26px;
  bottom: 0;
  max-width: 550px;
  z-index: 4;
}

@media (max-width: 1367.98px) {
  .nonresident__hero {
    max-width: 450px;
  }
}

.nonresident__hero-mobile {
  display: none;
}

.nonresident__form {
  margin-top: 40px;
  z-index: 3;
  padding: 34px 39px 38px;
  border-radius: 20px;
  background-color: #fff;
}

.nonresident__form-title {
  max-width: 512px;
  color: var(--color-accent);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
}

.nonresident__form-row {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.nonresident__field,
.nonresident__submit {
  height: 55px;
  border-radius: 10px;
}

.nonresident__field {
  width: 274px;
  padding: 0 21px;
  border: 0;
  background-color: #f0f0f0;
  color: #5a5f62;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
}

.nonresident__submit {
  min-width: 198px;
  padding: 0 24px;
  border-radius: 10px;
  background-color: #5a5f62;
  color: #fff;
  font-size: 20px;
  font-weight: 300;
}

.nonresident__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 492px;
  margin-top: 20px;
  color: #5a5f62;
  font-size: 13px;
  line-height: 1.35;
}

.nonresident__consent-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
}

.nonresident__consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nonresident__bot {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
}

.nonresident__bot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 193px;
  height: 42px;
  padding: 0 14px 0 62px;
  border-radius: 16px;
  background: linear-gradient(82.707deg, #fff 9.17%, #e4979a 20.72%, #cb2932 60.74%);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

.nonresident__bot img {
  position: absolute;
  left: -7px;
  bottom: -10px;
  width: 95px;
}

@media (max-width: 1199.98px) {
  .nonresident__layout {
    min-height: 0;
    padding-bottom: 0;
  }

  .nonresident__hero,
  .nonresident__form {
    position: relative;
    right: auto;
    bottom: auto;
  }

  .nonresident__hero {
    width: 100%;
    margin: 0 auto;
    max-width: 300px;
    margin-top: 40px;
  }

  .nonresident__form {
    right: auto;
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .nonresident__content {
    max-width: 100%;
  }
  
  .nonresident__text {
    max-width: 100%;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.4;
  }

  .nonresident__tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
  }

  .nonresident__tag {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13px;
  }

  .nonresident__details {
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
  }

  .nonresident__detail {
    flex-direction: column;
    gap: 14px;
  }

  .nonresident__doc-list {
    flex-direction: column;
    gap: 12px;
  }

  .nonresident__detail-row {
    display: flex;
    align-items: center;
  }

  .nonresident__detail-row .nonresident__detail-title {
    order: 2;
    margin-left: 10px;
  }

  .nonresident__hero {
    display: none;
    margin-top: 30px;
  }

  .nonresident__hero-mobile {
    display: block;
    width: 100%;
    max-width: 372px;
    margin: 0 auto;
    position: relative;
    bottom: -100px;
    margin-top: -100px;
  }

  .nonresident__form {
    margin-top: 0;
    padding: 24px 20px 28px;
    border-radius: 20px;
  }

  .nonresident__form-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .nonresident__form-row {
    flex-direction: column;
    gap: 16px;
  }

  .nonresident__field,
  .nonresident__submit {
    width: 100%;
    min-width: 0;
  }
}

/* ── Restruct ── */

.restruct {
  padding-bottom: 50px;
  border-radius: 20px;
}

.restruct__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.restruct__title {
  flex-shrink: 0;
  max-width: 480px;
}

.restruct__desc {
  max-width: 50%;
  padding-top: 8px;
  color: var(--color-heading);
  font-size: 20px;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .restruct__desc {
    max-width: 100%;
  }
}

.restruct__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.restruct__card {
  padding: 28px 24px;
  border-radius: 20px;
  background-color: #fff;
}

.restruct__card-title {
  color: #5A5F62;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.3;
}

.restruct__card-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  margin-top: 20px;
  color: var(--color-heading);
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.4;
}

.restruct__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.restruct__docs {
  background-color: #fff;
  padding: 30px;
  border-radius: 20px;
}

.restruct__docs-intro {
  font-family: "Golos Text", sans-serif;
  font-weight: 800;
  color: var(--color-heading);
  font-size: 20px;
  line-height: 1.5;
}

.restruct__docs-list {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.restruct__docs-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-heading);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.5;
}

.restruct__docs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.restruct__form-card {
  padding: 30px;
  border-radius: 20px;
  background-color: var(--color-accent);
}

.restruct__form-card > .restruct__form-title,
.restruct__form-card > .restruct__form-row,
.restruct__form-card > .restruct__consent,
.restruct__form-card > .restruct__bot {
  display: none;
}

.restruct__form-title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.restruct__form-row {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.restruct__field,
.restruct__submit {
  height: 60px;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
}

.restruct__field {
  flex: 1;
  min-width: 0;
  padding: 0 23px;
  background-color: #fff;
  color: #757575;
  font-size: 20px;
  font-weight: 300;
}

.restruct__submit {
  flex-shrink: 0;
  min-width: 198px;
  padding: 0 32px;
  background-color: #F0F0F0;
  color: #5A5F62;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  transition: background-color 0.25s;
}

.restruct__submit:hover {
  background-color: #4a4f52;
  color: #fff;
}

.restruct__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.restruct__consent-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: #fff;
}

.restruct__consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.restruct__bot {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
}

.restruct__bot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 193px;
  height: 42px;
  padding: 0 14px 0 62px;
  border-radius: 20px;
  background: linear-gradient(82.707deg, #fff 9.17%, #5a5f62 20.72%, #5a5f62 60.74%);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

.restruct__bot img {
  position: absolute;
  left: -7px;
  bottom: 0;
  width: 95px;
}

.loan-form--restruct {
  --loan-form-field-bg: #fff;
  --loan-form-text: #fff;
  --loan-form-submit-bg: #f0f0f0;
  --loan-form-submit-color: #5a5f62;
}

.loan-form--restruct .loan-form__title {
  color: #fff;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.3;
  letter-spacing: 0;
}

.loan-form--restruct .loan-form__field-group {
  margin-top: 18px;
}

.loan-form--restruct .loan-form__field {
  width: 100%;
  min-width: 0;
  height: 60px;
  padding: 0 23px;
  color: #757575;
  font-weight: 300;
}

.loan-form--restruct .loan-form__field::placeholder {
  color: #757575;
}

.loan-form--restruct .loan-form__submit {
  height: 60px;
  background-color: #fff;
  color: #cb2932;
}

.loan-form--restruct .loan-form__submit:hover {
  background-color: #cb2932;
  border: 2px solid #fff;
  color: #fff;
}

.loan-form--restruct .loan-form__consent {
  margin-top: 18px;
}

.loan-form--restruct .loan-form__checkbox-control {
  border-color: #fff;
  background-color: #fff;
}

.loan-form--restruct .loan-form__checkbox:checked + .loan-form__checkbox-control {
  border-color: #fff;
  background-color: #fff;
}

.loan-form--restruct .loan-form__checkbox:checked + .loan-form__checkbox-control::after {
  border-color: var(--color-accent);
}

.loan-form--restruct .loan-form__consent-text,
.loan-form--restruct .loan-form__consent-text a {
  color: #fff;
}

.loan-form--restruct .loan-form__bot {
  margin-top: 16px;
  background: linear-gradient(88deg, #FFF -9.17%, #5A5F62 20.72%, #5A5F62 60.74%)!important;
}


@media (max-width: 1199.98px) {
  .restruct__head {
    gap: 30px;
  }

  .restruct__title {
    max-width: 340px;
  }

  .restruct__desc {
    font-size: 20px;
  }

  .restruct__cards {
    gap: 16px;
  }
}

@media (max-width: 767.98px) {
  .restruct {
    border-radius: 20px;
  }

  .restruct__head {
    flex-direction: column;
    gap: 14px;
  }

  .restruct__title {
    max-width: none;
  }

  .restruct__desc {
    font-size: 14px;
  }

  .restruct__cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .restruct__card {
    padding: 20px;
    border-radius: 16px;
  }

  .restruct__card-title {
    font-size: 16px;
  }

  .restruct__card-text {
    font-size: 14px;
    margin-top: 8px;
  }

  .restruct__bottom {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .restruct__docs-intro {
    font-size: 15px;
  }

  .restruct__docs-list li {
    font-size: 14px;
  }

  .restruct__form-card {
    padding: 20px;
    border-radius: 16px;
  }

  .loan-form--restruct .loan-form__title {
    font-size: 18px;
  }

  .restruct__form-title {
    font-size: 18px;
  }

  .restruct__form-row {
    flex-direction: column;
    gap: 12px;
  }

  /* .restruct__field,
  .restruct__submit {
    height: 50px;
    font-size: 16px;
  } */

  .restruct__submit {
    min-width: 0;
    width: 100%;
  }

  .loan-form--restruct .loan-form__field,
  .loan-form--restruct .loan-form__submit {
    height: 50px;
    font-size: 16px;
  }

  .loan-form--restruct .loan-form__submit {
    width: 100%;
    min-width: 0;
  }
}

/* ── /Restruct ── */

/* ── Invest ── */

.invest {
  background-color: #fff;
}
.invest__hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
  padding: 50px 50px 50px 60px;
  border-radius: 20px;
  background-color: #5a5f62;
  overflow: hidden;
}

.invest__content {
  position: relative;
  z-index: 2;
  max-width: 60%;
  flex-shrink: 0;
}

.invest__title {
  color: #fff;
}

.invest__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.invest__list li {
  position: relative;
  padding-left: 22px;
  color: #fff;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  line-height: normal;
}

.invest__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.invest__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.invest__btn {
  min-height: 50px;
  padding: 10px 28px;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  background-color: var(--color-accent);
}

.invest__pres .invest__btn {
  font-size: 15px;
  padding: 5.5px 17.3px 4.5px 17px;
  min-height: unset;
  max-width: 150px;
  min-width: unset;
}

.btn--outline-dark {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-family: inherit;
  transition: background-color 0.25s, color 0.25s;
}

.btn--outline-dark:hover {
  background-color: #fff;
  color: var(--color-heading);
}

.btn--outline-accent {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-family: inherit;
  transition: background-color 0.25s, color 0.25s;
}

.btn--outline-accent:hover {
  background-color: var(--color-accent);
  color: #fff;
}

.invest__pres {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 28.49px 12px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.80);
}



.invest__pres-link {
  color: #5A5F62;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
}


.invest__media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.invest__image {
  display: block;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
}

.invest__image--mob {
  display: none;
}

.invest__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.invest__info-card {
  padding: 30px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);
}

.invest__info-title {
  color: var(--color-heading);
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 800;
  line-height: 1.3;
}

.invest__info-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  margin-top: 12px;
  color: var(--color-heading);
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.5;
}

@media (max-width: 1199.98px) {
  .invest__hero {
    min-height: 380px;
    padding: 40px 30px;
  }

  .invest__title {
    font-size: 34px;
  }

  .invest__content {
    max-width: 55%;
  }

  .invest__media {
    width: 40%;
  }
}

@media (max-width: 767.98px) {
  .invest__hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 30px 20px;
    padding-bottom: 0;
  }

  .invest__content {
    max-width: 100%;
  }

  .invest__title {
    font-size: 28px;
    line-height: 1.25;
  }

  .invest__list {
    gap: 12px;
    margin-top: 20px;
  }

  .invest__list li {
    font-size: 14px;
  }

  .invest__actions {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
    gap: 10px;
  }

  .invest__btn {
    min-height: 44px;
    padding: 8px 22px;
    font-size: 15px;
  }

  .invest__pres {
    padding: 12px 16px 12px 16px;
  }

  .invest__pres-link {
    font-size: 13px;
  }

  .invest__pres-link br {
    display: none;
  }

  .invest__media {
    position: relative;
    width: 100%;
    height: auto;
    right: -20px;
    bottom: auto;
    margin-top: 20px;
    justify-content: center;
  }

  .invest__image {
    display: none;
  }

  .invest__image--mob {
    display: block;
    width: 100%;

  }

  .invest__info {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  .invest__info-card {
    padding: 20px;
    border-radius: 16px;
  }

  .invest__info-title {
    font-size: 17px;
  }

  .invest__info-text {
    font-size: 14px;
  }
}

/* ── /Invest ── */

.advantages__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.advantages__title {
  max-width: 375px;
  color: #5a5f62;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-content: end;
}

.advantages__card {
  min-height: 286px;
  padding: 24px 18px 22px;
  border-radius: 20px;
  background-color: #fff;
  color: #5a5f62;
  transform: rotate(0deg);
  transition: transform 0.35s ease, background-color 0.35s ease, color 0.35s ease;
}

.advantages__card:first-child img {
  filter: brightness(0);
  transform: rotate(5deg);
}

.advantages__card--accent {
  background-color: #fff;
}

.advantages__card:hover,
.advantages__card:focus-within {
  transform: rotate(-3deg);
  background-color: var(--color-accent);
  color: #fff;
}

.advantages__icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.advantages__card--small-icon .advantages__icon {
  width: 40px;
  height: 40px;
}

.advantages__card--client .advantages__icon {
  width: 62px;
  height: 41px;
}

.advantages__card-title {
  margin-top: 18px;
  color: #5a5f62;
  font-size: clamp(20px, 3.8vw, 25px);
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.35s ease;
}

.advantages__card:hover .advantages__card-title,
.advantages__card:focus-within .advantages__card-title {
  color: #fff;
}

.advantages__card-text,
.advantages__card-list {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  margin-top: 12px;
  color: #5a5f62;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.4;
  transition: color 0.35s ease;
}

.advantages__card:hover .advantages__card-text,
.advantages__card:hover .advantages__card-list,
.advantages__card:focus-within .advantages__card-text,
.advantages__card:focus-within .advantages__card-list {
  color: #fff;
}

.advantages__card:hover:first-child img {
  filter: brightness(1);
}

.advantages__card:hover img {
  filter: brightness(0) invert(1);
}

.advantages__card-list span {
  display: block;
}

/* ── Reviews ── */

.reviews {
  padding-top: 90px;
  padding-bottom: 50px;
  background: #fff;
}

.reviews__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
  background-color: #F7F7F7;
  padding: 40px 40px 0;
  border-radius: 20px;
  position: relative;
}

.reviews__aside {
  position: relative;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.reviews__text {
  margin-top: 20px;
  color: #5a5f62;
  margin-right: 100px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

#widget-reviews .content {
  padding: 0 !important;
}

.reviews__widget {
  width: 100%;
  overflow: hidden;
}

#widget-reviews {
  width: 100%;
  height: 411px; /* 571 - 80 сверху - 80 снизу */
  overflow: hidden;
}

#widget-reviews iframe {
  width: calc(100% + 158px) !important;
  height: 571px !important;
  transform: translate(-80px, -80px);
  border: none !important;
  display: block;
}

@media (max-width: 767px) {
  #widget-reviews {
    height: 446px; /* было 539px */
  }

  #widget-reviews iframe {
    width: calc(100% + 32px) !important;
    height: 571px !important;
    transform: translate(-16px, -16px);
    border: none !important;
    display: block;
  }
}

.reviews__bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 417px;
  pointer-events: none;
}

.reviews__bg-mobile {
  display: none;
}

.reviews__widget {
  max-width: 1010px;
  padding-bottom: 60px;
}

.reviews__iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
}

.reviews__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 30px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 300;
}

@media (max-width: 1199.98px) {
  .reviews {
    padding-top: 100px;
  }

}

@media (max-width: 767.98px) {
  .reviews {
    padding-top: 60px;
  }

  .reviews__layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 35px 20px 0;
  }

  .reviews__aside {
    flex-direction: column;
  }

  .reviews__text {
    font-size: 15px;
    margin: 0;
  }

  .reviews__bg-mobile {
    display: none;
    justify-self: end;
    align-self: center;
    margin-top: 25%;
  }

  .reviews__bg {
    display: none;
  }

  .reviews__widget {
    min-height: 500px;
  }

  .reviews__button {
    min-height: 50px;
  }
}

/* ── /Reviews ── */

/* ── Quiz ── */

.quiz {
  padding-top: 100px;
  background-color: #fff;
}

.quiz__screen[hidden] {
  display: none;
}

.quiz__intro {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 70px 40px 70px 40px;
  overflow: hidden;
  border-radius: 30px;
  background: url(../img/home/quiz-bg.png) no-repeat bottom right;
  background-color: #5a5f62;
  background-size: 75%;
  color: #fff;
}

.quiz__intro-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.quiz__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(245, 249, 255, 0.30);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
}

.quiz__badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.quiz__intro-title {
  margin-top: 24px;
  color: #fff;
}

.quiz__intro-text {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.quiz__start-btn {
  min-width: 200px;
  min-height: 50px;
  margin-top: 28px;
  border-radius: 10px;
  font-size: 20px;
}

.quiz__intro-media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
}

.quiz__intro-car {
  position: absolute;
  right: -20px;
  bottom: 10px;
  width: 100%;
  max-width: 700px;
  z-index: 2;
}

.quiz__intro-curves {
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 110%;
  max-width: none;
}

.quiz__step {
  position: relative;
  padding: 40px 40px 40px 50px;
  min-height: 500px;
  border-radius: 30px;
  overflow: hidden;
  background: url(../img/home/quize-steps-bg.png) no-repeat bottom right;
  background-color: #fff;
  background-size: 75%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);
}

.quiz__step-layout {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.quiz__step-content {
  flex: 1;
  min-width: 0;
}

.quiz__step-media {
  position: absolute;
  right: 0;
  bottom: 0;
  max-height: 100%;
  flex: 0 0 40%;
  overflow: hidden;
  border-radius: 20px;
}

.quiz__step-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

.quiz__step-curves {
  position: absolute;
  right: -40px;
  bottom: -80px;
  width: 120%;
  max-width: none;
}

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

.quiz__progress-label {
  color: #5a5f62;
  font-size: 14px;
  font-weight: 400;
}

.quiz__progress-bar {
  width: 100%;
  height: 6px;
  max-width: 680px;
  border-radius: 3px;
  background-color: #E4979A;
  overflow: hidden;
}

.quiz__progress-fill {
  height: 100%;
  border-radius: 3px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.quiz__question {
  margin-top: 28px;
  color: #5a5f62;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #5a5f62;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.quiz__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz__radio-control {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  transition: border-color 0.2s;
}

.quiz__radio:checked + .quiz__radio-control {
  border-color: var(--color-accent);
  border-width: 6px;
}

.quiz__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.quiz__nav-btn {
  min-height: 44px;
  padding: 8px 32px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

.quiz__nav-btn--back {
  background: transparent;
  border: 1px solid #d9d9d9;
  color: #5a5f62;
}

.quiz__nav-btn--next {
  min-width: 140px;
}

.quiz__result {
  background: url(../img/home/quize-result-bg.png) no-repeat bottom left;
  background-color: #fff;
  background-size: 75%;
  min-height: 500px;
  padding: 40px 50px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);
}

.quiz__result-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.quiz__result-title {
  margin-top: 24px;
  color: #5a5f62;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.15;
}

.quiz__result-text {
  margin-top: 16px;
  color: #5a5f62;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.quiz__result-value {
  margin-top: 12px;
  color: #5a5f62;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
}

.quiz__result-value span {
  font-size: 30px;
  font-weight: 900;
}

.quiz__result-form {
  margin-top: 50px;
  padding: 30px;
  border-radius: 20px;
  background-color: var(--color-accent);
  align-self: center;
}

.loan-form--quiz {
  --loan-form-field-bg: #fff;
  --loan-form-text: #5a5f62;
  --loan-form-submit-bg: #5a5f62;
  --loan-form-submit-color: #fff;
  grid-template-columns: 1fr auto;
}

.loan-form--quiz .loan-form__label {
  display: block;
  color: #fff;
}

.loan-form--quiz .loan-form__field {
  width: 100%;
  height: 55px;
}

.loan-form--quiz .loan-form__submit {
  width: auto;
  min-width: 180px;
  height: 55px;
  background-color: #fff;
  color: #cb2932;
}

.loan-form--quiz .loan-form__submit:hover {
  background-color: #cb2932;
  border: 2px solid #fff;
  color: #fff;
}

.loan-form--quiz .loan-form__consent-text {
  color: #fff;
}

.loan-form--quiz .loan-form__consent-text a {
  color: #fff;
}

.loan-form--quiz .loan-form__checkbox-control {
  border-color: #fff;
}

.loan-form--quiz .loan-form__checkbox:checked + .loan-form__checkbox-control {
  background-color: #fff;
  border-color: #fff;
}

.loan-form--quiz .loan-form__checkbox:checked + .loan-form__checkbox-control::after {
  border-color: var(--color-accent);
}

.loan-form--quiz .loan-form__bot {
  margin-top: 20px;
  border-radius: 16px;
  background: linear-gradient(88deg, #FFF -9.17%, #5A5F62 20.72%, #5A5F62 60.74%) !important;
}

@media (max-width: 1199.98px) {
  .quiz {
    padding-top: 100px;
  }

  .quiz__intro-title {
    font-size: 40px;
  }

  .quiz__intro-media {
    width: 45%;
  }

  .quiz__step-media {
    flex: 0 0 35%;
  }

  .quiz__result-title {
    font-size: 40px;
  }

  .quiz__result-value {
    font-size: 48px;
  }
}

@media (max-width: 767.98px) {
  .quiz {
    padding-top: 60px;
  }

  .quiz__intro {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 32px 20px 0;
    border-radius: 20px;
    background-size: 115%;
  }

  .quiz__intro-title {
    margin-top: 20px;
    font-size: 30px;
    line-height: 1.25;
  }

  .quiz__intro-text {
    font-size: 15px;
  }

  .quiz__start-btn {
    width: 100%;
    margin-top: 20px;
  }

  .quiz__intro-media {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .quiz__intro-car {
    position: relative;
    right: -20px;
    bottom: auto;
    width: 100%;
    max-width: none;
  }

  .quiz__intro-curves {
    right: -30px;
    bottom: -60px;
  }

  .quiz__step {
    padding: 24px 20px;
    padding-bottom: 200px;
    border-radius: 20px;
    background-size: 123%;
  }

  .quiz__step-layout {
    flex-direction: column;
    gap: 20px;
  }

  .quiz__step-media {
    display: none;
  }

  .quiz__question {
    margin-top: 20px;
    font-size: 22px;
  }

  .quiz__options {
    gap: 14px;
    margin-top: 20px;
  }

  .quiz__option {
    font-size: 16px;
  }

  .quiz__nav {
    margin-top: 24px;
  }

  .quiz__nav-btn {
    min-height: 40px;
    padding: 8px 24px;
    font-size: 16px;
  }

  .quiz__result {
    background: url(../img/home/quize-steps-bg.png) no-repeat bottom right;
    background-color: #fff;
    background-size: 123%;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .quiz__result-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quiz__result-title {
    font-size: 30px;
  }

  .quiz__result-value {
    font-size: 40px;
  }

  .quiz__result-value span {
    font-size: 22px;
  }

  .quiz__result-form {
    padding: 24px 20px;
  }

  .loan-form--quiz {
    grid-template-columns: 1fr;
  }

  .loan-form--quiz .loan-form__field,
  .loan-form--quiz .loan-form__submit {
    width: 100%;
    min-width: 0;
    height: 50px;
  }

  .loan-form--quiz .loan-form__submit {
    margin-top: 0;
  }
}

/* ── /Quiz ── */
.faq {
  background-color: #fff;
  padding-bottom: 80px;
}

.faq__title {
  max-width: 965px;
  color: #5a5f62;
}

.faq__list {
  display: grid;
  gap: 20px;
  margin-top: 70px;
}

.faq__item {
  overflow: hidden;
  border-radius: 20px;
  background-color: var(--color-bg);
}

.faq__question {
  font-weight: 300;
  position: relative;
  display: block;
  min-height: 92px;
  padding: 32px 90px 32px 23px;
  color: #5a5f62;
  font-size: 20px;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

details[open] .faq__question:after {
  content: "";
  position: absolute;
  bottom: 7px;
  width: 97%;
  height: 1px;
  border-radius: 50%;
  border: 1px solid #dcd8d8;
  left: 0px;
  right: 0px;
  margin: 0 auto;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: absolute;
  right: 23px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 27px;
  height: 1px;
  border-radius: 999px;
  background-color: #fff;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon {
  background-color: #5A5F62;
}

.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after {
  background-color: #fff;
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
  padding: 0 23px 32px;
}

.faq__answer p {
  max-width: 85%;
  color: #5a5f62;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.offices {
  background-color: #fff;
  padding-bottom: 0;
}

.offices__wrapper {
  border-radius: 30px;
  background-color: var(--color-accent);
  overflow: hidden;
}

.offices__card {
  padding: 100px 0 120px;
  overflow: hidden;
  background-color: var(--color-accent);
  color: #fff;
}

.offices__top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.offices__title {
  color: #fff;
  max-width: 720px;
}

.offices__phone {
  text-align: right;
}

.offices__phone-number {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.offices__phone-note {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.4;
}

.offices__middle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.offices__addresses {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-color: #fff;
  color: #5a5f62;
}

.offices__addresses-inner {
  max-height: 465px;
  overflow-y: auto;
  padding: 30px 64px 30px 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.offices__addresses-inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.offices__scroll {
  position: absolute;
  top: 38px;
  right: 26px;
  bottom: 38px;
  width: 5px;
  background: #efb6ba;
  border-radius: 999px;
  pointer-events: none;
}

.offices__scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 42px;
  background: var(--color-accent);
  border-radius: 999px;
}

.offices__addresses-title {
  font-size: 35px;
  font-weight: 800;
  line-height: normal;
}

.offices__addresses-list {
  max-width: 424px;
  margin-top: 38px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}

.offices__addresses-list a {
  display: block;
  margin-bottom: 18px;
}

.offices__gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offices__photo {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.offices__photo-track {
  width: 100%;
  height: 100%;
  gap: 0;
}

.offices__photo-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

.offices__photo-slide picture,
.offices__photo-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offices__gallery-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 14px;
}

.offices__gallery-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: pointer;
  border-radius: 50%;

}

.offices__gallery-button img {
  width: 100%;
  max-width: 26px;
  height: 28px;
}

.offices__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offices__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
}

.offices__dot.is-active {
  background-color: #5a5f62;
}

.offices__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  margin-top: 40px;
  border-radius: 10px;
  background-color: #fff;
  color: #5a5f62;
  font-size: 20px;
  font-weight: 300;
  transition: all 0.25s;
}

.offices__button:hover {
  background-color: #5a5f62;
  color: #FFF;
}

.offices__map {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 20px;
}

.offices__map img {
  width: 100%;
  height: auto;
}

.offices__map-placeholder {
  display: block;
  position: relative;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.offices__map-placeholder.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.offices__map-live {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.offices__map-live.is-ready {
  z-index: 2;
}

/* ── Disclaimer ── */

.disclaimer {
  padding: 90px 0 90px;
  background: #fff;
}

.disclaimer__text {
  color: #5a5f62;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.disclaimer__text p {
  margin: 0;
}

.disclaimer__text p + p {
  margin-top: 8px;
}

@media (max-width: 767.98px) {
  .disclaimer {
    padding: 30px 0 24px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .disclaimer__text {
    font-size: 12px;
  }
}

/* ── /Disclaimer ── */


.loan-form {
  --loan-form-field-bg: #f0f0f0;
  --loan-form-text: #5a5f62;
  --loan-form-submit-bg: #5a5f62;
  --loan-form-submit-color: #fff;
  --loan-form-bot-gradient: linear-gradient(82.707deg, #fff 9.17%, #e4979a 20.72%, #cb2932 60.74%);
  color: var(--loan-form-text);
}

.loan-form--wide {
  --loan-form-width: 100%;
}

.loan-form--inline {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  justify-content: start;
  column-gap: 20px;
}

.loan-form--ur-lica {
  grid-template-columns: 1fr 1fr;
}

.loan-form--inline .loan-form__title,
.loan-form--inline .loan-form__consent,
.loan-form--inline .loan-form__bot {
  grid-column: 1 / -1;
}

.loan-form--inline .loan-form__label {
  display: none;
  margin-bottom: 0;
}

.loan-form__title {
  color: var(--color-heading);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.2;
}

.loan-form__field-group {
  width: 100%;
  margin-top: 16px;
}

.loan-form__label {
  display: block;
  margin-bottom: 14px;
  color: var(--loan-form-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.loan-form__label:empty {
  display: none;
  margin-bottom: 0;
}

.loan-form__field {
  width: 100%;
  height: 55px;
  padding: 0 21px;
  border: 0;
  border-radius: 10px;
  background-color: var(--loan-form-field-bg);
  color: var(--loan-form-text);
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
}

.loan-form__field::placeholder {
  color: var(--loan-form-text);
}

.loan-form__submit {
  width: 100%;
  height: 55px;
  margin-top: 20px;
  border: 0;
  border-radius: 10px;
  background-color: var(--loan-form-submit-bg);
  color: var(--loan-form-submit-color);
  cursor: pointer;
  font-family: inherit;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transition: background-color 0.2s;
}

.loan-form__submit:hover {
  background-color: var(--color-accent);
}


.loan-form__consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 24px;
  cursor: pointer;
}

.loan-form__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.loan-form__checkbox-control {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: -0.5px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  background-color: #fff;
}

.loan-form__checkbox:checked + .loan-form__checkbox-control {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.loan-form__checkbox:checked + .loan-form__checkbox-control::after {
  content: "";
  display: block;
  position: relative;
  right: -1px;
  bottom: -1px;
  width: 6px;
  height: 10px;
  margin: 2px auto 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.loan-form--banner .loan-form__checkbox:checked + .loan-form__checkbox-control {
  background-color: #fff;
  border-color: #fff;
}

.loan-form--banner .loan-form__checkbox:checked + .loan-form__checkbox-control::after {
  border-color: var(--color-accent);
}

.loan-form__consent-text {
  max-width: 525px;
  color: var(--loan-form-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.loan-form__consent-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.loan-form__bot {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  margin-top: 38px;
  padding: 0;
  padding-left: 40px;
  border: 0;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  max-width: 200px;
}

.loan-form__bot-image {
  position: absolute;
  left: -5px;
  bottom: 0;
  width: 70px;
  max-width: none;
  z-index: 2;
}

.loan-form__bot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px 0 36px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.loan-form--popup .loan-form__field:focus {
  border-color: var(--color-accent);
  outline: none;
}

.loan-form .loan-form__bot {
  position: relative;
  border-radius: 16px;
  margin-top: 35px;
  background: linear-gradient(82.707deg, rgb(238, 226, 226) 1.17%, rgb(228, 151, 154) 20.72%, rgb(203, 41, 50) 60.74%);
}

.loan-form--popup .loan-form__bot-image {
  width: 94px;
}

.loan-form--popup .loan-form__bot-badge {
  padding: 0px 20px 0px 50px;
}

.loan-form--banner {
  --loan-form-field-bg: rgba(255, 255, 255, 0.95);
  --loan-form-text: #757575;
  --loan-form-submit-bg: #5a5f62;
  --loan-form-submit-color: #fff;
  margin-top: 27px;
}

.loan-form--banner .loan-form__field {
  width: 263px;
  height: 60px;
}

.loan-form--banner .loan-form__submit {
  width: auto;
  min-width: 277px;
  height: 60px;
  margin-top: 0;
  background-color: #fff;
  color: #cb2932;
  
}

.loan-form--banner .loan-form__submit:hover {
  background-color: #cb2932;
  border: 2px solid #fff;
  color: #fff;
}


.loan-form--banner .loan-form__consent-text {
  max-width: 536px;
  color: #fff;
  font-size: 15px;
}

.loan-form--banner .loan-form__consent-text a {
  color: #fff;
}

.loan-form--banner .loan-form__checkbox-control {
  border-color: #fff;
}

.loan-form--banner .loan-form__bot {
  position: relative;
  margin-top: 30px;
  border-radius: 20px;
  background: linear-gradient(88deg, #FFF -9.17%, #5A5F62 20.72%, #5A5F62 60.74%);
}

.loan-form .loan-form__bot-image {
  width: 94px;
  left: -7px;
}

.loan-form--nonresident {
  --loan-form-width: 100%;
}

.loan-form--nonresident .loan-form__title {
  max-width: 512px;
  color: var(--color-accent);
}

.loan-form--nonresident .loan-form__field-group {
  width: 274px;
  margin-top: 25px;
}

.loan-form--nonresident .loan-form__field {
  width: 274px;
}


.loan-form--nonresident .loan-form__consent {
  max-width: 492px;
}

@media (max-width: 767.98px) {
  .loan-form__bot {
    margin: 0 auto;
  }
}

.loan-form--nonresident .loan-form__bot {
  margin-top: 40px;
  display: block;
}

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lead-popup[hidden] {
  display: none;
}

.lead-popup__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(240, 240, 240, 0.92);
}

.lead-popup__dialog {
  position: relative;
  z-index: 2;
  width: 1040px;
  max-width: 100%;
  padding: 89px 50px 89px 50px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
}

.lead-popup__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.lead-popup__visual {
  overflow: hidden;
  border-radius: 20px;
}

.lead-popup__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.lead-popup__close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}

.lead-popup__close img {
  width: 45px;
  height: 45px;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.lead-popup__close:hover img {
  transform: rotate(135deg);
}

.nonresident__form > .nonresident__form-title,
.nonresident__form > .nonresident__form-row,
.nonresident__form > .nonresident__consent,
.nonresident__form > .nonresident__bot {
  display: none;
}

@media (max-width: 1199.98px) {
  .assistant-promo,
  .services,
  .leasing,
  .steps,
  .lead-banner,
  .help-section,
  .conditions,
  .video-section,
  .easy-loan,
  .online-apply,
  .live-deals,
  .ur-lica,
  .field-visit,
  .down-rate,
  .nonresident,
  .restruct,
  .invest,
  .advantages,
  .faq,
  .offices {
    padding-top: 100px;
  }

  .home-new .section-heading__title,
  .leasing__title,
  .conditions__title,
  .help-section__title,
  .faq__title,
  .advantages__title,
  .nonresident__title,
  .offices__title {
    font-size: 40px;
  }

  .service-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }

  .steps__grid,
  .advantages__layout,
  .offices__middle {
    grid-template-columns: 1fr;
  }

  .advantages__grid {
    justify-content: start;
  }

  .offices__photo {
    width: 100%;
    height: auto;
  }

  .lead-popup__dialog {
    width: 920px;
    padding: 80px 32px 56px;
  }

  .lead-popup__inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }

  
}

@media (max-width: 767.98px) {

  .home-new .section-heading {
    gap: 20px;
    margin-bottom: 40px;
  }

  .home-new .section-heading__eyebrow {
    min-height: 30px;
    padding: 0 37px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 28px;
  }

  .home-new .section-heading__title,
  .leasing__title,
  .conditions__title,
  .help-section__title,
  .faq__title,
  .advantages__title,
  .nonresident__title,
  .offices__title {
    max-width: 353px;
    font-size: 30px;
    line-height: 1.33;
  }

  .assistant-promo,
  .services,
  .leasing,
  .steps,
  .lead-banner,
  .help-section,
  .conditions,
  .video-section,
  .easy-loan,
  .online-apply,
  .live-deals,
  .ur-lica,
  .field-visit,
  .down-rate,
  .nonresident,
  .restruct,
  .invest,
  .advantages,
  .faq,
  .offices {
    padding-top: 40px;
  }

  .services {
    padding-bottom: 20px;
  }

  .assistant-promo__card {
    min-height: 552px;
    padding: 49px 20px 0;
    border-radius: 20px;
    background: url(../img/bg-section2-mob.png) bottom center no-repeat;
    background-size: contain;
    overflow: hidden;
    background-color: #5a5f62;
  }

  

  .home-new .hero__button {
    width: 100%;
    max-width: 313px;
    min-height: 50px;
    margin-top: 20px;
    font-size: 18px;
  }


  .assistant-promo__text {
    max-width: 313px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.2;
  }

  .assistant-promo__button {
    width: 100%;
    min-height: 50px;
    margin-top: 20px;
  }

  .assistant-promo__ellipse--desktop,
  .assistant-promo__curves--desktop,
  .assistant-promo__robot--desktop {
    display: none;
  }

  .assistant-promo__ellipse--mobile,
  .assistant-promo__curves--mobile,
  .assistant-promo__robot--mobile {
    display: block;
  }

  .assistant-promo__ellipse--mobile {
    left: -166px;
    top: 83px;
    width: 372px;
  }

  .assistant-promo__curves--mobile {
    left: -134px;
    bottom: -448px;
    width: 687px;
  }

  .assistant-promo__robot--mobile {
    left: 0;
    bottom: 0;
    width: 100%;
  }

 
  .leasing__head {
    align-items: center;
    gap: 20px;
  }

  .services__head,
  .steps__head {
    align-items: start;
  }

  .services__head,
  .steps__head {
    flex-direction: column;
    margin-bottom: 10px;
  }

  .services__track {
    gap: 15px;
    padding-bottom: 6px;
  }

  .service-card {
    flex: 0 0 260px;
  }

  .service-card {
    min-height: 242px;
    padding: 16px 18px 18px;
    border-radius: 20px;
  }

  .service-card__badge {
    min-height: 20px;
    padding: 0 13px;
    font-size: 12px;
    line-height: 18px;
  }

  .service-card__title {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.2;
  }

  .service-card__ellipse {
    bottom: -16px;
    width: 285px;
  }

  .service-card--car .service-card__image {
    left: 26px;
    bottom: 24px;
    width: 243px;
  }

  .service-card--estate .service-card__image {
    right: -1px;
    bottom: 0;
    width: 281px;
  }

  .service-card--truck .service-card__image {
    left: 18px;
    bottom: 20px;
    width: 258px;
  }

  .service-card__button {
    left: 49px;
    bottom: 15px;
    min-width: 162px;
    min-height: 32px;
    padding: 5px 16px;
    font-size: 15px;
    line-height: 1;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps__card {
    min-height: 180px;
    padding: 21px 20px 24px;
    border-radius: 20px;
  }

  .steps__meta {
    font-size: 15px;
  }

  .steps__title {
    max-width: 286px;
    margin-top: 40px;
    font-size: 15px;
    line-height: 1.4;
  }

  .steps__number {
    right: -20px;
    bottom: -2px;
    font-size: 191px;
    line-height: 0.92;
  }

  .loan-form--banner {
    grid-template-columns: 1fr;
  }

  .loan-form--banner .loan-form__field,
  .loan-form--banner .loan-form__submit {
    width: 100%;
    min-width: 0;
    height: 50px;
  }

  .loan-form--banner .loan-form__submit {
    margin-top: 0;
  }

  .loan-form--banner .loan-form__consent-text {
    font-size: 13px;
  }

  .lead-banner__curves--desktop,
  .lead-banner__robot--desktop {
    display: none;
  }

  .lead-banner__curves--mobile,
  .lead-banner__robot--mobile {
    display: block;
  }

  .lead-banner__curves--mobile {
    left: 13px;
    bottom: -193px;
    width: 638px;
  }

  .lead-banner__robot--mobile {
    left: 0;
    bottom: 0;
    width: 95px;
  }


  .advantages__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantages__card,
  .advantages__card--accent {
    transform: none;
    min-height: 220px;
  }

  .faq__list {
    gap: 12px;
    margin-top: 40px;
  }

  .faq__item {
    border-radius: 20px;
  }

  .faq__question {
    min-height: 86px;
    padding: 24px 62px 24px 20px;
    font-size: 14px;
  }

  .faq__icon {
    right: 18px;
    width: 34px;
    height: 34px;
  }

  .faq__icon::before,
  .faq__icon::after {
    width: 14px;
  }

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

  .faq__answer p {
    font-size: 15px;
  }

  .offices__card {
    padding: 49px 20px 32px;
  }

  .offices__top {
    flex-direction: column;
    gap: 24px;
  }

  .offices__phone {
    text-align: left;
  }

  .offices__phone-number {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
  }

  .offices__phone-note {
    font-size: 15px;
    line-height: 1.4;
  }

  .offices__middle {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 27px;
  }

  .offices__gallery {
    order: 1;
  }

  .offices__addresses {
    order: 2;
    min-height: 303px;
    border-radius: 10px;
  }

  .offices__addresses-inner {
    padding: 16px 36px 16px 20px;
  }

  .offices__scroll {
    top: 16px;
    right: 12px;
    bottom: 16px;
    width: 3px;
  }

  .offices__scroll-thumb {
    min-height: 20px;
  }

  .offices__addresses-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .offices__addresses-list {
    max-width: 225px;
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.4;
  }

  .offices__addresses-list span {
    margin-bottom: 14px;
  }

  .offices__photo {
    width: 313px;
    height: 212px;
    border-radius: 10px;
  }

  .offices__gallery-nav {
    gap: 16px;
    margin-top: 8px;
  }

  .offices__gallery-button {
    width: 22px;
    height: 22px;
  }

  .offices__dot {
    width: 5px;
    height: 5px;
  }

  .offices__button {
    min-height: 50px;
    margin-top: 20px;
    border-radius: 10px;
  }

  .offices__map {
    margin-top: 20px;
    border-radius: 20px;
  }

  .loan-form,
  .loan-form--popup {
    --loan-form-width: 100%;
  }

  .loan-form--popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 352px;
    margin: 0 auto;
  }

  .loan-form__field-group .loan-form__label {
    display: none;
  }

  .loan-form--popup h3 {
    order: 1;
  }

  .loan-form--popup .loan-form__field-group {
    order: 2;
  }
  .loan-form--popup .loan-form__submit {
    order: 4;
  }

  .loan-form--popup .loan-form__consent {
    order: 3;
  }
  .loan-form--popup .loan-form__bot {
    order: 5;
  }

  .loan-form__title {
    font-size: 30px;
    line-height: 1.1;
  }

  .loan-form__label {
    margin-bottom: 10px;
  }

  .loan-form__field,
  .loan-form__submit {
    height: 50px;
  }

  .loan-form__bot {
    margin-top: 28px;
  }

  .loan-form--inline {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .loan-form--inline .loan-form__field-group,
  .loan-form--inline .loan-form__field,
  .loan-form--inline .loan-form__submit,
  .loan-form--nonresident .loan-form__field-group,
  .loan-form--nonresident .loan-form__field,
  .loan-form--nonresident .loan-form__submit {
    width: 100%;
    min-width: 0;
  }

  .loan-form--inline .loan-form__field-group,
  .loan-form--nonresident .loan-form__field-group {
    margin-top: 20px;
  }

  .loan-form--inline .loan-form__submit {
    max-width: unset;
    margin-top: 0;
  }

  .loan-form--nonresident .loan-form__title {
    font-size: 18px;
    line-height: 1.25;
  }

  .loan-form--nonresident .loan-form__consent {
    max-width: 100%;
  }

  .lead-popup {
    padding: 16px;
  }

  .lead-popup__dialog {
    padding: 56px 20px 24px;
  }

  .lead-popup__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lead-popup__close {
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
  }

  .lead-popup__close img {
    width: 30px;
    height: 30px;
  }
}

/* ── SMS Verify (inline в формах popup) ── */

.loan-form__sms-verify {
  width: 100%;
  margin-bottom: 12px;
}

.loan-form__sms-code {
  text-align: center;
  letter-spacing: 1px;
  font-size: 22px;
  font-weight: 400;
}

.loan-form__sms-error {
  display: block;
  margin-top: 6px;
  color: #e74c3c;
  font-size: 13px;
  text-align: center;
}

.loan-form__sms-resend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px auto 0;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: var(--color-accent, #c9302c);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.loan-form__sms-resend:not(:disabled):hover {
  text-decoration: underline;
}

.loan-form__sms-resend:disabled,
.loan-form__sms-resend.is-waiting {
  color: #9a9a9a;
  cursor: not-allowed;
}

.loan-form__sms-resend-timer {
  font-variant-numeric: tabular-nums;
}

.loan-form__submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ── SMS Popup (для форм на странице) ── */

.sms-popup {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.sms-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

.sms-popup.is-hiding {
  opacity: 0;
}

.sms-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.sms-popup__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 40px 32px 32px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.sms-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}

.sms-popup__close:hover {
  background: #e0e0e0;
}

.sms-popup__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
}

.sms-popup__text {
  margin: 0 0 20px;
  font-size: 14px;
  color: #757575;
}

.sms-popup__field-group {
  margin-bottom: 12px;
}

.sms-popup__code {
  display: block;
  width: 100%;
  height: 55px;
  padding: 0 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
  font-family: inherit;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.sms-popup__code:focus {
  border-color: #c9302c;
}

.sms-popup__error {
  display: block;
  margin-bottom: 12px;
  color: #e74c3c;
  font-size: 13px;
}

.sms-popup__submit {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  background: #5a5f62;
  color: #fff;
  transition: background 0.2s;
}

.sms-popup__submit:hover {
  background: var(--color-accent);
  color: #fff;
}

.sms-popup__submit:disabled {
  opacity: 0.7;
  pointer-events: none;
}

.sms-popup__resend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: var(--color-accent, #c9302c);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.sms-popup__resend:not(:disabled):hover {
  text-decoration: underline;
}

.sms-popup__resend:disabled,
.sms-popup__resend.is-waiting {
  color: #9a9a9a;
  cursor: not-allowed;
}

.sms-popup__resend-timer {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .sms-popup__dialog {
    max-width: calc(100% - 32px);
    padding: 32px 20px 24px;
  }
}
