/* ==========================================================================
   page32 — рефинансирование. Перенос страницы с конструктора Creatium.
   Эталон снят с https://refinansprosto.ru/page32 при ширине контента 1265 px.
   ========================================================================== */

/* ---------- Шрифт ---------- */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/fira-sans-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/fira-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/fira-sans-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/fira-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Переменные ---------- */
:root {
  --yellow:        #FFDD2D;   /* фон кнопок */
  --yellow-hover:  #F3CC00;
  --yellow-title:  #FFE042;   /* заголовок первого экрана */
  --ink:           #333333;   /* основной текст */
  --ink-quote:     #191919;   /* заголовок отзыва */
  --hero-overlay:  rgba(41, 41, 41, .95);
  --photo-box:     #EEF2F7;   /* подложка фото в блоке требований */
  --red:           #FF0000;   /* крестики */
}

/* ---------- Базовое ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* место под полосу прокрутки резервируется всегда: иначе при открытии квиза
     (body.qz-lock → overflow:hidden) страница за модалкой дёргается на 15px */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.4286 'Fira Sans', Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
p   { margin: 0; }
ul  { margin: 0; padding: 0; list-style: none; }
a   { color: inherit; }

/* Сцена: ниже 370 px раскладка не переверстывается, а целиком масштабируется.
   Тексты и картинки остаются на своих местах — меняется только масштаб.
   Ширину и коэффициент выставляет app.js: и порог, и масштаб считаются от
   одного значения (clientWidth). Медиазапрос здесь использовать нельзя — он
   видит ширину вместе с полосой прокрутки и расходится с JS на 15 px.
   Модалка квиза и лайтбокс лежат вне сцены: они занимают реальный вьюпорт. */
