/* Юлия Кузяева — психолог онлайн. Система дизайна: research/08-prototype-design.md */
@import url("../fonts/fonts.css");

:root {
  /* Цвет. Тёмный фон взят со стены на портрете; мох — из текущего сайта Юлии */
  --night: #2c2520;
  --night-2: #3a312b;
  --on-night: #f1ebe3;
  --on-night-muted: #c9bdb1;
  --paper: #f4f0ea;
  --paper-2: #ebe4da;
  --ink: #2a2420;
  --muted: #62574f;
  --line: #d8cec1;
  --moss: #4a5536;
  --moss-hover: #3c4629;
  --moss-light: #c8d0ad;
  --error: #9b2c1f;
  --focus: #4a5536;

  /* Шрифты */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Шкала (модульная, ~1.25) */
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(2rem, 1.35rem + 2.2vw, 3.125rem);
  --fs-h1: clamp(2.375rem, 1.45rem + 2.9vw, 4rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);

  /* Сетка и ритм */
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 6px;
  --radius-lg: 14px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.62 var(--sans);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.012em; }
h1 { font-size: var(--fs-h1); line-height: 1.06; font-weight: 300; }
h2 { font-size: var(--fs-h2); line-height: 1.12; font-weight: 300; }
h3 { font-family: var(--sans); font-size: var(--fs-h3); line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: var(--radius);
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-night :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .urgent :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: var(--moss-light); }
.menu-open .site-header :focus-visible { outline-color: var(--focus); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.75em 1.4em;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--moss); color: #fff; }
.btn--primary:hover { background: var(--moss-hover); }
.btn--light { background: var(--on-night); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--quiet { border-color: var(--line); background: var(--paper); color: var(--ink); min-height: 44px; padding: .6em 1.1em; font-size: .95rem; }
.btn--quiet:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .25s ease;
  padding-bottom: 2px;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  min-height: var(--header-h);
  color: var(--on-night);
  background: var(--night);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-header.is-solid { background: rgba(244, 240, 234, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { background: rgba(244, 240, 234, .86); backdrop-filter: blur(10px); } }
.site-header .wrap { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; justify-content: center; min-height: 44px; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.brand__role { font-size: .8125rem; opacity: .8; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .95rem; }
.site-nav a:not(.btn):hover { text-decoration: underline; }
.site-header .btn { min-height: 44px; padding: .55em 1.15em; font-size: .95rem; }
.site-header:not(.is-solid) .btn--primary { background: var(--on-night); color: var(--ink); }
.site-header:not(.is-solid) .btn--primary:hover { background: #fff; }
.menu-toggle { display: none; }

@media (max-width: 959px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
    background: none; border: 0; color: inherit; font: 500 1rem var(--sans); cursor: pointer;
  }
  .menu-toggle__bars { width: 22px; height: 12px; position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s ease, top .2s ease;
  }
  .menu-toggle__bars::before { top: 0; }
  .menu-toggle__bars::after { top: 10px; }
  .menu-open .menu-toggle__bars::before { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-toggle__bars::after { top: 5px; transform: rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
    background: var(--paper); color: var(--ink);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
    padding: 32px var(--gutter) 40px; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s;
  }
  .menu-open .site-nav { visibility: visible; opacity: 1; }
  .menu-open .site-header { background: var(--paper); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 var(--line); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.6rem; }
  .site-nav .btn { width: 100%; }
  .site-header:not(.is-solid) .site-nav .btn--primary { background: var(--moss); color: #fff; }
  .menu-open body { overflow: hidden; }
}
.js .menu-open { overflow: hidden; }

/* ---------- Первый экран ---------- */
.hero {
  background: var(--night); color: var(--on-night);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px);
  align-items: end; min-height: min(calc(100svh - var(--header-h)), 860px);
}
.hero__text { align-self: center; padding-block: clamp(40px, 5vw, 72px); }
.hero__who { font-size: 1rem; color: var(--on-night-muted); margin-bottom: 22px; }
.hero__who strong { color: var(--on-night); font-weight: 500; }
.hero h1 { max-width: 15em; }
.hero__sub { margin-top: 22px; max-width: 34em; color: var(--on-night-muted); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; color: var(--on-night); font-size: .975rem; }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--moss-light); flex: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__photo { position: relative; align-self: end; }
.hero__photo img {
  width: 100%; aspect-ratio: 854 / 1180; object-fit: cover; object-position: 50% 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__text { padding-block: 40px 36px; }
  .hero__photo { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero__photo img { aspect-ratio: 4 / 4.4; object-position: 50% 8%; }
  .hero h1 { max-width: 20ch; }
}
@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
  .hero__facts { flex-direction: column; gap: 8px; }
}

/* Вход первого экрана — единственная анимация без действия пользователя */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-enter] { opacity: 0; transform: translateY(12px); animation: enter .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .hero [data-enter="2"] { animation-delay: .12s; }
  .js .hero [data-enter="3"] { animation-delay: .24s; }
  .js .hero [data-enter="photo"] { transform: none; animation-duration: 1.1s; animation-delay: .05s; }
}
@keyframes enter { to { opacity: 1; transform: none; } }

/* ---------- Секции ---------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
.section__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head p { max-width: 36em; }
@media (max-width: 899px) { .section__head { grid-template-columns: 1fr; } }

/* С чем можно прийти */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.5vw, 48px); }
.topic { border-top: 1px solid var(--line); padding-block: 26px 34px; }
.topic h3 { margin-bottom: 10px; }
.topic p { color: var(--muted); }
.topics-note { margin-top: 18px; color: var(--muted); }
@media (max-width: 959px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .topics { grid-template-columns: 1fr; } .topic { padding-block: 22px 26px; } }

