:root {
  --c-bg:          #FFFFFF;
  --c-bg-soft:     #F3F7FC;
  --c-bg-mint:     #EEF8F5;
  --c-bg-warm:     #FFF7EC;

  --c-ink:         #12263F;
  --c-ink-2:       #4B5D72;
  --c-ink-3:       #66778A;

  --c-line:        #DDE6F0;

  --c-brand:       #2F6FBF;
  --c-brand-600:   #245A9E;
  --c-brand-50:    #EAF2FB;

  --c-fresh:       #13A89E;
  --c-fresh-700:   #0B7F77;
  --c-fresh-50:    #E6F6F4;

  --c-cta:         #FFB547;
  --c-cta-600:     #F4A12C;
  --c-cta-ink:     #12263F;

  --c-success:     #17805A;
  --c-before:      #B4473F;
  --c-warn-bg:     #FFF1DC;
  --c-warn-ink:    #9A5A00;
  --c-before-bg:   #FFF4F2;

  --c-telegram:    #1877B8;

  --c-footer-bg:   #10233B;
  --c-footer-ink:  #C9D5E3;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(18,38,63,.06), 0 2px 8px rgba(18,38,63,.04);
  --shadow:    0 4px 12px rgba(18,38,63,.06), 0 12px 32px rgba(18,38,63,.06);
  --shadow-lg: 0 12px 40px rgba(18,38,63,.12);

  --container: 1200px;
  --header-h: 64px;
  --section-y: 64px;
  --gap: 20px;

  --white-08: rgba(255,255,255,.08);
  --white-12: rgba(255,255,255,.12);
  --white-14: rgba(255,255,255,.14);
  --white-18: rgba(255,255,255,.18);
  --white-25: rgba(255,255,255,.25);
  --white-85: rgba(255,255,255,.85);
  --white-90: rgba(255,255,255,.9);
  --white-92: rgba(255,255,255,.92);
  --footer-line: rgba(255,255,255,.1);
  --footer-dim: rgba(201,213,227,.75);
  --backdrop: rgba(18,38,63,.45);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; }

h1, h2, h3 { margin: 0; color: var(--c-ink); }
p { margin: 0; }

h1, h2 { letter-spacing: -0.02em; font-weight: 800; line-height: 1.12; }

h1 { font-size: clamp(34px, 6.5vw, 56px); }
h2 { font-size: clamp(28px, 4.5vw, 40px); }
h3 { font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; line-height: 1.3; }

:focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.icon { display: block; flex-shrink: 0; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn--cta { background: var(--c-cta); color: var(--c-cta-ink); }
.btn--cta:hover { background: var(--c-cta-600); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--secondary { background: var(--c-bg); border-color: var(--c-line); color: var(--c-ink); }
.btn--secondary:hover { border-color: var(--c-brand); }
.btn--brand { background: var(--c-brand); color: var(--c-bg); }
.btn--brand:hover { background: var(--c-brand-600); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--white { background: var(--c-bg); color: var(--c-ink); }
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }

@media (min-width: 1024px) {
  .btn { min-height: 56px; }
  .btn--sm { min-height: 40px; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--c-fresh-50);
  color: var(--c-fresh-700);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow--on-brand { background: var(--white-14); color: var(--c-bg); }
.eyebrow--warn { background: var(--c-warn-bg); color: var(--c-warn-ink); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white-92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.header__logo { display: inline-flex; align-items: center; }
.header__logo img { height: 40px; width: auto; }
.header__nav {
  display: none;
  margin: 0 auto;
  gap: 28px;
}
.header__nav a {
  padding: 10px 0;
  font-weight: 600;
  color: var(--c-ink);
  transition: color .15s ease;
}
.header__nav a:hover { color: var(--c-brand); }
.header__cta { display: none; }
.header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-ink);
  cursor: pointer;
}

.mobile-menu {
  overflow: hidden;
  max-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  background: var(--c-bg);
  transition: max-height .25s ease, padding .25s ease, box-shadow .25s ease;
}
.mobile-menu.is-open {
  max-height: min(420px, calc(100vh - var(--header-h)));
  overflow-y: auto;
  padding: 12px 16px 20px;
  box-shadow: var(--shadow);
}
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--c-line);
}
.mobile-menu a:hover { color: var(--c-brand); }
.mobile-menu__cta { margin-top: 12px; border-bottom: none; width: 100%; }

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
}
@media (min-width: 768px) {
  :root { --header-h: 72px; }
  .header__nav { display: flex; }
  .header__burger { display: none; }
  .mobile-menu { display: none; }
  .header__cta { margin-left: 0; }
}

