/* =========================================================
   ЧИСТЫЙ ПУТЬ — реабилитационный центр, Новороссийск
   Палитра: Shell · Stone · Sky · Honeydew · Viridian · золото рассвета.
   Шрифты: Wix Madefor Display (заголовки) + Wix Madefor Text (текст).
   Сигнатура: «рассветная арка» — панорама героя поднимается дугой, как солнце над горизонтом.
   ========================================================= */

/* ============ ШРИФТЫ — свои файлы (вариативные, вес 400–800), без запросов к Google ============ */
@font-face { font-family: 'Wix Madefor Display'; src: url('/assets/fonts/wix-madefor-display-cyrillic.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Display'; src: url('/assets/fonts/wix-madefor-display-latin.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Wix Madefor Text'; src: url('/assets/fonts/wix-madefor-text-cyrillic.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Text'; src: url('/assets/fonts/wix-madefor-text-latin.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Wix Madefor Text'; src: url('/assets/fonts/wix-madefor-text-latin-ext.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --shell:     #F7F5F1;
  --paper:     #FBFAF7;
  --stone:     #E0DCD1;
  --stone-2:   #ECE9E2;
  --sky:       #D5E3E8;
  --honey:     #E4E3BC;
  --ink:       #344945;
  --ink-deep:  #24332F;
  --ink-2:     #5C6A64;
  --ink-3:     #626A64;
  --mute:      #7E8A86;
  --gold:      #C49A3F;
  --gold-deep: #8F722A;
  --line:       rgba(52, 73, 69, .14);
  --line-soft:  rgba(52, 73, 69, .08);
  --line-light: rgba(247, 245, 241, .16);

  --display: 'Wix Madefor Display', 'Wix Madefor Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text:    'Wix Madefor Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --edge: clamp(8px, 1.2vw, 16px);
  --sec: clamp(88px, 10vw, 152px);
  --r: clamp(20px, 2.2vw, 32px);
  --r-sm: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--shell);
  letter-spacing: -.005em; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--honey); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 50%; top: -80px; transform: translateX(-50%); z-index: 300; background: var(--ink); color: var(--shell); padding: 10px 20px; border-radius: 0 0 14px 14px; transition: top .2s; }
.skip-link:focus { top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }

/* ============ ТИПОГРАФИКА ============ */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; font: 500 .9rem/1 var(--text); color: var(--ink-2); }
.eyebrow--light { color: rgba(247, 245, 241, .72); }

/* Маленькое солнце над горизонтом — повторяет знак бренда */
.sun { position: relative; flex: none; width: 14px; height: 7px; margin-inline: 3px; transform: translateY(-2px); background: var(--gold); border-radius: 7px 7px 0 0; }
.sun::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -2.5px; height: 1.5px; border-radius: 2px; background: currentColor; opacity: .45; }

.h2 { font: 500 clamp(2.2rem, 4.5vw, 4.2rem)/1.02 var(--display); letter-spacing: -.042em; color: var(--ink); max-width: 20ch; }
.h2--light { color: #fff; }
.mute { color: var(--mute); }
.h2--light .mute, .band__title .mute, .contact__title .mute { color: rgba(247, 245, 241, .52); }

.lede { font-size: clamp(1.04rem, 1.25vw, 1.18rem); line-height: 1.6; color: var(--ink-2); max-width: 44ch; }
.lede--light { color: rgba(247, 245, 241, .72); }
.h2 + .lede { margin-top: 26px; }

.link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-bottom: 6px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s, gap .4s var(--ease); }
.link span { color: var(--gold-deep); transition: transform .4s var(--ease); }
.link:hover { border-color: var(--ink); gap: 14px; }

/* ============ КНОПКИ ============ */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 6px 6px 6px 26px; border-radius: 999px; font: 500 1rem/1 var(--text); letter-spacing: -.01em; white-space: nowrap; transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease); }
.btn__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; transition: transform .45s var(--ease), background .35s, color .35s; }
.btn__icon svg { transition: transform .45s var(--ease); }
.btn:hover .btn__icon svg { transform: rotate(-45deg); }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: var(--shell); }
.btn--dark .btn__icon { background: var(--shell); color: var(--ink); }
.btn--dark:hover { background: var(--ink-deep); }
.btn--light { background: var(--shell); color: var(--ink); }
.btn--light .btn__icon { background: var(--ink); color: var(--shell); }
.btn--light:hover { background: #fff; }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--line .btn__icon { background: var(--ink); color: var(--shell); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--sm { height: 48px; padding-left: 20px; gap: 12px; font-size: .95rem; }
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn--block { width: 100%; justify-content: space-between; }

.call { display: inline-flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.call strong { font: 600 1.06rem/1.1 var(--text); letter-spacing: -.01em; transition: color .3s; }
.call small { font-size: .82rem; color: var(--ink-3); }
.call:hover strong { color: var(--gold-deep); }

.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 20px; border-radius: 999px; font: 500 .95rem/1 var(--text); color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.ghost:hover { background: rgba(255, 255, 255, .2); }
.ghost--icon { width: 50px; padding: 0; }

/* ============ ШАПКА ============ */
.header { position: fixed; inset: 0 0 auto; z-index: 100; padding-block: 14px; transition: background .45s var(--ease), box-shadow .45s, padding .45s var(--ease); }
.header.is-scrolled { padding-block: 8px; background: rgba(247, 245, 241, .8); -webkit-backdrop-filter: saturate(1.3) blur(16px); backdrop-filter: saturate(1.3) blur(16px); box-shadow: 0 1px 0 var(--line-soft); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__disc { fill: var(--gold); }
.brand__ray { stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; }
.brand__horizon { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.brand__ripple { stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; opacity: .42; }
.brand__name { font: 600 1.2rem/1 var(--display); letter-spacing: -.035em; }

.nav { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(251, 250, 247, .66); box-shadow: inset 0 0 0 1px var(--line-soft); }
.nav a { padding: 10px 16px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .3s, background .3s; }
.nav a:hover { color: var(--ink); background: rgba(52, 73, 69, .06); }
.nav a[aria-current="true"] { color: var(--ink); background: rgba(52, 73, 69, .08); }
.nav .nav__phone { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header__phone { font-weight: 600; font-size: .95rem; white-space: nowrap; transition: color .3s; }
.header__phone:hover { color: var(--gold-deep); }

.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* ============ HERO + РАССВЕТНАЯ АРКА ============ */
.hero { position: relative; padding-top: clamp(118px, 16vh, 176px); }
.hero__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.hero__head .eyebrow { margin-bottom: 0; }
.hero__title { font: 500 clamp(3rem, 6.6vw, 6.5rem)/.94 var(--display); letter-spacing: -.052em; color: var(--ink); }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__in { display: inline-block; transform: translateY(108%); animation: lineUp 1.15s var(--ease) forwards; animation-delay: calc(.1s + var(--i, 0) * .11s); }
.hero__aside { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: 8px; }
.hero__lede { max-width: 44ch; font-size: clamp(1.04rem, 1.2vw, 1.16rem); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-in { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; animation-delay: calc(.15s + var(--i, 0) * .11s); }

.hero__visual { position: relative; margin-top: clamp(44px, 6vw, 84px); padding-inline: var(--edge); }
.arch { position: relative; overflow: hidden; aspect-ratio: 16 / 7; border-radius: 0 0 var(--r) var(--r); background: var(--sky); clip-path: ellipse(100% 100% at 50% 100%); animation: archRise 1.9s var(--ease-io) .25s both; }
.arch__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; scale: 1.14; animation: settle 2.8s var(--ease) .25s forwards; will-change: translate; }

.hero__note, .hero__assure li {
  background: rgba(251, 250, 247, .74); color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 10px 30px rgba(36, 51, 47, .08);
}
.hero__note { position: absolute; left: calc(var(--edge) + clamp(18px, 3vw, 44px)); bottom: clamp(18px, 3vw, 44px); display: flex; align-items: center; gap: 12px; max-width: min(78%, 380px); padding: 13px 22px 13px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; line-height: 1.3; opacity: 0; animation: fadeUp 1s var(--ease) 1.5s forwards; }
.hero__pulse { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.hero__pulse::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--gold); animation: pulse 2.6s var(--ease) infinite; }
.hero__assure { position: absolute; right: calc(var(--edge) + clamp(18px, 3vw, 44px)); bottom: clamp(18px, 3vw, 44px); display: flex; gap: 8px; opacity: 0; animation: fadeUp 1s var(--ease) 1.65s forwards; }
.hero__assure li { padding: 11px 16px; border-radius: 999px; font-size: .86rem; font-weight: 500; }

@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes archRise { from { clip-path: ellipse(58% 0% at 50% 100%); } to { clip-path: ellipse(100% 100% at 50% 100%); } }
@keyframes settle { to { scale: 1; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

/* ============ МЕДИА / ЧИПЫ ============ */
.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--stone); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] { will-change: translate; }
.chip { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--ink); }
.chip--glass { background: rgba(251, 250, 247, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(52px, 6.5vw, 96px); }
.sec-head .lede { padding-bottom: .45em; }
.sec-head .h2 { max-width: 19ch; }

/* ============ ЭМПАТИЯ: текст, проявляющийся при прокрутке ============ */
.statement__text { font: 500 clamp(2rem, 4.3vw, 4rem)/1.1 var(--display); letter-spacing: -.038em; color: var(--ink); max-width: 25ch; }
.statement__text .w { color: var(--mute); transition: color .5s var(--ease); }
.statement__text .w.is-lit { color: var(--ink); }
.statement__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(32px, 6vw, 110px); margin-top: clamp(56px, 7vw, 104px); padding-top: 32px; border-top: 1px solid var(--line); }
.statement__cols p { max-width: 46ch; color: var(--ink-2); }

/* ============ КОМУ ПОМОГАЕМ: строки ============ */
.rows { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 52px; gap: 20px clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); isolation: isolate; }
.row::before { content: ""; position: absolute; inset: 6px calc(var(--gut) * -.5); z-index: -1; border-radius: var(--r-sm); background: var(--paper); box-shadow: 0 18px 40px rgba(36, 51, 47, .06); opacity: 0; transform: scaleY(.85); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.row__title { font: 500 clamp(1.6rem, 3vw, 2.75rem)/1.05 var(--display); letter-spacing: -.035em; transition: transform .55s var(--ease); }
.row__text { color: var(--ink-2); max-width: 50ch; }
.row__go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: background .4s, color .4s, box-shadow .4s, transform .55s var(--ease); }
.row:hover::before, .row:focus-visible::before { opacity: 1; transform: none; }
.row:hover .row__title { transform: translateX(14px); }
.row:hover .row__go { background: var(--ink); color: var(--shell); box-shadow: none; transform: rotate(45deg); }

/* ============ ПОЧЕМУ У МОРЯ ============ */
.retreat__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 7vw, 124px); align-items: center; }
.retreat__media { aspect-ratio: 4 / 5; }
.retreat__media img { position: absolute; inset: -6% 0; height: 112%; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 44px); margin-top: clamp(40px, 5vw, 60px); }
.features li { padding: 24px 0 26px; border-top: 1px solid var(--line); }
.features h3, .grid-list h3, .roles h3 { margin-bottom: 8px; font: 600 1.08rem/1.3 var(--text); letter-spacing: -.015em; color: var(--ink); }
.features p, .grid-list p, .roles p { font-size: .98rem; line-height: 1.55; color: var(--ink-2); }

