/*
Theme Name: Astro Care
Theme URI: https://astro-care.ru/
Author: Astro Care
Description: Кастомная классическая тема для сайта ведического астролога Лианы Яшиной. Вёрстка, стили и скрипты собраны в теме, контент одностраничника — в front-page.php.
Version: 1.4.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astro-care
Tags: one-column, custom-menu, custom-logo, translation-ready
*/

/* ---------------------------------------------------------------------------
   0. Шрифты редизайна — подключаются прямо из CSS, чтобы не править PHP-шаблоны
   Prata — заголовки (h1/h2, .section__title), Cormorant Garamond — акцентная
   речь (тёмные секции, цитата, цифры), Montserrat — интерфейс и карточки.
   --------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Prata&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');


/* ---------------------------------------------------------------------------
   1. Токены дизайна (единый набор CSS-переменных темы)
   --------------------------------------------------------------------------- */
:root {
  --brand: #5B3741;          /* основной брендовый цвет */
  --gold: #D4AF37;           /* золотые кнопки и акценты */
  --deep: #2D2342;           /* тёмно-фиолетовый (подвал, градиенты) */
  --night: #0A0E17;          /* почти чёрный (градиенты) */
  --heading: #1A1F2E;        /* цвет заголовков h2 */
  --text: #000000;           /* основной текст */
  --muted: #4A4A4A;
  --line: #D2D2D2;           /* границы */
  --hover: #D78989;          /* ховер пунктов меню */
  --soft: #F5F5F5;           /* светлый фон секций */
  --white: #FFFFFF;
  --badge: #8B0000;          /* плашка с ценой */
  --radius: 12px;
  --radius-sm: 5px;
  --card-shadow: 0 0 10px 0 rgba(0, 0, 0, .22);
  --soft-shadow: 0 0 6px 0 rgba(0, 0, 0, .1);
  --container: 1320px;   /* решение №16: 1240 → 1320; с 1600px — 1400 (см. ниже) */
  --font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

/* ---------------------------------------------------------------------------
   2. Базовый сброс и типографика
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; transition: color .3s ease; }
a:hover, a:focus { color: var(--hover); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-weight: 700; line-height: 1.25; }

h1 { font-size: 40px; font-weight: 700; text-transform: uppercase; color: var(--brand); }
h2 { font-size: 35px; color: var(--heading); }
h3 { font-size: 25px; color: var(--heading); }
h4 { font-size: 21px; color: var(--heading); }
h5 { font-size: 18px; font-weight: 500; color: var(--muted); }

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 20px; padding-left: 22px; }
li { margin-bottom: 8px; }
li:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------------------------------------------------------------------------
   3. Сетка и служебные классы
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Решение №16 (13.10.2026): сетка выросла с 1240 до 1320 px, а с 1600 px — до
   1400 px. На 1920 px при 1240 px контент занимал 64 % ширины экрана и полосы
   пустого поля по 340 px читались как «узкая колонка». Здесь только токен:
   остальные правила (--rh-*, max-width в ch, брейкпоинты 1100/780) от ширины
   контейнера не зависят и остались прежними. */
@media (min-width: 1600px) {
  :root { --container: 1400px; }
}

.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.section--white { background: var(--white); }
.section--tight { padding: 80px 0; }

.section__title { margin-bottom: 20px; }
.section__title--center { text-align: center; }
.section__lead { text-align: center; max-width: 900px; margin: 0 auto 50px; color: var(--muted); }

[id] { scroll-margin-top: 100px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link:focus {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  width: auto; height: auto; clip: auto; margin: 0;
  padding: 10px 18px; background: var(--gold); color: var(--text); border-radius: var(--radius-sm);
}

/* ---------------------------------------------------------------------------
   4. Кнопки (глобальные настройки кнопки из kit)
   --------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  padding: 16px 30px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.btn--gold {
  background-color: var(--gold);
  color: var(--text);
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, .69);
}

.btn--gold:hover, .btn--gold:focus {
  background-color: #C39E2C;
  color: var(--text);
  transform: translateY(-2px);
}

.btn--small { font-size: 16px; padding: 15px 25px; }
.btn--block { display: block; width: 100%; }

/* ---------------------------------------------------------------------------
   5. Шапка сайта
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}

.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }

/* Раскладка шапки — три зоны: логотип слева, меню ровно по центру, кнопка
   справа. Решение №18 (13.10.2026): раньше строку собирал флекс с
   `justify-content: space-between`, а меню имело `margin-left: auto` и
   прижималось к кнопке. Из-за этого центр меню «плавал»: на 1440 px он
   случайно совпадал с осью контейнера, а на 1600/1920 px уезжал вправо на
   40 px (замер _screens/header_hero_before.md). Грид `1fr auto 1fr` держит
   центральную колонку на оси: крайние колонки равны (их задаёт более широкий
   из логотипа и кнопки — 180 px и 294 px), поэтому центр меню совпадает с
   центром секции. Ниже 1181 px раскладка снова флекс: там меню уходит в
   выпадающую панель (см. 16.). */
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 28px;
  min-height: 84px;
}

.site-logo { display: flex; align-items: center; justify-self: start; }
.site-logo img { max-height: 60px; width: auto; }
.site-logo__text { font-size: 22px; font-weight: 700; color: var(--brand); }

.site-nav { justify-self: center; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list li { margin: 0; }

/* Пункты меню: один кегль (15 px), один шаг (15 px — равен кеглю) и «тихая»
   золотая линия на ховере — активный пункт читается без жирного начертания.
   Вертикальный padding 10 px даёт ровную кликабельную полосу. */
.site-nav__list a {
  position: relative;
  display: inline-block;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 10px 0;
  /* Подпись пункта не рвётся на две строки (замер _shots/probe_header.txt:
     при 17px/gap 34px строка требовала 807px против 666px доступных). */
  white-space: nowrap;
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a { color: var(--hover); }

.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after,
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current_page_item > a::after { transform: scaleX(1); }

.site-header__cta { justify-self: end; }

/* Кнопка шапки компактнее общей `.btn` из 16.1b (`padding: 16px 32px`,
   15 px → 306 px ширины) и не переносится на вторую строку. Селектор из двух
   классов обязателен: он перебивает позднее правило `.btn` при равной
   специфичности. 286 px вместо 306 px выравнивает крайние колонки грида, и
   центр меню остаётся точно на оси контейнера (замер after: 0 px). */
.site-header .site-header__cta { padding: 15px 22px; white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--brand);
  content: "";
  transition: transform .3s ease, background .3s ease;
}

.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before { position: absolute; top: -7px; }
.nav-toggle__bar::after { position: absolute; top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------------
   6. Первый экран (hero)
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 60px 0;
  color: var(--white);
  background-color: var(--night);
  background-image: var(--hero-bg, none);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, #0A0E17 0%, #2D2342 100%);
  opacity: .57;
}

.hero > .container { position: relative; z-index: 1; }

.hero__inner {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 40px;
  align-items: center;
}

.hero__eyebrow {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  margin: 0 0 20px;
  font-size: 35px;
  line-height: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.hero__text {
  margin: 0 0 25px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--white);
}

.check-list { margin: 0 0 30px; padding: 0; list-style: none; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
}

.check-list li:last-child { margin-bottom: 0; }

.check-list__icon { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 4px; fill: var(--gold); }

.hero__media img {
  width: 100%;
  border: 5px solid var(--white);
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------------------
   7. Секция «Как проходит консультация»
   --------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card { text-align: left; }

.card__media { margin-bottom: 22px; }

.card__media img { width: 100%; border-radius: var(--radius); }

.card__title { margin: 0 0 12px; font-size: 22px; }

.card__text { font-size: 16px; line-height: 1.6; color: var(--muted); }

.card__text ul { margin-top: 10px; padding-left: 20px; font-size: 16px; }

/* ---------------------------------------------------------------------------
   8. Секция «Выберите свой путь гармонизации» (тарифы)
   --------------------------------------------------------------------------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.price-card__title { margin: 0 0 16px; font-size: 22px; text-align: center; }

.price-card__badge {
  margin: 0 20px 22px;
  padding: 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--white);
  background: var(--badge);
  border-radius: 20px;
}

.price-card__list {
  margin: 0 0 26px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.price-card .btn { margin-top: auto; }

/* ---------------------------------------------------------------------------
   9. Секция «Мой путь в ведической астрологии»
   --------------------------------------------------------------------------- */
.about { padding: 100px 0; }

.about__title { margin: 0 0 50px; font-size: 32px; }

.about__inner {
  display: grid;
  grid-template-columns: 33.333% 63%;
  justify-content: space-between;
  gap: 0;
  align-items: start;
}

.about__text { font-size: 17px; line-height: 1.65; }

.slider { position: relative; }

.slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}

.slider__track::-webkit-scrollbar { display: none; }

.slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.slider__slide img {
  width: 100%;
  border: 1px solid var(--deep);
  border-radius: var(--radius);
}

.slider__nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.slider__btn {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--brand);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}

.slider__btn:hover, .slider__btn:focus { background: var(--gold); color: var(--text); }

/* ---------------------------------------------------------------------------
   10. Секция «Как проходит наша работа» (шаги)
   --------------------------------------------------------------------------- */
.steps { display: flex; flex-direction: column; gap: 60px; }

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.step:nth-child(even) .step__media { order: -1; }

.step__title { margin: 0 0 14px; font-size: 25px; }

.step__text { font-size: 17px; line-height: 1.65; color: var(--muted); }

.step__media img { width: 100%; border-radius: var(--radius); }

/* ---------------------------------------------------------------------------
   11. Секция «Вопросы и ответы» (аккордеон)
   --------------------------------------------------------------------------- */
.faq .section__title { margin-bottom: 12px; }

.faq__subtitle {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 17px;
  color: var(--muted);
}

.faq__list { display: flex; flex-direction: column; gap: 25px; }

.faq__item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px;
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::before {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.faq__item[open] .faq__question { color: var(--brand); }
.faq__item[open] .faq__question::before { content: "\2013"; color: var(--brand); }

.faq__question:hover { color: var(--brand); }

.faq__answer {
  padding: 0 28px 30px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.faq__answer p { margin-bottom: 14px; }
.faq__answer ul { padding-left: 20px; }
.faq__answer li { margin-bottom: 6px; }

.faq__more {
  margin-top: 40px;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: var(--heading);
}

/* ---------------------------------------------------------------------------
   12. Секция призыва «Оставьте заявку»
   --------------------------------------------------------------------------- */
.cta {
  position: relative;
  padding: 120px 0;
  color: var(--white);
  background-color: var(--night);
  background-image: var(--cta-bg, none);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, #0A0E17 0%, #2D2342 100%);
  opacity: .85;
}

.cta > .container { position: relative; z-index: 1; }

.cta__inner {
  display: grid;
  grid-template-columns: 60% 35%;
  gap: 5%;
  align-items: center;
}

.cta__title { margin: 0 0 20px; color: var(--white); }

.cta__text { font-size: 22px; line-height: 1.6; color: var(--white); }

.cta__action { text-align: center; }

/* ---------------------------------------------------------------------------
   13. Подвал
   --------------------------------------------------------------------------- */
.site-footer {
  padding: 30px 0;
  color: var(--white);
  background: var(--deep);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
}

.site-footer a { color: var(--white); }
.site-footer a:hover, .site-footer a:focus { color: var(--gold); }

.site-footer__bottom p { margin: 0; }

.site-footer__legal {
  margin-top: 6px !important;
  max-width: 900px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
}

/* Юридические документы (L-2…L-4): ссылки выводятся из footer.php, только если
   страница опубликована. Мелкий кегль и приглушённая линия — читаемо, но не
   перетягивает внимание от контактов справа. */
.site-footer__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer__docs li { margin: 0; }

.site-footer__docs a {
  color: rgba(255, 255, 255, .74);
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  transition: color .15s ease, border-color .15s ease;
}

.site-footer__docs a:hover,
.site-footer__docs a:focus {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ---------------------------------------------------------------------------
   14. Общие шаблоны (страницы, записи, ничего не найдено)
   --------------------------------------------------------------------------- */
.entry { padding: 70px 0; }

.entry__title {
  margin: 0 0 25px;
  font-size: 35px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--heading);
}

.entry__content { font-size: 18px; line-height: 1.7; }
.entry__content > * + * { margin-top: 20px; }
.entry__content h2 { font-size: 30px; }
.entry__content h3 { font-size: 25px; }
.entry__content ul, .entry__content ol { padding-left: 24px; }
.entry__content li { margin-bottom: 8px; }
.entry__content img { max-width: 100%; height: auto; border-radius: var(--radius); }

.entry__content .wp-block-image img { border-radius: var(--radius); }

.pagination,
.navigation.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--brand);
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text);
}

