/* Round 7. Светлый семейный альбом, предметная растровая графика.
   Только оформление: сцена и её состояния принадлежат interaction.css.
   Ритм: мягкие листы 16px, контролы 12px, пилюли 100px.
   Редакция 08.10.2026: исправлен первый экран, добавлены ситуации, этапы,
   принципы, меню цен, редакторские блоки и единая типографика. */
@font-face {
  font-family: "Manrope";
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fafbf6;
  --surface: #fffefb;
  --ink: #263e32;
  --muted: #53634f;
  --accent: #ac4829;
  --accent-hover: #913a20;
  --accent-soft: #f6e4d8;
  --line: #d2dccb;
  --green: #e9f0e2;
  --green-deep: #3d624b;
  --peach: #f7e9d9;
  --shell: #f1f5eb;
  --card: #edf2e7;
  --cream: #f7f3e8;
  --radius: 16px;
  --control-radius: 12px;
  --page-width: 1200px;
  --page-gutter: clamp(20px, 5vw, 80px);
  --section: clamp(56px, 7vw, 96px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* Мелковое подчёркивание: единственная фактура рисунка внутри текста. */
  --crayon-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.4'/%3E%3C/filter%3E%3Cpath d='M3 10.5c30-3.6 62-5.3 96-4.6 34 .7 66 2.6 98 .9' fill='none' stroke='%23ac4829' stroke-width='5' stroke-linecap='round' opacity='.62' filter='url(%23c)'/%3E%3Cpath d='M9 13.2c38-2.4 79-3 120-1.7 22 .6 44 .9 64-.4' fill='none' stroke='%23ac4829' stroke-width='2.2' stroke-linecap='round' opacity='.4' filter='url(%23c)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 170px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  scrollbar-color: #9bac91 var(--bg);
  scrollbar-width: thin;
}
::selection { background: #d9e5c9; color: #263e32; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { border: 2px solid var(--bg); border-radius: 12px; background: #9bac91; }
main { display: block; min-width: 0; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
input, textarea { caret-color: var(--accent); }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
button:disabled, .button[aria-disabled="true"] { cursor: not-allowed; opacity: .6; }
/* Обычный селектор: :where() проиграл бы правилу h1, h2, h3 из base.css. */
h1, h2, h3 {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.17;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 4.5vw, 58px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: 22px; letter-spacing: -.02em; }
p { max-width: 70ch; text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--page-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.section { padding-block: 64px; }
.lead { font-size: 21px; line-height: 1.6; max-width: 60ch; color: var(--muted); }
.small, .muted { color: var(--muted); font-size: 14px; }
.eyebrow { margin: 0 0 14px; color: var(--green-deep); font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.actions { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-block: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  background: var(--accent);
  color: #fffefb;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.button.secondary { background: var(--surface); color: var(--ink); border-color: #9ba98e; }
.button:active { transform: translateY(1px); }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 7px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #7f9573;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 12px 20px;
  border-radius: var(--control-radius);
  background: var(--ink);
  color: var(--surface);
}
.skip-link:focus { transform: none; }
.crayon-mark { padding-bottom: .16em; background: var(--crayon-line) bottom / 100% .5em no-repeat; }

/* Оболочка. Одна плашка прототипа; название остаётся текстом, эмблемы нет. */
.prototype-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 18px;
  padding: 6px var(--page-gutter);
  background: #e6ede0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.prototype-bar p { margin: 0; max-width: none; }
.prototype-bar a { display: inline-block; margin-left: 0; padding-block: 3px; }
.sticky-shell {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--shell);
  border-bottom: 1px solid var(--line);
}
.site-header {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 8px 28px;
  max-width: calc(var(--page-width) + var(--page-gutter) * 2);
  margin-inline: auto;
  padding: 14px var(--page-gutter) 6px;
}
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; justify-self: start; max-width: none; gap: 3px; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand-name { font-size: 23px; font-weight: 750; line-height: 1.1; letter-spacing: -.025em; }
.brand-sub { color: var(--muted); font-size: 13px; font-weight: 550; letter-spacing: .01em; }
.header-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; line-height: 1.45; }
.header-meta a { display: inline-flex; align-items: center; min-height: 30px; font-weight: 650; }
.header-meta span { color: var(--accent-hover); font-weight: 650; }
.header-booking { min-height: 46px; padding: 11px 22px; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #9ba98e;
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.site-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 30px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.site-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.header-booking-short { display: none; }
.situations-terms { margin-top: 24px !important; max-width: 65ch; }
/* Reserve the mobile header before deferred controls initialize. Without JS,
   the ordinary navigation remains visible. No first-paint menu collapse. */
@media (max-width: 850px) and (scripting: enabled) {
 .site-nav[data-mobile-open="false"] { display: none; }
 .nav-toggle[hidden] { display: inline-flex !important; visibility: hidden; }
}
.diagnoses-prose { max-width: 72ch; }
.diagnoses-prose h2 { padding-top: 24px; border-top: 1px solid var(--line); }
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px max(var(--page-gutter), calc((100% - var(--page-width)) / 2));
  background: var(--bg);
  font-size: 13px;
}
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumbs [aria-current] { color: var(--muted); }

/* Подвал повторяет навигацию и оставляет место для реальных контактов. */
.site-footer { display: block; padding: 0; border-top: 1px solid var(--line); background: var(--shell); font-size: 15px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
  width: min(var(--page-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
  padding-block: 52px 36px;
}
.footer-brand strong { display: block; font-size: 21px; line-height: 1.3; font-weight: 750; letter-spacing: -.02em; }
.footer-brand p { margin: 10px 0 0; color: var(--muted); max-width: 36ch; }
.footer-brand .footer-contacts { font-size: 14px; }
.footer-brand .button { margin-top: 20px; min-height: 48px; font-size: 15px; }
.site-footer nav { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 0; }
.site-footer nav h2 { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  width: min(var(--page-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
  padding-block: 18px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }

/* ——— Главная ——— */
.home { font-size: 18px; }
.home :where(h1, h2, h3, p, figure, ul, ol) { margin: 0; }
.section-intro h2 { max-width: 22ch; }
.section-intro p { margin-top: 14px; max-width: 58ch; color: var(--muted); font-size: 18px; }

/* Первый экран: текст в своей колонке, натюрморт рядом и никогда не под буквами. */
.home-hero { overflow: clip; padding-block: clamp(30px, 4vw, 56px) clamp(36px, 4.5vw, 64px); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: 24px clamp(24px, 4vw, 56px); }
.hero-copy { position: relative; z-index: 2; }
.home .hero-copy h1 { font-size: clamp(38px, 4.2vw, 58px); font-weight: 680; line-height: 1.08; letter-spacing: -.035em; }
.hero-lead { margin-top: 20px !important; max-width: 46ch; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-free { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px !important; max-width: 48ch; }
.free-badge { display: inline-block; padding: 9px 16px 9px 14px; border-radius: 100px; background: var(--accent-soft); color: #7e321b; font-size: 18px; font-weight: 700; line-height: 1.3; }
.free-badge::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: .14em; }
.hero-free-note { color: var(--muted); font-size: 16px; line-height: 1.55; }
.hero-actions { margin: 24px 0 0; }
.hero-actions .button { min-height: 54px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; margin-top: 30px !important; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.hero-facts strong { display: block; color: var(--ink); font-size: 15.5px; font-weight: 700; }
.hero-facts li { display: grid; align-content: start; gap: 6px; }
.hero-facts b { color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; }
.hero-location { margin-top: 16px; color: var(--muted); font-size: 14px; }
.hero-still-life { position: relative; margin: 0 calc(var(--page-gutter) * -.6) 0 0; pointer-events: none; }
.hero-desk { display: block; width: 116%; max-width: none; margin-left: -4%; }
.hero-picture-card {
  position: absolute;
  top: 26%;
  left: 37%;
  width: 29%;
  transform: rotate(-9deg) scaleY(.86);
  filter: drop-shadow(0 12px 9px rgb(88 67 40 / .16));
}

/* Ситуации словами родителя, а не перечень диагнозов. */
.home-situations { padding-block: var(--section) 0; }
.situation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px !important; padding: 0; list-style: none; }
.situation-grid li { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 150px; padding: 26px 24px 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.situation-grid q { quotes: none; color: var(--ink); font-size: 18px; font-weight: 550; line-height: 1.5; }
.situation-grid q::before, .situation-grid q::after { position: static; color: var(--accent); font-size: inherit; font-weight: inherit; vertical-align: baseline; }
.situation-grid q::before { content: "«"; }
.situation-grid q::after { content: "»"; }
.situation-grid span { margin-top: auto; color: var(--green-deep); font-size: 14px; font-weight: 700; }
.situations-note { margin-top: 22px !important; max-width: 72ch; color: var(--muted); font-size: 16px; }
.situation-grid .situation-more { justify-content: center; border-style: dashed; border-color: #b5c2aa; background: transparent; }
.situation-more p { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* Сертификат следует за единым каталогом форматов и цен. */
.home-formats .free-strip { padding: 22px 24px; border: 0; border-radius: var(--radius); background: var(--peach); }
.home-formats .free-strip p { max-width: 35ch; color: #624d3c; font-size: 15px; }
.home-formats .free-strip strong { color: var(--ink); }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.offer-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px 28px 22px; border-radius: var(--radius); background: var(--surface); }
.offer-card h3 { max-width: 13ch; font-size: 23px; }
.offer-card p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.offer-card .text-link { margin-top: auto; padding-top: 16px; font-size: 16px; }
.offer-art { position: absolute; top: 18px; right: 18px; width: 78px; transform: rotate(6deg); filter: drop-shadow(0 6px 6px rgb(88 67 40 / .14)); }
.offer-main { padding-right: 112px; }
.offer-main p { max-width: 40ch; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 18px !important; color: var(--ink) !important; font-size: 16px !important; }
.offer-price strong { font-size: 30px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.offer-price span { flex-basis: 100%; color: var(--green-deep); font-size: 15px; font-weight: 650; }
.offer-status { display: inline-flex; margin-top: 16px !important; padding: 5px 12px; border: 1px dashed #b5c2aa; border-radius: 100px; color: var(--muted) !important; font-size: 14px !important; font-weight: 600; }
.offer-card:has(.offer-art):not(.offer-main) { padding-right: 104px; }
.free-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 18px; padding: 22px 28px; border-radius: var(--radius); background: var(--peach); }
.free-strip p { color: #624d3c; font-size: 17px; }
.free-strip strong { color: #7e321b; font-weight: 750; }
.free-strip-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }

/* Этапы: один глубокий зелёный лист как спокойная опора середины страницы. */
.home-steps { padding-block: var(--section); background: var(--green-deep); color: var(--cream); }
.home-steps h2 { color: var(--cream); }
.steps-link { margin-top: 28px; color: var(--cream); text-decoration-color: #e8bfa7; }
.steps-schedule { margin-top: 28px; color: #d9e4d3; }
.home-steps .specialist-card { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: center; gap: 28px; max-width: 720px; margin-top: 44px; color: var(--ink); }
.home-steps .specialist-card h3 { color: var(--ink); font-size: 24px; }
.home-steps .specialist-card .portrait-slot { width: 104px; }
.home-steps .specialist-card .specialist-portrait { width: 104px; }

/* Принципы К-1 и карточка ведущего специалиста. */
.home-principles { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px clamp(28px, 5vw, 72px); align-items: start; padding-block: var(--section) 0; }
.principle-list { counter-reset: principle; display: grid; gap: 26px; margin-top: 30px !important; padding: 0; list-style: none; }
.principle-list li { counter-increment: principle; position: relative; padding-left: 58px; }
.principle-list li::before { content: "0" counter(principle); position: absolute; top: 2px; left: 0; color: var(--accent); font-size: 16px; font-weight: 750; letter-spacing: .02em; }
.principle-list h3 { font-size: 22px; }
.principle-list p { margin-top: 8px; color: var(--muted); font-size: 17px; }
.principles > .text-link { margin-top: 18px; }
.principles-actions { margin: 18px 0 0; }
.specialist-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--radius); background: var(--card); }
.specialist-card h2 { font-size: 27px; }
.specialist-card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.specialist-card .eyebrow { margin: 0 0 6px; font-size: 14px; }
.specialist-card .text-link { margin-top: 8px; font-size: 16px; }
.portrait-slot { display: grid; place-items: center; width: 132px; aspect-ratio: 4 / 5; border: 2px dashed #a9b89c; border-radius: 14px; background: var(--surface); color: #8c9a82; font-size: 14px; font-weight: 650; }
.pending-note { padding-left: 14px; border-left: 3px solid #c9d5bd; font-size: 15px !important; }

/* Вопросы перед встречей. */
.home-questions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; padding-block: var(--section); }
.questions-intro h2 { max-width: 13ch; }
.questions-intro > .text-link { margin-top: 18px; font-size: 16px; }
.questions-intro .questions-fox { width: min(100%, 230px); margin: 24px 0 0; }

/* Поддержка между занятиями и статьи. */
.home-family { padding-block: var(--section); background: var(--cream); }
.family-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.family-intro h2 { max-width: 16ch; }
.family-intro p { margin-top: 16px; max-width: 44ch; color: #6b5746; font-size: 18px; }
.family-intro .actions { margin-bottom: 0; }
.reading-label { margin-bottom: 8px !important; color: var(--muted); font-size: 14px; font-weight: 650; }
.reading-list { display: grid; }
.reading-list a { display: flex; align-items: center; gap: 22px; min-height: 106px; padding: 18px 0; border-bottom: 1px solid #e4d6c6; text-decoration: none; }
.reading-list img { flex: none; width: 82px; height: 82px; object-fit: contain; }
.reading-list strong { display: block; font-size: 18px; font-weight: 650; line-height: 1.4; }
.reading-list small { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Дополнительная сцена. */
.home-formats { margin-top: var(--section); padding-block: var(--section); background: #eef3e7; }
.home-scene-slot { min-width: 0; margin-block: 0 16px; }
.home-scene-slot > * { max-width: 100%; }

/* Завершающее приглашение. */
.home-closing { overflow: clip; padding-block: clamp(48px, 6vw, 72px); background: var(--peach); }
.closing-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px 48px; }
.closing-layout h2 { font-size: clamp(32px, 3.6vw, 46px); }
.closing-layout p { margin-top: 14px; max-width: 44ch; color: #624d3c; font-size: 18px; }
.closing-layout .button { margin-top: 26px; min-height: 56px; padding-inline: 30px; }
.closing-rules-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; }
.article-plans { max-width: 74ch; margin-top: 40px; border-top: 1px solid var(--line); }
.article-plans > summary { display: list-item; min-height: 48px; padding-block: 16px; color: var(--green-deep); font-weight: 650; cursor: pointer; }
.article-plans .launch-prose { padding-bottom: 16px; }
.contact-manager { margin-top: 30px; color: var(--muted); font-size: 15px; }
.closing-art { justify-self: end; width: min(100%, 440px); transform: rotate(-4deg); filter: drop-shadow(0 14px 12px rgb(88 67 40 / .14)); }

/* ——— Внутренние страницы ——— */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; max-width: 900px; padding-top: 44px; }
.page-head h1 { margin: 0 0 24px; }
.page-head.has-art { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; max-width: 1000px; }
.page-art { width: 128px; margin-bottom: 14px; transform: rotate(5deg); filter: drop-shadow(0 8px 8px rgb(88 67 40 / .14)); }
.page-head.has-art .page-art-wide { width: 210px; }
.page-content { padding-bottom: 76px; }
.prose { max-width: 780px; }
.prose p, .prose li { line-height: 1.8; }
.prose h2 { margin: 48px 0 18px; }
.prose h3 { margin: 32px 0 12px; }
.prose ul { padding-left: 1.3em; }
.launch-prose { max-width: 74ch; }
.launch-prose > p:first-child { color: var(--muted); font-size: 1.15em; line-height: 1.65; }
.launch-prose p, .launch-prose li { line-height: 1.8; }
.launch-prose ul, .launch-prose ol { padding-left: 1.4em; }
.launch-prose li + li { margin-top: 6px; }
.launch-prose h2 { margin-top: 46px; margin-bottom: 14px; font-size: clamp(25px, 2.4vw, 32px); }
.launch-prose h2:first-child { margin-top: 0; }
.launch-prose a:not(.button):not(.text-link) { text-decoration-color: #7f9573; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.card { min-width: 0; padding: 30px; border: 0; border-radius: var(--radius); background: var(--card); }
.card h2, .card h3 { margin-top: 0; }
.card h2 { font-size: 26px; }
.card p { color: var(--muted); }
.card .text-link { font-size: 16px; }
.notice { margin-block: 26px; padding: 18px 22px; border: 0; border-radius: var(--radius); background: var(--peach); color: #624d3c; line-height: 1.7; }
.notice > :first-child { margin-top: 0; }
.notice > :last-child { margin-bottom: 0; }
.demo-note { margin-block: 22px; padding: 14px 18px; border: 1px dashed #c6b29e; border-radius: var(--control-radius); color: #6b5746; font-size: 15px; }
.pending-block { display: flex; align-items: flex-start; gap: 14px; max-width: 74ch; margin-block: 24px; padding: 18px 22px; border: 1px dashed #b5c2aa; border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.pending-block p { margin: 0; font-size: 16px; line-height: 1.6; }
.pending-icon { flex: none; width: 22px; height: 22px; margin-top: 2px; border: 2px dashed #a9b89c; border-radius: 50%; }
.facts { display: grid; grid-template-columns: minmax(120px, .45fr) 1fr; gap: 12px 24px; }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; color: var(--muted); }
.topic-nav, .media-tabs { display: flex; gap: 6px 22px; flex-wrap: wrap; margin-block: 24px; }
.topic-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.format-picker { display: flex; gap: 10px; flex-wrap: wrap; margin-block: 24px; }
.format-picker button, .filter-button { min-height: 44px; padding: 10px 20px; border: 1px solid #9ba98e; border-radius: 100px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.45; }
.format-picker button[aria-pressed="true"], .filter-button[aria-pressed="true"] { background: var(--green-deep); color: var(--surface); border-color: var(--green-deep); }

/* Прайс как меню: услуга и пояснение слева, цена справа. */
.price-card { margin-block: 16px 8px; padding: 6px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price-menu { width: 100%; border-collapse: collapse; }
.price-menu th[scope="row"], .price-menu td { padding: 18px 0; vertical-align: top; text-align: left; font-weight: 400; }
.price-menu tr + tr :where(th, td) { border-top: 1px dashed var(--line); }
.menu-name { display: block; color: var(--ink); font-size: 18px; font-weight: 650; line-height: 1.4; }
.menu-note { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.menu-price { padding-left: 24px !important; text-align: right !important; white-space: nowrap; color: var(--ink); font-size: 21px; font-weight: 750 !important; font-variant-numeric: tabular-nums; }
.menu-price.is-free { color: var(--green-deep); font-size: 18px; }
.menu-price.is-pending { color: var(--muted); font-size: 15px; font-weight: 600 !important; }
.price-list { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.price-list th, .price-list td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; }
.price-list thead { background: var(--green); font-size: 14px; }
.price-list thead th, .price-list thead th:last-child { white-space: normal; }

/* Первая встреча. */
.free-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; max-width: 900px; margin-bottom: 30px; padding: 22px 26px; border-radius: var(--radius); background: var(--accent-soft); }
.free-callout p { margin: 0; color: #6b3a26; font-size: 17px; }
.free-callout strong { color: #7e321b; }
.meeting-steps { counter-reset: meet; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 0 0 44px; padding: 0; list-style: none; }
.meeting-steps li { counter-increment: meet; position: relative; padding: 52px 20px 20px; border-radius: var(--radius); background: var(--card); color: var(--muted); font-size: 16px; line-height: 1.55; }
.meeting-steps li::before { content: counter(meet); position: absolute; top: 16px; left: 20px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-deep); color: var(--cream); font-size: 14px; font-weight: 750; }
.meeting-steps strong { display: block; color: var(--ink); font-size: 17px; }
.meeting-formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin-block: 40px 8px; }
.meeting-formats > div { padding: 24px 26px; border-radius: var(--radius); background: var(--card); }
.meeting-formats h2 { margin: 0 0 10px; font-size: 23px; }
.meeting-formats p { margin: 0; color: var(--muted); font-size: 16px; }
.meeting-formats .text-link { margin-top: 8px; font-size: 16px; }

/* Ведущий специалист. */
.specialist-intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; max-width: 900px; margin-bottom: 26px; }
.portrait-large { width: 190px; }
.specialist-intro .launch-prose > p:first-child { margin-top: 0; }
.document-index { list-style: none; padding: 0; margin: 32px 0; max-width: 74ch; }
.document-index > li { padding-block: 24px; border-top: 1px solid var(--line); }
.document-index h2 { margin: 0 0 10px; font-size: 24px; }
.document-index p { margin: 0; color: var(--muted); }
.legal-document { max-width: 76ch; }
.legal-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-block: 24px; }
.legal-tools p { margin: 0; color: var(--muted); font-size: 15px; }
.legal-contents { padding-block: 16px; margin-bottom: 36px; border-block: 1px solid var(--line); }
.legal-contents summary { min-height: 44px; padding-block: 10px; color: var(--green-deep); font-weight: 650; cursor: pointer; }
.legal-contents ol { padding-left: 24px; }
.legal-contents li { margin-block: 10px; }
.legal-prose { line-height: 1.8; overflow-wrap: anywhere; }
.legal-prose h2 { margin: 42px 0 14px; font-size: clamp(24px, 2.4vw, 31px); line-height: 1.25; }
.legal-prose h3 { margin: 28px 0 12px; font-size: 21px; }
.legal-prose p, .legal-prose li { max-width: 74ch; }
.legal-prose li + li { margin-top: 8px; }
.legal-table { max-width: 100%; overflow-x: auto; margin-block: 24px; }
.legal-table table { border-collapse: collapse; min-width: 38rem; width: 100%; font-size: 15px; line-height: 1.65; }
.legal-table th, .legal-table td { padding: 14px 16px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.legal-table th { background: var(--card); font-weight: 650; }
.legal-return { margin-top: 40px; }
.footer-document-links { display: flex; gap: 12px 20px; flex-wrap: wrap; }
@media print {
 body.legal-document-page { background: white; color: black; font-size: 11pt; }
 .legal-document-page :is(.site-header, .prototype-bar, .breadcrumbs, .site-footer, .legal-tools, .legal-contents, .legal-return, .page-fox, .skip-link) { display: none !important; }
 .legal-document-page .wrap { width: 100%; }
 .legal-document-page .page-head { padding: 0; max-width: none; }
 .legal-document-page h1 { font-size: 20pt; }
 .legal-document-page .legal-prose h2 { font-size: 15pt; break-after: avoid; }
 .legal-document-page .legal-table { overflow: visible; }
 .legal-document-page .legal-table table { min-width: 0; font-size: 9pt; }
 .legal-document-page .legal-table th, .legal-document-page .legal-table td { padding: 6pt; }
 .legal-document-page a { color: black; }
}
.specialist-portrait { display: block; width: 240px; height: auto; aspect-ratio: 1122 / 1402; border-radius: var(--radius); }
.specialist-intro .launch-prose > p:first-child { color: var(--ink); font-size: clamp(25px, 2.4vw, 32px); font-weight: 650; line-height: 1.25; text-wrap: balance; }
.specialist-intro .launch-prose > p:first-child strong { font-weight: 650; }
.specialist-credentials { margin-block: 28px 40px; border-block: 1px solid var(--line); }
/* Keep native details from anchoring the viewport to content below its disclosure. */
html:has(.specialist-credentials) { overflow-anchor: none; }
.specialist-credentials > summary { position: relative; min-height: 64px; padding: 18px 40px 18px 0; color: var(--green-deep); font-size: 19px; font-weight: 650; list-style: none; cursor: pointer; }
.specialist-credentials > summary::-webkit-details-marker { display: none; }
.specialist-credentials > summary::before, .specialist-credentials > summary::after { content: ""; position: absolute; top: 50%; right: 9px; width: 16px; height: 2px; background: currentColor; }
.specialist-credentials > summary::before { transform: rotate(90deg); }
.specialist-credentials[open] > summary::before { transform: rotate(0deg); }
.credential-content { padding-bottom: 20px; min-width: 0; }
.credential-heading { margin-bottom: 20px; }
.credential-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.credential-gallery { position: relative; }
.credential-list { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: min(240px, calc(100% - 44px)); gap: 22px; list-style: none; margin: 0; padding: 4px !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: none; scrollbar-width: none; }
.credential-list::-webkit-scrollbar { display: none; }
.credential-list.is-draggable { cursor: grab; }
.credential-list.is-draggable .credential-link { cursor: inherit; }
.credential-list.is-dragging { cursor: grabbing; user-select: none; }
.credential-list img { -webkit-user-drag: none; user-select: none; }
.credential-list > li { min-width: 0; margin: 0 !important; padding: 0; }
.credential-link { display: block; height: 100%; color: var(--ink); text-decoration: none; border-radius: 14px; }
.credential-link figure { display: flex; flex-direction: column; height: 100%; margin: 0; }
.credential-preview { position: relative; flex: 0 0 auto; aspect-ratio: 4 / 3; background: var(--accent-soft); border: 2px solid #bd8059; border-radius: 14px; }
.credential-preview img { position: absolute; inset: 12px; display: block; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.credential-link figcaption { display: flex; flex: 1; flex-direction: column; padding-top: 14px; }
.credential-list h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; font-style: italic; line-height: 1.4; letter-spacing: -.01em; }
.credential-list .credential-meta { margin: auto 0 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.credential-date { display: block; margin-bottom: 3px; font-variant-numeric: tabular-nums; }
.credential-format { display: block; color: var(--muted); font-size: 13px; font-weight: 450; }
.credential-link:hover .credential-preview { border-color: var(--accent); }
.credential-link:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.credential-link:focus-visible, .credential-list:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.credential-controls { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.credential-controls[hidden] { display: none; }
.credential-controls button { position: absolute; top: var(--credential-arrow-top, 94px); transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #bd8059; border-radius: 12px; background: var(--surface); color: var(--accent); cursor: pointer; pointer-events: auto; }
.credential-controls [data-credential-prev] { left: -20px; }
.credential-controls [data-credential-next] { right: -20px; }
@media (max-width: 640px) {
  .credential-controls [data-credential-prev] { left: -10px; }
  .credential-controls [data-credential-next] { right: -10px; }
}
.credential-controls button:hover { background: var(--accent-soft); border-color: var(--accent); }
.credential-controls button:active { background: #eed3bf; }
.credential-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* База знаний. */
.knowledge-index { list-style: none; max-width: 920px; margin: 32px 0; padding: 0; }
.knowledge-index li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.knowledge-index li:first-child { border-top: 1px solid var(--line); }
.knowledge-art { width: 96px; height: 96px; object-fit: contain; }
.knowledge-index h2 { margin: 0 0 8px; font-size: 23px; }
.knowledge-index h2 a { text-decoration-color: #9fb093; }
.knowledge-index p { max-width: 64ch; margin: 0 0 6px; color: var(--muted); }
.article-meta { color: var(--muted); font-size: 14px; }
.article-toc { display: flex; flex-wrap: wrap; gap: 2px 18px; margin-block: 24px 34px; padding: 12px 22px; border-radius: var(--radius); background: var(--green); }
.article-toc a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 0; }
.read-next { max-width: 74ch; border-top: 1px solid var(--line); }
.read-next h2 { margin: 0; font-size: 26px; }

/* FAQ. */
.faq-topic { scroll-margin-top: 180px; }
.faq-topic { padding-top: 0; }
.faq-topic details { padding: 0; border-bottom: 1px solid var(--line); }
.faq-topic summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 16px 44px 16px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
}
.faq-topic summary::-webkit-details-marker { display: none; }
.faq-topic summary::before, .faq-topic summary::after { content: ""; position: absolute; top: 50%; right: 9px; width: 16px; height: 2px; background: var(--green-deep); transition: transform 160ms var(--ease); }
.faq-topic summary::before { transform: rotate(90deg); }
.faq-topic details[open] summary::before { transform: rotate(0deg); }
.faq-topic details[open] summary::after { content: ""; font-size: inherit; }
.faq-topic details p { margin: 0; padding: 0 30px 22px 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.page-content > .faq-topic { max-width: 860px; }
.page-content > .faq-topic h2 { margin: 44px 0 6px; font-size: 26px; }

/* Демонстрации записи, покупки и обращений. */
.field { display: flex; flex-direction: column; gap: 8px; margin-block: 20px; font-weight: 600; }
.field :where(select, input, textarea) { max-width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid #9ba98e; border-radius: var(--control-radius); background: var(--surface); color: var(--ink); font-size: 16px; }
.field :where(input, select, textarea):disabled { background: #e9eddf; color: var(--muted); cursor: not-allowed; }
.booking-panel { max-width: 780px; margin-block: 28px; padding: 32px; border: 0; border-radius: var(--radius); background: var(--card); }
.booking-panel h2 { margin: 16px 0; font-size: 30px; }
.booking-panel h3 { margin: 22px 0 10px; font-size: 19px; }
.step-progress { margin: 0; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.choice { min-height: 54px; padding: 14px 18px; border: 1px solid #9ba98e; border-radius: var(--control-radius); background: var(--surface); color: var(--ink); text-align: left; font-size: 16px; }
.choice[aria-pressed="true"] { padding: 13px 17px; border: 2px solid var(--green-deep); background: #dce8d2; color: var(--ink); font-weight: 650; }
.summary-list { display: grid; gap: 0; }
.summary-list > div { display: flex; justify-content: space-between; gap: 24px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.summary-list span { color: var(--muted); }
.summary-list strong { max-width: 65%; text-align: right; overflow-wrap: anywhere; font-weight: 650; }
.demo-result { max-width: 780px; padding: 28px; border: 1px solid var(--green-deep); border-radius: var(--radius); background: var(--surface); }
.demo-result h2 { margin-top: 0; }
.form-status { min-height: 24px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.demo-status:empty { min-height: 0; margin: 0; }
.demo-status:not(:empty) { margin-top: -10px; padding: 10px 14px; border-radius: var(--control-radius); background: var(--green); color: var(--green-deep); font-weight: 600; }
.nojs-note { padding: 20px; }

/* Редакция 11.10: кнопки связи, форма «Перезвоните мне / Напишите мне», калькулятор сертификата. */
.price-card + .grid { margin-top: 28px; }
.field-hint { margin: 0; max-width: 60ch; color: var(--muted); font-size: 14.5px; font-weight: 450; line-height: 1.55; }
.optional { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field :where(input, textarea)[aria-invalid="true"] { border: 2px solid var(--accent); padding: 11px 14px; }
.field-error { margin: 0; color: var(--accent-hover); font-size: 14.5px; font-weight: 650; line-height: 1.5; }
.contact-actions { margin-block: 18px 6px; }
.location-map { height: clamp(300px, 42vw, 400px); margin-block: 24px 16px; overflow: hidden; border-radius: var(--control-radius); background: var(--surface); }
.location-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-form, .calculator { max-width: 640px; margin-block: 22px 10px; padding: 28px; border-radius: var(--radius); background: var(--card); }
.launch-prose .contact-form p, .launch-prose .calculator p { line-height: 1.55; }
.contact-form .demo-note, .calculator .demo-note { margin-block: 0 18px; }
.contact-form fieldset, .calc-type { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-body > .field:first-of-type { margin-top: 0; }
.choice-field legend, .calc-type legend { margin-bottom: 8px; padding: 0; font-weight: 600; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-option, .calc-option { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 11px 16px; border: 1px solid #9ba98e; border-radius: var(--control-radius); background: var(--surface); color: var(--ink); font-weight: 600; line-height: 1.35; cursor: pointer; }
.radio-option:has(input:checked), .calc-option:has(input:checked) { padding: 10px 15px; border: 2px solid var(--green-deep); background: #dce8d2; }
.radio-option:has(input[aria-invalid="true"]) { border-color: var(--accent); }
.field .radio-option input, .calc-option input, .field .consent input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--green-deep); }
.radio-option:has(input:disabled), .consent:has(input:disabled) { cursor: not-allowed; opacity: .6; }
.consent { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 4px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 2px; }
.contact-form .button { margin-top: 6px; }
.contact-form .form-status:empty { min-height: 0; margin: 0; }
.contact-form .form-status:not(:empty) { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--control-radius); background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 600; }
.calc-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc-option span { display: flex; flex-direction: column; }
.calc-option small { color: var(--muted); font-size: 14px; font-weight: 500; }
.calc-count { margin-bottom: 0; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper-button { display: grid; place-items: center; width: 50px; min-height: 50px; padding: 0; border: 1px solid #9ba98e; border-radius: var(--control-radius); background: var(--surface); color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1; }
.field .stepper input { width: 92px; height: 50px; padding-block: 0; text-align: center; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.calc-result { margin-top: 20px; padding: 18px 20px; border-radius: var(--control-radius); background: var(--surface); }
.calc-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.calc-figures dt { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.calc-figures dd { margin: 2px 0 0; color: var(--ink); font-size: 26px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-figures > div { min-width: 0; }
.calc-figures del { color: var(--muted); font-size: .7em; font-weight: 550; }
.calc-figures > div:last-child { grid-column: 1 / -1; }
.home-closing .closing-rules { margin-block: 18px 0; font-size: 15px; }
.launch-prose .calc-discount, .launch-prose .calc-error { margin: 10px 0 0; color: var(--green-deep); font-size: 15px; font-weight: 650; }
.launch-prose .calc-error { margin: 0; color: var(--accent-hover); }
.calc-static > p { margin-top: 0; }
.calc-table th, .calc-table td { padding: 12px 16px; }
.calc-table th:not(:first-child), .calc-table td { text-align: right; font-variant-numeric: tabular-nums; }

@media (hover: hover) {
  .button:hover { background: var(--accent-hover); }
  .button.secondary:hover { background: var(--green); border-color: #657b5b; }
  .text-link:hover { color: var(--accent); text-decoration-color: currentColor; }
  .steps-link:hover { color: #ffd9c2; }
  .site-nav a:hover, .site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
  .header-meta a:hover, .brand:hover .brand-name { color: var(--green-deep); }
  .nav-toggle:hover, .choice:not(:disabled):hover, .stepper-button:hover, .radio-option:not(:has(input:disabled)):not(:has(input:checked)):hover, .calc-option:not(:has(input:checked)):hover { background: #e0e9d6; }
  .format-picker button:not(:disabled):not([aria-pressed="true"]):hover, .filter-button:not(:disabled):not([aria-pressed="true"]):hover { background: var(--green); }
  .faq-topic summary:hover { color: var(--green-deep); }
  .reading-list a:hover strong, .knowledge-index h2 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
}

@media (max-width: 1024px) {
  .site-header { gap: 8px 20px; grid-template-columns: minmax(220px, 1fr) auto auto; }
  .brand-name { font-size: 21px; }
  .site-nav { gap: 4px 22px; }
  .hero-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-facts li { display: flex; flex-wrap: wrap; gap: 0 .35em; }
  .hero-facts strong { display: inline; }
  .situation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-questions { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* Without JS the full navigation stays open; with JS the actual shell height is measured. */
html { scroll-padding-top: var(--sticky-offset, 220px); }
@media (max-width: 850px) {
  html { scroll-padding-top: var(--sticky-offset, 330px); }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; padding-block: 12px 8px; gap: 4px 14px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 12px; }
  .header-booking { grid-column: 2; grid-row: 1; min-height: 44px; padding: 10px 16px; font-size: 14px; }
  .header-booking-full { display: none; }
  .header-booking-short { display: inline; }
  .header-meta { grid-column: 1; grid-row: 2; align-items: flex-start; font-size: 12.5px; }
  .header-meta span { display: none; }
  .nav-toggle { display: inline-flex; grid-column: 2; grid-row: 2; justify-self: end; min-height: 40px; padding: 8px 14px; font-size: 13px; }
  .site-nav { grid-row: 3; gap: 0 20px; padding-block: 6px 4px; }
  .site-nav a { min-height: 44px; }
  .js-ready .site-nav[data-mobile-open="false"] { display: none; }
  /* Зона нажатия крошек на телефоне — 44 px (аудит 10.10); отступы сняты, чтобы шапка не росла. */
  .breadcrumbs { padding-block: 0; font-size: 12.5px; gap: 2px 6px; }
  .breadcrumbs a { min-height: 44px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-still-life { max-width: 640px; margin: 0 auto; }
  .hero-desk { width: 100%; margin-left: 0; }
  .home-principles, .home-questions, .family-layout, .closing-layout { grid-template-columns: minmax(0, 1fr); }
  .specialist-card { flex-direction: row; align-items: flex-start; }
  .questions-intro h2 { max-width: none; }
  .closing-art { justify-self: start; width: min(80%, 360px); }
  .page-head { padding-top: 32px; }
  .page-head.has-art .page-art { width: 120px; }
  .page-head.has-art .page-art-wide { width: 160px; }
  .meeting-steps { grid-template-columns: minmax(0, 1fr); }
  .meeting-formats { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --page-gutter: 20px; }
  body { font-size: 16px; }
  .prototype-bar { font-size: 11.5px; padding-block: 5px; }
  .brand-name { font-size: 18px; }
  .header-booking { padding-inline: 13px; font-size: 13.5px; }
  .home { font-size: 17px; }
  .eyebrow { font-size: 14px; margin-bottom: 10px; }
  .home .hero-copy h1 { font-size: clamp(31px, 8.6vw, 40px); line-height: 1.12; }
  .hero-lead { margin-top: 16px !important; font-size: 17px; }
  .free-badge { border-radius: 16px; font-size: 16.5px; }
  .hero-free-note { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 52px; }
  .hero-facts { margin-top: 22px !important; font-size: 14px; }
  .hero-still-life { margin-top: 4px; }
  .section-intro p { font-size: 16.5px; }
  .situation-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px !important; }
  .situation-grid li { min-height: 0; padding: 22px 20px 18px 24px; }
  .situation-grid q { font-size: 17px; }
  .offer-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
  .offer-card { padding: 24px 22px 18px; }
  .offer-main, .offer-card:has(.offer-art):not(.offer-main) { padding-right: 96px; }
  .offer-art { width: 66px; top: 16px; right: 16px; }
  .offer-price strong { font-size: 27px; }
  .free-strip { padding: 20px; }
  .free-strip-actions { width: 100%; }
  .free-strip-actions .button { flex: 1 1 auto; }
  .principle-list li { padding-left: 46px; }
  .principle-list h3 { font-size: 20px; }
  .principle-list p { font-size: 16px; }
  .specialist-card { flex-direction: column; gap: 14px; padding: 24px; }
  .portrait-slot { width: 84px; font-size: 12px; }
  .home-questions { gap: 18px; }
  .faq-topic summary { min-height: 64px; font-size: 16px; padding-right: 36px; }
  .faq-topic details p { padding-right: 0; font-size: 15.5px; }
  .family-intro p { font-size: 17px; }
  .reading-list a { gap: 14px; min-height: 0; }
  .reading-list img { width: 64px; height: 64px; }
  .reading-list strong { font-size: 16.5px; }
  .reading-list small { font-size: 13.5px; }
  .home-formats { padding-block: 28px 24px; }
  .closing-layout p { font-size: 16.5px; }
  .closing-layout .button { width: 100%; }
  .section { padding-block: 40px; }
  .page-head { padding-top: 24px; }
  .page-head h1 { font-size: clamp(30px, 8vw, 36px); margin-bottom: 18px; }
  .page-head.has-art { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .page-head.has-art .page-art { width: 76px; margin-bottom: 14px; }
  .page-head.has-art .page-art-wide { width: 104px; }
  .page-content { padding-bottom: 44px; }
  .lead { font-size: 18px; }
  .launch-prose h2 { margin-top: 34px; }
  .grid { gap: 14px; }
  .card { padding: 24px; }
  .card h2 { font-size: 23px; }
  .notice, .pending-block { padding: 16px 18px; }
  .price-card { padding: 2px 16px; }
  .price-menu th[scope="row"], .price-menu td { padding: 15px 0; }
  .menu-name { font-size: 16.5px; }
  .menu-note { font-size: 14px; }
  .menu-price { padding-left: 14px !important; font-size: 18px; white-space: normal; }
  .menu-price.is-pending { font-size: 13.5px; }
  .free-callout { padding: 20px; }
  .free-callout .button { width: 100%; }
  .meeting-steps { gap: 10px; margin-bottom: 32px; }
  .meeting-steps li { padding: 14px 16px 14px 56px; }
  .meeting-steps li::before { top: 16px; left: 16px; }
  .specialist-intro { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .portrait-large { width: 140px; }
  .specialist-portrait { width: 160px; }
  .knowledge-index li { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .knowledge-art { width: 64px; height: 64px; }
  .knowledge-index h2 { font-size: 20px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .facts dd { margin-bottom: 12px; }
  .booking-panel { padding: 22px; }
  .booking-panel h2 { font-size: 27px; }
  .choice { padding-inline: 14px; }
  .choice[aria-pressed="true"] { padding-inline: 13px; }
  .summary-list > div { flex-direction: column; gap: 2px; font-size: 14.5px; }
  .summary-list strong { max-width: none; text-align: left; }
  .demo-result { padding: 20px; }
  .contact-form, .calculator { padding: 20px; }
  .radio-row { flex-direction: column; }
  .radio-option { width: 100%; }
  .calc-options { grid-template-columns: minmax(0, 1fr); }
  .calc-figures { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .calc-figures > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
  .calc-figures dd { font-size: 23px; }
  .calc-table th, .calc-table td { padding: 11px 10px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 40px 28px; gap: 28px 20px; }
  .footer-brand strong { font-size: 20px; }
  .site-footer nav a { min-height: 40px; font-size: 14.5px; }
}

@media (max-width: 360px) {
  :root { --page-gutter: 16px; }
  .brand-name { font-size: 16.5px; }
  .brand-sub { display: none; }
  .header-booking { padding-inline: 11px; }
  .home .hero-copy h1 { font-size: 29px; }
  .offer-main, .offer-card:has(.offer-art):not(.offer-main) { padding-right: 22px; }
  .offer-art { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:active { transform: none; }
}

@media (forced-colors: active) {
  .button, .card, .notice, .booking-panel, .choice, .offer-card, .situation-grid li, .pending-block, .price-card, .free-badge, .contact-form, .calculator, .calc-result, .radio-option, .calc-option, .stepper-button { border: 1px solid CanvasText; }
  .faq-topic summary::before, .faq-topic summary::after { background: CanvasText; }
  .crayon-mark { background: none; text-decoration: underline; }
}

.organization-facts { grid-template-columns: minmax(150px, .7fr) minmax(0, 1.6fr); gap: 12px 24px; margin-block: 22px 36px; }
.organization-facts dt { color: var(--muted); font-weight: 450; }
.organization-facts dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.footer-legal { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.footer-legal span { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .organization-facts { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .organization-facts dt { font-size: 14px; }
  .organization-facts dd { margin-bottom: 14px; }
}

/* Service summaries retain their labels and separate prices on narrow screens. */
@media (max-width: 640px) {
  .hero-facts { gap: 0; }
  .hero-facts li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .hero-facts strong { display: block; grid-column: 1 / -1; }
  .hero-facts b { align-self: start; white-space: nowrap; }
  .home-steps .specialist-card { grid-template-columns: 80px minmax(0,1fr); gap: 18px; padding: 22px; }
  .home-steps .specialist-card .portrait-slot { width: 80px; }
  .home-steps .specialist-card .specialist-portrait { width: 80px; }
}
@media (max-width: 400px) {
  .home-steps .specialist-card { grid-template-columns: minmax(0,1fr); }
}