/* ============ ВИДЕО: ДОМ ИЗНУТРИ ============ */
.tour { padding-inline: var(--edge); }
.tour__frame { position: relative; display: flex; align-items: flex-end; min-height: clamp(560px, 92vh, 920px); overflow: hidden; border-radius: var(--r); background: var(--ink-deep); color: #fff; isolation: isolate; }
.tour__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tour__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 30, 28, .42) 0%, rgba(20, 30, 28, 0) 26%, rgba(20, 30, 28, 0) 42%, rgba(20, 30, 28, .84) 100%); transition: opacity .6s; }
.tour__play { position: absolute; left: 50%; top: 42%; display: grid; place-items: center; width: clamp(112px, 11vw, 140px); aspect-ratio: 1; translate: -50% -50%; color: var(--ink); transition: opacity .5s var(--ease), scale .5s var(--ease); }
.tour__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.tour__ring text { fill: rgba(255, 255, 255, .9); font: 600 9.6px var(--text); letter-spacing: .22em; text-transform: uppercase; }
.tour__play-ic { display: grid; place-items: center; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--shell); transition: background .35s, scale .5s var(--ease); }
.tour__play-ic svg { margin-left: 3px; }
.tour__play:hover .tour__play-ic { background: var(--honey); scale: 1.08; }
.tour__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; width: 100%; padding: clamp(24px, 4.5vw, 64px); }
.tour__text { max-width: 720px; }
.tour__text .h2 { max-width: 16ch; }
.tour__lede { max-width: 46ch; margin-top: 20px; color: rgba(247, 245, 241, .78); }
.tour__controls { display: flex; gap: 10px; }
.ghost__on { display: none; }
.ghost.is-on { background: var(--shell); color: var(--ink); box-shadow: none; }
.ghost.is-on .ghost__off { display: none; }
.ghost.is-on .ghost__on { display: block; }
.tour.is-playing .tour__play { opacity: 0; scale: .85; pointer-events: none; }
.tour.is-playing .tour__shade { opacity: .35; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ ПУТЬ: горизонтальный аккордеон этапов ============ */
.path { padding-inline: var(--edge); margin-top: var(--sec); }
.path__frame { position: relative; overflow: hidden; padding-block: var(--sec); border-radius: var(--r); background: var(--ink); color: var(--shell); isolation: isolate; }
.path__frame::before { content: ""; position: absolute; right: -12%; top: -30%; z-index: -1; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(196, 154, 63, .16), rgba(196, 154, 63, 0) 62%); pointer-events: none; }
.sec-head--light .h2 { color: #fff; }

.stages { display: flex; gap: 10px; height: clamp(440px, 56vh, 540px); }
.stage { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 22px; background: rgba(247, 245, 241, .05); box-shadow: inset 0 0 0 1px rgba(247, 245, 241, .1); transition: flex-grow .75s var(--ease-io), background .5s, color .5s; }
.stage:hover { background: rgba(247, 245, 241, .1); }
.stage.is-open { flex-grow: 4.4; background: var(--shell); color: var(--ink); box-shadow: none; }
.stage__head { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; width: 100%; padding: clamp(20px, 2vw, 30px); text-align: left; color: inherit; }
.stage__num { font: 500 .95rem/1 var(--display); letter-spacing: -.01em; opacity: .78; }
.stage__name { font: 500 1.45rem/1 var(--display); letter-spacing: -.03em; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.stage.is-open .stage__head { justify-content: flex-start; }
.stage.is-open .stage__name { writing-mode: horizontal-tb; transform: none; font-size: clamp(2rem, 3.4vw, 3.2rem); animation: fadeIn .6s var(--ease) both; }
.stage__body { position: absolute; left: clamp(20px, 2vw, 30px); right: clamp(20px, 2vw, 30px); bottom: clamp(20px, 2vw, 30px); max-width: 46ch; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s, transform .5s var(--ease); }
.stage.is-open .stage__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .32s; }
.stage__text { font: 400 clamp(1.08rem, 1.5vw, 1.34rem)/1.45 var(--display); letter-spacing: -.015em; color: var(--ink); }
.stage__tag { display: inline-block; margin-top: 22px; padding: 9px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .82rem; font-weight: 600; color: var(--gold-deep); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ УСЛОВИЯ ============ */
.banner { aspect-ratio: 21 / 9; margin-bottom: clamp(40px, 5vw, 72px); }
.banner img { position: absolute; inset: -6% 0; height: 112%; }
.grid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3.4vw, 48px); }
.grid-list li { padding: 26px 0 30px; border-top: 1px solid var(--line); }

