/* Дәл Баға — общие стили лендингов. Mobile-first: основной трафик из FB/IG. */

/* Inter variable, свои файлы: без запросов к Google Fonts. Казахские буквы — в cyrillic-ext, ₸ — в latin-ext. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin-wght-normal.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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #4a5568;
  --ink-3: #7a8699;
  --line: #e3e7ee;
  --navy: #10284a;
  --navy-2: #1b3d6b;
  --accent: #f2a516;
  --accent-soft: #fff4dc;
  --danger: #d6453d;
  --danger-soft: #fdecea;
  --ok: #138a4b;
  --ok-soft: #e5f6ec;
  --wa: #1faf5a;
  --wa-hover: #189a4e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(16, 40, 74, .08);
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 0; }
.section--white { background: var(--surface); }
.section__title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.section__lead { color: var(--ink-2); margin-bottom: 24px; max-width: 640px; }

/* ---------- Шапка ---------- */
.header { background: var(--navy); color: #fff; }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo__name { display: block; font-weight: 900; font-size: 20px; line-height: 1.1; letter-spacing: .02em; }
.logo__accent { color: var(--accent); }
.logo__sub { display: block; font-size: 11px; opacity: .7; font-weight: 500; white-space: nowrap; }
.header__right { display: flex; align-items: center; gap: 6px; flex: none; }
.lang { color: #fff; opacity: .85; font-size: 13px; font-weight: 600; text-decoration: none; padding: 8px 6px; }
.lang:hover { opacity: 1; }
.header__wa {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;
}
.header__wa svg { width: 18px; height: 18px; }
/* Узкие телефоны: подпись под логотипом остаётся, кнопка WhatsApp в шапке компактнее */
@media (max-width: 380px) { .logo__sub { font-size: 10.5px; } .header__wa { padding: 7px 10px; font-size: 13px; gap: 5px; } .header__wa svg { width: 16px; height: 16px; } }

/* ---------- Первый экран ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 28px 0 40px; }
.hero--short { padding: 36px 0 44px; }
.hero__grid { display: grid; gap: 24px; }
.hero__tag {
  display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 12px; line-height: 1.4; /* на телефоне тег в две строки — скругление не «пилюлей» */
  background: rgba(242,165,22,.18); color: #ffd27a; margin-bottom: 14px;
}
.hero__title { font-size: 30px; font-weight: 900; }
.hero__title mark { background: none; color: var(--accent); }
.hero__text { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,.85); }
.hero__offer {
  margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 15px;
}
.hero__offer b { color: #fff; }
.hero__cta { margin-top: 20px; }
.hero__note { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.65); }
.hero__trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 14px; color: rgba(255,255,255,.85); }
.hero__trust li { display: flex; gap: 8px; align-items: flex-start; }
.hero__trust svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }

/* Визуал: коллаж фото с осмотра (2:1 везде) + карточка расчёта поверх. На телефоне расчёт плотнее. */
.visual { position: relative; }
.ph--hero { aspect-ratio: 2 / 1; border-color: rgba(255,255,255,.25); background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 12px, rgba(255,255,255,.03) 12px 24px); }
.ph--hero::before { color: rgba(255,255,255,.6); align-items: start; padding-top: 28px; }
.visual .calc { position: relative; margin: 12px 0 0; } /* под фото, не перекрывая машины */

.calc {
  background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 14px 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.calc__label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.calc__name { font-size: 14px; color: var(--ink-2); }
.calc__sum { font-weight: 800; font-size: 17px; white-space: nowrap; }
.calc__sum--bad { color: var(--danger); text-decoration: line-through; text-decoration-thickness: 2px; }
.calc__sum--good { color: var(--ok); }
.calc__diff {
  margin-top: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--accent-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; line-height: 1.3;
}
.calc__diff span:last-child { font-size: 20px; font-weight: 900; white-space: nowrap; }
.calc__foot { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.calc .example-tag { margin-bottom: 4px; }

/* ---------- Слоты под фото: пока файла нет, видна подпись, что сюда поставить ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #eef1f5 0 12px, #e6eaf0 12px 24px);
  border: 2px dashed #c3cad6;
}
.ph::before {
  content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center;
  padding: 16px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-3);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(img) { border: 0; }

/* Текст-заглушка, который нужно заменить реальными данными */
.draft { background: var(--accent-soft); outline: 2px dashed var(--accent); outline-offset: 1px; border-radius: 4px; }
.hero .draft { color: var(--ink); }

/* ---------- Кнопки ---------- */
.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 16px 14px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--wa); color: #fff; text-decoration: none; font: inherit; font-weight: 800; font-size: 16px; line-height: 1.3;
  box-shadow: 0 8px 22px rgba(31,175,90,.35); transition: background .15s, transform .15s;
}
.btn-wa:hover { background: var(--wa-hover); }
.btn-wa:active { transform: scale(.98); }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
@media (hover: hover) { .btn-wa:hover { transform: translateY(-1px); } }

