/* ===== Self-hosted fonts — latin + cyrillic ===== */

/* Cormorant Garamond — regular */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-regular-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-regular-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond — italic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-italic-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lora — regular */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/Lora-regular-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/Lora-regular-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lora — italic */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/Lora-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/Lora-italic-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Roboto — 300/400/500 (variable font, один файл на весь диапазон) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/Roboto-regular-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/Roboto-regular-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Токены ===== */
:root {
  --green-dark:    #2E5A4C;
  --green-sage:    #6F8F7A;
  --terracotta:    #B36A4E;
  --terracotta-hv: #9C5A41;
  --beige:         #EADFCF;
  --gold:          #EBC37C;
  --graphite:      #36413E;
  --book-cover:    #2B332F;

  /* производные оттенки текста */
  --text-primary:   #3D5A4F;
  --text-secondary: #4A6459;
  --text-muted:     #C9C1AC;
  --text-muted2:    #D0C8B4;
}

/* ===== Сброс и базовые правила ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  background: var(--beige);
  color: var(--green-dark);
  font-family: 'Lora', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--green-dark); }
::selection { background: var(--gold); color: var(--graphite); }
img { max-width: 100%; display: block; }

/* ===== Типографика ===== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  margin: 0;
}

/* H1 героя */
.h1-hero {
  font-size: clamp(46px, 6.1vw, 78px);
  line-height: 1.04;
}

/* H2 секций */
h2, .h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
}

/* Kicker — надзаголовок */
.kicker {
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 14px;
}
.kicker--gold  { color: var(--gold); }
.kicker--sage  { color: var(--green-sage); }
.kicker--light { color: var(--green-sage); }

/* Абзац */
p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 1em;
  color: var(--text-primary);
}
p:last-child { margin-bottom: 0; }

/* ===== Контейнер ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Секции ===== */
.section {
  padding: 84px 32px;
}
.section--beige    { background: var(--beige); }
.section--graphite { background: var(--graphite); color: var(--beige); }
.section--green    { background: var(--green-dark); color: var(--beige); }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 44px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--beige);
  box-shadow: 0 8px 24px -10px rgba(179,106,78,.6);
}
.btn-primary:hover {
  background: var(--terracotta-hv);
  color: var(--beige);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid rgba(46,90,76,.4);
}
.btn-outline:hover {
  border-color: var(--green-dark);
  background: rgba(46,90,76,.05);
  color: var(--green-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--green-sage);
  border: 1px solid var(--green-sage);
}
.btn-secondary:hover {
  background: var(--green-sage);
  color: var(--beige);
}

/* Размер для шапки и мелких элементов */
.btn--sm {
  padding: 9px 18px;
  border-radius: 40px;
  font-size: 14px;
}

/* Цветовой вариант: терракотовый контур (кнопка «Написать» в шапке) */
.btn-nav {
  background: transparent;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
}
.btn-nav:hover {
  background: var(--terracotta);
  color: var(--beige);
}

/* ===== Карточки ===== */
.card {
  border-radius: 13px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(54,65,62,.4);
}

/* ===== Шапка ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.header--light {
  background: rgba(234,223,207,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46,90,76,.12);
}
.header--dark {
  background: rgba(54,65,62,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(234,223,207,.14);
}

/* padding шапки: главная 12px, книга 14px (из макетов) */
.header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header--dark .header__inner {
  padding: 14px 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--green-dark);
  text-decoration: none;
}
/* книга: gap 12px, имя 22px, цвет beige (из макета Книга.dc.html) */
.header--dark .header__logo {
  gap: 12px;
  color: var(--beige);
}

.header__logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1;
}
.header--dark .header__logo-name {
  font-size: 22px;
  color: var(--beige);
}

/* «Древо жизни» под именем — добавлено по заданию M1 п.3; в макете отсутствует */
.header__logo-method {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: .7;
  line-height: 1;
  margin-top: 3px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.header__nav a {
  color: var(--green-dark);
  text-decoration: none;
}
.header__nav a:hover { color: var(--terracotta); }

/* ссылки тёмной шапки: #c9c1ac из макета Книга.dc.html */
.header--dark .header__nav a { color: #c9c1ac; }
.header--dark .header__nav a:hover { color: var(--gold); }

/* ===== Футер ===== */
.footer {
  background: var(--graphite);
  color: var(--text-muted);
}
.footer__grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer__logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--beige);
}
.footer__slogan {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: #8fae99;
  max-width: 320px;
  margin: 0;
}
.footer__col-title {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-sage);
  margin: 0 0 16px;
}
.footer__link {
  display: block;
  margin-bottom: 10px;
  color: var(--beige);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  text-decoration: none;
}
.footer__link:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(234,223,207,.14);
}
.footer__bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 32px;
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  color: #7f8b84;
}

/* ===== Анимации ===== */
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%       { transform: scale(1.06); opacity: .85; }
}

