:root {
  --accent: #F5B800;
  --accent-dark: #D8A200;
  --accent-hi: #F7C838;
  --accent-soft: #FEF9E8;
  --accent-ink: #876500;
  --accent-ink-dark: #7A5C00;
  --text: #1F1F1F;
  --muted: #6B6660;
  --bg: #FFFFFF;
  --beige: #F6EEE4;
  --beige-line: #E8DCCB;
  --graphite: #1E1D1B;
  --graphite-2: #2A2825;
  --graphite-line: #3A3733;
  --ink: #F5EFE7;
  --ink-muted: #A69C90;
  --line: #E8E3DC;
  --tg: #229ED9;
  --radius: 18px;
  --shadow: 0 8px 30px rgba(40, 30, 20, .08);
  --glow: 0 12px 32px rgba(245, 184, 0, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
figure { margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.eyebrow {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-ink); margin-bottom: 10px;
}

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .ti { font-size: 1.25em; }
.btn--cta { background: var(--accent); color: #1E1D1B; box-shadow: var(--glow); }
.btn--cta:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245, 184, 0, .5); }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink-dark); }
.btn--ghost:disabled { opacity: .4; cursor: default; }
.btn--outline-light { background: transparent; color: var(--ink); border-color: rgba(245, 239, 231, .35); }
.btn--outline-light:hover { border-color: var(--accent); color: #fff; }
.btn--dark { background: var(--graphite); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: #1a8bc0; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 16px 30px; font-size: 18px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 48px; flex: none; }
.link-btn {
  background: none; border: 0; padding: 0; margin-top: 16px; font: inherit;
  color: var(--muted); text-decoration: underline; cursor: pointer;
}

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; white-space: nowrap; }
.logo__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: #1E1D1B; font-size: 14px; font-weight: 800;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.burger { display: none; }

@media (max-width: 1000px) {
  .header__call { display: none; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

/* Секции и фоны */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section--beige { background: var(--beige); }
.section--dark { background: var(--graphite); color: var(--ink); }
.section--dark .section__sub, .section--dark p { color: var(--ink-muted); }
.section--dark .eyebrow { color: var(--accent-hi); }
.section__head { margin-bottom: 36px; max-width: 700px; }
.section h2 { font-size: clamp(28px, 5.4vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.section__sub { margin-top: 12px; color: var(--muted); font-size: 17px; }

/* Появление при прокрутке — только если есть JS и пользователь не просил меньше движения */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Оффер */
.hero { padding: 24px 0 40px; background: var(--graphite); }
@media (min-width: 960px) { .hero { padding: 40px 0 64px; } }
.hero__banner { display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero__banner img { width: 100%; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 599px) { .hero__actions .btn { width: 100%; } }
@media (min-width: 700px) { .hero__actions { justify-content: center; } }

/* Квиз */
.quiz {
  max-width: 860px; background: #fff; border: 1px solid var(--beige-line); border-radius: 26px;
  padding: 24px 16px; box-shadow: 0 20px 60px rgba(120, 80, 30, .12);
}
@media (min-width: 600px) { .quiz { padding: 40px; } }
.quiz__progress { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.quiz__progress-bar { flex: 1; height: 8px; background: var(--beige); border-radius: 8px; overflow: hidden; }
.quiz__progress-bar span { display: block; height: 100%; width: 20%; background: var(--accent); border-radius: 8px; transition: width .3s; }
.quiz__progress-text { font-size: 14px; color: var(--muted); white-space: nowrap; }
.quiz__step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz__step.is-active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quiz__step legend { padding: 0; margin-bottom: 20px; font-size: 24px; font-weight: 700; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.quiz__nav .btn { flex: 1; max-width: 220px; }
.quiz__error { margin-top: 12px; }
.hint { margin-top: 12px; font-size: 14px; color: var(--muted); }

.area { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.area input[type="range"] { flex: 1 1 220px; accent-color: var(--accent); height: 32px; }
.area__input { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.area__input input {
  width: 96px; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 20px; font-weight: 700;
  border: 2px solid var(--line); border-radius: 12px; text-align: center;
}
.area__input input:focus { outline: none; border-color: var(--accent); }

.options { display: grid; gap: 12px; }
@media (min-width: 600px) {
  .options { grid-template-columns: 1fr 1fr; }
  .options--3 { grid-template-columns: repeat(3, 1fr); }
}
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option > span {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 16px 18px; border: 2px solid var(--line); border-radius: 16px; background: #fff;
  transition: border-color .2s, background .2s, transform .15s;
}
.option > span .ti { font-size: 28px; color: var(--accent); margin-bottom: 4px; }
.option--center > span { align-items: center; justify-content: center; text-align: center; min-height: 64px; }
.option small { color: var(--muted); font-size: 14px; }
.option:hover > span { border-color: #FAD873; transform: translateY(-2px); }
.option input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.option input:focus-visible + span { outline: 3px solid rgba(245, 184, 0, .35); outline-offset: 2px; }

.quiz__result { animation: fade .3s ease; }
.result__price { font-size: clamp(30px, 7vw, 48px); font-weight: 800; color: var(--accent-ink); line-height: 1.15; }
.result__note { margin-top: 8px; color: var(--muted); }
.result__summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.result__summary li { padding: 6px 12px; background: var(--beige); border-radius: 999px; font-size: 14px; }
.result__lead { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--accent-soft); }
.result__lead-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.result__lead-row input { flex: 1 1 200px; }
.result__lead-row .btn { flex: 1 1 160px; }

/* Поля */
input[type="tel"], input[type="text"], textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit;
  border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
}
input[type="tel"]:focus, input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--accent); }
input.is-invalid { border-color: #D93A2B; }
textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--accent-ink-dark); text-underline-offset: 2px; }
.check a:hover { color: var(--accent-ink); }
.consent-hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.btn:disabled, .btn--cta:disabled:hover {
  background: #E3DACE; color: #7A7168; box-shadow: none; transform: none; cursor: not-allowed;
}
.form__error { display: block; margin-top: 6px; color: #D93A2B; font-size: 14px; }
.form__success { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #E9F7EE; color: #1E7A43; font-weight: 600; }
[hidden] { display: none !important; }

/* Цены */
.infographic { margin-bottom: 24px; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 60px rgba(30, 29, 27, .18); }
@media (max-width: 699px) { .infographic { display: none; } } /* на телефоне мелко — там карточки ниже */
.prices { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--beige); font-size: 14px; font-weight: 600; color: var(--muted); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:nth-child(2) { color: var(--muted); }
.price-table .price { font-weight: 800; font-size: 18px; white-space: nowrap; }
.price-table .is-popular { background: var(--accent-soft); }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #1E1D1B; font-size: 12px; font-weight: 600; vertical-align: 2px; }

@media (max-width: 699px) {
  .prices { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; }
  .price-table tr { margin-bottom: 12px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  .price-table .is-popular { border-color: var(--accent); }
  .price-table td { padding: 0; border: 0; }
  .price-table td:nth-child(1) { font-size: 18px; }
  .price-table td:nth-child(2) { margin: 6px 0 10px; font-size: 15px; }
  .price-table .price { color: var(--accent-ink-dark); font-size: 22px; }
}

/* Повтор призыва */
.cta-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 32px; padding: 24px; border-radius: 20px; background: var(--beige);
}
.cta-row p { font-size: 18px; font-weight: 600; }
@media (max-width: 599px) { .cta-row .btn { width: 100%; } }

/* Гарантии */
.guarantees { display: grid; gap: 24px; }
@media (min-width: 1000px) { .guarantees { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.stats { display: grid; gap: 14px; }
@media (min-width: 600px) { .stats { grid-template-columns: 1fr 1fr; } .stats .stat:last-child { grid-column: 1 / -1; } }
.stat {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: var(--graphite-2); border: 1px solid var(--graphite-line);
}
.stat > .ti { position: absolute; top: 22px; right: 22px; font-size: 30px; color: var(--accent); }
/* Карточка «Договор»: вместо цифры — крупная иконка той же высоты */
.stat__icon .ti { display: block; font-size: clamp(48px, 9vw, 68px); line-height: 1; }
.stat b { display: block; font-size: clamp(48px, 9vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.stat h3 { margin-top: 10px; font-size: 20px; color: var(--ink); }
.stat p { margin-top: 6px; font-size: 15px; }
.guarantees__photos { display: grid; gap: 14px; }
.guarantees__photos img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 600px) and (max-width: 999px) { .guarantees__photos { grid-template-columns: 1fr 1fr; } .photo-credit { grid-column: 1 / -1; } }
.photo-credit { font-size: 13px; color: var(--ink-muted); }

/* Фото-полоса */
.band { position: relative; padding: 96px 0; color: #fff; overflow: hidden; isolation: isolate; }
.band__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 19, 17, .92) 0%, rgba(20, 19, 17, .75) 55%, rgba(20, 19, 17, .45) 100%),
    url("images/photo-shchitok-kvartira.jpg") center 32% / cover no-repeat;
}
@media (min-width: 960px) { .band { padding: 140px 0; } .band__bg { background-attachment: fixed, fixed; } }
.band__quote { font-size: clamp(32px, 6vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 14ch; }
.band__quote span { color: var(--accent); }
.band__sub { margin: 18px 0 32px; font-size: 18px; color: #E6DED4; max-width: 46ch; }
.band__credit { position: absolute; right: 16px; bottom: 10px; font-size: 12px; color: rgba(255, 255, 255, .6); }
@media (max-width: 599px) { .band .btn { width: 100%; } }

/* Этапы */
.steps { margin: 0; padding: 0; list-style: none; }
.step { position: relative; overflow: hidden; color: var(--ink); }
.step__icon {
  display: grid; place-items: center; flex: none; border-radius: 12px;
  background: var(--accent); color: #1E1D1B;
}
.step__count { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-hi); }
.step__title { font-weight: 800; letter-spacing: -.01em; }
.step__text, .step__short { color: var(--ink-muted); }

/* Телефон: компактный список в одной тёмной плашке */
@media (max-width: 599px) {
  .steps { background: var(--graphite); border-radius: var(--radius); padding: 4px 16px; }
  .step { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--graphite-line); }
  .step:last-child { border-bottom: 0; }
  .step__num, .step__text { display: none; }
  .step__icon { width: 44px; height: 44px; font-size: 24px; }
  .step__body { min-width: 0; }
  .step__count { font-size: 11px; }
  .step__title { font-size: 17px; margin-top: 1px; }
  .step__short { margin-top: 2px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Планшет и компьютер: карточки как в фирменном стиле */
@media (min-width: 600px) {
  .steps { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
  .step {
    display: flex; flex-direction: column; min-height: 320px; padding: 28px;
    border-radius: var(--radius); box-shadow: 0 14px 40px rgba(30, 29, 27, .18);
    background:
      linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 28px 28px,
      linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 28px 28px,
      radial-gradient(260px 220px at 100% 100%, rgba(245, 184, 0, .22), transparent 70%),
      var(--graphite);
    transition: transform .3s, box-shadow .3s;
  }
  .step:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(30, 29, 27, .26); }
  .step__num {
    position: absolute; right: 12px; bottom: -34px; font-size: 170px; font-weight: 800; line-height: 1;
    letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(245, 184, 0, .14);
    pointer-events: none;
  }
  .step__icon { width: 64px; height: 64px; font-size: 36px; border-radius: 16px; box-shadow: 0 10px 24px rgba(245, 184, 0, .35); }
  .step__body { position: relative; margin-top: 22px; }
  .step__count { font-size: 13px; }
  .step__title { margin-top: 6px; font-size: 26px; line-height: 1.15; }
  .step__short { display: none; }
  .step__text { margin-top: 10px; font-size: 15px; max-width: 26ch; }
}
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Вдохновение */
.mood { display: grid; gap: 14px; }
@media (min-width: 700px) {
  .mood { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
  .mood__item--big { grid-row: 1 / 3; }
}
.mood__item { position: relative; border-radius: var(--radius); overflow: hidden; }
.mood__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .6s; }
.mood__item:hover img { transform: scale(1.04); }
.mood__item figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px;
}

/* Скоро: объекты и отзывы — компактный блок с двумя заглушками */
.section--compact { padding: 48px 0; }
@media (min-width: 960px) { .section--compact { padding: 64px 0; } }
.soon { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 900px) { .soon { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.soon h2 { font-size: clamp(24px, 4vw, 34px); }
.soon__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.placeholder {
  position: relative; padding: 20px; border: 2px dashed var(--graphite-line); border-radius: var(--radius);
  background: var(--graphite-2);
}
.badge-example {
  position: absolute; top: 12px; right: 12px; z-index: 1; padding: 3px 10px; border-radius: 999px;
  background: var(--accent); color: #1E1D1B; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}
.placeholder__icon { display: block; font-size: 36px; color: var(--accent); }
.placeholder__title { margin-top: 12px; font-weight: 600; color: var(--ink); }
.section--dark .placeholder__text { margin-top: 4px; font-size: 13px; color: var(--ink-muted); }
.placeholder__lines { display: grid; gap: 8px; padding-top: 10px; }
.placeholder__lines span { height: 8px; border-radius: 6px; background: var(--graphite-line); }
.placeholder__lines .short { width: 60%; }
@media (max-width: 379px) { .placeholder { padding: 16px 14px; } .badge-example { top: 8px; right: 8px; font-size: 10px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--beige-line); border-radius: 16px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  position: relative; padding: 20px 56px 20px 20px; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #1E1D1B; font-size: 20px; font-weight: 500; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* Заявка */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.contact__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 599px) { .contact__buttons .btn { width: 100%; } }
.form { padding: 24px 16px; background: var(--beige); border-radius: 26px; }
@media (min-width: 600px) { .form { padding: 36px; } }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.field i { color: var(--accent); font-style: normal; }
.form .btn { margin-top: 20px; }

/* Подвал */
.footer { padding: 48px 0 110px; background: #161513; color: #CFC8BF; }
@media (min-width: 1001px) { .footer { padding-bottom: 48px; } }
.footer__inner { display: grid; gap: 24px; }
@media (min-width: 700px) { .footer__inner { grid-template-columns: 1fr auto; } }
.footer a { color: #fff; text-decoration: none; }
.footer__contacts a { display: inline-flex; align-items: center; gap: 8px; }
.footer__contacts p + p { margin-top: 6px; }
.logo--light { margin-bottom: 8px; }
.footer__note { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #34312D; font-size: 13px; color: #8F877E; }

/* Нижняя панель на телефоне */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transition: transform .3s ease, visibility .3s;
}
/* Пока виден первый экран, панель спрятана (класс снимает script.js; без JS панель видна всегда) */
.js .mobile-bar:not(.is-shown) { transform: translateY(100%); visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .mobile-bar { transition: none; } }
.mobile-bar .btn--cta { flex: 1; box-shadow: none; }
@media (min-width: 1001px) { .mobile-bar { display: none; } }

/* Гарантии без фото: карточки на всю ширину */
@media (min-width: 1000px) {
  .guarantees--solo { grid-template-columns: 1fr; }
  .guarantees--solo .stats { grid-template-columns: repeat(3, 1fr); }
  .guarantees--solo .stats .stat:last-child { grid-column: auto; }
}

/* Этапы: 4 и 8 — по 4 в ряд, чтобы не оставалось одинокой карточки (5 и 7 этапов — избегать) */
@media (min-width: 1000px) {
  .steps--4, .steps--8 { grid-template-columns: repeat(4, 1fr); }
  .steps--4 .step__title, .steps--8 .step__title { font-size: 22px; }
}
