/* =========================================================================
   Сайт Оксани Дезери-Ботвиної — розкладка й компоненти.
   Значення — з токенів (tokens.css). Мобільна розкладка до 1023px,
   десктопна від 1024px; відступи всередині «гумові» (390 → 1440 → 1920).
   ========================================================================= */

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font: 300 var(--t-body)/1.5 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, ul, ol, blockquote, figure { margin: 0; }
h1, h2, h3 { font-weight: inherit; }
ul, ol { padding-left: 24px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
em { font-style: italic; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
.footer :focus-visible, .cookie :focus-visible { outline-color: var(--c-focus-dark); }
::selection { background: var(--c-pink); color: var(--c-navy-950); }

.skip {
  position: fixed; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; background: var(--c-navy-600); color: var(--c-white);
  border-radius: var(--r-pill); font: 400 var(--t-btn)/1.1 var(--f-sans);
}
.skip:focus { top: 16px; }

:root { --px: max(var(--margin), calc((100vw - var(--max)) / 2)); }

/* ---------- Типографіка ---------- */
.eyebrow { font: 400 var(--t-eyebrow)/1.2 var(--f-sans); letter-spacing: .04em; }
.eyebrow--blue { color: var(--c-navy-500); }
.display { font: 400 var(--t-h1)/1 var(--f-serif); letter-spacing: 0; text-wrap: balance; } /* в макете заголовки разбиты на ровные строки */
.h2 { font: 300 var(--t-h2)/1.1 var(--f-serif); letter-spacing: .01em; }
.h2--s { font-size: var(--t-h2-s); }
.h3 { font: 400 var(--t-h3)/1.2 var(--f-serif); letter-spacing: .02em; color: var(--c-navy-700); }
.text > * + * { margin-top: 12px; }
.text li + li { margin-top: 0; }
.text--s { font-size: var(--t-small); }
.heading-group { display: flex; flex-direction: column; gap: 8px; }
.heading-group--center { text-align: center; align-items: center; }

/* ---------- Кнопки й посилання ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 14px 20px; border-radius: var(--r-pill);
  font: 400 var(--t-btn)/1.1 var(--f-sans); letter-spacing: .01em; white-space: nowrap;
  transition: background-color var(--dur) ease, color var(--dur) ease, box-shadow var(--dur) ease;
}
.btn--primary { background: var(--c-navy-600); color: var(--c-white); }
.btn--primary:hover { background: var(--c-primary-hover); }
.btn--outline { color: var(--c-navy-950); box-shadow: inset 0 0 0 1px var(--c-navy-700); }
.btn--outline:hover { background: var(--c-ice); }
.btn--pink { background: var(--c-pink); color: var(--c-navy-950); }
.btn--pink:hover { background: var(--c-pink-hover); }
.btn--sm { height: auto; padding: 10px 16px; }
.btn--block { width: 100%; }

.link { font: 400 var(--t-btn)/1.1 var(--f-sans); letter-spacing: .01em; color: var(--c-navy-950); transition: color var(--dur) ease; }
.link:hover { color: var(--c-link-hover); }
.link--dark { color: var(--c-on-dark); }
.link--dark:hover { color: var(--c-link-hover-dark); }
.link--l { font-size: var(--t-btn-l); }
.text .link { font: inherit; letter-spacing: 0; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

.glass {
  background: var(--c-glass);
  box-shadow: inset 0 0 0 1px var(--c-line);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-radius: var(--r-pill);
}
.ico { width: 24px; height: 24px; flex: none; fill: currentColor; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: var(--r-pill);
  color: var(--c-navy-700); box-shadow: inset 0 0 0 1px var(--c-navy-700);
  transition: background-color var(--dur) ease;
}
.icon-btn:hover { background: var(--c-ice); }

.controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.dots { display: flex; align-items: center; }
.dot { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; opacity: .4; transition: opacity var(--dur) ease, width var(--dur) var(--ease-out); }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-navy-600); }
.dot:hover { opacity: .7; }
.dot[aria-current="true"] { opacity: 1; }
/* точка з прогресом автопрокрутки */
.dots--progress .dot[aria-current="true"] { width: 48px; }
.dots--progress .dot[aria-current="true"]::before { width: 32px; border-radius: var(--r-pill); background: var(--c-dot-track); }
.dot__bar { position: absolute; left: 8px; top: 8px; height: 8px; width: 0; border-radius: var(--r-pill); background: var(--c-navy-600); }
.dot { position: relative; }
.dots--progress .dot[aria-current="true"] .dot__bar { animation: dot-progress var(--autoplay, 12s) linear forwards; }
.is-paused .dot__bar { animation-play-state: paused !important; }
.no-autoplay .dots--progress .dot[aria-current="true"] .dot__bar { animation: none; width: 32px; }
@keyframes dot-progress { from { width: 0; } to { width: 32px; } }

.sec { padding-inline: var(--px); }

/* ---------- Навігація ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; padding: 12px var(--px);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__logo { display: flex; align-items: center; width: 198px; height: 54px; padding: 16px 24px; position: relative; z-index: 2; transition: background-color var(--dur) ease; }
.nav__logo:hover { background: var(--c-glass-hover); }
.nav__logo img { width: 150px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 20px; height: 54px; padding: 8px 8px 8px 24px; }
.nav__burger { display: none; }
.menu { display: none; }

/* ---------- 1. Hero ---------- */
.hero {
  display: flex; gap: 72px;
  min-height: 100vh; min-height: 100svh; /* первый экран целиком в окне; выше окна — только если не влезает текст */
  padding-right: calc(var(--px) + clamp(0px, calc(152 * var(--hd)), 152px));
}
.hero__media { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #dfe7ec url("../assets/img/hero-poster.webp") center / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__portrait { position: relative; width: clamp(300px, calc(300px + 40 * var(--hd)), 340px); aspect-ratio: 1; object-fit: cover; }
.hero__content {
  flex: none; width: clamp(536px, calc(536px + 152 * var(--hd)), 688px);
  display: flex; flex-direction: column; gap: 24px;
  padding: clamp(96px, 15svh, 140px) 0 clamp(40px, 7svh, 80px);
}
.hero__intro { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.hero__lead { display: flex; flex-direction: column; gap: 16px; }
.hero__desc { max-width: 284px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.themes { display: flex; flex-direction: column; gap: 24px; }
.theme { display: flex; flex-direction: column; width: fit-content; max-width: 100%; }
.theme > .collapse { width: 0; min-width: max(100%, 240px); } /* ответ шириной с вопрос, как в макете (Accordions opened) */
.theme--indent { padding-left: 120px; }
.theme--end { margin-left: auto; }
.theme--end > .collapse { min-width: 100%; }
.theme__q { display: inline-flex; align-items: center; gap: 12px; color: var(--c-navy-700); transition: color var(--dur) ease; }
.theme__q:hover { color: var(--c-accordion-hover); }
.theme__a { padding-top: 8px; font-size: var(--t-small); }

/* акордеон: плавне розкриття */
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-out); }
.collapse > * { overflow: hidden; min-height: 0; }
.is-open > .collapse, .is-open > * > .collapse, .qa.is-open .collapse { grid-template-rows: 1fr; }
[aria-expanded] .ico { transition: transform var(--dur) var(--ease-out); }
[aria-expanded="true"] .ico { transform: rotate(45deg); }
.nav__burger[aria-expanded] .ico { transform: none; } /* у бургера своя иконка «×», не поворачиваем */

/* ---------- 2. Напрями роботи ---------- */
.practice { position: relative; display: flex; flex-direction: column; gap: var(--gap-48); padding-block: var(--sec-120); overflow: clip; }
.practice__head { max-width: 760px; position: relative; z-index: 1; }
.practice__list { display: flex; flex-direction: column; gap: var(--gap-64); position: relative; z-index: 1; }
.bird { position: absolute; z-index: 0; mix-blend-mode: multiply; pointer-events: none; will-change: transform; }
.bird--1 { width: 480px; left: 46.875%; top: 0; transform: translateX(calc(var(--b1, 0) * 1px)); }
.bird--2 { width: 371px; left: -3px; top: 846px; transform: translateX(calc(var(--b2, 0) * 1px)); }
.area { border-top: 1px solid var(--c-line); padding-top: 23px; display: grid; grid-template-columns: minmax(0, clamp(535px, calc(535px + 353 * var(--hd)), 888px)) minmax(0, 536px); gap: 24px; } /* HD: текст на колонке x=972, как в макете 1920 */
.area__title { max-width: 480px; }
.area__body { display: flex; flex-direction: column; gap: var(--gap-24); }
.para { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 3. Простір практики ---------- */
.approach { background: var(--c-blush); display: flex; flex-direction: column; gap: var(--gap-48); padding-block: var(--sec-120) clamp(32px, calc(32px + 88 * var(--fl)), 120px); }
.approach__head { max-width: 870px; }
.approach__media { position: relative; height: clamp(729px, calc(729px + 131 * var(--hd)), 860px); overflow: hidden; }
.approach__sea { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.approach__portrait { position: absolute; left: 24px; bottom: 24px; width: 262px; height: 379px; object-fit: cover; }
.bio {
  position: absolute; right: 0; bottom: 0;
  width: min(758px, 100% - 334px); height: clamp(650px, calc(650px + 80 * var(--hd)), 730px);
  background: var(--c-blush); box-shadow: var(--sh-bio);
  --bio-pt: 48px; --bio-pl: 48px; --bio-gap: 32px; --bio-tr: 8px;
}
@media (min-width: 1440px) {
  .bio { right: auto; left: min(calc(559px + 353 * var(--hd)), 912px); } /* 619 на 1440, 972 на 1920 */
  .bird--1 { left: min(calc(675px + 285 * var(--hd)), 50%); }
}
.bio__scroll {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: var(--bio-pt) calc(var(--bio-tr) * 2 + var(--bio-gap)) var(--bio-pt) var(--bio-pl);
  scrollbar-width: none;
}
.bio__scroll::-webkit-scrollbar { display: none; }
.bio__scroll:focus-visible { outline-offset: -4px; }
.bio__block { display: flex; flex-direction: column; gap: 24px; }
.bio__block + .bio__block { margin-top: var(--bio-gap); padding-top: var(--bio-gap); border-top: 1px solid var(--c-line); }
.bio__text { padding-right: 24px; }
.bio__block:nth-child(2) .h2 { max-width: 424px; }
.bio__block:nth-child(n+3) .h2 { max-width: 448px; }
.bio__track { position: absolute; right: var(--bio-tr); top: var(--bio-pt); bottom: var(--bio-pt); width: 8px; }
.bio__thumb { position: absolute; left: 0; top: 0; width: 8px; height: 32px; border-radius: var(--r-pill); background: var(--c-steel); cursor: grab; touch-action: none; transform: translateY(calc(var(--t, 0) * 1px)); }
.bio__thumb:active { cursor: grabbing; }

/* ---------- 4. Освіта ---------- */
.education { display: flex; flex-direction: column; align-items: center; gap: var(--gap-48); padding-block: var(--sec-140) var(--sec-120); overflow: clip; }
.education .heading-group { max-width: 748px; }
.edu { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; --edu-a: clamp(358px, calc(358px + 242 * var(--fl)), 600px); }
.edu__track { position: relative; width: var(--edu-a); height: calc(var(--edu-a) * .70833); list-style: none; padding: 0; margin: 0; touch-action: pan-y; user-select: none; }
.edu__slide {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: var(--c-white); transform-origin: 50% 0;
  transform: translateX(calc(var(--x, 0) * 1px)) scale(var(--s, 1));
  transition: transform .7s var(--ease-out);
  cursor: pointer;
}
.edu__slide.is-active { cursor: default; }
.edu__slide.no-anim { transition: none; }
.edu__slide img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; opacity: .3; filter: grayscale(1); transition: opacity .6s ease, filter .6s ease; }
.edu__slide.is-active img { opacity: 1; filter: none; }
.edu__slide:not(.is-active):hover img { opacity: .5; }

/* ---------- 5. Як проходять зустрічі ---------- */
.process { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: var(--gap-48); padding-block: var(--sec-120); overflow: clip; }
.process__bg { position: absolute; inset: 0; z-index: -1; background: #e6edf1 url("../assets/img/process-poster.webp") center / cover no-repeat; }
.process__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--c-bg) 0, rgba(246, 246, 246, 0) 45%, var(--c-bg) 100%); }
.process__video { width: 100%; height: 100%; object-fit: cover; }
.process__title { text-align: center; }
.steps { width: 100%; max-width: 1320px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.steps__stage { position: relative; width: 100%; height: calc(var(--arc-h, 455px) + 155px); touch-action: pan-y; }
.steps__arc { position: absolute; left: 50%; top: 0; max-width: none; width: var(--arc-w, 912px); height: var(--arc-h, 456px); transform: translateX(-50%); overflow: visible; fill: none; stroke: var(--c-navy-600); stroke-width: 1; }
.step { position: absolute; left: 0; top: 0; width: var(--w, 400px); display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; transform: translate(calc(var(--x, 0) * 1px - 50%), calc(var(--y, 0) * 1px)); will-change: transform; }
.step__hit { position: absolute; inset: -8px; z-index: 2; border-radius: 16px; }
.step.is-active .step__hit { display: none; }
.step__dot { width: 19px; height: 19px; flex: none; border-radius: 50%; background: var(--c-navy-600); transition: transform var(--dur) var(--ease-out); }
.step:not(.is-active):hover .step__dot { transform: scale(1.3); }
.step__title { max-width: 300px; transition: max-width .6s var(--ease-out); }
.step__title span { display: block; }
.step.is-active .step__title { max-width: 400px; }
.step__desc { opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; }
.step.is-active .step__desc { opacity: 1; visibility: visible; transition: opacity .6s ease .25s, visibility 0s; }
.steps__controls { display: none; }

/* ---------- 6. Відгуки ---------- */
.reviews { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: var(--gap-48); padding-block: var(--sec-140) var(--sec-120); }
.reviews__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.reviews__grid { position: relative; --cw: min(calc((100% - 48px) / 3), 432px); }
.reviews__pages { display: grid; }
.reviews__page { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 24px; transition: opacity .5s ease, visibility 0s .5s; }
.reviews__page:not(.is-active) { opacity: 0; visibility: hidden; pointer-events: none; }
.reviews__page.is-active { transition: opacity .5s ease, visibility 0s; }
.reviews__row { display: flex; align-items: flex-start; gap: 24px; }
.reviews__row--end { justify-content: flex-end; }
.review {
  position: relative; overflow: hidden; flex: 0 0 var(--cw); width: var(--cw);
  padding: calc(var(--pad-card) + 1px); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--c-line); /* в макете обводка входит в раскладку */
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.review > * { position: relative; }
.review > * + * { margin-top: 12px; }
.review--blush { background: var(--c-blush); }
.review--ice { background: var(--c-ice); }
.review--bg { background: var(--c-bg); }
.review::before { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity var(--dur) ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .8), rgba(154, 211, 235, .32) 30%, transparent 68%); }
@media (hover: hover) and (min-width: 1024px) {
  .review:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px var(--c-line), 0 28px 70px rgba(0, 32, 48, .18); }
  .review:hover::before { opacity: 1; }
}
.reviews__controls { position: absolute; right: 0; top: 0; z-index: 2; }

