/* Onest — локально (не с Google Fonts: IP посетителей не уходят за рубеж, см. политику ПД п. 2.13). Лицензия SIL OFL 1.1, файлы из @fontsource/onest 5.2.11 */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/onest/onest-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/onest/onest-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/onest/onest-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/onest/onest-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/onest/onest-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/onest/onest-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/onest/onest-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/onest/onest-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/onest/onest-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+20BD; } /* только знак ₽ */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/onest/onest-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+20BD; } /* только знак ₽ */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/onest/onest-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+20BD; } /* только знак ₽ */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/onest/onest-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+20BD; } /* только знак ₽ */

/* ==========================================================================
   PCM · Константин Сырцов — стили сайта
   Цвета и шрифт — из официального брендбука PCM (папка branding)
   ========================================================================== */

@font-face {
  font-family: "PCM Moderat";
  src: url("../fonts/PCMModerat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "PCM Moderat";
  src: url("../fonts/PCMModerat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Основные цвета PCM */
  --spring: #A1CF77;        /* Весенний зелёный */
  --royal: #00175A;         /* Королевский синий */
  /* Дополнительные */
  --sand: #E9B24C;          /* Песчаная буря */
  --pink: #EDBBBB;          /* Розовый */
  /* Палитра типов личности */
  --t-thinker: #32A2FF;     /* Логик */
  --t-harmoniser: #FC7403;  /* Душевный */
  --t-persister: #7F379D;   /* Упорный */
  --t-rebel: #FAE200;       /* Бунтарь */
  --t-promoter: #FF1933;    /* Деятель */
  --t-dreamer: #E3A88D;     /* Мечтатель */

  /* Семантические токены */
  --bg: #FFFFFF;
  --bg-soft: #EEF6E6;       /* светлый оттенок Spring Green */
  --bg-soft-2: #F6FAF1;
  --ink: #00175A;
  --ink-2: #3A4A78;         /* вторичный текст, контраст ≥ 7:1 на белом */
  --ink-3: #5B6890;         /* третичный, ≥ 4.5:1 */
  --line: #DCE3D3;
  --line-navy: rgba(255, 255, 255, .16);
  --spring-strong: #5E9A2C; /* зелёный для текста на белом, ≥ 4.5:1 с крупным кеглем */
  --focus: #32A2FF;

  --font: "Onest", "PCM Moderat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-latin: "PCM Moderat", "Onest", system-ui, sans-serif;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --radius-xl: 44px;

  --shadow-1: 0 1px 2px rgba(0, 23, 90, .06), 0 8px 24px rgba(0, 23, 90, .06);
  --shadow-2: 0 2px 4px rgba(0, 23, 90, .06), 0 20px 48px rgba(0, 23, 90, .12);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  /* Ритм секций (13.10.2026): 96 px на десктопе, 56 px на телефоне.
     Смена фона — полный отступ с обеих сторон; два соседних блока одного фона — общий отступ + --section-join. */
  --section-y: clamp(56px, 7.5vw, 96px);
  --section-join: clamp(16px, 2.5vw, 32px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Единый темп микро-анимаций (14.10.2026): появление блоков и отклик на наведение */
  --dur-hover: .2s;
  --dur-reveal: .6s;
  --reveal-shift: 16px;
  --lift: -4px;      /* большие кликабельные карточки */
  --lift-sm: -2px;   /* кнопки и мелкие элементы */
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* Атрибут hidden сильнее любых display у классов (кнопки, строки карточек и т. п.).
   Исключение — карточки типов: скрытые держат высоту блока через visibility (см. .type-panels). */
[hidden]:not(.type-panel) { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

.latin { font-family: var(--font-latin); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--royal); color: #fff; padding: 12px 18px; border-radius: 10px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--royal); color: #fff; }
/* Соседние блоки одного фона не складывают отступы: второй начинается почти сразу */
.section:not(.section--soft):not(.section--navy) + .section:not(.section--soft):not(.section--navy),
.section--soft + .section--soft,
.section--navy + .section--navy { padding-top: var(--section-join); }

/* ---------- Типографика секций ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: var(--spring);
  border-radius: 50% 50% 50% 0;  /* фирменная «капля» PCM */
}
.section--navy .eyebrow { color: rgba(255, 255, 255, .78); }

.h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.03em; }
.h2 { font-size: clamp(30px, 4.2vw, 52px); }
/* длинные русские слова («конфиденциальности») не должны вылезать за экран на телефоне */
.h1, .h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.01em; }
.accent { color: var(--spring-strong); }
.section--navy .accent { color: var(--spring); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.6; }
.section--navy .lead { color: rgba(255, 255, 255, .8); }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--spring); --btn-fg: var(--royal); --btn-dot: var(--royal); --btn-dot-fg: #fff;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 6px 22px 6px 6px;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease), background-color var(--dur-hover);
}
.btn__dot {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--btn-dot); color: var(--btn-dot-fg); flex: none;
  transition: transform var(--dur-hover) var(--ease);
}
.btn__dot svg { width: 18px; height: 18px; }
@media (hover: hover) {
  .btn:hover { transform: translateY(var(--lift-sm)); box-shadow: 0 10px 24px rgba(0, 23, 90, .18); }
  .btn:hover .btn__dot { transform: rotate(45deg); }
}
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; } /* отклик нажатия, в т. ч. на телефоне */
.btn--navy { --btn-bg: var(--royal); --btn-fg: #fff; --btn-dot: var(--spring); --btn-dot-fg: var(--royal); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--royal);
  padding: 6px 22px; box-shadow: inset 0 0 0 1.5px var(--royal);
}
@media (hover: hover) { .btn--ghost:hover { --btn-bg: var(--royal); --btn-fg: #fff; } }
.section--navy .btn--ghost, .btn--ghost-light {
  --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5);
}
@media (hover: hover) { .section--navy .btn--ghost:hover, .btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--royal); } }
.btn--ghost-light { padding: 6px 22px; justify-content: center; } /* без кружка со стрелкой — отступы симметричные, текст по центру */
.btn--sm { min-height: 44px; padding: 4px 18px 4px 4px; font-size: 15px; }
.btn--sm .btn__dot { width: 36px; height: 36px; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--royal); padding-block: 8px; min-height: 44px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur-hover) var(--ease); }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: 14px;
  transition: padding .25s var(--ease);
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid rgba(0, 23, 90, .08);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
}
.header.is-scrolled { padding-top: 8px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; }
.brand img { height: 30px; width: auto; }
.brand__name {
  display: none; padding-left: 14px; border-left: 1px solid var(--line);
  font-size: 13px; line-height: 1.25; color: var(--ink-2);
}
.brand__name strong { display: block; color: var(--ink); font-size: 14px; }
@media (min-width: 560px) { .brand__name { display: block; } }