/* Блик на всех кнопках WhatsApp, пульс — дополнительно у липкой */
.btn-wa, .header__wa { position: relative; overflow: hidden; }
.btn-wa::before, .header__wa::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); animation: wa-shine 2.2s ease-in-out infinite;
}
@keyframes wa-shine { 0%, 45% { left: -60%; } 100% { left: 130%; } }
.sticky.is-show .btn-wa { animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,175,90,.55); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(31,175,90,0); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky.is-show .btn-wa { animation: none; }
  .btn-wa::before, .header__wa::before { display: none; }
}

/* ---------- Карточки ситуаций ---------- */
.pains { display: grid; gap: 12px; }
.pain {
  display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.section--white .pain { background: var(--bg); }
.pain:hover { border-color: var(--wa); box-shadow: var(--shadow); }
.pain__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); display: grid; place-items: center; flex: none; }
.pain__ico--navy { background: var(--accent-soft); color: var(--navy); }
.pain__ico svg { width: 22px; height: 22px; }
.pain__body { flex: 1; min-width: 0; }
.pain__title { display: block; font-weight: 700; }
.pain__text { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.pain__go { font-size: 0; font-weight: 700; color: var(--wa); white-space: nowrap; }
.pain__go::after { content: "→"; font-size: 20px; }

/* ---------- Причины / чек-лист ---------- */
/* На телефоне — один список с разделителями, на десктопе — карточки 2×2 */
.reasons { display: grid; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.reason:first-child { border-top: 0; }
.reason__num { font-size: 13px; font-weight: 800; color: var(--accent); grid-row: span 2; padding-top: 2px; }
.reason__title { font-weight: 800; font-size: 16px; }
.reason__text { color: var(--ink-2); font-size: 14px; margin-top: 2px; }

.checklist { display: grid; gap: 10px; counter-reset: chk; }
.check { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.check::before {
  counter-increment: chk; content: counter(chk);
  width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800;
  display: grid; place-items: center; flex: none;
}
.check--warn { border-color: var(--accent); background: var(--accent-soft); }
.check--warn::before { background: var(--accent); color: var(--navy); }
.check__title { font-weight: 700; font-size: 17px; }
.check__text { color: var(--ink-2); font-size: 15px; margin-top: 2px; }

/* ---------- Кейсы ---------- */
.cases { display: grid; gap: 16px; }
.case { background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.ph--case { aspect-ratio: 16 / 10; border-radius: 0; border-width: 0 0 2px; }
.case__body { padding: 16px; display: grid; gap: 12px; }
.case__title { font-size: 17px; font-weight: 800; }
.case__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case__nums > div { background: var(--surface); border-radius: var(--radius-sm); padding: 10px 12px; }
.case__k { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.case__v { display: inline-block; font-size: 19px; font-weight: 900; white-space: nowrap; }
.case__v--bad { color: var(--danger); }
.case__v--good { color: var(--ok); }
.case__text { color: var(--ink-2); font-size: 15px; }

/* ---------- Шаги ---------- */
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 14px; }
.step__num {
  width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--navy);
  font-weight: 900; display: grid; place-items: center; flex: none;
}
.step__title { font-weight: 800; font-size: 17px; }
.step__text { color: var(--ink-2); font-size: 15px; margin-top: 2px; }

/* «Как мы работаем» на «Авто»: таймлайн — номера в кругах, соединённые линией, текст в карточках.
   Телефон — вертикально, линия слева; ПК — в ряд, линия по верху. */
.steps--timeline { gap: 12px; margin-top: 8px; }
.steps--timeline .step { position: relative; gap: 16px; }
.steps--timeline .step:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: -12px; width: 2px;
  background: linear-gradient(var(--accent), rgba(242,165,22,.25));
}
.steps--timeline .step__num {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 17px; box-shadow: 0 0 0 5px var(--accent-soft);
}
.steps--timeline .step:last-child .step__num { background: var(--accent); color: var(--navy); }
.steps--timeline .step__body { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }

/* ---------- Кто оценивает ---------- */
.team { display: grid; gap: 20px; margin-top: 20px; }
.ph--person { aspect-ratio: 1; max-width: 240px; width: 100%; }
.ph--doc { aspect-ratio: 3 / 4; max-width: 240px; width: 100%; }
.team__name { font-size: 22px; font-weight: 800; }
.team__role { color: var(--ink-2); margin-top: 4px; }
.team__facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.team__facts li, .get { display: flex; gap: 10px; align-items: flex-start; }
.team__facts svg, .get svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 2px; }
.team__gets { font-size: 17px; font-weight: 800; margin: 24px 0 12px; }
.gets { display: grid; gap: 10px; }

/* ---------- Цена (только с ?p=1, для A/B) ---------- */
.price { display: none; }
.show-price .price { display: block; }
.price__box { border-radius: var(--radius); padding: 22px; background: var(--navy); color: #fff; display: grid; gap: 10px; }
.price__from { font-size: 34px; font-weight: 900; color: var(--accent); }
.price__text { color: rgba(255,255,255,.8); font-size: 15px; }

/* ---------- Отзывы: на мобильных листаются вбок ---------- */
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch;
}
.ph--review { aspect-ratio: 3 / 4; scroll-snap-align: start; }

/* ---------- Блок доверия: цифры, лицензия, офис, отзывы ---------- */
/* Цифры доверия — тёмная полоса с крупными белыми числами */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 20px; padding: 22px 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.stat { display: grid; gap: 4px; align-content: start; }
.stat__v { font-size: 28px; font-weight: 900; color: #fff; line-height: 1.1; justify-self: start; }
.stat__t { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.35; }

/* Документы — три миниатюры в ряд, по нажатию открываются крупно; под ними офис */
.about { display: grid; gap: 16px; margin-top: 16px; align-items: start; }
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.doc-thumb { margin: 0; display: grid; gap: 6px; }
.doc-thumb figcaption { font-size: 12px; line-height: 1.3; color: var(--ink-2); text-align: center; }
.about .ph--doc { aspect-ratio: 2 / 3; max-width: none; border-radius: var(--radius-sm); box-shadow: 0 2px 10px rgba(16,40,74,.12); } /* листы 1200×1817 */
.about .ph--doc::before { font-size: 11px; padding: 8px; }
[data-zoom]:has(img) { cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 100; background: rgba(8,16,30,.92); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.office { background: var(--bg); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; align-content: start; }
.office__title { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.office__addr { font-weight: 600; }
.office__hours, .office__extra { color: var(--ink-2); font-size: 15px; }
.office__times { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.office__times dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.office__times dd { margin: 1px 0 0; font-size: 15px; color: var(--ink); }
.office__link { margin-top: 8px; font-weight: 700; color: var(--wa); }

.reviews__title { font-size: 20px; font-weight: 800; margin: 32px 0 14px; }
.review-cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* своя полоса ниже — она видна всегда, системная только при листании */
}
.review-cards::-webkit-scrollbar { display: none; }
.rv-nav { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.rv-nav__track { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.rv-nav__thumb { position: absolute; top: 0; bottom: 0; left: 0; width: 12%; border-radius: 4px; background: var(--navy); transition: left .1s linear; }
.rv-nav__hint { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.rv-nav__count { font-weight: 700; color: var(--ink); }
.review { background: var(--bg); border-radius: var(--radius); padding: 16px; scroll-snap-align: start; display: grid; gap: 6px; align-content: start; }
.review__head { display: flex; align-items: center; gap: 10px; }
.review__ava { width: 38px; height: 38px; border-radius: 50%; background: #dfe6ee; color: var(--navy); font-size: 13px; font-weight: 700; display: grid; place-items: center; flex: none; }
.review__who { flex: 1; min-width: 0; display: grid; }
.review__name { font-weight: 700; line-height: 1.25; }
.review__date { font-size: 12px; color: var(--ink-3); }
.review__src { font-size: 12px; font-weight: 700; color: #fff; background: #19aa1e; border-radius: 6px; padding: 2px 7px; }
.review__stars { color: var(--accent); letter-spacing: 1px; }
.review__text { color: var(--ink-2); font-size: 15px; }

.gets--grid { margin-top: 20px; }
/* «Что вы получите» — карточки: иконка, заголовок, польза одной строкой */
.gets--cards { gap: 14px; margin-top: 24px; }
.get-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.get-card__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.get-card__ico svg { width: 24px; height: 24px; }
.get-card__title { font-size: 17px; font-weight: 800; }
.gets--warn .get-card__ico { background: var(--accent-soft); color: #b9770b; }
.get-card__text { margin-top: 4px; font-size: 15px; color: var(--ink-2); }

/* Финал: что подготовить */
.prep { text-align: left; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 14px 16px; margin: 16px auto 20px; max-width: 460px; }
.prep__title { font-weight: 700; margin-bottom: 8px; }
.prep__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; color: rgba(255,255,255,.88); }
.prep__list li { display: flex; gap: 8px; align-items: flex-start; }
.prep__list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.final__addr { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.65); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 20px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.section--white .faq details { background: var(--bg); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 44px 16px 16px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { padding: 0 16px 16px; color: var(--ink-2); font-size: 15px; }

/* ---------- Финальный CTA ---------- */
.final { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px 16px; text-align: center; }
.final__title { font-size: 24px; font-weight: 900; }
.final__text { color: rgba(255,255,255,.8); margin: 10px auto 20px; max-width: 520px; }
.final .btn-wa { max-width: 420px; margin: 0 auto; }

/* ---------- Текстовые страницы ---------- */
.doc { max-width: 760px; }
.doc__title { font-size: 28px; font-weight: 900; }
.doc__date { color: var(--ink-3); font-size: 14px; margin: 6px 0 24px; }
.doc h2 { font-size: 18px; font-weight: 800; margin: 24px 0 8px; }
.doc p { color: var(--ink-2); }

/* ---------- Подвал ---------- */
.footer { padding: 28px 0; font-size: 13px; color: var(--ink-3); }
.footer__row { display: grid; gap: 6px; }
.footer a { color: var(--ink-2); }

/* ---------- Липкая кнопка (мобильные) ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform .25s;
}
.sticky.is-show { transform: none; }
.sticky .btn-wa { padding: 14px 18px; font-size: 16px; box-shadow: none; }

.example-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; margin-bottom: 8px;
}

/* ---------- Промежуточный призыв внутри секции ---------- */
.cta-inline {
  margin-top: 24px; padding: 20px; border-radius: var(--radius); background: var(--ok-soft);
  display: grid; gap: 14px;
}
.cta-inline__text { font-weight: 700; font-size: 17px; }


/* ---------- Планшет и десктоп ---------- */
@media (min-width: 720px) {
  .hero { padding: 48px 0 64px; }
  .hero__title { font-size: 42px; }
  .hero__grid { gap: 28px; }
  .ph--hero::before { align-items: center; padding-top: 16px; }
  .calc { padding: 18px; }
  .calc__row { padding: 10px 0; }
  .calc__sum { font-size: 18px; }
  .calc__diff { margin-top: 10px; padding: 12px 14px; font-size: 16px; }
  .calc__diff span:last-child { font-size: 22px; }
  .calc__foot { margin-top: 10px; }
  .reasons { gap: 12px; background: none; border: 0; }
  .reason { display: block; background: var(--surface); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
  .reason:first-child { border-top: 1px solid var(--line); }
  .reason__title { margin-top: 4px; font-size: 17px; }
  .reason__text { font-size: 15px; margin-top: 4px; }
  .section { padding: 72px 0; }
  .section__title { font-size: 34px; }
  .pains, .reasons { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: 220px 1fr 200px; align-items: start; gap: 32px; }
  .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .stats { grid-template-columns: repeat(4, 1fr); padding: 30px 32px; gap: 0; }
  .stat { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.14); }
  .stat:first-child { padding-left: 0; border-left: 0; }
  .stat__v { font-size: 36px; }
  .stat__t { font-size: 14px; }
  .about { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 28px; }
  .docs { gap: 14px; }
  .doc-thumb figcaption { font-size: 13px; }
  .review-cards { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .rv-nav { display: none; } /* на планшете и ПК отзывы сеткой, листать не нужно */
  .gets--grid { grid-template-columns: 1fr 1fr; }
  .gets--cards { gap: 20px; margin-top: 32px; }
  .get-card { padding: 26px 28px; gap: 18px; }
  .get-card__ico { width: 52px; height: 52px; border-radius: 14px; }
  .get-card__ico svg { width: 28px; height: 28px; }
  .get-card__title { font-size: 19px; }
  .get-card__text { font-size: 16px; margin-top: 6px; }
  .btn-wa { width: auto; display: inline-flex; padding: 16px 20px; font-size: 17px; }
  .final { padding: 44px; }
  .pain__go { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); transition: background .15s, color .15s; }
  .pain__go::after { content: " →"; font-size: 13px; }
  .pain:hover .pain__go { background: var(--wa); color: #fff; }
  .cta-inline { grid-template-columns: 1fr auto; align-items: center; padding: 20px 24px; }
}
@media (min-width: 960px) {
  .faq { grid-template-columns: 1fr 1fr; align-items: start; gap: 12px 16px; }
  .review-cards { grid-template-columns: repeat(3, 1fr); } /* 6 отзывов — 2 ряда по 3 */
  /* Шаги в один ряд, сколько бы их ни было (4 на «Затопе», 5 на «Авто»); на планшете — списком */
  .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }
  .step { flex-direction: column; }
  .steps--timeline { gap: 18px; margin-top: 16px; }
  .steps--timeline .step:not(:last-child)::before { left: 52px; right: -18px; top: 25px; bottom: auto; width: auto; height: 2px; }
  .steps--timeline .step__num { width: 50px; height: 50px; font-size: 19px; margin-left: 2px; }
  .steps--timeline .step__body { padding: 18px; height: 100%; }
  .sticky { display: none; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .hero__title { font-size: 46px; }
}