/* ---------- 7. Запис ---------- */
.booking { display: flex; flex-direction: column; gap: var(--gap-48); padding-block: var(--sec-140) var(--sec-80); }
.booking__intro { display: flex; gap: 24px; }
.booking__intro > * { flex: 1 1 0; min-width: 0; }
.booking__title { max-width: 736px; }
.booking__service { display: flex; flex-direction: column; gap: 24px; }
.tabs { display: flex; align-items: center; }
.tab { padding: 12px; font: 400 var(--t-btn)/1.1 var(--f-sans); letter-spacing: .01em; color: var(--c-navy-950); border-bottom: 1px solid var(--c-navy-950); opacity: .4; transition: opacity var(--dur) ease; }
.tab:hover { opacity: .6; }
.tab[aria-selected="true"] { opacity: 1; border-bottom-width: 2px; }
.panel { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.panel .btn { margin-top: 8px; }
.panel > h3, .panel > p { max-width: 647px; }
.panel:not([hidden]) { animation: fade-in .45s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.scheduler {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-box);
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(860px, calc(860px + 80 * var(--hd)), 940px);
  padding: clamp(80px, calc(80px + 40 * var(--hd)), 120px) 10px;
  scroll-margin-top: 90px;
}
.scheduler__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.scheduler__bg.is-on { opacity: 1; }
.widget { width: 800px; max-width: 100%; border-radius: var(--r-box); box-shadow: var(--sh-widget); overflow: hidden; background: var(--c-white); }
.widget img { width: 100%; }
.widget { position: relative; }
.widget__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: rgba(255, 255, 255, .82); backdrop-filter: blur(4px); font-size: var(--t-small); }
.widget__consent[hidden] { display: none; }
.widget.is-live { height: 700px; }
.widget iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- 8. FAQ ---------- */
.faq { display: flex; align-items: flex-start; gap: 24px; padding-block: var(--sec-120) var(--sec-140); }
.faq__intro { flex: 1 1 0; min-width: 0; height: 660px; display: flex; flex-direction: column; gap: 24px; } /* как в макете: высота блока фиксирована, птицы на HD выходят за край */
.faq__title { max-width: 538px; }
.faq__birds { width: 100%; max-width: 888px; mix-blend-mode: multiply; }
.faq__list { flex: 1 1 0; min-width: 0; padding-top: 24px; }
.faq__list > * { max-width: 648px; }
.qa + .qa { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--c-line); }
.qa__q { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; width: 100%; color: var(--c-navy-700); transition: color var(--dur) ease; }
.qa__q:hover { color: var(--c-accordion-hover); }
.qa__a { padding-right: 24px; color: var(--c-navy-700); }
.qa__a > :first-child { margin-top: 8px; }