/* Логотип на тёмном фоне: пути ствола и корней в #EADFCF */
.logo-light path[stroke="#2E5A4C"] { stroke: #EADFCF; }

/* Цветовой вариант: светлый контур на тёмном/зелёном фоне */
.btn-outline-light {
  background: transparent;
  color: var(--beige);
  border: 1px solid rgba(234,223,207,.5);
}
.btn-outline-light:hover {
  border-color: var(--beige);
  color: var(--beige);
  background: rgba(234,223,207,.06);
}

/* ============================================================
   СЕКЦИИ ГЛАВНОЙ (M2)
   ============================================================ */

/* Общий внутренний контейнер секции */
.inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* микрокопия под кнопками (кодовое слово) */
.microcopy {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--green-sage);
  margin: 14px 0 0;
}
.microcopy--light { color: var(--text-muted2); }
.microcopy strong { color: var(--terracotta); font-weight: 500; }
.microcopy--light strong { color: var(--gold); }

/* ---------- Герой ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--beige);
}
.hero__foliage {
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
}
.hero__foliage svg { width: 100%; height: 100%; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 64px;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__text { max-width: 540px; }

.hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.hero__descriptor {
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  line-height: 1.5;
  margin: 0;
}
.hero__h1 {
  margin: 0 0 24px;
  color: var(--green-dark);
  text-wrap: balance;
}
.hero__h1 em { font-style: italic; color: var(--terracotta); }
.hero__lead {
  font-size: 18px;
  max-width: 470px;
  margin: 0 0 14px;
  color: #3d5a4f;
}
.hero__subslogan {
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  letter-spacing: .4px;
  color: var(--green-sage);
  margin: 0 0 34px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__photocol {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  max-width: 660px;
  z-index: 1;
}
.hero__mark {
  position: absolute;
  left: -160px;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  height: 640px;
  opacity: .15;
  z-index: 0;
  pointer-events: none;
}
.hero__pic {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  background: #d6c8b0;
  box-shadow: -34px 26px 100px -55px rgba(54,65,62,.55);
}
.hero__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  display: block;
}

/* ---------- «Вы здесь, если…» ---------- */
.here {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.12);
  padding: 78px 32px;
}
.here__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px 40px;
}
.here__item {
  display: flex;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(46,90,76,.12);
}
.here__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 10px;
  box-shadow: 0 0 0 4px rgba(235,195,124,.25);
}
.here__text {
  font-size: 17px;
  color: #3d5a4f;
  padding-bottom: 14px;
}
.here__h2 { margin: 0 0 40px; max-width: 640px; }

/* ---------- Метод «Древо жизни» ---------- */
.method {
  position: relative;
  background: var(--graphite);
  color: var(--beige);
  overflow: hidden;
}
.method__foliage {
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
}
.method__foliage svg { width: 100%; height: 100%; }
.method__inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 32px 84px;
}
.method__head { text-align: center; margin-bottom: 8px; }
.method__title {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 12px;
  color: var(--beige);
}
.method__intro {
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
}
.method__grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}
.method__tree {
  position: relative;
  min-height: 440px;
}
.method__tree svg { display: block; overflow: visible; width: 100%; height: 440px; }
.method__card {
  background: rgba(234,223,207,.06);
  border: 1px solid rgba(234,223,207,.16);
  border-radius: 14px;
  padding: 34px 32px;
}
.method__tag {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.method__node-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 36px;
  margin: 0 0 6px;
  color: var(--beige);
}
.method__sub {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #8fae99;
  margin: 0 0 18px;
}
.method__desc {
  font-size: 17px;
  line-height: 1.7;
  color: #ddd6c5;
  margin: 0;
}
.method__switches {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}
.method__switch {
  flex: 1;
  height: 6px;
  border: none;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  background: rgba(234,223,207,.28);
  transition: background .3s ease;
}
.method__switch.is-active { background: var(--gold); }

/* интерактивное древо — состояния узлов */
.tree-dot {
  r: 6;
  fill: var(--green-sage);
  stroke: var(--graphite);
  stroke-width: 1.5;
  transition: all .3s ease;
}
.tree-node.is-active .tree-dot {
  r: 8;
  fill: var(--gold);
  stroke-width: 0;
}
.tree-label {
  fill: var(--text-muted);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  transition: fill .3s ease;
}
.tree-node.is-active .tree-label { fill: var(--gold); font-weight: 500; }
.tree-node { cursor: pointer; }
.tree-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.tree-node.is-active .tree-ring {
  opacity: .5;
  animation: breathe 3s ease-in-out infinite;
}

/* прорастание: листва и золотые точки проявляются один раз (JS ставит opacity:1) */
.tree-fade { opacity: 0; transition: opacity 1.2s ease .8s; }
.tree-fade--dots { transition: opacity 1s ease 1.2s; }

/* пульсирующая точка в линии дыхания (breath) */
.breath-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: breathe 3.2s ease-in-out infinite;
}

