/* ============================================================
   Наталія Козак — психолог, сексолог
   Спільні стилі для всіх сторінок
   ============================================================ */

:root {
  --ivory: #faf4ec;
  --sand: #e6d1bb;
  --sand-2: #e6d3bf;
  --cocoa: #6a4a38;
  --cocoa-2: #59402f;
  --text: #44332a;
  --muted: #66544a;
  --muted-light: #b9aba1;
  --clay: #8f5c45;          /* контраст з білим ≈ 6:1 */
  --clay-dark: #734632;
  --clay-soft: #f3ddd0;
  --gold: #c8a887;
  --sage: #e8dfcb;
  --sage-deep: #9a7b52;
  --line: rgba(46, 36, 32, .13);
  --line-light: rgba(248, 244, 238, .18);
  --error: #ad3a2b;
  --focus: #4f74b3;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Commissioner", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: opacity .45s var(--ease);
}
body.menu-open { overflow: hidden; }
.fonts-wait body { opacity: 0; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 .45em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(3rem, 7.4vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.6rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--clay); }
p { margin: 0 0 1em; }

a { color: var(--clay); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--clay-dark); }

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

.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: -60px; z-index: 200;
  background: var(--cocoa); color: var(--ivory);
  padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--ivory); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- Типографічні дрібниці ---------- */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  font-size: .92rem; font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
}
.label::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.center .label::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 600px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 4px;
  transition: gap .3s var(--ease), color .2s, border-color .2s;
}
.link-arrow:hover { color: var(--clay); border-color: var(--clay); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .95rem/1.2 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dark); color: #fff; }
.btn-dark { background: var(--cocoa); color: var(--ivory); }
.btn-dark:hover { background: var(--clay); color: #fff; }
.btn-outline { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.btn-outline:hover { background: var(--cocoa); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--cocoa); }
.btn-light:hover { background: #fff; color: var(--clay); }
.btn-ghost-light { border-color: var(--line-light); color: var(--ivory); background: transparent; }
.btn-ghost-light:hover { border-color: var(--ivory); color: var(--ivory); }
.btn-small { min-height: 44px; padding: 10px 22px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   Шапка
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(46, 36, 32, .35); }
.header-inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }

.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--text); line-height: 1.1; margin-right: auto; }
.brand-name { font: 500 1.6rem/1 var(--font-display); }
.brand-sub { margin-top: 5px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.brand:hover { color: var(--text); }

.nav-list { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem; font-weight: 500;
  padding: 6px 0;
  transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--clay);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta[aria-current="page"] { background: var(--clay); }

.menu-toggle {
  display: none;
  align-items: center; gap: 10px;
  height: 44px; padding: 0 4px 0 14px;
  border: 0; background: none;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle-icon { position: relative; width: 26px; height: 10px; }
.menu-toggle-icon::before, .menu-toggle-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle-icon::before { top: 0; }
.menu-toggle-icon::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 4px; transform: rotate(-45deg); }

/* Мобільне меню на весь екран: непрозора «шторка» згори вниз */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--ivory);
  padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .45s var(--ease), visibility 0s .45s;
}
.mobile-menu.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .45s var(--ease); }
.mobile-menu ol { list-style: none; margin: 0 0 auto; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.mobile-menu.open li { opacity: 1; transform: none; }
.mobile-menu.open li:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open li:nth-child(2) { transition-delay: .13s; }
.mobile-menu.open li:nth-child(3) { transition-delay: .18s; }
.mobile-menu.open li:nth-child(4) { transition-delay: .23s; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 12px 0;
  font: 500 1.9rem/1.1 var(--font-display);
  color: var(--text); text-decoration: none;
}
.mobile-menu li a::after { content: "→"; font: 400 1.1rem/1 var(--font-body); color: var(--muted-light); transition: transform .3s var(--ease), color .2s; }
.mobile-menu li a:active::after { transform: translateX(4px); color: var(--clay); }
.mobile-menu li a[aria-current="page"] { color: var(--clay); font-style: italic; }
.mobile-menu li a[aria-current="page"]::after { content: "•"; color: var(--clay); }
.mobile-menu-foot { padding-top: 28px; display: grid; gap: 12px; }
.mm-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mm-contact {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem;
}
.mm-contact svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mm-contact:active { background: var(--sand); }
.mm-note { margin: 6px 0 0; text-align: center; font-size: .82rem; color: var(--muted); }

/* ============================================================
   Загальні секції
   ============================================================ */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-sm { padding: clamp(56px, 7vw, 96px) 0; }
.bg-sand { background: var(--sand); }
.bg-dark { background: var(--cocoa); color: var(--ivory); }
.bg-dark h2, .bg-dark h3 { color: var(--ivory); }
.bg-dark h2 em { color: #f0c9ad; }
.bg-dark .label, .bg-dark .lead, .bg-dark .muted, .bg-dark dt, .bg-dark .reviews-note { color: #ead9c9; }
.bg-dark .meta-list, .bg-dark .meta-list div { border-color: rgba(251, 247, 241, .25); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.section-head h2 { margin: 0; max-width: 640px; }
.section-head .lead { margin: 0; max-width: 420px; }

/* ---------- Головний екран ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 130px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero h1 { margin-bottom: .2em; }
.hero-tagline {
  font: italic 500 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--font-display);
  color: var(--clay);
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin: 40px 0 56px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; list-style: none; margin: 0; padding: 0; }
.facts li { padding: 0 36px; border-left: 1px solid var(--line); font-size: .88rem; color: var(--muted); line-height: 1.4; }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts strong { font-variant-numeric: lining-nums; display: block; font: 500 2.6rem/1 var(--font-display); color: var(--text); margin-bottom: 6px; }

/* Портрет: м'яка рамка з коричневою підкладкою */
.arch { position: relative; margin: 0; isolation: isolate; }
.arch::before {
  content: ""; position: absolute; z-index: -1;
  inset: 40px -30px -30px 40px;
  border-radius: 28px;
  background: var(--cocoa);
}
.arch::after {
  content: ""; position: absolute; z-index: -1;
  left: -18px; top: -18px; width: 42%; height: 38%;
  border-left: 1px solid var(--gold); border-top: 1px solid var(--gold);
  border-radius: 28px 0 0 0;
}
.arch img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px -36px rgba(51, 36, 27, .55);
}
.js .arch img { animation: portraitIn 1.1s var(--ease) .15s backwards; }
.js .arch::before { animation: plateIn 1.1s var(--ease) both; }
@keyframes portraitIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes plateIn { from { opacity: 0; transform: translate(-20px, -20px); } to { opacity: 1; transform: none; } }
.hero-photo { max-width: 460px; justify-self: end; width: 100%; }

/* ---------- Сторінкова шапка (внутрішні сторінки) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
.page-hero .arch { max-width: 400px; justify-self: end; width: 100%; }
.breadcrumbs { margin-bottom: 28px; font-size: .82rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--clay); }

/* ---------- Цитата ---------- */
.quote-block { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.quote-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.big-quote {
  margin: 0 0 32px;
  font: italic 500 clamp(1.8rem, 3.4vw, 2.8rem)/1.25 var(--font-display);
}
.big-quote::before { content: "“"; display: block; font-size: 4.5rem; line-height: .6; color: var(--gold); margin-bottom: 18px; font-style: normal; }
.signature { font: italic 500 1.3rem/1 var(--font-display); color: var(--clay); margin-bottom: 28px; }

/* ---------- Список напрямів (рядки з лініями) ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 48px;
  gap: 24px; align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: padding .4s var(--ease), background-color .4s;
}
.row-num { font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.row-title { font: 500 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--font-display); }
.row-text { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.row-arrow {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.row-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.row-link:hover { color: var(--text); padding-left: 12px; }
.row-link:hover .row-title { color: var(--clay); }
.row-link:hover .row-arrow { background: var(--clay); border-color: var(--clay); color: #fff; transform: rotate(-45deg); }

/* ---------- Сплит: фото + текст ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.split-photo.tall img { aspect-ratio: 4 / 5; }

.meta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 32px 0; border-top: 1px solid var(--line); }
.meta-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.meta-list div:nth-child(odd) { padding-right: 20px; }
.meta-list dt { font-size: .86rem; font-weight: 600; color: var(--muted); }
.meta-list dd { margin: 4px 0 0; font: 500 1.35rem/1.25 var(--font-display); }

/* ---------- Відгуки ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.reviews > li { display: flex; }
.review {
  display: flex; flex-direction: column;
  width: 100%; margin: 0;
  padding: 36px 32px;
  border: 0;
  background: #7c5a46;
  color: var(--ivory);
  border-radius: var(--radius);
}
.review blockquote { margin: 0 0 24px; font: italic 500 1.4rem/1.4 var(--font-display); }
.review figcaption { margin-top: auto; font-size: .86rem; color: #ead9c9; }
.reviews-note { margin-top: 28px; font-size: .8rem; color: var(--muted-light); }

/* ---------- Скріншоти відгуків ---------- */
.review-shots {
  column-count: 2; column-gap: 24px;
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 1000px;
}
.review-shots li { break-inside: avoid; margin-bottom: 24px; }
.review-shots img {
  width: 100%;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease);
}
.review-shots li:nth-child(1) img { --tilt: -1deg; }
.review-shots li:nth-child(2) img { --tilt: .8deg; }
.review-shots li:nth-child(3) img { --tilt: .6deg; }
.review-shots li:nth-child(4) img { --tilt: -.8deg; }
.review-shots img:hover { transform: rotate(0) scale(1.02); }
.bg-dark .reviews-note { text-align: center; }

/* ---------- Кроки ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { counter-increment: s; padding-top: 24px; border-top: 1px solid var(--line); }
.step::before { content: "0" counter(s); display: block; margin-bottom: 18px; font: italic 500 2.6rem/1 var(--font-display); color: var(--clay); }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Принципи ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.principles li { padding: 32px 32px 8px 0; }
.principles li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.principles h3 { font-size: 1.5rem; }
.principles p { color: var(--muted); font-size: .98rem; }

/* ---------- Таймлайн ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.timeline-year { font: italic 500 1.5rem/1.2 var(--font-display); color: var(--clay); }
.timeline h3 { font-size: 1.45rem; margin-bottom: .3em; }
.timeline p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Документи ---------- */
.docs-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.doc-thumb {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; padding: 0;
  border: 0; background: none;
  font: 500 .85rem/1.35 var(--font-body); color: var(--text); text-align: left;
  cursor: zoom-in;
}
.doc-thumb img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: top;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px -20px rgba(46, 36, 32, .5);
  transition: transform .4s var(--ease);
}
.doc-thumb:hover img { transform: translateY(-4px); }
.docs-hint { display: none; }

/* ---------- Детальні напрями ---------- */
.directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.direction { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.direction-num { font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.direction h3 { margin-top: 12px; font-size: 2rem; }
.direction p { color: var(--muted); }
.direction ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.direction li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; color: var(--muted); }

/* ---------- Формати та вартість ---------- */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.price {
  display: flex; flex-direction: column;
  padding: 40px 34px;
  background: var(--ivory);
  border-radius: var(--radius);
}

.price h3 { font-size: 1.7rem; }
.price-meta { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.price-desc { color: var(--muted); font-size: .96rem; }
.price-value { margin: auto 0 24px; padding-top: 24px; font: 500 2.2rem/1 var(--font-display); }
.price-value small { font: 500 .9rem/1 var(--font-body); color: var(--muted); }

/* ---------- Банер-заклик ---------- */
.cta-band { padding: clamp(80px, 10vw, 130px) 0; background: #8a6450; color: var(--ivory); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { opacity: .0;
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 720px; height: 720px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-light); border-radius: 50%;
  pointer-events: none;
}
.cta-band h2 { color: var(--ivory); max-width: 760px; margin: 0 auto .4em; position: relative; }
.cta-band h2 em { color: #f6d2b8; }
.cta-band p { color: #f1e2d4; max-width: 520px; margin: 0 auto 36px; position: relative; }
.cta-band .btn-light { background: var(--ivory); color: var(--cocoa); }
.cta-band .btn-light:hover { background: #fff; color: var(--cocoa); }
.cta-band .btn-ghost-light { border-color: var(--cocoa); color: var(--cocoa); }
.cta-band .btn-ghost-light, .cta-band .btn-ghost-light:hover { color: var(--ivory); border-color: var(--ivory); background: transparent; }
.cta-band .btn-ghost-light:hover { background: var(--ivory); color: var(--cocoa); border-color: var(--ivory); }
.cta-band .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; position: relative; }

/* ---------- Футер ---------- */
.site-footer { background: var(--cocoa-2); color: #e0d0c2; font-size: .9rem; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.site-footer .brand-name { color: var(--ivory); font-size: 2rem; }
.site-footer h2 { font: 600 .72rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #e0d0c2; text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .8rem; }
.footer-bottom p { margin: 0; }

/* ============================================================
   Запис: календар і форма
   ============================================================ */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.calendar, .booking-panel { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); }
.calendar { position: sticky; top: calc(var(--header-h) + 20px); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-title { margin: 0; font-size: 1.8rem; }
.cal-nav {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text);
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.cal-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cal-nav:hover:not(:disabled) { background: var(--sand); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }

.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal-grid th { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 0 10px; }
.cal-grid abbr { text-decoration: none; }
.cal-grid td { padding: 0; text-align: center; }
.day {
  position: relative; width: 100%; aspect-ratio: 1; max-height: 58px;
  border: 1px solid transparent; border-radius: 50%;
  background: transparent; color: var(--text);
  font: 500 .98rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s, color .2s;
}
.day::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%); }
.day.is-free { background: var(--sage); }
.day.is-free::after { background: var(--sage-deep); }
.day.is-free:hover { border-color: var(--sage-deep); }
.day.is-full { color: var(--muted-light); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.2); }
.day.is-empty, .day.is-past { color: #c9bdb5; cursor: default; }
.day.is-today { border-color: var(--line); font-weight: 700; }
.day[aria-disabled="true"] { cursor: not-allowed; }
.day.is-selected { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
.day.is-selected::after { background: var(--ivory); }

.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 18px 0 0; font-size: .8rem; color: var(--muted); }
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; }
.legend-dot.free { background: var(--sage); border: 1px solid var(--sage-deep); }
.legend-dot.full { background: #fff; border: 1px solid var(--muted-light); }
.legend-dot.selected { background: var(--cocoa); }

.panel-step { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.panel-step legend { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 0; margin-bottom: 14px; font: 500 1.5rem/1.2 var(--font-display); }
.step-badge { font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; color: var(--clay); }
.legend-date { font: 500 .9rem/1.2 var(--font-body); color: var(--clay); }
.panel-hint { color: var(--muted); font-size: .95rem; margin: 0; }
.panel-hint.small { font-size: .84rem; margin-top: 10px; }

.time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.time-list[hidden] { display: none; }
.time-option { position: relative; }
.time-option input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.time-option span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; padding: 8px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all .2s var(--ease);
}
.time-option small { font-weight: 500; font-size: .7rem; color: var(--muted); }
.time-option input:hover:not(:disabled) + span { border-color: var(--cocoa); }
.time-option input:checked + span { background: var(--cocoa); border-color: var(--cocoa); color: var(--ivory); }
.time-option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.time-option input:disabled { cursor: not-allowed; }
.time-option input:disabled + span { color: var(--muted-light); background: var(--ivory); text-decoration: line-through; }
.time-option input:disabled + span small { text-decoration: none; }

.format-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.format-option { position: relative; cursor: pointer; }
.format-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.format-box {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 14px 16px 14px 46px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  position: relative; transition: all .2s var(--ease);
}
.format-box::before {
  content: ""; position: absolute; left: 16px; top: 17px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--muted-light); background: #fff; transition: all .2s;
}
.format-box small { color: var(--muted); font-size: .8rem; }
.format-option input:checked + .format-box { border-color: var(--cocoa); background: var(--ivory); }
.format-option input:checked + .format-box::before { border-color: var(--cocoa); background: var(--cocoa); box-shadow: inset 0 0 0 4px #fff; }
.format-option input:focus-visible + .format-box { outline: 2px solid var(--focus); outline-offset: 2px; }
.format-option input:disabled + .format-box { opacity: .45; cursor: not-allowed; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input[type="text"] {
  width: 100%; min-height: 54px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--ivory); color: var(--text);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input[type="text"]:focus { border-color: var(--cocoa); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(79, 116, 179, .3); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-help { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .86rem; font-weight: 600; color: var(--error); margin: 6px 0 0; }
.field-check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--cocoa); cursor: pointer; }
.field-check label { font-weight: 400; font-size: .86rem; color: var(--muted); margin: 0; cursor: pointer; }
.field-check .field-error { grid-column: 2; }
.summary:empty { display: none; }
.summary { margin-bottom: 18px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--sage); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 56px 26px 0;
  font: 500 1.45rem/1.3 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 16px; height: 1.5px; background: var(--clay);
  transition: transform .35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq-body { padding: 0 56px 22px 0; color: var(--muted); }
.faq details[open] .faq-body { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Контакти ---------- */
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list .contact-static {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center;
  padding: 22px 0; color: var(--text); text-decoration: none;
}
.contact-kind { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-value { font: 500 1.5rem/1.2 var(--font-display); }
.contact-list a:hover .contact-value { color: var(--clay); }
.contact-list a::after { content: "↗"; color: var(--muted); }

/* ============================================================
   Модальні вікна
   ============================================================ */
.modal {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 0; border: 0; border-radius: 24px;
  background: var(--ivory); color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(30, 20, 15, .55);
}
.modal::backdrop { background: rgba(46, 36, 32, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-inner { position: relative; padding: clamp(28px, 5vw, 48px); }
.modal-inner h2 { font-size: 2.1rem; }
.modal-close {
  position: absolute; right: 16px; top: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  font-size: 1.5rem; line-height: 1; color: var(--text); cursor: pointer;
}
.modal-close:hover { background: var(--sand); }
.modal-doc { width: min(920px, calc(100% - 32px)); }
.modal-doc .modal-inner { padding: 64px 24px 24px; }
#doc-image { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 8px; }
.doc-caption { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .92rem; }
.confirm-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--sage); }
.confirm-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--sage-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
#confirm-text { color: var(--muted); }
.demo-note { margin: 20px 0 26px; padding: 12px 16px; border-radius: var(--radius-sm); background: #fbf1dc; border: 1px dashed #d9b265; color: #6a4c12; font-size: .9rem; font-weight: 600; }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found h1 { font-size: clamp(5rem, 16vw, 10rem); color: var(--clay); font-style: italic; margin: 0; }

/* ---------- Закріплена кнопка (мобільні) ---------- */
.sticky-cta, .booking-bar { display: none; }

/* ---------- Анімації появи ---------- */
.js .reveal { opacity: 0; transition: opacity 1s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1080px) {
  .nav-list { gap: 22px; }
  .header-inner { gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .docs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-link { grid-template-columns: minmax(0, 1fr) 48px; }
  .row-text { grid-column: 1; grid-row: 2; }
  .row-arrow { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; --gutter: 20px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-name { font-size: 1.4rem; }
  .brand-sub { font-size: .76rem; }

  .hero-grid, .page-hero-grid, .split, .quote-block, .booking { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-photo { justify-self: center; max-width: 340px; order: -1; }
  .page-hero .arch { justify-self: start; max-width: 300px; }
  .calendar { position: static; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .reviews, .prices { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding: 24px 0 4px; border-left: 0; border-top: 1px solid var(--line); }
  .principles li:first-child { border-top: 0; }
  .directions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .quote-photo { max-width: 360px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  body.no-sticky { padding-bottom: 0; }
  h2 { font-size: 2.3rem; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .label { margin-bottom: 14px; font-size: .88rem; }
  .lead { font-size: 1.02rem; }

  /* Головний екран */
  .hero { padding: 12px 0 56px; }
  .hero-grid { gap: 26px; }
  .hero-photo { max-width: min(250px, 68vw); }
  .arch::before { inset: 18px -12px -12px 18px; border-radius: 22px; }
  .arch::after { left: -10px; top: -10px; border-radius: 22px 0 0 0; }
  .arch img, .js .arch img { border-radius: 22px; }
  .hero h1 { font-size: 3.1rem; }
  .hero .label { font-size: .84rem; letter-spacing: 0; gap: 0; }
  .hero .label::before { display: none; }
  .mobile-menu li a:focus-visible { outline: none; color: var(--clay); }
  .split-photo img, .split-photo.tall img { aspect-ratio: 4 / 3; object-position: center 25%; }
  .hero-tagline { font-size: 1.35rem; margin-bottom: 18px; }
  .hero-actions { margin: 28px 0 36px; }
  .hero-actions .btn { width: 100%; }
  .facts { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .facts li { padding: 0 10px; font-size: .74rem; }
  .facts li:first-child { padding-left: 0; }
  .facts strong { font-size: 2rem; }

  /* Внутрішні шапки */
  .page-hero { padding: 28px 0 48px; }
  .page-hero h1 { font-size: 2.9rem; }
  .page-hero .arch { max-width: 240px; }
  .breadcrumbs { margin-bottom: 18px; }

  .big-quote { font-size: 1.7rem; }
  .big-quote::before { font-size: 3.4rem; margin-bottom: 10px; }

  /* Рядки напрямів */
  .row-link { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 6px 12px; padding: 22px 0; }
  .row-num { font-size: .7rem; padding-top: 6px; align-self: start; }
  .row-title { font-size: 1.55rem; }
  .row-text { font-size: .9rem; }
  .row-arrow { width: 40px; height: 40px; }
  .row-link:hover { padding-left: 0; }

  .meta-list dd { font-size: 1.15rem; }

  /* Відгуки: горизонтальна стрічка */
  .reviews {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px;
    scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews > li { flex: 0 0 84%; scroll-snap-align: start; }
  .review { padding: 28px 24px; }
  .review blockquote { font-size: 1.25rem; }

  .review-shots {
    column-count: initial;
    display: flex; align-items: flex-start; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 18px;
    scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .review-shots::-webkit-scrollbar { display: none; }
  .review-shots li { flex: 0 0 86%; margin: 0; scroll-snap-align: start; }
  .review-shots img { transform: none; border-radius: 14px; }
  .bg-dark .reviews-note { text-align: left; margin-top: 14px; }

  .btn { padding: 14px 22px; white-space: normal; text-align: center; line-height: 1.3; }

  .steps, .steps.three { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 52px 1fr; gap: 0 12px; padding: 20px 0; }
  .step::before { grid-row: span 2; font-size: 2rem; margin: 0; }
  .step h3 { font-size: 1.3rem; margin-bottom: .2em; }
  .step p { font-size: .93rem; }

  .timeline li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .timeline-year { font-size: 1.2rem; }
  .timeline h3 { font-size: 1.3rem; }
  .timeline p { font-size: .93rem; }

  .docs-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px;
    scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .docs-grid::-webkit-scrollbar { display: none; }
  .docs-grid li { flex: 0 0 46%; scroll-snap-align: start; }
  .docs-hint { display: block; margin: -16px 0 18px; font-size: .84rem; color: var(--muted); }

  .direction { padding: 30px 0; }
  .direction h3 { font-size: 1.7rem; }
  .price { padding: 30px 24px; }
  .price-value { font-size: 1.9rem; }

  .cta-band::before { opacity: .0; width: 420px; height: 420px; }
  .cta-band .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-top: 56px; }

  /* Запис */
  .booking { gap: 16px; }
  .calendar, .booking-panel { padding: 18px 14px; }
  .cal-title { font-size: 1.5rem; }
  .cal-grid { border-spacing: 2px; }
  .cal-legend { gap: 6px 14px; font-size: .76rem; }
  .time-list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .format-options { grid-template-columns: 1fr; }
  .faq summary { font-size: 1.25rem; padding: 20px 44px 20px 0; }
  .faq-body { padding-right: 0; font-size: .95rem; }
  .contact-list a, .contact-list .contact-static { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 18px 0; }
  .contact-kind { grid-column: 1; }
  .contact-value { grid-column: 1; font-size: 1.3rem; }
  .contact-list a::after { grid-column: 2; grid-row: 1 / span 2; }

  /* Модальні вікна знизу, як «шторка» */
  .modal { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 92vh; }
  .modal[open] { animation: sheetIn .4s var(--ease); }
  .modal-inner { padding: 30px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .modal-inner h2 { font-size: 1.8rem; }
  .modal-inner .btn { width: 100%; }

  /* Без нумерації на телефоні */
  .row-num, .direction-num { display: none; }
  .row-link { grid-template-columns: minmax(0, 1fr) 40px; }
  .row-title, .row-text { grid-column: 1; }
  .row-title { grid-row: 1; }
  .row-text { grid-row: 2; }
  .row-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .direction h3 { margin-top: 0; }
  .hero-photo img { object-position: 60% 8% !important; }

  /* Нижня панель: запис + Telegram */
  .sticky-cta {
    display: flex; gap: 8px;
    position: fixed; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    padding: 6px;
    border-radius: 999px;
    background: var(--cocoa);
    box-shadow: 0 18px 40px -14px rgba(30, 20, 15, .65);
    transition: transform .4s var(--ease), opacity .4s var(--ease);
  }
  .sticky-main {
    flex: 1; display: flex; align-items: center; justify-content: center;
    min-height: 50px; border-radius: 999px;
    background: var(--ivory); color: var(--cocoa);
    font-weight: 600; font-size: .95rem; text-decoration: none;
  }
  .sticky-tg {
    display: grid; place-items: center; flex: 0 0 50px; height: 50px;
    border-radius: 50%; border: 1px solid var(--line-light); color: var(--ivory);
  }
  .sticky-tg svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .sticky-main:hover, .sticky-main:active { color: var(--clay); }
  .sticky-cta.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }

  /* Запис: компактніше і зручніше */
  .breadcrumbs { display: none; }
  body.no-sticky .page-hero { padding: 22px 0 22px !important; }
  body.no-sticky .page-hero h1 { font-size: 2.4rem; margin-bottom: .25em; }
  body.no-sticky .page-hero .lead { font-size: .95rem; margin: 0; }
  .calendar, .booking-panel { padding: 18px 12px; border-radius: 18px; }
  .calendar-head { margin-bottom: 8px; padding: 0 4px; }
  .cal-grid { border-spacing: 3px; }
  .day { max-height: none; font-size: 1rem; }
  .cal-legend { justify-content: center; gap: 6px 16px; margin-top: 12px; }
  .booking-panel { padding: 22px 16px; }
  .panel-step { margin-bottom: 26px; }
  .panel-step legend { font-size: 1.35rem; }
  .step-badge {
    display: inline-grid; place-items: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--clay-soft); color: var(--clay-dark); font-size: .7rem; letter-spacing: 0;
  }
  .legend-date { flex-basis: 100%; padding-left: 38px; font-size: .88rem; }
  .time-option span { min-height: 50px; }
  .format-options { grid-template-columns: 1fr 1fr; gap: 8px; }
  .format-box { padding: 40px 12px 12px; text-align: center; align-items: center; }
  .format-box::before { left: 50%; top: 12px; transform: translateX(-50%); }
  .format-box small { font-size: .74rem; }
  body.no-sticky { padding-bottom: 0; }
  body.no-sticky.has-bar { padding-bottom: 90px; }

  .booking-bar {
    position: fixed; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 20px;
    border-radius: 999px;
    background: var(--cocoa); color: var(--ivory);
    box-shadow: 0 18px 40px -14px rgba(30, 20, 15, .65);
    animation: barIn .35s var(--ease);
  }
  .booking-bar[hidden] { display: none; }
  .booking-bar-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .booking-bar-text span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
  .booking-bar-text strong { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .booking-bar .btn { flex: 0 0 auto; min-height: 46px; padding: 10px 22px; }
}
@keyframes barIn { from { transform: translateY(120%); } to { transform: none; } }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 370px) {
  .hero h1, .page-hero h1 { font-size: 2.6rem; }
  .facts strong { font-size: 1.7rem; }
  .time-list { grid-template-columns: repeat(2, 1fr); }
  .day { font-size: .88rem; }
}


/* Вибір виду зустрічі */
.kinds { border: 0; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.kind { position: relative; cursor: pointer; }
.kind input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kind span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 76px; height: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 600; line-height: 1.3; transition: background-color .2s, border-color .2s; }
.kind input:hover + span { border-color: var(--cocoa); }
.kind input:checked + span { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.kind input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.booking.no-time { grid-template-columns: minmax(0, 640px); }
[hidden] { display: none !important; }
.format-box { justify-content: center; }
.tg-preview { padding: 16px 18px; border-radius: 16px 16px 16px 4px; background: var(--clay-soft); text-align: left; }
.confirm-actions { display: grid; gap: 10px; margin: 18px 0; }
.modal-inner.center .confirm-icon { display: none; }
.policy h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); overflow-wrap: break-word; }
.policy h2 { font-size: 1.7rem; margin-top: 1.4em; }
.policy p { max-width: 68ch; }
@media (max-width: 900px) { .kinds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .kinds { gap: 8px; } .kind span { min-height: 68px; padding: 10px; font-size: .92rem; }
  .format-box { padding: 14px 10px 14px 38px; text-align: left; align-items: flex-start; } .format-box::before { left: 11px; top: 50%; transform: translateY(-50%); }
  .legend-date { padding-left: 0; }
  .reviews > li { flex-basis: 86%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.awards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.awards .doc-thumb img { aspect-ratio: 3 / 4; object-position: center; }
@media (max-width: 640px) { .awards .doc-thumb img { aspect-ratio: 4 / 5; } }

/* Більше коричневого: шапка, лінії, нумерація */
.site-header { background: var(--ivory); border-bottom: 1px solid #d9c1a9; }
.site-header.scrolled { border-color: #c9ab8f; }
.label::before { background: var(--cocoa); opacity: 1; }
.step::before, .timeline-year { color: var(--cocoa); }
.bg-sand .price, .bg-sand .booking-panel, .bg-sand .calendar { background: var(--ivory); }
.btn-outline { border-width: 1.5px; }
.bg-dark .label { color: #ead9c9; }
.bg-dark .label::before { background: #ead9c9; }
.bg-dark .doc-thumb { color: var(--ivory); }

/* Освіта: документ поруч із текстом */
.container.edu { max-width: 1080px; }
.edu .lead { margin-bottom: 36px; }
.timeline li { grid-template-columns: 150px minmax(0, 1fr) 200px; align-items: start; }
.tl-doc { gap: 8px; }
.tl-doc img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.tl-zoom { font-size: .8rem; font-weight: 600; color: var(--cocoa); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .timeline li { grid-template-columns: 110px minmax(0, 1fr) 150px; gap: 20px; } }
@media (max-width: 640px) {
  .timeline li { grid-template-columns: 1fr; }
  .tl-doc { flex-direction: row; align-items: center; gap: 14px; margin-top: 8px; }
  .tl-doc img { width: 128px; flex: none; }
  .awards { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; overflow: visible; }
  .awards li:last-child { grid-column: 1 / -1; max-width: 50%; }
}

/* Правки після перевірки */
.bg-dark .meta-list dt { color: #ead9c9; }
.signature { color: var(--clay-dark); }
.bg-dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #f6d2b8; }
.cta-band { background: #7a5642; }
.cta-band p { color: #f8ece1; }
.cta-band .label { color: #f8ece1; }
.cta-band .label::before, .cta-band .label::after { background: #f8ece1; }
.review figcaption { color: #f3e6da; }
.cta-band.cta-light { background: var(--sand); color: var(--text); }
.cta-light h2 { color: var(--text); }
.cta-light h2 em { color: var(--clay-dark); }
.cta-light p, .cta-light .label { color: #4d3a2e; }
.cta-light .label::before, .cta-light .label::after { background: var(--cocoa); }
.cta-light .btn-light { background: var(--cocoa); color: var(--ivory); }
.cta-light .btn-light:hover { background: var(--clay-dark); color: #fff; }
.cta-light .btn-ghost-light, .cta-light .btn-ghost-light:hover { color: var(--cocoa); border-color: var(--cocoa); }
.cta-light :focus-visible { outline-color: var(--focus); }
.site-footer a[href^="tel:7333"] { color: #fff; font-weight: 700; text-decoration: underline; }
/* Відгуки: фірмова лапка */
.review { position: relative; padding-top: 56px; }
.review::before { content: "“"; position: absolute; left: 30px; top: 6px; font: 500 4.4rem/1 var(--font-display); color: var(--gold); }
.review figcaption { border-top: 1px solid rgba(200, 168, 135, .45); padding-top: 12px; }
/* Освіта: лінія з точками */
.timeline { border-top: 0; position: relative; }
.timeline li { position: relative; padding-left: 26px; border-bottom: 1px solid rgba(106, 74, 56, .18); }
.timeline::before { content: ""; position: absolute; left: 5px; top: 34px; bottom: 34px; width: 1px; background: var(--gold); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 38px; width: 11px; height: 11px; border-radius: 50%; background: var(--cocoa); box-shadow: 0 0 0 4px var(--sand); }
.tl-doc img { transform: rotate(-1.2deg); box-shadow: 0 14px 28px -16px rgba(51, 36, 27, .55); }
.timeline li:nth-child(even) .tl-doc img { transform: rotate(1deg); }
.tl-doc:hover img { transform: rotate(0) translateY(-3px); }
/* Нагороди: на всю ширину */
.awards { max-width: none; }
@media (max-width: 1100px) and (min-width: 641px) { .arch::before { inset: 28px -14px -14px 28px; } }
@media (max-width: 640px) { .review { padding-top: 48px; } .review::before { left: 22px; } .timeline::before { top: 28px; } .timeline li::before { top: 30px; } }

/* ============================================================
   Жива типографіка та рух
   ============================================================ */
h1, h2, h3 { font-weight: 400; letter-spacing: -.015em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h1 em, h2 em { font-weight: 400; }
.brand-name { font-weight: 500; font-size: 1.45rem; letter-spacing: -.01em; }
.hero-tagline { font: italic 400 clamp(1.35rem, 2.2vw, 1.75rem)/1.4 var(--font-display); color: var(--clay-dark); max-width: 30ch; }
.signature { font: italic 400 1.5rem/1 var(--font-display); color: var(--clay-dark); }
.big-quote { font-weight: 400; font-size: clamp(1.6rem, 2.9vw, 2.35rem); line-height: 1.35; }
.review blockquote { font-weight: 400; font-size: 1.25rem; line-height: 1.5; }
.row-title, .meta-list dd, .price-value, .timeline-year, .facts strong { font-weight: 400; }
.row-title { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.mobile-menu li a { font-weight: 400; font-size: 1.7rem; }

/* Фото: м'яке наближення при наведенні */
.split-photo, .quote-photo { overflow: hidden; border-radius: var(--radius); }
.split-photo img, .quote-photo img { transition: transform 1.2s var(--ease); }
.split-photo:hover img, .quote-photo:hover img { transform: scale(1.04); }

/* Напрями: картки оживають при наведенні */
.direction { transition: background-color .4s var(--ease), padding .4s var(--ease); border-radius: 0; }
.direction h3 { position: relative; display: inline-block; }
.direction h3::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--gold); transition: right .6s var(--ease); }
.direction:hover h3::after, .direction.is-visible h3::after { right: 40%; }
.direction li { transition: background-color .3s, color .3s, border-color .3s; }
.direction li:hover { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
.page-hero .arch img { aspect-ratio: 4 / 5; }

@media (max-width: 640px) {
  .hero-tagline { font-size: 1.3rem; }
  h1, .hero h1 { font-size: 2.7rem; }
  .page-hero h1 { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
}
.facts { grid-template-columns: repeat(3, minmax(0, auto)); }
.facts li { min-width: 0; }
@media (max-width: 1100px) { .split .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .split .facts li { padding: 0 14px; } .split .facts li:first-child { padding-left: 0; } }

/* Менше шаблонних великих літер */
.price-meta, .contact-kind, .booking-bar-text span { text-transform: none; letter-spacing: .02em; font-size: .86rem; }
.site-footer h2 { text-transform: none; letter-spacing: 0; font: italic 400 1.15rem/1.2 var(--font-display); }

/* Ціна на кнопках вибору */
.kind span { flex-direction: column; gap: 4px; }
.kind b { font-weight: 600; }
.kind small { font-weight: 500; font-size: .86rem; color: var(--muted); }
.kind input:checked + span small { color: #f1e2d4; }
@media (max-width: 640px) { .kind small { font-size: .78rem; } }

/* Тексти Наталії */
.principles.six li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.principles.six li:nth-child(n+4) { border-top: 1px solid var(--line); }
.story p.reveal { color: var(--text); }
.edu-intro { max-width: 68ch; color: var(--muted); }
.edu-more { margin-top: 36px; max-width: 68ch; color: var(--text); }
.edu-more p { margin-bottom: .6em; }
.awards-text { max-width: 68ch; color: #ead9c9; margin-bottom: 40px; }
.hero-more { color: var(--muted); max-width: 600px; }
.direction ul.direction-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.direction .direction-list li { padding: 0 0 0 20px; border: 0; border-radius: 0; position: relative; font-size: .98rem; color: var(--text); }
.direction .direction-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.direction .direction-list li:hover { background: none; color: var(--text); }
.direction .link-arrow { margin-top: 18px; }
.edu-split { align-items: start; }
.edu-split h3 { color: var(--ivory); font-size: 1.5rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; color: #f3e6da; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.bg-dark p { color: #f3e6da; }
.bg-dark .lead { color: #f6d2b8; }
.edu-offer { font: 400 1.5rem/1.3 var(--font-display); color: var(--ivory) !important; margin: 8px 0 20px; }
@media (max-width: 920px) { .principles.six li:nth-child(n) { padding: 24px 0 4px; border-left: 0; border-top: 1px solid var(--line); } .principles.six li:first-child { border-top: 0; } }

/* Запис одразу на першому екрані */
.book-now { margin: 34px 0 18px; }
.book-now-title { margin: 0 0 12px; font-weight: 600; color: var(--text); }
.book-now ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.book-pill { display: flex; align-items: center; justify-content: center; min-height: 56px; height: 100%; padding: 10px 14px; border-radius: 16px; border: 1.5px solid var(--cocoa); background: var(--cocoa); color: var(--ivory); text-align: center; font-weight: 600; font-size: .92rem; line-height: 1.25; text-decoration: none; transition: background-color .2s, color .2s; }
.book-pill:hover { background: var(--clay-dark) !important; border-color: var(--clay-dark); color: #fff !important; }
.hero-more-link { margin: 4px 0 40px; }
.dir-btn { margin-top: 18px; }
.price-note { margin: -16px 0 22px; font-size: .9rem; color: var(--clay-dark); }
.sup .check-list li { color: var(--text); }
.sup h3 { font-size: 1.4rem; margin-top: 8px; }
.sup-position { font: italic 400 1.25rem/1.4 var(--font-display); color: var(--clay-dark); margin: 4px 0 24px; }
.sup .edu-offer { color: var(--text) !important; margin-bottom: 4px; }
.sup .price-note { margin: 0 0 22px; }
.sup-split { align-items: start; }
.sup-split .split-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.session-photo { margin: 0 0 48px; border-radius: var(--radius); overflow: hidden; }
.session-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 60% 35%; }
.kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .book-now ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 920px) { .sup-split .split-photo { position: static; } }
@media (max-width: 640px) {
  .book-now ul { grid-template-columns: 1fr 1fr; gap: 8px; }
  .book-pill { min-height: 52px; font-size: .86rem; padding: 8px 10px; }
  .kinds { grid-template-columns: 1fr 1fr; }
  .session-photo img { aspect-ratio: 4 / 3; }
}

/* Підпис під іменем у шапці: довший, не повинен ламати шапку */
.brand-sub { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 921px) { .nav-list { gap: 18px; } .header-inner { gap: 20px; } }
@media (max-width: 400px) { .brand-sub { font-size: .66rem; letter-spacing: 0; } .brand-name { font-size: 1.25rem; } }
@media (max-width: 400px) { .menu-toggle { font-size: 0; gap: 0; padding-left: 8px; } .header-inner { gap: 10px; } }

.session-photo { max-width: 900px; }
.session-photo img { aspect-ratio: 16 / 9; }
@media (max-width: 640px) { .sup-split .split-photo img { object-position: 50% 6% !important; } }

/* Фото в шапках сторінок — як на головній; без золотої лінії */
.arch::after { content: none !important; display: none !important; }
.page-hero .arch { max-width: 460px; }
@media (max-width: 920px) { .page-hero .arch { justify-self: center; max-width: 340px; order: -1; } }
@media (max-width: 640px) { .page-hero .arch { max-width: min(250px, 68vw); } }

/* Телефон: кнопки запису видно одразу на першому екрані */
@media (max-width: 640px) {
  .hero .hero-photo, .page-hero .arch { max-width: min(210px, 56vw); }
  .hero { padding-top: 10px; }
  .hero-grid { gap: 18px; }
  .hero-content { display: flex; flex-direction: column; }
  .hero-content > * { order: 3; }
  .hero-content > .label, .hero-content > h1, .hero-content > .hero-tagline { order: 0; }
  .hero-content > .book-now { order: 1; margin: 6px 0 22px; }
  .hero-content > .lead { order: 2; }
  .hero-content > .facts { order: 4; }
  .hero h1 { margin-bottom: .1em; }
  .hero-tagline { margin-bottom: 14px; }
  .book-now-title { margin-bottom: 8px; }
  .book-pill { min-height: 46px; }
}
@media (max-width: 640px) {
  .hero .hero-photo { max-width: none; width: 100%; }
  .hero .hero-photo img { aspect-ratio: 16 / 10; object-position: 50% 22% !important; }
  .hero .arch::before { inset: 12px -8px -8px 12px; }
  .hero-content > .label { display: none; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .hero .hero-photo img { aspect-ratio: 2 / 1; }
  .hero-tagline { font-size: 1.15rem; margin-bottom: 10px; }
  .book-pill { min-height: 42px; font-size: .82rem; }
}

/* Сторінка «Супервізія» */
.sup .container.narrow h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 8px; }
.sup .container.narrow > p { max-width: 68ch; }

/* Курсив — Lora: спокійніший і читабельніший за курсив Playfair */
:root { --font-italic: "Lora", Georgia, serif; }
h1 em, h2 em, .hero-tagline, .big-quote, .signature, .review blockquote, .step::before, .timeline-year,
.site-footer h2, .sup-position, .not-found h1, .mobile-menu li a[aria-current="page"] {
  font-family: var(--font-italic); font-style: italic; font-weight: 400; letter-spacing: 0;
}
.hero-tagline { line-height: 1.45; }
.big-quote { line-height: 1.45; }
h1 em, h2 em { font-weight: 400; }

/* Шапки сторінок: текст по центру відносно фото */
.page-hero-grid { align-items: center; }

/* Головна: під іменем — хто вона, великим прямим шрифтом */
.hero .hero-tagline { font-family: var(--font-display); font-style: normal; font-weight: 400; font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.3; color: var(--cocoa); max-width: none; margin: 4px 0 22px; letter-spacing: -.005em; }
@media (max-width: 640px) { .hero .hero-tagline { font-size: 1.32rem; margin-bottom: 14px; } }
/* Рядок «Психолог / сексолог / сімейний психотерапевт» завжди в один рядок */
.hero-content { container-type: inline-size; }
.hero .hero-tagline { white-space: nowrap; font-size: min(1.75rem, 4.3cqi); }
@media (max-width: 640px) { .hero .hero-tagline { font-size: min(1.32rem, 4.35cqi); } }
@media (max-width: 640px) {
  .hero .hero-tagline { font-family: var(--font-body); font-weight: 500; letter-spacing: -.01em; font-size: min(1.4rem, 4.55cqi); }
}

.ts-box { margin: 0 0 14px; }
.ts-box:empty { display: none; }

/* Телефон: фото в шапках сторінок на всю ширину, без порожніх полів */
@media (max-width: 640px) {
  .page-hero .arch { max-width: none; width: calc(100% - 14px); justify-self: start; }
  .page-hero .arch img { aspect-ratio: 4 / 5; }
  .page-hero .arch::before { inset: 14px -14px -14px 14px; }
}
/* Шапка: на телефонах до 440px лишаємо лише значок меню (Samsung 412, iPhone Plus/Pro Max 414–428) */
@media (max-width: 440px) { .menu-toggle { font-size: 0; gap: 0; padding-left: 8px; } .header-inner { gap: 10px; } }
/* Маленькі планшети: фото в шапці не більше 420px і по центру */
@media (max-width: 640px) { .page-hero .arch { max-width: 420px; justify-self: center; } }

/* Сторінка «Навчання» */
.nv-quote { font: italic 400 1.2rem/1.55 var(--font-italic, var(--font-display)); color: var(--clay-dark); border-left: 2px solid var(--gold); padding-left: 22px; margin: 32px 0; }
.nv-note { margin-top: 36px; padding: 28px 30px; background: #f3e7da; border-radius: 18px; }
.nv-note h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 0 0 10px; }
.nv-note p { margin: 0; }
.cta-band .nv-tight { margin-bottom: 12px; }
.cta-band .edu-offer { margin: 0 auto 24px; }
.price .price-more { align-self: flex-start; margin: 4px 0 18px; }
@media (max-width: 640px) { .nv-note { padding: 22px 20px; } .nv-quote { padding-left: 16px; } }

/* Меню: пункти не переносяться на два рядки */
.nav-list a { white-space: nowrap; }
/* З довгим пунктом «Навчання гештальт-терапії» меню повністю влазить лише від ~1180px; нижче — кнопка «Меню» */
@media (max-width: 1180px) and (min-width: 921px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { gap: 16px; }
  .header-cta { margin-left: auto; }
}

/* Головна: блок «Навчання» одразу після кнопок запису */
.home-edu .link-arrow { color: var(--ivory); border-color: rgba(250, 244, 236, .6); }
.home-edu .link-arrow:hover { color: #f0c9ad; border-color: #f0c9ad; }
.home-edu .btn-light { margin-right: 28px; }
.home-edu-more { margin-top: 22px; }
.home-edu p:not(.label):not(.lead) { color: #f1e2d4; }
/* Телефон: фото і кнопка запису на навчання вміщуються на один екран; кнопка по центру, абзац — під нею */
@media (max-width: 640px) {
  .home-edu .split { gap: 22px; }
  .home-edu .split-photo img { aspect-ratio: 16 / 9; object-position: 50% 18% !important; }
  .home-edu .split > div:last-child { display: flex; flex-direction: column; }
  .home-edu .label { margin-bottom: 10px; }
  .home-edu h2 { margin-bottom: 10px; }
  .home-edu .lead { margin-bottom: 0; }
  .home-edu .meta-list { margin: 18px 0 22px; }
  .home-edu .meta-list div { padding: 12px 0; }
  .home-edu .btn-light { display: flex; width: fit-content; max-width: 100%; margin: 0 auto; }
  .home-edu-text { order: 1; margin: 28px 0 0; }
  .home-edu-more { order: 2; align-self: flex-start; }
}
@media (max-width: 640px) {
  .home-edu .split { gap: 18px; }
  .home-edu .meta-list { margin: 14px 0 18px; }
  .home-edu .meta-list dd { font-size: 1.08rem; }
  .home-edu .meta-list div:nth-child(odd) { padding-right: 12px; }
  .home-edu .meta-list { grid-template-columns: auto 1fr; column-gap: 8px; }
}

/* Відгуки: на широких екранах — колонки різної висоти, без порожнин */
@media (min-width: 641px) {
  .reviews { display: block; columns: 2; column-gap: 24px; }
  .reviews > li { display: block; break-inside: avoid; margin-bottom: 24px; }
  .reviews > li .review { height: auto; }
}
@media (min-width: 1100px) { .reviews { columns: 3; } }
/* Нагороди: шість документів; горизонтальний — повністю, без обрізання */
.awards .doc-thumb img.doc-wide { object-fit: contain; background: #5a3f30; }
@media (max-width: 640px) { .awards li:last-child { grid-column: auto; max-width: none; } }
/* Блок «Навчання» на головній: фото, обрізане вручну (859x729), показується повністю.
   На телефоні — на всю ширину; відступи стиснуті, щоб кнопка запису влазила разом із фото (2026-12-01) */
.home-edu .split-photo img { aspect-ratio: 859 / 729; object-position: 50% 50% !important; }
@media (max-width: 640px) {
  .home-edu .split-photo { width: 100%; max-width: 100%; justify-self: stretch; }
  .home-edu .split-photo img { aspect-ratio: 859 / 729; width: 100%; height: auto; display: block; }
}
@media (max-width: 640px) {
  .home-edu .split { gap: 12px; }
  .home-edu .label { margin-bottom: 6px; }
  .home-edu h2 { margin-bottom: 8px; }
  .home-edu .lead { font-size: 15px; }
  .home-edu .meta-list { margin: 10px 0 14px; }
  .home-edu .meta-list div { padding: 10px 0; }
}
/* Нагороди: п'ять документів; останній (горизонтальний) — на дві клітинки, без порожнього місця (2026-12-02) */
.awards li.award-span { grid-column: span 2; }
.awards li.award-span .doc-thumb img.doc-wide { aspect-ratio: 1.55; }
@media (max-width: 640px) {
  .awards li.award-span { grid-column: 1 / -1; max-width: none; }
  .awards li.award-span .doc-thumb img.doc-wide { aspect-ratio: 971 / 686; }
}