/* ---------- Секции ---------- */
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--warm { background: var(--c-bg-warm); }
.section--brand { background: var(--c-brand); color: var(--c-bg); }
.section__head { margin-bottom: 32px; }
.section__head h2 { margin-bottom: 0; }
.section__sub { margin-top: 12px; color: var(--c-ink-2); font-size: 17px; font-weight: 500; line-height: 1.5; }
.section__lead { margin-top: 12px; max-width: 520px; color: var(--c-ink-2); font-size: 17px; font-weight: 500; line-height: 1.5; }
.section__head--split { display: flex; flex-direction: column; gap: 20px; }
.section__cta { margin-top: 40px; text-align: center; }

@media (min-width: 768px) {
  :root { --section-y: 96px; }
  .section__head { margin-bottom: 48px; }
  .section__head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

#reviews, #program, #tariffs, #faq { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Сетки ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2, .grid--3, .grid--4, .grid--format { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--format { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Карточки ---------- */
.card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--c-ink-2); }
.card--equal { display: flex; flex-direction: column; }

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: var(--c-brand-50);
  color: var(--c-brand);
  font-weight: 700;
}
.num--on-brand { background: var(--white-14); color: var(--c-bg); }

.tag-result {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--c-fresh-50);
  color: var(--c-fresh-700);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.card .tag-result { margin-top: auto; color: var(--c-fresh-700); }

.badge, .badge-max {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--c-cta);
  color: var(--c-cta-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}
.badge-max { flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-brand-50) 100%);
  padding: 40px 0 56px;
  overflow: hidden;
}
.hero__decor { position: absolute; inset: 0; pointer-events: none; }
.hero__bubble { position: absolute; border-radius: 50%; background: var(--c-brand); opacity: .08; }
.hero__bubble--1 { width: 260px; height: 260px; top: -80px; left: -90px; }
.hero__bubble--2 { width: 180px; height: 180px; bottom: -60px; right: 8%; opacity: .12; }
.hero__inner { position: relative; display: grid; gap: 32px; }
.hero__title { margin-bottom: 16px; }
.hero__accent { color: var(--c-fresh-700); }
.hero__lead {
  margin-bottom: 28px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-ink-2);
}
.hero__cta { width: 100%; }
.hero__media { position: relative; }
.hero__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: 30% 30%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--c-bg);
  box-shadow: var(--shadow);
}
.hero__badge-icon { color: var(--c-fresh); }
.hero__badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.hero__badge-text strong { font-size: 18px; font-weight: 800; }
.hero__badge-text span { font-size: 12px; color: var(--c-ink-2); }

@media (min-width: 768px) {
  .hero { padding: 56px 0 72px; }
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .hero__cta { width: auto; }
  .hero__img { height: 480px; }
}
@media (min-width: 1024px) {
  .hero__inner { min-height: min(760px, 90vh); }
  .hero__img { height: 520px; }
}