/* ---------------------------------------------------------------------------
   15. Секции одностраничника (B2–B18)
   --------------------------------------------------------------------------- */

/* 15.0 Общие вспомогательные */
.site-main { display: block; }

.section__note {
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.section__actions { margin-top: 40px; text-align: center; }

.prose {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.prose--center { text-align: center; }

/* Кнопка-контур (второе действие рядом с золотой) */
.btn--ghost {
  padding: 14px 28px;
  color: var(--brand);
  background: transparent;
  box-shadow: none;
  border: 2px solid var(--brand);
}

.btn--ghost:hover, .btn--ghost:focus {
  color: var(--white);
  background: var(--brand);
  transform: translateY(-2px);
}

.btn--on-dark { color: var(--white); border-color: var(--white); }

.btn--on-dark:hover, .btn--on-dark:focus {
  color: var(--text);
  background: var(--gold);
  border-color: var(--gold);
}

/* 15.1 Первый экран: действия под текстом */
.hero__content { min-width: 0; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.hero__note { margin: 16px 0 0; font-size: 15px; color: rgba(255, 255, 255, .8); }

/* 15.2 Карточки без изображения */
.cards--plain { align-items: stretch; }

.card--plain {
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.card--plain .card__title { font-size: 20px; }

/* 15.3 «Что вы получите на выходе» */
.outcome {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.outcome__intro { font-size: 17px; line-height: 1.65; color: var(--muted); }

.outcome__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }

.outcome__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 20px 24px;
  font-size: 17px;
  line-height: 1.55;
  background: var(--soft);
  border-radius: var(--radius);
}

.outcome__list .check-list__icon { width: 18px; height: 18px; margin-top: 5px; }

/* 15.4 «Как считается разбор» */
.method { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.method__item {
  padding: 30px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.method__num { margin: 0 0 14px; font-size: 28px; font-weight: 700; line-height: 1; color: var(--gold); }

.method__title { margin: 0 0 12px; font-size: 21px; }

.method__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* 15.5 «С чем ко мне приходят» */
.requests {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requests__item {
  position: relative;
  margin: 0;
  padding: 20px 24px 20px 52px;
  font-size: 17px;
  line-height: 1.55;
  background: var(--soft);
  border-radius: var(--radius);
}

.requests__item::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 24px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

/* 15.6 Шаги «Как проходит наша работа» */
.step__content { font-size: 17px; }

/* 15.7 «Подойдёт / не подойдёт» */
.fit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.fit__col {
  padding: 34px 30px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
}

.fit__col--yes { border-color: var(--gold); }

.fit__col--no { background: var(--soft); }

.fit__title { margin: 0 0 20px; font-size: 22px; }

.fit__list { margin: 0; padding: 0; list-style: none; }

.fit__list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.fit__list li:last-child { margin-bottom: 0; }

.fit__col--yes .fit__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #2E7D32;
}

.fit__col--no .fit__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--badge);
}

/* 15.8 «Не знаете, как сформулировать вопрос?» — 8 вопросов */
.formulate {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 30px;
  margin: 0 0 50px;
  padding: 0;
  list-style: none;
  counter-reset: formulate;
}

.formulate__item {
  position: relative;
  margin: 0;
  padding: 24px 26px 24px 76px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  counter-increment: formulate;
}

.formulate__item::before {
  content: counter(formulate);
  position: absolute;
  top: 24px;
  left: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: var(--gold);
  border-radius: 50%;
}

.formulate__q { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--heading); }

.formulate__hint { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Тёмный акцентный блок-CTA */
.accent {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 40px;
  color: var(--white);
  background: var(--deep);
  border-radius: var(--radius);
}

.accent__title { margin: 0 0 12px; font-size: 24px; color: var(--white); }

.accent__text { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .85); }

.accent__action { text-align: center; }

/* 15.9 «Сопровождение» */
.coaching__intro { max-width: 900px; margin-bottom: 40px; }

.coaching__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.coaching__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 22px 24px;
  font-size: 16px;
  line-height: 1.55;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.coaching__list .check-list__icon { width: 18px; height: 18px; margin-top: 5px; }

.coaching__action { text-align: center; }

.coaching__note { margin: 16px 0 0; font-size: 16px; color: var(--muted); }

/* 15.10 Тарифы: обоснование цены */
.price-card__note { margin: 0 0 14px; font-size: 15px; line-height: 1.5; text-align: center; color: var(--muted); }

.price-rationale {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 40px;
  background: var(--soft);
  border-radius: var(--radius);
}

.price-rationale__title { margin: 0 0 18px; font-size: 24px; }

.price-rationale p { font-size: 17px; line-height: 1.65; color: var(--muted); }

.price-rationale .section__note { margin: 20px 0 0; max-width: none; text-align: left; }

/* 15.11 Отзывы */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.review {
  margin: 0;
  padding: 30px;
  background: var(--soft);
  border-radius: var(--radius);
}

.review__text { margin: 0 0 20px; font-size: 17px; font-style: italic; line-height: 1.65; color: var(--muted); }

.review__meta { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--muted); }

.review__meta strong { font-size: 17px; color: var(--heading); }

/* 15.12 Юридический слой — секции B18 больше нет (решение №15, 13.10.2026):
   правила оплаты и отмены → сноска .price-terms в #services, дисклеймер
   и ссылки на оферту/политику ПД/согласие → подвал (.site-footer__docs). */

/* 15.13 Финальный CTA: списки и телефон */
.cta__notes {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cta__notes li {
  position: relative;
  margin: 0;
  padding-left: 26px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
}

.cta__notes li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 6px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.cta__content { min-width: 0; }

.cta__phone { margin: 26px 0 0; font-size: 20px; font-weight: 700; color: var(--white); }

.cta__phone a { color: var(--gold); }

.cta__phone a:hover, .cta__phone a:focus { color: var(--white); }

/* 15.14 Липкая полоса записи (мобильные) */
.sticky-cta { display: none; }

/* 15.15 Галерея «Мой путь» — контейнер слайдера */
.about__gallery { min-width: 0; }

/* ---------------------------------------------------------------------------
   16. Адаптивность (breakpoint kit: 1181px / 1180px / 1024px / 768px)
   --------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------
   Шапка ≥1181px: меню в одну строку (замер _shots/probe_header.txt, 1440px).
   Контейнер 1240px минус padding 2×20 = 1200px контента; логотип 180px, кнопка
   306px, gap 24px → меню доступно 666px. При 17px и gap 34px пункты требуют
   637+5×34 = 807px, поэтому флекс сжимал li (53px против натуральных 77px) и
   подписи переносились на две строки. На 15px сумма подписей 561px, gap 12px →
   621px из 666px (запас 45px): строка гарантированно одна, перенос запрещён
   nowrap'ом, а flex: none запрещает сжатие пунктов (иначе вместо переноса
   подпись вылезла бы за вьюпорт — это ловят probe_header/probe_hscroll).
   --------------------------------------------------------------------------- */
@media (min-width: 1181px) {
  /* Меню доступно 750 px (контейнер 1280 − логотип 180 − кнопка 294 − два
     зазора по 28). Сумма подписей 561 px + 5×15 px = 636 px = половина
     доступного места: строка одна и центр меню точно на оси секции. */
  .site-nav__list { gap: 15px; flex-wrap: nowrap; }
  .site-nav__list li { flex: none; }
  .site-nav__list a { font-size: 15px; white-space: nowrap; }
}

/* 1181–1279: контейнер ещё не дорос до 1240px, поэтому кнопка и отступы
   компактнее. Селектор с ДВУМЯ классами («.site-header .site-header__cta»)
   здесь обязателен: в секции 16.1b ниже лежит переопределение `.btn {
   padding: 16px 32px; font-size: 15px }`, которое при равной специфичности
   (0,1,0) побеждает по порядку и раздувает кнопку до 306px. Замер (_shots/
   probe_header_wide.txt): при 14px/13px 20px кнопка 266px, и на 1181px
   (контента 1141px) строка «лог 180 + меню 611 + кнопка 266 + два gap 16»
   = 1105px, запас 36px вместо 12px. */
@media (min-width: 1181px) and (max-width: 1279px) {
  .site-header__inner { gap: 16px; }
  .site-nav__list { gap: 10px; }
  .site-header .site-header__cta { padding: 13px 20px; font-size: 14px; }
}

/* ---------------------------------------------------------------------------
   Шапка ≤1180px: горизонтальное меню в одну строку здесь физически не влезает
   (на 1025px доступно 507px, а шесть пунктов требуют 621px даже на 15px/gap
   12px — расчёт в _shots/probe_header.txt). Поэтому с 1180px и ниже работает
   мобильная схема: бургер и выпадающая панель меню. Золотая кнопка остаётся
   видимой на 769–1180 (нижняя полоса .sticky-cta включается только ≤768),
   для чего в строке шапки ей задан margin-left: auto — logo слева, «Записаться»
   и бургер справа. Кегль кнопки компактный, селектор из двух классов — чтобы
   победить поздний `.btn` из 16.1b (замер: кнопка 266px; на 769px контента
   729px, строка «логотип 180 + кнопка 266 + бургер 46 + два gap 24» = 540px).
   --------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  /* Грид шапки рассчитан на горизонтальное меню: ниже 1181 px меню вынуто из
     потока (position: fixed, выпадающая панель), поэтому строку снова собирает
     флекс — логотип слева, кнопка и бургер справа. */
  .site-header__inner { display: flex; justify-content: space-between; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .site-header__cta { margin-left: auto; padding: 13px 20px; font-size: 14px; }

  .site-nav {
    position: fixed;
    top: 85px;
    right: 0;
    left: 0;
    z-index: 99;
    display: none;
    margin: 0;
    padding: 10px 20px 30px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 18px rgba(0, 0, 0, .08);
  }

  .site-nav.is-open { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-nav__list li { flex: none; }
  /* в выпадающей панели длинная подпись может переноситься — nowrap только для строки */
  .site-nav__list a { display: block; padding: 12px 0; font-size: 18px; white-space: normal; }

  /* золотая линия ховера относится к горизонтальной строке — в панели не нужна */
  .site-nav__list a::after { display: none; }
}

@media (max-width: 1024px) {
  h1 { font-size: 32px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }

  .section { padding: 70px 0; }
  .section--tight { padding: 60px 0; }

  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__title { font-size: 28px; line-height: 1.2; }
  .hero__media { max-width: 520px; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }

  .about__inner { grid-template-columns: 1fr; gap: 30px; }
  .about__title { margin-bottom: 30px; }

  .cta { padding: 80px 0; background-attachment: scroll; }
  .cta__inner { grid-template-columns: 1fr; gap: 30px; }
  .cta__action { text-align: left; }

  /* Секции одностраничника */
  .outcome { grid-template-columns: 1fr; gap: 30px; }
  .requests { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
  .formulate { grid-template-columns: 1fr; margin-bottom: 40px; }
  .coaching__list { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .accent { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
  .accent__action { text-align: left; }
  .price-rationale { margin-top: 40px; padding: 30px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  h1 { font-size: 27px; }
  h2 { font-size: 25px; }
  h3 { font-size: 21px; }

  .section { padding: 50px 0; }

  .site-header__inner { min-height: 70px; }
  .site-logo img { max-height: 46px; }
  .site-nav { top: 71px; }
  /* на телефонах кнопку шапки заменяет нижняя полоса .sticky-cta */
  .site-header__cta { display: none; }

  .hero { padding: 40px 0; }
  .hero__eyebrow { font-size: 20px; }
  .hero__title { font-size: 24px; }
  .hero__text { font-size: 17px; }

  .cards { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }

  .section__lead { margin-bottom: 35px; }

  .step { grid-template-columns: 1fr; gap: 24px; }
  .step:nth-child(even) .step__media { order: 0; }

  .faq__question { padding: 20px; font-size: 17px; }
  .faq__answer { padding: 0 20px 24px; font-size: 16px; }
  .faq__more { font-size: 18px; }

  .cta { padding: 60px 0; }
  .cta__text { font-size: 18px; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }

  /* Секции одностраничника */
  .outcome__list li,
  .requests__item,
  .formulate__item,
  .coaching__list li { font-size: 16px; }

  .formulate__item { padding: 20px 20px 20px 64px; }

  .formulate__item::before {
    top: 20px;
    left: 20px;
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .formulate__q { font-size: 17px; }

  .accent { padding: 26px 20px; }

  .accent__title { font-size: 21px; }

  .price-rationale { margin-top: 40px; padding: 24px 20px; }

  .price-rationale__title { font-size: 21px; }

  .fit__col { padding: 26px 20px; }

  .review { padding: 24px 20px; }

  /* Липкая полоса записи: два тап-таргета по 48 px */
  body { padding-bottom: 78px; }

  .sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .12);
  }

  .sticky-cta__link {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: var(--brand);
    background: var(--white);
    border: 2px solid var(--brand);
    border-radius: var(--radius-sm);
  }

  .sticky-cta__link--primary {
    color: var(--text);
    background: var(--gold);
    border-color: var(--gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------------------------------------------------------------------
   16. РЕДИЗАЙН ГЛАВНОЙ (2026): редакционная система
   ---------------------------------------------------------------------------
   16.1 Токены и глобальная типографика
   ---------------------------------------------------------------------------
   1. Глубину даёт не тень, а тонкая линия, сам фон и крупная типографика.
   2. 18 секций разведены тремя ритмами отступов (--rh-c / --rh-a / --rh-b)
      и сменой поверхности: две соседние секции никогда не совпадают.
   3. Заголовки — Prata; акцентная речь (тёмные секции, цитата, цифры) —
      Cormorant Garamond; интерфейс и карточки — Montserrat.
   4. Золото на светлом фоне — только линии, точки и цифры >= 24px;
      мелкий золотой текст заменён на --gold-ink (контраст >= 6:1).
   --------------------------------------------------------------------------- */
:root {
  --font-display: 'Prata', 'Times New Roman', serif;
  --font-accent: 'Cormorant Garamond', 'Prata', 'Times New Roman', serif;

  --paper: #FBF6EF;
  --paper-2: #F4EBDF;
  --ink: #1A1826;
  --heading: #241E30;
  --text: #1A1826;
  --muted: #57525F;
  --soft: #FBF6EF;
  --line: rgba(26, 24, 38, .12);
  --line-h: rgba(26, 24, 38, .10);
  --line-faint: rgba(26, 24, 38, .06);
  --gold-ink: #7A6114;
  --gold-deep: #B08A2A;
  --night-1: #0B0E1A;
  --night-2: #191338;

  --rad-btn: 999px;
  --rad-card: 20px;
  --rad-chip: 12px;

  --rh-c: clamp(84px, 7.6vw, 150px);   /* пауза между смысловыми блоками */
  --rh-a: clamp(64px, 5.8vw, 112px);   /* обычный шаг */
  --rh-b: clamp(48px, 4.4vw, 80px);    /* плотная подача */

  --shadow-card: 0 1px 0 rgba(26, 24, 38, .04), 0 14px 30px -20px rgba(45, 35, 66, .28);
  --shadow-lift: 0 2px 0 rgba(26, 24, 38, .05), 0 28px 50px -26px rgba(45, 35, 66, .34);
}

body {
  font-size: clamp(16px, 0.9rem + 0.18vw, 17.5px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
}

h1, h2, h3, h4 { text-transform: none; letter-spacing: normal; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--heading);
}

h3 { font-family: var(--font); font-weight: 600; line-height: 1.35; }

/* Заголовок и лид секции — единая шкала для всех секций главной */
.section__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(27px, 1.05rem + 1.5vw, 40px);
  line-height: 1.16;
  letter-spacing: -.005em;
  color: var(--heading);
  text-wrap: balance;
}

.section__title--center { max-width: 30ch; margin-right: auto; margin-left: auto; text-align: center; }

.section__lead {
  max-width: 62ch;
  margin: 0 auto clamp(28px, 3vw, 44px);
  font-size: clamp(16.5px, 0.95rem + 0.2vw, 18.5px);
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

.section__lead p { margin: 0; }

.section__note {
  max-width: 74ch;
  margin: clamp(26px, 2.8vw, 40px) auto 0;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--muted);
}

.section__lead strong, .section__note strong, .card__text strong,
.hero__text strong, .outcome__intro strong, .step__text strong {
  color: var(--ink);
  font-weight: 600;
}

/* --- 16.1b Кнопки, радиусы, тени, карта поверхностей и ритма --- */
:root {
  --radius: 20px;
  --radius-sm: 14px;
  --card-shadow: var(--shadow-card);
  --soft-shadow: 0 1px 0 rgba(26, 24, 38, .04), 0 10px 22px -18px rgba(45, 35, 66, .24);
  --hover: #E0C069;          /* золото вместо розового в пунктах меню */
}

.btn {
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--rad-btn);
}

.btn--gold {
  color: #221A0C;
  background-color: var(--gold);
  background-image: linear-gradient(180deg, #E4C96B 0%, #D4AF37 52%, #C39E2C 100%);
  box-shadow: 0 14px 26px -18px rgba(176, 138, 42, .85);
}

.btn--gold:hover, .btn--gold:focus {
  color: #221A0C;
  background-color: var(--gold-deep);
  background-image: linear-gradient(180deg, #EBD381 0%, #DBB845 52%, #C8A32E 100%);
  box-shadow: 0 20px 34px -18px rgba(176, 138, 42, .95);
}

.btn--ghost {
  padding: 15px 30px;
  border-width: 1px;
  border-radius: var(--rad-btn);
}

.btn--block { border-radius: var(--rad-btn); }

.hero .btn--ghost, #contacts .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); }

.hero .btn--ghost:hover, .hero .btn--ghost:focus,
#contacts .btn--ghost:hover, #contacts .btn--ghost:focus {
  color: var(--night-1);
  background: var(--gold);
  border-color: var(--gold);
}

a:focus-visible, button:focus-visible, summary:focus-visible,
.btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

/* 16.1c Карта поверхностей и ритма: 18 секций, между соседями — всегда разница */
.section { padding-block: var(--rh-a); }

#honest        { padding-block: var(--rh-b); background: var(--white); }
#jyotish       { padding-block: var(--rh-c); background: var(--paper); }
#how           { padding-block: var(--rh-a); background: var(--white); }
#outcome       { padding-block: var(--rh-c); background-color: var(--night-1); background-image: linear-gradient(155deg, var(--night-1) 0%, var(--night-2) 100%); }
#method        { padding-block: var(--rh-a); background: var(--paper-2); }
#requests      { padding-block: var(--rh-b); background: var(--white); }
#question-help { padding-block: var(--rh-a); background: var(--paper); }
#services      { padding-block: var(--rh-c); background: var(--white); }
#coaching      { padding-block: var(--rh-a); background: var(--brand); }
#after         { padding-block: var(--rh-b); background: var(--white); }
#fit           { padding-block: var(--rh-a); background: var(--paper); }
#my-path       { padding-block: var(--rh-c); background: var(--white); }
#process       { padding-block: var(--rh-a); background: var(--paper-2); }
#faq           { padding-block: var(--rh-c); background: var(--white); }
#reviews       { padding-block: var(--rh-b); background: var(--paper); }
#contacts      { padding-block: var(--rh-a); }

/* ---------------------------------------------------------------------------
   16.2 B1 «Первый экран» — фото + тёмная вуаль + архивная арка портрета
   --------------------------------------------------------------------------- */
#about { position: relative; padding-block: clamp(90px, 9vw, 144px) clamp(74px, 7.5vw, 120px); }

/* Вуаль и звёздная пыль поверх существующего фото (--hero-bg), не вместо него */
#about::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1.5px 1.5px at 27% 68%, rgba(255, 255, 255, .38), transparent 60%),
    radial-gradient(1.3px 1.3px at 41% 13%, rgba(255, 255, 255, .46), transparent 60%),
    radial-gradient(1.3px 1.3px at 56% 46%, rgba(255, 255, 255, .3), transparent 60%),
    radial-gradient(1.5px 1.5px at 68% 81%, rgba(255, 255, 255, .4), transparent 60%),
    radial-gradient(1.3px 1.3px at 82% 30%, rgba(255, 255, 255, .46), transparent 60%),
    radial-gradient(1.3px 1.3px at 92% 62%, rgba(255, 255, 255, .34), transparent 60%),
    radial-gradient(1.5px 1.5px at 34% 88%, rgba(255, 255, 255, .3), transparent 60%),
    radial-gradient(closest-side at 78% 6%, rgba(212, 175, 55, .16), transparent 100%),
    linear-gradient(104deg, rgba(11, 14, 26, .72) 0%, rgba(11, 14, 26, .4) 48%, rgba(25, 19, 56, .16) 100%);
}

#about > .container { position: relative; z-index: 2; }

/* Пропорция колонок первого экрана. Решение №19 (13.10.2026): соседние числа
   Фибоначчи 8 : 5 = 61,5 % : 38,5 % ≈ золотое сечение φ = 1,618 (8/5 = 1,6).
   Было 1.06fr : .94fr (53 : 47) — медиа-колонка 603 px при контейнере 1400:
   кадр 603×827 px занимал 92 % высоты вьюпорта 900 и сам задавал высоту секции
   (inner 827 против текстовых 781). Стало — 494 px (кадр 494×677), то есть
   −18 % по высоте и −33 % по площади, а высоту первого экрана снова задаёт
   текст. Замер: _screens/hero_ratio_before.md → hero_ratio_after.md.
   Арка не ломается: сумма верхних радиусов (280 + 280) больше ширины кадра,
   поэтому браузер масштабирует радиусы пропорционально (480/560) и полукруг
   остаётся полукругом. minmax(0, …) сохранён: у <img> ширина 864 px — без
   нулевого минимума медиа-колонка не сжималась бы. */
/* Выравнивание колонок первого экрана по верхней линии. Решение №20 (13.10.2026):
   было `align-items: center` — колонки центрировались по высоте строки грида, и фото
   начиналось ниже заголовка ровно на (h_текста − h_фото)/2: 60 px при 1440 (текст 757
   против фото 637) и 28 px при 1920 (734 / 677), живой замер
   _screens/live-1.4.2-hero.json. Стало `start`: верх .hero__content и .hero__media
   совпадает с верхом строки грида, то есть фото встаёт по верхней линии h1.
   Высоту строки (и всей секции #about) по-прежнему задаёт текстовая колонка — она выше,
   поэтому высота страницы не меняется, а фото поднимается на те же 60 / 28 px.
   Ниже 1100 px колонки складываются в одну, у каждого элемента своя строка грида —
   на планшете и телефоне правка не даёт эффекта. Замер: _screens/hero_top_align.md. */
#about .hero__inner { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: clamp(34px, 5vw, 76px); align-items: start; }

#about .hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, .92);
}

#about .hero__eyebrow::before { content: ""; width: 46px; height: 1px; background: rgba(212, 175, 55, .6); }

/* Кегль h1 первого экрана. Решение №17 (13.10.2026): прежний clamp
   (32…54 px) на 1440 px давал 54 px и пять строк — заголовок перекрывал
   половину экрана. Верх снижен до 48 px, середина — до 1.3rem + 2.25vw:
   было 390 → 32.5 / 1024 → 49 / 1440 → 54 px, стало 30 / 43.8 / 48 px
   (≈ −10 % на каждой ширине, замер _screens/header_hero_after.md). */
#about .hero__title {
  max-width: 20ch;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 1.3rem + 2.25vw, 48px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--white);
  text-wrap: balance;
}

#about .hero__text {
  max-width: 58ch;
  margin: 0 0 clamp(26px, 3vw, 36px);
  font-size: clamp(16.5px, 1rem + .2vw, 18.5px);
  line-height: 1.72;
  color: rgba(255, 255, 255, .84);
}

#about .hero__text strong, #about .check-list li b { color: var(--white); font-weight: 600; }

#about .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
  margin: 0 0 clamp(28px, 3vw, 36px);
}

#about .check-list li { display: flex; gap: 12px; margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
#about .check-list li b { display: block; }
#about .check-list__icon { width: 14px; height: 14px; margin-top: 6px; fill: var(--gold); }

#about .hero__actions { gap: 14px; margin-top: 0; }

#about .hero__note {
  max-width: 54ch;
  margin: clamp(24px, 2.6vw, 34px) 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .62);
}

