/* ==========================================================================
   Студия массажа Светланы Бородиной — массажисвета.рф
   Палитра из логотипа: глубокий чёрный + оранжевый → янтарь → золото
   Шрифты: локальные файлы (assets/fonts) — без обращения к внешним CDN (152-ФЗ)
   ========================================================================== */


/* Шрифты (SIL OFL 1.1), хранятся локально — без Google Fonts */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-cyrillic-500-italic.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); 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: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); 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: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); 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: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); 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: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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 {
  --bg: #0b0907;
  --bg-2: #120e0a;
  --bg-3: #1a140e;
  --surface: rgba(255, 236, 210, .035);
  --surface-2: rgba(255, 236, 210, .06);
  --line: rgba(247, 180, 90, .16);
  --line-2: rgba(247, 180, 90, .32);
  --text: #f5ede2;
  --muted: #b8a895;
  --orange: #ff6416;
  --amber: #ff9a2e;
  --gold: #f7c873;
  --grad: linear-gradient(115deg, #ff5a12 0%, #ff8a24 38%, #ffb347 68%, #f7d08a 100%);
  --grad-soft: linear-gradient(115deg, rgba(255, 90, 18, .18), rgba(247, 200, 115, .08));
  --serif: "Cormorant Garamond", "Cormorant", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line) inset;
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--orange); color: #120a04; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--gold); color: #120a04; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.tiny { font-size: 12px; line-height: 1.5; }
.gold { color: var(--gold); }
.todo { color: #ff8a8a; border-bottom: 1px dashed currentColor; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--grad); }
.h2, .hero__title {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  letter-spacing: -.01em; line-height: 1.04;
}
.h2 { font-size: clamp(38px, 5.6vw, 72px); }
.h2 em, .hero__title em {
  font-style: italic;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.link { color: var(--gold); border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.link:hover { color: var(--amber); border-color: var(--amber); }

/* split-text: буквы поднимаются */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
[data-split].in .w > span { transform: none; }
[data-split] em { background: none; color: inherit; }
[data-split] em .w > span { padding-right: .06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Кнопки ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: .02em;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease), box-shadow .3s, background .3s, color .3s;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--grad); color: #1a0d03; box-shadow: 0 12px 40px -12px rgba(255, 110, 20, .7); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 120% 0; transition: background-position .9s var(--ease);
  mix-blend-mode: overlay;
}
.btn--gold:hover { box-shadow: 0 18px 50px -12px rgba(255, 130, 30, .9); }
.btn--gold:hover::after { background-position: -40% 0; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { min-height: 64px; padding: 0 38px; font-size: 16px; }
.btn--block { width: 100%; }

.round {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(20, 14, 9, .6); backdrop-filter: blur(8px);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.round svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { border-color: var(--gold); background: rgba(255, 150, 40, .12); transform: scale(1.06); }
.round:disabled { opacity: .35; pointer-events: none; }

/* ---------- Прелоадер ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, #1a1008, var(--bg) 60%);
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader__hand { width: 120px; filter: drop-shadow(0 0 18px rgba(255, 110, 20, .6)); }
.preloader__hand { animation: handIn 1.4s var(--ease) both, handGlow 2.4s ease-in-out .6s infinite; }
@keyframes handIn { from { opacity: 0; transform: scale(.82); filter: blur(10px); } }
@keyframes handGlow { 50% { filter: drop-shadow(0 0 30px rgba(255, 110, 20, .9)); } }
.preloader.done { opacity: 0; visibility: hidden; }

/* ---------- Прогресс и курсор ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(255, 140, 40, .8); }
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 120, 30, .09), transparent 65%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
  transition: opacity .4s; opacity: 0;
}
.has-pointer .cursor-glow { opacity: 1; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(16px, calc((100% - 1240px) / 2));
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(11, 9, 7, .72); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.header.hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 30px; height: 39px; filter: drop-shadow(0 0 10px rgba(255, 110, 20, .45)); }
.brand__text { font: 500 22px/1 var(--serif); letter-spacing: .01em; }
.brand__text small { display: block; margin-top: 4px; font: 600 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { position: relative; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; padding: 8px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover, .nav a.active { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 48px; height: 48px; position: relative; border-radius: 50%; border: 1px solid var(--line-2); }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--gold); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  background:
    radial-gradient(60% 50% at 78% 40%, rgba(255, 100, 20, .16), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(247, 180, 90, .08), transparent 70%),
    var(--bg);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.45) 35%, #000 62%); mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.45) 35%, #000 62%); }
@media (max-width: 900px) { .hero__canvas { -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.5) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.5) 100%); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero__inner {
  position: relative; z-index: 2;
  width: min(1200px, 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
}
.hero__title { font-size: clamp(50px, 8.4vw, 116px); line-height: .98; margin-bottom: 28px; }
.hero__lead { max-width: 560px; margin: 0 0 36px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 0; padding: 0; list-style: none; }
.hero__stats li { display: flex; flex-direction: column; gap: 6px; }
.hero__stats b { font: 500 44px/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { font-size: 13px; color: var(--muted); max-width: 140px; line-height: 1.35; }

.hero__emblem { perspective: 1000px; display: grid; place-items: center; }
.emblem {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: min(440px, 80vw); aspect-ratio: 1;
  display: grid; place-items: center;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease);
}
.emblem__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-2); transform-style: preserve-3d; }
.emblem__ring.r1 { transform: translateZ(-60px) scale(1.02); animation: spin 40s linear infinite; border-style: dashed; border-color: rgba(247, 200, 115, .25); }
.emblem__ring.r2 { inset: 12%; transform: translateZ(20px); border-color: rgba(255, 120, 30, .35); box-shadow: 0 0 60px -10px rgba(255, 110, 20, .35) inset; }
.emblem__ring.r3 { inset: 26%; transform: translateZ(50px); border: 0; background: radial-gradient(circle, rgba(255, 120, 30, .22), transparent 70%); }
.emblem__halo { position: absolute; inset: 18%; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(255, 140, 40, .55), transparent 30%, transparent 60%, rgba(247, 200, 115, .5), transparent 90%); filter: blur(26px); animation: spin 14s linear infinite; transform: translateZ(10px); }
.emblem__hand { position: relative; width: 44%; transform: translateZ(90px); filter: drop-shadow(0 0 24px rgba(255, 110, 20, .65)) drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); animation: float 6s ease-in-out infinite; }
.emblem__chip {
  position: absolute; padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  background: rgba(20, 14, 9, .7); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
}
.emblem__chip::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--amber); vertical-align: 1px; }
.emblem__chip.c1 { top: 12%; left: -4%; transform: translateZ(120px); animation: float 7s ease-in-out infinite -1s; }
.emblem__chip.c2 { top: 46%; right: -8%; transform: translateZ(140px); animation: float 8s ease-in-out infinite -3s; }
.emblem__chip.c3 { bottom: 10%; left: 6%; transform: translateZ(100px); animation: float 6.5s ease-in-out infinite -2s; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes float { 50% { translate: 0 -12px; } }

.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 28px; width: 28px; height: 46px; margin-left: -14px; border: 1px solid var(--line-2); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Бегущая строка ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--bg-2); transform: rotate(-1.2deg) scale(1.02); }
.marquee__track { display: flex; align-items: center; gap: 34px; padding-right: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: italic 500 clamp(24px, 3vw, 38px)/1 var(--serif); color: var(--text); white-space: nowrap; }
.marquee i { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px var(--orange); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.section__head { margin-bottom: clamp(40px, 6vw, 70px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section__note { max-width: 380px; margin: 18px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Обо мне ---------- */
.manifest {
  max-width: 1000px; margin: 0 0 clamp(60px, 8vw, 100px);
  font: 500 clamp(26px, 3.4vw, 44px)/1.3 var(--serif);
}
.manifest .mw { color: rgba(245, 237, 226, .16); transition: color .4s; }
.manifest .mw.lit { color: var(--text); }
.manifest .mw.lit.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; overflow: hidden;
  padding: 34px 30px 32px; border-radius: var(--radius);
  background: radial-gradient(400px circle at var(--gx) var(--gy), rgba(255, 140, 40, .12), transparent 45%), var(--surface);
  box-shadow: var(--shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), opacity .9s var(--ease), box-shadow .3s;
}
.card.reveal { transform: translateY(34px); }
.card.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.card:hover { box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--line-2) inset; }
.card__num { display: block; margin-bottom: 26px; font: italic 500 46px/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateZ(40px); }
.card h3 { margin: 0 0 12px; font: 600 20px/1.3 var(--sans); transform: translateZ(30px); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; transform: translateZ(20px); }

/* ---------- Услуги: 3D-карусель ---------- */
.services { background: linear-gradient(var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .25s, border-color .25s, background .25s;
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip[aria-selected="true"] { color: #1a0d03; background: var(--grad); border-color: transparent; }

.carousel { perspective: 1600px; }
.carousel__track {
  display: flex; gap: 26px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 40px max(16px, calc((100% - 440px) / 2)) 60px;
  transform-style: preserve-3d;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.dragging .svc { user-select: none; }
.svc {
  --rot: 0deg; --z: 0px; --o: 1;
  flex: 0 0 min(440px, 84vw);
  scroll-snap-align: center;
  display: flex; flex-direction: column;
  padding: 34px 30px 26px; border-radius: 28px;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(255, 110, 20, .16), transparent 60%),
    linear-gradient(180deg, rgba(255, 236, 210, .05), rgba(255, 236, 210, .015));
  box-shadow: var(--shadow);
  transform: rotateY(var(--rot)) translateZ(var(--z));
  opacity: var(--o);
  transition: transform .25s linear, opacity .25s linear, box-shadow .4s;
  will-change: transform;
}
.svc.is-active { box-shadow: 0 40px 100px -30px rgba(255, 100, 20, .35), 0 0 0 1px var(--line-2) inset; }
.svc--accent { background: radial-gradient(120% 70% at 0% 0%, rgba(247, 200, 115, .2), transparent 60%), linear-gradient(180deg, rgba(255, 236, 210, .06), rgba(255, 236, 210, .02)); }
.svc__head { margin-bottom: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.svc__kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.svc h3 { margin: 10px 0 0; font: 500 clamp(30px, 3vw, 38px)/1.05 var(--serif); }
.svc__text { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.svc__list { margin: 0; padding: 0; list-style: none; }
.svc__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
}
.svc__list li:last-child { border-bottom: 0; }
.svc__list span { font-size: 15.5px; line-height: 1.35; }
.svc__list small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.book {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--gold);
  border: 1px solid var(--line-2);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.book::after { content: "→"; transition: transform .25s var(--ease); }
.book:hover { background: var(--grad); color: #1a0d03; border-color: transparent; }
.book:hover::after { transform: translateX(3px); }
.carousel__ui { display: flex; align-items: center; gap: 18px; }
.carousel__bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.carousel__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(.1); transition: transform .2s; }

/* ---------- Цены ---------- */
.seg {
  position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px;
  padding: 6px; margin-bottom: 40px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.seg button { position: relative; z-index: 1; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .3s; }
.seg button[aria-checked="true"] { color: #1a0d03; }
.seg__pill { position: absolute; z-index: 0; top: 6px; left: 0; height: 46px; border-radius: 999px; background: var(--grad); box-shadow: 0 8px 26px -8px rgba(255, 110, 20, .7); transition: transform .5s var(--ease), width .5s var(--ease); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; margin-bottom: 30px; }
.plan {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 34px 30px 30px; border-radius: var(--radius);
  background: radial-gradient(400px circle at var(--gx) var(--gy), rgba(255, 140, 40, .1), transparent 45%), var(--surface);
  box-shadow: var(--shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), opacity .4s, filter .4s;
}
.plan.reveal { transform: translateY(34px); }
.plan.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.plan--hot { background: radial-gradient(400px circle at var(--gx) var(--gy), rgba(255, 140, 40, .16), transparent 45%), linear-gradient(160deg, rgba(255, 100, 20, .12), rgba(255, 236, 210, .03)); }
.plan--top { box-shadow: 0 30px 80px -30px rgba(255, 100, 20, .35), 0 0 0 1px var(--line-2) inset; }
.plan.off { opacity: .25; filter: grayscale(1); pointer-events: none; }
.plan__badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #1a0d03; font-size: 13px; font-weight: 700; }
.plan__name { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.plan__price { margin: 14px 0 0; font: 500 64px/1 var(--serif); }
.plan__price small { font: 500 16px var(--sans); color: var(--muted); }
.plan__sub { margin: 4px 0 26px; color: var(--muted); font-size: 15px; }
.plan__sub b { color: var(--text); font-weight: 600; }
.plan .btn { margin-top: auto; }
.plans__empty { grid-column: 2 / -1; align-self: center; margin: 0; color: var(--muted); text-align: center; }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 60px; }
.term { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--grad-soft); }
.term svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.term p { margin: 0; font-size: 15px; color: var(--muted); }
.term b { color: var(--text); font-weight: 600; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.extra { padding: 30px 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.extra h3 { margin: 0 0 16px; font: 500 30px/1.1 var(--serif); }
.extra dl { margin: 0; }
.extra dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.extra dl div:last-child { border-bottom: 0; }
.extra dt { font-size: 15px; }
.extra dt small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.extra dd { margin: 0; flex: none; font-weight: 700; color: var(--gold); white-space: nowrap; }
.disclaimer { max-width: 900px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---------- Шаги ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 10px var(--orange); }
.step { position: relative; padding-top: 50px; }
.step__dot { position: absolute; top: 0; left: 0; width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); }
.step__dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px var(--orange); }
.step h3 { margin: 0 0 10px; font: 500 28px/1.1 var(--serif); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Сертификаты ---------- */
.certs { background: linear-gradient(var(--bg), var(--bg-2)); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1400px; }
.cert {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: flex; flex-direction: column; text-align: left;
  padding: 12px 12px 22px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), opacity .9s var(--ease), box-shadow .3s;
}
.cert.reveal { transform: translateY(34px); }
.cert.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.cert:hover { box-shadow: 0 30px 80px -30px rgba(255, 100, 20, .3), 0 0 0 1px var(--line-2) inset; }
.cert--wide { grid-column: span 2; }
.cert img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-bottom: 18px; filter: saturate(.85) brightness(.92); transition: filter .4s, transform .6s var(--ease); }
.cert--wide img { aspect-ratio: 16 / 7.4; }
.cert:hover img { filter: none; transform: scale(1.02); }
.cert__year { padding: 0 10px; font: italic 500 30px/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cert__title { padding: 0 10px; margin-top: 8px; font-weight: 600; font-size: 16px; line-height: 1.3; }
.cert__meta { padding: 0 10px; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .3s, background .3s; }
.faq details[open] { background: var(--surface-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.faq summary { position: relative; padding: 22px 64px 22px 26px; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* ---------- CTA и контакты ---------- */
.cta {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 60px);
  border-radius: 36px; margin-bottom: 40px;
  background:
    radial-gradient(600px circle at var(--gx) var(--gy), rgba(255, 130, 30, .22), transparent 50%),
    radial-gradient(80% 100% at 50% 120%, rgba(255, 90, 18, .35), transparent 60%),
    var(--bg-3);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 50px 120px -40px rgba(255, 100, 20, .35);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease);
}
.cta__hand { position: absolute; right: -40px; bottom: -60px; width: 300px; opacity: .1; transform: rotate(-14deg); }
.cta .h2 { max-width: 760px; margin: 0 auto 20px; }
.cta__lead { max-width: 520px; margin: 0 auto 36px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact { padding: 30px 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.contact > svg { width: 30px; height: 30px; margin-bottom: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact p { margin: 0 0 6px; font-size: 16px; }
.contact sup { color: var(--amber); }

/* ---------- Подвал ---------- */
.footer { padding: 60px 0 120px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__brand .brand__mark { flex: none; width: 40px; height: 52px; }
.footer__name { margin: 0 0 6px; font: 500 24px/1.1 var(--serif); }
.footer__brand p { margin: 0; font-size: 14px; }
.footer__legal p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }

/* ---------- Мобильная панель ---------- */
.dock {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: none; gap: 10px; padding: 8px; border-radius: 999px;
  background: rgba(20, 14, 9, .82); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--line-2) inset, 0 20px 50px -10px rgba(0, 0, 0, .9);
  transform: translateY(150%); transition: transform .5s var(--ease);
}
.dock.show { transform: none; }
.dock__call { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); }
.dock__call svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock__book { flex: 1; min-height: 50px; }

/* ---------- Лайтбокс ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 6, 4, .94); color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .4s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 70px 16px 30px; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 78vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); animation: lbImg .5s var(--ease); }
@keyframes lbImg { from { opacity: 0; transform: scale(.94) rotateX(8deg); } }
.lightbox figcaption { color: var(--muted); font-size: 14px; text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__nav { position: absolute; top: 50%; margin-top: -27px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ---------- Политика (privacy.html) ---------- */
.doc { padding: calc(var(--header-h) + 60px) 0 100px; }
.doc h1 { margin: 0 0 30px; font: 500 clamp(36px, 5vw, 60px)/1.05 var(--serif); }
.doc h2 { margin: 40px 0 12px; font: 500 28px/1.2 var(--serif); color: var(--gold); }
.doc p, .doc li { color: var(--muted); }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .emblem { width: min(360px, 80vw); }
  .emblem__chip.c1 { left: 0; }
  .emblem__chip.c2 { right: 0; }
}
@media (max-width: 1080px) {
  .cards, .plans, .extras, .contact-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before, .steps::after { display: none; }
  .plans__empty { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 16px 24px; background: rgba(11, 9, 7, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; min-height: 52px; }
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__emblem { order: -1; margin: -10px 0 -20px; }
  .emblem { width: min(300px, 72vw); }
  .emblem__chip { font-size: 11.5px; padding: 7px 12px; }
  .emblem__chip.c2 { right: -4%; }
  .dock { display: flex; }
  .footer { padding-bottom: 130px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .plans, .extras, .contact-grid, .terms, .steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cert { padding: 8px 8px 16px; border-radius: 16px; }
  .cert img { margin-bottom: 12px; border-radius: 10px; }
  .cert__year { font-size: 24px; padding: 0 6px; }
  .cert__title { font-size: 14px; padding: 0 6px; }
  .cert__meta { display: none; }
  .cert--wide { grid-column: auto; }
  .cert--wide img { aspect-ratio: 4 / 3; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding-bottom: 70px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { gap: 14px 28px; }
  .hero__stats b { font-size: 36px; }
  .seg { display: flex; border-radius: 22px; }
  .seg button { flex: 1 1 30%; padding: 0 10px; }
  .seg__pill { display: none; }
  .seg button[aria-checked="true"] { background: var(--grad); }
  .svc { padding: 28px 22px 22px; }
  .book { padding: 0 12px; }
  .brand__text { font-size: 19px; }
  .lightbox__nav { top: auto; bottom: 16px; margin: 0; }
}

/* ---------- Окно заявки ---------- */
.modal {
  width: min(520px, 100% - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0;
  border: 0; border-radius: 28px; color: var(--text); overflow: auto;
  background: radial-gradient(120% 60% at 100% 0%, rgba(255, 110, 20, .18), transparent 60%), var(--bg-3);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 50px 120px -30px rgba(0, 0, 0, .9);
}
.modal::backdrop { background: rgba(5, 4, 3, .72); backdrop-filter: blur(8px); }
.modal[open] { animation: modalIn .5s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; }
.modal__body { padding: 38px 32px 30px; }
.modal__title { margin: 0 44px 10px 0; font: 500 clamp(30px, 5vw, 40px)/1.05 var(--serif); }
.modal__lead { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.modal__skip { display: block; margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); transition: color .2s; }
.modal__skip:hover { color: var(--gold); }
.modal__done { text-align: center; }
.modal__done .modal__title { margin-right: 0; }
.modal__hand { width: 70px; margin: 0 auto 18px; filter: drop-shadow(0 0 18px rgba(255, 110, 20, .6)); }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.field small { font-weight: 400; opacity: .7; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 14px;
  font: 400 16px/1.4 var(--sans); color: var(--text);
  background: rgba(255, 236, 210, .04); border: 1px solid var(--line);
  transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(184, 168, 149, .55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: rgba(255, 236, 210, .07); box-shadow: 0 0 0 4px rgba(255, 140, 40, .14); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--amber); cursor: pointer; }
.form__error { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: #ffd2c2; background: rgba(255, 80, 40, .12); border: 1px solid rgba(255, 100, 60, .3); }
.form .btn { margin-top: 6px; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .modal__body { padding: 32px 20px 24px; } }

/* ---------- Отзывы ---------- */
.reviews { overflow: hidden; }
.rating { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2) inset; transition: box-shadow .3s, transform .3s var(--ease); }
.rating:hover { box-shadow: 0 0 0 1px var(--gold) inset; transform: translateY(-2px); }
.rating > b { font: 500 54px/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating__stars { display: flex; gap: 2px; }
.rating__stars svg, .review__stars svg { width: 16px; height: 16px; fill: var(--amber); }
.rating > span:last-child { font-size: 13px; line-height: 1.5; color: var(--muted); }
.rating u { text-decoration: none; color: var(--gold); }
.reviews__rows { display: grid; gap: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews__row { overflow: hidden; }
.reviews__track { display: flex; gap: 22px; padding-right: 22px; width: max-content; animation: marquee 70s linear infinite; }
.reviews__row[data-dir="right"] .reviews__track { animation-direction: reverse; animation-duration: 80s; }
.reviews__row:hover .reviews__track, .reviews__row:focus-within .reviews__track { animation-play-state: paused; }
.review {
  flex: 0 0 min(400px, 82vw); margin: 0; display: flex; flex-direction: column; gap: 16px;
  padding: 28px 28px 24px; border-radius: var(--radius);
  background: radial-gradient(100% 80% at 0% 0%, rgba(255, 140, 40, .08), transparent 60%), var(--surface);
  box-shadow: var(--shadow);
}
.review__stars { display: flex; gap: 3px; }
.review blockquote { margin: 0; flex: 1; font: italic 500 21px/1.4 var(--serif); color: var(--text); }
.review figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.review figcaption span { color: var(--muted); font-size: 12.5px; }
.reviews__note { margin-top: 28px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) { .rating { width: 100%; } .review blockquote { font-size: 19px; } }

/* ---------- Знакомство: 3D-сцена с поющей чашей ---------- */
.meet { overflow: hidden; }
.meet::before { content: ""; position: absolute; left: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(255, 110, 20, .14), transparent); pointer-events: none; }
.meet__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.stage { position: relative; perspective: 1200px; }
.stage__inner {
  --rx: 0deg; --ry: 0deg; --bx: 53.4%; --by: 55.5%;
  position: relative; width: min(520px, 100%); margin-inline: auto; aspect-ratio: 1267 / 1633;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .8s var(--ease);
}
.stage__arch {
  position: absolute; left: 8%; right: 8%; top: 4%; bottom: 10%;
  border-radius: 999px 999px 40px 40px;
  background:
    radial-gradient(60% 45% at 50% 30%, rgba(255, 150, 50, .35), transparent 70%),
    linear-gradient(180deg, rgba(255, 110, 20, .22), rgba(255, 110, 20, .02));
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 0 80px -10px rgba(255, 110, 20, .35);
  transform: translateZ(-120px) scale(1.12);
}
.stage__arch::after { content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1px dashed rgba(247, 200, 115, .25); }
.stage__canvas { position: absolute; left: -30%; top: -12%; width: 160%; height: 124%; pointer-events: none; }
.stage__canvas--back { transform: translateZ(-60px) scale(1.05); }
.stage__canvas--front { transform: translateZ(70px) scale(.9417); }
.stage__photo {
  position: relative; width: 100%; height: auto;
  filter: drop-shadow(0 0 1px rgba(255, 180, 90, .9)) drop-shadow(0 0 22px rgba(255, 110, 20, .45)) drop-shadow(0 40px 40px rgba(0, 0, 0, .7));
  transform: translateZ(0);
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.meet .stage__photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease), translate 1.6s var(--ease); translate: 0 40px; }
.meet.in .stage__photo { clip-path: inset(-20% -20% -20% -20%); translate: 0 0; }
.bowl {
  position: absolute; left: var(--bx); top: var(--by); width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; transform: translateZ(90px); cursor: pointer;
}
.bowl span { position: absolute; inset: 22px; border-radius: 50%; border: 1px solid rgba(255, 210, 140, .9); box-shadow: 0 0 18px rgba(255, 150, 40, .8); animation: bowlPulse 2.4s var(--ease) infinite; }
.bowl:hover span, .bowl:focus-visible span { animation-duration: 1.2s; border-color: #fff; }
@keyframes bowlPulse { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.float {
  position: absolute; display: grid; gap: 2px; padding: 12px 18px; border-radius: 18px;
  font-size: 12px; line-height: 1.2; color: var(--muted); white-space: nowrap;
  background: rgba(20, 14, 9, .62); border: 1px solid var(--line-2); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9);
}
.float b { font: 500 26px/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float--1 { left: 8%; top: 14%; transform: translateZ(150px); animation: float 7s ease-in-out infinite -1s; }
.float--2 { right: 4%; top: 34%; transform: translateZ(190px); animation: float 8s ease-in-out infinite -3s; }
.float--3 { left: 10%; bottom: 14%; transform: translateZ(120px); animation: float 6.5s ease-in-out infinite -2s; }
.stage__hint { margin: 18px 0 0; text-align: center; font-size: 13px; letter-spacing: .08em; color: var(--muted); transition: opacity .6s; }
.stage__hint::before { content: "♪ "; color: var(--amber); }
.stage__hint.played { opacity: 0; }
.meet__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text); }
.meet__text p { color: var(--muted); margin: 22px 0 0; }
.meet__text p.meet__lead { color: var(--text); }
.meet__text .h2 { margin-bottom: 6px; }
.meet__text p.meet__trust { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 16px; color: var(--gold); font-weight: 600; font-size: 15px; background: rgba(255, 140, 40, .08); border: 1px solid var(--line-2); }
.meet__trust::before { content: "★"; color: var(--amber); }
.meet__quote { margin: 30px 0 34px; padding-left: 22px; border-left: 2px solid var(--amber); font: italic 500 clamp(22px, 2.2vw, 28px)/1.35 var(--serif); }
@media (max-width: 900px) {
  .meet__grid { grid-template-columns: 1fr; }
  .stage__inner { width: min(420px, 86vw); animation: sway 9s ease-in-out infinite; }
  .float { font-size: 11px; padding: 9px 13px; }
  .float b { font-size: 21px; }
  .float--1 { left: 4%; } .float--2 { right: 2%; } .float--3 { left: 6%; }
}
@keyframes sway { 0%, 100% { transform: rotateY(-7deg) rotateX(2deg); } 50% { transform: rotateY(7deg) rotateX(-2deg); } }

/* ---------- Подготовка и противопоказания ---------- */
.prep { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; perspective: 1400px; margin-bottom: 20px; }
.prep__card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  padding: 34px 32px; border-radius: var(--radius);
  background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255, 140, 40, .1), transparent 45%), var(--surface);
  box-shadow: var(--shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), opacity .9s var(--ease);
}
.prep__card.reveal { transform: translateY(34px); }
.prep__card.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.prep__card h3 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; font: 500 34px/1.1 var(--serif); }
.prep__card h3 span { font: italic 500 22px/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prep__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.prep__card li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15.5px; }
.prep__card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--orange); }
.prep__card li b { color: var(--text); font-weight: 600; }
.prep__warn { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--muted); background: rgba(255, 90, 30, .08); border: 1px solid rgba(255, 110, 40, .35); }
.prep__warn b { color: var(--amber); }
.contra { border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line-2) inset; }
.contra summary { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 64px 22px 26px; font: 500 26px/1.2 var(--serif); cursor: pointer; list-style: none; }
.contra summary::-webkit-details-marker { display: none; }
.contra summary::after { content: ""; position: absolute; right: 28px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .35s var(--ease); }
.contra[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.contra__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #1a0d03; font: 700 18px/1 var(--sans); }
.contra__list { margin: 0; padding: 0 26px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.contra__list li { color: var(--muted); font-size: 15px; padding-left: 16px; border-left: 2px solid var(--line-2); }
.contra__list b { color: var(--text); }
.contra__note { margin: 20px 26px 0; padding: 16px 0 24px; border-top: 1px dashed var(--line); color: var(--gold); font-size: 15px; }
.meet__text p.meet__trust--both { margin-top: 10px; }
.meet__trust--both::before { content: "♂♀"; letter-spacing: -2px; }
@media (max-width: 900px) {
  .prep, .contra__list { grid-template-columns: 1fr; }
  .prep__card { padding: 28px 22px; }
  .contra summary { font-size: 21px; padding: 18px 54px 18px 18px; }
  .contra__list { padding: 0 18px; }
  .contra__note { margin: 18px 18px 0; }
}

/* Уважение к настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, [data-split] .w > span { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .meet .stage__photo { clip-path: none; translate: none; }
  .reviews__track { animation: none; overflow-x: auto; width: auto; }
  .reviews__row { overflow-x: auto; }
}

/* Сноска «* массаж не является медицинской услугой» */
sup.nm { font-size: .6em; line-height: 0; vertical-align: super; margin-left: 1px; color: var(--amber); font-weight: 400; }