/* ---------- Отзывы / карусель ---------- */
.carousel__nav { display: flex; gap: 12px; }
.carousel__nav--desktop { display: none; }
.carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-ink);
  cursor: pointer;
  transition: box-shadow .15s ease, opacity .15s ease, color .15s ease;
}
.carousel__btn:hover { box-shadow: var(--shadow-sm); color: var(--c-brand); }
.carousel__btn:disabled { opacity: .4; cursor: default; }
.carousel__track {
  list-style: none;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.carousel__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; flex: 0 0 86%; display: flex; flex-direction: column; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-fresh-50);
  color: var(--c-fresh-700);
  font-weight: 700;
  flex-shrink: 0;
}
.review__who { display: flex; flex-direction: column; line-height: 1.25; }
.review__name { font-weight: 700; }
.review__role { font-size: 14px; color: var(--c-ink-3); }
.review__quote { margin-bottom: 18px; color: var(--c-ink-2); font-size: 16px; }
.review__result { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; font-size: 15px; }
.review__before { color: var(--c-before); text-decoration: line-through; }
.review__arrow { color: var(--c-ink-3); }
.review__after { color: var(--c-success); font-weight: 700; }
.carousel__nav--mobile { justify-content: center; margin-top: 24px; }

@media (min-width: 768px) {
  .carousel__nav--desktop { display: flex; }
  .carousel__nav--mobile { display: none; }
  .review { flex-basis: calc(50% - 8px); }
}
@media (min-width: 1024px) {
  .review { flex-basis: calc((100% - 32px) / 3); }
}

/* ---------- Для кого ---------- */
@media (min-width: 640px) { .card--equal { min-height: 100%; } }

/* ---------- Программа ---------- */
.program-card { display: flex; flex-direction: column; gap: 6px; }
.program-card__num { color: var(--c-brand); font-size: 28px; font-weight: 800; line-height: 1; }
.card .program-card__text { color: var(--c-ink); font-size: 18px; font-weight: 600; line-height: 1.4; }

/* ---------- Формат (синий блок) ---------- */
.section--brand .section__head h2 { color: var(--c-bg); }
.card--on-brand {
  background: var(--white-08);
  border-color: var(--white-18);
  box-shadow: none;
}
.card--on-brand h3 { color: var(--c-bg); }
.card--on-brand p { color: var(--white-85); }

/* ---------- Сертификат ---------- */
.certificate {
  background: var(--c-bg-mint);
  padding: 48px 0;
}
.certificate__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.certificate__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-fresh);
  color: var(--c-bg);
  flex-shrink: 0;
}
.certificate__title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .02em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .certificate { padding: 64px 0; }
  .certificate__row { flex-direction: row; justify-content: center; gap: 24px; text-align: left; }
}

/* ---------- Тарифы ---------- */
.tariffs { display: grid; gap: 24px; }
.tariff {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
}
.tariff--featured {
  border: 2px solid var(--c-brand);
  background: linear-gradient(180deg, var(--c-brand-50) 0%, var(--c-bg) 100%);
  box-shadow: var(--shadow);
}
.tariff__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tariff__head .tariff__name { margin-bottom: 0; }
.tariff__name { text-transform: uppercase; font-size: 18px; margin-bottom: 8px; }
@media (min-width: 768px) { .tariff__name { font-size: 20px; } }
.tariff__desc { margin-bottom: 12px; color: var(--c-ink-2); font-size: 16px; }
.tariff__tag { margin-top: 0; margin-bottom: 16px; }
.tariff__price { margin-bottom: 4px; color: var(--c-ink); font-size: clamp(40px, 4vw, 48px); font-weight: 800; line-height: 1; }
.tariff__split { margin-bottom: 4px; color: var(--c-ink-3); font-size: 14px; font-weight: 600; }
.tariff__term { margin-bottom: 4px; font-weight: 600; }
.tariff__meta { margin-bottom: 4px; color: var(--c-ink-3); font-size: 14px; }
.tariff__note { margin-bottom: 20px; color: var(--c-ink-3); font-size: 14px; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--c-ink); }
.checklist .check { color: var(--c-fresh); margin-top: 2px; }
.tariff .checklist { margin-bottom: 28px; flex: 1 1 auto; }
.tariff__btn { width: 100%; margin-top: auto; }
.tariff__btn--split { margin-top: 10px; }
.tariffs__footnote {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--c-ink-3);
  font-size: 14px;
}