.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink);
  transition: background-color .2s;
}
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="true"] { background: var(--bg-soft); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
@media (min-width: 1120px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none !important; }
}
@media (min-width: 720px) and (max-width: 1119px) { .header__cta { display: inline-flex; } }

.burger {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--royal); color: #fff; cursor: pointer;
}
.burger svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--royal); color: #fff;
  display: flex; flex-direction: column; padding: 24px var(--gutter) 32px;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu__top img { height: 30px; width: auto; }
.mobile-menu__close {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
}
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu nav a {
  display: block; padding: 14px 0; font-size: 26px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line-navy);
}
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }

/* ---------- Полоса цветов типов ---------- */
.typebar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; }
.typebar span { flex: 1; }
.typebar span:nth-child(1) { background: var(--t-thinker); }
.typebar span:nth-child(2) { background: var(--t-harmoniser); }
.typebar span:nth-child(3) { background: var(--t-persister); }
.typebar span:nth-child(4) { background: var(--t-rebel); }
.typebar span:nth-child(5) { background: var(--t-promoter); }
.typebar span:nth-child(6) { background: var(--t-dreamer); }

/* ---------- Hero ---------- */
.hero { padding: 104px 0 0; }
.hero__panel {
  position: relative; overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 72px) 0;
}
.hero__panel::before, .hero__panel::after {
  content: ""; position: absolute; pointer-events: none;
  border-radius: 50% 50% 50% 0;
}
.hero__panel::before { width: 220px; height: 220px; background: var(--spring); opacity: .35; right: -60px; top: -70px; }
.hero__panel::after { width: 90px; height: 90px; background: var(--royal); left: 46%; top: 54px; border-radius: 50% 0 50% 50%; opacity: .9; display: none; }
.hero__grid { position: relative; display: grid; gap: 40px; align-items: end; }
.hero__copy { display: grid; gap: 24px; padding-bottom: clamp(32px, 5vw, 72px); align-content: start; }
.hero__title .accent { display: inline; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; align-self: end; }
.hero__art img { width: 100%; margin-inline: auto; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 15px;
}
.hero__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--spring-strong); }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1.05fr; gap: 24px; }
  .hero__panel::after { display: block; }
  .hero__art img { margin-right: -24px; max-width: none; width: calc(100% + 40px); }
}

/* Hero-баннер с фото тренинга (главная), вариант «Д1» (14.10.2026).
   Десктоп: фото на всю высоту баннера, заголовок поверх фото слева вверху (тёмный угол),
   факты — полупрозрачными плашками на фото, внизу «стеклянная» полоса с описанием и кнопками.
   Телефон: фото сверху, ниже заголовок, факты, описание и кнопки на Royal Blue. */
.hero__panel--photo { background: var(--royal); color: #fff; padding: 0; isolation: isolate; }
.hero__panel--photo::before, .hero__panel--photo::after { display: none; }
.hero__photo { position: relative; overflow: hidden; }
.hero__media { display: block; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__over { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: start; }
.hero__panel--photo .hero__title { color: #fff; }
.hero__panel--photo .hero__title .accent { color: var(--spring); }
.hero__panel--photo .lead { color: rgba(255, 255, 255, .88); }
.hero__panel--photo .hero__meta { color: #fff; gap: 8px; font-size: 14px; }
.hero__panel--photo .hero__meta svg { color: var(--spring); }
.hero__panel--photo .hero__meta > span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.hero__facts, .hero__bottom, .hero__over { padding-inline: clamp(22px, 5vw, 72px); }
.hero__bottom { position: relative; z-index: 1; display: grid; gap: 18px 48px; align-items: center; padding-block: 20px clamp(28px, 5vw, 34px); }
.hero__bottom .lead { font-size: 17px; line-height: 1.5; max-width: 720px; }
@media (max-width: 959px) {
  .hero__media { position: relative; aspect-ratio: 960 / 864; max-height: 70vh; overflow: hidden; }
  .hero__media img { object-position: 50% 60%; }
  .hero__photo .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 23, 90, 0) 80%, var(--royal) 100%); }
  .hero__over { padding-block: 8px 20px; }
  .hero__facts { padding-bottom: 4px; }
}
@media (min-width: 960px) {
  .hero__panel--photo { display: grid; grid-template-rows: 1fr auto auto; aspect-ratio: 1.5 / 1; min-height: 560px; }
  .hero__photo { position: absolute; inset: 0; z-index: 0; }
  .hero__media { position: absolute; inset: 0; }
  .hero__media img { object-position: 50% 55%; }
  /* затемнение только в левом верхнем углу — под заголовком; слушатели на ступенях остаются видны */
  .hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 62% 70% at 0% 0%, rgba(0, 23, 90, .88) 0%, rgba(0, 23, 90, .6) 45%, rgba(0, 23, 90, 0) 100%); }
  .hero__over { position: absolute; left: clamp(22px, 5vw, 72px); top: clamp(24px, 3.6vw, 52px); max-width: 56%; padding-inline: 0; }
  .hero__over .hero__title { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.04; text-shadow: 0 2px 24px rgba(0, 10, 40, .45); }
  .hero__facts { position: relative; z-index: 1; grid-row: 2; padding-bottom: 18px; }
  .hero__panel--photo .hero__meta > span { background: rgba(0, 23, 90, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .hero__bottom { grid-row: 3; grid-template-columns: minmax(0, 1fr) auto; padding-block: clamp(22px, 2.6vw, 32px);
    background: rgba(0, 23, 90, .34); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero__bottom .lead { text-shadow: 0 1px 12px rgba(0, 10, 40, .35); }
  .hero__bottom .hero__actions { flex-wrap: nowrap; }
}

.cert-chip {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 6px 16px 6px 6px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-1);
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.cert-chip b { color: var(--ink); font-weight: 600; }
.cert-chip__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--royal); }
.cert-chip__mark img { width: 18px; height: auto; }

/* ---------- Цифры ---------- */
.stats {
  margin-top: -1px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--royal); color: #fff;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.stat { padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 36px); border-top: 1px solid var(--line-navy); }
.stat:nth-child(odd) { border-right: 1px solid var(--line-navy); }
.stat:nth-child(-n+2) { border-top: 0; }
.stat__num { font-family: var(--font-latin); font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1; color: var(--spring); letter-spacing: -.02em; }
.stat__label { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .82); line-height: 1.4; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-top: 0 !important; border-right: 1px solid var(--line-navy); }
  .stat:last-child { border-right: 0; }
}