/* Еда и тело */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.split__aside h2 { margin-bottom: 22px; }
.split__body > p { max-width: 38em; }
.list-title { font-size: 1.0625rem; font-weight: 600; margin-top: 28px; }
.list-title + .dash-list { margin-top: 12px; }
.urgent__after { margin-top: 18px; }
.dash-list { margin-top: 28px; border-top: 1px solid var(--line); }
.dash-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 1.4em; width: 18px; height: 1px; background: var(--moss); }
.note { margin-top: 28px; padding: 18px 22px; border-left: 2px solid var(--moss); background: rgba(255,255,255,.45); color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }

/* Подходы */
.approaches { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach { padding: clamp(28px, 4vw, 48px) clamp(0px, 3vw, 48px) clamp(28px, 4vw, 48px) 0; }
.approach + .approach { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 56px); padding-right: 0; }
.approach h3 { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 300; margin-bottom: 14px; }
.approach p { color: var(--muted); max-width: 32em; }
.approaches-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 0; margin-top: clamp(32px, 4vw, 48px); }
.approaches-choice p { padding-left: clamp(24px, 4vw, 56px); max-width: 34em; }
@media (max-width: 767px) { .approaches-choice p { padding-left: 0; } }
.approaches-choice h3 { font-size: 1.125rem; }
@media (max-width: 767px) {
  .approaches { grid-template-columns: 1fr; }
  .approach { padding-right: 0; }
  .approach + .approach { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .approaches-choice { grid-template-columns: 1fr; }
}

/* Первая встреча */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: counter(step);
  display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 2.2rem + 2.5vw, 4.5rem); line-height: 1;
  color: var(--moss); margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }
.price-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
  background: var(--paper-2); border-radius: var(--radius-lg);
}
.price-row__value { font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 300; line-height: 1.15; }
.price-row__text { max-width: 30em; color: var(--muted); margin-top: 6px; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } .price-row .btn { width: 100%; } }

