/* Главная «Дело Кожи» — «Ясность»: светлая студия, живая модель за сайтом, стекло поверх */
html { background: var(--ivory); }

/* ── сцена ─────────────────────────────────────────── */
/* ширина — по окну без полосы прокрутки: центр фигуры совпадает с центром вёрстки */
.stage { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; display: block; z-index: 0; }
.stage-veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: var(--ivory); opacity: 0; }
.stage-floor { display: none; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(to top, rgba(241, 234, 226, 0.95), rgba(241, 234, 226, 0.9) 40%, rgba(241, 234, 226, 0) 64%); }
main { position: relative; z-index: 2; }
/* прицел наезда: кольцо с точкой — центральная точка знака, «фокус на проблеме» */
.scope { position: fixed; left: 50%; top: 50%; z-index: 1; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 0 0 1px rgba(39, 93, 167, 0.18); }
.scope i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25); }
.scope::before, .scope::after { content: ''; position: absolute; background: rgba(255, 255, 255, 0.7); }
.scope::before { left: 50%; top: -14px; bottom: -14px; width: 1px; -webkit-mask: linear-gradient(#000 0 14px, transparent 14px calc(100% - 14px), #000 0); mask: linear-gradient(#000 0 14px, transparent 14px calc(100% - 14px), #000 0); }
.scope::after { top: 50%; left: -14px; right: -14px; height: 1px; -webkit-mask: linear-gradient(90deg, #000 0 14px, transparent 14px calc(100% - 14px), #000 0); mask: linear-gradient(90deg, #000 0 14px, transparent 14px calc(100% - 14px), #000 0); }

/* ── прелоадер ─────────────────────────────────────── */
.pre { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--ivory); pointer-events: none; }
.pre-ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.pre-ring circle { fill: none; stroke: var(--blue); stroke-width: 0.8; stroke-dasharray: 327; stroke-dashoffset: 327; }
.pre-n { position: absolute; font-size: 12px; letter-spacing: 0.12em; color: var(--ink2); font-variant-numeric: tabular-nums; }
.shot .pre { display: none; }

/* ── меню главной: стеклянная панель внизу, едет вместе с прокруткой ── */
.dock { position: fixed; z-index: 30; left: 50%; bottom: 18px; display: flex; align-items: center; gap: 2px; padding: 5px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  transition: opacity .6s var(--ease), transform .7s var(--ease); }
.dock.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.dock a { position: relative; z-index: 1; padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; transition: color .4s var(--ease); }
.dock a:hover { color: var(--ink); }
.dock a.cur { color: #fff; }
.dock-hl { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--blue); box-shadow: 0 8px 20px -10px rgba(39, 93, 167, 0.9);
  transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s; opacity: 0; }
.dock-bar { position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; border-radius: 2px; overflow: hidden; background: transparent; }
.dock-bar i { position: absolute; inset: 0; background: var(--terra); transform-origin: left; transform: scaleX(0); }

/* ── кнопка-переход внутри разделов: текст + стрелка в круге ── */
.more { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; height: 50px; padding: 0 7px 0 22px; border-radius: 999px; font-size: 16px; font-weight: 500; color: var(--blue); white-space: nowrap;
  background: rgba(255, 255, 255, 0.62); box-shadow: inset 0 0 0 1.5px rgba(39, 93, 167, 0.22); transition: background-color .35s, box-shadow .35s; }
.more::after { content: ''; flex: none; width: 36px; height: 36px; border-radius: 50%; transition: transform .5s var(--ease);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5'/%3E%3C/svg%3E") center / 15px 11px no-repeat; }
.more:hover { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(39, 93, 167, 0.5); }
.more:hover::after { transform: translateX(3px); }

/* ── 1 · герой: портрет по грудь справа (кадр «рука на шее»), текст первого экрана kosmetakazan.ru слева ── */
.s-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: clip; }
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: inline-block; white-space: nowrap; }
/* колонка текста: от поля шапки до плеча девушки (--col-w ставит home.js), по центру между шапкой и низом экрана;
   заголовок, пункты и кнопка стоят по оси колонки (строки внутри блоков — от левого края) */
.th-copy { position: absolute; z-index: 2; left: var(--pad); top: var(--hdr); bottom: 0; margin: auto 0; height: fit-content; width: var(--col-w, 46vw);
  display: flex; flex-direction: column; align-items: center; }
/* кегль — от ширины колонки: самая длинная строка («Чистая и здоровая кожа») ≈ 11,4 кегля */
.th-title { font-weight: 500; font-size: clamp(36px, min(calc(var(--col-w, 46vw) / 11.4), 8vh), 96px); line-height: 0.95; letter-spacing: -0.045em; }
.th-list { margin-top: clamp(22px, 4vh, 40px); display: grid; gap: 12px; }
.th-list li { position: relative; padding-left: 32px; font-size: clamp(16px, 1.9vh, 18px); line-height: 1.5; color: var(--ink2); }
.th-list li::before { content: ''; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; background: var(--blue);
  -webkit-mask: url(../brand/mark.svg) center / contain no-repeat; mask: url(../brand/mark.svg) center / contain no-repeat; }
.th-go { margin-top: clamp(26px, 4.6vh, 44px); height: 62px; padding: 0 38px; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── общие липкие сцены ────────────────────────────── */
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.panel { padding: clamp(28px, 2.6vw, 44px); }

/* ── 2 · подход ────────────────────────────────────── */
.s-manifest { height: 220vh; }
/* по центру по вертикали без transform: его перезаписывает анимация входа */
.manifest { position: absolute; left: var(--pad); top: 0; bottom: 0; height: fit-content; margin: auto 0; width: min(680px, 45vw); }
.manifest-text { font-weight: 400; font-size: clamp(26px, 2.2vw, 40px); line-height: 1.18; letter-spacing: -0.025em; }
.manifest-text .w { display: inline-block; filter: blur(10px); opacity: 0.12; will-change: filter, opacity; }
/* три тезиса: значок, главное слово, пояснение — без рамок, через тонкие разделители */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.points li { display: flex; flex-direction: column; gap: 6px; padding: 0 22px; }
.points li:first-child { padding-left: 0; }
.points li + li { border-left: 1px solid var(--line); }
.points svg { width: 38px; height: 38px; margin-bottom: 10px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.points svg .f { fill: var(--terra); stroke: none; }
.points b { font-size: clamp(17px, 1.3vw, 20px); font-weight: 600; line-height: 1.25; color: var(--ink); }
.points span { font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.4; color: var(--ink2); }

/* ── 3 · комплекс ──────────────────────────────────── */
.s-complex { height: 230vh; }
/* низ сцены свободен под меню разделов */
.s-complex .sticky { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3.2vh; padding: calc(var(--hdr) + 1vh) var(--pad) 104px; }
.complex-head { width: min(700px, 50vw); }
.complex-head .lead { margin-top: 14px; }
/* карточки — плоские ссылки: без 3D-наклона под курсором, чтобы нажатие было точным */
.cards { width: min(700px, 50vw); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card[data-card="1"], .card[data-card="3"] { margin-top: 14px; margin-bottom: -14px; }
.card-in { height: 100%; padding: clamp(18px, 2.4vh, 24px) 22px clamp(14px, 1.8vh, 18px); display: flex; flex-direction: column; gap: 8px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s; }
.card-in:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -28px rgba(22, 41, 74, 0.45), 0 0 0 1.5px rgba(39, 93, 167, 0.35); }
.card h3 { font-weight: 500; font-size: clamp(21px, 2.7vh, 26px); letter-spacing: -0.015em; color: var(--blue); }
.card p { font-size: clamp(15px, 1.75vh, 16.5px); line-height: 1.5; color: var(--ink2); }
/* переход из карточки: подпись слева, стрелка в синем круге справа; нажимается вся карточка */
.card-go { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 500; color: var(--blue); }
.card-go i { flex: none; width: 38px; height: 38px; border-radius: 50%; transition: transform .45s var(--ease), background-color .3s;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5'/%3E%3C/svg%3E") center / 15px 11px no-repeat; }
.card-in:hover .card-go i { transform: translateX(3px); background-color: var(--terra); }
/* услуги — явные кнопки-ссылки со стрелкой, отдельной строкой ниже текста */
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.svc-links a { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 15px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--blue);
  background: #fff; box-shadow: 0 6px 18px -10px rgba(22, 41, 74, 0.35), inset 0 0 0 1px rgba(39, 93, 167, 0.18); transition: background-color .3s, color .3s, box-shadow .3s; }
.svc-links a::after { content: ''; width: 13px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .4s var(--ease); }
.svc-links a:hover { background: var(--blue); color: #fff; }
.svc-links a:hover::after { transform: translateX(3px); }

/* ── 4 · план лечения: этапы сменяются при прокрутке ── */
.s-journey { height: 330vh; }
.journey { position: absolute; left: var(--pad); top: 0; bottom: 0; height: fit-content; margin: auto 0; width: min(560px, 42vw); padding: clamp(26px, 2.4vw, 40px); }
.jr-ten { display: flex; align-items: center; gap: 18px; }
.jr-ten b { font-size: clamp(76px, 7vw, 116px); font-weight: 500; line-height: 0.8; letter-spacing: -0.07em; color: var(--blue); }
.jr-ten span { font-size: 14.5px; line-height: 1.45; color: var(--ink2); max-width: 15em; }
.jr-bar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 28px 0 22px; }
.jr-bar button { position: relative; height: 22px; display: flex; align-items: center; }
.jr-bar button::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(22, 41, 74, 0.1); }
.jr-bar i { position: relative; display: block; height: 4px; width: 100%; border-radius: 4px; background: var(--blue); transform-origin: left; transform: scaleX(var(--f, 0)); }
.jr-bar button:hover::before { background: rgba(39, 93, 167, 0.25); }
.jr-stack { position: relative; height: 168px; }
.jr-card { position: absolute; inset: 0; will-change: transform, opacity, filter; }
.jr-n { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; }
.jr-card h3 { font-size: clamp(26px, 2.2vw, 36px); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 12px; }
.jr-card p:last-child { font-size: 15.5px; line-height: 1.55; color: var(--ink2); max-width: 30em; }
.journey .more { margin-top: 18px; }

/* ── 5 · диагностика: под увеличением ──────────────── */
.s-closer { height: 260vh; }
.closer { position: absolute; left: var(--pad); bottom: 13vh; width: min(540px, 40vw); }
.closer .lead { margin-top: 16px; }
/* показание увеличения — рядом с прицелом, как на экране дерматоскопа */
.zoom { position: fixed; z-index: 1; left: calc(50% + 116px); top: calc(50% - 30px); display: flex; flex-direction: column; gap: 4px; padding: 10px 16px 12px; border-radius: 16px; pointer-events: none; opacity: 0;
  color: #fff; background: rgba(16, 34, 64, 0.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.zoom-n { font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.zoom-l { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }

/* ── 6 · результаты: компактно, всё на одном экране ── */
.s-results { position: relative; padding: 18vh var(--pad) 22vh; }
.results-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4vw; align-items: center; max-width: 1360px; margin: 0 auto; }
.glass-frame { width: 100%; max-height: 68vh; border: 8px solid rgba(255, 255, 255, 0.7); border-radius: 30px; box-shadow: var(--shadow); }
.results-grid > .ba { justify-self: center; width: min(100%, calc(68vh * 1000 / 1100)); }
.results-copy { display: flex; flex-direction: column; align-items: flex-start; }
.results-copy .lead { margin-top: 14px; }
.mini-cases { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.mini-cases .ba { border-radius: 18px; border: 5px solid rgba(255, 255, 255, 0.7); box-shadow: 0 24px 50px -30px rgba(22, 41, 74, 0.5); }
.mini-cases .ba-tag { top: 10px; padding: 6px 9px; font-size: 10px; }
.mini-cases .ba-l { left: 10px; } .mini-cases .ba-r { right: 10px; }
.mini-cases .ba-knob { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.mini-cases .ba-knob::before { left: 8px; } .mini-cases .ba-knob::after { right: 8px; }
.results-act { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.results-act .fine { max-width: 30em; }

/* приглашение к тесту: синяя карточка, первый вопрос — сразу кнопками */
.qt { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4vw; align-items: center; max-width: 1360px; margin: 14vh auto 0;
  padding: clamp(30px, 3.6vw, 56px); border-radius: 32px; color: #fff; background: var(--blue); box-shadow: 0 40px 90px -40px rgba(39, 93, 167, 0.7); }
.qt::before { content: ''; position: absolute; left: -8%; bottom: -40%; width: 46%; aspect-ratio: 1; opacity: 0.09; background: #fff; pointer-events: none;
  -webkit-mask: url(../brand/mark.svg) center / contain no-repeat; mask: url(../brand/mark.svg) center / contain no-repeat; }
.qt > * { position: relative; }
.qt .label { color: rgba(255, 255, 255, 0.85); }
.qt-title { font-size: clamp(30px, 2.8vw, 48px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.qt-lead { margin-top: 14px; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; color: rgba(255, 255, 255, 0.85); max-width: 26em; }
.qt-q { padding: 28px; border-radius: 24px; color: var(--ink); background: #fff; box-shadow: 0 30px 60px -30px rgba(10, 30, 70, 0.6); }
.qt-n { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); }
.qt-text { margin: 10px 0 18px; font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; letter-spacing: -0.02em; }
.qt-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qt-opts a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 10px 12px; border-radius: 16px; font-size: 16px; font-weight: 500;
  border: 1.5px solid rgba(22, 41, 74, 0.12); transition: border-color .3s, color .3s, background-color .3s, transform .3s var(--ease); }
.qt-opts a:hover { border-color: var(--blue); color: var(--blue); background: rgba(39, 93, 167, 0.05); transform: translateY(-2px); }
.qt-bar { display: block; height: 3px; margin-top: 20px; border-radius: 3px; background: rgba(22, 41, 74, 0.08); overflow: hidden; }
.qt-bar i { display: block; width: 25%; height: 100%; background: var(--blue); }

/* ── 7 · команда ───────────────────────────────────── */
.s-doctors { height: 240vh; }
.s-doctors .sticky { display: flex; flex-direction: column; justify-content: center; gap: 4vh; padding: calc(var(--hdr) + 2vh) 0 11vh; }
.doctors-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 0 var(--pad); }
.doctors-head .h2 { max-width: 14em; }
.doctors-head .more { margin: 0 0 6px; flex: none; }
.doc-track { display: flex; gap: 20px; padding: 0 var(--pad); width: max-content; will-change: transform; perspective: 1400px; }
.doc { width: clamp(220px, 16.5vw, 270px); padding: 8px 8px 18px; flex: none; transform-style: preserve-3d; }
.doc img { width: 100%; height: auto; aspect-ratio: 3 / 3.5; object-fit: cover; object-position: 50% 12%; border-radius: 20px; }
.doc-t { padding: 14px 10px 0; }
.doc h3 { font-weight: 500; font-size: 21px; line-height: 1.08; letter-spacing: -0.02em; }
.doc h3 span { font-size: 13.5px; font-weight: 400; color: var(--ink2); letter-spacing: 0; }
.doc-t > p { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-top: 9px; }
.edu { margin-top: 10px; font-size: 13px; color: var(--ink2); border-bottom: 1px solid rgba(22, 41, 74, 0.25); padding-bottom: 2px; }
.edu-t { font-size: 13px; line-height: 1.5; color: var(--ink2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.doc.open .edu-t { max-height: 8em; opacity: 1; margin-top: 10px; }
.doc-all { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: 26px; color: #fff; background: var(--blue); border-color: rgba(255, 255, 255, 0.3); }
.doc-all-t { font-size: 28px; font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.doc-all .cta-ar { width: 40px; }

/* ── 8 · финал ─────────────────────────────────────── */
.s-final { height: 180vh; }
.book { position: absolute; left: var(--pad); top: calc(var(--hdr) + 2vh); width: min(600px, 45vw); max-height: calc(100vh - var(--hdr) - 4vh - 66px); overflow: auto; scrollbar-width: none; }
.book-title { font-weight: 500; font-size: clamp(34px, 3.2vw, 54px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 14px; }
.book .lead { margin-bottom: 22px; }
.book-done { font-size: clamp(32px, 3vw, 48px); }
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 18px; margin: 24px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; }
.contacts span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.final-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; font-size: 14px; }
.final-links a { color: var(--blue); }
.final-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 52em; }
.again { position: absolute; right: var(--pad); bottom: 34px; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); padding: 12px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.again i { width: 10px; height: 10px; border-left: 1.5px solid; border-top: 1.5px solid; transform: rotate(45deg) translate(2px, 2px); }
.home .ftr { margin-top: 0; }

/* невысокие экраны ноутбуков: форма записи помещается целиком */
@media (min-width: 761px) and (max-height: 880px) {
  .book.panel { padding: 24px 30px 20px; }
  .book-title { font-size: clamp(32px, 3vw, 46px); margin-bottom: 10px; }
  .book .lead { font-size: 15px; margin-bottom: 14px; }
  .fld input { height: 44px; }
  .agree { margin: 10px 0 2px; }
  .contacts { margin: 14px 0 10px; padding-top: 12px; }
  .jr-ten b { font-size: 76px; }
  .jr-bar { margin: 20px 0 16px; }
  /* комплекс на невысоком экране: заголовок, ссылки и 4 карточки помещаются целиком */
  .s-complex .sticky { gap: 2.2vh; padding-bottom: 92px; }
  .s-complex .h2 { font-size: clamp(28px, 4.6vh, 40px); }
  .complex-head .lead { display: none; }
  .svc-links { margin-top: 12px; }
  .svc-links a { height: 34px; font-size: 14px; padding: 0 12px 0 14px; }
  .card p { font-size: 14px; }
  .manifest-text { font-size: clamp(24px, 3.6vh, 34px); }
}

/* ── появление ─────────────────────────────────────── */
.js .reveal-up { opacity: 0; transform: translateY(18px); }
.shot .reveal-up { opacity: 1; transform: none; }

/* ── адаптив ───────────────────────────────────────── */
@media (max-width: 1100px) and (min-width: 761px) {
  .dock a { padding: 9px 11px; font-size: 13px; }
  .results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dock { display: none; }
  .s-hero { height: 100svh; }
  /* первый экран: девушка вверху, текст внизу на светлой подложке */
  .th-copy { top: auto; bottom: 4svh; right: var(--pad); width: auto; margin: 0; align-items: flex-start; }
  /* строки заголовка текут свободно и выравниваются по длине — без одиноких слов */
  .th-title { font-size: clamp(30px, 8.6vw, 40px); line-height: 0.97; text-wrap: balance; }
  .th-title .ln, .th-title .ln > span { display: inline; white-space: normal; }
  .th-list { margin-top: 16px; gap: 8px; }
  .th-list li { font-size: 14px; padding-left: 26px; }
  .th-list li::before { width: 15px; height: 15px; }
  /* длинная надпись капсом: кнопка во всю ширину, при нехватке места — в две строки */
  .th-go { margin-top: 20px; width: 100%; height: auto; min-height: 56px; padding: 14px 22px; font-size: 13px; letter-spacing: 0.05em; white-space: normal; text-align: center; line-height: 1.3; }
  .qt { grid-template-columns: 1fr; margin-top: 10vh; border-radius: 24px; padding: 24px 20px; gap: 22px; }
  .qt-q { padding: 20px; }
  .qt-opts { grid-template-columns: 1fr; }
  .qt-opts a { min-height: 48px; }
  .more { height: 44px; font-size: 15px; padding-left: 18px; }
  .more::after { width: 32px; height: 32px; }
  .s-hero::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64svh; background: linear-gradient(to top, rgba(241, 234, 226, 0.95) 35%, rgba(241, 234, 226, 0)); pointer-events: none; opacity: var(--hv, 1); }
  .stage-floor { display: block; }
  .scope { width: 120px; height: 120px; margin: -60px 0 0 -60px; top: 40%; }
  .manifest { left: var(--pad); right: var(--pad); top: auto; bottom: 4svh; width: auto; transform: none; padding: 22px; }
  .manifest-text { font-size: 22px; }
  .points { margin-top: 18px; padding-top: 16px; }
  .points li { padding: 0 8px; }
  .points svg { width: 24px; height: 24px; margin-bottom: 6px; }
  .points b { font-size: 12.5px; }
  .points span { display: none; }
  .manifest .more { margin-top: 14px; }
  .s-complex { height: 260vh; }
  .s-complex .sticky { justify-content: flex-end; gap: 16px; padding: 0 var(--pad) 5svh; }
  .complex-head { width: auto; }
  .complex-head .h2 { font-size: 30px; }
  .complex-head .lead { display: none; }
  .cards { width: 100%; display: block; position: relative; height: 200px; perspective: none; }
  .card { position: absolute; inset: 0; transform-origin: 50% 100%; }
  .card[data-card="1"], .card[data-card="3"] { margin: 0; }
  .card-in { padding: 20px; }
  .svc-links { margin-top: 6px; gap: 6px; }
  .svc-links a { height: 32px; font-size: 13px; padding: 0 10px 0 12px; gap: 6px; }
  .s-journey { height: 300vh; }
  .journey { left: var(--pad); right: var(--pad); top: auto; bottom: 3svh; width: auto; transform: none; padding: 20px; }
  .jr-ten b { font-size: 64px; }
  .jr-ten span { font-size: 13px; }
  .jr-bar { margin: 16px 0 14px; }
  .jr-stack { height: 150px; }
  .jr-card h3 { font-size: 24px; }
  .jr-card p:last-child { font-size: 14px; }
  .closer { left: var(--pad); right: var(--pad); bottom: 4svh; width: auto; padding: 22px; }
  .closer .h2 { font-size: 28px; }
  .closer .lead { font-size: 14px; margin-top: 10px; }
  .closer .more { margin-top: 14px; }
  .zoom { left: auto; right: var(--pad); top: calc(40% - 30px); padding: 8px 12px 10px; }
  .zoom-n { font-size: 26px; }
  .s-results { padding: 12vh var(--pad) 20vh; }
  .results-grid { grid-template-columns: 1fr; gap: 26px; }
  .results-grid > .ba { width: 100%; }
  .glass-frame { max-height: none; border-width: 6px; }
  .results-act { flex-direction: column; align-items: flex-start; gap: 14px; }
  .mini-cases { gap: 8px; }
  .mini-cases .ba-tag { display: none; }
  .s-doctors .sticky { padding: calc(var(--hdr) + 2vh) 0 6svh; gap: 3vh; }
  .doctors-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .doctors-head .h2 { font-size: 30px; }
  .doc { width: 62vw; }
  .s-final { height: auto; padding: 56svh var(--pad) 22px; }
  .s-final .sticky { position: relative; height: auto; overflow: visible; }
  .book { position: relative; left: auto; top: auto; width: auto; max-height: none; overflow: visible; padding: 22px; }
  .book-title { font-size: 34px; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .again { position: relative; right: auto; bottom: auto; display: flex; width: max-content; margin: 18px auto 0; padding: 12px 18px; }
}
.calm .manifest-text .w { filter: none; opacity: 1; }