/* ---------- О модели ---------- */
.about__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: .95fr 1.05fr; } }
.about__media {
  position: relative; background: #fff; border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-1);
}
.about__media img { margin-inline: auto; max-height: 520px; width: auto; }
.about__badge {
  position: absolute; left: clamp(-12px, -1vw, 0px); bottom: 28px;
  background: var(--royal); color: #fff; border-radius: var(--radius-m);
  padding: 18px 22px; max-width: 230px; box-shadow: var(--shadow-2);
}
.about__badge b { display: block; font-family: var(--font-latin); font-size: 34px; color: var(--spring); line-height: 1; margin-bottom: 6px; }
.about__badge span { font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.about__copy { display: grid; gap: 22px; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist .tick {
  width: 28px; height: 28px; border-radius: 50%; background: var(--spring); color: var(--royal);
  display: grid; place-items: center; margin-top: 1px;
}
.checklist .tick svg { width: 16px; height: 16px; }
.section--navy .checklist .tick { background: var(--spring); }

.compare { display: grid; gap: 16px; margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__card { border-radius: var(--radius-l); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 14px; align-content: start; }
.compare__card--muted { background: #fff; border: 1px solid var(--line); }
.compare__card--main { background: var(--royal); color: #fff; }
.compare__card--main p { color: rgba(255, 255, 255, .85); }
.compare__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.compare__card--main .compare__label { color: var(--spring); }
.compare__card blockquote { margin: 0; font-size: 18px; font-style: italic; color: var(--ink-2); border-left: 3px solid var(--line); padding-left: 16px; }

/* ---------- Программы ---------- */
.programs { display: grid; gap: 20px; }
@media (min-width: 760px) { .programs { grid-template-columns: repeat(2, 1fr); } }
.program {
  --c: var(--spring);
  position: relative; display: flex; flex-direction: column; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 36px); overflow: hidden;
  transition: transform var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease), border-color var(--dur-hover);
}
@media (hover: hover) { .program:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-2); border-color: transparent; } }
.program:focus-within { transform: translateY(var(--lift)); box-shadow: var(--shadow-2); border-color: transparent; }
.program::after {
  content: ""; position: absolute; right: -36px; top: -36px; width: 120px; height: 120px;
  background: var(--c); opacity: .22; border-radius: 50% 50% 50% 0;
}
.program--featured { background: var(--royal); color: #fff; border-color: var(--royal); }
.program--featured .program__text, .program--featured .program__list li { color: rgba(255, 255, 255, .85); }
.program--featured .program__tag { background: rgba(255, 255, 255, .12); color: #fff; }
.program--featured .program__meta { border-color: var(--line-navy); }
.program--featured .program__meta dt { color: rgba(255, 255, 255, .65); }
.program__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; position: relative; z-index: 1; }
.program__num { font-family: var(--font-latin); font-size: 15px; font-weight: 700; color: var(--ink-3); }
.program--featured .program__num { color: var(--spring); }
.program__tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink); font-size: 13px; font-weight: 600;
}
.program__title { font-size: clamp(24px, 2.4vw, 30px); }
.program__text { color: var(--ink-2); }
.program__list { display: grid; gap: 8px; }
.program__list li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 16px; }
.program__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px;
  background: var(--c); border-radius: 50% 50% 50% 0;
}
.program__meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px;
  margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
}
.program__meta dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.program__meta dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; line-height: 1.35; }
.program__actions { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.program--featured .link-arrow { color: #fff; }

.formats { margin-top: 28px; display: grid; gap: 14px; background: var(--bg-soft-2); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px); border: 1px dashed var(--line); }
.formats__title { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--ink);
}

/* ---------- Типы личности ---------- */
.types__tabs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px;
}
@media (min-width: 640px) { .types__tabs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .types__tabs { grid-template-columns: repeat(6, 1fr); } }
.type-tab {
  --c: var(--spring);
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 14px;
  border-radius: var(--radius-m); border: 1px solid var(--line-navy);
  background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; text-align: left;
  font-weight: 600; font-size: 16px;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.type-tab__dot { width: 16px; height: 16px; flex: none; background: var(--c); border-radius: 50% 50% 50% 0; }
@media (hover: hover) { .type-tab:hover { background: rgba(255, 255, 255, .1); } }
.type-tab[aria-selected="true"] { background: #fff; color: var(--royal); border-color: #fff; }

.type-panel {
  --c: var(--spring);
  display: grid; gap: 28px; align-items: center;
  background: #fff; color: var(--ink); border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden;
}
.type-panel[hidden] { display: none; }
@media (min-width: 900px) { .type-panel { grid-template-columns: 300px 1fr; gap: 48px; } }
.type-panel__art {
  position: relative; display: grid; place-items: end center; min-height: 280px;
}
.type-panel__art::before {
  content: ""; position: absolute; inset: auto 6% 0 6%; aspect-ratio: 1; background: var(--c); opacity: .9;
  border-radius: 50% 50% 50% 0;
}
.type-panel__art img { position: relative; max-height: 340px; width: auto; }
.type-panel__body { display: grid; gap: 18px; }
.type-panel__label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.type-panel__label i { width: 26px; height: 8px; border-radius: 4px; background: var(--c); }
.type-panel__title { font-size: clamp(30px, 3.5vw, 44px); }
.type-facts { display: grid; gap: 14px; }
@media (min-width: 640px) { .type-facts { grid-template-columns: 1fr 1fr; } }
.type-fact { background: var(--bg-soft-2); border-radius: var(--radius-m); padding: 16px 18px; }
.type-fact dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.type-fact dd { margin: 6px 0 0; font-weight: 500; line-height: 1.45; }
.types__note { margin-top: 22px; color: rgba(255, 255, 255, .72); font-size: 15px; max-width: 760px; }
/* Цвет типа как навигация (14.10.2026): выбранная вкладка и вся карточка подхватывают цвет своего типа */
.type-tab__dot { width: 18px; height: 18px; }
.type-tab[aria-selected="true"] { box-shadow: inset 0 -5px 0 var(--c); }
@media (hover: hover) { .type-tab:not([aria-selected="true"]):hover { border-color: var(--c); } }
.type-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--c); }
.type-panel__title { display: inline-block; padding-bottom: 6px; background: linear-gradient(var(--c), var(--c)) left bottom / 56px 4px no-repeat; }
.type-fact { border-left: 4px solid var(--c); border-radius: 0 var(--radius-m) var(--radius-m) 0; }
.type-next {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 44px; padding: 8px 16px; cursor: pointer;
  border: 1.5px solid var(--n); border-radius: 999px; background: #fff; color: var(--royal); font-weight: 600;
  transition: transform var(--dur-hover) var(--ease);
}
.type-next i { width: 14px; height: 14px; background: var(--n); border-radius: 50% 50% 50% 0; }
@media (hover: hover) { .type-next:hover { transform: translateX(3px); } }
/* Карточки одного размера: все шесть в одной ячейке сетки, скрытые невидимы, но держат высоту —
   при переключении блок не меняет высоту; описание и факты выравнивает по высоте main.js */