/* ---------- Шесть масок ---------- */
.masks {
  background: var(--beige);
  padding: 84px 32px;
}
.masks__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.masks__title { margin: 0; max-width: 600px; }
.masks__link {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(179,106,78,.4);
  padding-bottom: 3px;
}
.masks__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(19px, 2.1vw, 24px);
  color: var(--green-sage);
  max-width: 720px;
  margin: 0 0 40px;
  line-height: 1.35;
}
.masks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.mask-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(46,90,76,.12);
  border-radius: 14px;
  padding: 30px 28px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mask-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(54,65,62,.4);
}
.mask-card__num {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.mask-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 5px;
  color: var(--green-dark);
  line-height: 1.1;
}
.mask-card__pain {
  font-family: 'Roboto', sans-serif;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green-sage);
  margin: 0 0 16px;
}
.mask-card__desc {
  font-size: 16.5px;
  color: #4a6459;
  margin: 0 0 18px;
  line-height: 1.6;
  flex: 1;
}
.mask-card__age {
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  color: #8a9a8f;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(46,90,76,.12);
}

/* ---------- Форматы работы ---------- */
.services {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.12);
  padding: 84px 32px;
}
.services__subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: var(--green-sage);
  margin: 0 0 44px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(46,90,76,.12);
  border-radius: 14px;
  padding: 32px 30px 28px;
  min-height: 270px;
}
.service-card__mark { display: block; margin-bottom: 20px; }
.service-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 27px;
  margin: 0 0 10px;
  line-height: 1.15;
  color: var(--green-dark);
}
.service-card__place {
  font-size: 16px;
  color: #4a6459;
  margin: 0 0 20px;
}
.service-card__foot {
  margin-top: auto;
  border-top: 1px solid rgba(46,90,76,.14);
  padding-top: 16px;
}
.service-card__links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
}
.service-card__sep { color: rgba(46,90,76,.35); }
.service-card__micro {
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  color: var(--green-sage);
  margin: 10px 0 0;
}
.service-card__micro strong { color: var(--terracotta); font-weight: 500; }

/* ---------- Как проходит работа ---------- */
.process {
  background: var(--graphite);
  color: var(--beige);
  position: relative;
  overflow: hidden;
}
.process__foliage {
  position: absolute;
  inset: 0;
  opacity: .07;
  pointer-events: none;
}
.process__foliage svg { width: 100%; height: 100%; }
.process__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 32px;
}
.process__title { margin: 0 0 48px; color: #fff; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
}
.step { border-top: 2px solid rgba(235,195,124,.55); padding-top: 20px; }
.step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.step__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 10px;
  color: #fff;
}
.step__desc {
  font-size: 15.5px;
  color: #d7cfbc;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Первый шаг ---------- */
.firststep {
  background: var(--green-dark);
  color: var(--beige);
  position: relative;
  overflow: hidden;
}
.firststep__circles {
  position: absolute;
  left: -40px;
  bottom: -70px;
  opacity: .14;
  pointer-events: none;
}
.firststep__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 76px 32px;
  text-align: center;
}
.firststep__mark { display: inline-block; margin-bottom: 22px; }
.firststep__title {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0 0 18px;
  line-height: 1.1;
  color: #fff;
}
.firststep__text {
  font-size: 18px;
  color: var(--text-muted2);
  max-width: 560px;
  margin: 0 auto 34px;
}
.firststep__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Кому я не помогу ---------- */
.notfor {
  background: var(--beige);
  padding: 84px 32px;
}
.notfor__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 52px;
}
.notfor__intro { font-size: 17px; color: #4a6459; margin: 0 0 20px; }
.notfor__disclaimer {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  color: var(--green-sage);
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(179,106,78,.4);
}
.notfor__list { display: flex; flex-direction: column; gap: 2px; }
.notfor__item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(46,90,76,.14);
}
.notfor__dash {
  flex: none;
  font-family: 'Roboto', sans-serif;
  color: var(--terracotta);
  font-size: 18px;
  line-height: 1.5;
}
.notfor__text { font-size: 17px; color: #3d5a4f; }
.notfor__h2 { margin: 0 0 18px; }

/* ---------- FAQ ---------- */
.faq {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.12);
  padding: 84px 32px;
}
.faq__inner { max-width: 860px; margin: 0 auto; }
.faq__h2 { margin: 0 0 40px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(46,90,76,.14);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  background: transparent;
  border: none;
  padding: 24px 28px;
  cursor: pointer;
}
.faq-item__q {
  flex: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--green-dark);
  font-weight: 600;
  line-height: 1.2;
}
.faq-item__sign {
  flex: none;
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  color: var(--terracotta);
  font-weight: 300;
  line-height: 1;
}
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-item__answer {
  font-size: 16.5px;
  color: #4a6459;
  margin: 0;
  padding: 0 28px 26px;
  line-height: 1.65;
}