#about .hero__media { position: relative; }

/* Свечение вокруг фото. Правый вылет был -8% ширины медиа: медиа прижата к краю страницы
   (правый край = ширина вьюпорта минус padding контейнера 20px), поэтому уже с 1280px документ
   получал горизонтальное переполнение: +3px при 1280, +21px при 1200, +20px при 1150, +65px при
   1100 (замеры — _shots/probe_glow.txt, _shots/probe_pseudo.txt, там же доказано гашением псевдо:
   без него scrollWidth == vw). Правая граница ограничена 12px — меньше отступа контейнера,
   поэтому декор остаётся, а за вьюпорт не выходит на любой ширине (проверено свипом
   _shots/probe_sweep.txt). Остальные стороны: -6% сверху, -10% снизу, -6% слева. */
#about .hero__media::before {
  content: "";
  position: absolute;
  inset: -6% -12px -10% -6%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(212, 175, 55, .18), transparent 100%);
}

#about .hero__media img {
  position: relative;
  border: 0;
  border-radius: 280px 280px var(--rad-card) var(--rad-card);
  outline: 1px solid rgba(212, 175, 55, .45);
  outline-offset: 12px;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7);
}

/* 16.2.1 Подпись «Лиана Яшина» — поверх фотографии, у нижнего края кадра.
   Раньше имя стояло отдельным абзацем (.hero__eyebrow) слева от фото и дублировало
   само себя; теперь это подпись на портрете: имя — Prata, роль — мелкий золотой капс.
   Кадр снизу тёмный (одежда), но текст не должен зависеть от снимка: под именем
   всегда лежит скрим из двух стопов — контраст белого текста >= 4.5:1 на любом кадре.
   Подпись — реальный текст в DOM (не картинка): читается скринридером и поиском. */
