/* =============================================================
   Дом за 15 млн ₽ · Семейная ипотека — landing styles
   Использует tokens из colors_and_type.css (шрифт LT Superior,
   оранж #D89456, чёрно-белая палитра)
   ============================================================= */

html, body { overflow-x: clip; max-width: 100%; }
img, video { max-width: 100%; height: auto; }

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-1000);
  background: var(--surface-pure);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* Accessibility — выделяем фокус только для клавиатурной навигации */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline-offset: 4px;
}

/* Убираем стандартный маркер у <details><summary> */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::marker { content: ""; }

/* ---------- Container ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding-inline: var(--container-pad-desktop); }
@media (max-width: 1023px) { .container { padding-inline: var(--container-pad-tablet); } }
@media (max-width: 767px)  { .container { padding-inline: var(--container-pad-mobile); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 52px; padding: 0 28px;
  border-radius: 12px; font-family: var(--font-sans);
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em;
  cursor: pointer; border: 1px solid transparent; text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-quick) var(--ease-out);
}
.btn:active { transform: scale(0.985); }
.btn-accent { background: var(--brand-orange); color: #fff; }
.btn-accent:hover { background: #c87e3f; }
.btn-ghost { background: transparent; color: var(--ink-1000); border-color: var(--ink-300); }
.btn-ghost:hover { background: var(--ink-50); border-color: var(--ink-1000); }
.btn-dark { background: var(--ink-1000); color: #fff; }
.btn-dark:hover { background: #222; }
.btn--lg { height: 60px; padding: 0 36px; font-size: 17px; }
.btn--full { width: 100%; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--brand-orange);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0;
  z-index: var(--z-nav);
  height: 76px;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--ink-100); }
.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto; height: 100%;
  padding-inline: var(--container-pad-desktop);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
@media (max-width: 1023px) { .site-header__inner { padding-inline: var(--container-pad-tablet); } }
@media (max-width: 767px)  { .site-header__inner { padding-inline: var(--container-pad-mobile); } }

.brand-text {
  font-family: var(--font-sans);
  line-height: 1.1; letter-spacing: -0.015em;
}
.brand-text__line1 {
  font-size: 18px; font-weight: 600; color: var(--ink-1000);
}
@media (max-width: 600px) {
  .brand-text__line1 { font-size: 15px; }
}

.site-header__phone {
  font-size: 14px; font-weight: 500; color: var(--ink-1000);
  font-variant-numeric: tabular-nums;
}
.site-header__cta { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }

@media (max-width: 700px) {
  .site-header__cta { display: none; }
  .site-header__phone { font-size: 13px; }
  .site-header { height: 64px; }
  .site-header__inner { gap: 10px; }
}
@media (max-width: 380px) {
  .brand-text__line1 { font-size: 13px; }
  .site-header__phone { font-size: 12px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 56px 0 80px;
  background: var(--surface-warm);
}
.hero__inner {
  display: grid; grid-template-columns: 6fr 6fr;
  gap: 56px; align-items: center;
}
.hero__copy { min-width: 0; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink-1000);
  text-wrap: balance;
}
.hero__title-strike { color: var(--ink-500); text-decoration: line-through; text-decoration-thickness: 2px; }
.hero__title-accent { color: var(--brand-orange); white-space: nowrap; }
.hero__lead {
  margin: 24px 0 0;
  font-size: 18px; line-height: 1.55; color: var(--ink-700);
  max-width: 56ch;
}

/* Hero stats — три «якоря» (старт / платеж / стройка) */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__stat { display: flex; flex-direction: column; min-width: 0; align-items: flex-start; }
.hero__stat-num {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink-1000);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero__stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 6px;
  font-weight: 500;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__trust {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px;
  font-size: 13px; color: var(--ink-700);
}
.hero__trust strong { color: var(--ink-1000); font-weight: 600; font-size: 15px; }
.hero__trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: #E9F5EE; color: #1F7A3E;
  font-size: 13px; font-weight: 500;
}

.hero__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover; background-position: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.hero__photo-caption {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px;
  max-width: calc(100% - 32px);     /* safety на узких экранах */
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 10px;
  font-size: 13px; color: var(--ink-700);
  overflow-wrap: anywhere;
}
/* Variant: bottom-right (чтобы не закрывать ребенка/семью в кадре) */
.hero__photo-caption--br { left: auto; right: 16px; }
.hero__photo-caption strong { color: var(--ink-1000); font-weight: 600; font-size: 14px; }