/* ---------- Об авторе ---------- */
.about {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.12);
  padding: 84px 32px;
}
.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about__pic {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(46,90,76,.18);
  box-shadow: 0 30px 60px -34px rgba(54,65,62,.5);
  display: block;
}
.about__pic picture { position: absolute; inset: 0; display: block; }
.about__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__lead { font-size: 18px; color: #3d5a4f; margin: 0 0 16px; }
.about__para { font-size: 17px; color: #4a6459; margin: 0 0 26px; }
.about__h2 { margin: 0 0 20px; }
.about__approach-label {
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-sage);
  margin: 0 0 12px;
}
.about__approaches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.about__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: var(--green-dark);
  border: 1px solid rgba(46,90,76,.28);
  border-radius: 40px;
  padding: 11px 16px;
}

/* ---------- Тизер книги ---------- */
.booktease {
  background: var(--green-dark);
  color: var(--beige);
  position: relative;
  overflow: hidden;
}
.booktease__circles {
  position: absolute;
  right: -60px;
  top: -40px;
  opacity: .16;
  pointer-events: none;
}
.booktease__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 32px;
  display: grid;
  grid-template-columns: .4fr 1fr;
  gap: 48px;
  align-items: center;
}
.book-mock { position: relative; padding: 22px 26px; }
.book-mock__pad {
  position: absolute;
  inset: 0;
  background: var(--beige);
  border-radius: 10px;
}
.book-mock__body { position: relative; }
.book-mock__pages {
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: -7px;
  width: 11px;
  background: repeating-linear-gradient(#efe6d4, #efe6d4 2px, #d8cbb4 2px, #d8cbb4 3px);
  border-radius: 0 2px 2px 0;
}
/* pages перенесены наружу из дочерних элементов — позиция пересчитана от нового родителя */
.book-mock > .book-mock__pages { top: 30px; bottom: 30px; right: 19px; }
.book-hero__cover-wrap > .book-mock__pages { top: 34px; bottom: 34px; right: 23px; }
.book-mock__cover {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
  background: var(--graphite);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 34px 26px;
  text-align: center;
}
.book-mock__spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, rgba(20,26,24,.5), rgba(20,26,24,0));
}
.book-mock__mark { position: relative; }
.book-mock__mid { position: relative; }
.book-mock__title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--beige);
}
.book-mock__rule { width: 34px; height: 1px; background: var(--terracotta); margin: 0 auto 12px; }
.book-mock__sub {
  font-family: 'Roboto', sans-serif;
  font-size: 10.5px;
  letter-spacing: .5px;
  color: #a9bcae;
  margin: 0;
  line-height: 1.5;
}
.book-mock__author {
  position: relative;
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
/* Реальная обложка: поверх CSS-мокапа, если файл есть */
.book-mock__cover picture {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}
.book-mock__cover picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.booktease__title {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 14px;
  line-height: 1.05;
  color: #fff;
}
.booktease__lead {
  font-size: 19px;
  color: #d7ceba;
  max-width: 520px;
  margin: 0 0 12px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}
.booktease__price {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  letter-spacing: .3px;
  color: var(--gold);
  margin: 0 0 28px;
}
.booktease__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Отзывы ---------- */
.reviews {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.12);
  padding: 84px 32px;
}
.reviews__h2 { margin: 0 0 44px; max-width: 640px; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(46,90,76,.12);
  border-radius: 12px;
  padding: 28px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(54,65,62,.4);
}
.review-card__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  color: var(--gold);
  line-height: .5;
  height: 22px;
}
.review-card__text {
  font-size: 16px;
  color: #4a6459;
  line-height: 1.6;
  margin: 16px 0 22px;
  flex: 1;
}
.review-card__foot {
  margin-top: auto;
  border-top: 1px solid rgba(46,90,76,.12);
  padding-top: 16px;
}
.review-card__author {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: var(--green-dark);
  font-weight: 500;
}
.review-card__meta {
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  color: #a3b2a8;
}

