/* ============================================================
   Психолог — лендинг. Дизайн-система.
   Тёплая, спокойная, премиальная. Антиква + гротеск.
   ============================================================ */

:root {
  /* — Тёплая нейтральная база — */
  --bg:        #f4efe7;   /* тёплый бумажный фон */
  --bg-2:      #efe8dc;   /* чуть глубже — секции */
  --surface:   #faf7f1;   /* карточки */
  --ink:       #24281f;   /* основной текст — тёпло-зелёно-чёрный */
  --ink-soft:  #54564b;   /* вторичный текст */
  --ink-faint: #8a897c;   /* подписи, мета */
  --line:      #ddd4c4;   /* линии, бордеры */
  --line-soft: #e7dfd1;

  /* — Акценты (одинаковая светлота/хрома, разный тон) — */
  --sage:      #3c4a3b;   /* глубокий шалфей — primary */
  --sage-deep: #2f3a2e;
  --clay:      #9a7a5c;   /* тёплая глина — secondary */
  --clay-soft: #b89b7e;

  /* — Типографика — */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Плотность (управляется Tweaks; база — «средне») */
  --sec-pad: clamp(56px, 8vw, 104px);
  --sec-head-mb: clamp(32px, 4.5vw, 52px);

  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(45,40,30,.05), 0 2px 8px rgba(45,40,30,.04);
  --shadow:    0 4px 14px rgba(45,40,30,.07), 0 18px 50px -22px rgba(45,40,30,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--sage); color: #f4efe7; }

/* — Сетка — */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section-pad { padding-block: var(--sec-pad); }

/* — Типографические утилиты — */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--clay);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--clay);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.018em;
}
.h2 { font-size: clamp(34px, 4.6vw, 60px); }
.h3 { font-size: clamp(23px, 2.4vw, 30px); }

.serif-italic { font-style: italic; color: var(--clay); }

.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}

p { text-wrap: pretty; }

/* — Кнопки — */
.btn {
  --btn-bg: var(--sage);
  --btn-fg: #f5f1e8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 15px 26px;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(60,74,59,.55); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface); box-shadow: var(--shadow-sm); border-color: var(--clay-soft); }

.btn--clay { --btn-bg: var(--clay); }
.btn--clay:hover { box-shadow: 0 12px 26px -10px rgba(154,122,92,.6); }

.btn--lg { padding: 17px 32px; font-size: 16px; }

/* — Плейсхолдер изображения — */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #e8ded0 0 12px, #e2d7c6 12px 24px);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9c8d76;
  background: rgba(250,247,241,.82);
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid #d9cdb8;
  text-align: center;
  max-width: 80%;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  font-family: var(--serif);
  flex-shrink: 0;
  line-height: 1;
}
.brand .mark {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand .role {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-block: 6px;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 18px; height: 1.6px;
  background: var(--ink);
  margin: 3.5px auto;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter) 30px;
  transform: translateY(-120%);
  transition: transform .4s var(--ease);
  z-index: 49;
  box-shadow: var(--shadow);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.mobile-menu a.btn {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--btn-fg);
  padding: 16px 28px;
  margin-top: 22px;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  border-bottom: none;
  border-radius: 100px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(40px, 6vw, 70px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note {
  margin-top: 34px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--ink-faint);
  font-size: 14px;
}
.hero-note .item { display: flex; align-items: center; gap: 9px; }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }

.hero-confidential {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 460px;
}
.hero-confidential .hc-title {
  margin: 0 0 9px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clay);
}
.hero-confidential .hc-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.hero-figure {
  position: relative;
  aspect-ratio: 4 / 5;
}
.hero-figure .ph { position: absolute; inset: 0; }

/* ============================================================
   MARQUEE / TRUST
   ============================================================ */