.stage {
  width: var(--stage-width, auto);
  zoom: var(--stage-zoom, 1);
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 5px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 5px;
  background: var(--yellow);
  color: #000;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4286;
  text-align: center;
  padding: 17px 20px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover  { background: var(--yellow-hover); }
.btn:active { background: #E6C400; }
.btn:focus-visible { outline: 3px solid #0a58ca; outline-offset: 2px; }

.btn--sm { font-size: 14px; line-height: 20px; padding: 17px 10px; }
.btn--lg { font-size: 22px; line-height: 1.4286; padding: 17px 20px; }

/* ---------- Переносы, включаемые по ширине ---------- */
.edbr-375 { display: none; }

/* ---------- Заголовки секций ---------- */
.h2 {
  margin: 10px 0 0;
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}

/* ==========================================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================================== */
.hero { position: relative; overflow: hidden; }

.hero__bg,
.hero__overlay { position: absolute; inset: 0; }

.hero__bg {
  background: url('assets/img/hero-building.jpg') center / cover no-repeat;
}
.hero__overlay { background: var(--hero-overlay); }

.hero__inner {
  position: relative;   /* база для абсолютной иллюстрации */
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 0 92px;
  color: #fff;
}

/* --- шапка --- */
.topbar {
  display: flex;
  align-items: center;
  gap: 29px;
  min-height: 74px;
  padding: 0 5px 0 10px;
}
.topbar__logo { width: 46px; height: 54px; flex: none; }
.topbar__text { font-size: 14px; line-height: 22.4px; }
.topbar__btn  { margin-left: auto; flex: none; width: 207px; }

/* --- заголовок и подзаголовок --- */
.hero__title {
  margin: 53px 0 0;
  padding: 0 5px;
  font-size: 50px;
  line-height: 60px;
  font-weight: 700;
  color: var(--yellow-title);
}
.hero__sub {
  margin: 24px 0 0;
  padding: 0 5px;
  font-size: 28px;
  line-height: 39.2px;
}

/* --- список + иллюстрация --- */
/* В оригинале пачка денег выходит за свою колонку и заезжает на текст ниже,
   поэтому на десктопе она позиционируется абсолютно, а список идёт потоком. */
.hero__mid { padding: 0 10px; }
.hero__list {
  margin-top: 56px;
  padding-left: 24px;
  font-size: 20px;
  line-height: 32px;
}
.hero__list li { list-style: disc; }

.hero__art {
  position: absolute;
  left: 567px;   /* 640 − 73 */
  top: 330px;
  width: 520px;
  height: 328px;
}
.hero__money {
  width: 520px;
  height: 328px;
  object-fit: contain;
}
.hero__badge {
  position: absolute;
  left: 299px;   /* 939 − 640 */
  top: 150px;    /* 480 − 330 */
  width: 196px;
  height: 196px;
}

/* --- нижний призыв --- */
.hero__cta-text {
  margin: 66px 0 0;
  padding: 0 5px;
  font-size: 26px;
  line-height: 36.4px;
  font-weight: 700;
}
.hero__cta {
  margin: 29px 0 0 10px;
  width: 438px;
  padding: 19px 5px;   /* в оригинале боковые отступы кнопки сжимаются под текст */
}

/* ==========================================================================
   ТРЕБОВАНИЯ К ЗАЁМЩИКУ
   ========================================================================== */
.reqs { padding: 80px 0 90px; }

.reqs__grid {
  display: grid;
  grid-template-columns: 489px 1fr;
  column-gap: 39px;
  align-items: start;
  margin-top: 80px;
  padding: 0 15px;
}

.reqs__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 464px;
  background: var(--photo-box);
}
.reqs__photo img { max-height: 100%; width: auto; }

.reqs__title  { font-size: 30px; line-height: 48px; font-weight: 700; }
.reqs__rule   { display: block; width: 40px; height: 2px; margin: 20px 0 31px; background: var(--ink); }
.reqs__item   { font-size: 20px; line-height: 32px; }
.reqs__item + .reqs__item { margin-top: 10px; }
.reqs__note   { font-size: 16px; }
.reqs__ask    { margin-top: 81px; font-size: 24px; line-height: 38.4px; font-weight: 700; }
.reqs__btn    { margin: 31px 0 0 5px; width: 352px; padding: 17px 20px; }

/* ==========================================================================
   «С НАМИ ВЫ ПОЛУЧИТЕ КРЕДИТ, ДАЖЕ ЕСЛИ»
   ========================================================================== */
.cases { padding: 60px 0 48px; }

.cases__grid {
  display: grid;
  grid-template-columns: 357px 1fr 357px;
  align-items: center;
  margin-top: 67px;
  padding: 0 10px;
}

.cases__col li {
  display: flex;
  align-items: center;
  gap: 29px;
  min-height: 67px;
  font-size: 20px;
  line-height: 24px;
}
.cases__col li + li { margin-top: 13px; }

.ico-cross {
  flex: none;
  width: 66px;
  height: 67px;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 2.5px), var(--red) calc(50% - 2.5px), var(--red) calc(50% + 2.5px), transparent calc(50% + 2.5px)),
    linear-gradient(to bottom left,  transparent calc(50% - 2.5px), var(--red) calc(50% - 2.5px), var(--red) calc(50% + 2.5px), transparent calc(50% + 2.5px));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
}

.cases__photo { display: flex; justify-content: center; }
.cases__photo img { width: 363px; height: 320px; object-fit: cover; }

/* ==========================================================================
   CTA «ВСЕГО 1 КЛИК»
   ========================================================================== */
.click { padding: 20px 0 52px; }

.click__grid {
  display: grid;
  grid-template-columns: 1fr 366px;
  column-gap: 30px;
  align-items: center;
  padding: 0 20px;
}
.click__body { text-align: center; }

.click__text {
  font-size: 26px;
  line-height: 40px;
}
.click__text strong { font-size: 40px; line-height: 40px; font-weight: 700; }

.click__btn { margin-top: 17px; width: 670px; max-width: 100%; padding: 14px 20px; }

.click__photo img { width: 366px; height: 221px; object-fit: contain; margin: 0 auto; }

/* ==========================================================================
   ОТЗЫВЫ
   ========================================================================== */
.reviews { padding: 29px 0 44px; }

.reviews__sub {
  margin-top: 20px;
  font-size: 24px;
  line-height: 28.8px;
  text-align: center;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 62px;
  margin-top: 74px;
  padding: 0 10px;
}

.rev__head {
  display: flex;
  align-items: center;
  gap: 29px;
  padding-left: 15px;
}
.rev__avatar { width: 85px; height: 85px; border-radius: 50%; object-fit: cover; flex: none; }
.rev__name   { font-size: 21px; line-height: 33.6px; font-weight: 700; }
.rev__sum    { font-size: 18px; line-height: 21.6px; }
.rev__sum strong { font-weight: 700; }