/* ---------- Контакты ---------- */
.contacts {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.12);
  padding: 84px 32px;
}
.contacts__head { max-width: 760px; margin: 0 0 40px; }
.contacts__h2 { margin: 0 0 20px; }
.contacts__addr1 { font-size: 17px; color: #3d5a4f; margin: 0 0 6px; }
.contacts__addr2 { font-size: 17px; color: #4a6459; margin: 0 0 26px; }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contacts__map {
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(46,90,76,.18);
  background: repeating-linear-gradient(135deg, #dfd3bf 0 14px, #d6c8b0 14px 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.contacts__map-foliage { position: absolute; inset: 0; opacity: .5; }
.contacts__map-foliage svg { width: 100%; height: 100%; }
.contacts__map-label {
  position: relative;
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  color: #5f7a6c;
  background: rgba(255,255,255,.9);
  padding: 9px 16px;
  border-radius: 6px;
}

/* ============================================================
   СТРАНИЦА КНИГИ (M3)
   ============================================================ */

/* ---------- CTA-группа (кнопка + ВК + микрокопия) ---------- */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.cta-group__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cta-tirazh {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgba(234,223,207,.45);
  margin: 0;
  letter-spacing: .2px;
}

/* ---------- Герой книги ---------- */
.book-hero {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  color: var(--beige);
}
.book-hero__foliage {
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
}
.book-hero__foliage svg { width: 100%; height: 100%; }
.book-hero__circles {
  position: absolute;
  right: -80px;
  bottom: -100px;
  opacity: .14;
  pointer-events: none;
}
.book-hero__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px 90px;
  display: grid;
  grid-template-columns: .55fr 1fr;
  gap: 64px;
  align-items: center;
}
.book-hero__cover-wrap {
  position: relative;
  padding: 26px 30px;
}
.book-hero__cover-halo {
  position: absolute;
  inset: 0;
  background: var(--beige);
  border-radius: 12px;
  opacity: .92;
}
.book-hero__cover-inner {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}
.book-hero__h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .98;
  color: #fff;
  margin: 0 0 22px;
}
.book-hero__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--gold);
  max-width: 480px;
  margin: 0 0 22px;
  line-height: 1.3;
}
.book-hero__lead {
  font-size: 18px;
  color: #d0c8b4;
  max-width: 500px;
  margin: 0 0 8px;
}
.book-hero__fact {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #8fae99;
  letter-spacing: .5px;
  margin: 0 0 30px;
}
.book-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
/* В герое книги кнопки покупки стекаются вертикально: ВК под основной кнопкой */
.book-hero__actions .cta-group__btns {
  flex-direction: column;
  align-items: flex-start;
}
.book-hero__tg-group {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.book-hero__tg-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.book-hero__tg-prompt {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: rgba(234, 223, 207, 0.55);
  margin: 0;
}
.book-hero__tg-micro {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgba(234, 223, 207, 0.45);
  margin: 0;
}

/* ---------- О чём книга ---------- */
.concepts {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  color: var(--beige);
  border-top: 1px solid rgba(234,223,207,.12);
}
.concepts__foliage {
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
}
.concepts__foliage svg { width: 100%; height: 100%; }
.concepts__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 32px;
}
.concepts__subtitle {
  font-size: 18px;
  color: #c9c1ac;
  max-width: 640px;
  margin: 0 0 48px;
}
.concepts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.concept-card {
  background: rgba(234,223,207,.06);
  border: 1px solid rgba(234,223,207,.14);
  border-radius: 12px;
  padding: 28px 26px;
}
.concept-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.concept-card__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(235,195,124,.2);
}
.concept-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  color: #fff;
  font-weight: 600;
}
.concept-card__desc {
  font-size: 16px;
  color: #d0c8b4;
  margin: 0;
}
/* Карта системы */
/* ---------- Карта системы (нативная инфографика) ---------- */
.sysmap {
  margin: 48px 0 0;
  padding: clamp(20px, 3.5vw, 40px);
  background: var(--beige);
  color: var(--green-dark);
  border-radius: 16px;
}
.sysmap__head { text-align: center; margin-bottom: 28px; }
.sysmap__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  margin: 0 0 8px;
}
.sysmap__subtitle {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--green-sage);
  margin: 0;
}

/* --- путь из 7 узлов --- */
.sysmap__path { margin: 0 0 22px; }
.sysmap__track {
  position: relative;
  display: flex;
  gap: 8px;
}
/* соединительная линия за узлами */
.sysmap__track::before {
  content: '';
  position: absolute;
  left: 30px;
  right: 30px;
  top: 31px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-sage), var(--terracotta) 55%, var(--gold));
  opacity: .4;
  z-index: 0;
}
.sysmap-node {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 4px 2px;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sysmap-node__icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--beige);
  border: 1.5px solid rgba(46, 90, 76, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-sage);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.sysmap-node__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sysmap-node__num {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--beige);
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sysmap-node__label {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: var(--green-sage);
  text-align: center;
}
.sysmap-node:hover .sysmap-node__icon {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.sysmap-node.is-active .sysmap-node__icon {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--beige);
  transform: scale(1.1);
}
.sysmap-node.is-active .sysmap-node__label {
  color: var(--green-dark);
  font-weight: 500;
}
.sysmap-node[data-key="4"].is-active .sysmap-node__icon {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.sysmap-node[data-key="7"].is-active .sysmap-node__icon {
  background: var(--green-dark);
  border-color: var(--gold);
}

/* появление при скролле (только с JS) */
.sysmap.is-interactive .sysmap-node {
  opacity: 0;
  transform: translateY(10px) scale(.9);
  transition: opacity .5s ease, transform .5s ease;
}
.sysmap.is-interactive.is-visible .sysmap-node {
  opacity: 1;
  transform: none;
}
.sysmap.is-interactive .sysmap-node:nth-child(1) { transition-delay: .04s; }
.sysmap.is-interactive .sysmap-node:nth-child(2) { transition-delay: .10s; }
.sysmap.is-interactive .sysmap-node:nth-child(3) { transition-delay: .16s; }
.sysmap.is-interactive .sysmap-node:nth-child(4) { transition-delay: .22s; }
.sysmap.is-interactive .sysmap-node:nth-child(5) { transition-delay: .28s; }
.sysmap.is-interactive .sysmap-node:nth-child(6) { transition-delay: .34s; }
.sysmap.is-interactive .sysmap-node:nth-child(7) { transition-delay: .40s; }
.sysmap.is-interactive .sysmap__track::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s ease .1s;
}
.sysmap.is-interactive.is-visible .sysmap__track::before { transform: scaleX(1); }

