/* ════════════════════════════════════════════════════
   Finale — «Терапия с финалом»
   Тёмная полоса между прайсингом и диагностикой:
   как ставится цель, как сверяемся, как завершаем.
   Tokens: design-system/colors_and_type.css
   ════════════════════════════════════════════════════ */

.finale {
  background: var(--text-dark, #2A2520);
  padding: clamp(72px, 8vw, 104px) 0;
}
.finale__container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 var(--gutter, 40px);
}

/* ─── Header ─── */
.finale__eyebrow {
  font: 500 13px/1.3 var(--font-body);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px;
  text-align: center;
}
.finale__eyebrow::before,
.finale__eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.finale__title {
  font: 600 clamp(30px, 3.2vw, 42px)/1.15 var(--font-serif);
  letter-spacing: -0.5px;
  color: #F5F1EC;
  text-align: center;
  margin: 0 auto 18px;
  max-width: 760px;
  text-wrap: balance;
}
.finale__title em {
  font-style: italic;
  color: var(--accent);
}
.finale__lead {
  font: 400 italic clamp(18px, 1.5vw, 21px)/1.65 var(--font-serif);
  color: rgba(245, 241, 236, 0.84);
  text-align: center;
  margin: 0 auto;
  max-width: 640px;
  text-wrap: pretty;
}

/* ─── Три шага ─── */
.finale__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin: clamp(40px, 5vw, 56px) 0 0;
  padding: 0;
}
.finale__step {
  border-top: 1px solid rgba(245, 241, 236, 0.18);
  padding-top: 22px;
}
/* ─── Лёгкий hover на шагах ─── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .finale__step {
    transition: transform 0.28s ease, border-top-color 0.28s ease;
  }
  .finale__step:hover {
    transform: translateY(-3px);
    border-top-color: rgba(200, 121, 42, 0.6);
  }
}
.finale__step-num {
  display: block;
  font: 700 15px/1 var(--font-num, var(--font-body));
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.finale__step-title {
  font: 600 clamp(19px, 1.7vw, 22px)/1.3 var(--font-serif);
  color: #F5F1EC;
  margin: 0 0 10px;
  text-wrap: pretty;
}
.finale__step-text {
  font: 400 15px/1.6 var(--font-body);
  color: rgba(245, 241, 236, 0.78);
  margin: 0;
  text-wrap: pretty;
}

/* ─── Сроки ─── */
.finale__note {
  font: 400 15px/1.6 var(--font-body);
  color: rgba(245, 241, 236, 0.78);
  text-align: center;
  margin: clamp(36px, 4.5vw, 48px) auto 0;
  max-width: 680px;
  text-wrap: pretty;
}
.finale__note strong {
  font-weight: 600;
  color: #F5F1EC;
}
.finale__note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur, 0.25s) var(--ease-out, ease);
}
.finale__note a:hover {
  color: #F5B36A;
}

/* ─── Адаптив ─── */
@media (max-width: 830px) {
  .finale {
    padding: 64px 0;
  }
  .finale__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