#about .hero__portrait { position: relative; margin: 0; }

#about .hero__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: clamp(60px, 8vw, 96px) clamp(18px, 2.4vw, 30px) clamp(20px, 2.2vw, 30px);
  border-radius: 0 0 var(--rad-card) var(--rad-card);
  background-image: linear-gradient(180deg, rgba(11, 14, 26, 0) 0%, rgba(11, 14, 26, .45) 46%, rgba(11, 14, 26, .88) 100%);
  text-align: center;
}

#about .hero__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 1rem + 1.9vw, 44px);
  line-height: 1.12;
  letter-spacing: .02em;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(11, 14, 26, .6);
}

/* Золотая волосинка под именем — тот же приём, что был у .hero__eyebrow::before. */
#about .hero__name::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 14px auto 0;
  background: rgba(212, 175, 55, .8);
}

#about .hero__role {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, .95);
}

/* ---------------------------------------------------------------------------
   16.3 B2 «Честно о том, чего не будет» — открытый реестр без карточек
   --------------------------------------------------------------------------- */
#honest .section__lead { max-width: 58ch; }

#honest .cards--plain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 4.4vw, 60px);
  border-top: 1px solid var(--line-h);
}

#honest .card--plain {
  padding: 28px 0 30px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-faint);
  border-radius: 0;
  box-shadow: none;
}