/* --- спойлер с текстом отзыва --- */
.spoiler {
  margin-top: 17px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 6.66667px 20px rgba(0, 0, 0, .1);
  padding: 0 25px;
}
.spoiler__head {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  border: 0;
  background: none;
  padding: 15px 0;
  font: inherit;
  color: var(--ink-quote);
  text-align: left;
  cursor: pointer;
}
.spoiler__title {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 22.4px;
  font-weight: 700;
  text-transform: uppercase;
}
.spoiler__arrow {
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink-quote);
  border-bottom: 2px solid var(--ink-quote);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
.spoiler__head[aria-expanded="true"] .spoiler__arrow {
  transform: rotate(225deg) translate(-3px, -3px);
}
.spoiler__body {
  display: none;
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 22.4px;
}
.spoiler__body.is-open { display: block; }

.rev__doc {
  display: block;
  margin-top: 20px;
  height: 360px;
  overflow: hidden;
}
.rev__doc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.reviews__cta-text {
  margin-top: 62px;
  font-size: 24px;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
}
.reviews__btn {
  display: block;
  margin: 25px auto 0;
  width: 394px;
  max-width: 100%;
  padding: 16px 20px;
  font-size: 20px;
}

/* ==========================================================================
   ПОДВАЛ
   ========================================================================== */
.foot { padding: 28px 0 37px; }
.foot__text {
  margin-top: 10px;
  font-size: 16px;
  line-height: 25.6px;
  text-align: center;
}
.foot__seo { margin-top: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ==========================================================================
   ЛАЙТБОКС ДОКУМЕНТОВ
   ========================================================================== */
[hidden] { display: none !important; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, .8);
}
.lb__img { max-width: 100%; max-height: 100%; width: auto; }
.lb__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.lb__close::before,
.lb__close::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 17px;
  width: 18px;
  height: 2px;
  background: #fff;
}
.lb__close::before { transform: rotate(45deg); }
.lb__close::after  { transform: rotate(-45deg); }

/* ==========================================================================
   КВИЗ (модальное окно)
   ========================================================================== */
.qz {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 50px 20px;
  background: rgba(0, 0, 0, .5);
}
.qz__dialog {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
}
.qz__strip {
  height: 30px;
  border-radius: 6px 6px 0 0;
  background: var(--yellow);
}
.qz__panel {
  border-radius: 0 0 6px 6px;
  background: #fff;
  padding: 15px;
}
.qz__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 2;
}
.qz__close::before,
.qz__close::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 12px;
  width: 14px;
  height: 2px;
  background: #000;
}
.qz__close::before { transform: rotate(45deg); }
.qz__close::after  { transform: rotate(-45deg); }

.qz__box {
  border: 2px solid var(--yellow);
  border-radius: 5px;
  padding: 25px;
}

.qz__progress {
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, .1);
  margin-bottom: 20px;
  overflow: hidden;
}
.qz__progress i {
  display: block;
  height: 100%;
  background: var(--yellow);
  transition: width .25s ease;
}