@media (max-width: 1023px) {
  .hero { padding: 40px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__photo { aspect-ratio: 16 / 9; max-height: 480px; }
}
@media (max-width: 600px) {
  .hero { padding: 24px 0 40px; }
  /* Заголовок крупнее, чтобы цеплял с мобилы — clamp вместо жёсткого скачка */
  .hero__title { font-size: clamp(28px, 5.3vw, 34px); line-height: 1.12; }
  .hero__lead { font-size: 16px; }
  .hero__photo { aspect-ratio: 4 / 3; max-height: none; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 0; padding: 0 18px; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* Stats — оставляем 3 в строку, шрифт пропорционально меньше */
  .hero__stats { gap: 14px; padding: 16px 18px; }
  .hero__stat-num { font-size: 14px; letter-spacing: -0.008em; }
  .hero__stat-label { font-size: 10px; margin-top: 4px; letter-spacing: 0.06em; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 28px; }
}

/* ============================================================
   SECTIONS — общая обёртка
   ============================================================ */
section { position: relative; }
.section { padding: 96px 0; }
.section--warm { background: var(--surface-warm); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1; font-weight: 600;
  letter-spacing: -0.022em;
  margin: 16px 0 0;
}
.section__lead {
  margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-700);
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
  .section__lead { font-size: 15px; }
}

/* ============================================================
   AUDIENCE — для кого этот продукт
   ============================================================ */
.audience { background: var(--ink-1000); color: #fff; padding: 56px 0; }
.audience__inner {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  max-width: 920px; margin: 0 auto;
}
.audience__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.018em;
  margin: 0; color: #fff;
}
.audience__title em { font-style: normal; color: var(--brand-orange); }
.audience__icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(216, 148, 86, 0.18);
  border-radius: 50%;
}
@media (max-width: 600px) {
  .audience { padding: 36px 0; }
  .audience__inner { grid-template-columns: 1fr; gap: 16px; }
  .audience__icon { width: 48px; height: 48px; }
}

/* ============================================================
   CHECKLIST — Что входит в 15 млн
   ============================================================ */
.checklist { padding: 96px 0; background: var(--surface-pure); }
.checklist__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.check-item {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 16px; align-items: start;
  padding: 18px 22px;
  background: var(--surface-warm);
  border: 1px solid var(--ink-100);
  border-radius: 14px;
}
.check-item__icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-orange);
  color: #fff; border-radius: 50%;
  font-size: 16px; font-weight: 600;
}
.check-item__title {
  font-size: 16px; font-weight: 600; color: var(--ink-1000);
  letter-spacing: -0.008em; margin-bottom: 6px;
}
.check-item__text {
  font-size: 14px; line-height: 1.55; color: var(--ink-700);
}
@media (max-width: 800px) { .checklist__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .checklist { padding: 56px 0; }
  .check-item { padding: 14px 16px; }
}

/* Choice block — "На выбор одно из двух" */
.checklist__choice {
  margin-top: 28px;
  padding: 28px 28px 24px;
  border: 1.5px dashed var(--brand-orange);
  border-radius: 18px;
  background: var(--brand-orange-soft);
}
.checklist__choice-head {
  text-align: center;
  margin-bottom: 20px;
}
.checklist__choice-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px 7px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.checklist__choice-lead {
  margin: 12px auto 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-700);
}
.checklist__choice-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.checklist__choice-pair .check-item {
  background: var(--surface-pure);
  border-color: rgba(216, 148, 86, 0.35);
  height: 100%;
}
.check-item__icon--choice {
  background: transparent;
  color: var(--brand-orange);
  border: 1.5px solid var(--brand-orange);
  font-size: 14px;
}
.checklist__choice-or {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px 9px;
  background: #fff;
  color: var(--brand-orange);
  border: 1.5px solid var(--brand-orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .checklist__choice { padding: 22px 18px 20px; }
  .checklist__choice-pair {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: stretch;
  }
  .checklist__choice-or {
    justify-self: center;
  }
}

/* ============================================================
   COMPARE TABLE — мы vs другие
   ============================================================ */
.compare-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid var(--ink-100);
  background: var(--surface-pure);
  /* Подсказка горизонтального скролла на узких экранах */
  background-image:
    linear-gradient(to right, var(--surface-pure), var(--surface-pure)),
    linear-gradient(to right, var(--surface-pure), var(--surface-pure)),
    linear-gradient(to right, rgba(0,0,0,0.06), rgba(0,0,0,0)),
    linear-gradient(to left,  rgba(0,0,0,0.06), rgba(0,0,0,0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 16px 100%, 16px 100%, 8px 100%, 8px 100%;
  background-attachment: local, local, scroll, scroll;
}
.compare-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--ink-100);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--surface-warm);
  font-weight: 600; font-size: 14px;
  color: var(--ink-1000);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:last-child td { font-weight: 600; font-size: 17px; }