#honest .card__title { margin: 0 0 12px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--heading); }
#honest .card__title::before { content: ""; display: block; width: 26px; height: 2px; margin-bottom: 16px; background: rgba(176, 138, 42, .55); }
#honest .card__text p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--muted); }

/* ---------------------------------------------------------------------------
   16.4 B3 «Что такое джйотиш» — колонка текста + глоссарий строками
   --------------------------------------------------------------------------- */
#jyotish .section__title { margin-bottom: clamp(30px, 3.4vw, 46px); }

#jyotish .prose {
  max-width: 1020px;
  margin: 0 auto clamp(36px, 4vw, 58px);
  columns: 2;
  column-gap: clamp(32px, 4.4vw, 64px);
  font-size: 16.5px;
  line-height: 1.75;
  text-align: left;
  color: var(--muted);
}

#jyotish .prose p { margin: 0 0 18px; break-inside: avoid; }
#jyotish .prose p:last-child { margin-bottom: 0; }

#jyotish .cards--plain { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-h); }

#jyotish .card--plain {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: start;
  padding: 26px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-faint);
  border-radius: 0;
  box-shadow: none;
}

#jyotish .card__title { margin: 0; font-family: var(--font-accent); font-weight: 600; font-size: clamp(21px, 1.1rem + .6vw, 25px); line-height: 1.25; color: var(--heading); }
#jyotish .card__text p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* 16.4b Мандала зодиака: текст слева, иллюстрация справа.
   Файл `2025/11/ecda6d0c…_2.jpeg` уже лежал в медиатеке, но на странице не использовался:
   золотая мандала на звёздном фоне — тот же материал, что палитра §16 (навы + золото). */
#jyotish .jyotish {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: clamp(30px, 4.2vw, 68px);
  align-items: center;
}

/* В узкой колонке двухколоночный набор текста нечитаем — набор в одну колонку. */
#jyotish .jyotish__body .prose { max-width: none; margin: 0 0 clamp(28px, 3vw, 44px); columns: 1; }

#jyotish .jyotish__figure { margin: 0; }

#jyotish .jyotish__figure img {
  width: 100%;
  border-radius: var(--rad-card);
  outline: 1px solid rgba(176, 138, 42, .38);
  outline-offset: 10px;
  box-shadow: var(--shadow-lift);
}

#jyotish .jyotish__caption {
  margin: 26px 0 0;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  color: var(--muted);
}

/* ---------------------------------------------------------------------------
   16.5 B4 «Как проходит консультация» — фотокарточки с прорастающей линией
   --------------------------------------------------------------------------- */
#how .section__lead { max-width: 66ch; }
#how .cards { gap: clamp(18px, 2.2vw, 28px); }

#how .card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-h);
  border-radius: var(--rad-card);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

#how .card:hover { border-color: rgba(176, 138, 42, .4); box-shadow: var(--shadow-card); transform: translateY(-3px); }
#how .card__media { margin: 0; overflow: hidden; }

#how .card__media img {
  width: 100%;
  height: clamp(180px, 15vw, 216px);
  object-fit: cover;
  border-radius: 0;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

#how .card:hover .card__media img { transform: scale(1.045); }
#how .card__title { margin: 26px 26px 0; font-size: 19px; }

#how .card__title::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-top: 14px;
  background: rgba(176, 138, 42, .6);
  transition: width .45s ease;
}

#how .card:hover .card__title::after { width: 78px; }
#how .card__text { padding: 14px 26px 30px; font-size: 15px; line-height: 1.66; }
#how .card__text p { margin: 0 0 12px; }
#how .card__text p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   16.6 B5 «Что вы получите на выходе» — ночная секция, стеклянные плитки
   --------------------------------------------------------------------------- */
#outcome { position: relative; overflow: hidden; color: var(--white); }

#outcome::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(212, 175, 55, .2), transparent 100%);
}

#outcome > .container { position: relative; z-index: 1; }

#outcome .outcome { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: clamp(30px, 4.4vw, 72px); align-items: start; }

#outcome .section__title {
  margin-bottom: 18px;
  font-family: var(--font-accent);
  font-weight: 300;
  font-size: clamp(30px, 1.1rem + 2vw, 44px);
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--white);
}

#outcome .outcome__intro { max-width: 46ch; font-size: 16.5px; line-height: 1.72; color: rgba(255, 255, 255, .72); }
#outcome .outcome__intro p { margin: 0; }
#outcome .outcome__intro strong { color: var(--white); }

#outcome .outcome__list { gap: 12px; }

#outcome .outcome__list li {
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--rad-chip);
  transition: background-color .3s ease, border-color .3s ease;
}

#outcome .outcome__list li:hover { background: rgba(212, 175, 55, .1); border-color: rgba(212, 175, 55, .4); }
#outcome .outcome__list .check-list__icon { fill: var(--gold); }

/* 16.6b Мандала как фоновая текстура ночной секции: та же иллюстрация, что в §16.4b,
   но приглушённая и уведённая в верхний правый угол — читается как свечение звездного
   неба, а не как второй показ картинки. URL подставляет PHP (--mandala-bg,
   functions.php → astro_care_background_vars). Контент секции лежит выше (z-index: 1). */
#outcome::after {
  content: "";
  position: absolute;
  top: -14%;
  right: -6%;
  width: min(760px, 72%);
  aspect-ratio: 1344 / 768;
  background-image: var(--mandala-bg, none);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .26;
  -webkit-mask-image: radial-gradient(closest-side, #000 26%, transparent 76%);
  mask-image: radial-gradient(closest-side, #000 26%, transparent 76%);
  pointer-events: none;
}

/* ---------------------------------------------------------------------------
   16.7 B6 «Как считается разбор» — bento-сетка, первая плитка бордо
   --------------------------------------------------------------------------- */
#method .method { gap: clamp(14px, 1.6vw, 20px); }

#method .method__item {
  padding: clamp(26px, 2.6vw, 38px);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(26, 24, 38, .07);
  border-radius: var(--rad-card);
  box-shadow: none;
}

#method .method__item:first-child,
#method .method__item:last-child { grid-column: 1 / -1; }

#method .method__item:first-child { background: var(--brand); border-color: transparent; }

#method .method__num {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--gold-deep);
}

#method .method__num::after { content: ""; flex: 0 0 auto; width: 30px; height: 1px; background: rgba(176, 138, 42, .5); }

#method .method__title { margin: 0 0 12px; font-size: clamp(18px, 1rem + .35vw, 21px); }
#method .method__text { margin: 0; font-size: 15.5px; line-height: 1.68; color: var(--muted); }