.type-panels { display: grid; }
.type-panels > .type-panel { grid-area: 1 / 1; align-items: start; align-content: start; }
.type-panels > .type-panel[hidden] { display: grid; visibility: hidden; }
.type-panels .type-panel__art { height: 380px; min-height: 0; }
.type-panels .type-panel__body { align-content: start; }
@media (max-width: 899px) { .type-panels .type-panel__art { height: 260px; } .type-panels .type-panel__art img { max-height: 250px; } }

/* ---------- Кому / области ---------- */
.audience { display: grid; gap: 16px; }
@media (min-width: 760px) { .audience { grid-template-columns: repeat(2, 1fr); } }
.aud-card {
  --c: var(--spring);
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  background: #fff; border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
}
.aud-card__icon {
  width: 56px; height: 56px; display: grid; place-items: center; background: var(--c);
  border-radius: 50% 50% 50% 0; color: var(--royal);
}
.aud-card__icon svg { width: 26px; height: 26px; }
.aud-card h3 { margin-bottom: 8px; }
.aud-card p { color: var(--ink-2); font-size: 16px; }

.areas { margin-top: clamp(48px, 7vw, 80px); }
.areas:first-child { margin-top: 0; }
.areas__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
@media (min-width: 640px) { .areas__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .areas__grid { grid-template-columns: repeat(4, 1fr); } }
.area { background: #fff; padding: 26px 24px; display: grid; gap: 10px; align-content: start; } /* статичная карточка — без отклика на наведение */
.area__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); color: var(--royal); display: grid; place-items: center; }
.area__icon svg { width: 22px; height: 22px; }
.area h3 { font-size: 18px; }
.area p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* ---------- Профиль KEY TO ME ---------- */
.profile__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .profile__grid { grid-template-columns: 1.1fr .9fr; } }
.profile__list { display: grid; gap: 12px; }
@media (min-width: 640px) { .profile__list { grid-template-columns: 1fr 1fr; } }
.profile__list li {
  display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 14px 16px;
  background: #fff; border-radius: var(--radius-s); border: 1px solid var(--line); font-size: 15px; line-height: 1.45;
}
.profile__list li::before { content: ""; width: 12px; height: 12px; margin-top: 5px; background: var(--spring); border-radius: 50% 50% 50% 0; }
.profile__visual {
  position: relative; background: #fff; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-1);
}
.profile__visual img { margin-inline: auto; width: min(100%, 420px); }
.profile__tag {
  position: absolute; top: 24px; right: 24px; background: var(--royal); color: #fff; border-radius: 999px;
  padding: 8px 16px; font-family: var(--font-latin); font-weight: 700; font-size: 14px; letter-spacing: .06em;
}
.note {
  display: flex; gap: 12px; align-items: start; padding: 16px 18px; border-radius: var(--radius-m);
  background: #FBEDED; color: var(--ink); font-size: 15px;
}
.note b { font-weight: 700; }

/* ---------- Как проходит ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; border-radius: var(--radius-l); padding: 28px 24px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-navy);
  display: grid; gap: 12px; align-content: start;
}
.step__num {
  font-family: var(--font-latin); font-size: 54px; line-height: 1; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px var(--spring);
}
.step h3 { font-size: 20px; }
.step p { color: rgba(255, 255, 255, .78); font-size: 15px; }
.topics { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 28px; }
@media (min-width: 960px) { .topics { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.topics__list { display: grid; gap: 0; counter-reset: topic; }
@media (min-width: 640px) { .topics__list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.topics__list li {
  counter-increment: topic; display: grid; grid-template-columns: 36px 1fr; gap: 8px;
  padding: 14px 0; border-bottom: 1px solid var(--line-navy); color: rgba(255, 255, 255, .9); font-size: 16px;
}
.topics__list li::before { content: counter(topic, decimal-leading-zero); font-family: var(--font-latin); font-weight: 700; color: var(--spring); font-size: 14px; padding-top: 2px; }

/* ---------- Результаты ---------- */
.outcomes { display: grid; gap: 16px; }
@media (min-width: 900px) { .outcomes { grid-template-columns: repeat(3, 1fr); } }
.outcome {
  --c: var(--t-thinker);
  background: #fff; border-radius: var(--radius-l); padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line); display: grid; gap: 14px; align-content: start;
  border-top: 6px solid var(--c);
}
.outcome p { color: var(--ink-2); font-size: 16px; }
.results { margin-top: 24px; display: grid; gap: 16px; }
@media (min-width: 900px) { .results { grid-template-columns: 1fr 1fr; } }
.results__card { background: var(--bg-soft); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.results__card .checklist li { font-size: 16px; }

/* ---------- Тренер ---------- */
.trainer__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .trainer__grid { grid-template-columns: .85fr 1.15fr; } }
/* Фото тренера: «выход из капли». Портрет без фона стоит на фирменной капле PCM (Spring Green):
   внизу он обрезан по форме капли, а голова выходит за её верхний край. Без рамки и тени. */
.trainer__photo { position: relative; width: min(100%, 440px); margin-inline: auto; }
.trainer__frame { position: relative; aspect-ratio: 4 / 5; isolation: isolate; }
.trainer__frame::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1 / 1; z-index: -1;
  background: var(--spring); border-radius: 50% 50% 50% 0;
}
.trainer__photo .trainer__frame img {
  width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 100%;
  /* видимая часть = капля (внизу) + полоса над её серединой (там голова) */
  --drop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 50A50 50 0 0 1 100 50A50 50 0 0 1 50 100H0Z'/%3E%3C/svg%3E");
  -webkit-mask: var(--drop) bottom / 100% auto no-repeat, linear-gradient(#000 0 0) top / 100% 62% no-repeat;
          mask: var(--drop) bottom / 100% auto no-repeat, linear-gradient(#000 0 0) top / 100% 62% no-repeat;
}
.trainer__copy { display: grid; gap: 22px; }
.facts { display: grid; gap: 12px; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; background: var(--bg-soft-2); border-radius: var(--radius-m); font-size: 15px; line-height: 1.4; }
.fact__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--royal); }
.fact__icon svg { width: 22px; height: 22px; }
.fact b { display: block; font-size: 16px; }
.cert {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  padding: 18px 20px; border-radius: var(--radius-m); background: var(--royal); color: #fff; text-decoration: none;
  transition: transform var(--dur-hover) var(--ease), box-shadow var(--dur-hover);
}
@media (hover: hover) { .cert:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-2); } }
.cert:focus-visible { transform: translateY(var(--lift)); box-shadow: var(--shadow-2); }
.cert:active { transform: scale(.98); }
.cert__seal {
  width: 64px; height: 64px; border-radius: 50%; background: var(--spring); color: var(--royal);
  display: grid; place-items: center; text-align: center; font-size: 10px; font-weight: 700; line-height: 1.1;
}
.cert__seal img { width: 26px; }
.cert small { display: block; color: rgba(255, 255, 255, .7); font-size: 13px; }
.cert strong { font-size: 17px; }