@media (min-width: 768px) {
  .tariffs {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

/* ---------- Математика ---------- */
.calc-card { position: relative; }
.calc-card h3 { margin-bottom: 16px; }
.calc-card__badge { position: absolute; top: -11px; right: 20px; }
.calc-card__rows { margin: 0 0 16px; }
.calc-card__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line);
}
.calc-card__rows dt { color: var(--c-ink-3); font-size: 14px; }
.calc-card__rows dd { margin: 0; font-weight: 700; }
.calc-card .calc-card__label { margin-bottom: 8px; color: var(--c-warn-ink); font-weight: 600; }
.calc-card__loss { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.calc-card__loss li { color: var(--c-ink-2); font-size: 15px; }

.callout {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  background: var(--c-bg);
  border-left: 4px solid var(--c-cta);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.callout__icon { color: var(--c-warn-ink); flex-shrink: 0; }
.callout__body h3 { margin-bottom: 10px; }
.callout__body p { color: var(--c-ink-2); }
.callout__strong { margin-top: 12px; font-weight: 700; color: var(--c-ink); }

.math-quote {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--c-ink-2);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
}

.section--warm .section__sub { color: var(--c-ink-2); }

/* ---------- Посчитаем вместе ---------- */
.count-grid { display: grid; gap: var(--gap); }
.count-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  text-align: center;
}
.count-card__label { margin-bottom: 10px; color: var(--c-ink-2); font-size: 14px; }
.count-card__value { font-size: clamp(32px, 3.5vw, 40px); font-weight: 800; line-height: 1; margin-bottom: 10px; }
.count-card__note { color: var(--c-ink-3); font-size: 14px; }
.count-card--before { background: var(--c-before-bg); }
.count-card--before .count-card__value { color: var(--c-before); }
.count-card--after { background: var(--c-fresh-50); border-color: var(--c-fresh); }
.count-card--after .count-card__value { color: var(--c-fresh-700); }
.count-card--book { background: var(--c-bg-warm); }
.count-card--book .count-card__value { color: var(--c-warn-ink); }
.count-arrow { display: none; color: var(--c-ink-3); }
@media (min-width: 640px) and (max-width: 1023.98px) {
  .count-grid { max-width: 560px; margin: 0 auto; }
}
@media (min-width: 1024px) {
  .count-grid { grid-template-columns: 1fr auto 1fr 1fr; align-items: center; }
  .count-arrow { display: flex; align-items: center; justify-content: center; }
}

/* ---------- Контакты ---------- */
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.link-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.link-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--c-brand-50);
  color: var(--c-brand);
}
.link-card h3 { margin-bottom: 8px; }
.link-card p { color: var(--c-ink-2); font-size: 15px; }
.link-card__arrow { position: absolute; top: 20px; right: 20px; color: var(--c-ink-3); }
.link-card--accent { background: var(--c-brand); border-color: var(--c-brand); }
.link-card--accent h3 { color: var(--c-bg); }
.link-card--accent p { color: var(--white-85); }
.link-card--accent .link-card__icon { background: var(--white-18); color: var(--c-bg); }
.link-card--accent .link-card__arrow { color: var(--c-bg); }