/* --- панель деталей --- */
.sysmap-detail {
  border: 1px solid rgba(46, 90, 76, 0.18);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.28);
}
.sysmap-detail + .sysmap-detail { margin-top: 12px; }
.sysmap.is-interactive .sysmap-detail { display: none; }
.sysmap.is-interactive .sysmap-detail.is-active {
  display: block;
  animation: sysmap-fade .35s ease;
}
@keyframes sysmap-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.sysmap-detail__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.sysmap-detail__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.05;
  margin: 0;
}
.sysmap-detail__role {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-sage);
}
.sysmap-detail__lead {
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  line-height: 1.6;
  color: #3D5A4F;
  max-width: 640px;
  margin: 0 0 16px;
}
.sysmap-detail__label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 10px;
}
.sysmap-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sysmap-chips li {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--green-dark);
  border: 1px solid rgba(46, 90, 76, 0.2);
  border-radius: 20px;
  padding: 5px 13px;
  background: rgba(234, 223, 207, 0.5);
}
.sysmap-chips--masks li { border-color: rgba(179, 106, 78, 0.3); }
.sysmap-chips--masks b { font-weight: 500; }
.sysmap-chips--gift li {
  font-weight: 500;
  border-color: rgba(235, 195, 124, 0.55);
}
.sysmap-detail__note {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: #4A6459;
  margin: 14px 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .sysmap.is-interactive .sysmap-node,
  .sysmap.is-interactive .sysmap__track::before { transition: none; opacity: 1; transform: none; }
  .sysmap.is-interactive .sysmap-detail.is-active { animation: none; }
}

.sysmap__sage {
  border: 1px solid rgba(111, 143, 122, 0.4);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  background: rgba(111, 143, 122, 0.08);
}
.sysmap__sage-head { margin-bottom: 14px; }
.sysmap__sage-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 4px;
}
.sysmap__sage-role {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-sage);
}
.sysmap__sage-desc {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: #3D5A4F;
  margin: 0;
}
.sysmap__sage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 20px;
}
.sysmap__sage-list li {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #4A6459;
}
.sysmap__sage-list strong { color: var(--green-dark); font-weight: 500; }

.sysmap__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sysmap__legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--green-sage);
}
.sysmap__legend-mark {
  flex: none;
  width: 40px;
  height: 0;
  border-top: 2px solid var(--green-dark);
}
.sysmap__legend-mark--dashed { border-top-style: dashed; border-top-color: var(--terracotta); }
.sysmap__legend-mark--dotted { border-top-style: dotted; border-top-color: var(--green-sage); }

/* ---------- Для кого (checkmark icon) ---------- */
.here__check { flex: none; margin-top: 2px; }

/* ---------- Отрывок ---------- */
.excerpt {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.12);
  padding: 84px 32px;
}
.excerpt__inner { max-width: 760px; margin: 0 auto; }
.excerpt__head { text-align: center; margin-bottom: 34px; }
.excerpt__title { margin: 0; }
.excerpt__body {
  background: #fff;
  border: 1px solid rgba(46,90,76,.14);
  border-radius: 14px;
  padding: 48px 44px;
  margin-bottom: 36px;
}
.excerpt__open-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  line-height: .4;
  height: 28px;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}
.excerpt__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.7;
  color: #3d5a4f;
  font-style: italic;
  margin: 0 0 1.1em;
}
.excerpt__text:last-child { margin-bottom: 0; }
.excerpt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: flex-start;
}

/* ---------- Маски — книжная версия (тёмно-зелёный фон) ---------- */
.masks--book {
  background: var(--green-dark);
  color: var(--beige);
  position: relative;
  overflow: hidden;
  padding: 88px 32px;
}
.masks--book__foliage {
  position: absolute;
  inset: 0;
  opacity: .1;
  pointer-events: none;
}
.masks--book__foliage svg { width: 100%; height: 100%; }
.masks--book__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
.masks--book__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.masks--book__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--gold);
  margin: 0;
  line-height: 1.35;
}
/* Карточки масок на тёмном фоне */
.masks--book .mask-card {
  background: rgba(234,223,207,.05);
  border-color: rgba(234,223,207,.14);
}
.masks--book .mask-card__num { color: var(--gold); }
.masks--book .mask-card__name { color: #fff; }
.masks--book .mask-card__desc { color: #ddd6c5; }
.masks--book .mask-card__age {
  color: #a9bcae;
  border-top-color: rgba(234,223,207,.14);
}
.masks--book .mask-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.4);
}

/* ---------- Как читать ---------- */
.howto {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.12);
  padding: 84px 32px;
}
.howto__inner { max-width: 1180px; margin: 0 auto; }
.howto__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.howto-card {
  background: #fff;
  border: 1px solid rgba(46,90,76,.12);
  border-radius: 14px;
  padding: 34px 32px;
}
.howto-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  margin-bottom: 20px;
}
.howto-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 27px;
  margin: 0 0 10px;
  color: var(--green-dark);
}
.howto-card__desc { font-size: 16.5px; color: #4a6459; margin: 0; }
.howto__note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 21px;
  color: var(--green-sage);
  max-width: 620px;
  margin: 0;
}