.compare-table .cell-us {
  background: rgba(216, 148, 86, 0.08);
  color: var(--ink-1000);
  font-weight: 500;
}
.compare-table .cell-them {
  color: var(--ink-700);
}
.compare-table .ok { color: #1F7A3E; font-weight: 600; }
.compare-table .price { color: var(--ink-1000); font-weight: 500; font-variant-numeric: tabular-nums; }
.compare-table .price-final-us { color: var(--brand-orange); font-size: 19px; }

/* ============================================================
   DOM VS APT — большое визуальное сравнение
   ============================================================ */
.compare-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.compare-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--surface-warm);
  border: 1px solid var(--ink-100);
  position: relative;
}
.compare-card--apt { background: #F4F5F7; }
.compare-card--dom { background: linear-gradient(180deg, #FFF8F1 0%, #FCEEDC 100%); border-color: rgba(216, 148, 86, 0.30); }
.compare-card__tag {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.compare-card__tag--apt { background: rgba(0,0,0,0.06); color: var(--ink-700); }
.compare-card__tag--dom { background: var(--brand-orange); color: #fff; }
.compare-card__title {
  font-size: 26px; font-weight: 600;
  line-height: 1.15; letter-spacing: -0.018em;
  margin: 0 0 22px;
}
.compare-card__title--apt { color: var(--ink-700); }
.compare-card__title--dom { color: var(--ink-1000); }
.compare-card__list { list-style: none; padding: 0; margin: 0; }
.compare-card__list li {
  display: grid; grid-template-columns: 22px 1fr;
  gap: 10px; align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 15px; line-height: 1.4;
}
.compare-card__list li:first-child { border-top: none; }
.compare-card__list li::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-300);
  align-self: center;
}
.compare-card--dom .compare-card__list li::before { background: var(--brand-orange); }
.compare-card--apt .compare-card__list li { color: var(--ink-500); }
@media (max-width: 800px) {
  .compare-cards { grid-template-columns: 1fr; }
  .compare-card { padding: 24px; }
  .compare-card__title { font-size: 22px; }
}

/* ============================================================
   GALLERY (project renders)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
  border-radius: 16px;
  overflow: hidden;
}
.gallery__cell {
  background-size: cover; background-position: center;
  background-color: var(--ink-200);
  cursor: zoom-in;
  border-radius: 12px;
  transition: transform var(--dur-base) var(--ease-out);
}
.gallery__cell:hover { transform: scale(1.01); }
.gallery__cell--wide { grid-row: 1 / 3; height: auto; }
@media (max-width: 800px) {
  /* 3 ряда вместо 4 — широкая ячейка в строке 1, остальные 4 в строках 2-3 */
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px 180px;
    gap: 10px;
  }
  .gallery__cell--wide {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    height: auto;     /* убрал фиксированную 280px, чтобы не вылазила за свою строку */
  }
}
@media (max-width: 480px) {
  .gallery { grid-template-rows: 220px 150px 150px; gap: 8px; }
}

.project-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--surface-pure);
  border-radius: 16px;
  border: 1px solid var(--ink-100);
}
.project-specs__item { min-width: 0; }
.project-specs__label {
  font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 8px;
  font-weight: 500;
}
.project-specs__value {
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.018em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 800px) {
  .project-specs {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    padding: 16px 18px;
    margin-top: 20px;
  }
  .project-specs__value { font-size: 18px; }
  .project-specs__label { font-size: 11px; margin-bottom: 4px; }
}

/* ============================================================
   FLOORPLAN — светлая секция с планировкой
   ============================================================ */
