/* ═══════════════════════════════════════════════════════════
   ПСИХОЛОГ В ЯРОСЛАВЛЕ — landing page
   Палитра взята с orishchenko-psy.ru:
   #0e110e (чернильный) · #5c7c64 / #526657 (шалфей) ·
   #e0e5e6 (туман) · #dbe180 (лаймовый акцент) · #f2eee5 (песочный)
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. ТОКЕНЫ ─────────────────────────────────────────────── */
:root {
  --ink:        #0e110e;
  --ink-2:      #171c17;
  --ink-3:      #232a24;

  /* --sage — только декоративные поверхности (полосы, рамки, заливка иконок).
     --sage-dark — интерактивные поверхности (кнопки, плашки): белый текст даёт 6.2:1.
     --sage-text — шалфейный текст на светлом фоне: 5.4:1 (WCAG AA). */
  --sage:       #5c7c64;
  --sage-dark:  #526657;
  --sage-deep:  #43594c;
  --sage-light: #78997f;
  --sage-text:  #4a6753;
  --amber-text: #a85a20;

  --mist:       #e0e5e6;
  --mist-2:     #dadedf;

  --lime:       #dbe180;
  --lime-dim:   #c8d168;
  --lime-light: #e6ec93;   /* лаймовый для текста на средне-шалфейном фоне (WCAG AA) */

  --sand:       #f2eee5;
  --paper:      #fbfaf7;
  --white:      #ffffff;

  --text:       #1a1e1a;
  --text-2:     #55605a;
  --text-on-dark:   #cfd8d2;
  --text-on-dark-2: #93a097;

  --line:       rgba(30, 40, 33, .12);
  --line-dark:  rgba(255, 255, 255, .12);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 2px 10px rgba(14, 17, 14, .06);
  --shadow-md: 0 14px 40px -18px rgba(14, 17, 14, .28);
  --shadow-lg: 0 40px 90px -40px rgba(14, 17, 14, .45);

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 78px;

  --font-head: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

/* ─── 2. БАЗА ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* Авторские display-правила перебивают UA-стиль [hidden],
   поэтому атрибут hidden нужно защитить явно. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
strong { font-weight: 600; }

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

::selection { background: var(--lime); color: var(--ink); }

.skip-link {
  position: fixed;
  top: -100px; left: 16px; z-index: 2000;
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: 14px; font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

/* ─── 3. КАРКАС ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 840px; }

.section {
  padding-block: clamp(72px, 10vw, 132px);
  scroll-margin-top: var(--header-h);
}

.section--sand   { background: var(--sand); }
.section--paper  { background: var(--paper); }
.section--ink    { background: var(--ink); color: var(--text-on-dark); }
.section--sage   { background: var(--sage-dark); color: #fff; }
.section--sage .micro--light { color: #fff; }
.section--sage .eyebrow--light { color: var(--lime-light); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }

.section__title {
  font-size: clamp(30px, 4.6vw, 54px);
  margin-top: 14px;
}
.section--ink .section__title { color: #fff; }
.section--sage .section__title { color: #fff; }

.section__sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  line-height: 1.65;
}
.section__head .eyebrow { color: var(--sage-text); }
.section--ink .section__head .eyebrow,
.section--sage .section__head .eyebrow { color: var(--lime); }
.section--ink .section__sub { color: var(--text-on-dark-2); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-text);
}

.eyebrow--light { color: var(--lime); }

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex: none;
}
.section--ink .dot { box-shadow: 0 0 0 4px rgba(219, 225, 128, .18); }

/* Микротекст */
.micro {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--text-2);
  margin-top: 14px;
}
.micro svg { width: 16px; height: 16px; flex: none; fill: currentColor; }
.micro--light { color: var(--text-on-dark-2); }
.micro--center { justify-content: center; text-align: center; }