/* ============ КОМАНДА ============ */
.leader { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start; }
.leader__photo { position: sticky; top: 110px; overflow: hidden; aspect-ratio: 672 / 1000; background: var(--stone); border-radius: 50% 50% var(--r) var(--r) / 30% 30% var(--r) var(--r); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.leader__quote p { font: 500 clamp(1.55rem, 2.6vw, 2.35rem)/1.22 var(--display); letter-spacing: -.03em; color: var(--ink); }
.leader__sign { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.leader__line { flex: none; width: 36px; height: 1.5px; background: var(--gold); }
.leader__sign strong { display: block; font-weight: 600; font-size: 1.05rem; }
.leader__sign small { display: block; font-size: .9rem; color: var(--ink-3); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 44px); margin-top: clamp(48px, 5vw, 76px); }
.roles li { padding: 24px 0 26px; border-top: 1px solid var(--line); }

/* ============ ПОДХОД + ГАРАНТИИ ============ */
.approach__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start; }
.approach__main .lede { margin-top: 26px; }
.checks { margin-top: 40px; border-bottom: 1px solid var(--line); }
.checks li { position: relative; padding: 18px 0 18px 42px; border-top: 1px solid var(--line); font-weight: 500; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--sky); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 25px; width: 9px; height: 5px; border-left: 1.8px solid var(--ink); border-bottom: 1.8px solid var(--ink); transform: rotate(-45deg); }
.guarantees { padding: clamp(30px, 4vw, 52px); border-radius: var(--r); background: var(--sky); }
.guarantees__title { margin-bottom: 18px; font: 500 clamp(1.6rem, 2.4vw, 2rem)/1.1 var(--display); letter-spacing: -.035em; }
.guarantees__list li { padding: 20px 0; border-top: 1px solid rgba(52, 73, 69, .13); }
.guarantees__list strong { display: block; margin-bottom: 6px; font-weight: 600; font-size: 1.04rem; }
.guarantees__list span { display: block; font-size: .96rem; line-height: 1.55; color: #4A5853; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line); }
.stat { padding: 32px clamp(16px, 2.4vw, 36px) 0; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__num { display: block; font: 500 clamp(3.2rem, 6.4vw, 6.2rem)/.9 var(--display); letter-spacing: -.055em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.stat__label { display: block; max-width: 20ch; margin-top: 18px; font-size: .96rem; line-height: 1.45; color: var(--ink-2); }

/* ============ ИСТОРИИ ============ */
.stories { padding-top: 0; }
.story--feature { margin-top: clamp(48px, 6vw, 88px); }
.story--feature blockquote p { max-width: 30ch; font: 500 clamp(1.8rem, 3.6vw, 3.4rem)/1.14 var(--display); letter-spacing: -.038em; color: var(--ink); }
.story figcaption { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.story__ava { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--honey); font: 600 1.1rem/1 var(--display); color: var(--ink); }
.story figcaption strong { display: block; font-weight: 600; line-height: 1.2; }
.story figcaption small { display: block; font-size: .88rem; color: var(--ink-3); }
.stories__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.stories__pair .story { padding: clamp(28px, 3vw, 42px); border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-soft); }
.stories__pair blockquote p { font: 400 clamp(1.12rem, 1.5vw, 1.34rem)/1.45 var(--display); letter-spacing: -.015em; color: var(--ink); }
.stories__note { margin-top: 28px; font-size: .86rem; color: var(--ink-3); }

/* ============ БАННЕР «ПЕРВЫЙ ШАГ» ============ */
.band { padding-inline: var(--edge); }
.band__frame { position: relative; display: flex; align-items: flex-end; min-height: clamp(480px, 80vh, 780px); overflow: hidden; border-radius: var(--r); background: var(--ink-deep); color: #fff; isolation: isolate; }
.band__img { position: absolute; inset: -8% 0; z-index: -2; width: 100%; height: 116%; object-fit: cover; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 30, 28, .72) 0%, rgba(20, 30, 28, .34) 55%, rgba(20, 30, 28, .08) 100%), linear-gradient(180deg, rgba(20, 30, 28, 0) 40%, rgba(20, 30, 28, .45) 100%); }
.band__inner { max-width: 940px; padding: clamp(28px, 5vw, 76px); }
.band__title { margin-bottom: 36px; font: 500 clamp(2.2rem, 4.8vw, 4.6rem)/1.02 var(--display); letter-spacing: -.045em; color: #fff; }

/* ============ FAQ ============ */
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .lede { margin: 24px 0 32px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; list-style: none; cursor: pointer; font: 500 clamp(1.14rem, 1.7vw, 1.46rem)/1.3 var(--display); letter-spacing: -.02em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .35s, box-shadow .35s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); border-radius: 2px; translate: -50% -50%; transition: transform .4s var(--ease), background .35s; }
.qa summary i::before { width: 13px; height: 1.6px; }
.qa summary i::after { width: 1.6px; height: 13px; }
.qa summary:hover i { box-shadow: inset 0 0 0 1px var(--ink); }
.qa[open] summary i { background: var(--ink); box-shadow: none; }
.qa[open] summary i::before, .qa[open] summary i::after { background: var(--shell); }
.qa[open] summary i::after { transform: scaleY(0); }
.qa__body { overflow: hidden; transition: max-height .45s var(--ease); }
.qa__body p { max-width: 62ch; padding: 0 64px 28px 0; color: var(--ink-2); }

/* ============ КОНТАКТ ============ */
.contact { padding-inline: var(--edge); }
.contact__frame { position: relative; overflow: hidden; padding-block: var(--sec); border-radius: var(--r); background: var(--ink); color: var(--shell); isolation: isolate; }
.contact__frame::before { content: ""; position: absolute; left: -14%; bottom: -40%; z-index: -1; width: 64vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(196, 154, 63, .2), rgba(196, 154, 63, 0) 62%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px clamp(40px, 6vw, 110px); align-items: center; }
.contact__title { margin-bottom: 26px; font: 500 clamp(2.6rem, 6vw, 5.6rem)/.96 var(--display); letter-spacing: -.052em; color: #fff; }
.contact__phone { display: inline-flex; flex-direction: column; gap: 12px; margin: 44px 0 30px; }
.contact__phone strong { font: 500 clamp(2rem, 4vw, 3.3rem)/1 var(--display); letter-spacing: -.045em; color: #fff; transition: color .3s; }
.contact__phone small { display: inline-flex; align-items: center; gap: 12px; font-size: .95rem; color: rgba(247, 245, 241, .7); }
.contact__phone:hover strong { color: var(--honey); }
.contact__msg { display: flex; flex-wrap: wrap; gap: 10px; }

.form { position: relative; overflow: hidden; padding: clamp(26px, 3.4vw, 48px); border-radius: var(--r); background: var(--shell); color: var(--ink); }
.form__title { font: 500 clamp(1.7rem, 2.4vw, 2.1rem)/1.1 var(--display); letter-spacing: -.035em; }
.form__sub { margin: 8px 0 28px; color: var(--ink-2); }
.field { display: block; margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 8px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field__label small { font-weight: 400; font-size: inherit; color: var(--ink-3); }
.field input, .field textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); resize: vertical; transition: border-color .3s, box-shadow .3s, background .3s; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .85; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(52, 73, 69, .09); }
.field__error { display: none; margin-top: 7px; font-size: .85rem; color: #9A5A3C; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #9A5A3C; }
.field.is-invalid .field__error { display: block; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 24px; font-size: .87rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent.is-invalid { color: #9A5A3C; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__error { margin-top: 14px; text-align: center; font-size: .9rem; line-height: 1.45; color: #9A5A3C; }
.form__note { margin-top: 14px; text-align: center; font-size: .85rem; color: var(--ink-3); }
.form__success { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 40px; text-align: center; background: var(--shell); opacity: 0; transition: opacity .5s var(--ease); }
.form__success svg { margin-inline: auto; color: var(--ink); }
.form__sun { fill: var(--gold); }
.form__success h3 { font: 500 1.9rem/1.1 var(--display); letter-spacing: -.035em; }
.form__success p { max-width: 36ch; margin-inline: auto; color: var(--ink-2); }
.form__error[hidden], .form__success[hidden] { display: none; }

/* ============ ПОДВАЛ ============ */
.footer { padding-block: clamp(72px, 9vw, 128px) calc(28px + env(safe-area-inset-bottom)); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr); gap: 40px; }
.footer__tagline { max-width: 22ch; font: 500 clamp(1.4rem, 2.2vw, 1.9rem)/1.2 var(--display); letter-spacing: -.03em; }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__nav a { color: var(--ink-2); transition: color .3s; }
.footer__nav a:hover { color: var(--ink); }
.footer__phone { font: 500 clamp(1.5rem, 2.2vw, 1.9rem)/1.1 var(--display); letter-spacing: -.035em; }
.footer__contacts p { margin-top: 8px; font-size: .95rem; color: var(--ink-2); }
.footer__msg { display: flex; gap: 20px; }
.footer__msg a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color .3s; }
.footer__msg a:hover { text-decoration-color: var(--ink); }
.footer__word { margin: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 36px); font: 600 clamp(3.6rem, 15.4vw, 16rem)/.8 var(--display); letter-spacing: -.07em; text-align: center; white-space: nowrap; color: var(--ink); user-select: none; }
.footer__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-3); }
.footer__emergency { grid-column: 1 / -1; font-size: .95rem; font-weight: 600; color: var(--ink); }
.footer__emergency a, .footer__copy a { text-decoration: underline; text-underline-offset: 3px; }