/* Обо мне */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px); }
.about__text p { max-width: 36em; }
.docs-title { margin: clamp(48px, 6vw, 80px) 0 8px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.docs-sub { color: var(--muted); margin-bottom: 28px; max-width: 40em; }
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); }
.doc { border-bottom: 1px solid var(--line); }
.doc button {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center;
  width: 100%; padding: 18px 0; background: none; border: 0; text-align: left; color: inherit; font: inherit; cursor: zoom-in;
}
.doc__thumb { width: 112px; height: 80px; border-radius: 4px; overflow: hidden; background: var(--paper-2); box-shadow: 0 0 0 1px var(--line); }
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.doc button:hover .doc__thumb img { transform: scale(1.03); }
.doc__title { display: block; font-weight: 500; line-height: 1.35; }
.doc__meta { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
.doc button:hover .doc__title { text-decoration: underline; text-underline-offset: .2em; }
.docs-more { margin-top: 28px; color: var(--muted); font-size: var(--fs-small); }
.docs-more li { padding: 6px 0; }
@media (max-width: 899px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .docs { grid-template-columns: 1fr; } .doc button { grid-template-columns: 88px minmax(0,1fr); gap: 16px; } .doc__thumb { width: 88px; height: 64px; } }

.doc-dialog {
  width: min(1100px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--paper); color: var(--ink); overflow: hidden;
}
.doc-dialog::backdrop { background: rgba(28, 23, 20, .78); }
.doc-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); }
.doc-dialog__title { font-weight: 500; font-size: .975rem; }
.doc-dialog__body { overflow: auto; max-height: calc(100vh - 100px); background: #fff; }
.doc-dialog__body img { width: 100%; height: auto; }

/* Границы и экстренная помощь */
.limits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.limits h2 { margin-bottom: 22px; }
.limits .dash-list { margin-top: 20px; }
.urgent { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); background: var(--night); color: var(--on-night); }
.urgent .urgent__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.2; margin-bottom: 14px; }
.urgent p { color: var(--on-night-muted); }
.urgent__list { margin-top: 22px; border-top: 1px solid rgba(241,235,227,.18); }
.urgent__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(241,235,227,.18); }
.urgent__list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; white-space: nowrap; color: var(--on-night); }
.urgent__list span { color: var(--on-night-muted); font-size: var(--fs-small); }
@media (max-width: 899px) { .limits { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .urgent__list li { grid-template-columns: 1fr; } }

/* Вопросы */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 1.125rem; font-weight: 500; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; position: relative;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--moss); }
.faq__answer { padding: 0 0 26px; max-width: 46em; color: var(--muted); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 899px) { .faq-layout { grid-template-columns: 1fr; } }