.qz__title {
  margin: 0 0 25px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

.qz__step:focus { outline: none; }

.qz__options { display: flex; flex-direction: column; gap: 10px; }
.qz__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 22px;
  cursor: pointer;
}
.qz__opt input { position: absolute; opacity: 0; pointer-events: none; }
.qz__radio {
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(0, 0, 0, .25);
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.qz__opt input:checked + .qz__radio { border-color: #000; }
.qz__opt input:checked + .qz__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #000;
}
.qz__opt input:focus-visible + .qz__radio { outline: 3px solid #0a58ca; outline-offset: 2px; }

.qz__actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
}
.qz__back {
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: rgba(0, 0, 0, .5);
  cursor: pointer;
  padding: 10px 0;
}
.qz__back:hover { color: #000; }
.qz__next { margin-left: auto; min-width: 275px; }
.qz__next[disabled] { opacity: .45; cursor: default; }
.qz__next[disabled]:hover { background: var(--yellow); }

.qz__label { display: block; font-size: 14px; margin-bottom: 6px; color: rgba(0, 0, 0, .6); }
.qz__input {
  width: 100%;
  border: 2px solid rgba(0, 0, 0, .25);
  border-radius: 5px;
  background: #fff;
  font: inherit;
  font-size: 18px;
  padding: 12px 14px;
  color: var(--ink);
}
.qz__input:focus { border-color: #000; outline: none; }
.qz__input.is-error { border-color: #E61919; }
.qz__error { display: none; margin-top: 8px; font-size: 14px; color: #E61919; }
.qz__error.is-on { display: block; }

.qz__consent { margin-top: 18px; font-size: 13px; line-height: 1.5; color: rgba(0, 0, 0, .6); }
.qz__consent a { color: inherit; }

.qz__done { text-align: center; padding: 20px 0; }
.qz__done .qz__title { margin-bottom: 12px; }

body.qz-lock { overflow: hidden; }
/* ==========================================================================
   АДАПТИВ — планшет (768–1209)
   Композиция повторяет десктоп: те же колонки, только уже. Кегли заданы через
   clamp() и текут по ширине, поэтому отдельный блок на 992 не нужен.
   ========================================================================== */
@media (max-width: 1209px) {
  .container   { padding: 0 20px; }
  .hero__inner { padding: 40px 20px 50px; }

  /* --- первый экран: список слева, деньги справа --- */
  .hero__title    { margin-top: 34px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.18; padding: 0; }
  .hero__sub      { margin-top: 18px; font-size: clamp(16px, 2.1vw, 26px); line-height: 1.4; padding: 0; }
  .hero__mid      { display: grid; grid-template-columns: minmax(0, 1fr) 44%;
                    align-items: center; column-gap: 24px; margin-top: 26px; padding: 0; min-height: 0; }
  .hero__list     { margin-top: 0; padding-left: 22px; font-size: clamp(14px, 1.75vw, 20px); line-height: 1.7; }
  .hero__art      { position: relative; left: auto; top: auto; width: 100%; height: auto; }
  .hero__money    { width: 100%; height: auto; }
  .hero__badge    { left: auto; right: 2%; top: 44%; width: 40%; height: auto; }
  .hero__cta-text { margin-top: 28px; font-size: clamp(16px, 2vw, 26px); line-height: 1.4; padding: 0; }
  .hero__cta      { margin: 20px 0 0; width: auto; max-width: 100%;
                    font-size: clamp(15px, 1.8vw, 22px); padding: 16px 22px; }

  .h2 { font-size: clamp(22px, 3vw, 40px); line-height: 1.2; }

  /* --- требования: фото слева, текст справа --- */
  .reqs        { padding: 50px 0 56px; }
  .reqs__grid  { grid-template-columns: 42% minmax(0, 1fr); column-gap: 24px; margin-top: 40px; padding: 0; }
  .reqs__photo { height: auto; aspect-ratio: 489 / 464; }
  .reqs__photo img { max-width: 100%; max-height: 100%; width: auto; }
  .reqs__title { font-size: clamp(18px, 2.4vw, 30px); line-height: 1.4; }
  .reqs__rule  { margin: 14px 0 20px; }
  .reqs__item  { font-size: clamp(13px, 1.6vw, 20px); line-height: 1.55; }
  .reqs__item + .reqs__item { margin-top: 12px; }
  .reqs__note  { font-size: .82em; }
  .reqs__ask   { margin-top: 28px; font-size: clamp(15px, 1.9vw, 24px); line-height: 1.4; }
  .reqs__btn   { margin: 18px 0 0; width: 100%; max-width: 352px; font-size: clamp(12px, 1.4vw, 16px); }

  /* --- «даже если»: три колонки --- */
  .cases       { padding: 44px 0 40px; }
  .cases__grid { grid-template-columns: minmax(0, 1fr) 28% minmax(0, 1fr);
                 column-gap: 16px; align-items: center; margin-top: 36px; padding: 0; }
  .cases__col li { gap: 14px; min-height: 0; font-size: clamp(13px, 1.7vw, 20px); line-height: 1.35; }
  .cases__col li + li { margin-top: 18px; }
  .ico-cross   { width: clamp(30px, 3.6vw, 66px); height: clamp(30px, 3.6vw, 66px); background-size: 55% 55%; }
  .cases__photo img { width: 100%; height: auto; object-fit: contain; }

  /* --- «всего 1 клик»: текст слева, деньги справа --- */
  .click       { padding: 16px 0 40px; }
  .click__grid { grid-template-columns: minmax(0, 1fr) 30%; column-gap: 24px; padding: 0; }
  .click__text { font-size: clamp(13px, 1.7vw, 26px); line-height: 1.5; }
  .click__text strong { font-size: clamp(19px, 2.6vw, 40px); line-height: 1.25; }
  .click__btn  { width: 100%; font-size: clamp(12px, 1.4vw, 16px); }
  .click__photo img { width: 100%; height: auto; }

  /* --- отзывы: три карточки в ряд --- */
  .reviews       { padding: 26px 0 40px; }
  .reviews__sub  { margin-top: 14px; font-size: clamp(13px, 1.7vw, 24px); line-height: 1.35; }
  .reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr));
                   column-gap: 16px; row-gap: 40px; margin-top: 40px; padding: 0; }
  .rev__head     { padding-left: 0; gap: 12px; }
  .rev__avatar   { width: clamp(46px, 5.6vw, 85px); height: clamp(46px, 5.6vw, 85px); }
  .rev__name     { font-size: clamp(13px, 1.6vw, 21px); line-height: 1.4; }
  .rev__sum      { font-size: clamp(11px, 1.4vw, 18px); line-height: 1.3; }
  .spoiler       { margin-top: 14px; padding: 0 14px; }
  .spoiler__head { gap: 10px; padding: 12px 0; }
  .spoiler__title{ font-size: clamp(10px, 1.15vw, 14px); line-height: 1.45; }
  .spoiler__body { padding-bottom: 14px; font-size: clamp(11px, 1.3vw, 14px); line-height: 1.5; }
  .rev__doc      { margin-top: 14px; height: clamp(190px, 25vw, 360px); }
  .reviews__cta-text { margin-top: 40px; font-size: clamp(14px, 1.8vw, 24px); line-height: 1.3; }
  .reviews__btn  { width: auto; max-width: 100%; font-size: clamp(14px, 1.6vw, 20px); }

  .foot__text { font-size: clamp(12px, 1.4vw, 16px); line-height: 1.6; }

  .qz__next { min-width: 200px; }
}

/* ==========================================================================
   Правки drag-редактора, брейкпоинт 768
   Сняты на ширине 768 в пикселях, поэтому диапазон ограничен планшетом.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1209px) {
  /* шапка прижата к верху и поджата */
  .hero__inner   { padding-top: 0; padding-bottom: 0; margin-bottom: -70px; }
  .topbar__logo  { transform: translate(-10px, 2px); }
  .topbar__text  { transform: translate(-15.7px, 2px); font-size: 10px; }
  .topbar__btn   { transform: translate(8px, 7px); }

  /* Пачка денег и бейдж крупнее и смещены влево. Сдвиг в процентах, а не в
     пикселях: колонка резиновая, и пиксельный сдвиг, снятый на 768, к 1100
     переставал совпадать — пачку обрезало справа. Проценты считаются от
     размера самого элемента, поэтому геометрия держится по всему диапазону. */
  .hero__money   { transform: translate(-16.7%, 0) scale(1.21); transform-origin: 0 0; }
  .hero__badge   { transform: translate(-25.6%, 46.1%) scale(1.21); transform-origin: 0 0; }

  /* содержимое первого экрана подтянуто вверх */
  .hero__mid      { transform: translate(-10.5px, -58px); }
  .hero__cta-text { transform: translate(0, -120.3px); }
  .hero__cta      { transform: translate(0, -110px); }
}

/* ==========================================================================
   АДАПТИВ — мобильный (до 767)
   ========================================================================== */
@media (max-width: 767px) {
  .hero__inner { padding: 24px 16px 40px; text-align: center; }

  .topbar { flex-wrap: wrap; justify-content: center; gap: 14px; padding: 0; text-align: center; }
  .topbar__text { order: 3; width: 100%; }
  .topbar__btn  { margin-left: 0; }

  .hero__title { margin-top: 28px; font-size: 30px; line-height: 36px; }
  .hero__sub   { margin-top: 16px; font-size: 18px; line-height: 25.2px; }
  .hero__sub br { display: none; }   /* пробел перед <br> в разметке сохраняет отбивку слов */
  .hero__mid   { grid-template-columns: minmax(0, 1fr); justify-items: center;
                 margin-top: 24px; row-gap: 20px; }
  .hero__list  { justify-self: start; text-align: left; font-size: 15px; line-height: 24px; padding-left: 22px; }
  .hero__art   { width: 100%; max-width: 320px; height: auto; }
  .hero__money { width: 100%; height: auto; }
  .hero__badge { left: auto; right: 0; top: 40%; width: 110px; height: 110px; }
  .hero__cta-text { margin-top: 28px; font-size: 18px; line-height: 25.2px; }
  .hero__cta   { margin-top: 20px; width: 100%; font-size: 18px; padding: 16px 12px; }

  .h2 { font-size: 26px; line-height: 32px; }

  .reqs        { padding: 40px 0; }
  .reqs__grid  { grid-template-columns: minmax(0, 1fr); row-gap: 30px; margin-top: 30px; }
  .reqs__photo { aspect-ratio: auto; padding: 24px 0; }
  .reqs__photo img { max-height: 300px; }
  .reqs__body  { text-align: center; }
  .reqs__title { font-size: 22px; line-height: 32px; }
  .reqs__rule  { margin: 14px auto 22px; }
  .reqs__item  { font-size: 18px; line-height: 28.8px; }
  .reqs__note  { font-size: 15px; }
  .reqs__ask   { margin-top: 30px; font-size: 20px; line-height: 32px; }
  .reqs__btn   { max-width: none; font-size: 15px; }

  .cases       { padding: 40px 0 30px; }
  .cases__grid { grid-template-columns: minmax(0, 1fr); row-gap: 20px; margin-top: 24px; }
  .cases__photo{ order: -1; margin-bottom: 4px; }
  .cases__photo img { width: 100%; max-width: 320px; }
  .cases__col li { gap: 14px; font-size: 16px; line-height: 21px; text-align: left; }
  .cases__col li + li { margin-top: 18px; }
  .ico-cross   { width: 34px; height: 34px; background-size: 20px 20px; }

  .click       { padding: 10px 0 36px; }
  .click__grid { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .click__photo{ order: -1; }
  .click__text { font-size: 16px; line-height: 24px; }
  .click__text strong { font-size: 26px; line-height: 34px; }
  .click__btn  { margin-top: 18px; font-size: 15px; }
  .click__photo img { max-width: 240px; }

  .reviews       { padding: 30px 0 36px; }
  .reviews__sub  { margin-top: 14px; font-size: 16px; line-height: 22px; }
  .reviews__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; margin-top: 30px; }
  .rev__head     { padding-left: 0; gap: 18px; }
  .rev__avatar   { width: 64px; height: 64px; }
  .rev__name     { font-size: 17px; line-height: 27.2px; }
  .rev__sum      { font-size: 15px; line-height: 20.4px; }
  .spoiler       { padding: 0 18px; }
  .rev__doc      { height: 300px; }
  .reviews__cta-text { margin-top: 40px; font-size: 18px; line-height: 24px; }
  .reviews__btn  { width: 100%; margin-top: 20px; font-size: 17px; }

  .foot__text { font-size: 14px; line-height: 22.4px; }

  /* --- правки drag-редактора, брейкпоинт 375 --- */
  .edbr-375 { display: inline; }

  /* шапка на мобильном не показывается: логотип, телефонная кнопка и подпись убраны */
  .topbar__logo,
  .topbar__btn,
  .topbar__text { display: none; }

  /* первый экран подтянут вверх на освободившееся место */
  .hero__inner    { padding-top: 0; padding-bottom: 0; margin-bottom: -56px; }
  .hero__title    { transform: translate(0, -82px); }
  .hero__sub      { transform: translate(29.5px, -87px); width: 283px; }
  .hero__mid      { transform: translate(0, -90px); }
  .hero__cta-text { transform: translate(0, -96px); }
  .hero__cta      { transform: translate(0, -90px); }

  .qz        { padding: 20px 12px; }
  .qz__panel { padding: 10px; }
  .qz__box   { padding: 18px 16px; }
  .qz__title { font-size: 19px; margin-bottom: 20px; }
  .qz__opt   { font-size: 16px; }
  .qz__actions { flex-direction: column-reverse; align-items: stretch; gap: 10px; margin-top: 26px; }
  .qz__next  { min-width: 0; width: 100%; }
  .qz__close { top: -6px; right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