/* ---------- Компании ---------- */
.brands { padding-block: clamp(48px, 6vw, 72px); border-block: 1px solid var(--line); }
.brands__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .brands__inner { grid-template-columns: 260px 1fr; gap: 48px; } }
.brands__title { font-size: 15px; color: var(--ink-2); }
.brands__title b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-latin); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); color: #8D96B3; white-space: nowrap; letter-spacing: -.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Отзывы ---------- */
.reviews { display: grid; gap: 16px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: #fff; border-radius: var(--radius-l); padding: clamp(24px, 3vw, 32px); display: grid; gap: 18px;
  border: 1px solid var(--line); align-content: space-between;
}
.review--accent { background: var(--spring); border-color: var(--spring); }
.review__quote { width: 36px; height: 36px; color: var(--spring-strong); }
.review--accent .review__quote { color: var(--royal); }
.review p { font-size: 17px; line-height: 1.55; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--royal); color: #fff; display: grid; place-items: center; font-weight: 700; }
.review__who b { display: block; }
.review__who span { font-size: 14px; color: var(--ink-2); }
.review__avatar { flex: none; overflow: hidden; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__who > span:last-child { line-height: 1.35; }

/* Страница «Отзывы»: фильтр по формату + «стена» карточек разной высоты */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 3vw, 36px); }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px;
  transition: background-color var(--dur-hover), border-color var(--dur-hover), color var(--dur-hover);
}
@media (hover: hover) { .filter-btn:hover { border-color: var(--royal); } }
.filter-btn[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: #fff; }
.filter-btn__count { font-weight: 500; opacity: .7; }
.filter-btn[hidden] { display: none; }
.reviews--wall { display: block; columns: 3 300px; column-gap: 16px; }
.reviews--wall .review { break-inside: avoid; margin: 0 0 16px !important; }
.reviews--wall .review[hidden] { display: none; }
.page-hero__art .page-hero__photo { width: 100%; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.reviews__more { margin-top: 28px; display: flex; justify-content: center; }

/* Реальные отзывы: короткая цитата + полный текст по кнопке */
.reviews:has(.review__more) { align-items: start; }
.review__lead { font-weight: 600; color: var(--ink); }
.review__more { margin-top: 12px; }
.review__text { font-size: 15px !important; line-height: 1.6; color: var(--ink-2); margin-top: 10px; }
.review--accent .review__text { color: var(--ink); }
.review__more summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600; color: var(--royal); text-decoration: underline; text-underline-offset: 3px;
}
.review__more summary::-webkit-details-marker { display: none; }
.review__more summary::after { content: "↓"; font-size: 13px; }
.review__more[open] summary { margin-bottom: 8px; }
.review__more[open] summary::after { content: "↑"; }
.review__more p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 10px; }
.review--accent .review__more p, .review--accent .review__who span { color: var(--ink); }
.reviews-photo { margin: 0 0 20px; border-radius: var(--radius-l); overflow: hidden; position: relative; }
.reviews-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 640px) { .reviews-photo img { aspect-ratio: 4 / 3; } }
.reviews-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content; max-width: calc(100% - 32px);
  background: rgba(0, 23, 90, .82); color: #fff; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
}
.placeholder-flag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #8A5A00; background: #FFF3D6; padding: 4px 10px; border-radius: 999px; width: fit-content;
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; } }
.faq__aside { display: grid; gap: 20px; align-content: start; }
.faq__aside img { width: min(100%, 360px); }
.accordion { display: grid; gap: 10px; }
.accordion details { background: #fff; border-radius: var(--radius-m); border: 1px solid var(--line); transition: box-shadow .2s; }
.accordion details[open] { box-shadow: var(--shadow-1); border-color: transparent; }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 14px 12px 20px; font-weight: 600; font-size: 17px; line-height: 1.35; min-height: 52px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .plus {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center;
  transition: transform .25s var(--ease), background-color .2s;
}
.accordion summary .plus svg { width: 18px; height: 18px; }
.accordion details[open] summary .plus { transform: rotate(45deg); background: var(--spring); }
.accordion .answer { padding: 0 20px 16px; color: var(--ink-2); }

/* ---------- Контакты ---------- */
.contact__grid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.25fr .75fr; } }
.form-card { background: #fff; border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-1); }
.form-card h2 { margin-bottom: 6px; }
.form-card > p { color: var(--ink-2); margin-bottom: 26px; font-size: 16px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; } /* поля в одной строке не растягиваются, если у соседа есть подсказка */
.field label { font-weight: 600; font-size: 15px; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid #CBD3C1; background: #fff; color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2300175A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(50, 162, 255, .25); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.field .error { font-size: 14px; color: #C2001A; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C2001A; }
.field.is-invalid .error { display: block; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 14px; color: var(--ink-2); align-items: start; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--royal); }
.consent.is-invalid { color: #C2001A; }
.form__status { font-size: 15px; padding: 14px 16px; border-radius: 12px; display: none; }
.form__status.is-success { display: block; background: var(--bg-soft); color: var(--ink); }
.form__status.is-error { display: block; background: #FDE8EA; color: #8F0013; }

.contact-card { background: var(--royal); color: #fff; border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; align-content: start; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 180px; height: 180px; background: var(--spring); border-radius: 50% 50% 50% 0; opacity: .9; }
.contact-list { display: grid; gap: 10px; position: relative; z-index: 1; }
.contact-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius-m);
  text-decoration: none; transition: background-color .2s;
}
@media (hover: hover) { .contact-item:hover { background: rgba(255, 255, 255, .08); } }
.contact-item__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--spring); }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: rgba(255, 255, 255, .65); font-size: 13px; }
.contact-item b { font-weight: 600; word-break: break-word; }
.downloads { display: grid; gap: 8px; position: relative; z-index: 1; }
.downloads a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 15px; min-height: 44px; }
.downloads a svg { width: 18px; height: 18px; color: var(--spring); flex: none; }
.downloads a:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--spring);
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 72px);
  display: grid; gap: 28px; align-items: center;
}
@media (min-width: 960px) { .cta { grid-template-columns: 1.1fr .9fr; } }
.cta h2 { font-size: clamp(30px, 4vw, 48px); }
.cta p { color: var(--ink); opacity: .85; margin-top: 14px; font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta__art img { width: min(100%, 460px); margin-inline: auto; }

/* ---------- Подвал ---------- */
.footer { background: var(--royal); color: rgba(255, 255, 255, .8); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 15px; max-width: 340px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { display: grid; gap: 0; }
.footer a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-navy); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.footer .typebar { margin-top: 36px; }

/* ---------- Плавающая кнопка ---------- */
.float-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: flex; gap: 10px;
  transform: translateY(140%); transition: transform .3s var(--ease);
}
.float-cta.is-visible { transform: none; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-2);
  background: var(--royal); color: #fff; text-decoration: none;
}
.float-btn--tg { background: #229ED9; }
.float-btn--wa { background: #1E8E4E; }
.float-btn svg { width: 26px; height: 26px; }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .06s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .18s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .30s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .36s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .42s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; gap: 16px 40px; }
}