#method .method__item:first-child .method__num { color: rgba(212, 175, 55, .95); }
#method .method__item:first-child .method__num::after { background: rgba(212, 175, 55, .5); }
#method .method__item:first-child .method__title { color: var(--white); }
/* Длина строки: у широкой плитки №5 текст растягивался на всю сетку — с ростом
   контейнера до 1320/1400 px строка доходила до 84 знаков. Ограничение общее для
   всех плиток: узкие колонки (592 px) оно не трогает, широкая уходит к 66 знакам —
   так же, как текст первой плитки. */
#method .method__text { max-width: 66ch; }
#method .method__item:first-child .method__text { color: rgba(255, 255, 255, .78); }

/* 16.7b Тонкий орнамент в первой (бордовой) плитке — вектор, а не файл:
   «орбиты» рисует SVG-линия в палитре темы (currentColor → золото). Растровые
   линейные картинки прежнего сайта (белая линия на тёмно-серой подложке) на бордовом
   дают видимый светлый прямоугольник — от них отказались. */
#method .method__item:first-child { position: relative; overflow: hidden; }

#method .method__art {
  position: absolute;
  top: 50%;
  right: -2%;
  width: clamp(190px, 21vw, 290px);
  height: auto;
  transform: translateY(-50%);
  color: rgba(212, 175, 55, .55);
  opacity: .55;
  pointer-events: none;
}

/* ---------------------------------------------------------------------------
   16.8 B7 «С чем ко мне приходят» — плотные плитки-опции 4×2
   --------------------------------------------------------------------------- */
#requests .section__lead { max-width: 60ch; }

#requests .requests { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

#requests .requests__item {
  display: flex;
  align-items: center;
  min-height: 104px;
  padding: 20px 20px 20px 40px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(26, 24, 38, .06);
  border-radius: var(--rad-chip);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

#requests .requests__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 7px;
  height: 7px;
  margin: 0;
  transform: translateY(-50%);
  background: var(--gold-deep);
  border: 0;
  border-radius: 50%;
}

#requests .requests__item:hover { background: var(--white); border-color: rgba(176, 138, 42, .45); box-shadow: var(--shadow-card); }

/* ---------------------------------------------------------------------------
   16.9 B8 «Не знаете, как сформулировать вопрос» — индекс 01–08 + тёмная панель
   --------------------------------------------------------------------------- */
#question-help .section__lead { max-width: 62ch; }

#question-help .formulate {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(30px, 4.4vw, 68px);
  margin: 0 0 clamp(34px, 3.6vw, 54px);
  border-top: 1px solid var(--line-h);
}

#question-help .formulate__item {
  padding: 22px 0 22px 56px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-faint);
  border-radius: 0;
  box-shadow: none;
}

#question-help .formulate__item::before {
  content: counter(formulate, decimal-leading-zero);
  position: absolute;
  top: 24px;
  left: 0;
  display: block;
  width: auto;
  height: auto;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 21px;
  line-height: 1;
  letter-spacing: .04em;
  color: rgba(176, 138, 42, .9);
  background: none;
  border-radius: 0;
}

#question-help .formulate__q { margin: 0 0 6px; font-size: 16.5px; font-weight: 600; line-height: 1.45; color: var(--heading); }
#question-help .formulate__hint { margin: 0; font-size: 14.5px; line-height: 1.58; color: var(--muted); }

#question-help .accent {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3vw, 52px);
  align-items: center;
  padding: clamp(30px, 3.4vw, 48px);
  background-color: var(--night-1);
  background-image: linear-gradient(150deg, var(--night-1) 0%, var(--night-2) 100%);
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: var(--rad-card);
}

#question-help .accent__title {
  margin: 0 0 12px;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: clamp(22px, 1.1rem + .8vw, 28px);
  line-height: 1.25;
  color: var(--white);
}

#question-help .accent__text p { max-width: 62ch; margin: 0; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .76); }
#question-help .accent__text strong { color: var(--gold); font-weight: 600; }
#question-help .accent__action { text-align: right; }

/* ---------------------------------------------------------------------------
   16.10 B9 «Форматы работы» — «Введение» полосой, три тарифа в ряд
   --------------------------------------------------------------------------- */
#services .pricing__grid { display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; }

#services .price-card {
  flex: 1 1 calc(33.333% - 12px);
  min-width: 258px;
  padding: 30px 28px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line-h);
  border-radius: var(--rad-card);
  box-shadow: var(--shadow-card);
}

#services .price-card:last-child { border-color: rgba(176, 138, 42, .5); }

/* Первая карточка — вводный формат полосой на всю ширину */
#services .price-card:first-child {
  display: flex;
  flex-direction: row; /* .price-card задаёт column — здесь нужна полоса, а не вертикальный стек */
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px clamp(20px, 2.4vw, 36px);
  padding: clamp(24px, 2.4vw, 34px) clamp(24px, 2.8vw, 40px);
  background: var(--paper);
  border-color: rgba(176, 138, 42, .35);
  box-shadow: none;
}

#services .price-card__title { margin: 0 0 14px; font-size: 19px; font-weight: 600; line-height: 1.3; text-align: left; }
#services .price-card__note { margin: 0 0 12px; font-size: 14px; line-height: 1.55; text-align: left; color: var(--muted); }

#services .price-card__badge {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 1.2rem + 1.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-align: left;
  color: var(--gold-ink);
  background: none;
  border-radius: 0;
}

#services .price-card__list { margin: 0 0 26px; padding: 0; font-size: 14.5px; line-height: 1.6; }

#services .price-card__list li { position: relative; margin: 0 0 10px; padding-left: 20px; list-style: none; }
#services .price-card__list li::before { content: ""; position: absolute; top: .68em; left: 0; width: 9px; height: 1px; background: rgba(176, 138, 42, .65); }
#services .price-card .btn { margin-top: auto; }

#services .price-card:first-child .price-card__title { margin: 0; font-size: 21px; white-space: nowrap; }
#services .price-card:first-child .price-card__badge { margin: 0; font-size: 30px; }
#services .price-card:first-child .price-card__note { margin: 0; }
/* list — grid, иначе flex-wrap даёт неконтролируемое 2/1/1 вместо ровных 2/2 */
#services .price-card:first-child .price-card__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); flex: 1 1 340px; gap: 8px 22px; margin: 0; font-size: 14.5px; color: var(--muted); }
#services .price-card:first-child .price-card__list li { margin: 0; }
#services .price-card:first-child .btn { flex: 0 0 auto; width: auto; margin-left: auto; }

/* Панель «Как формируется цена» — продолжение тарифов, не новая секция */
#services .price-rationale {
  max-width: 1000px;
  margin: clamp(34px, 3.6vw, 56px) auto 0;
  padding: clamp(28px, 3vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line-h);
  border-radius: var(--rad-card);
}

#services .price-rationale__title { margin: 0 0 16px; font-family: var(--font-accent); font-weight: 600; font-size: clamp(21px, 1.1rem + .6vw, 26px); line-height: 1.25; color: var(--heading); }
#services .price-rationale p { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
#services .price-rationale strong { color: var(--ink); font-weight: 600; }

/* 16.10b B9b Сноска «Оплата, перенос и отмена» (L-5) — свёрнутая строка под тарифами.
   До 13.10.2026 это была отдельная секция в самом низу страницы: две крупные карточки,
   дубль дисклеймера из подвала и юридический текст уже после формы записи. Смысл тот же,
   но как сноска к цене: та же ширина, что у панели «почему так» (1000 px), кегль 14,5 px,
   золотая линия слева вместо карточки с рамкой. Клик по заголовку сворачивает блок —
   на телефоне секция цен не растягивается лишним экраном. */
#services .price-terms {
  max-width: 1000px;
  margin: clamp(18px, 2vw, 26px) auto 0;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 30px);
  background: transparent;
  border: 1px solid var(--line-h);
  border-left: 2px solid rgba(176, 138, 42, .55);
  border-radius: 0 var(--rad-chip) var(--rad-chip) 0;
}

#services .price-terms__summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: clamp(17px, .95rem + .3vw, 20px);
  line-height: 1.3;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}

#services .price-terms__summary::-webkit-details-marker { display: none; }

#services .price-terms__summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-accent);
  font-size: 20px;
  line-height: 1;
  color: var(--gold-ink);
}

#services .price-terms[open] .price-terms__summary::after { content: "–"; }
#services .price-terms__summary:hover, #services .price-terms__summary:focus-visible { color: var(--gold-ink); }

#services .price-terms__body { margin-top: 14px; }
#services .price-terms__body p { margin: 0; max-width: 66ch; font-size: 14.5px; line-height: 1.72; color: var(--muted); }
#services .price-terms__body ul { margin: 0; padding-left: 20px; max-width: 66ch; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
#services .price-terms__body li { margin: 0 0 6px; }

/* ---------------------------------------------------------------------------
   16.11 B10 «Сопровождение» — бордовая панель, реестр условий
   --------------------------------------------------------------------------- */
#coaching { position: relative; overflow: hidden; color: var(--white); }

#coaching::before {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(212, 175, 55, .16), transparent 100%);
}

#coaching > .container { position: relative; z-index: 1; }

#coaching .coaching {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  column-gap: clamp(30px, 4.4vw, 72px);
  row-gap: clamp(28px, 3vw, 44px);
  align-items: start;
}

#coaching .coaching__intro { max-width: none; margin: 0; }

#coaching .section__title {
  margin-bottom: 16px;
  font-family: var(--font-accent);
  font-weight: 300;
  font-size: clamp(30px, 1.1rem + 2vw, 44px);
  line-height: 1.12;
  color: var(--white);
}