.floorplan {
  background: var(--surface-pure);
  color: var(--ink-900);
  padding: 88px 0;
}
.floorplan__grid {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 72px;
  align-items: start;
}
.floorplan__eyebrow {
  color: var(--ink-500);
}
.floorplan__title {
  font-family: "LT Superior", sans-serif;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 12px 0 40px;
  color: var(--ink-1000);
}
.floorplan__rooms {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}
.floorplan__rooms li {
  min-width: 0;
}
.floorplan__room-name {
  color: var(--brand-orange);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.floorplan__room-area {
  color: var(--ink-700);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.floorplan__totals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-100);
  font-size: 14px;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.floorplan__plan {
  background: var(--surface-warm);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
  border: 1px solid var(--ink-100);
  position: sticky;
  top: 24px;
}
.floorplan__plan img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

@media (max-width: 1023px) {
  .floorplan { padding: 64px 0; }
  .floorplan__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .floorplan__plan {
    position: static;
    order: -1;
    padding: 14px;
    border-radius: 14px;
  }
  .floorplan__title {
    margin: 8px 0 24px;
  }
}
@media (max-width: 600px) {
  .floorplan { padding: 48px 0; }
  .floorplan__title { margin: 6px 0 20px; }
  .floorplan__rooms {
    gap: 16px 20px;
  }
  .floorplan__room-name { font-size: 15px; }
  .floorplan__room-area { font-size: 14px; }
  .floorplan__plan {
    padding: 10px;
    border-radius: 12px;
  }
  .floorplan__totals {
    padding-top: 18px;
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  .floorplan__rooms {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   INTERIOR — кухня-гостиная день/вечер
   ============================================================ */
.interior__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.interior__card {
  margin: 0;
}
.interior__photo {
  position: relative;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.interior__photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}
.interior__disclaimer {
  margin: 28px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 900px;
}
@media (max-width: 800px) {
  .interior__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .interior__photo {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
  .interior__disclaimer {
    margin-top: 20px;
    font-size: 12px;
  }
}

/* Calculator legal disclaimer */
.calc__disclaimer {
  margin: 24px auto 0;
  max-width: 820px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-500);
  text-align: center;
}
@media (max-width: 600px) {
  .calc__disclaimer {
    margin-top: 18px;
    font-size: 12px;
    text-align: left;
  }
}

/* ============================================================
   VIBE block — эмоциональная пауза с фото в карточке
   ============================================================ */
.vibe { background: var(--surface-warm); }
.vibe__head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.vibe__quote {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink-1000);
}
.vibe__quote-em {
  color: var(--brand-orange);
}
.vibe__photo {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-color: var(--ink-200);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
}
@media (max-width: 600px) {
  .vibe__head { margin-bottom: 28px; }
  .vibe__photo {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background-position: 72% center;
  }
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ink-100);
  background: var(--surface-pure);
}
.calc__form { padding: 36px; background: var(--surface-warm); }
.calc__result { padding: 36px; background: var(--ink-1000); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 18px; }

.calc__field { margin-bottom: 22px; }
.calc__field:last-child { margin-bottom: 0; }
.calc__label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; font-weight: 500; color: var(--ink-700); margin-bottom: 8px;
}
.calc__value {
  color: var(--ink-1000); font-weight: 600; font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.calc__range {
  width: 100%; height: 32px;
  -webkit-appearance: none; appearance: none;
  background: transparent;
}
.calc__range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--brand-orange) var(--pct, 50%), var(--ink-200) var(--pct, 50%));
}
.calc__range::-moz-range-track {
  height: 4px; border-radius: 2px; background: var(--ink-200);
}
.calc__range::-moz-range-progress {
  height: 4px; border-radius: 2px; background: var(--brand-orange);
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px;
  margin-top: -11px;
  border-radius: 50%; background: #fff;
  border: 2px solid var(--brand-orange);
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
  cursor: pointer;
  transition: transform 120ms ease;
}
.calc__range::-webkit-slider-thumb:active { transform: scale(1.15); }
.calc__range::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%; background: #fff;
  border: 2px solid var(--brand-orange);
  cursor: pointer;
}
@media (max-width: 600px) {
  /* Бóльшая тач-зона на мобайле */
  .calc__range { height: 40px; }
  .calc__range::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -12px; }
  .calc__range::-moz-range-thumb { width: 28px; height: 28px; }
}
.calc__hint {
  font-size: 12px; color: var(--ink-500); margin-top: 8px;
}

.calc__result-eyebrow {
  font-size: 12px; letter-spacing: 0.10em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.calc__result-main {
  font-size: clamp(36px, 5vw, 52px); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.022em;
  color: #fff;
}
.calc__result-main small { font-size: 0.4em; font-weight: 400; color: rgba(255,255,255,0.65); margin-left: 8px; }
.calc__result-row {
  display: flex; justify-content: space-between;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
}
.calc__result-row strong { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc__compare {
  margin-top: 4px; padding: 16px 20px;
  background: rgba(216, 148, 86, 0.18); border-radius: 12px;
  font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.92);
}
.calc__compare strong { color: var(--brand-orange); font-weight: 600; }

@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc__form, .calc__result { padding: 28px; }
}