.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: var(--c-bg);
  color: var(--c-ink);
  font-weight: 600;
  transition: border-color .15s ease;
}
.pill:hover { border-color: var(--c-brand); }
.pill .icon { color: var(--c-brand); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { color: var(--c-brand); transition: transform .2s ease; flex-shrink: 0; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 24px 20px; }
.faq__answer p { color: var(--c-ink-2); font-size: 16px; }

/* ---------- Места ---------- */
.places {
  background: var(--c-bg-warm);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 48px 0;
  text-align: center;
}
.places__top { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
.places__top .eyebrow { margin: 0; }
.places__clock { color: var(--c-warn-ink); }
.places h2 { margin-bottom: 16px; }
.places__text { max-width: 640px; margin: 0 auto 28px; color: var(--c-ink-2); }
.places__counters { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.places__counter {
  flex: 1 1 120px;
  max-width: 200px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
}
.places__num { display: block; font-size: clamp(32px, 3.5vw, 40px); font-weight: 800; line-height: 1; }
.places__cap { display: block; margin-top: 8px; color: var(--c-ink-2); font-size: 14px; }
.places__note { margin-top: 24px; font-weight: 600; color: var(--c-warn-ink); }
@media (min-width: 768px) { .places { padding: 64px 0; } }

/* ---------- Финальный призыв ---------- */
.final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-brand) 0%, var(--c-brand-600) 100%);
  color: var(--c-bg);
  padding: 64px 0;
  text-align: center;
}
.final__decor { position: absolute; inset: 0; pointer-events: none; }
.final__circle { position: absolute; border-radius: 50%; background: var(--c-bg); opacity: .12; }
.final__circle--1 { width: 220px; height: 220px; top: -70px; left: -60px; }
.final__circle--2 { width: 160px; height: 160px; bottom: -50px; right: 6%; }
.final__inner { position: relative; }
.final__title { color: var(--c-bg); margin-bottom: 16px; }
.final__text { max-width: 660px; margin: 0 auto 32px; color: var(--white-90); }
.final__card {
  max-width: 580px;
  margin: 0 auto 32px;
  padding: 24px;
  border: 1px solid var(--white-25);
  border-radius: var(--radius);
  background: var(--white-12);
  text-align: left;
}
.final__card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--c-cta);
  font-weight: 700;
}
.final__card p { color: var(--white-90); }
.final__actions { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto 24px; }
.final__actions .btn { width: 100%; }
.final__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  color: var(--white-85);
  font-size: 14px;
}
.final__trust span { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 768px) {
  .final { padding: 96px 0; }
  .final__actions { flex-direction: row; max-width: none; justify-content: center; }
  .final__actions .btn { width: auto; }
}

/* ---------- Модальное окно ---------- */
.booking-dialog {
  width: min(440px, calc(100% - 32px));
  max-width: 440px;
  padding: 32px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--c-bg);
  color: var(--c-ink);
  box-shadow: var(--shadow-lg);
}
.booking-dialog::backdrop { background: var(--backdrop); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.booking-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--c-bg-soft);
  color: var(--c-ink);
  cursor: pointer;
}
.booking-dialog__close:hover { background: var(--c-line); }
.booking-dialog__title { margin-bottom: 8px; font-size: 26px; }
.booking-dialog__sub { margin-bottom: 16px; color: var(--c-ink-2); font-weight: 600; }
.booking-dialog__warn {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--c-warn-bg);
  color: var(--c-warn-ink);
  font-size: 14px;
  font-weight: 600;
}
.booking-dialog__text { margin-bottom: 24px; color: var(--c-ink-2); }
.booking-dialog__actions { display: flex; flex-direction: column; gap: 12px; }
.booking-dialog__actions .btn { width: 100%; }
body.dialog-open { overflow: hidden; }

/* ---------- Плавающие кнопки ---------- */
.floaters {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floater {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: opacity .25s ease, transform .25s ease, background-color .18s ease;
}
.floater__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.floater--telegram { background: var(--c-telegram); color: var(--c-bg); }
.floater--telegram:hover { transform: translateY(-2px); }
.floater--cta { background: var(--c-cta); color: var(--c-cta-ink); }
.floater--cta:hover { background: var(--c-cta-600); transform: translateY(-2px); }
.floaters .floater { box-shadow: 0 0 0 2px var(--c-bg), var(--shadow-lg); }

.js-on .floaters { opacity: 0; visibility: hidden; }
.js-on .floaters.is-visible { opacity: 1; visibility: visible; }

@media (min-width: 1024px) {
  .floaters { right: 24px; bottom: 24px; }
  .floater { width: auto; height: 52px; padding: 0 20px; border-radius: var(--radius-pill); }
  .floater__text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
  }
}