.trust {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding-block: 30px;
  overflow: hidden;
}
.trust .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust .label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.trust .tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--ink-soft);
  padding: 4px 0;
}
.trust .tag + .tag::before { content: "·"; color: var(--clay); margin-right: 14px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-head { max-width: 720px; margin-bottom: var(--sec-head-mb); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .lead { margin-top: 22px; }
.sec-head.center .lead { margin-inline: auto; }

/* ============================================================
   ЗАПРОСЫ (cards grid)
   ============================================================ */
.requests { background: var(--bg-2); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 30px 34px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.card .idx {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--clay);
  border: 1px solid var(--line);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ============================================================
   О ПОДХОДЕ
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}
.about-figure { position: sticky; top: 100px; aspect-ratio: 5 / 6; }
.about-figure .ph { position: absolute; inset: 0; }
.about-body h2 { margin-bottom: 26px; }
.about-body p { color: var(--ink-soft); margin: 0 0 18px; }
.about-quote {
  margin: 30px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--clay);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink);
}
.credentials {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.credentials .stat .n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--sage); }
.credentials .stat .l { font-size: 13.5px; color: var(--ink-faint); margin-top: 8px; }

/* ============================================================
   ЦЕНЫ
   ============================================================ */
.pricing { background: var(--sage-deep); color: #ece6d8; }
.pricing .eyebrow { color: var(--clay-soft); }
.pricing .eyebrow::before, .pricing .eyebrow.center::after { background: var(--clay-soft); }
.pricing h2 { color: #f3eee3; }
.pricing .sec-head .lead { color: #c2c0b0; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.price-card {
  background: rgba(244,239,231,.045);
  border: 1px solid rgba(244,239,231,.16);
  border-radius: var(--radius-lg);
  padding: 38px 36px 40px;
  display: flex;
  flex-direction: column;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.price-card:hover { background: rgba(244,239,231,.075); transform: translateY(-4px); }
.price-card.featured {
  background: var(--surface);
  color: var(--ink);
  border-color: transparent;
}
.price-card .tier {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.price-card .tier .name { font-family: var(--serif); font-size: 27px; }
.price-card .badge {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage); background: var(--bg-2);
  padding: 6px 12px; border-radius: 100px;
}
.price-card .amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-card .amount .cur { font-family: var(--serif); font-size: 30px; opacity: .7; }
.price-card .amount .val { font-family: var(--serif); font-size: 64px; line-height: 1; letter-spacing: -.02em; }
.price-card .dur { font-size: 14.5px; opacity: .75; margin-bottom: 26px; }
.price-card.featured .dur { color: var(--ink-soft); opacity: 1; }
.price-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 13px; }
.price-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; }
.price-list .ck { flex: none; margin-top: 3px; color: var(--clay-soft); }
.price-card.featured .price-list .ck { color: var(--clay); }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-card:not(.featured) .btn { --btn-bg: var(--surface); --btn-fg: var(--ink); }
.pricing-note { text-align: center; margin-top: 30px; color: #b3b1a2; font-size: 14px; }

/* — Объединённый блок «Запись» — */
.booking { background: var(--sage-deep); color: #ece6d8; }
.booking .eyebrow.center { color: var(--clay-soft); }
.booking .eyebrow.center::before, .booking .eyebrow.center::after { background: var(--clay-soft); }
.booking h2 { color: #f3eee3; margin-bottom: clamp(34px, 5vw, 52px); }
.booking-inner { max-width: 720px; margin-inline: auto; text-align: center; }
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.format {
  padding: 26px 28px;
  border: 1px solid rgba(236,230,216,.16);
  border-radius: var(--radius-lg);
  background: rgba(236,230,216,.045);
}
.format-top { margin-bottom: 14px; }
.format-top .ft { display: block; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.12; color: #f3eee3; }
.format-top .fp { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--clay-soft); }
.format .fd { margin: 0; color: #c5c3b4; font-size: 15px; line-height: 1.5; }
.booking-note { margin: clamp(28px, 4vw, 40px) auto 0; max-width: 540px; color: #aeb4a7; font-size: 15px; line-height: 1.55; }
.booking-cta { margin-top: 26px; --btn-bg: #f3eee3; --btn-fg: var(--sage-deep); }
.booking-cta:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }

/* ============================================================
   ПРОЦЕСС
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  counter-reset: step;
}
.step {
  padding: 34px 26px 30px;
  border-top: 2px solid var(--line);
  position: relative;
  transition: border-color .3s;
}
.step:hover { border-top-color: var(--clay); }
.step .n {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--clay);
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* — «Как проходит работа» — вертикальный таймлайн — */
.process { background: var(--bg-2); }
.process .sec-head { margin-bottom: clamp(38px, 4.5vw, 58px); }

.process-flow {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
}
.pf-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 2.6vw, 32px);
  padding-bottom: clamp(26px, 3.2vw, 40px);
  position: relative;
}
.pf-step:last-child { padding-bottom: 0; }
/* соединительная линия */
.pf-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 54px;
  bottom: -1px;
  width: 1px;
  background: var(--line);
}
.pf-num {
  position: relative;
  z-index: 1;
  width: 54px; height: 54px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--clay);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.pf-step:hover .pf-num { border-color: var(--clay); color: var(--sage); }
.pf-body { padding-top: 13px; }
.pf-body p {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 18.5px);
  line-height: 1.55;
  color: var(--ink);
}

.process-note {
  max-width: 760px;
  margin: clamp(36px, 4vw, 52px) auto 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 28px) clamp(24px, 3vw, 32px);
}
.process-note .pm-title {
  margin: 0 0 9px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--clay);
}
.process-note p:last-child { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.testimonials { background: var(--bg-2); }
.t-grid {
  columns: 3;
  column-gap: 18px;
}
.t-card {
  break-inside: avoid;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 30px 26px;
  margin-bottom: 18px;
}
.t-card .quote-mark { font-family: var(--serif); font-size: 52px; line-height: .4; color: var(--clay-soft); height: 28px; display: block; }
.t-card p { font-size: 16.5px; color: var(--ink); line-height: 1.55; margin: 0 0 22px; }
.t-card .who { display: flex; align-items: center; gap: 13px; }
.t-card .who .av { width: 40px; height: 40px; border-radius: 50%; background: repeating-linear-gradient(135deg,#e8ded0 0 6px,#e2d7c6 6px 12px); flex: none; border: 1px solid var(--line); }
.t-card .who .meta .nm { font-weight: 600; font-size: 14.5px; }
.t-card .who .meta .rl { font-size: 13px; color: var(--ink-faint); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 860px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 26px);
  color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--sage); }
.faq-icon {
  flex: none;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .3s var(--ease), background .3s;
}
.faq-icon::before { width: 13px; height: 1.6px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon::after  { width: 1.6px; height: 13px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon { background: var(--sage); border-color: var(--sage); transform: rotate(90deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #f4efe7; }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s var(--ease);
}
.faq-a-inner { padding: 0 4px 30px; color: var(--ink-soft); font-size: 16.5px; max-width: 64ch; }

/* ============================================================
   КОНТАКТЫ / ЗАПИСЬ
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}
.contact-aside h2 { margin-bottom: 24px; }
.contact-aside .lead { margin-bottom: 34px; }
.contact-channels { display: grid; gap: 12px; margin-bottom: 30px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.channel:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--clay-soft); }
.channel .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-2); display: grid; place-items: center; flex: none; color: var(--sage); }
.channel .tx .k { font-size: 12.5px; color: var(--ink-faint); letter-spacing: .04em; }
.channel .tx .v { font-weight: 600; font-size: 15.5px; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; letter-spacing: .01em; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a59f90; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(60,74,59,.12);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice {
  position: relative;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14.5px;
  cursor: pointer;
  background: var(--bg);
  transition: all .2s var(--ease);
}
.choice input:checked + span { background: var(--sage); color: #f4efe7; border-color: var(--sage); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-consent { font-size: 12.5px; color: var(--ink-faint); margin: 16px 0 0; text-align: center; }
.form-consent a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--sage); color: #f4efe7; display: grid; place-items: center; margin: 0 auto 20px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: 38px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px 60px; flex-wrap: wrap; }
.footer-brand .mark { font-family: var(--serif); font-size: 24px; }
.footer-brand p { color: var(--ink-soft); max-width: 42ch; margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; }
.footer-meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-tg { color: var(--ink); font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.footer-tg:hover { color: var(--clay); border-color: var(--clay-soft); }
.footer-copy { font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   МЕТОД (EMDR)
   ============================================================ */
.method { background: var(--bg-2); }
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}
.method-body p { color: var(--ink-soft); margin: 0 0 18px; }
.method-body p strong { color: var(--ink); font-weight: 600; }

/* — Подзаголовок «Обо мне» — */
.about-body .about-role { margin: -14px 0 22px; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--clay); }

/* — Telegram-хэндл под кнопкой записи — */
.booking-handle { margin: 14px 0 0; font-size: 14px; letter-spacing: .03em; color: var(--clay-soft); }
.method-aside {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 34px 30px;
  box-shadow: var(--shadow-sm);
}
.method-aside .kicker { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin: 0 0 18px; }
.method-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.method-points li { display: flex; gap: 14px; align-items: flex-start; }
.method-points .mk {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-2); color: var(--sage);
  display: grid; place-items: center; margin-top: 1px;
}
.method-points .mt { display: flex; flex-direction: column; gap: 3px; }
.method-points .mt .mh { font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.method-points .mt .ms { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.method-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.method-tags .mtag {
  font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: 100px; white-space: nowrap;
  background: var(--bg-2); color: var(--ink-soft); border: 1px solid var(--line-soft);
}

/* ============================================================
   ДИПЛОМЫ — карусель + лайтбокс
   ============================================================ */
.diplomas { background: var(--bg); }
.dip-count {
  margin-top: 18px;
  font-family: var(--sans); font-size: 14.5px; color: var(--ink-soft);
}
.dip-count b { font-family: var(--serif); font-size: 30px; color: var(--sage); font-weight: 500; margin-right: 6px; }

/* Стена сертификатов — все видны сразу */
.dip-group { margin-top: clamp(42px, 5vw, 62px); }
.dip-group-title {
  font-family: var(--sans);
  font-size: 13px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.dip-group-title .gc { color: var(--ink-faint); font-weight: 500; letter-spacing: .04em; }
.dip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.dip-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.dip-tile img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform .5s var(--ease);
}
.dip-tile .tcap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 12px 11px;
  background: linear-gradient(to top, rgba(28,26,22,.9), rgba(28,26,22,.55) 55%, transparent);
  color: #f4efe7;
  font-size: 11.5px; line-height: 1.32; font-weight: 500;
  text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.dip-tile .zoom {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(244,239,231,.9); color: var(--sage);
  display: grid; place-items: center;
  opacity: 0; transform: scale(.8);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.dip-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--clay-soft); z-index: 2; }
.dip-tile:hover img { transform: scale(1.05); }
.dip-tile:hover .tcap { opacity: 1; transform: none; }
.dip-tile:hover .zoom { opacity: 1; transform: none; }
.dip-tile:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.dip-foot { margin-top: 26px; color: var(--ink-soft); font-size: 15px; max-width: 76ch; }
.dip-foot strong { color: var(--ink); font-weight: 600; }

/* Фотографии в фигурах (заменяют плейсхолдеры) */
.figure-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-figure .figure-photo { object-position: 50% 22%; }
.about-figure .figure-photo { object-position: 50% 14%; }

/* Лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(28,26,22,.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
}
.lightbox.open { display: flex; }
.lb-stage { position: relative; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lb-img-wrap {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  max-height: 78vh; display: flex;
}
.lb-img-wrap img { max-width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.lb-cap { color: #ece6d8; text-align: center; font-size: 15px; }
.lb-cap .lct { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.lb-cap .lcs { color: #b3b1a2; font-size: 13.5px; margin-top: 9px; }
.lb-close {
  position: fixed; top: 22px; right: 26px;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(244,239,231,.1); border: 1px solid rgba(244,239,231,.25);
  color: #f4efe7; cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(244,239,231,.2); }
.lb-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(244,239,231,.1); border: 1px solid rgba(244,239,231,.25);
  color: #f4efe7; cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.lb-arrow:hover { background: rgba(244,239,231,.2); }
.lb-arrow.prev { left: 18px; }
.lb-arrow.next { right: 18px; }
.lb-arrow:disabled { opacity: .25; cursor: default; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Страховка: гарантированно показать контент без зависимости от перехода */
body.reveal-all .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { aspect-ratio: 16/11; max-height: 440px; order: -1; }
  .about-grid { display: block; }
  .about-figure { position: static; aspect-ratio: auto; max-height: none; margin: 0 0 26px; }
  .about-figure .figure-photo { position: static; width: 100%; height: 300px; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius-lg); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .method-aside { position: static; }
}
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: grid; }
  .credentials { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .t-grid { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .dip-grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 9px; }
  .lb-arrow.prev { left: 8px; }
  .lb-arrow.next { right: 8px; }
}