/* ─── 4. КНОПКИ ─────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--sage-dark);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.3;
  border-radius: 100px;
  text-align: center;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background-color .25s var(--ease), opacity .2s;
  box-shadow: 0 8px 24px -10px rgba(92, 124, 100, .75);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(67, 89, 76, .8); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 19px 38px; font-size: 16.5px; }
.btn--sm { padding: 11px 22px; font-size: 14.5px; }
.btn--block { display: flex; width: 100%; }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--sage-deep);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
}
.btn--light:hover { box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .5); }

/* Контурная кнопка — для вторичных ссылок на юридических страницах */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--sage-text);
  border: 1px solid var(--sage-text);
  box-shadow: none;
}
.btn--ghost:hover { box-shadow: none; background: var(--sage-text); --btn-fg: #fff; }

/* ─── 4b. ЮРИДИЧЕСКИЕ СТРАНИЦЫ ───────────────────────────────── */
.legal {
  padding: clamp(28px, 3.5vw, 46px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.legal h2 {
  font-size: clamp(18px, 2vw, 22px);
  margin: 34px 0 12px;
}
.legal h2:first-child { margin-top: 0; }
.legal p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-2);
  margin-bottom: 14px;
}
.legal p:last-child { margin-bottom: 0; }
.legal ul {
  display: grid;
  gap: 9px;
  margin: 0 0 14px;
  padding-left: 4px;
}
.legal li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
}
.legal li::before {
  content: ''; position: absolute; left: 4px; top: .68em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage-text);
}
.legal a { color: var(--sage-text); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--text); }
.legal__note {
  margin-top: 26px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
  color: var(--text-2);
}
.legal__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(26px, 3vw, 40px);
}
.legal__actions .btn--ghost { color: var(--sage-text); }

/* ─── 5. HEADER ─────────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  /* Не ниже ~0.9: шапка перекрывает тёмный hero, и при меньшей
     непрозрачности подписи вроде .logo__role теряют контраст. */
  background: rgba(251, 250, 247, .92);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.header.is-stuck {
  background: rgba(251, 250, 247, .97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(14, 17, 14, .5);
}

.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}

.logo { display: flex; align-items: center; gap: 13px; flex: none; }
.logo__mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-head);
  font-size: 15px; font-weight: 800; letter-spacing: .02em;
  border-radius: 13px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; letter-spacing: -.02em; }
.logo__role { font-size: 11.5px; color: var(--text-2); letter-spacing: .01em; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 14.5px; font-weight: 500;
  color: var(--text-2);
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--sage);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 14.5px; font-weight: 600;
  transition: color .25s;
}
.header__phone svg { width: 17px; height: 17px; fill: var(--sage); }
.header__phone:hover { color: var(--sage-text); }

.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: 12px;
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px var(--gutter) 26px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.mobile-nav a {
  padding: 13px 4px;
  font-family: var(--font-head); font-size: 17px; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__foot { margin-top: 18px; display: grid; gap: 14px; justify-items: start; }
.mobile-nav__foot > a { font-family: var(--font-head); font-size: 18px; border: 0; color: var(--sage-text); }

/* ─── 6. HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 80px));
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -30%; right: -10%;
  width: min(900px, 90vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(92, 124, 100, .5) 0%, rgba(92, 124, 100, 0) 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(14, 17, 14, .5));
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero__title .accent {
  color: var(--lime);
  position: relative;
  white-space: nowrap;
}
.hero__title .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em;
  height: .12em; border-radius: 2px;
  background: var(--sage);
  opacity: .55;
  z-index: -1;
}

.hero__lead {
  margin-top: 26px;
  max-width: 54ch;
  font-size: clamp(16px, 1.75vw, 20px);
  line-height: 1.62;
  color: var(--text-on-dark);
}

.hero__cta { margin-top: 34px; }
.hero__cta .btn { box-shadow: 0 18px 40px -14px rgba(92, 124, 100, .8); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}
.hero__stats li { display: flex; flex-direction: column; gap: 3px; }
.hero__stats .num {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--lime);
  line-height: 1;
}
.hero__stats span:last-child {
  font-size: 12.5px; line-height: 1.35;
  color: var(--text-on-dark-2);
}

/* Hero media */
.hero__col--media { position: relative; }

.hero__photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--mist);
  border: 1px solid rgba(255, 255, 255, .1);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  position: absolute; top: 26px; left: -26px;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px 13px 15px;
  background: var(--paper);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
}
.hero__badge-num {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--sage-dark);
  color: #fff;
  font-family: var(--font-head); font-size: 14px; font-weight: 800;
  border-radius: 50%;
}
.hero__badge-text {
  font-size: 12.5px; line-height: 1.35; font-weight: 500;
  color: var(--text-2);
  max-width: 15ch;
}