/* Запись */
.booking { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.booking h2 { margin-bottom: 20px; }
.booking__intro { color: var(--on-night-muted); max-width: 30em; }
.channels { margin-top: 34px; border-top: 1px solid rgba(241,235,227,.18); }
.channels li { border-bottom: 1px solid rgba(241,235,227,.18); }
.channels a { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 16px; align-items: baseline; padding: 18px 0; text-decoration: none; }
.channels__label { color: var(--on-night-muted); font-size: var(--fs-small); }
.channels__value { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-weight: 300; overflow-wrap: anywhere; }
.channels a:hover .channels__value { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.booking__price { margin-top: 26px; color: var(--on-night-muted); font-size: var(--fs-small); }
@media (max-width: 899px) { .booking { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .channels a { grid-template-columns: 1fr; gap: 2px; } }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); }
.form-card h3 { margin-bottom: 6px; }
.form-card__sub { color: var(--muted); font-size: var(--fs-small); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label, .field .field__label { display: block; font-weight: 500; margin-bottom: 7px; font-size: .975rem; }
.field__hint { display: block; color: var(--muted); font-size: .875rem; margin-top: 6px; }
.field__opt { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid #857a6f; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus, .field select:focus { outline: 3px solid var(--moss); outline-offset: 1px; border-color: var(--moss); }
.field__error, .consent .field__error { display: block; color: var(--error); font-size: .9rem; margin-top: 6px; }
.has-error input, .has-error select { border-color: var(--error); }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 12px; align-items: start; margin: 6px 0 22px; font-size: .9375rem; line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--moss); }
.consent .field__error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn--primary { width: 100%; }
.form-note { margin-top: 14px; color: var(--muted); font-size: .875rem; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); font-size: .975rem; }
.form-status:focus { outline: none; }
.form-status--info { background: var(--paper-2); }
.form-status--ok { background: #e3e8d6; }
.form-status--error { background: #f3dcd7; color: #5d1c13; }
.form-status p { margin-bottom: .5em; }
.lead-text { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: 400 .9rem/1.45 var(--sans); color: var(--ink); background: #fff; border: 1px solid #857a6f; border-radius: var(--radius); resize: vertical; }
.copy-result:empty { display: none; }
.section--alt .price-row { background: var(--paper); }
.section-cta { margin-top: clamp(32px, 4vw, 48px); }
.section-cta__note { margin-top: 12px; color: var(--muted); font-size: var(--fs-small); }
.form-status__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding-block: 48px 40px; font-size: var(--fs-small); border-top: 1px solid rgba(241,235,227,.12); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 28px 48px; }
.site-footer .brand { color: var(--on-night); margin-bottom: 10px; }
.site-footer ul li { padding: 0; }
.site-footer ul a, .site-footer p a.link { display: inline-block; padding-block: 11px; }
.site-footer a { color: var(--on-night); }
.site-footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(241,235,227,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer__bottom--plain { margin-top: 0; border-top: 0; padding-top: 0; }
@media (max-width: 767px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Плашка cookie (только если включена Метрика) */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 16px 18px; box-shadow: 0 12px 30px rgba(28,23,20,.18); font-size: .9375rem;
}
.cookie__actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }

/* ---------- Документ (политика) ---------- */
.page-doc { padding-block: clamp(48px, 7vw, 96px); }
.page-doc .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.page-doc h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 18px; }
.page-doc h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin: 40px 0 12px; }
.page-doc ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.page-doc li { margin-bottom: .4em; }
.page-header-plain { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }

@media print {
  .site-header, .hero__actions, .booking, .cookie { display: none !important; }
  .hero, .section--night { background: #fff; color: #000; }
}

/* --- правки по независимой проверке (research/10-qa-review.md) --- */
.hero__cred { margin-top: 18px; font-size: .95rem; color: var(--on-night-muted); max-width: 36em; }
.hero__cred a { color: var(--on-night); text-underline-offset: .2em; }
.header-cta { display: none; }
@media (max-width: 959px) {
  .header-cta { display: inline-flex; margin-left: auto; min-height: 44px; padding: .5em 1.05em; font-size: .9rem; }
  .site-header:not(.is-solid) .header-cta { background: var(--on-night); color: var(--ink); }
  .menu-open .header-cta { visibility: hidden; }
  .site-header .wrap { gap: 12px; }
}
@media (max-width: 599px) {
  .hero__text { padding-block: 26px 30px; }
  .hero__who { margin-bottom: 12px; }
  .hero__sub { margin-top: 14px; font-size: 1.0625rem; }
  .hero__facts { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: .93rem; }
  .hero__cred { margin-top: 12px; font-size: .9rem; }
  .hero__actions { margin-top: 20px; }
}
@media (max-width: 429px) { .site-header .brand__role { display: none; } .brand__name { white-space: nowrap; } }
@media (max-width: 379px) {
  .header-cta { padding: .5em .85em; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-toggle { min-width: 44px; justify-content: center; }
}
.booking__hint { margin-top: 12px; font-size: var(--fs-small); }
.doc-dialog__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 349px) { .brand__name { white-space: normal; font-size: 1.1rem; } .header-cta { font-size: .85rem; padding: .45em .7em; } .site-header .wrap { gap: 8px; } }