#coaching .coaching__intro p { margin: 0; font-size: 16px; line-height: 1.72; color: rgba(255, 255, 255, .72); }

#coaching .coaching__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 2.6vw, 40px); margin: 0; }

#coaching .coaching__list li {
  position: relative;
  display: block;
  padding: 18px 0 18px 30px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
  background: none;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  box-shadow: none;
}

#coaching .coaching__list .check-list__icon { position: absolute; top: 22px; left: 0; width: 16px; height: 16px; margin: 0; fill: var(--gold); }

#coaching .coaching__action {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  text-align: left;
}

#coaching .coaching__action .btn { flex: 0 0 auto; }
#coaching .coaching__note { flex: 1 1 240px; margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .6); }

/* ---------------------------------------------------------------------------
   16.12 B11 «Что происходит после консультации» — три колонки с вертикалями
   --------------------------------------------------------------------------- */
#after .cards--plain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }

#after .card--plain {
  padding: 4px clamp(20px, 2.6vw, 42px);
  background: none;
  border: 0;
  border-left: 1px solid var(--line-h);
  border-radius: 0;
  box-shadow: none;
}

#after .card--plain:first-child { padding-left: 0; border-left: 0; }
#after .card--plain:last-child { padding-right: 0; }

#after .card__title { margin: 0 0 14px; font-family: var(--font-accent); font-weight: 600; font-size: clamp(21px, 1.1rem + .5vw, 25px); line-height: 1.25; color: var(--heading); }
#after .card__text p { margin: 0; font-size: 15px; line-height: 1.68; color: var(--muted); }

/* ---------------------------------------------------------------------------
   16.13 B12 «Кому подойдёт» — два вердикта: работа и отказ
   --------------------------------------------------------------------------- */
#fit .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); align-items: start; }

#fit .fit__col { padding: clamp(26px, 2.6vw, 38px); border-radius: var(--rad-card); }

#fit .fit__col--yes { background: rgba(255, 255, 255, .86); border: 1px solid rgba(176, 138, 42, .45); }
#fit .fit__col--no { background: transparent; border: 1px dashed rgba(26, 24, 38, .22); }

#fit .fit__title {
  display: block;
  margin: 0 0 20px;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#fit .fit__col--yes .fit__title { color: var(--gold-ink); }
#fit .fit__col--no .fit__title { color: var(--muted); }

#fit .fit__list { border-top: 1px solid var(--line-faint); }

#fit .fit__list li {
  margin: 0;
  padding: 15px 0 15px 30px;
  font-size: 15.5px;
  line-height: 1.6;
  border-bottom: 1px solid var(--line-faint);
}

#fit .fit__list li:last-child { padding-bottom: 0; border-bottom: 0; }
#fit .fit__col--yes .fit__list li::before { content: "\2713"; font-size: 15px; font-weight: 400; color: var(--gold-deep); }
#fit .fit__col--no .fit__list li::before { content: "\2014"; font-weight: 400; color: rgba(26, 24, 38, .38); }

/* ---------------------------------------------------------------------------
   16.14 B16 «Мой путь в ведической астрологии» — биография и архив
   --------------------------------------------------------------------------- */
#my-path { padding-block: calc(var(--rh-a) * 1.15) var(--rh-a); }
#my-path .about__title { margin-bottom: clamp(30px, 3.4vw, 48px); }

#my-path .about__inner {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: clamp(30px, 4.4vw, 72px);
  align-items: start;
}

#my-path .about__gallery { position: sticky; top: 96px; align-self: start; }

#my-path .about__gallery::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  pointer-events: none;
  border: 1px solid rgba(176, 138, 42, .35);
  border-radius: var(--rad-card);
}

#my-path .slider { position: relative; z-index: 1; overflow: hidden; border-radius: var(--rad-card); box-shadow: 0 30px 60px -34px rgba(26, 24, 38, .45); }
#my-path .slider__slide img { display: block; width: 100%; height: auto; border-radius: 0; }
/* Навигация слайдера — отдельной строкой ПОД снимком: раньше она лежала поверх
   фото (position: absolute; right/bottom 16px) и закрывала подпись «Филипп Козуб»
   на сертификате — подтверждено кропами _shots/peek_nav*.png. position/inset
   переопределяем явно, т.к. базовое .slider__nav (раздел 9) может быть absolute. */
#my-path .slider__nav { position: static; inset: auto; display: flex; justify-content: flex-end; gap: 8px; margin: 16px 0 0; }

/* Фон секции #my-path — var(--white). Замер _shots/probe_btn_contrast.txt:
   белый кружок на белом = 1.00:1, бордер rgba(26,24,38,.18) = 1.46:1 — кнопка
   не читалась как элемент управления (видна была только стрелка). Золотой бордер
   --gold-deep (#B08A2A) даёт 3.2:1 — норма WCAG 1.4.11 для нетекстовых элементов,
   и перекликается с золотой рамкой .about__gallery::before. */
#my-path .slider__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--night-1);
  background: var(--white);
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  box-shadow: 0 8px 20px -12px rgba(26, 24, 38, .45);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

#my-path .slider__btn:hover, #my-path .slider__btn:focus {
  background: var(--gold);
  border-color: rgba(176, 138, 42, .55);
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, .69);
  transform: translateY(-2px);
}

#my-path .about__text { font-size: 16.5px; line-height: 1.78; color: var(--muted); }
#my-path .about__text p { margin: 0 0 18px; }
#my-path .about__text strong { color: var(--heading); font-weight: 600; }

#my-path .about__text p:last-child {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-h);
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: clamp(20px, 1.05rem + .7vw, 25px);
  line-height: 1.45;
  color: var(--heading);
}

#my-path .about__text p:last-child strong { font-weight: 400; }

/* ---------------------------------------------------------------------------
   16.15 B17 «Как проходит наша работа» — пять шагов зигзагом
   --------------------------------------------------------------------------- */
#process .section__lead { max-width: 62ch; }

/* Текст шага: колонка 850 px при сетке 1400 px давала 85 знаков в строке (замер
   _tmp/check-home/probe_type_measure.py). 66 знаков — та же мера, что у лида. */
#process .step__text p { max-width: 66ch; }
#process .steps { display: grid; gap: clamp(14px, 1.8vw, 22px); margin: 0; counter-reset: step-no; }

#process .step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 32px);
  counter-increment: step-no;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(26, 24, 38, .06);
  border-radius: var(--rad-card);
  box-shadow: none;
  transition: border-color .35s ease, box-shadow .35s ease;
}

#process .step::before { content: none; }
#process .step:hover { border-color: rgba(176, 138, 42, .4); box-shadow: var(--shadow-card); }
#process .step:nth-child(even) { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
#process .step:nth-child(even) .step__media { order: -1; }
#process .step__content { padding-inline: clamp(4px, 1vw, 14px); }

#process .step__title {
  margin: 0 0 12px;
  font-size: clamp(19px, 1rem + .45vw, 23px);
  font-weight: 600;
  line-height: 1.3;
}

#process .step__title::before {
  content: counter(step-no, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--gold-deep);
}

#process .step__text { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
#process .step__text p { margin: 0; }
#process .step__media { margin: 0; }

#process .step__media img {
  display: block;
  width: 100%;
  height: clamp(150px, 13vw, 196px);
  object-fit: cover;
  border-radius: var(--rad-chip);
}

/* ---------------------------------------------------------------------------
   16.16 B14 «Вопросы и ответы» — реестр со сквозной нумерацией
   --------------------------------------------------------------------------- */
#faq .faq__list { max-width: 980px; margin: 0 auto; border-top: 1px solid var(--line-h); counter-reset: faq-no; }
#faq .faq__item { counter-increment: faq-no; border-bottom: 1px solid var(--line-faint); }

#faq .faq__question {
  position: relative;
  margin: 0;
  padding: 24px 60px 24px 54px;
  font-size: clamp(17px, 1rem + .3vw, 19px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--heading);
  list-style: none;
  cursor: pointer;
  transition: color .3s ease;
}

#faq .faq__question::-webkit-details-marker { display: none; }
#faq .faq__question:hover { color: var(--gold-ink); }

#faq .faq__question::before {
  content: counter(faq-no, decimal-leading-zero);
  position: absolute;
  top: 27px;
  left: 0;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .06em;
  color: rgba(176, 138, 42, .9);
}

#faq .faq__question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: transform .35s ease;
}

#faq .faq__item[open] .faq__question::after { transform: rotate(-135deg); }

#faq .faq__answer { padding: 0 60px 26px 54px; font-size: 16px; line-height: 1.72; color: var(--muted); }
#faq .faq__answer p { margin: 0 0 12px; }
#faq .faq__answer p:last-child { margin-bottom: 0; }

#faq .faq__more { max-width: 980px; margin: clamp(26px, 2.8vw, 38px) auto 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
#faq .faq__more a { color: var(--gold-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(122, 97, 20, .45); }
#faq .faq__more a:hover { border-bottom-color: var(--gold-ink); }

/* ---------------------------------------------------------------------------
   16.17 B13 «Отзывы» — цитата-обещание вместо выдуманных отзывов
   --------------------------------------------------------------------------- */
#reviews { text-align: center; }
#reviews .section__lead { max-width: 68ch; margin-inline: auto; }

#reviews .section__lead::before {
  content: "\201C";
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-accent);
  font-size: 64px;
  line-height: .8;
  color: rgba(176, 138, 42, .5);
}