.hero__card {
  position: absolute; bottom: 26px; right: -20px;
  padding: 18px 22px;
  background: rgba(14, 17, 14, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  max-width: 240px;
}
.hero__card-title {
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime);
}
.hero__card-text { margin-top: 7px; font-size: 15px; font-weight: 600; color: #fff; }
.hero__card-note { margin-top: 4px; font-size: 12.5px; color: var(--text-on-dark-2); }

/* ─── 7. КАРТОЧКИ ПРИЧИН ────────────────────────────────────── */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__num {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  color: var(--sage-text);
  margin-bottom: 20px;
}
.card__title {
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.25;
  margin-bottom: 12px;
}
.card p { font-size: 15.5px; line-height: 1.68; color: var(--text-2); }

.card--dark {
  background: var(--ink);
  border-color: transparent;
}
.card--dark .card__title { color: #fff; }
.card--dark p { color: var(--text-on-dark-2); }
.card--dark .card__num { color: var(--lime); }
.card--dark:hover { box-shadow: 0 30px 60px -30px rgba(14, 17, 14, .8); }

/* ─── 8. БОЛИ ───────────────────────────────────────────────── */
.pain {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.pain__item {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.pain__item:hover { transform: translateY(-5px); border-color: rgba(219, 225, 128, .3); }
.pain__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(219, 225, 128, .12);
  border-radius: 15px;
  margin-bottom: 22px;
}
.pain__icon svg { width: 24px; height: 24px; fill: var(--lime); }
.pain__title { font-size: 21px; color: #fff; margin-bottom: 12px; }
.pain__item p { font-size: 15.5px; line-height: 1.68; color: var(--text-on-dark-2); }

/* ─── 9. ШАГИ РЕШЕНИЯ ───────────────────────────────────────── */
.steps {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) 1fr 1.15fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(26px, 3vw, 38px);
  background: var(--sand);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.step:hover {
  background: var(--white);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.step__head { display: flex; align-items: flex-start; gap: 16px; }
.step__num {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-head); font-size: 16px; font-weight: 800;
  border-radius: 50%;
}
.step__title { font-size: clamp(18px, 1.9vw, 23px); line-height: 1.24; }
.step__text { font-size: 15.5px; line-height: 1.66; color: var(--text-2); }
.step__result {
  position: relative;
  padding-left: 24px;
  font-size: 16px; line-height: 1.6; font-weight: 500;
  color: var(--text);
}
.step__result::before {
  content: ''; position: absolute; left: 0; top: .28em; bottom: .28em;
  width: 3px; border-radius: 2px;
  background: linear-gradient(var(--sage), var(--lime));
}

/* ─── 10. ОФФЕР ─────────────────────────────────────────────── */
.offer {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.offer__main {
  padding: clamp(30px, 4vw, 56px);
  background: rgba(14, 17, 14, .3);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-xl);
}
.offer__title {
  margin-top: 16px;
  font-size: clamp(25px, 3.2vw, 38px);
  color: #fff;
  max-width: 20ch;
}
.offer__list {
  display: grid; gap: 16px;
  margin-top: 32px;
}
.offer__list li {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: 16px; line-height: 1.6;
  color: #fff;
}
.offer__list svg { width: 21px; height: 21px; flex: none; fill: var(--lime); margin-top: 4px; }
.offer__cta { margin-top: 38px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .16); }

.offer__side { display: grid; gap: 16px; }
.note {
  padding: 24px 26px;
  border-radius: var(--r-md);
  background: var(--paper);
}
.note__label {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 10px;
}
.note p { font-size: 15px; line-height: 1.65; color: var(--text-2); }
.note strong { color: var(--text); }
.note--warn .note__label { color: var(--amber-text); }
.note--warn { box-shadow: inset 0 0 0 1px rgba(168, 90, 32, .3); }
.note--safe .note__label { color: var(--sage-text); }
.note--safe { box-shadow: inset 0 0 0 1px rgba(92, 124, 100, .3); }

/* ─── 11. ОБО МНЕ ───────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.about__stamp {
  position: absolute; top: 24px; left: -20px;
  display: grid; justify-items: center;
  padding: 16px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.about__stamp span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-2); }
.about__stamp strong {
  font-family: var(--font-head); font-size: 30px; font-weight: 800;
  color: var(--lime); letter-spacing: -.03em; line-height: 1.1;
}
.about__lead { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.about__lead strong { color: var(--text); font-weight: 600; }

.about__sub {
  margin-top: 34px; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-text);
}

.ticks { display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px; line-height: 1.62;
  color: var(--text-2);
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--mist);
}
.ticks li::after {
  content: ''; position: absolute; left: 5.5px; top: .62em;
  width: 7px; height: 4px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}

/* ─── 12. ЗАПРОСЫ ───────────────────────────────────────────── */
.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.topic {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 26px;
  background: var(--sand);
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: 17px; font-weight: 600; line-height: 1.35;
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.topic:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.topic span {
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  color: var(--sage-text);
  flex: none;
  padding-top: 3px;
}

/* ─── 13. ФОРМАТ И ЦЕНЫ ─────────────────────────────────────── */
.formats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.format {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.format:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.format__head { margin-bottom: 18px; }
.format__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 100px;
}
.format__badge--muted { background: var(--sage-dark); color: #fff; }
.format__title { margin-top: 16px; font-size: clamp(21px, 2vw, 25px); }
.format > p { font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.format > p strong { color: var(--text); }
.format__meta {
  display: grid; gap: 8px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.format__meta li {
  position: relative; padding-left: 20px;
  font-size: 14.5px; color: var(--text-2);
}
.format__meta li::before {
  content: ''; position: absolute; left: 3px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage);
}
.format__map {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 24px;
  font-family: var(--font-head); font-size: 14.5px; font-weight: 700;
  color: var(--sage-text);
}
.format__map svg { width: 15px; height: 15px; fill: currentColor; }
.format__map:hover { text-decoration: underline; }

.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}
.price {
  position: relative;
  padding: clamp(26px, 2.8vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price__label {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2);
}
.price__value {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 38px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.05;
}
.price__value span { font-size: 14px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.price__note { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }

.price--featured {
  background: var(--sage-dark);
  border-color: transparent;
}
.price--featured .price__label { color: #e8eee9; }
.price--featured .price__value { color: #fff; }
.price--featured .price__note { color: #fff; }
.price__flag {
  position: absolute; top: -13px; left: clamp(26px, 2.8vw, 34px);
  padding: 6px 14px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 100px;
}

.pricing__cta { margin-top: clamp(32px, 4vw, 48px); text-align: center; }

/* ─── 14. ОТЗЫВЫ ────────────────────────────────────────────── */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.review {
  display: flex; flex-direction: column;
  margin: 0;
  padding: clamp(28px, 3vw, 40px);
  background: var(--sand);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review__stars { font-size: 15px; letter-spacing: .18em; color: var(--sage-text); margin-bottom: 18px; }
.review blockquote {
  margin: 0;
  font-size: 16.5px; line-height: 1.66;
  color: var(--text);
}
.review figcaption {
  display: flex; align-items: center; gap: 13px;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--text-2);
}
.review figcaption strong { color: var(--text); font-weight: 600; }
.review__avatar {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--sage-dark);
  color: #fff;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  border-radius: 50%;
}
.review__note {
  margin-top: 26px;
  font-size: 13.5px; color: var(--text-2); text-align: center;
}

/* ─── 15. FAQ ───────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px clamp(20px, 2.4vw, 30px);
  font-family: var(--font-head);
  font-size: clamp(16px, 1.7vw, 18.5px); font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color .25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--sage); }

.faq__icon {
  position: relative;
  width: 32px; height: 32px; flex: none;
  border-radius: 50%;
  background: var(--mist);
  transition: background-color .3s var(--ease), transform .35s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--sage-deep);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after  { width: 2px; height: 12px; transition: opacity .3s var(--ease); }
.faq__item[open] .faq__icon { background: var(--sage); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before { background: #fff; }
.faq__item[open] .faq__icon::after  { opacity: 0; }

.faq__body { padding: 0 clamp(20px, 2.4vw, 30px) 24px; }
.faq__body p { font-size: 15.5px; line-height: 1.68; color: var(--text-2); max-width: 70ch; }

/* ─── 16. КОНТАКТЫ И ФОРМА ──────────────────────────────────── */
.contacts {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
}
.contacts__lead {
  margin-top: 18px; margin-bottom: 34px;
  font-size: 16.5px; line-height: 1.62;
  color: var(--text-on-dark-2);
  max-width: 52ch;
}

.form { display: grid; gap: 18px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: grid; gap: 8px; }
.field__label {
  font-family: var(--font-head);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--text-on-dark-2);
}
.field__label i { color: var(--lime); font-style: normal; }
.field__optional { color: rgba(255, 255, 255, .68); font-style: normal; font-weight: 500; }

.field input, .field textarea, .field select {
  width: 100%;
  padding: 15px 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .58); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sage);
  background: rgba(255, 255, 255, .08);
}
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: #e0765a; }

.select { position: relative; display: block; }
.select::after {
  content: ''; position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select select { cursor: pointer; }
.select select option { background: var(--ink-2); color: #fff; }

.field__error {
  display: none;
  font-size: 12.5px; color: #f0a184;
}
.field.is-error .field__error { display: block; }
.field__error--standalone { display: none; margin: -8px 0 0; }
.field__error--standalone.is-shown { display: block; }

.checkbox {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
  font-size: 14px; line-height: 1.5;
  color: var(--text-on-dark-2);
}
.checkbox input {
  appearance: none;
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.checkbox input:checked { background: var(--sage); border-color: var(--sage); }
.checkbox input:checked::after {
  content: ''; display: block;
  width: 5px; height: 9px;
  margin: 3px 0 0 7px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.form .micro { justify-content: center; text-align: center; }

/* Блок согласия + ссылка на текст согласия */
.consent { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.consent__link {
  font-size: 13.5px;
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.consent__link:hover { color: #fff; }

.form__status {
  min-height: 20px;
  font-size: 14px; font-weight: 500;
  text-align: center;
}
.form__status.is-ok  { color: var(--lime); }
.form__status.is-err { color: #f0a184; }

.form__status-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.form__status-link:hover { color: #fff; }
.form__status-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}

/* Contact cards */
.contacts__side { display: grid; gap: 16px; }

.contact-card {
  padding: clamp(24px, 2.6vw, 32px);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
}
.contact-card__label {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
.contact-card__row {
  display: flex; align-items: center; gap: 15px;
  padding: 13px 0;
  border-top: 1px solid var(--line-dark);
  transition: opacity .25s;
}
.contact-card__row:hover { opacity: .8; }
.contact-card__icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: rgba(219, 225, 128, .12);
  border-radius: 12px;
}
.contact-card__icon svg { width: 19px; height: 19px; fill: var(--lime); }
.contact-card__row span:last-child { display: flex; flex-direction: column; }
.contact-card__row small { font-size: 11.5px; color: var(--text-on-dark-2); }
.contact-card__row strong {
  font-family: var(--font-head); font-size: 16px; font-weight: 600;
  color: #fff;
}

.map {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
}
.map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
  filter: grayscale(.35) contrast(.96);
}
.map__overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(14, 17, 14, .1);
  transition: background-color .3s var(--ease);
}
.map:hover .map__overlay { background: rgba(14, 17, 14, 0); }
.map__pill {
  padding: 12px 24px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-head); font-size: 14.5px; font-weight: 700;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease);
}
.map:hover .map__pill { transform: scale(1.05); }

.hours {
  padding: clamp(22px, 2.4vw, 28px);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
}
.hours dl { display: grid; gap: 10px; }
.hours dl > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  font-size: 15px;
}
.hours dt { color: var(--text-on-dark-2); }
.hours dd { font-family: var(--font-head); font-weight: 600; color: #fff; }

/* ─── 17. FOOTER ────────────────────────────────────────────── */
.footer {
  padding-block: clamp(44px, 5vw, 68px);
  background: var(--ink);
  color: var(--text-on-dark-2);
  border-top: 1px solid var(--line-dark);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__name {
  font-family: var(--font-head); font-size: 16px; font-weight: 700; color: #fff;
}
.footer__role { font-size: 13px; }

.footer__links {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  justify-content: flex-end;
}
.footer__links a {
  font-size: 14px;
  transition: color .25s;
}
.footer__links a:hover { color: var(--lime); }

.footer__copy {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px; line-height: 1.7;
}

/* ─── 18. STICKY CTA + FAB ──────────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 50%; bottom: 18px; z-index: 850;
  display: none;
  align-items: center; gap: 18px;
  padding: 10px 10px 10px 22px;
  background: rgba(251, 250, 247, .93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 140%);
  transition: transform .45s var(--ease);
  max-width: calc(100vw - 32px);
}
.sticky-cta.is-visible { transform: translate(-50%, 0); }
.sticky-cta__info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sticky-cta__price {
  font-family: var(--font-head); font-size: 16px; font-weight: 800; letter-spacing: -.02em;
}
.sticky-cta__price i { font-size: 12.5px; font-weight: 500; color: var(--text-2); font-style: normal; }
.sticky-cta__sub { font-size: 11.5px; color: var(--text-2); white-space: nowrap; }

.tg-fab {
  position: fixed;
  right: 20px; bottom: 20px; z-index: 840;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--sage-dark);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 14px 32px -12px rgba(67, 89, 76, .8);
  transition: transform .3s var(--ease), background-color .3s;
}
.tg-fab svg { width: 25px; height: 25px; fill: currentColor; }
.tg-fab:hover { transform: scale(1.08); background: var(--sage-dark); }

/* ─── 19. MODAL ─────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 1000; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 17, 14, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.modal__dialog {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  margin: auto;
  padding: clamp(30px, 4vw, 44px);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.modal__dialog.is-open { opacity: 1; transform: none; }
.modal__backdrop.is-open { opacity: 1; }

.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  transition: background-color .25s, transform .25s;
}
.modal__close:hover { background: rgba(255, 255, 255, .15); transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.modal__title {
  margin-top: 14px;
  font-size: clamp(24px, 3.4vw, 32px);
  color: #fff;
}
.modal__list {
  display: grid; gap: 8px;
  margin-top: 20px; padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}
.modal__list li {
  position: relative; padding-left: 20px;
  font-size: 14.5px; color: var(--text-on-dark-2);
}
.modal__list li::before {
  content: ''; position: absolute; left: 2px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--lime);
}
.form--modal { margin-top: 24px; }

/* ─── 20. REVEAL ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── 21. АДАПТИВ ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13.5px; }
  .header__phone { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }

  .nav { display: none; }
  .header__actions .btn { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__col--media { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 22px 28px; }

  .offer { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; }
  .contacts { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 18px; }
  .step:hover { transform: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }

  .form__row { grid-template-columns: 1fr; }
  .section { padding-block: clamp(56px, 9vw, 80px); }

  .hero__title .accent { white-space: normal; }
  .hero__badge { top: 14px; left: -8px; padding: 9px 14px 9px 9px; }
  .hero__badge-num { width: 36px; height: 36px; font-size: 12px; }
  .hero__badge-text { font-size: 11px; }
  .hero__card { bottom: 14px; right: -6px; padding: 14px 16px; max-width: 200px; }
  .hero__card-text { font-size: 13.5px; }

  .btn--lg { width: 100%; padding-inline: 24px; }
  .hero__cta .micro { justify-content: flex-start; }

  .tg-fab { bottom: 84px; right: 16px; width: 50px; height: 50px; }
  .sticky-cta { display: flex; gap: 12px; padding: 9px 9px 9px 18px; }
  .sticky-cta__sub { display: none; }
  .sticky-cta .btn { flex: none; }
}

@media (max-width: 420px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .logo__role { display: none; }
  .sticky-cta__price i { display: none; }
}

/* ─── 22. ДОСТУПНОСТЬ ──────────────────────────────────────── */
@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 { opacity: 1; transform: none; }
}

@media print {
  .header, .sticky-cta, .tg-fab, .modal, .hero__glow { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  body { background: #fff; }
}