/* ---------- Оглавление ---------- */
.toc {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.1);
  padding: 88px 32px;
}
.toc__inner { max-width: 920px; margin: 0 auto; }
.toc__head { text-align: center; margin-bottom: 40px; }
.toc__subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: var(--green-sage);
  margin: 8px 0 0;
}
.toc__list { display: flex; flex-direction: column; gap: 12px; }
/* Аккордеон TOC: расширяем .faq-item */
.toc-item .faq-item__btn { padding: 26px 30px; }
.toc-roman {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  color: var(--terracotta);
  font-weight: 500;
  line-height: 1;
  flex: none;
  width: 48px;
}
.toc-meta { flex: 1; }
.toc-kicker {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}
.toc-section-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--green-dark);
  font-weight: 600;
  line-height: 1.15;
}
.toc-range {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--green-sage);
  margin-top: 2px;
}
.toc-chapters { padding: 4px 30px 26px 78px; }
.toc-chapter {
  display: flex;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid rgba(46,90,76,.1);
}
.toc-chapter__n {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--terracotta);
  flex: none;
  width: 26px;
  line-height: 1.7;
}
.toc-chapter__t { font-size: 16.5px; color: #3d5a4f; }
.toc-extras {
  margin-top: 26px;
  background: #fff;
  border: 1px solid rgba(46,90,76,.14);
  border-radius: 12px;
  padding: 28px 30px;
}
.toc-extras__label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 16px;
}
.toc-extras__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.toc-tag {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: var(--green-dark);
  border: 1px solid rgba(46,90,76,.24);
  border-radius: 40px;
  padding: 8px 16px;
}

/* Отзывы книги: 4 карточки → 2×2 auto-fit */
.reviews--book .reviews__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ---------- Тираж ---------- */
.tirazh {
  background: var(--beige);
  border-top: 1px solid rgba(46,90,76,.12);
  padding: 60px 32px;
}
.tirazh__inner { max-width: 760px; margin: 0 auto; }
.tirazh__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0 0 14px;
}
.tirazh__text { font-size: 18px; color: #4a6459; margin: 0; }

/* ---------- Об авторе — книжная версия ---------- */
.about--book .about__pic { aspect-ratio: 4 / 5; }
.about--book .about__h2 { margin-bottom: 16px; }
.about__back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: var(--terracotta);
  margin-top: 24px;
  text-decoration: none;
}
.about__back-link:hover { color: var(--green-dark); }

/* ---------- Финал книги ---------- */
.bookfinal {
  background: var(--green-dark);
  color: var(--beige);
  position: relative;
  overflow: hidden;
}
.bookfinal__foliage {
  position: absolute;
  inset: 0;
  opacity: .12;
  pointer-events: none;
}
.bookfinal__foliage svg { width: 100%; height: 100%; }
.bookfinal__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 88px 32px;
  text-align: center;
}
.bookfinal__breath { display: inline-block; margin-bottom: 24px; }
.bookfinal__title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 20px;
}
.bookfinal__lead {
  font-size: 18px;
  color: #c9c1ac;
  max-width: 520px;
  margin: 0 auto 36px;
}
.bookfinal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
}
/* Центрируем cta-group в финале */
.bookfinal__actions .cta-group { align-items: center; }