/* ============ МОБИЛЬНАЯ ПАНЕЛЬ СВЯЗИ ============ */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: none; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(36, 51, 47, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(20, 30, 28, .25); transform: translateY(160%); transition: transform .55s var(--ease); }
.dock.is-visible { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.dock__call { background: var(--shell); color: var(--ink); }
.dock__write { color: var(--shell); }

/* ============ ПОЯВЛЕНИЕ ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(7% 6% 7% 6% round var(--r)); transition: clip-path 1.4s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0 round var(--r)); }

/* ============ АДАПТИВ ============ */
@media (max-width: 1140px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .nav.is-open { display: flex; position: fixed; top: 78px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 60px rgba(36, 51, 47, .16), inset 0 0 0 1px var(--line-soft); animation: fadeIn .3s var(--ease); }
  .nav.is-open a { padding: 16px 18px; border-radius: 14px; font-size: 1.1rem; color: var(--ink); }
  .nav.is-open .nav__phone { display: block; font-weight: 600; background: var(--sky); }
  .grid-list { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { padding-top: 40px; }
  .hero__assure { display: none; }
}

@media (max-width: 900px) {
  :root { --sec: clamp(80px, 16vw, 120px); }
  .hero__head, .sec-head, .statement__cols, .retreat__grid, .leader, .approach__grid, .faq__grid, .contact__grid, .footer__top { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.9rem, 12.4vw, 5.4rem); }
  .arch { aspect-ratio: 4 / 4.4; }
  .arch__img { object-position: 62% 60%; }
  .sec-head { align-items: start; }
  .row { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px 20px; }
  .row__text { grid-column: 1 / -1; grid-row: 2; }
  .row__go { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
  .row:hover .row__title { transform: none; }
  .retreat__media { max-width: 520px; aspect-ratio: 4 / 4.6; }
  .leader__photo { position: relative; top: 0; max-width: 400px; }
  .faq__head { position: static; }
  .qa__body p { padding-right: 0; }
  .tour__frame { min-height: clamp(560px, 86svh, 760px); }
  .tour__play { top: 34%; }
  /* на телефоне текст стоит выше — затемняем видео раньше, чтобы подписи читались на светлых кадрах */
  .tour__shade { background: linear-gradient(180deg, rgba(20, 30, 28, .38) 0%, rgba(20, 30, 28, .22) 28%, rgba(20, 30, 28, .72) 58%, rgba(20, 30, 28, .9) 100%); }

  .stages { flex-direction: column; gap: 8px; height: auto; }
  .stage { flex: none; border-radius: 18px; }
  .stage.is-open { flex-grow: 0; }
  .stage__head { position: relative; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 20px 22px; }
  .stage__name, .stage.is-open .stage__name { writing-mode: horizontal-tb; transform: none; font-size: 1.35rem; animation: none; }
  .stage__body { position: static; max-width: none; max-height: 0; overflow: hidden; padding: 0 22px; transform: none; transition: max-height .5s var(--ease), opacity .35s, padding .5s var(--ease); }
  .stage.is-open .stage__body { max-height: 360px; padding-bottom: 24px; transition-delay: 0s; }

  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer__bottom { grid-template-columns: 1fr; }
  .dock { display: grid; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header__actions .btn { display: none; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .hero__note { left: calc(var(--edge) + 14px); right: calc(var(--edge) + 14px); bottom: 14px; max-width: none; border-radius: 18px; font-size: .88rem; }
  .features, .grid-list, .roles, .stories__pair { grid-template-columns: 1fr; }
  .banner { aspect-ratio: 4 / 3.4; }
  .stat__num { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .tour__controls { width: 100%; }
  .tour__controls .ghost:first-child { flex: 1; }
  .footer__word { font-size: 15vw; }
}

/* ============ БЕЗ АНИМАЦИЙ ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .line__in, .hero-in, .hero__note, .hero__assure { opacity: 1 !important; transform: none !important; }
  .arch { clip-path: ellipse(100% 100% at 50% 100%) !important; }
  .arch__img { scale: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal-img { clip-path: none !important; }
  .statement__text .w { color: var(--ink) !important; }
}