/* ---------- 9. Футер ---------- */
.footer { position: relative; isolation: isolate; color: var(--c-white); background: var(--c-footer); padding: var(--sec-80) var(--px) var(--sec-32); }
.footer__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.footer__main { display: flex; justify-content: space-between; gap: 24px; padding-bottom: clamp(80px, calc(80px + 60 * var(--hd)), 140px); }
.footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer__links li { display: flex; }
.footer__links { list-style: none; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer__about { display: flex; gap: 24px; width: calc(50% - 12px); }
.footer__msg { flex: 0 1 580px; min-width: 0; } /* 424 на 1440 (сжимается), 580 на HD */
.footer__photo { flex: none; width: clamp(200px, calc(200px + 80 * var(--hd)), 280px); aspect-ratio: 200 / 274; object-fit: cover; }
.footer__wordmark { width: 100%; height: auto; }
.footer__legal { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 16px; font-size: var(--t-small); }

/* ---------- Банер cookie ---------- */
.cookie {
  position: fixed; left: var(--px); bottom: 16px; z-index: 60;
  display: flex; flex-direction: column; gap: 16px; width: min(420px, calc(100vw - 32px));
  padding: 20px 24px; border-radius: var(--r-card);
  background: rgba(246, 246, 246, .88); box-shadow: inset 0 0 0 1px var(--c-line), 0 18px 60px rgba(0, 32, 48, .12);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  font-size: var(--t-small); color: var(--c-ink);
  animation: fade-in .5s var(--ease-out);
}
.cookie .link { font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Сторінка політики ---------- */
.policy-head { background: var(--c-blush-2); padding: var(--sec-140) var(--px) clamp(30px, calc(30px + 30 * var(--fl)), 60px); display: flex; flex-direction: column; gap: 8px; }
.policy-body { padding: var(--sec-80) var(--px) var(--sec-140); }
.policy-body__inner { max-width: 648px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--sec-32); }
.policy-block { display: flex; flex-direction: column; gap: 16px; }
.policy-strong { font-weight: 400; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.policy-body .text ul { list-style: disc; padding-left: 1.25em; }
.policy-body .text li::marker { color: var(--c-navy-500); }
.fill { background: var(--c-pink); color: inherit; padding: 0 .2em; border-radius: 3px; } /* місце, яке заповнює Оксана */
.footer__docs { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.policy-note { padding: 16px 20px; border-radius: var(--r-box); background: var(--c-ice); font-size: var(--t-small); }

/* =========================================================================
   Планшет і мобільний (до 1023px)
   ========================================================================= */
@media (max-width: 1023.98px) {
  html { scroll-padding-top: 66px; }

  .nav { height: 58px; padding: 8px var(--px); }
  .nav__logo { width: 184px; height: 36.4px; padding: 12px 16px; }
  .nav__logo img { width: 152px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--c-navy-700); position: relative; z-index: 2; }
  .nav__burger .ico--close, .nav.is-menu .nav__burger .ico:not(.ico--close) { display: none; }
  .nav.is-menu .nav__burger .ico--close { display: block; }
  .menu {
    display: flex; flex-direction: column; gap: 24px;
    position: absolute; inset: 0 0 auto 0; z-index: 1;
    padding: 74px var(--px) 24px; background: var(--c-bg); box-shadow: var(--sh-menu);
    opacity: 0; transform: translateY(-12px); visibility: hidden;
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s var(--dur);
  }
  .menu[hidden] { display: flex !important; }
  .nav.is-menu .menu { opacity: 1; transform: none; visibility: visible; transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s; }
  .menu nav { display: flex; flex-direction: column; }
  .menu__link { font: 400 var(--t-h3)/1.2 var(--f-serif); letter-spacing: .02em; color: var(--c-navy-950); }
  .menu__link + .menu__link { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--c-line); }

  .hero { flex-direction: column; gap: 24px; height: auto; min-height: 0; padding: 0; }
  .hero__media { flex: none; height: clamp(400px, calc(400px + 160 * var(--fl)), 560px); background-image: url("../assets/img/hero-poster-900.webp"); }
  .hero__portrait { width: clamp(180px, calc(180px + 60 * var(--fl)), 240px); }
  .hero__content { width: auto; padding: 0 var(--px) 40px; }
  .hero__desc { max-width: 284px; }
  .hero__actions { flex-direction: column; gap: 16px; }
  .hero__actions .btn { width: 100%; padding-inline: 16px; }
  .themes { gap: 20px; }
  .theme--indent { padding-left: 0; }
  .theme--end { margin-left: 0; }

  .area { grid-template-columns: 1fr; }
  .area__title { max-width: 640px; }
  .bird--1 { width: 215px; height: 126px; object-fit: cover; object-position: 50% 0; left: auto; right: -92px; top: -1px; }
  .bird--2 { display: none; }

  .approach__media { height: 910px; }
  .approach__portrait { left: 24px; top: 24px; bottom: auto; width: 141px; height: 212px; }
  .bio { width: 100%; height: 650px; --bio-pt: 32px; --bio-pl: 32px; --bio-gap: 12px; }
  .bio__block + .bio__block { margin-top: 24px; padding-top: 24px; }
  .bio__text { padding-right: 20px; }

  .steps { gap: 20px; }
  .steps > .dots { display: none; }
  .steps__stage { height: auto; display: grid; padding-top: 0; }
  .steps__arc { width: 426px; height: 213px; top: 6px; }
  .step { position: relative; grid-area: 1 / 1; width: 100%; gap: 16px; transform: none; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
  .step.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease .1s, visibility 0s; }
  .step__hit { display: none; }
  .step__title, .step.is-active .step__title { max-width: 300px; }
  .step__desc { max-width: 358px; }
  .steps__controls { display: flex; }

  .reviews__grid { display: flex; flex-direction: column; gap: 24px; }
  .reviews__pages {
    display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--px)); padding-inline: var(--px); scroll-padding-inline: var(--px);
    align-items: flex-start; overscroll-behavior-x: contain;
  }
  .reviews__pages::-webkit-scrollbar { display: none; }
  .reviews__page, .reviews__row { display: contents; }
  .reviews__page:not(.is-active) { opacity: 1; visibility: visible; pointer-events: auto; }
  .review { flex: 0 0 min(358px, calc(100vw - 32px)); width: auto; scroll-snap-align: start; }
  .reviews__controls { position: static; }

  .booking__intro { flex-direction: column; gap: 24px; }
  .tabs .tab { flex: 1 1 0; }
  .panel .btn { padding-inline: 16px; }
  .scheduler { min-height: 0; padding: 40px 10px; }
  .widget { width: 294px; }
  .widget.is-live { width: 100%; max-width: 420px; height: 900px; } /* Calendly потребує щонайменше 320 px */

  .faq { flex-direction: column; gap: 24px; }
  .faq__birds { display: none; }
  .faq__intro { height: auto; }
  .faq__title { max-width: none; }
  .faq__list { max-width: none; padding-top: 20px; }
  .qa__q { gap: 16px; }

  .footer { display: flex; flex-direction: column; gap: 20px; }
  .footer__main { flex-direction: column-reverse; justify-content: flex-start; padding-bottom: 40px; }
  .footer__about { flex-direction: column; width: auto; max-width: none; }
  .footer__msg { flex: none; max-width: 560px; }
  .footer__photo { width: 167px; }
  .footer__wordmark { margin-top: 4px; } /* 20 (gap) + 4 = 24, как в макете */
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 0; }
}