@media print {
  .header, .float-cta, .mobile-menu { display: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Правки после визуальной проверки ---------- */
.type-panel .lead { color: var(--ink-2); }
.type-panel__art img { max-height: 380px; }
.nowrap { white-space: nowrap; }
@media (min-width: 1024px) { .hero__panel::after { left: 57%; top: 48px; width: 72px; height: 72px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track span:nth-child(n+16) { display: none; }
}
@media (max-width: 640px) {
  .hero__panel::before { width: 120px; height: 120px; right: -50px; top: -50px; }
  .hero { padding-top: 92px; }
}
.contact-card::after { width: 120px; height: 120px; right: -56px; bottom: -56px; }
@media (min-width: 1000px) { .contact-card::after { width: 160px; height: 160px; right: -50px; bottom: -50px; } }

/* ==========================================================================
   Многостраничная версия: навигация, шапки страниц, компоненты программ
   ========================================================================== */

/* ---------- Выпадающее меню «Программы» ---------- */
.nav a[aria-current="page"] { background: var(--bg-soft); }
.nav__item { position: relative; }
.nav__item > a svg { width: 14px; height: 14px; margin-left: 4px; transition: transform .2s var(--ease); }
.nav ul.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 50%; margin-left: -160px; width: 320px;
  display: grid; gap: 2px; padding: 8px; background: #fff; border-radius: var(--radius-m);
  box-shadow: var(--shadow-2); border: 1px solid rgba(0, 23, 90, .06);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s var(--ease), visibility 0s linear .18s;
}
.nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s var(--ease);
}
.nav__item:hover > a svg, .nav__item:focus-within > a svg { transform: rotate(180deg); }
.nav__sub a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; min-height: auto; }
.nav__sub a b { font-weight: 600; font-size: 15px; }
.nav__sub a span { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.mobile-menu nav a.sub { font-size: 19px; font-weight: 500; padding: 10px 0 10px 18px; color: rgba(255, 255, 255, .85); }
.mobile-menu nav a[aria-current="page"] { color: var(--spring); }

/* ---------- Шапка внутренней страницы ---------- */
.page-hero { padding-top: 104px; }
.page-hero__panel {
  position: relative; overflow: hidden; background: var(--bg-soft); border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center;
}
.page-hero__panel::before {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px;
  background: var(--spring); opacity: .35; border-radius: 50% 50% 50% 0; pointer-events: none;
}
.page-hero--navy .page-hero__panel { background: var(--royal); color: #fff; }
.page-hero--navy .lead { color: rgba(255, 255, 255, .82); }
.page-hero--navy .accent { color: var(--spring); }
.page-hero--navy .crumbs, .page-hero--navy .crumbs a { color: rgba(255, 255, 255, .7); }
.page-hero--navy .eyebrow { color: rgba(255, 255, 255, .78); }
.page-hero__copy { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
.page-hero__art { position: relative; }
.page-hero__art img { margin-inline: auto; max-height: 380px; width: auto; }
@media (min-width: 960px) {
  .page-hero__panel { grid-template-columns: 1.25fr .75fr; gap: 48px; }
}
.page-hero .h1 { font-size: clamp(34px, 5vw, 60px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

.keyfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
@media (min-width: 720px) { .keyfacts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.keyfact dd { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } /* «Профилирование», «сертифицированным» на телефоне */
.keyfact { background: #fff; border-radius: var(--radius-m); padding: 14px 16px; }
.page-hero--navy .keyfact { background: rgba(255, 255, 255, .08); }
.keyfact dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.page-hero--navy .keyfact dt { color: rgba(255, 255, 255, .6); }
.keyfact dd { margin: 4px 0 0; font-weight: 600; line-height: 1.3; }

/* ---------- Раскладка: контент + липкая карточка записи ---------- */
.with-aside { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1040px) { .with-aside { grid-template-columns: 1fr 340px; gap: 56px; } }
.with-aside__main { display: grid; gap: clamp(56px, 7vw, 88px); min-width: 0; }
.block { display: grid; gap: 22px; }
.block > .h2 { font-size: clamp(28px, 3.4vw, 40px); }
.aside-card {
  position: sticky; top: 104px; background: var(--royal); color: #fff; border-radius: var(--radius-l);
  padding: 28px; display: grid; gap: 18px; overflow: hidden;
}
.aside-card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 110px; height: 110px; background: var(--spring); border-radius: 50% 50% 50% 0; opacity: .9; pointer-events: none; }
.aside-card h2 { font-size: 22px; }
.aside-card dl { margin: 0; display: grid; gap: 12px; }
.aside-card dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-navy); }
.aside-card dt { color: rgba(255, 255, 255, .7); font-size: 15px; }
.aside-card dd { margin: 0; font-weight: 600; text-align: right; }
.aside-card .btn, .aside-card .downloads { position: relative; z-index: 1; }

/* ---------- Модули программы ---------- */
.modules { display: grid; gap: 12px; counter-reset: mod; }
@media (min-width: 720px) { .modules { grid-template-columns: 1fr 1fr; } }
.module {
  counter-increment: mod; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px;
}
.module::before {
  content: counter(mod); width: 40px; height: 40px; border-radius: 50%; background: var(--spring); color: var(--royal);
  display: grid; place-items: center; font-family: var(--font-latin); font-weight: 700;
}
.module h3 { font-size: 18px; line-height: 1.3; padding-top: 8px; }
.module ul { margin-top: 8px; display: grid; gap: 4px; }
.module li { font-size: 15px; color: var(--ink-2); padding-left: 16px; position: relative; }
.module li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--spring-strong); }

.numbered { display: grid; gap: 14px; }
.numbered li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px 22px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c, var(--spring)); }
.numbered .num { font-family: var(--font-latin); font-size: 28px; font-weight: 700; line-height: 1; color: var(--c, var(--spring-strong)); }
.numbered h3 { font-size: 19px; margin-bottom: 6px; }
.numbered p { color: var(--ink-2); font-size: 16px; }