/* ============================================================
   STEPS — простой путь 5 шагов
   ============================================================ */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.step {
  padding: 24px 20px;
  background: var(--surface-warm);
  border: 1px solid var(--ink-100);
  border-radius: 14px;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-orange); color: #fff;
  font-weight: 600; font-size: 14px;
  margin-bottom: 16px;
}
.step__title {
  font-size: 16px; font-weight: 600; color: var(--ink-1000);
  letter-spacing: -0.008em; margin-bottom: 8px; line-height: 1.25;
}
.step__text { font-size: 13px; line-height: 1.55; color: var(--ink-700); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   NOT INCLUDED — честный блок
   ============================================================ */
.not-incl {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.not-incl__item {
  padding: 18px 22px;
  background: var(--surface-pure);
  border: 1px dashed var(--ink-300);
  border-radius: 12px;
  display: flex; gap: 12px; align-items: start;
}
.not-incl__icon {
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--ink-500);
}
.not-incl__title { font-size: 15px; font-weight: 500; color: var(--ink-1000); line-height: 1.3; }
.not-incl__note { font-size: 13px; color: var(--ink-500); margin-top: 4px; line-height: 1.45; }
@media (max-width: 800px) { .not-incl { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ — accordion
   ============================================================ */
.faq__list { display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  background: var(--surface-pure);
  overflow: hidden;
}
.faq__q {
  width: 100%; text-align: left;
  padding: 22px 24px;
  background: transparent;
  border: none; cursor: pointer;
  font-family: inherit;
  font-size: 17px; font-weight: 600; color: var(--ink-1000);
  letter-spacing: -0.008em;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background var(--dur-quick) var(--ease-out);
}
.faq__q:hover { background: var(--surface-warm); }
.faq__q-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.faq__item[open] .faq__q-icon { transform: rotate(45deg); }
.faq__a {
  padding: 14px 24px 24px;
  font-size: 15px; line-height: 1.6; color: var(--ink-700);
}
.faq__item[open] .faq__a {
  border-top: 1px solid var(--ink-100);
  margin: 0 24px;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 600px) {
  .faq__q { font-size: 15px; padding: 18px 18px; }
  .faq__a { font-size: 14px; padding: 12px 18px 20px; }
  .faq__item[open] .faq__a { margin: 0 18px; padding-left: 0; padding-right: 0; }
}

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.final-cta {
  padding: 88px 0;
  background: var(--ink-1000); color: #fff;
}
.final-cta__inner {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.final-cta__title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.022em;
  margin: 0 0 20px; color: #fff;
}
.final-cta__lead {
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.75);
  max-width: 540px; margin: 0 auto 32px;
}
.final-cta__row {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.final-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.30); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

.site-footer {
  padding: 56px 0 40px;
  background: #0c0c0c; color: rgba(255,255,255,0.7);
  font-size: 14px; line-height: 1.55;
}
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.site-footer__brand img {
  display: block;
  height: 42px;
  width: auto;             /* keep natural aspect (logo ~3.27:1) */
  max-width: 220px;        /* safety cap */
  opacity: 0.92;
  image-rendering: -webkit-optimize-contrast;
}
.site-footer__brand p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.5); max-width: 320px; }
.site-footer__col-title { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 14px; font-weight: 500; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 10px; }
.site-footer__col a:hover { color: var(--brand-orange); }
.site-footer__legal-info { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10); font-size: 12px; color: rgba(255,255,255,0.4); }
.site-footer__legal-info div { margin-bottom: 4px; }
.site-footer__bottom { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,0.35); }
@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 60;
  transform: translateX(-50%) translateY(24px);
  padding: 16px 32px;
  background: linear-gradient(180deg, #FFA63A 0%, #F58A1F 100%);
  color: #fff; border: none; border-radius: 999px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
  opacity: 0; pointer-events: none;
  transition: opacity 280ms ease, transform 280ms ease, filter 180ms ease;
  white-space: nowrap;
}
.sticky-cta.is-visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.sticky-cta:hover { filter: brightness(1.05); }
@media (max-width: 600px) {
  /* Sticky-CTA остается внизу, TG-иконка уходит выше */
  .sticky-cta {
    font-size: 15px; padding: 14px 22px;
    bottom: 16px;
    max-width: calc(100vw - 24px);
  }
}

/* ============================================================
   TG FLOAT
   ============================================================ */
.tg-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%; background: #229ED9;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.36);
  transition: transform var(--dur-base) var(--ease-out);
  z-index: 50;
}
.tg-float:hover { transform: scale(1.06) translateY(-2px); }
.tg-float svg { width: 26px; height: 26px; transform: translate(-2px, 1px); }
@media (max-width: 600px) {
  /* Telegram уходит выше, чтобы освободить низ для sticky-CTA */
  .tg-float { width: 50px; height: 50px; bottom: 92px; right: 16px; }
  .tg-float svg { width: 22px; height: 22px; }
}