@media (max-width: 1023.98px) and (min-width: 640px) {
  .footer__about { flex-direction: row; }
}

/* =========================================================================
   Рух (Figma Make): поява заголовка, хмар, портрета; появи при прокрутці
   ========================================================================= */
.js .hero__media { animation: clouds-in 1.4s var(--ease-out) both; }
.js .hero__eyebrow { animation: rise-in .7s var(--ease-out) 40ms both; }
.js .hero__portrait { animation: portrait-in 1.25s var(--ease-out) .35s both; }
.js [data-split]:not(.is-split) { visibility: hidden; } /* до загрузки шрифта: делим на строки уже по настоящему шрифту */
.js [data-split] .line { display: block; white-space: nowrap; animation: line-in 1.1s var(--ease-out) both; }
.js [data-split] .line:nth-child(1) { animation-delay: .12s; }
.js [data-split] .line:nth-child(2) { animation-delay: .24s; }
.js [data-split] .line:nth-child(3) { animation-delay: .36s; }
.js [data-split] .line:nth-child(4) { animation-delay: .48s; }
.js .hero__lead, .js .themes { animation: rise-in .9s var(--ease-out) .55s both; }
.js .themes { animation-delay: .7s; }
@keyframes clouds-in { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes line-in { from { opacity: 0; letter-spacing: .025em; transform: translateY(24px); } to { opacity: 1; letter-spacing: 0; transform: none; } }
@keyframes portrait-in { from { opacity: 0; filter: blur(10px); transform: translateY(22px) scale(.94) rotate(-1.5deg); } to { opacity: 1; filter: none; transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .85s var(--ease-out), transform .95s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="widget"] { opacity: 1; transform: none; }
.js [data-reveal="widget"] .widget { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out) .15s, transform 1s var(--ease-out) .15s; }
.js [data-reveal="widget"].is-in .widget { opacity: 1; transform: none; }
.js .reviews__page.is-active .review { animation: rise-in .7s var(--ease-out) both; }
.js .reviews__page.is-active .review:nth-of-type(2) { animation-delay: .08s; }
.js .reviews__page.is-active .reviews__row + .reviews__row .review { animation-delay: .16s; }
.js .reviews__page.is-active .reviews__row + .reviews__row .review:nth-of-type(2) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .bird { transform: none !important; }
}