.bookfinal__tg-group {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.bookfinal__tg-prompt {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: rgba(234, 223, 207, 0.55);
  margin: 0;
}
.bookfinal__tg-micro {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgba(234, 223, 207, 0.45);
  margin: 0;
}

/* ============================================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ============================================================ */
/*
  Бургера нет. На ≤600px скрываем якорные пункты, оставляем:
  - index.html: «Книга» (.nav-cross) + «Написать» (.nav-cta)
  - book.html:  «Главная» (.nav-cross)
*/
@media (max-width: 600px) {
  .nav-anchor { display: none; }
}

@media (max-width: 880px) {

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px 32px;
  }

  .section { padding: 60px 20px; }
  .container { padding: 0 20px; }

  /* Герой: фото уходит под текст на всю ширину, 4:5 */
  .hero__content { min-height: 0; padding-bottom: 0; }
  .hero__photocol {
    position: static;
    width: auto;
    max-width: none;
    margin: 36px -32px 0;
  }
  .hero__mark { display: none; }
  .hero__pic {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 0;
    box-shadow: 0 24px 60px -40px rgba(54,65,62,.45);
  }
  .hero__h1 { font-size: clamp(38px, 10vw, 58px); }
  .hero__text { max-width: none; }

  /* Секции: уменьшаем вертикальные отступы и горизонтальные поля */
  .here,
  .masks,
  .services,
  .notfor,
  .faq,
  .about,
  .contacts,
  .reviews { padding: 60px 20px; }
  .method__inner,
  .process__inner,
  .firststep__inner,
  .booktease__inner { padding-left: 20px; padding-right: 20px; }
  .method__inner { padding-top: 60px; padding-bottom: 64px; }
  .process__inner { padding-top: 60px; padding-bottom: 60px; }
  .firststep__inner { padding-top: 60px; padding-bottom: 60px; }
  .booktease__inner { padding-top: 60px; padding-bottom: 60px; }

  /* Двухколоночные сетки → одна колонка */
  .method__grid,
  .notfor__grid,
  .about__grid,
  .booktease__inner { grid-template-columns: 1fr; gap: 32px; }
  .reviews__grid { grid-template-columns: 1fr; }

  .method__card { padding: 28px 24px; }
  .book-mock { max-width: 280px; margin: 0 auto; }

  /* Книга: герой */
  .book-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 60px;
  }
  .book-hero__cover-wrap { max-width: 280px; margin: 0 auto; }
  .book-hero__h1 { font-size: clamp(40px, 11vw, 62px); }

  /* Книга: концепции */
  .concepts__inner { padding-left: 20px; padding-right: 20px; }

  /* Книга: для кого */
  .here { padding-left: 20px; padding-right: 20px; }

  /* Книга: отрывок */
  .excerpt { padding-left: 20px; padding-right: 20px; }
  .excerpt__body { padding: 32px 24px; }

  /* Книга: маски */
  .masks--book { padding: 60px 20px; }

  /* Книга: как читать */
  .howto { padding-left: 20px; padding-right: 20px; }

  /* Книга: TOC */
  .toc { padding-left: 20px; padding-right: 20px; }
  .toc-chapters { padding-left: 24px; }

  /* Книга: об авторе */
  .about--book .about__grid { grid-template-columns: 1fr; }
  .about--book .about__pic { max-width: 320px; aspect-ratio: 4 / 5; }

  /* Книга: финал */
  .bookfinal__inner { padding-left: 20px; padding-right: 20px; }

  /* Карта системы: узлы прокручиваются в ряд на телефоне */
  .sysmap { padding: 20px 16px; }
  .sysmap__path {
    overflow-x: auto;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 6px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .sysmap__track { gap: 6px; min-width: max-content; }
  .sysmap__track::before { left: 34px; right: 34px; top: 28px; }
  .sysmap-node { min-width: 64px; scroll-snap-align: center; }
  .sysmap-node__icon { width: 48px; height: 48px; }
  .sysmap-node__icon svg { width: 23px; height: 23px; }
  .sysmap-node__label { font-size: 11px; }
}

/* Узкие телефоны: шапка и дескриптор героя должны помещаться без гор. скролла */
@media (max-width: 600px) {
  .header__inner { gap: 8px; padding: 10px 14px; }
  .header__logo { gap: 8px; }
  .header__logo svg { width: 28px; height: 28px; }
  .header__logo-name { font-size: 16.5px; }
  .header__logo-method { font-size: 9.5px; letter-spacing: 1px; }
  .header__nav { gap: 10px; font-size: 13px; }
  .header__nav .btn--sm { padding: 8px 13px; }

  /* вторая строка дескриптора длинная из-за letter-spacing — ужимаем */
  .hero__descriptor { font-size: 11px; letter-spacing: 1.5px; }
  .hero__content { padding-left: 24px; padding-right: 24px; }
  /* photocol — сестра hero__content, без паддинга родителя, нулевые отступы */
  .hero__photocol { margin-left: 0; margin-right: 0; }
  /* декоративные круги не выходят за пределы секций */
  .booktease__circles { right: 0; }
  .book-hero__circles { right: 0; }
}

/* ============================================================
   M4 — /karta
   ============================================================ */
.karta-page {
  background: var(--beige);
  min-height: 60vh;
  padding: 80px 32px;
}

.karta-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  word-break: break-word;
}

.karta-wrap .kicker { margin-bottom: 12px; }
.karta-wrap .h1-hero { color: var(--green-dark); margin: 0 0 24px; }

.karta-wrap .karta-body {
  font-family: 'Lora', serif;
  font-size: 18px;
  line-height: 1.65;
  color: #4a6459;
  margin: 0 0 20px;
  overflow-wrap: break-word;
}

.karta-wrap .cta-group__btns { justify-content: center; }

.karta-microcopy {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--green-sage);
  letter-spacing: .4px;
  margin: 12px 0 0;
}

.karta-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 36px;
}

.karta-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #8fae99;
  text-decoration: none;
}

.karta-nav a:hover { color: var(--green-dark); }

@media (max-width: 600px) {
  .karta-page { padding: 60px 24px; }
  .karta-wrap { text-align: left; }
  .karta-wrap .kicker { text-align: center; }
  .karta-wrap .h1-hero { text-align: center; }
  .karta-wrap .karta-body { font-size: 15px; }
  .karta-wrap .cta-group__btns { justify-content: flex-start; }
  .karta-microcopy { text-align: left; }
  .karta-nav { justify-content: flex-start; }
}
