/* ============================================================
   SECTION-HEADS — единый стиль заголовков и отступов секций.
   Подключается ПОСЛЕ всех секционных css. Эталон — safe-deal.
   ============================================================ */

/* ─────────────────────────────────────────────
   1. ЕДИНЫЕ ВЕРТИКАЛЬНЫЕ ОТСТУПЫ СЕКЦИЙ
   ───────────────────────────────────────────── */
.steps,
.catalog,
.inclusion,
.process,
.safe-deal,
.mortgage,
.reviews,
.geography {
  padding-top: var(--section-py-lg);
  padding-bottom: var(--section-py-lg);
}

/* reviews и geography сохраняют свои внутренние контейнеры с padding,
   но саму секцию делаем без боковых нулей чтобы фон тянулся правильно */
.reviews,
.geography {
  padding-left: 0;
  padding-right: 0;
}

/* ─────────────────────────────────────────────
   2. ОБЁРТКА ЗАГОЛОВКА (head / header)
   ───────────────────────────────────────────── */
.catalog__head,
.inclusion__head,
.process__head,
.safe-deal__head,
.mortgage__head,
.geography__header {
  max-width: 880px;
  margin: 0 0 clamp(40px, 5vw, 72px);
  display: block;
}

/* reviews — двухколонный (заголовок + бейдж Авито) */
.reviews__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  max-width: 100%;
  margin: 0 0 clamp(40px, 5vw, 72px);
}

.reviews__head-text {
  max-width: 880px;
}

@media (max-width: 860px) {
  .reviews__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }
}

/* ─────────────────────────────────────────────
   3. EYEBROW / LABEL — мелкая надпись над H2
   ───────────────────────────────────────────── */
.mortgage__label,
.reviews__eyebrow,
.geography__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4A6815;
  margin: 0 0 18px;
  padding: 0;
  background: none;
}

.mortgage__label::before,
.reviews__eyebrow::before,
.geography__eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #C9F25A;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

/* eyebrow на тёмной geography — приглушённый светлый */
.geography__eyebrow {
  color: rgba(197, 240, 86, 0.9);
}

/* ─────────────────────────────────────────────
   4. ЗАГОЛОВОК H2 — единый размер и вес
   ───────────────────────────────────────────── */
.steps__title,
.catalog__title,
.inclusion__title,
.process__title,
.safe-deal__title,
.mortgage__title,
.reviews__title,
.geography__title {
  font-family: var(--font-primary);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text-primary-light);
  text-align: left;
}

/* steps без subtitle — даём чуть больше воздуха снизу */
.steps__title {
  margin: 0 0 clamp(40px, 5vw, 64px);
}

/* geography — на тёмном */
.geography__title {
  color: #F5F3EE;
}

/* убираем принудительный <br> в geography__title на десктопе */
@media (min-width: 720px) {
  .geography__title br {
    display: none;
  }
}

/* ─────────────────────────────────────────────
   5. АКЦЕНТНАЯ ЧАСТЬ ЗАГОЛОВКА (серая, тонкая)
   ───────────────────────────────────────────── */
.catalog__title-accent,
.inclusion__title-accent,
.process__title-accent,
.safe-deal__title-accent,
.mortgage__title-accent,
.reviews__title span, 
.steps_title-accent,
.geography__title span {
  color: #6B6B6B;
  font-weight: 300;
  font-style: normal;   /* убирает курсив в reviews/geography */
}

/* акцент на тёмной geography */
.geography__title span {
  color: rgba(245, 243, 238, 0.55);
}

/* ─────────────────────────────────────────────
   6. ПОДЗАГОЛОВОК (subtitle / lead)
   ───────────────────────────────────────────── */
.catalog__subtitle,
.inclusion__subtitle,
.process__subtitle,
.safe-deal__subtitle,
.mortgage__subtitle,
.reviews__lead {
  font-family: var(--font-primary);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 400;
  line-height: 1.55;
  color: #2A2A2A;
  margin: 0;
  max-width: 640px;
}

/* mortgage subtitle: акцент на сумму остаётся зелёным */
.mortgage__subtitle strong {
  color: #4A6815;
  font-weight: 600;
}

/* geography__lead — лежит в .geography__info, не в header.
   Светлый текст на тёмном фоне сохраняем — задано в geography.css */

.geography__title span {
      color: #C5F056 !important;
}