/* ---------- Футер ---------- */
.site-footer {
  position: relative;
  background: var(--c-footer-bg);
  color: var(--c-footer-ink);
  padding: 48px 0 96px;
}
.site-footer__top {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
}
.site-footer__logo { display: inline-block; margin-bottom: 16px; }
.site-footer__logo img { height: 40px; width: auto; }
.site-footer p { color: var(--c-footer-ink); }
.site-footer__heading { margin-bottom: 14px; color: var(--c-bg); font-size: 18px; font-weight: 700; }
.site-footer__col p + p { margin-top: 8px; }
.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--c-footer-ink);
  transition: color .15s ease;
}
.site-footer__link + .site-footer__link { margin-top: 4px; }
.site-footer__link:hover { color: var(--c-bg); }
.site-footer__link .icon { color: var(--c-brand); }
.site-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--footer-line);
  font-size: 14px;
  color: var(--footer-dim);
}
.site-footer__bottom p { color: var(--footer-dim); }
.site-footer__bottom p + p { margin-top: 6px; }
.site-footer__legal { margin-top: 12px; }
.site-footer__legal a { text-decoration: underline; color: var(--c-footer-ink); }
.site-footer__legal a:hover { color: var(--c-bg); }

@media (min-width: 768px) {
  .site-footer { padding: 64px 0 96px; }
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}

/* ---------- Юридические страницы (оферта, политика) ---------- */
.header__back { margin-left: auto; white-space: nowrap; }
@media (max-width: 399.98px) {
  .header__back { padding: 8px 14px; font-size: 14px; }
  body:has(> .legal) .header__logo img { height: 34px; }
}
body:has(> .legal) { display: flex; flex-direction: column; min-height: 100vh; }
.legal { flex: 1 0 auto; padding: 32px 0 64px; background: var(--c-bg-soft); }
.legal__card {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
  box-shadow: var(--shadow-sm);
}
.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.legal__upd { margin: 0 0 28px; color: var(--c-ink-3); font-size: 14px; }
.legal h2 { margin: 36px 0 12px; color: var(--c-ink); font-size: 20px; font-weight: 700; line-height: 1.3; }
.legal p, .legal li { color: var(--c-ink-2); line-height: 1.7; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.legal li + li { margin-top: 4px; }
.legal strong { color: var(--c-ink); font-weight: 700; }
.legal a { color: var(--c-brand); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--c-brand-600); }
.legal__req { margin: 24px 0; padding: 20px 24px; border-radius: var(--radius); background: var(--c-brand-50); }
.legal__req p { margin: 2px 0; color: var(--c-ink); font-size: 15px; }
.legal__note {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--c-cta);
  border-radius: var(--radius-sm);
  background: var(--c-warn-bg);
}
.legal__note p { margin: 0; color: var(--c-ink); font-size: 15px; }
.notfound { text-align: center; }
.notfound .notfound__code { margin: 0 0 8px; color: var(--c-brand); font-size: 64px; font-weight: 800; line-height: 1; }
.notfound .notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 0; }
.notfound .notfound__actions a { text-decoration: none; }
.notfound .notfound__actions .btn--cta { color: var(--c-cta-ink); }
.notfound .notfound__actions .btn--secondary { color: var(--c-ink); }
.legal a.btn { text-decoration: none; }
.site-footer--legal { padding: 32px 0; }
.site-footer--legal .site-footer__bottom { padding-top: 0; border-top: 0; }

@media (min-width: 768px) {
  .legal { padding: 56px 0 96px; }
  .legal__card { padding: 48px 56px; }
  .site-footer--legal { padding: 40px 0; }
}

@media (max-width: 767.98px) {
  .hero__decor, .final__decor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