.shape-list { display: grid; gap: 12px; }
@media (min-width: 720px) { .shape-list { grid-template-columns: 1fr 1fr; } }
.shape-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 14px 16px; background: var(--bg-soft-2); border-radius: var(--radius-s); font-size: 16px; }
.shape-list li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; background: var(--c); }
.shape-list li:nth-child(1) { --c: var(--t-thinker); } .shape-list li:nth-child(1)::before { transform: rotate(45deg) scale(.85); }
.shape-list li:nth-child(2) { --c: var(--t-harmoniser); } .shape-list li:nth-child(2)::before { border-radius: 50%; }
.shape-list li:nth-child(3) { --c: var(--t-persister); } .shape-list li:nth-child(3)::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shape-list li:nth-child(4) { --c: #C9B400; } .shape-list li:nth-child(4)::before { height: 10px; margin-top: 7px; }
.shape-list li:nth-child(5) { --c: var(--t-promoter); } .shape-list li:nth-child(5)::before { border-radius: 3px; }
.shape-list li:nth-child(6) { --c: var(--t-dreamer); } .shape-list li:nth-child(6)::before { border-radius: 50% 50% 0 0; }

.tiles { display: grid; gap: 14px; }
@media (min-width: 720px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; display: grid; gap: 8px; align-content: start; }
.tile h3 { font-size: 19px; }
.tile p { color: var(--ink-2); font-size: 16px; }

.callout { border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px); background: #FBEDED; display: grid; gap: 8px; }
.callout--green { background: var(--bg-soft); }
.callout p { font-size: 17px; }

/* ---------- Таблица сравнения ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-l); border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--royal); color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.compare-table tbody th { font-size: 16px; }
.compare-table tbody th a { color: var(--royal); }
.compare-table tr:last-child > * { border-bottom: 0; }

/* ---------- Путь выбора ---------- */
.paths { display: grid; gap: 14px; }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(3, 1fr); } }
.path { background: #fff; border-radius: var(--radius-l); padding: 26px; display: grid; gap: 12px; align-content: start; border-top: 6px solid var(--c); }
.path p { color: var(--ink-2); font-size: 16px; }
.path__route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.path__route a { display: inline-flex; align-items: center; min-height: 44px; background: var(--bg-soft); border-radius: 999px; padding: 8px 14px; text-decoration: none; transition: background-color var(--dur-hover), transform var(--dur-hover) var(--ease); }
@media (hover: hover) { .path__route a:hover { background: var(--spring); transform: translateY(var(--lift-sm)); } }
.path__route a:focus-visible { background: var(--spring); }
.path__route a:active { transform: scale(.97); }

/* ---------- Лента персонажей (главная) ---------- */
.types-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .types-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .types-strip { grid-template-columns: repeat(6, 1fr); } }
.types-strip a {
  display: grid; justify-items: center; gap: 10px; text-decoration: none; color: #fff; padding: 16px 8px;
  border-radius: var(--radius-m); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-navy);
  transition: background-color var(--dur-hover), transform var(--dur-hover) var(--ease);
}
@media (hover: hover) { .types-strip a:hover { background: rgba(255, 255, 255, .1); transform: translateY(var(--lift)); } }
.types-strip a:focus-visible { background: rgba(255, 255, 255, .1); transform: translateY(var(--lift)); }
.types-strip a:active { transform: scale(.97); }
/* Фигуры из одной иллюстрации PCM в едином масштабе: ширина каждой (style="width:…%")
   пропорциональна её реальной ширине, квадратная сцена, выравнивание по низу; подпись — отдельной строкой ниже */
.types-strip__art { position: relative; width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: flex-end; justify-content: center; }
.types-strip__art::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 62%; aspect-ratio: 1 / 1; transform: translateX(-50%); background: var(--c); border-radius: 50% 50% 50% 0; }
.types-strip__art img { position: relative; height: auto; max-width: none; max-height: none; }
.types-strip b { font-size: 16px; }

/* ---------- Текстовые страницы ---------- */
.prose { max-width: 820px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.doc p { overflow-wrap: anywhere; } /* поля «______» в бланке заявления */
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 22px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.prose a { color: var(--royal); overflow-wrap: anywhere; }

/* Правовые документы (оферта, согласие, политика ПД) */
.h1--doc { font-size: clamp(32px, 4.4vw, 56px); }
.doc h2 { scroll-margin-top: 110px; }
.doc-meta { font-weight: 600; color: var(--ink) !important; }
.doc-toc { background: var(--bg-soft-2); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 26px; margin-bottom: 8px; }
.doc-toc__title { font-weight: 700; color: var(--ink) !important; margin-bottom: 10px; }
.doc-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; } /* номера уже в названиях разделов */
.doc-toc a { text-decoration: none; }
.doc-toc a:hover { text-decoration: underline; }
.doc-appendix { display: block; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); margin-bottom: 6px; }
.doc-requisites { padding: 18px 22px; border-left: 4px solid var(--spring); background: var(--bg-soft-2); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.doc-related { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
/* Три сферы применения PCM: для себя / семья и близкие / работа и бизнес */
.spheres { display: grid; gap: 16px; }
@media (min-width: 900px) { .spheres { grid-template-columns: repeat(3, 1fr); } }
.sphere {
  --c: var(--spring);
  position: relative; display: grid; gap: 14px; align-content: start; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c);
  border-radius: var(--radius-l); padding: clamp(24px, 3vw, 34px);
}
.sphere__head { display: flex; align-items: center; gap: 14px; }
.sphere__icon {
  flex: none; width: 48px; height: 48px; border-radius: 50% 50% 50% 0; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 22%, #fff); color: var(--royal);
}
.sphere__icon svg { width: 22px; height: 22px; }
.sphere__tag { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sphere h3 { font-size: clamp(20px, 2vw, 23px); line-height: 1.25; }
.sphere p, .sphere li { color: var(--ink-2); font-size: 16px; }
.sphere .checklist { gap: 8px; }
.sphere .link-arrow { margin-top: 4px; }
.section--soft .sphere, .section--navy .sphere { border-color: transparent; }
.section--navy .sphere { color: var(--ink); }

/* «С какими запросами приходят» — облако ситуаций */
.requests { display: grid; gap: 12px; }
@media (min-width: 720px) { .requests { grid-template-columns: repeat(2, 1fr); } }
.request {
  --c: var(--spring);
  display: flex; gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--radius-m);
  background: #fff; border: 1px solid var(--line);
}
.request::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 7px; background: var(--c); border-radius: 50% 50% 50% 0; }
.request p { margin: 0; color: var(--ink); font-size: 16px; }
.request small { display: block; color: var(--ink-3); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }

/* Цена (только для персональной консультации) */
.price-tag { display: grid; gap: 6px; font-family: var(--font-latin); font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1; color: var(--royal); white-space: nowrap; }
.price-tag small { display: block; font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink-3); white-space: normal; } /* подпись — отдельной строкой под ценой */
.aside-card .price-tag { color: #fff; }
.aside-card .price-tag small { color: rgba(255, 255, 255, .7); }

/* Цифры тренерской практики (страница «Тренер», первый экран) */
.trainer-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 420px; margin: 6px 0 0; }
.trainer-stats__item {
  display: grid; gap: 4px; align-content: start; padding: 16px 16px 16px 18px;
  background: #fff; border-radius: var(--radius-m); border-left: 4px solid var(--spring); box-shadow: var(--shadow-1);
}
.trainer-stats__num { font-family: var(--font-latin); font-weight: 700; font-size: clamp(36px, 4vw, 48px); line-height: 1; letter-spacing: -.02em; color: var(--royal); }
.trainer-stats__num span { color: var(--spring-strong); }
.trainer-stats dd { margin: 0; font-size: 15px; line-height: 1.35; color: var(--ink-2); }

/* Нижняя строка подвала: слева реквизиты ИП, справа документы, ниже — товарные знаки */
.footer__bottom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 32px; align-items: baseline; }
.footer__bottom > :last-child { margin-top: 6px; opacity: .8; }
@media (min-width: 900px) {
  .footer__bottom { grid-template-columns: auto auto; justify-content: space-between; }
  .footer__bottom > :last-child { grid-column: 1 / -1; }
}
/* Документы: область нажатия 44 px; на телефоне — столбиком, разделители «·» скрыты */
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; }
.footer__legal a { color: inherit; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 639px) {
  .footer__legal { flex-direction: column; align-items: flex-start; font-size: 0; }
}
.todo { background: #FFF3D6; color: #6B4600; padding: 0 6px; border-radius: 6px; font-weight: 600; }
.consent a { color: inherit; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.section--tight { padding-top: clamp(48px, 6vw, 72px); }
.with-aside__main .outcomes { grid-template-columns: 1fr; }
.modules { align-items: start; }
.types-strip a { overflow: hidden; }
@media (min-width: 640px) { .with-aside__main .areas__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Scroll-анимация в CTA (главная) ---------- */
.cta__scene { display: block; width: min(100%, 520px); height: auto; margin-inline: auto; overflow: visible; }
.cta__scene #shapes > *, .cta__scene #book > * { will-change: transform; }

/* ---------- Уведомление о cookie (только на pcm-spb.ru, см. main.js) ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 55;
  max-width: 520px; display: grid; gap: 14px; padding: 18px 20px;
  background: #fff; color: var(--ink); border-radius: var(--radius-l); box-shadow: var(--shadow-2);
  font-size: 15px; line-height: 1.45;
}
@media (min-width: 640px) { .cookie { left: 24px; right: auto; bottom: 24px; } }
.cookie a { color: var(--royal); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__btn {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 var(--font); background: var(--spring); color: var(--royal);
}
.cookie__btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--royal); }
.cookie__btn:hover { filter: brightness(.96); }

/* ---------- Страница 404: шесть типов личности реагируют на потерю страницы ---------- */
.e404 { padding: 128px 0 var(--section-y); }
.e404__head { display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.e404__code { font-weight: 700; font-size: clamp(88px, 16vw, 168px); line-height: .9; letter-spacing: -.04em; color: var(--royal); }
.e404__code span { color: var(--spring); }
.e404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.e404__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .e404__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .e404__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.e404-card {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  border-top: 6px solid var(--c);
}
.e404-card__art { display: flex; align-items: flex-end; justify-content: center; height: 110px; background: var(--bg-soft); border-radius: var(--radius-m); padding: 8px 6px 0; overflow: hidden; }
.e404-card__art img { height: auto; max-height: 100%; object-fit: contain; }
.e404-card__body { display: grid; gap: 8px; }
.e404-card__type { display: grid; gap: 2px; }
.e404-card__type b { font-size: 18px; color: var(--royal); }
.e404-card__type span { font-size: 13px; color: var(--ink-3); }
.e404-card__quote { font-size: 16px; line-height: 1.5; color: var(--ink); }
.e404__note { text-align: center; margin-top: clamp(28px, 4vw, 40px); color: var(--ink-2); }

/* ---------- Ближайший тренинг: даты и цены (14.10.2026) ----------
   Блоки с data-until / data-after скрывает и показывает main.js по дате. */
.next-date {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; max-width: 100%;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--royal); color: #fff;
  font-size: 15px; font-weight: 600; line-height: 1.3;
}
.next-date svg { width: 18px; height: 18px; flex: none; color: var(--spring); }
.next-date b { color: var(--spring); }
.next-date b { font-weight: 700; }
@media (max-width: 639px) { .next-date { border-radius: 18px; } }
.next-date a { color: inherit; }
.next-date--cta { margin-top: 12px; }
.program__tag--date { background: var(--spring); color: var(--royal); }
.hero__panel--photo .hero__meta .hero__next {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; min-height: 36px;
  background: var(--spring); color: var(--royal); font-weight: 700; text-decoration: none;
  transition: transform var(--dur-hover) var(--ease);
}
.hero__panel--photo .hero__meta .hero__next svg { color: var(--royal); }
@media (hover: hover) { .hero__panel--photo .hero__meta .hero__next:hover { transform: translateY(var(--lift-sm)); } }
.aside-card__note { position: relative; z-index: 1; font-size: 14px; color: rgba(255, 255, 255, .78); }
