:root{
  --green:#1faa59;
  --green-dark:#168645;
  --dark:#171717;
  --text:#202020;
  --muted:#666;
  --soft:#f6f8f7;
  --line:#e7e7e7;
  --shadow:0 20px 50px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial, Helvetica, sans-serif;color:var(--text);background:#fff;line-height:1.5}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.section{padding:82px 0}
.section--soft{background:var(--soft)}
.section-title{font-size:clamp(30px,4vw,46px);line-height:1.1;margin:0 0 32px}

/* Все обычные кнопки: по размеру текста, почти прямые углы */
.btn{
  width:auto;
  border:0;
  border-radius:2px;
  padding:13px 22px;
  font-size:15px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:44px;
  transition:.2s;
  white-space:nowrap;
}
.btn--green{background:var(--green);color:#fff}
.btn--green:hover{background:var(--green-dark)}
.btn--green:disabled{background:#9b9b9b;cursor:not-allowed}
.btn--glass{background:rgba(255,255,255,.72);border:1px solid rgba(0,0,0,.12)}
.btn--consult{font-size:17px;font-weight:900;padding:15px 24px}
.btn--how{font-size:13px;font-weight:700;padding:12px 17px;min-height:40px}

/* Только кнопка в шапке с отрезанным углом */
.btn--cut{
  border-radius:2px;
  clip-path:polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
}

.header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
.header__inner{position:relative;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.header__top{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.header__bottom{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.logo{display:flex;align-items:center;flex:0 0 auto;line-height:0}
.logo__img{display:block;width:190px;height:auto;max-height:58px;object-fit:contain}
.city{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.city__label{font-size:12px;color:var(--muted);white-space:nowrap}
.city__select{
  width:150px;
  max-width:150px;
  border:0;
  border-bottom:1px solid var(--line);
  padding:7px 22px 7px 4px;
  font-size:13px;
  font-weight:700;
  color:var(--green);
  background:#fff;
  cursor:pointer;
}
.nav{display:flex;align-items:center;gap:13px;margin-left:auto;flex:0 0 auto}
.nav a{font-weight:700;font-size:14px;white-space:nowrap}
.phone{display:flex;flex-direction:column;line-height:1.15;white-space:nowrap;flex:0 0 auto}
.phone a{font-weight:800;font-size:15px}
.phone span{font-size:11px;color:var(--muted)}
.header__button{font-size:13px;padding:12px 17px;min-height:40px}
.burger{display:none;border:0;background:#fff;font-size:28px;line-height:1;cursor:pointer}
.mobile-menu{display:none}

.hero{min-height:690px;display:flex;align-items:center;background:linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 55%, rgba(255,255,255,.2) 100%)}
.hero__grid{display:grid;grid-template-columns:1fr 420px;gap:44px;align-items:center}
.hero h1{font-size:clamp(38px,6vw,68px);line-height:1.02;margin:0 0 18px}
.hero h1 sup{font-size:.35em;color:var(--green)}
.hero__subtitle{font-size:22px;max-width:660px;margin:0 0 24px}
.hero__benefits{display:grid;gap:12px;list-style:none;padding:0;margin:0 0 30px}
.hero__benefits li{padding-left:30px;position:relative;font-weight:700}
.hero__benefits li:before{content:"";position:absolute;left:0;top:8px;width:14px;height:14px;border-radius:50%;background:var(--green)}
.hero__buttons{display:flex;align-items:center;gap:14px;flex-wrap:wrap}

.calculator{background:#fff;border-radius:20px;box-shadow:var(--shadow);padding:30px;border:1px solid var(--line)}
.calculator h2{margin:0 0 24px}
.range-block{display:block;margin-bottom:28px}
.range-block span{display:block;color:var(--muted);margin-bottom:4px}
.range-block strong{display:block;font-size:24px;margin-bottom:12px}
input[type=range]{width:100%;height:6px;border-radius:99px;appearance:none;outline:none}
input[type=range]::-webkit-slider-thumb{appearance:none;width:22px;height:22px;border-radius:50%;background:var(--green);border:4px solid #fff;box-shadow:0 2px 12px rgba(0,0,0,.2)}
input[type=range]::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--green);border:4px solid #fff;box-shadow:0 2px 12px rgba(0,0,0,.2)}
.payment{background:var(--soft);padding:20px;border-radius:18px;margin-bottom:22px}
.payment span{display:block;color:var(--muted)}
.payment strong{font-size:34px}

.steps,.features,.reviews{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.vehicles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card,.review{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 12px 35px rgba(0,0,0,.04)}
.card h3{margin:12px 0 8px;font-size:22px}
.card p,.review p{color:var(--muted);margin:0}
.card--center{text-align:center}
.icon-placeholder{width:54px;height:54px;border-radius:16px;background:rgba(31,170,89,.12);color:var(--green);display:grid;place-items:center;font-weight:900;font-size:22px}
.image-placeholder{width:100%;aspect-ratio:1/1;border-radius:18px;background:linear-gradient(135deg,#eef4f0,#dfeae4)}
.about-illustration{width:100%;aspect-ratio:1/1;border-radius:18px;display:block;object-fit:cover;background:#050706;box-shadow:inset 0 0 0 1px rgba(76,175,80,.18)}
.vehicle-card{padding:18px;overflow:hidden}
.vehicle-card .vehicle-image,
.vehicle-image{width:100%;aspect-ratio:3/2;border-radius:16px;display:block;object-fit:cover;margin:0 0 18px;font-size:0;background:#eef4f0}
.section-button{margin-top:26px}

.reviews-title-row{display:block}
.reviews-arrows{display:none}
.avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#ddd,#f5f5f5);margin-bottom:14px}
.review__head{display:flex;justify-content:space-between;gap:10px}
.review__head span{font-size:13px;color:var(--muted)}
.stars{color:#f6b900;margin:10px 0}

.faq{display:grid;gap:12px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px}
.faq summary{cursor:pointer;font-weight:800;list-style:none}
.faq summary:before{content:"›";color:var(--green);font-size:22px;margin-right:10px}
.faq details[open] summary:before{content:"⌄"}
.faq p{color:var(--muted);margin:12px 0 0;padding-left:28px}

.quiz-banner{background:var(--dark);color:#fff;padding:28px 0}
.quiz-banner__inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.quiz-banner h2{font-size:clamp(22px,3vw,34px);margin:0}

.form-section{display:grid;grid-template-columns:1fr 440px;gap:40px;align-items:start}
.lead-form{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;display:grid;gap:16px}
.lead-form--dark{background:var(--dark);color:#fff;border-color:#2b2b2b}
.lead-form label span{display:block;font-weight:700;margin-bottom:7px}
.lead-form input[type=text],.lead-form input[type=tel]{width:100%;border:1px solid var(--line);border-radius:14px;padding:15px 16px;font-size:16px;outline:none}
.lead-form input:focus{border-color:var(--green)}
.error{display:block;color:#ff5959;min-height:18px;margin-top:5px}
.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:14px}
.checkbox input{margin-top:4px}
.checkbox a{color:var(--green);text-decoration:underline}

.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px}
.modal.is-open{display:flex}
.modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.62)}
.modal__box{position:relative;width:min(440px,100%);background:var(--dark);color:#fff;border-radius:20px;padding:28px;box-shadow:0 30px 100px rgba(0,0,0,.35)}
.modal__box h2{margin:0 0 18px}
.modal__close{position:absolute;right:18px;top:14px;border:0;background:transparent;color:#fff;font-size:32px;cursor:pointer}
.footer{background:#101010;color:#fff;padding:34px 0}
.footer p{margin:0 0 10px;color:#cfcfcf}
.footer__links{display:flex;align-items:center;gap:28px;margin-bottom:16px;font-size:12px;line-height:1.35}
.footer__links a{color:var(--green);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;transition:color .18s,opacity .18s,text-shadow .18s}
.footer__links a:hover{color:#61d858;opacity:.95;text-shadow:0 0 14px rgba(62,190,71,.32)}
.footer__legal{max-width:1120px}
.footer__legal p{font-size:11px;line-height:1.45;color:#cfcfcf}
.footer__copy{margin:14px 0 0;color:#cfcfcf;font-size:11px;line-height:1.45}

@media (max-width:1120px){
  .header__top{gap:10px}
  .logo__img{width:165px;max-height:52px}
  .city__select{width:132px;max-width:132px;font-size:12px}
  .nav{gap:9px}
  .nav a{font-size:13px}
  .phone a{font-size:14px}
  .header__button{font-size:12px;padding:11px 14px}
}

@media (max-width:980px){
  .nav--desktop,.city--desktop{display:none}
  .header__inner{min-height:auto;display:block;padding-top:10px;padding-bottom:10px}
  .header__top{display:flex;justify-content:space-between;align-items:center;width:100%}
  .logo__img{width:150px;max-height:48px}
  .phone{text-align:right}
  .phone a{font-size:16px}
  .phone span{font-size:10px}
  .header__bottom{margin-top:8px;display:flex;justify-content:center;align-items:center;position:relative}
  .header__button{font-size:13px;padding:12px 18px;min-height:40px}
  .burger{display:block;position:absolute;right:0;top:50%;transform:translateY(-50%)}
  .mobile-menu{
    display:none;
    margin-top:10px;
    padding:14px;
    border:1px solid var(--line);
    background:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
  }
  .mobile-menu.is-open{display:grid;gap:13px}
  .mobile-menu a{font-weight:800}
  .mobile-menu__city{display:grid;gap:6px}
  .mobile-menu .city__select{width:100%;max-width:100%;font-size:14px}
  .hero__grid{grid-template-columns:1fr}
  .calculator{max-width:520px}
  .steps,.features{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:720px){
  .container{padding:0 14px}
  .section{padding:58px 0}
  .hero{min-height:auto}
  .hero h1{font-size:36px}
  .hero__subtitle{font-size:18px}
  .btn{padding:12px 18px;min-height:42px;font-size:14px}
  .btn--consult{font-size:15px;font-weight:900;padding:14px 20px}
  .btn--how{font-size:12px;padding:11px 15px;min-height:38px}
  .steps,.features,.vehicles,.form-section{grid-template-columns:1fr}
  .calculator{padding:22px}

  .reviews-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
  .reviews-title-row .section-title{margin:0}
  .reviews-arrows{display:flex;gap:8px}
  .review-arrow{width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:2px;font-size:28px;line-height:1;cursor:pointer}
  .reviews{
    display:flex;
    gap:14px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    padding-bottom:10px;
    scrollbar-width:none;
  }
  .reviews::-webkit-scrollbar{display:none}
  .review{
    flex:0 0 100%;
    scroll-snap-align:start;
  }

  .quiz-banner__inner{flex-direction:column;align-items:flex-start}
  .modal__box{padding:24px}
}


/* ===== Квиз "Узнать вероятность одобрения" ===== */
.quiz-modal{
  position:fixed;
  inset:0;
  z-index:120;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.quiz-modal.is-open{display:flex}
.quiz-modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.62);
}
.quiz-modal__box{
  position:relative;
  width:min(560px,100%);
  max-height:none;
  overflow:visible;
  background:#171717;
  color:#fff;
  border-radius:20px;
  padding:28px;
  box-shadow:0 30px 100px rgba(0,0,0,.35);
}
.quiz-modal__close{
  position:absolute;
  right:18px;
  top:12px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:34px;
  cursor:pointer;
}
.quiz-progress{padding-right:34px;margin-bottom:22px}
.quiz-progress__text{
  display:block;
  font-size:13px;
  color:#cfcfcf;
  margin-bottom:8px;
}
.quiz-progress__line{
  width:100%;
  height:6px;
  border-radius:99px;
  background:#333;
  overflow:hidden;
}
.quiz-progress__line span{
  display:block;
  width:20%;
  height:100%;
  background:var(--green);
  transition:.25s;
}
.quiz-step{display:none}
.quiz-step.is-active{display:block}
.quiz-step h2{
  font-size:clamp(24px,4vw,34px);
  line-height:1.15;
  margin:0 0 18px;
}
.quiz-hint{
  margin:-8px 0 18px;
  color:#cfcfcf;
  font-size:14px;
}
.quiz-options{
  display:grid;
  gap:12px;
  margin-bottom:10px;
}
.quiz-option{
  display:flex;
  align-items:center;
  gap:10px;
  padding:15px;
  border:1px solid #343434;
  border-radius:12px;
  background:#202020;
  cursor:pointer;
}
.quiz-option input{
  width:18px;
  height:18px;
  accent-color:var(--green);
}
.quiz-option span{
  font-weight:800;
}
.quiz-field{
  display:block;
  margin-bottom:14px;
}
.quiz-field span{
  display:block;
  font-weight:800;
  margin-bottom:7px;
}
.quiz-field input{
  width:100%;
  border:1px solid #343434;
  border-radius:12px;
  background:#fff;
  color:#111;
  padding:15px 16px;
  font-size:16px;
  outline:none;
}
.quiz-field input:focus{
  border-color:var(--green);
}
.quiz-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:18px;
}
.quiz-actions--end{
  justify-content:flex-end;
}
.quiz-thanks p{
  color:#cfcfcf;
  margin:0 0 20px;
}
@media (max-width:720px){
  .quiz-modal{
    align-items:flex-start;
    padding:12px;
  }
  .quiz-modal__box{
    width:100%;
    max-height:none;
    padding:22px;
    margin-top:8px;
  }
  .quiz-actions{
    align-items:stretch;
  }
  .quiz-actions .btn{
    flex:1;
  }
}


/* Исправленный выпадающий список марок */
.quiz-brand-field{
  position:relative;
}
.brand-dropdown{
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:calc(100% - 14px);
  z-index:140;
  max-height:225px; /* примерно 5 строк */
  overflow-y:auto;
  background:#fff;
  color:#111;
  border:1px solid var(--green);
  border-radius:0 0 12px 12px;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}
.brand-dropdown.is-open{
  display:block;
}
.brand-dropdown__item{
  width:100%;
  display:block;
  padding:12px 14px;
  background:#fff;
  border:0;
  text-align:left;
  font-size:15px;
  cursor:pointer;
}
.brand-dropdown__item:hover,
.brand-dropdown__item.is-active{
  background:#f0f7f3;
}
@media (max-width:720px){
  .brand-dropdown{
    max-height:225px;
  }
}


/* ===== Окно благодарности для обычных форм ===== */
.success-modal{
  position:fixed;
  inset:0;
  z-index:130;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.success-modal.is-open{display:flex}
.success-modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.62);
}
.success-modal__box{
  position:relative;
  width:min(500px,100%);
  background:#171717;
  color:#fff;
  border-radius:20px;
  padding:32px;
  box-shadow:0 30px 100px rgba(0,0,0,.35);
  text-align:center;
}
.success-modal__box h2{
  font-size:clamp(24px,4vw,34px);
  line-height:1.15;
  margin:0 0 22px;
}


/* ===== Простая капча для повторных отправок ===== */
.captcha-modal{
  position:fixed;
  inset:0;
  z-index:150;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.captcha-modal.is-open{display:flex}
.captcha-modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.62);
}
.captcha-modal__box{
  position:relative;
  width:min(440px,100%);
  background:#171717;
  color:#fff;
  border-radius:20px;
  padding:28px;
  box-shadow:0 30px 100px rgba(0,0,0,.35);
}
.captcha-modal__close{
  position:absolute;
  right:18px;
  top:12px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:34px;
  cursor:pointer;
}
.captcha-modal__box h2{
  font-size:clamp(24px,4vw,32px);
  line-height:1.15;
  margin:0 34px 10px 0;
}
.captcha-modal__box p{
  color:#cfcfcf;
  margin:0 0 16px;
}
.captcha-picture{
  user-select:none;
  width:100%;
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 0 18px;
  background:
    repeating-linear-gradient(45deg, #f3f3f3 0, #f3f3f3 8px, #e5e5e5 8px, #e5e5e5 16px);
  color:#111;
  border-radius:12px;
  border:1px solid #343434;
  font-size:34px;
  font-weight:900;
  letter-spacing:10px;
  text-decoration:line-through;
  transform:skew(-4deg);
}
.captcha-field{
  display:block;
  margin-bottom:16px;
}
.captcha-field span{
  display:block;
  font-weight:800;
  margin-bottom:7px;
}
.captcha-field input{
  width:100%;
  border:1px solid #343434;
  border-radius:12px;
  background:#fff;
  color:#111;
  padding:15px 16px;
  font-size:16px;
  outline:none;
}
.captcha-field input:focus{
  border-color:var(--green);
}
.captcha-actions{
  display:flex;
  justify-content:space-between;
  gap:12px;
}
@media (max-width:720px){
  .captcha-actions{
    align-items:stretch;
  }
  .captcha-actions .btn{
    flex:1;
  }
}


/* ===== Блок "Примеры выданных займов" ===== */
.loans-section{
  background:#f6f8f7;
}
.loans-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px;
}
.loans-head .section-title{
  margin:0;
}
.loans-controls{
  display:flex;
  gap:12px;
  flex:0 0 auto;
}
.loans-arrow{
  width:50px;
  height:50px;
  border:1px solid var(--green);
  background:#fff;
  color:var(--green);
  border-radius:2px;
  font-size:34px;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:.2s;
}
.loans-arrow:hover{
  background:var(--green);
  color:#fff;
}
.loans-slider{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  padding:2px 2px 14px;
  scrollbar-width:none;
}
.loans-slider::-webkit-scrollbar{
  display:none;
}
.loan-card{
  flex:0 0 260px;
  scroll-snap-align:start;
  background:#fff;
  border:1px solid #eeeeee;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}
.loan-card__image{
  height:160px;
  background:#dfe6e2;
  position:relative;
  overflow:hidden;
}
.loan-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.loan-card__image:not(:has(img))::after{
  content:"Фото авто";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#8d9892;
  font-weight:800;
}
.loan-card__body{
  padding:18px;
}
.loan-card h3{
  margin:0 0 18px;
  font-size:19px;
  line-height:1.2;
}
.loan-card__green-label{
  color:var(--green);
  font-weight:700;
  margin:0 0 6px;
}
.loan-card__green-sum{
  color:var(--green);
  font-size:28px;
  line-height:1.1;
  font-weight:900;
  margin-bottom:6px;
}
.loan-card__green-rate{
  color:var(--green);
  font-size:16px;
  font-weight:800;
}
.loan-card__line{
  height:1px;
  background:#e8e8e8;
  margin:22px 0;
}
.loan-card__gray-label{
  color:#8c8f94;
  margin:0 0 6px;
}
.loan-card__gray-sum{
  color:#777b80;
  font-size:24px;
  line-height:1.1;
  font-weight:800;
  margin-bottom:6px;
}
.loan-card__gray-rate{
  color:#777b80;
  font-size:15px;
  font-weight:700;
}
@media (max-width:720px){
  .loans-head{
    align-items:flex-start;
  }
  .loans-controls{
    gap:8px;
  }
  .loans-arrow{
    width:40px;
    height:40px;
    font-size:28px;
  }
  .loan-card{
    flex-basis:82%;
  }
  .loan-card__image{
    height:150px;
  }
}


/* ===== Исправленный нижний блок "Оставить заявку" ===== */
.bottom-request-section{
  background:#fff;
}
.form-section--dark{
  background:#111;
  border-radius:18px;
  padding:40px;
  display:grid;
  grid-template-columns:1fr 440px;
  gap:40px;
  align-items:center;
}
.form-section--dark .section-title,
.form-section--dark .form-section__info p{
  color:#fff;
}
.form-section__info p{
  margin:0 0 24px;
}
.form-section__image{
  width:100%;
  display:block;
  border-radius:14px;
  object-fit:cover;
  max-height:360px;
}
.form-section--dark .lead-form{
  background:#181818;
  border-color:#2b2b2b;
  color:#fff;
}
.form-section--dark .lead-form input[type=text],
.form-section--dark .lead-form input[type=tel]{
  background:#fff;
  color:#111;
}
.form-section--dark .checkbox span{
  color:#fff;
}
.form-section--dark .checkbox a{
  color:var(--green);
}

@media (max-width:720px){
  .form-section--dark{
    grid-template-columns:1fr;
    padding:24px;
  }
  .form-section__image{
    display:none;
  }
}


/* ===== Исправленный фон первого блока ===== */
.hero.hero--bg{
  position:relative;
  overflow:hidden;
  background:#0c0f11 !important;
}
.hero.hero--bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(8,10,12,.86) 0%, rgba(8,10,12,.68) 42%, rgba(8,10,12,.30) 100%),
    url("../images/hero-bg.png") center center / cover no-repeat;
  z-index:0;
}
.hero.hero--bg .container{
  position:relative;
  z-index:1;
}
.hero.hero--bg h1,
.hero.hero--bg .hero__subtitle,
.hero.hero--bg .hero__benefits li{
  color:#fff;
}
.hero.hero--bg .btn--glass{
  color:#fff;
  border-color:rgba(255,255,255,.35);
  background:rgba(255,255,255,.10);
}
.hero.hero--bg .calculator{
  background:rgba(255,255,255,.94);
}
@media (max-width:720px){
  .hero.hero--bg::before{
    background:
      linear-gradient(180deg, rgba(8,10,12,.90) 0%, rgba(8,10,12,.64) 100%),
      url("../images/hero-bg.png") center center / cover no-repeat;
  }
}


/* ===== Отдельный фон первого блока для мобильных устройств ===== */
@media (max-width:720px){
  .hero.hero--bg{
    min-height:auto;
  }
  .hero.hero--bg::before{
    background:
      linear-gradient(180deg, rgba(8,10,12,.78) 0%, rgba(8,10,12,.50) 58%, rgba(8,10,12,.74) 100%),
      url("../images/hero-bg-mobile.jpg") center top / cover no-repeat !important;
  }
}


/* ===== v15: правки шапки, кнопок и калькулятора ===== */

/* Шапка: на ПК меню левее, меньше прижато к телефону */
@media (min-width:981px){
  .nav{
    margin-left:24px;
    margin-right:auto;
  }
  .phone{
    align-items:center;
    text-align:center;
  }
}

/* Часы работы под номером: ежедневно + часы отдельными строками */
.phone .phone__mode,
.phone .phone__hours{
  display:block;
  text-align:center;
}
.phone .phone__mode{
  font-size:12px;
  color:var(--muted);
  font-weight:700;
  margin-top:2px;
}
.phone .phone__hours{
  font-size:12px;
  color:var(--muted);
  font-weight:700;
}
@media (max-width:980px){
  .phone{
    align-items:flex-end;
  }
  .phone .phone__mode,
  .phone .phone__hours{
    text-align:right;
    font-size:11px;
  }
}

/* Первый блок: кнопки одинаковые по высоте */
.hero__buttons{
  align-items:stretch;
}
.btn--consult,
.btn--how{
  min-height:50px;
  display:inline-flex;
  align-items:center;
}
.btn--how{
  font-size:15px;
  padding-top:15px;
  padding-bottom:15px;
}
@media (max-width:720px){
  .btn--consult,
  .btn--how{
    min-height:48px;
  }
  .btn--how{
    font-size:14px;
    padding-top:14px;
    padding-bottom:14px;
  }
}

/* Калькулятор: вместо заливки у "Платеж от" тонкая черная рамка */
.payment{
  background:transparent !important;
  border:1px solid #111;
  border-radius:18px;
}


/* ===== Зеленая звездочка после ПТС ===== */
.green-star{
  color:var(--green);
  font-size:.55em;
  position:relative;
  top:-.55em;
  margin-left:2px;
}


/* ===== v20: подсказка города ===== */
.city__select option.city-placeholder{
  display:none;
}

/* ===== Мобильный выбор города без системного select на весь экран ===== */
.city__select--native-hidden{
  position:absolute;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.mobile-city-dropdown{
  position:relative;
  width:100%;
}

.mobile-city-dropdown__button{
  width:100%;
  min-height:44px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--green);
  padding:11px 42px 11px 14px;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
  text-align:left;
  cursor:pointer;
  position:relative;
}

.mobile-city-dropdown__button:after{
  content:"";
  position:absolute;
  right:15px;
  top:50%;
  width:9px;
  height:9px;
  border-right:2px solid var(--green);
  border-bottom:2px solid var(--green);
  transform:translateY(-65%) rotate(45deg);
  transition:.2s;
}

.mobile-city-dropdown.is-open .mobile-city-dropdown__button:after{
  transform:translateY(-35%) rotate(225deg);
}

.mobile-city-dropdown__list{
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 6px);
  z-index:50;
  max-height:min(320px, 52vh);
  overflow-y:auto;
  overscroll-behavior:contain;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 18px 45px rgba(0,0,0,.16);
  padding:6px;
  -webkit-overflow-scrolling:touch;
}

.mobile-city-dropdown.is-open .mobile-city-dropdown__list{
  display:grid;
  gap:2px;
}

.mobile-city-dropdown__item{
  width:100%;
  border:0;
  border-radius:10px;
  background:#fff;
  color:var(--text);
  padding:11px 12px;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
  text-align:left;
  cursor:pointer;
}

.mobile-city-dropdown__item:hover,
.mobile-city-dropdown__item:focus,
.mobile-city-dropdown__item.is-selected{
  background:var(--soft);
  color:var(--green);
  outline:none;
}

@media (max-width:420px){
  .mobile-city-dropdown__list{
    max-height:46vh;
  }
}


/* Review avatars */
.review-avatar,
.reviews__avatar,
.review__avatar,
.testimonial-avatar,
.client-photo,
.avatar,
.review-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-avatar img,
.reviews__avatar img,
.review__avatar img,
.testimonial-avatar img,
.client-photo img,
.avatar img,
.review-photo img,
.reviews img[src*="images/reviews/"],
.testimonials img[src*="images/reviews/"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 768px) {
  .review-avatar,
  .reviews__avatar,
  .review__avatar,
  .testimonial-avatar,
  .client-photo,
  .avatar,
  .review-photo {
    width: 86px;
    height: 86px;
  }
}


/* Strict circular review avatars fix */
.review .avatar {
  border-radius: 50% !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
}

.review .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
}

@media (max-width:560px){
  .logo__img{width:128px;max-height:42px}
}


/* ===== Desktop city row and legal persons link ===== */
@media (min-width:981px){
  .header__city-row{
    background:#fff;
    border-bottom:1px solid #eeeeee;
    transition:opacity .18s ease, height .18s ease;
  }
  .header__city-inner{
    height:38px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }
  .header.is-scrolled .header__city-row{
    display:none;
  }
  .header__legal{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 14px;
    border:1px solid var(--line);
    border-radius:10px;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
    color:var(--dark);
    background:#fff;
  }
  .header__legal:hover{
    border-color:var(--green);
    color:var(--green);
  }
  .phone .phone__link{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
  }
  .phone__icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#000;
    font-size:.95em;
    line-height:1;
    font-weight:800;
  }
}

@media (max-width:980px){
  .header__city-row,
  .header__legal--desktop{
    display:none !important;
  }
  .mobile-menu__legal{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:10px;
    font-weight:800;
    text-align:center;
  }
}


/* ===== Header city and phone refinements ===== */
@media (min-width:981px){
  .header__city-row .city{
    position:relative;
    gap:8px;
  }
  .header__city-row .city::before{
    content:"";
    width:15px;
    height:15px;
    flex:0 0 15px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231faa59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 6-9 12-9 12S3 16 3 10a9 9 0 1 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .header__city-row .city__select{
    padding-left:0;
  }
}

.phone{
  align-items:center;
  text-align:center;
}
.phone .phone__link{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#000;
  font-weight:900;
  font-size:18px;
  line-height:1.05;
}
.phone .phone__link span:not(.phone__icon){
  color:#000;
}
.phone__icon{
  width:17px;
  height:17px;
  display:inline-block;
  flex:0 0 17px;
  fill:#000;
  color:#000;
}
.phone .phone__hours{
  width:100%;
  text-align:center;
  font-size:10px;
  line-height:1.1;
  color:#555;
  font-weight:700;
  margin-top:3px;
}

@media (max-width:980px){
  .phone{
    align-items:center;
    text-align:center;
  }
  .phone .phone__link{
    font-size:17px;
    gap:6px;
  }
  .phone__icon{
    width:16px;
    height:16px;
    flex-basis:16px;
  }
  .phone .phone__hours{
    text-align:center;
    font-size:10px;
  }
}

/* ===== Header menu and phone final refinement ===== */
@media (min-width:981px){
  .header__legal,
  .header__legal--desktop{
    min-height:auto;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:var(--dark);
    font-size:14px;
    font-weight:700;
    line-height:1.2;
    white-space:nowrap;
  }
  .header__legal:hover,
  .header__legal--desktop:hover{
    border-color:transparent;
    color:var(--green);
  }
}

.phone{
  align-items:center;
  text-align:center;
}
.phone .phone__link{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#000;
  font-size:22px;
  font-weight:900;
  line-height:1.05;
}
.phone .phone__link span:not(.phone__icon){
  color:#000;
  font-size:inherit;
}
.phone__icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:inline-block;
  fill:none;
  stroke:#000;
  stroke-width:2.15;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.phone .phone__hours{
  width:auto;
  align-self:center;
  transform:translateX(12.5px);
  text-align:center;
  font-size:10px;
  line-height:1.1;
  color:#555;
  font-weight:700;
  margin-top:3px;
}

@media (max-width:980px){
  .mobile-menu__legal{
    display:block;
    min-height:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    text-align:left;
    font-weight:800;
    color:var(--dark);
  }
  .mobile-menu__legal:hover{
    color:var(--green);
  }
  .phone{
    align-items:center;
    text-align:center;
  }
  .phone .phone__link{
    font-size:20px;
    gap:6px;
  }
  .phone__icon{
    width:17px;
    height:17px;
    flex-basis:17px;
  }
  .phone .phone__hours{
    transform:translateX(11.5px);
    font-size:9px;
    text-align:center;
  }
}

@media (max-width:430px){
  .phone .phone__link{
    font-size:18px;
  }
  .phone__icon{
    width:16px;
    height:16px;
    flex-basis:16px;
  }
  .phone .phone__hours{
    transform:translateX(11px);
  }
}


/* ===== Desktop-only correction: phone size, menu spacing and unified hover ===== */
@media (min-width:981px){
  .nav{
    gap:13px;
  }
  .nav a,
  .nav .header__legal,
  .nav .header__legal--desktop{
    font-size:14px;
    font-weight:700;
    color:var(--dark);
    padding:0;
    margin:0;
    border:0;
    background:transparent;
    min-height:auto;
    line-height:1.2;
  }
  .nav a:hover,
  .nav .header__legal:hover,
  .nav .header__legal--desktop:hover{
    color:var(--green);
    border-color:transparent;
  }
  .phone .phone__link{
    font-size:15px;
    font-weight:800;
    gap:6px;
    color:#000;
  }
  .phone__icon{
    width:15px;
    height:15px;
    flex:0 0 15px;
    fill:#000;
    stroke:none;
  }
  .phone .phone__hours{
    transform:translateX(10.5px);
    font-size:11px;
    line-height:1.15;
    color:var(--muted);
    font-weight:400;
    margin-top:2px;
  }
}

/* ===== Desktop nav spacing + subtle separators ===== */
@media (min-width:981px){
  .nav{
    gap:26px;
  }
  .nav a,
  .nav .header__legal,
  .nav .header__legal--desktop{
    position:relative;
  }
  .nav a:not(:last-child)::after,
  .nav .header__legal:not(:last-child)::after,
  .nav .header__legal--desktop:not(:last-child)::after{
    content:"";
    position:absolute;
    right:-13px;
    top:50%;
    width:1px;
    height:14px;
    transform:translateY(-50%);
    background:#e1e1e1;
    pointer-events:none;
  }
}

/* How-to block: 3 centered cards with styled step numbers */
.steps{
  grid-template-columns:repeat(3,minmax(220px,1fr));
  max-width:980px;
  margin:0 auto;
}
.step-card{
  text-align:left;
}
.step-card .icon-placeholder{
  width:46px;
  height:46px;
  border-radius:50%;
  background:linear-gradient(135deg, rgba(31,170,89,.18), rgba(31,170,89,.06));
  color:var(--green);
  border:1px solid rgba(31,170,89,.26);
  box-shadow:0 8px 20px rgba(31,170,89,.10);
  font-size:20px;
  line-height:1;
  font-weight:900;
  font-family:inherit;
}

@media (max-width:960px){
  .steps{
    grid-template-columns:repeat(3,minmax(0,1fr));
    max-width:none;
    gap:14px;
  }
  .step-card{
    padding:18px;
  }
  .step-card .icon-placeholder{
    width:40px;
    height:40px;
    font-size:18px;
  }
  .step-card h3{
    font-size:19px;
  }
}

@media (max-width:720px){
  .steps{
    grid-template-columns:1fr;
    gap:12px;
  }
  .step-card{
    display:grid;
    grid-template-columns:38px 1fr;
    column-gap:12px;
    align-items:start;
    padding:16px;
  }
  .step-card .icon-placeholder{
    grid-row:1 / span 2;
    width:38px;
    height:38px;
    font-size:17px;
  }
  .step-card h3{
    margin:0 0 4px;
    font-size:18px;
  }
  .step-card p{
    font-size:14px;
    line-height:1.35;
  }
}

@media (min-width:961px){
  #how .steps{
    max-width:1120px;
    gap:28px;
    align-items:stretch;
  }
  #how .step-card{
    min-height:235px;
    padding:34px 32px 32px;
    border-radius:26px;
    position:relative;
    overflow:hidden;
  }
  #how .step-card::after{
    content:"";
    position:absolute;
    right:-46px;
    top:-46px;
    width:138px;
    height:138px;
    border-radius:50%;
    background:rgba(31,170,89,.06);
    pointer-events:none;
  }
  #how .step-card .icon-placeholder{
    position:relative;
    width:72px;
    height:72px;
    border-radius:24px;
    background:linear-gradient(135deg,#1faa59 0%,#27c96a 100%);
    color:#fff;
    border:0;
    box-shadow:0 16px 34px rgba(31,170,89,.28);
    font-size:34px;
    font-weight:900;
    line-height:1;
    transform:rotate(-3deg);
    isolation:isolate;
  }
  #how .step-card .icon-placeholder::before{
    content:"";
    position:absolute;
    inset:8px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.42);
    pointer-events:none;
  }
  #how .step-card .icon-placeholder::after{
    content:"";
    position:absolute;
    right:-7px;
    bottom:-7px;
    width:24px;
    height:24px;
    border-radius:50%;
    background:#111;
    box-shadow:0 0 0 5px #fff;
    pointer-events:none;
    z-index:-1;
  }
  #how .step-card h3{
    margin-top:22px;
    font-size:25px;
  }
  #how .step-card p{
    font-size:16px;
    line-height:1.55;
  }
}

/* Mobile: use the same styled step badges as desktop, scaled down */
@media (max-width:960px){
  #how .step-card .icon-placeholder{
    position:relative;
    border-radius:18px;
    background:linear-gradient(135deg,#1faa59 0%,#27c96a 100%);
    color:#fff;
    border:0;
    box-shadow:0 12px 24px rgba(31,170,89,.24);
    font-weight:900;
    line-height:1;
    transform:rotate(-3deg);
    isolation:isolate;
  }
  #how .step-card .icon-placeholder::before{
    content:"";
    position:absolute;
    inset:6px;
    border-radius:13px;
    border:1px solid rgba(255,255,255,.42);
    pointer-events:none;
  }
  #how .step-card .icon-placeholder::after{
    content:"";
    position:absolute;
    right:-5px;
    bottom:-5px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#111;
    box-shadow:0 0 0 4px #fff;
    pointer-events:none;
    z-index:-1;
  }
}
@media (max-width:720px){
  #how .step-card .icon-placeholder{
    border-radius:15px;
  }
  #how .step-card .icon-placeholder::before{
    inset:5px;
    border-radius:10px;
  }
}





@media (max-width: 768px){
}

/* ===== Legal persons page ===== */
.legal-page{background:#fff}
.legal-page .header__city-row{display:none!important}
.legal-hero-section{padding:34px 0 52px;background:linear-gradient(180deg,#f7f9f8 0%,#fff 100%)}
.legal-hero-card{min-height:520px;border-radius:34px;overflow:hidden;position:relative;display:flex;align-items:center;background:url('../images/urlic-hero.jpg') center center/cover no-repeat;box-shadow:0 24px 70px rgba(0,0,0,.18)}
.legal-hero-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,12,14,.18) 0%,rgba(6,12,14,.10) 34%,rgba(6,12,14,0) 68%);pointer-events:none}
.legal-hero-card__content{position:relative;z-index:1;width:min(660px,100%);padding:66px 74px;color:#fff}
.legal-hero-card h1{font-size:clamp(34px,4.5vw,58px);line-height:1.05;margin:0 0 30px;letter-spacing:-.035em}
.legal-hero-list{list-style:none;margin:0;padding:0;display:grid;gap:16px;max-width:620px}
.legal-hero-list li{position:relative;padding-left:26px;font-size:18px;font-weight:800;text-shadow:0 2px 15px rgba(0,0,0,.35)}
.legal-hero-list li:before{content:"";position:absolute;left:0;top:.45em;width:10px;height:10px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(31,170,89,.16)}
.legal-hero-btn{margin-top:28px;min-width:220px;min-height:52px;border-radius:8px;font-size:18px;box-shadow:0 14px 28px rgba(31,170,89,.25)}
.legal-info-section{position:relative;padding:70px 0 88px;background:linear-gradient(180deg,#f8fbf9,#fff);overflow:hidden}
.legal-info-section:before,.legal-info-section:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(31,170,89,.13);pointer-events:none}
.legal-info-section:before{width:360px;height:360px;right:-110px;top:30px;background:radial-gradient(circle,rgba(31,170,89,.07),transparent 64%)}
.legal-info-section:after{width:260px;height:260px;left:-80px;bottom:18px;background:radial-gradient(circle,rgba(0,0,0,.035),transparent 66%)}
.legal-info-card{position:relative;z-index:1;background:rgba(255,255,255,.84);border:1px solid rgba(31,170,89,.09);border-radius:28px;box-shadow:0 18px 55px rgba(0,0,0,.06);padding:48px 58px;max-width:980px;margin:0 auto;overflow:hidden}
.legal-info-card:before{content:"";position:absolute;right:40px;top:36px;width:210px;height:88px;border-radius:999px;background:repeating-linear-gradient(135deg,rgba(31,170,89,.055) 0 7px,transparent 7px 16px);transform:rotate(-14deg);pointer-events:none}
.legal-info-card h2{font-size:clamp(28px,3vw,42px);line-height:1.12;margin:0 0 22px;letter-spacing:-.02em}
.legal-info-card p{font-size:17px;line-height:1.72;color:#333;margin:0 0 18px;max-width:850px}
.legal-info-card__button-wrap{display:flex;justify-content:center;margin-top:32px}
.legal-cta{font-size:20px;min-width:250px;min-height:54px;border-radius:8px;box-shadow:0 15px 28px rgba(31,170,89,.25)}
.legal-modal{position:fixed;inset:0;z-index:80;display:none;align-items:center;justify-content:center;padding:20px}
.legal-modal.is-open{display:flex}
.legal-modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.52);backdrop-filter:blur(4px)}
.legal-modal__box{position:relative;z-index:1;width:min(470px,100%);background:#fff;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.28);padding:28px 30px 26px}
.legal-modal__x{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;color:#333}
.legal-modal__box h2{font-size:26px;line-height:1.15;margin:0 0 22px}
.legal-form{display:grid;gap:15px}
.legal-field{display:grid;gap:7px;font-weight:800;font-size:14px}
.legal-field b,.legal-fieldset b{color:#d62727}
.legal-field input[type=text],.legal-field input[type=tel]{width:100%;border:1px solid #d9d9d9;border-radius:8px;padding:13px 14px;font-size:16px;outline:none;transition:.18s;background:#fff}
.legal-field input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(31,170,89,.13)}
.legal-field input.is-invalid{border-color:#d83a3a;background:#fffafa;box-shadow:0 0 0 3px rgba(216,58,58,.08)}
.legal-error{min-height:16px;color:#d83a3a;font-size:12px;font-weight:700;line-height:1.2}
.legal-fieldset{border:1px solid #e5e5e5;border-radius:12px;padding:12px 14px 10px;margin:0;display:grid;gap:8px;font-weight:800;transition:.18s}
.legal-fieldset legend{padding:0 6px;font-size:14px;font-weight:800}
.legal-fieldset.is-invalid{border-color:#d83a3a;background:#fffafa}
.legal-choice,.legal-consent{display:flex;align-items:flex-start;gap:9px;font-weight:600;font-size:14px;cursor:pointer;color:#222}
.legal-choice input,.legal-consent input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--green);flex:0 0 auto}
.legal-actions{display:flex;gap:14px;margin-top:3px}
.legal-actions .btn{flex:1;border-radius:8px;min-height:48px;font-size:16px}
.legal-close-btn{background:#fff;color:#171717;border:1px solid #cfcfcf}
.legal-submit:disabled{background:#aaa;color:#fff;cursor:not-allowed;box-shadow:none}
.legal-consent{margin-top:-4px;align-items:center}
.legal-consent a{color:var(--green);text-decoration:underline;text-underline-offset:3px;font-weight:800}
.legal-success__box{text-align:center;padding:34px 30px 30px;max-width:460px}
.legal-success__box:before{content:"✓";width:74px;height:74px;border-radius:50%;border:4px solid var(--green);display:inline-flex;align-items:center;justify-content:center;color:var(--green);font-size:42px;font-weight:900;margin-bottom:18px}
.legal-success__box h2{font-size:22px;line-height:1.35;margin-bottom:22px}
.legal-success__box .btn{border-radius:8px;min-width:160px}
@media (max-width: 820px){
  .legal-hero-section{padding:18px 0 34px}
  .legal-hero-card{min-height:620px;border-radius:24px;align-items:flex-start;background-color:#071014;background-image:linear-gradient(180deg,rgba(3,8,10,.90) 0%,rgba(3,8,10,.72) 34%,rgba(3,8,10,.42) 62%,rgba(3,8,10,.24) 100%),linear-gradient(90deg,rgba(3,8,10,.72) 0%,rgba(3,8,10,.36) 62%,rgba(3,8,10,.08) 100%),url('../images/urlic-hero-mobile.jpg');background-repeat:no-repeat;background-position:center center;background-size:cover}
  .legal-hero-card:after{display:none}
  .legal-hero-card__content{padding:26px 20px 34px;text-shadow:0 3px 16px rgba(0,0,0,.82)}
  .legal-hero-list li{font-size:15px;gap:10px;text-shadow:0 3px 14px rgba(0,0,0,.88)}
  .legal-hero-list span{width:40px;height:40px;font-size:15px}
  .legal-hero-btn{margin-top:22px;min-width:0;width:auto;padding:0 28px;min-height:48px;font-size:16px}
  .legal-info-section{padding:42px 0 58px}
  .legal-info-card{padding:30px 22px;border-radius:22px}
  .legal-info-card p{font-size:15px;line-height:1.65}
  .legal-cta{width:100%;min-width:0;font-size:17px}
  .legal-modal__box{padding:26px 20px 22px;border-radius:16px}
  .legal-actions{flex-direction:column}
}


/* ===== Subtle patterned white sections for city pages ===== */
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section){
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(31,170,89,.085), transparent 28%),
    radial-gradient(circle at 12% 72%, rgba(0,0,0,.035), transparent 30%),
    linear-gradient(180deg,#f8fbf9 0%,#fff 48%,#f7faf8 100%);
}
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section)::before,
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section)::after{
  content:"";
  position:absolute;
  pointer-events:none;
  border-radius:999px;
  z-index:0;
}
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section)::before{
  width:360px;
  height:360px;
  right:-130px;
  top:28px;
  border:1px solid rgba(31,170,89,.12);
  background:radial-gradient(circle, rgba(31,170,89,.07), transparent 66%);
}
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section)::after{
  width:260px;
  height:260px;
  left:-92px;
  bottom:18px;
  border:1px solid rgba(0,0,0,.055);
  background:radial-gradient(circle, rgba(0,0,0,.032), transparent 68%);
}
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) > .container{
  position:relative;
  z-index:1;
}
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .section-title{
  position:relative;
}
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .section-title::after{
  content:"";
  position:absolute;
  right:0;
  top:-16px;
  width:min(210px,34vw);
  height:88px;
  border-radius:999px;
  background:repeating-linear-gradient(135deg, rgba(31,170,89,.045) 0 7px, transparent 7px 16px);
  transform:rotate(-14deg);
  pointer-events:none;
  z-index:-1;
}
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .card,
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .review,
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .faq details,
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .lead-form{
  background:rgba(255,255,255,.86);
  border-color:rgba(31,170,89,.10);
  box-shadow:0 18px 55px rgba(0,0,0,.055);
  backdrop-filter:blur(2px);
}
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .vehicle-card,
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .step-card{
  position:relative;
  overflow:hidden;
}
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .vehicle-card::before,
.city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .step-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:linear-gradient(135deg, rgba(31,170,89,.06), transparent 42%);
  pointer-events:none;
}
.city-page .bottom-request-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(31,170,89,.075), transparent 26%),
    radial-gradient(circle at 88% 72%, rgba(0,0,0,.035), transparent 30%),
    linear-gradient(180deg,#f8fbf9 0%,#fff 100%) !important;
}
.city-page .bottom-request-section > .container{
  position:relative;
  z-index:1;
}
@media (max-width:720px){
  .city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section)::before{
    width:230px;
    height:230px;
    right:-96px;
    top:16px;
  }
  .city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section)::after{
    width:190px;
    height:190px;
    left:-88px;
    bottom:10px;
  }
  .city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .section-title::after{
    width:150px;
    height:62px;
    top:-10px;
    opacity:.85;
  }
  .city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .card,
  .city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .review,
  .city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .faq details,
  .city-page main > .section:not(.hero):not(.about-section):not(.quiz-banner):not(.loans-section) .lead-form{
    background:rgba(255,255,255,.90);
    box-shadow:0 12px 34px rgba(0,0,0,.05);
  }
}

/* ===== Fix: restore bottom request form style on city pages ===== */
.city-page .bottom-request-section{
  background:#fff !important;
}
.city-page .bottom-request-section .form-section--dark{
  background:#111 !important;
}
.city-page .bottom-request-section .form-section--dark .lead-form{
  background:#181818 !important;
  border-color:#2b2b2b !important;
  color:#fff !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}
.city-page .bottom-request-section .form-section--dark .lead-form input[type=text],
.city-page .bottom-request-section .form-section--dark .lead-form input[type=tel]{
  background:#fff !important;
  color:#111 !important;
}
.city-page .bottom-request-section .form-section--dark .checkbox span{
  color:#fff !important;
}
.city-page .bottom-request-section .form-section--dark .checkbox a{
  color:var(--green) !important;
}

/* Подсветка ошибок в обычных формах */
.lead-form input.is-invalid[type=text],
.lead-form input.is-invalid[type=tel]{
  border-color:#e34242;
  background:#fff7f7;
  box-shadow:0 0 0 3px rgba(227,66,66,.12);
}
.lead-form input.is-invalid[type=text]:focus,
.lead-form input.is-invalid[type=tel]:focus{
  border-color:#e34242;
  box-shadow:0 0 0 3px rgba(227,66,66,.18);
}

/* Подсветка ошибок в финальной форме квиза */
.quiz-form input.is-invalid[type=text],
.quiz-form input.is-invalid[type=tel]{
  border-color:#e34242;
  background:#fff7f7;
  box-shadow:0 0 0 3px rgba(227,66,66,.12);
}
.quiz-form input.is-invalid[type=text]:focus,
.quiz-form input.is-invalid[type=tel]:focus{
  border-color:#e34242;
  box-shadow:0 0 0 3px rgba(227,66,66,.18);
}

/* User agreement link in consent text */
.agreement-link{color:#18b66a!important;text-decoration:underline;text-underline-offset:3px;font-weight:600;}
.agreement-link:hover{color:#129457!important;}


@media (max-width:720px){
  .footer__links{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:14px;font-size:11px}
  .footer__legal p{font-size:10.5px;line-height:1.45}
  .footer__copy{font-size:10.5px;margin-top:12px}
}

/* ===== Header phone/button overlap fix after longer phone number ===== */
@media (min-width:981px) and (max-width:1180px){
  .header__inner{
    gap:10px;
  }
  .logo__img{
    width:160px;
    max-height:52px;
  }
  .nav{
    gap:14px;
  }
  .nav a,
  .nav .header__legal,
  .nav .header__legal--desktop{
    font-size:13px;
  }
  .nav a:not(:last-child)::after,
  .nav .header__legal:not(:last-child)::after,
  .nav .header__legal--desktop:not(:last-child)::after{
    right:-7px;
  }
  .phone .phone__link{
    font-size:14px;
    gap:5px;
  }
  .phone__icon{
    width:14px;
    height:14px;
    flex-basis:14px;
  }
  .header__button{
    font-size:12px;
    padding:10px 12px;
    min-height:38px;
  }
}

@media (min-width:981px) and (max-width:1040px){
  .logo__img{
    width:145px;
  }
  .nav{
    gap:10px;
  }
  .nav a,
  .nav .header__legal,
  .nav .header__legal--desktop{
    font-size:12px;
  }
  .nav a:not(:last-child)::after,
  .nav .header__legal:not(:last-child)::after,
  .nav .header__legal--desktop:not(:last-child)::after{
    display:none;
  }
  .phone .phone__link{
    font-size:13px;
  }
  .phone .phone__hours{
    font-size:10px;
  }
  .header__button{
    padding:9px 10px;
  }
}

/* ===== FINAL FIX: keep full phone number visible near header button ===== */
@media (min-width:981px){
  .header__inner{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:22px !important;
  }
  .header__top{
    flex:1 1 auto !important;
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:16px !important;
  }
  .header__bottom{
    flex:0 0 auto !important;
    position:static !important;
    z-index:1 !important;
    margin-left:18px !important;
  }
  .phone{
    flex:0 0 auto !important;
    min-width:max-content !important;
    margin-left:12px !important;
    margin-right:0 !important;
    position:relative !important;
    z-index:2 !important;
    overflow:visible !important;
  }
  .phone .phone__link{
    white-space:nowrap !important;
    overflow:visible !important;
  }
  .header__button{
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }
}

@media (min-width:981px) and (max-width:1120px){
  .logo__img{width:138px !important;}
  .header__inner{gap:14px !important;}
  .header__top{gap:10px !important;}
  .nav{gap:9px !important;}
  .nav a,
  .nav .header__legal,
  .nav .header__legal--desktop{font-size:12px !important;}
  .nav a:not(:last-child)::after,
  .nav .header__legal:not(:last-child)::after,
  .nav .header__legal--desktop:not(:last-child)::after{display:none !important;}
  .phone{margin-left:8px !important;}
  .phone .phone__link{font-size:13px !important; gap:4px !important;}
  .phone__icon{width:13px !important;height:13px !important;flex-basis:13px !important;}
  .phone .phone__hours{font-size:9px !important; transform:translateX(8px) !important;}
  .header__button{font-size:11px !important; padding:9px 9px !important; min-height:36px !important;}
}

@media (min-width:1121px) and (max-width:1280px){
  .logo__img{width:155px !important;}
  .nav{gap:12px !important;}
  .nav a,
  .nav .header__legal,
  .nav .header__legal--desktop{font-size:13px !important;}
  .nav a:not(:last-child)::after,
  .nav .header__legal:not(:last-child)::after,
  .nav .header__legal--desktop:not(:last-child)::after{right:-6px !important;}
  .phone .phone__link{font-size:14px !important;}
  .phone__icon{width:14px !important;height:14px !important;flex-basis:14px !important;}
  .header__button{font-size:12px !important; padding:10px 12px !important;}
}

/* ===== Desktop header layout fix: keep separators, prevent phone/button overlap ===== */
@media (min-width:981px){
  .header__inner{
    display:grid !important;
    grid-template-columns:auto minmax(0, 1fr) auto auto !important;
    align-items:center !important;
    column-gap:18px !important;
    justify-content:normal !important;
  }
  .header__top{
    display:contents !important;
  }
  .logo{
    grid-column:1 !important;
    min-width:0 !important;
  }
  .nav{
    grid-column:2 !important;
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:24px !important;
    margin:0 !important;
    min-width:0 !important;
    flex:initial !important;
  }
  .nav a,
  .nav .header__legal,
  .nav .header__legal--desktop{
    font-size:14px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    padding:0 !important;
    margin:0 !important;
  }
  .nav a:not(:last-child)::after,
  .nav .header__legal:not(:last-child)::after,
  .nav .header__legal--desktop:not(:last-child)::after{
    display:block !important;
    right:-12px !important;
    height:14px !important;
    background:#e1e1e1 !important;
  }
  .phone{
    grid-column:3 !important;
    width:max-content !important;
    min-width:max-content !important;
    margin:0 !important;
    align-items:center !important;
    text-align:center !important;
    justify-self:end !important;
    overflow:visible !important;
  }
  .phone .phone__link{
    font-size:17px !important;
    line-height:1.05 !important;
    gap:6px !important;
    white-space:nowrap !important;
  }
  .phone__icon{
    width:15px !important;
    height:15px !important;
    flex:0 0 15px !important;
  }
  .phone .phone__hours{
    transform:none !important;
    font-size:10px !important;
    line-height:1.1 !important;
    text-align:center !important;
    margin-top:2px !important;
  }
  .header__bottom{
    grid-column:4 !important;
    margin:0 !important;
    justify-self:end !important;
    min-width:max-content !important;
  }
  .header__button{
    font-size:13px !important;
    padding:11px 14px !important;
    min-height:40px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
}

@media (min-width:981px) and (max-width:1180px){
  .header__inner{
    column-gap:12px !important;
  }
  .logo__img{
    width:145px !important;
  }
  .nav{
    gap:18px !important;
  }
  .nav a,
  .nav .header__legal,
  .nav .header__legal--desktop{
    font-size:13px !important;
  }
  .nav a:not(:last-child)::after,
  .nav .header__legal:not(:last-child)::after,
  .nav .header__legal--desktop:not(:last-child)::after{
    right:-9px !important;
  }
  .phone .phone__link{
    font-size:15px !important;
    gap:5px !important;
  }
  .phone__icon{
    width:14px !important;
    height:14px !important;
    flex-basis:14px !important;
  }
  .header__button{
    font-size:13px !important;
    padding:10px 12px !important;
    min-height:38px !important;
  }
}

@media (min-width:981px) and (max-width:1080px){
  .logo__img{
    width:132px !important;
  }
  .header__inner{
    column-gap:10px !important;
  }
  .nav{
    gap:14px !important;
  }
  .nav a,
  .nav .header__legal,
  .nav .header__legal--desktop{
    font-size:12px !important;
  }
  .nav a:not(:last-child)::after,
  .nav .header__legal:not(:last-child)::after,
  .nav .header__legal--desktop:not(:last-child)::after{
    right:-7px !important;
    height:12px !important;
  }
  .phone .phone__link{
    font-size:14px !important;
  }
  .phone .phone__hours{
    font-size:9px !important;
  }
  .header__button{
    font-size:12px !important;
    padding:10px 11px !important;
  }
}


/* Cookie notice */
.cookie-notice{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:120;
  width:min(360px,calc(100% - 32px));
  display:none;
  align-items:center;
  gap:14px;
  background:rgba(16,16,16,.94);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 50px rgba(0,0,0,.26);
  border-radius:16px;
  padding:14px 14px 14px 16px;
  font-size:13px;
  line-height:1.35;
  backdrop-filter:blur(8px);
}
.cookie-notice.is-visible{display:flex}
.cookie-notice__text{flex:1;min-width:0}
.cookie-notice__text a{color:var(--green);text-decoration:underline;text-underline-offset:3px;font-weight:700;transition:color .18s,text-shadow .18s}
.cookie-notice__text a:hover{color:#62df5b;text-shadow:0 0 14px rgba(62,190,71,.35)}
.cookie-notice__btn{border:0;border-radius:999px;background:var(--green);color:#fff;font-weight:800;font-size:13px;padding:10px 18px;cursor:pointer;white-space:nowrap;box-shadow:0 10px 24px rgba(62,190,71,.22);transition:transform .18s,filter .18s}
.cookie-notice__btn:hover{filter:brightness(1.06);transform:translateY(-1px)}

.legal-page{min-height:100vh;background:linear-gradient(135deg,#f7faf7 0%,#fff 46%,#eef8ef 100%);color:#1c1c1c;padding:42px 0}
.legal-page__hero{position:relative;overflow:hidden}
.legal-page__hero:before{content:"";position:absolute;inset:-120px -80px auto auto;width:360px;height:360px;border-radius:50%;background:rgba(62,190,71,.14);filter:blur(8px)}
.legal-page__card{position:relative;background:#fff;border:1px solid rgba(20,20,20,.08);border-radius:24px;box-shadow:0 24px 80px rgba(16,24,16,.10);padding:34px;max-width:980px;margin:0 auto}
.legal-page__card h1{margin:0 0 22px;font-size:clamp(28px,4vw,44px);line-height:1.1;color:#101010}
.legal-page__card h2{margin:28px 0 12px;font-size:22px;line-height:1.2;color:#101010;font-weight:900}
.legal-page__card p,.legal-page__card li{font-size:16px;line-height:1.65;color:#333}
.legal-page__card ul,.legal-page__card ol{padding-left:22px;margin:10px 0 0}
.legal-page__back{margin-top:22px;min-width:130px}

@media (max-width:720px){
  .cookie-notice{left:12px;right:12px;bottom:12px;width:auto;align-items:flex-start;flex-direction:column;gap:10px;padding:13px 14px;font-size:12.5px;border-radius:14px}
  .cookie-notice__btn{padding:9px 18px;font-size:12.5px;align-self:flex-start}
  .legal-page{padding:20px 0}
  .legal-page__card{border-radius:18px;padding:24px 18px}
  .legal-page__card h2{font-size:19px}
  .legal-page__card p,.legal-page__card li{font-size:14.5px;line-height:1.58}
}


/* ===== Legal pages final styling ===== */
.legal-page__date{font-weight:800;color:#1b1b1b;margin-top:-8px;margin-bottom:18px}
.legal-page__card strong{font-weight:900;color:#111}
.legal-page__card h1 + .legal-page__date{margin-top:-10px}
.legal-page__hero:after{content:"";position:absolute;left:-110px;bottom:-130px;width:320px;height:320px;border-radius:42px;background:rgba(62,190,71,.08);transform:rotate(18deg);pointer-events:none}
.legal-page__card{z-index:1}

/* ===== Безопасная отправка форм ===== */
.secure-submit-message{
  margin-top:10px;
  font-size:13px;
  line-height:1.35;
  min-height:0;
}
.secure-submit-message.is-error{color:#d64545;}

/* ===== Подтверждение города по IP (только index.html) ===== */
.city-confirm[hidden]{display:none!important}
.city-confirm{
  position:fixed;
  left:20px;
  bottom:20px;
  z-index:10020;
  width:min(360px,calc(100vw - 40px));
  padding:16px;
  border:1px solid rgba(31,170,89,.20);
  border-radius:16px;
  background:rgba(255,255,255,.97);
  box-shadow:0 14px 42px rgba(18,32,24,.16);
  backdrop-filter:blur(10px);
  opacity:0;
  transform:translateY(10px);
  transition:opacity .18s ease,transform .18s ease;
}
.city-confirm.is-visible{opacity:1;transform:translateY(0)}
.city-confirm__close{
  position:absolute;
  right:10px;
  top:8px;
  width:30px;
  height:30px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#777;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.city-confirm__close:hover{background:#f1f5f2;color:#222}
.city-confirm__title{margin:0 32px 5px 0;font-size:18px;line-height:1.25;color:#1b1f1c}
.city-confirm__text{margin:0 0 13px;font-size:14px;line-height:1.45;color:#5d655f}
.city-confirm__actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.city-confirm__yes,
.city-confirm__choose-btn{
  min-height:38px;
  padding:8px 17px;
  border:0;
  border-radius:10px;
  background:#1faa59;
  color:#fff;
  font:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}
.city-confirm__yes:hover,.city-confirm__choose-btn:hover{filter:brightness(.94)}
.city-confirm__other{
  min-height:38px;
  padding:8px 4px;
  border:0;
  background:transparent;
  color:#168749;
  text-decoration:underline;
  text-underline-offset:3px;
  font:inherit;
  font-size:13px;
  cursor:pointer;
}
.city-confirm__choose{display:flex;gap:8px;width:100%}
.city-confirm__select{
  min-width:0;
  flex:1;
  height:38px;
  padding:0 9px;
  border:1px solid #d7ddd9;
  border-radius:9px;
  background:#fff;
  color:#222;
  font:inherit;
  font-size:13px;
}
@media (max-width:640px){
  .city-confirm{
    left:12px;
    right:12px;
    bottom:12px;
    width:auto;
    padding:14px;
    border-radius:14px;
  }
  .city-confirm__title{font-size:17px}
  .city-confirm__actions{gap:7px}
  .city-confirm__choose{flex-direction:column}
  .city-confirm__choose-btn{width:100%}
}


/* ===== Documents needed block ===== */
.documents-section{
  border-top:1px solid rgba(31,170,89,.10);
  border-bottom:1px solid rgba(31,170,89,.10);
}
.documents-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.document-card{
  position:relative;
  overflow:hidden;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(31,170,89,.10);
  border-radius:20px;
  padding:18px 18px 20px;
  text-align:center;
  box-shadow:0 18px 55px rgba(0,0,0,.055);
  backdrop-filter:blur(2px);
}
.document-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:linear-gradient(135deg,rgba(31,170,89,.055),transparent 42%);
  pointer-events:none;
}
.document-image{
  position:relative;
  z-index:1;
  width:100%;
  aspect-ratio:3/2;
  display:block;
  object-fit:cover;
  border-radius:16px;
  margin:0 0 16px;
  background:#f2f5f3;
}
.document-card h3{
  position:relative;
  z-index:1;
  margin:0;
  font-size:20px;
  line-height:1.25;
}
@media (max-width:720px){
  .documents-grid{grid-template-columns:1fr;gap:16px}
  .document-card{padding:16px 16px 18px}
  .document-image{max-width:420px;margin:0 auto 14px}
  .document-card h3{font-size:19px}
}

/* ===== Manager consultation block ===== */
.manager-section{
  border-top:1px solid rgba(31,170,89,.08);
  border-bottom:1px solid rgba(31,170,89,.08);
}
.manager-block{
  display:grid;
  grid-template-columns:minmax(300px, .92fr) minmax(0, 1.18fr);
  gap:42px;
  align-items:center;
}
.manager-block__media{
  overflow:hidden;
  border-radius:22px;
  box-shadow:0 18px 55px rgba(0,0,0,.09);
  background:#eef2ef;
}
.manager-block__media img{
  display:block;
  width:100%;
  height:330px;
  object-fit:cover;
  object-position:center;
}
.manager-block__text{
  font-size:17px;
  line-height:1.72;
  color:var(--muted);
}
.manager-block__text p{margin:0 0 18px}
.manager-block__text p:last-child{margin-bottom:0}
.manager-block__text strong{color:var(--text);font-weight:800}
@media (max-width:800px){
  .manager-block{grid-template-columns:1fr;gap:22px}
  .manager-block__media{max-width:560px;width:100%;margin:0 auto}
  .manager-block__media img{height:auto;aspect-ratio:16/10;object-fit:cover}
  .manager-block__text{font-size:15.5px;line-height:1.65}
}


/* ===== Advantages — light editorial layout ===== */
.about-section.advantages-modern{
  position:relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(31,170,89,.05), transparent 27%),
    radial-gradient(circle at 88% 72%, rgba(52,108,170,.035), transparent 29%),
    #f8faf9 !important;
  color:var(--text);
  padding:54px 0 58px !important;
  border-top:1px solid rgba(17,29,49,.08);
  border-bottom:1px solid rgba(17,29,49,.08);
  box-shadow:none !important;
}
.advantages-modern .advantages-modern__layout{
  display:grid;
  grid-template-columns:minmax(405px,.92fr) minmax(0,1.28fr);
  gap:42px;
  align-items:center;
}
.advantages-modern__intro{max-width:475px}
.advantages-modern__eyebrow{
  display:block;
  margin-bottom:11px;
  color:#154a88;
  font-size:18px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.01em;
  text-transform:none;
}
.about-section.advantages-modern .section-title{
  color:#111d31 !important;
  margin:0 0 14px !important;
  max-width:470px;
  font-size:clamp(34px,3vw,41px) !important;
  line-height:1.09;
  font-weight:800;
  letter-spacing:-.023em;
  text-shadow:none !important;
}
.advantages-modern__accent{
  display:block;
  width:46px;
  height:3px;
  margin:0 0 22px;
  border-radius:99px;
  background:#154a88;
}
.advantages-modern__intro p{
  margin:0 0 14px;
  color:#334155;
  font-size:16px;
  line-height:1.62;
}
.advantages-modern__intro p:last-child{margin-bottom:0}
.advantages-modern__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-left:1px solid #dde3e8;
  border-top:1px solid transparent;
}
.advantages-modern__item{
  min-height:166px;
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  gap:17px;
  align-content:center;
  padding:22px 24px;
  background:transparent;
  border:0;
}
.advantages-modern__item:nth-child(odd){border-right:1px solid #dde3e8}
.advantages-modern__item:nth-child(-n+2){border-bottom:1px solid #dde3e8}
.advantages-modern__icon{
  width:54px;
  height:54px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#10233f;
  background:#eaf1fb;
  box-shadow:inset 0 0 0 1px rgba(21,74,136,.035);
}
.advantages-modern__icon svg{
  width:27px;
  height:27px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.advantages-modern__icon--rub{
  font-size:31px;
  line-height:1;
  font-weight:400;
  font-family:Arial,Helvetica,sans-serif;
}
.advantages-modern__item h3{
  margin:0 0 5px;
  color:#111d31;
  font-size:19px;
  line-height:1.23;
  font-weight:800;
  letter-spacing:-.01em;
}
.advantages-modern__item p{
  margin:0;
  color:#4b5563;
  font-size:14.5px;
  line-height:1.46;
}
@media (max-width:1080px){
  .advantages-modern .advantages-modern__layout{
    grid-template-columns:minmax(360px,.9fr) minmax(0,1.2fr);
    gap:32px;
  }
  .about-section.advantages-modern .section-title{font-size:36px !important}
  .advantages-modern__item{padding:20px 20px;grid-template-columns:58px minmax(0,1fr)}
}
@media (max-width:980px){
  .about-section.advantages-modern{padding:44px 0 48px !important}
  .advantages-modern .advantages-modern__layout{grid-template-columns:1fr;gap:30px}
  .advantages-modern__intro{max-width:720px}
  .advantages-modern__grid{border-left:0}
}
@media (max-width:720px){
  .about-section.advantages-modern{padding:34px 0 38px !important}
  .advantages-modern .advantages-modern__layout{gap:22px}
  .advantages-modern__eyebrow{font-size:16px;margin-bottom:8px}
  .about-section.advantages-modern .section-title{
    max-width:none;
    font-size:clamp(28px,7.6vw,36px) !important;
    line-height:1.1;
    margin-bottom:12px !important;
  }
  .advantages-modern__accent{width:40px;margin-bottom:17px}
  .advantages-modern__intro p{font-size:15px;line-height:1.58;margin-bottom:12px}
  .advantages-modern__grid{grid-template-columns:1fr;gap:10px;border:0}
  .advantages-modern__item,
  .advantages-modern__item:nth-child(odd),
  .advantages-modern__item:nth-child(-n+2){
    min-height:0;
    grid-template-columns:52px minmax(0,1fr);
    gap:14px;
    align-items:center;
    padding:17px 16px;
    border:1px solid #e1e6ea;
    border-radius:14px;
    background:rgba(255,255,255,.82);
    box-shadow:0 4px 14px rgba(20,31,45,.03);
  }
  .advantages-modern__icon{width:47px;height:47px}
  .advantages-modern__icon svg{width:24px;height:24px}
  .advantages-modern__icon--rub{font-size:28px}
  .advantages-modern__item h3{font-size:17px;margin-bottom:3px}
  .advantages-modern__item p{font-size:13.5px;line-height:1.42}
}


/* FAQ HUB 2026-08-23 */
.faq-all-link-wrap{display:flex;justify-content:center;margin-top:18px}
.faq-all-link{font-size:14px;font-weight:700;color:#303030;text-decoration:none;text-underline-offset:4px;transition:color .18s,text-decoration-color .18s}
.faq-all-link:hover,.faq-all-link:focus-visible{color:var(--green);text-decoration:underline}
.faq-hub-page{min-height:60vh}
.faq-hub-hero{padding-top:52px;padding-bottom:56px}
.faq-hub__container{max-width:980px}
.faq-hub__intro{max-width:790px;margin:-12px 0 34px;color:var(--muted);font-size:17px;line-height:1.65}
.faq-hub__group{padding:26px 0;border-top:1px solid rgba(0,0,0,.07)}
.faq-hub__group:first-of-type{border-top:0;padding-top:0}
.faq-hub__group h2{font-size:26px;line-height:1.2;margin:0 0 18px}
.faq-hub__actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:34px;padding-top:28px;border-top:1px solid rgba(0,0,0,.07)}
.faq-hub__actions .btn{min-width:170px}
@media (max-width:640px){
  .faq-hub-hero{padding-top:34px;padding-bottom:40px}
  .faq-hub__intro{font-size:15px;margin-top:-16px;margin-bottom:26px}
  .faq-hub__group{padding:22px 0}
  .faq-hub__group h2{font-size:22px;margin-bottom:14px}
  .faq-hub__actions{display:grid;grid-template-columns:1fr;gap:10px}
  .faq-hub__actions .btn{width:100%}
  .faq-all-link-wrap{margin-top:14px}
}