#reviews .section__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(24px, 2.6vw, 34px); }
#reviews .reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 24px); }

#reviews .review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: clamp(24px, 2.4vw, 34px);
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line-h);
  border-radius: var(--rad-card);
}

#reviews .review__text { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--ink); }
#reviews .review__text p { margin: 0; }

#reviews .review__meta { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line-h); font-size: 13.5px; line-height: 1.5; color: var(--muted); }
#reviews .review__meta strong { font-size: 15px; font-weight: 600; color: var(--heading); }

/* ---------------------------------------------------------------------------
   16.18 B15 «Оставьте заявку» — свет в темноте: фото, вуаль, панель действия
   --------------------------------------------------------------------------- */
#contacts { color: var(--white); }

#contacts::before {
  background-image:
    radial-gradient(closest-side at 84% 8%, rgba(212, 175, 55, .18), transparent 100%),
    linear-gradient(165deg, rgba(10, 14, 23, .9) 0%, rgba(30, 23, 52, .8) 100%);
  opacity: 1;
}

#contacts .cta__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 72px); align-items: center; }

#contacts .cta__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 1.2rem + 2.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--white);
}

#contacts .cta__text { font-size: clamp(16.5px, 1rem + .3vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, .82); }
#contacts .cta__text p { margin: 0; }
#contacts .cta__text strong { color: var(--white); font-weight: 600; }

#contacts .cta__notes { gap: 0; margin: clamp(24px, 2.6vw, 34px) 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }

#contacts .cta__notes li {
  padding: 14px 0 14px 26px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .76);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

#contacts .cta__notes li::before { top: 22px; left: 0; width: 7px; height: 7px; background: var(--gold); }

#contacts .cta__phone { margin: clamp(22px, 2.4vw, 30px) 0 0; font-family: var(--font-accent); font-weight: 600; font-size: clamp(20px, 1rem + .7vw, 26px); color: rgba(255, 255, 255, .68); }
#contacts .cta__phone a { color: var(--gold); border-bottom: 1px solid rgba(212, 175, 55, .4); }
#contacts .cta__phone a:hover, #contacts .cta__phone a:focus { color: var(--white); border-bottom-color: var(--white); }

#contacts .cta__action {
  display: grid;
  gap: 12px;
  padding: clamp(26px, 2.6vw, 34px);
  text-align: left;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: var(--rad-card);
}

#contacts .cta__action .btn { width: 100%; text-align: center; }

/* ---------------------------------------------------------------------------
   16.19 B18 «Оплата, отмена и юридическая информация» — блок разобран (решение №15):
   секции #legal больше нет. Правила оплаты, переноса и отмены вышли компактной
   сноской .price-terms в секцию B9 (§16.10), дисклеймер и ссылки на оферту,
   политику ПД и согласие — в подвал (.site-footer__docs, §13).
   Стили .legal__* удалены как мёртвые.
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   16.19b Текстура «бумага» для светлых секций: две тонкие диагональные штриховки.
   Даёт фактуру без изображений и без запросов к сети — рисует сам браузер.
   Меняем только background-image: фон-цвет секции задан выше и остаётся.
   --------------------------------------------------------------------------- */
#jyotish,
#method,
#question-help,
#fit,
#reviews,
#process {
  background-image:
    repeating-linear-gradient(45deg, rgba(122, 97, 20, .022) 0 1px, rgba(122, 97, 20, 0) 1px 6px),
    repeating-linear-gradient(-45deg, rgba(122, 97, 20, .018) 0 1px, rgba(122, 97, 20, 0) 1px 6px);
}

/* ---------------------------------------------------------------------------
   16.20 Адаптив: планшет и телефон — те же блоки, один столбец
   --------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  #about .hero__inner,
  #jyotish .jyotish,
  #outcome .outcome,
  #coaching .coaching,
  #my-path .about__inner,
  #contacts .cta__inner,
  #fit .fit { grid-template-columns: 1fr; }

  #process .step,
  #process .step:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
  #process .step:nth-child(even) .step__media { order: 0; }
  #process .step__media img { height: clamp(180px, 26vw, 260px); }

  /* position: static возвращал галерею в поток, но оставлял её abs-псевдоэлемент-рамку без точки
     отсчёта: containing block уходил на предка шириной во вьюпорт, и рамка (left: 12px, right: -12px)
     давала ровно +12px горизонтального переполнения при любой ширине экрана (780 при 768, 387 при 375;
     замеры — _shots/probe_gallery.txt, probe_clip.txt). relative без смещений возвращает точку
     отсчёта, поэтому рамка снова обводит галерею с вылетом 12px наружу и остаётся внутри вьюпорта.
     top: auto обязателен: иначе сохраняется top: 96px из базового правила и галерея уезжает вниз. */
  #my-path .about__gallery { position: relative; top: auto; }
  #my-path .about__gallery::before { inset: 12px -12px -12px 12px; }
  #my-path .about__inner { gap: 34px; }

  #coaching .coaching__list { grid-template-columns: 1fr; }
  #coaching .coaching__action { grid-column: 1; }

  #question-help .accent { grid-template-columns: 1fr; }
  #question-help .accent__action { text-align: left; }

  #after .cards--plain { grid-template-columns: 1fr; }
  #after .card--plain { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line-h); }
  #after .card--plain:first-child { padding-top: 0; border-top: 0; }
  #after .card--plain:last-child { padding-bottom: 0; }

  #requests .requests { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Плитка «Из чего собирается картина» на планшете узкая — иллюстрация налезла бы
     на текст (max-width текста 80ch), поэтому остаётся только на широких экранах. */
  #method .method__art { display: none; }
}

@media (max-width: 780px) {
  #about .hero__eyebrow::before { width: 30px; }
  #about .check-list { grid-template-columns: 1fr; gap: 12px; }
  #about .hero__media { margin-top: 8px; }
  #about .hero__media img { border-radius: 190px 190px var(--rad-card) var(--rad-card); outline-offset: 8px; }

  #honest .cards--plain { grid-template-columns: 1fr; }
  #honest .card--plain { padding: 24px 0; }

  #jyotish .prose { columns: 1; }
  #jyotish .card--plain { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }

  #how .card__media img { height: 190px; }
  #how .card__title { margin: 22px 20px 0; }
  #how .card__text { padding: 12px 20px 26px; }

  #outcome .outcome__list li { padding: 18px 20px; }
  #method .method__item { padding: 24px 22px; }

  #requests .requests { grid-template-columns: 1fr; }
  #requests .requests__item { min-height: 72px; }

  #question-help .formulate { grid-template-columns: 1fr; }
  #question-help .formulate__item { padding-left: 46px; }
  #question-help .formulate__item::before { top: 22px; font-size: 19px; }
  #question-help .accent { padding: 26px 22px; }

  #services .price-card { flex: 1 1 100%; min-width: 0; padding: 26px 22px; }
  #services .price-card__badge { font-size: 30px; }
  #services .price-card:first-child { display: block; }
  #services .price-card:first-child .price-card__title { margin-bottom: 12px; white-space: normal; }
  #services .price-card:first-child .price-card__badge { margin-bottom: 14px; }
  #services .price-card:first-child .price-card__list { display: block; margin-bottom: 20px; }
  #services .price-card:first-child .btn { margin-left: 0; }
  #services .price-rationale { padding: 24px 22px; }

  #coaching .coaching__list li { padding: 16px 0 16px 28px; }
  #coaching .coaching__list .check-list__icon { top: 20px; }

  #fit .fit__col { padding: 24px 22px; }
  #fit .fit__list li { padding: 13px 0 13px 28px; }

  #process .step { padding: 18px; }
  #process .step__title::before { margin-bottom: 10px; font-size: 16px; }

  #faq .faq__question { padding: 20px 40px 20px 42px; }
  #faq .faq__question::before { top: 23px; font-size: 15px; }
  #faq .faq__answer { padding: 0 40px 22px 42px; }
  #reviews .section__lead::before { font-size: 52px; }

  #contacts .cta__action { padding: 22px; }
}

/* Телефоны (<=480px): портрет в hero не должен выдавливать кнопки за сгиб.
   Кадр подрезается с привязкой к верху (object-position: 50% 0) — лицо остаётся
   целиком, обрез идёт по нижней части (одежда), где и лежит подпись. */
@media (max-width: 480px) {
  #about .hero__media img { max-height: 58vh; object-fit: cover; object-position: 50% 0; }
  #about .hero__caption { gap: 6px; padding: 34px 16px 18px; }
  #about .hero__role { font-size: 10.5px; letter-spacing: .14em; }
}

/* Узкие телефоны (<=360px): bento-сетка «Как считается разбор» в две колонки не влезает —
   min-content плитки 331px (свип: +31px при 320, элементы article.method__item right=351).
   Одна колонка; первая и последняя плитки и так занимают всю ширину (grid-column: 1 / -1). */
@media (max-width: 360px) {
  #method .method { grid-template-columns: 1fr; }
}

@media (hover: none) {
  #contacts { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  #how .card, #how .card__media img, #how .card__title::after,
  #process .step, #method .method__item, #requests .requests__item,
  #faq .faq__question::after, #my-path .slider__btn { transition: none; }
  #how .card:hover, #how .card:hover .card__media img, #my-path .slider__btn:hover { transform: none; }
}

/* --- 16.21 КОНЕЦ РЕДИЗАЙНА ГЛАВНОЙ --- */

