/* «Новосан» — оформление.
   Тон задают их же материалы: тёмные кабины, в которых светятся лампы (красный коллагенарий,
   голубой ультрафиолет, розовый бьюти-свет Rubino), и логотип — оранжево-красное солнце
   с бирюзовой волной. Фон — горький шоколад («тёмный глубокий шоколадный цвет» из их текста),
   свет раздела меняется по мере прокрутки. Шрифты: Playfair — заголовки, Science Gothic —
   широкие подписи и цифры, Google Sans — текст. */

@property --svet {
  syntax: "<color>";
  inherits: true;
  initial-value: #FF7A1A;
}

:root {
  --fon: #0B0706;
  --fon-2: #120B09;
  --karta: #17100D;
  --karta-2: #201612;
  --liniya: rgba(255, 228, 206, .10);
  --liniya-2: rgba(255, 228, 206, .20);
  --tekst: #FFF3E8;
  --tekst-2: #DCC6B6;
  --tekst-3: #A08878;
  --solnce-1: #FFB547;
  --solnce-2: #FF7A1A;
  --solnce-3: #E8321E;
  --solnce-4: #B51A0E;
  --volna: #1FA39A;
  --volna-svet: #62E3D6;
  --otkryto: #4BE0A8;
  --grad: linear-gradient(100deg, #FFB547 0%, #FF7A1A 34%, #F0441F 68%, #C21D10 100%);
  --grad-tekst: linear-gradient(100deg, #FFC56A 0%, #FF8A2A 30%, #FF4F2A 62%, #E8321E 82%, #FF8A2A 100%);
  --svet: #FF7A1A;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --shapka-h: 76px;
  --pole: clamp(16px, 4vw, 52px);
  --r: 30px;
  --f-zag: "Playfair", "Times New Roman", Georgia, serif;
  --f-shir: "Science Gothic", "Arial Black", Arial, sans-serif;
  --f-tekst: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  transition: --svet 1.4s ease;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--shapka-h) + 10px); -webkit-text-size-adjust: 100%; }
main { display: block; overflow-x: clip; }
body {
  margin: 0;
  background: var(--fon);
  color: var(--tekst);
  font-family: var(--f-tekst);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.zamok { overflow: hidden; }
img, video, svg { max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: #FF7A1A; color: #140A05; }

/* зерно плёнки — поверх всего, очень тихо */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='z'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .9  0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23z)'/></svg>");
}

/* ─────────────────────────────── свет раздела */
.svet { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--fon); }
.svet i { position: absolute; border-radius: 50%; will-change: transform; }
.svet-1 {
  width: 78vmax; height: 78vmax; left: -26vmax; top: -30vmax;
  background: radial-gradient(circle, color-mix(in srgb, var(--svet) 42%, transparent) 0%, transparent 62%);
  animation: plyvi-1 30s ease-in-out infinite alternate;
}
.svet-2 {
  width: 64vmax; height: 64vmax; right: -30vmax; top: 18vh;
  background: radial-gradient(circle, rgba(181, 26, 14, .30) 0%, transparent 60%);
  animation: plyvi-2 38s ease-in-out infinite alternate;
}
.svet-3 {
  width: 58vmax; height: 58vmax; left: 18vw; bottom: -36vmax;
  background: radial-gradient(circle, rgba(31, 163, 154, .16) 0%, transparent 60%);
  animation: plyvi-1 44s ease-in-out infinite alternate-reverse;
}
@keyframes plyvi-1 { to { transform: translate(8vw, 10vh) scale(1.12); } }
@keyframes plyvi-2 { to { transform: translate(-10vw, -6vh) scale(.9); } }

/* ─────────────────────────────── общие детали */
.nad {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--f-shir); font-stretch: 130%; font-weight: 600;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--tekst-2);
}
.nad-solnce {
  width: 18px; height: 18px; flex: 0 0 auto;
  background: var(--grad);
  -webkit-mask: url(solnce.svg) center / contain no-repeat; mask: url(solnce.svg) center / contain no-repeat;
  animation: krug 24s linear infinite;
}
@keyframes krug { to { transform: rotate(360deg); } }

.zoloto {
  font-style: italic;
  background: var(--grad-tekst);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: perelivy 10s ease-in-out infinite alternate;
  padding-right: .06em;
}
@keyframes perelivy { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.nobr { white-space: nowrap; }

h1, h2, h3, h4 { font-weight: 500; }
h2 {
  font-family: var(--f-zag); font-size: clamp(40px, 5.4vw, 84px); line-height: 1;
  letter-spacing: -.025em; margin: 18px 0 0; text-wrap: balance;
}
h2 em { font-style: italic; }

.blok { position: relative; max-width: 1480px; margin: 0 auto; padding: clamp(84px, 13vh, 160px) var(--pole); }
.blok-zag { max-width: 980px; }
.blok-pod { font-size: clamp(17px, 1.35vw, 20px); color: var(--tekst-2); max-width: 60ch; margin: 22px 0 0; }

.knopka {
  --kn-ten: rgba(255, 122, 26, .55);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--grad); background-size: 140% 100%; background-position: 0 50%;
  color: #1A0904; text-decoration: none; white-space: nowrap;
  font-family: var(--f-shir); font-stretch: 125%; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 18px 50px -18px var(--kn-ten), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-position .6s var(--ease);
}
.knopka:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 24px 70px -16px var(--kn-ten), inset 0 1px 0 rgba(255, 255, 255, .45); }
.knopka:active { transform: translateY(0) scale(.98); }
.knopka:focus-visible { outline: 2px solid var(--tekst); outline-offset: 4px; }
.knopka.prizrak { background: rgba(255, 243, 232, .04); color: var(--tekst); box-shadow: inset 0 0 0 1px var(--liniya-2); }
.knopka.prizrak:hover { background: rgba(255, 243, 232, .09); box-shadow: inset 0 0 0 1px rgba(255, 228, 206, .4); }
.knopka-mal { min-height: 44px; padding: 0 20px; font-size: 11px; }
.knopka-shir { width: 100%; }

.poyav { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.poyav.vidno { opacity: 1; transform: none; }
.slovo { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.slovo > i { display: inline-block; font-style: inherit; transform: translateY(108%); transition: transform 1.1s var(--ease); }
.vidno .slovo > i, .slova-vidno .slovo > i { transform: none; }

/* ─────────────────────────────── плашка «демо» */
.demo {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px var(--pole); font-size: 13px; line-height: 1.35; text-align: center;
  color: #2A1406; background: linear-gradient(90deg, #FFC56A, #FF8A2A);
}
.demo-solnce { width: 14px; height: 14px; flex: 0 0 auto; background: #7A2A06; -webkit-mask: url(solnce.svg) center / contain no-repeat; mask: url(solnce.svg) center / contain no-repeat; }

/* ─────────────────────────────── шапка */
.shapka {
  position: sticky; top: 0; z-index: 50;
  height: var(--shapka-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--pole);
  transition: background .5s, box-shadow .5s, backdrop-filter .5s;
}
.shapka.plotno {
  background: rgba(11, 7, 6, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--liniya);
}
.logo { display: block; flex: 0 0 auto; width: 158px; line-height: 0; }
.logo img, .logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.logo .ns-b { opacity: 0; transform: translateY(26%); transform-box: fill-box; animation: bukva .9s var(--ease) forwards; }
.logo .ns-b1 { animation-delay: .05s; } .logo .ns-b2 { animation-delay: .12s; } .logo .ns-b3 { animation-delay: .19s; }
.logo .ns-b4 { animation-delay: .52s; } .logo .ns-b5 { animation-delay: .59s; } .logo .ns-b6 { animation-delay: .66s; }
.logo .ns-solnce { transform-box: view-box; animation: solnce-vhod 1.5s var(--ease) .2s both, solnce-dyh 7s ease-in-out 1.8s infinite; }
.logo .ns-v { clip-path: inset(0 100% 0 0); animation: volna-vhod 1.3s var(--ease) .7s forwards; }
.logo .ns-volna { fill: #26A79D; }
.logo:hover .ns-solnce { animation: solnce-oborot 1.2s var(--ease); }
@keyframes bukva { to { opacity: 1; transform: none; } }
@keyframes solnce-vhod { from { opacity: 0; transform: rotate(-160deg) scale(.2); } to { opacity: 1; transform: none; } }
@keyframes solnce-dyh { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(10deg) scale(1.05); } }
@keyframes solnce-oborot { to { transform: rotate(360deg); } }
@keyframes volna-vhod { to { clip-path: inset(0 0 0 0); } }

.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a {
  position: relative; padding: 10px 14px; text-decoration: none; color: var(--tekst-2);
  font-family: var(--f-shir); font-stretch: 120%; font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  transition: color .3s;
}
.menu a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.menu a:hover, .menu a.on { color: var(--tekst); }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); }
.shapka-pravo { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 243, 232, .07); box-shadow: inset 0 0 0 1px var(--liniya-2); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--tekst); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 22.5px; transform: rotate(-45deg); }

.menu-mob {
  position: fixed; inset: 0; z-index: 45; padding: calc(var(--shapka-h) + 20px) var(--pole) 30px;
  background: rgba(11, 7, 6, .985); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  animation: poyavlenie .45s var(--ease);
}
@keyframes poyavlenie { from { opacity: 0; } }
.menu-mob-ssylki { display: flex; flex-direction: column; }
.menu-mob-ssylki a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; text-decoration: none;
  font-family: var(--f-zag); font-size: clamp(32px, 9vw, 48px); line-height: 1.1; border-bottom: 1px solid var(--liniya);
}
.menu-mob-ssylki span { font-family: var(--f-shir); font-size: 12px; letter-spacing: .14em; color: var(--tekst-3); }
.menu-mob-studii { display: grid; gap: 14px; margin-top: 30px; }
.menu-mob-studii a { text-decoration: none; }
.mob-studiya { padding: 16px 18px; border-radius: 20px; background: var(--karta); border: 1px solid var(--liniya); }
.mob-studiya b { display: block; font-family: var(--f-shir); font-stretch: 120%; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tekst-3); margin-bottom: 4px; }
.mob-studiya a { font-size: 20px; font-weight: 500; }

/* ─────────────────────────────── первый экран */
.hero {
  position: relative; min-height: 100svh;
  margin-top: calc(-1 * var(--shapka-h));
  padding: calc(var(--shapka-h) + 3vh) var(--pole) 9vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: clip;
}
.hero::before {
  content: ""; position: absolute; left: -10vw; bottom: -30vh; width: 70vw; height: 70vh; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 122, 26, .22), transparent);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3vw; align-items: center; width: 100%; max-width: 1480px; margin: 0 auto; }
.hero-h1 {
  font-family: var(--f-zag); font-weight: 500; font-size: clamp(46px, 5.5vw, 88px); line-height: .98;
  letter-spacing: -.03em; margin: 26px 0 28px; text-wrap: balance;
}
/* 15.09, хозяйка: белая часть девиза — своей строкой, оранжевый курсив начинается с «делать это» */
.hero-h1-a { display: block; }
.hero-h1 .zoloto { font-weight: 600; display: inline; }
.hero-lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--tekst-2); max-width: 52ch; margin: 0 0 36px; }
.hero-knopki { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-studii { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
  border-radius: 999px; background: rgba(255, 243, 232, .05); box-shadow: inset 0 0 0 1px var(--liniya);
  font-size: 14px; line-height: 1.2; color: var(--tekst-2); text-decoration: none; cursor: pointer; border: 0;
  transition: background .3s, box-shadow .3s;
}
.status:hover { background: rgba(255, 243, 232, .1); box-shadow: inset 0 0 0 1px var(--liniya-2); }
.status b { color: var(--tekst); font-weight: 600; }
.status .tochka { width: 8px; height: 8px; border-radius: 50%; background: var(--otkryto); box-shadow: 0 0 0 0 rgba(75, 224, 168, .6); animation: puls 2.2s infinite; flex: 0 0 auto; }
.status.zakryto .tochka { background: #8B776B; animation: none; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(75, 224, 168, .55); } 70% { box-shadow: 0 0 0 10px rgba(75, 224, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(75, 224, 168, 0); } }

/* веер вертикальных видео */
.hero-reel { position: relative; height: min(76vh, 700px); min-height: 520px; container-type: inline-size; }
.hero-reel::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--svet) 55%, transparent), transparent 70%);
  opacity: .55; pointer-events: none; transition: background 1.4s;
}
.klip {
  --k-svet: #FF7A1A;
  position: absolute; left: 50%; top: 50%;
  width: 260px; width: min(54cqw, 330px); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; cursor: pointer;
  background: #000 center / cover no-repeat; border: 0; padding: 0;
  box-shadow: 0 60px 120px -40px color-mix(in srgb, var(--k-svet) 80%, transparent), 0 0 0 1px rgba(255, 255, 255, .10);
  transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none;
  transition: transform 1.15s var(--ease), opacity 1s var(--ease), filter 1s var(--ease);
}
.klip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.klip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 22%, transparent 58%, rgba(0, 0, 0, .78) 100%); pointer-events: none; }
.klip[data-poz="0"] { transform: translate(-50%, -50%); opacity: 1; z-index: 3; pointer-events: auto; }
.klip[data-poz="-1"] { transform: translate(-112%, -47%) rotate(-8deg) scale(.78); opacity: .62; filter: brightness(.62) saturate(.9); z-index: 2; pointer-events: auto; }
.klip[data-poz="1"] { transform: translate(12%, -53%) rotate(8deg) scale(.78); opacity: .62; filter: brightness(.62) saturate(.9); z-index: 2; pointer-events: auto; }
.klip[data-poz="0"]:hover { transform: translate(-50%, -51%) scale(1.015); }
.klip-podpis {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; text-align: left;
  display: flex; flex-direction: column; gap: 4px;
}
.klip-podpis b { font-family: var(--f-zag); font-weight: 500; font-size: 24px; line-height: 1.1; }
.klip-podpis span { font-family: var(--f-shir); font-stretch: 120%; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 243, 232, .75); }
.klip-hod { position: absolute; left: 16px; right: 16px; top: 14px; z-index: 2; height: 2.5px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.klip-hod i { position: absolute; inset: 0; width: 100%; transform: scaleX(0); transform-origin: left; background: #fff; }
.klip-igrat {
  position: absolute; right: 16px; bottom: 18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center;
}
.klip-igrat::before { content: ""; margin-left: 3px; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

.hero-mob-fon { display: none; }
.hero-kruzhki { display: none; }
.hero-vniz { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--liniya-2); transform: translateX(-50%); }
.hero-vniz i { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--tekst-2); animation: kolesiko 2s var(--ease) infinite; }
@keyframes kolesiko { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ─────────────────────────────── строка-девиз: стоит на месте, фразы ровно по центру (хозяйка 15.09) */
.begushaya {
  position: relative; margin: 1vh 0; padding: 0 var(--pole);
  background: linear-gradient(90deg, rgba(255, 122, 26, .10), rgba(31, 163, 154, .07));
  box-shadow: inset 0 1px 0 var(--liniya), inset 0 -1px 0 var(--liniya);
}
.begushaya-lenta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; max-width: 1480px; margin: 0 auto; padding: 20px 0 22px; text-align: center;
  font-family: var(--f-zag); font-style: italic; font-weight: 500; font-size: clamp(30px, 3.9vw, 60px); line-height: 1.12;
}
.begushaya-lenta .bg-fraza { text-wrap: balance; }
.begushaya-lenta .ravno { font-style: normal; margin: 0 .28em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
.begushaya-lenta .zoloto { font-weight: 600; }
.begushaya-lenta .raz { display: inline-block; flex: 0 0 auto; width: .8em; height: .8em; margin: 0 .7em; vertical-align: -.06em; background: var(--grad); -webkit-mask: url(solnce.svg) center / contain no-repeat; mask: url(solnce.svg) center / contain no-repeat; }
.begushaya-lenta .raz-pered { margin: 0 .42em 0 0; }
@media (max-width: 700px) {
  .begushaya-lenta { flex-direction: column; gap: 4px; padding: 16px 0 18px; font-size: clamp(22px, 6.6vw, 34px); }
  .begushaya-lenta > .raz { display: none; }
}

/* ─────────────────────────────── студия NOVO SUN — это */
.man-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6vw; margin-top: 64px; }
.man-scena { position: sticky; top: calc(var(--shapka-h) + 3vh); align-self: start; height: calc(100svh - var(--shapka-h) - 6vh); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.man-ekran {
  position: relative; height: min(100%, 700px); max-height: calc(100% - 50px); aspect-ratio: 9 / 16; max-width: 100%; border-radius: 34px; overflow: hidden; background: #000;
  box-shadow: 0 70px 160px -50px color-mix(in srgb, var(--svet) 85%, transparent), 0 0 0 1px rgba(255, 255, 255, .1);
  transition: box-shadow 1.4s;
}
.man-ekran > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.man-ekran > .on { opacity: 1; transform: none; }
.man-gde { margin: 0; font-family: var(--f-shir); font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tekst-3); text-align: center; min-height: 1.4em; }
.man-spisok { list-style: none; margin: 0; padding: 0; counter-reset: punkt; }
.man-punkt {
  --k-svet: #FF7A1A;
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px;
  padding: 38px 0; border-top: 1px solid var(--liniya); cursor: pointer;
  opacity: .38; transition: opacity .6s var(--ease);
}
.man-punkt:last-child { border-bottom: 1px solid var(--liniya); }
.man-punkt::before {
  counter-increment: punkt; content: counter(punkt, decimal-leading-zero);
  font-family: var(--f-shir); font-stretch: 140%; font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--tekst-3); padding-top: 12px;
}
.man-punkt::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--k-svet), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.man-punkt.on { opacity: 1; }
.man-punkt.on::after { transform: scaleX(1); }
.man-punkt h3 { grid-column: 2; font-family: var(--f-zag); font-weight: 500; font-size: clamp(30px, 3.1vw, 48px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 14px; transition: color .6s; }
.man-punkt.on h3 { color: color-mix(in srgb, var(--k-svet) 35%, #FFF3E8); }
.man-punkt p { grid-column: 2; margin: 0; font-size: 18px; color: var(--tekst-2); max-width: 50ch; }
.man-punkt .gde { grid-column: 2; margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-shir); font-stretch: 120%; font-weight: 600; font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--tekst-3); }
.man-punkt .gde::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--k-svet); box-shadow: 0 0 12px var(--k-svet); }
.man-mini { display: none; }
.man-itog { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 70px; }
.man-itog p { margin: 0; font-family: var(--f-zag); font-style: italic; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.15; max-width: 30ch; }

/* ─────────────────────────────── два берега */
.studii-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(18px, 2.4vw, 32px); margin-top: 56px; align-items: stretch; }
.karta-box {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 620px;
  background: radial-gradient(110% 80% at 35% 30%, #1C1411 0%, #0C0807 72%);
  box-shadow: 0 0 0 1px var(--liniya), 0 40px 100px -50px rgba(0, 0, 0, .9);
}
.karta { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.karta-podpis { position: absolute; left: 22px; right: 22px; bottom: 14px; font-size: 11.5px; color: var(--tekst-3); pointer-events: none; }
.karta .setka { stroke: rgba(255, 228, 206, .045); stroke-width: 1; }
.karta .reka-svet { fill: none; stroke: #1FA39A; stroke-linecap: round; stroke-linejoin: round; opacity: .28; }
.karta .reka { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.karta .reka-tok { fill: none; stroke: #BFFFF6; stroke-linecap: round; stroke-dasharray: 1.5 26; opacity: .75; animation: tok 5s linear infinite; }
@keyframes tok { to { stroke-dashoffset: -275; } }
.karta .most { stroke: rgba(255, 243, 232, .5); stroke-linecap: round; }
.karta .metro { fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.karta .stanciya { stroke: #0C0807; }
.karta .stanciya-imya { font-family: var(--f-shir); font-stretch: 115%; font-weight: 600; letter-spacing: .04em; fill: #D8C3B3; paint-order: stroke; stroke: #0C0807; stroke-width: 6px; stroke-linejoin: round; }
.karta .bereg { font-family: var(--f-shir); font-stretch: 175%; font-weight: 700; letter-spacing: .32em; fill: rgba(255, 243, 232, .13); text-transform: uppercase; }
.karta .ob { font-family: var(--f-zag); font-style: italic; font-weight: 500; fill: #7FEADF; opacity: .85; }
.karta .metka { cursor: pointer; }
.karta .metka-svet { opacity: .5; transition: opacity .6s; }
.karta .metka-luchi { transform-box: fill-box; transform-origin: center; animation: krug 50s linear infinite; }
.karta .metka-kolco { fill: none; stroke: #FF8A2A; transform-box: fill-box; transform-origin: center; animation: kolco 2.8s var(--ease) infinite; opacity: 0; }
@keyframes kolco { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.karta .metka-plashka rect { fill: rgba(15, 9, 7, .9); stroke: rgba(255, 228, 206, .22); }
.karta .metka-bereg { font-family: var(--f-shir); font-stretch: 125%; font-weight: 600; letter-spacing: .14em; fill: #A08878; text-transform: uppercase; }
.karta .metka-imya { font-family: var(--f-zag); font-weight: 500; fill: #FFF3E8; }
.karta .metka-adres { opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.karta .metka-adres rect { fill: rgba(12, 8, 7, .94); stroke: rgba(255, 138, 42, .55); }
.karta .metka-adres text { font-family: var(--f-tekst); fill: #E9D8CA; }
@media (hover: hover) { .karta .metka:hover .metka-adres { opacity: 1; } }
.karta .metka.navel .metka-adres, .karta .metka:focus-visible .metka-adres { opacity: 1; }
.karta .metka:not(.on) .metka-luchi { opacity: .55; }
.karta .metka:not(.on) .metka-kolco { display: none; }
.karta .metka.on .metka-svet { opacity: 1; }
.karta .metka.on .metka-plashka rect { stroke: #FF8A2A; }
.karta .pokaz { opacity: 0; transition: opacity 1.2s var(--ease); }
.karta.vidno .pokaz { opacity: 1; }
.karta .risuy { transition: stroke-dashoffset 2.6s var(--ease); }

.studii-panel { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vkladki { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 243, 232, .05); box-shadow: inset 0 0 0 1px var(--liniya); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.vkladki::-webkit-scrollbar { display: none; }
.vkladka {
  border: 0; background: transparent; color: var(--tekst-2); cursor: pointer; white-space: nowrap;
  padding: 13px 20px; border-radius: 999px;
  font-family: var(--f-shir); font-stretch: 125%; font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .45s var(--ease), color .45s, box-shadow .45s;
}
.vkladka:hover { color: var(--tekst); }
.vkladka.on { background: var(--grad); color: #1A0904; box-shadow: 0 12px 34px -12px rgba(255, 122, 26, .7); }
.vkladki-mal .vkladka { padding: 10px 16px; font-size: 10.5px; }

.studiya { position: relative; flex: 1; border-radius: var(--r); overflow: hidden; background: var(--karta); box-shadow: 0 0 0 1px var(--liniya); display: flex; flex-direction: column; }
.studiya.menyaetsya > * { animation: smena .7s var(--ease); }
@keyframes smena { from { opacity: 0; transform: translateY(14px); } }
.studiya-foto { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #140D0B; }
.studiya-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studiya-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--karta) 100%); }
.studiya-bereg { position: absolute; left: 20px; top: 18px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(11, 7, 6, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--f-shir); font-stretch: 125%; font-weight: 700; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.studiya-telo { position: relative; padding: 0 28px 28px; margin-top: -40px; display: flex; flex-direction: column; gap: 18px; }
.studiya-telo h3 { font-family: var(--f-zag); font-weight: 500; font-size: clamp(34px, 3vw, 46px); line-height: 1; letter-spacing: -.02em; margin: 0; }
.studiya-adres { margin: 0; font-size: 17px; color: var(--tekst-2); line-height: 1.5; }
.studiya-adres b { color: var(--tekst); font-weight: 600; }
.studiya-metro { display: inline-flex; align-items: center; gap: 8px; }
.studiya-metro::before { content: "М"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #E4312B; color: #fff; font-family: var(--f-shir); font-weight: 700; font-size: 10px; }
.studiya-ryad { display: flex; flex-wrap: wrap; gap: 10px; }
.studiya-kn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; text-decoration: none; background: rgba(255, 243, 232, .06); box-shadow: inset 0 0 0 1px var(--liniya-2); font-size: 15px; font-weight: 500; transition: background .3s, box-shadow .3s; }
.studiya-kn:hover { background: rgba(255, 243, 232, .12); box-shadow: inset 0 0 0 1px rgba(255, 228, 206, .4); }
.studiya-kn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.studiya-kn.glavnaya { background: var(--tekst); color: #140C09; box-shadow: none; font-weight: 600; }
.studiya-kn.glavnaya:hover { background: #fff; }
.studiya-chasy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.studiya-chasy div { padding: 14px 16px; border-radius: 18px; background: rgba(255, 243, 232, .04); box-shadow: inset 0 0 0 1px var(--liniya); }
.studiya-chasy span { display: block; font-family: var(--f-shir); font-stretch: 120%; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--tekst-3); margin-bottom: 4px; }
.studiya-chasy b { font-family: var(--f-shir); font-stretch: 115%; font-weight: 600; font-size: 17px; }
.studiya-reytingi { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding-top: 4px; }
.studiya-reytingi div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--tekst-3); line-height: 1.25; }
.studiya-reytingi b { font-family: var(--f-shir); font-stretch: 115%; font-size: 26px; font-weight: 700; color: var(--tekst); }
.studiya-dalee { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-shir); font-stretch: 125%; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--solnce-1); }
.studiya-dalee::after { content: "↓"; font-family: var(--f-tekst); font-size: 16px; transition: transform .4s var(--ease); }
.studiya-dalee:hover::after { transform: translateY(3px); }

.studii-citata { margin: 48px 0 0; max-width: 820px; }
.studii-citata p { margin: 0; font-family: var(--f-zag); font-style: italic; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; }
.studii-citata p::before { content: "«"; color: var(--solnce-2); }
.studii-citata p::after { content: "»"; color: var(--solnce-2); }
.studii-citata footer { margin-top: 12px; font-size: 14px; color: var(--tekst-3); }

/* ─────────────────────────────── внутри студии */
/* 15.09: без «якоря прокрутки». При смене студии высота раздела меняется, браузер сам подкручивал страницу,
   шапка раздела то прилипала, то отлипала — у хозяйки заголовок мерцал и «лагал» и на телефоне, и на компьютере */
html { overflow-anchor: none; }
.vnutri { padding-top: clamp(40px, 8vh, 100px); }
.vnutri-shapka { position: sticky; top: var(--shapka-h); z-index: 30; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin: 0 calc(-1 * var(--pole)); padding: 16px var(--pole) 18px; transition: background .5s; }
.vnutri-shapka.lipnet { background: rgba(11, 7, 6, .86); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--liniya); }
.vnutri-shapka h2 { font-size: clamp(34px, 4.4vw, 68px); transition: font-size .5s var(--ease); }
.vnutri-shapka.lipnet h2 { font-size: clamp(22px, 2.4vw, 34px); margin-top: 6px; }
.vnutri-shapka.lipnet .nad { display: none; }
.vn-chast { margin-top: clamp(56px, 9vh, 110px); }
.vn-h3 { font-family: var(--f-zag); font-weight: 500; font-size: clamp(30px, 3vw, 46px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 26px; }

.lenta { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--pole) 26px; margin: 0 calc(-1 * var(--pole)); scrollbar-width: none; cursor: grab; }
.lenta::-webkit-scrollbar { display: none; }
.lenta.tyanut { cursor: grabbing; scroll-snap-type: none; }
.lenta-kart {
  --k-svet: #FF7A1A;
  position: relative; flex: 0 0 auto; width: clamp(210px, 19vw, 280px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden;
  scroll-snap-align: start; background: #000 center / cover no-repeat; border: 0; padding: 0; cursor: pointer; text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -50px color-mix(in srgb, var(--k-svet) 80%, transparent);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
@media (hover: hover) { .lenta-kart:hover { transform: translateY(-6px); } }
.lenta-kart video, .lenta-kart img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lenta-kart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, transparent 20%, transparent 48%, rgba(0, 0, 0, .84)); pointer-events: none; }
.lenta-kart .klip-podpis b { font-size: 20px; }
/* 15.09: кнопка — в верхнем углу, подпись в две строки (название и модель) на всю ширину и не уходит под неё */
.lenta-kart .klip-podpis { right: 16px; }
.lenta-kart .klip-podpis span { font-family: var(--f-tekst); font-stretch: 100%; font-size: 12.5px; letter-spacing: 0; line-height: 1.35; text-transform: none; color: rgba(255, 243, 232, .84); }
.lenta-kart .klip-igrat { width: 38px; height: 38px; right: 12px; top: 12px; bottom: auto; }
.istoriya-podpis .istoriya-model { display: block; margin-top: 8px; font-family: var(--f-tekst); font-size: 15px; letter-spacing: 0; line-height: 1.4; color: rgba(255, 243, 232, .85); }

.kalk { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(20px, 4vw, 60px); align-items: start; }
.kalk-pod { color: var(--tekst-2); max-width: 52ch; margin: -8px 0 28px; font-size: 18px; }
.kalk-apparaty { display: grid; gap: 12px; }
.apparat {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  width: 100%; padding: 12px 22px 12px 12px; border-radius: 24px; cursor: pointer; text-align: left;
  border: 1.5px solid var(--liniya); background: rgba(255, 243, 232, .025);
  transition: border-color .4s, background .4s, transform .4s var(--ease), box-shadow .4s;
}
@media (hover: hover) { .apparat:hover { background: rgba(255, 243, 232, .05); transform: translateX(4px); } }
.apparat img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; display: block; background: #140D0B; }
.apparat h4 { font-family: var(--f-zag); font-weight: 500; font-size: 22px; line-height: 1.15; margin: 0; }
.apparat-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.apparat-txt small { font-size: 13.5px; line-height: 1.35; color: var(--tekst-3); }
.apparat .cena { text-align: right; font-family: var(--f-shir); font-stretch: 120%; font-weight: 700; font-size: 24px; line-height: 1; white-space: nowrap; }
.apparat .cena small { display: block; margin-top: 6px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tekst-3); font-weight: 600; }
.apparat.on { border-color: transparent; background: linear-gradient(var(--karta-2), var(--karta-2)) padding-box, var(--grad) border-box; box-shadow: 0 24px 60px -34px rgba(255, 122, 26, .8); }
.apparat.on .cena { color: var(--solnce-1); }
.kalk-itog { position: sticky; top: calc(var(--shapka-h) + 96px); border-radius: var(--r); overflow: hidden; background: var(--karta); box-shadow: 0 0 0 1px var(--liniya), 0 50px 120px -60px rgba(0, 0, 0, .9); }
.kalk-foto { position: relative; height: clamp(170px, 24vh, 240px); overflow: hidden; background: #140D0B; }
.kalk-foto::before { content: ""; position: absolute; inset: -24px; background: var(--kf, none) center / cover no-repeat; filter: blur(20px) brightness(.5) saturate(1.25); }
.kalk-foto img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .5s; }
.kalk-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--karta)); }
.kalk-box { padding: 4px 28px 28px; }
.kalk-name { margin: 0; font-family: var(--f-zag); font-size: 28px; line-height: 1.1; }
.kalk-opis { margin: 8px 0 20px; font-size: 15px; color: var(--tekst-2); }
.kalk-min { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--tekst-2); }
.kalk-min b { font-family: var(--f-shir); font-stretch: 120%; font-size: 20px; color: var(--tekst); }
.polzun { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; margin: 4px 0 8px; cursor: pointer; --p: 40%; }
.polzun:focus-visible { outline: none; }
.polzun::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #FF8A2A 0, #F0441F var(--p), rgba(255, 243, 232, .14) var(--p)); }
.polzun::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: #FFF3E8; box-shadow: 0 0 0 7px rgba(255, 122, 26, .22), 0 8px 24px rgba(0, 0, 0, .6); transition: box-shadow .3s; }
.polzun:active::-webkit-slider-thumb, .polzun:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 11px rgba(255, 122, 26, .3), 0 8px 24px rgba(0, 0, 0, .6); }
.polzun::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 243, 232, .14); }
.polzun::-moz-range-progress { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #FF8A2A, #F0441F); }
.polzun::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #FFF3E8; box-shadow: 0 0 0 7px rgba(255, 122, 26, .22); }
.kalk-summa { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; }
.kalk-summa b { font-family: var(--f-shir); font-stretch: 112%; font-weight: 700; font-size: clamp(56px, 5.6vw, 88px); line-height: .95; letter-spacing: -.03em; background: var(--grad-tekst); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.kalk-summa span { font-family: var(--f-shir); font-size: 30px; font-weight: 600; color: var(--tekst-2); }
.kalk-raschet { margin: 0 0 22px; font-size: 14px; color: var(--tekst-3); }
.kalk-box .knopka { width: 100%; }
.kalk-snoska { margin: 16px 0 0; font-size: 12.5px; color: var(--tekst-3); line-height: 1.45; }
.kalk-skidka { display: flex; gap: 10px; align-items: flex-start; max-width: 56ch; margin: -12px 0 26px; padding: 13px 18px 13px 16px; border-radius: 18px;
  background: linear-gradient(100deg, rgba(255, 181, 71, .14), rgba(240, 68, 31, .09)); box-shadow: inset 0 0 0 1px rgba(255, 138, 42, .38);
  font-size: 15.5px; line-height: 1.45; color: #FFE6CF; }
.kalk-skidka b { font-family: var(--f-shir); font-weight: 700; font-size: 20px; line-height: 1; color: var(--solnce-1); }
.kalk-skidka-mal { margin: -14px 0 18px; font-size: 13px; line-height: 1.4; color: var(--solnce-1); }
.apparat .cena sup { font-size: .62em; line-height: 0; margin-left: 2px; color: var(--solnce-1); }
.apparat .cena.net { font-size: 16px; letter-spacing: .02em; color: var(--tekst-2); }
.kalk-box.bez-ceny .kalk-summa b { font-family: var(--f-zag); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.01em;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--tekst); }
.kalk-box.bez-ceny .kalk-rub, .kalk-box.bez-ceny .kalk-skidka-mal { display: none; }
.kn-wa svg { color: #3BD16F; }
.kn-tg svg { color: #35AFEA; }
.studiya-kn.glavnaya svg { color: currentColor; }
.kontakt-kart .studiya-ryad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kontakt-kart .studiya-kn { justify-content: center; }
.kontakt-kart .studiya-kn:first-child:not(.kn-wa):not(.kn-tg) { grid-column: 1 / -1; }
.mob-studiya-ryad { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mob-studiya .mob-tel { margin-right: auto; }
.mob-studiya .mob-ikonka { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 243, 232, .07); box-shadow: inset 0 0 0 1px var(--liniya-2); }
.mob-ikonka svg { width: 21px; height: 21px; }
.podval-msg { display: flex; gap: 18px; }
.podval-studiya .podval-kn { display: inline-flex; align-items: center; gap: 7px; }
.podval-kn svg { width: 16px; height: 16px; }

.uslugi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 18px; align-items: start; }
.uslugi-zag { grid-column: 1 / -1; margin-bottom: 0; }
.usl-gruppa { border-radius: var(--r); padding: 30px 32px 26px; background: var(--karta); box-shadow: 0 0 0 1px var(--liniya); }
.usl-gruppa h4 { font-family: var(--f-zag); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0 0 14px; }
.usl-ryad { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--liniya); font-size: 16.5px; }
.usl-ryad:last-child { border-bottom: 0; }
.usl-ryad span { flex: 0 1 auto; min-width: 0; }
.usl-ryad i { flex: 1 1 24px; border-bottom: 1px dotted rgba(255, 228, 206, .22); transform: translateY(-4px); min-width: 16px; }
.usl-ryad b { font-family: var(--f-shir); font-stretch: 118%; font-weight: 700; font-size: 17px; white-space: nowrap; }
.usl-snoska { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--tekst-3); max-width: 80ch; }
.usl-net { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 30px; border-radius: var(--r); background: linear-gradient(120deg, rgba(178, 107, 255, .10), rgba(32, 195, 177, .08)); box-shadow: 0 0 0 1px var(--liniya); }
.usl-net p { margin: 0; font-family: var(--f-zag); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; max-width: 36ch; }

.galereya { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 14px; }
.gal-kadr { position: relative; margin: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: #140D0B; box-shadow: 0 0 0 1px var(--liniya); }
.gal-kadr.vysokiy { grid-row: span 2; }
.gal-kadr.shirokiy { grid-column: span 2; }
.gal-kadr img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s; }
.gal-eshche { margin: 18px 0 0; }
@media (hover: hover) { .gal-kadr:hover img { transform: scale(1.045); } }
.gal-kadr figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 13.5px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.gal-kadr:hover figcaption, .gal-kadr:focus-visible figcaption { opacity: 1; transform: none; }

.kak { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; }
.kak-txt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.kak-txt p { margin: 0; font-size: 18px; color: var(--tekst-2); max-width: 58ch; }
.kak-foto, .kak-karta { position: relative; border-radius: var(--r); overflow: hidden; min-height: 380px; background: #140D0B; box-shadow: 0 0 0 1px var(--liniya); }
.kak-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kak-karta iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kak-karta .zaglushka { position: absolute; inset: 0; display: grid; place-items: center; color: var(--tekst-3); font-size: 14px; }

/* ─────────────────────────────── отзывы */
.otz-reytingi { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.reyting { display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 18px; border-radius: 22px; background: rgba(255, 243, 232, .035); box-shadow: inset 0 0 0 1px var(--liniya); }
.reyting b { font-family: var(--f-shir); font-stretch: 115%; font-size: 38px; font-weight: 700; line-height: 1; background: var(--grad-tekst); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reyting span { font-size: 13px; color: var(--tekst-2); line-height: 1.35; }
.reyting span i { display: block; font-style: normal; color: var(--tekst-3); }
.filtr { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 28px; }
.filtr button { border: 0; cursor: pointer; padding: 11px 18px; border-radius: 999px; background: rgba(255, 243, 232, .05); box-shadow: inset 0 0 0 1px var(--liniya); color: var(--tekst-2); font-family: var(--f-shir); font-stretch: 120%; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; transition: .35s; }
.filtr button:hover { color: var(--tekst); }
.filtr button.on { background: var(--tekst); color: #140C09; box-shadow: none; }
.otz-setka { columns: 3 300px; column-gap: 18px; }
.otz { position: relative; break-inside: avoid; margin: 0 0 18px; padding: 58px 28px 24px; border-radius: 28px; background: var(--karta); box-shadow: 0 0 0 1px var(--liniya); }
.otz::before { content: "“"; position: absolute; left: 24px; top: 8px; font-family: var(--f-zag); font-size: 84px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .7; pointer-events: none; }
.otz p { position: relative; margin: 0 0 20px; font-size: 16.5px; line-height: 1.62; overflow-wrap: anywhere; }
.otz footer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--tekst-3); }
.otz footer b { color: var(--tekst); font-weight: 600; font-size: 14.5px; }
.otz .metka-st { padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--liniya-2); font-family: var(--f-shir); font-stretch: 115%; font-size: 9.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--tekst-2); }
.otz-eshche { margin: 12px auto 0; display: flex; }
.otz-podskazka { display: none; margin: 4px 0 0; font-size: 13px; color: var(--tekst-3); }

/* ─────────────────────────────── вопросы */
.vopr-spisok { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; margin-top: 52px; }
.vopr { border-top: 1px solid var(--liniya); }
.vopr-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--f-zag); font-weight: 500; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.2; color: var(--tekst); }
.vopr-plus { position: relative; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--liniya-2); transition: transform .5s var(--ease), background .5s, box-shadow .5s; }
.vopr-plus::before, .vopr-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; }
.vopr-plus::after { transform: rotate(90deg); }
.vopr.otkryt .vopr-plus { transform: rotate(45deg); background: var(--grad); box-shadow: none; color: #1A0904; }
.vopr-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.vopr.otkryt .vopr-a { grid-template-rows: 1fr; }
.vopr-a > div { overflow: hidden; }
.vopr-a p { margin: 0 0 12px; padding-right: 60px; font-size: 17px; color: var(--tekst-2); }
.vopr-a p:last-child { margin-bottom: 28px; }

/* ─────────────────────────────── запись */
.zapis-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.zapis-kontakt { margin-top: 36px; display: grid; gap: 12px; }
#zapZag[hidden] + #zapPod[hidden] + .zapis-kontakt { margin-top: 18px; }
.kontakt-kart { padding: 22px 24px; border-radius: 24px; background: var(--karta); box-shadow: 0 0 0 1px var(--liniya); }
.kontakt-kart .nad { font-size: 10.5px; margin-bottom: 8px; }
.kontakt-kart h4 { font-family: var(--f-zag); font-weight: 500; font-size: 26px; margin: 0 0 4px; line-height: 1.1; }
.kontakt-kart p { margin: 0 0 14px; font-size: 15px; color: var(--tekst-2); }
.forma { position: relative; padding: clamp(22px, 3vw, 42px); border-radius: 36px; background: linear-gradient(160deg, rgba(255, 122, 26, .10), rgba(31, 163, 154, .05) 55%, transparent), var(--karta); box-shadow: 0 0 0 1px var(--liniya-2), 0 60px 140px -70px rgba(255, 122, 26, .45); }
.fld-gruppa { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.fld-gruppa legend { padding: 0; margin-bottom: 12px; font-family: var(--f-shir); font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tekst-3); }
.chipy { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--liniya-2); font-size: 15px; transition: background .3s, color .3s, box-shadow .3s; }
.chip span:hover { box-shadow: inset 0 0 0 1px rgba(255, 228, 206, .45); }
.chip input:checked + span { background: var(--tekst); color: #140C09; box-shadow: none; font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--solnce-2); outline-offset: 2px; }
.fld-ryad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.fld { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; min-width: 0; }
.fld > span { font-size: 13.5px; color: var(--tekst-2); }
.fld input, .fld textarea {
  width: 100%; min-width: 0; padding: 16px 18px; border-radius: 18px; border: 0;
  background: rgba(255, 243, 232, .05); box-shadow: inset 0 0 0 1px var(--liniya-2);
  color: var(--tekst); font-family: var(--f-tekst); font-size: 16px; line-height: 1.4;
  transition: box-shadow .3s, background .3s;
}
.fld input::placeholder, .fld textarea::placeholder { color: #7E6A5E; }
.fld input:focus, .fld textarea:focus { outline: 0; background: rgba(255, 243, 232, .08); box-shadow: inset 0 0 0 1.5px var(--solnce-2), 0 0 0 5px rgba(255, 122, 26, .14); }
.fld input.oshibka { box-shadow: inset 0 0 0 1.5px #FF5A4A; }
.fld textarea { resize: vertical; min-height: 96px; }
.forma .knopka-shir { margin-top: 8px; min-height: 62px; font-size: 14px; }
.forma-soglasie { margin: 14px 0 0; font-size: 12.5px; color: var(--tekst-3); line-height: 1.45; }
.forma-otvet { margin: 18px 0 0; padding: 16px 18px; border-radius: 18px; background: rgba(75, 224, 168, .1); box-shadow: inset 0 0 0 1px rgba(75, 224, 168, .35); font-size: 15px; }
.forma-otvet.ploho { background: rgba(255, 90, 74, .1); box-shadow: inset 0 0 0 1px rgba(255, 90, 74, .35); }

/* ─────────────────────────────── подвал */
.podval { --studii: 2; max-width: 1480px; margin: 0 auto; padding: clamp(70px, 10vh, 120px) var(--pole) 34px; }
/* логотип — над первой студией, девиз начинается ровно над второй (хозяйка 15.09) */
.podval-verh { display: grid; grid-template-columns: repeat(var(--studii), minmax(0, 1fr)); gap: 26px 28px; align-items: end; padding-bottom: 50px; border-bottom: 1px solid var(--liniya); }
.podval-logo { width: min(100%, 540px); height: auto; display: block; }
.podval-deviz { grid-column: 2 / -1; margin: 0; font-family: var(--f-zag); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.2; color: var(--tekst-2); max-width: 26ch; }
.podval-studii { display: grid; grid-template-columns: repeat(var(--studii), minmax(0, 1fr)); gap: 28px; padding: 44px 0; }
@media (max-width: 700px) {
  .podval-verh { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-bottom: 40px; }
  .podval-logo { width: 100%; max-width: 480px; }
  .podval-deviz { grid-column: auto; max-width: 30ch; }
  .podval-studii { grid-template-columns: minmax(0, 1fr); }
}
.podval-studiya .nad { font-size: 10.5px; margin-bottom: 12px; }
.podval-studiya h4 { font-family: var(--f-zag); font-weight: 500; font-size: 26px; margin: 0 0 8px; }
.podval-studiya p { margin: 0 0 6px; font-size: 15px; color: var(--tekst-2); }
.podval-studiya a { text-decoration: none; }
.podval-studiya a:hover { color: var(--solnce-1); }
.podval-niz { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 22px; border-top: 1px solid var(--liniya); font-size: 13px; color: var(--tekst-3); }
.podval-niz p { margin: 0; }
.podval-niz a { color: var(--tekst-2); }

/* ─────────────────────────────── видео «как в историях» */
.istoriya { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #050302; animation: poyavlenie .35s ease; }
.istoriya-fon { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(42px) saturate(1.4) brightness(.42); transform: scale(1.1); transition: background-image .4s; }
.istoriya-ramka { position: relative; height: min(92vh, 920px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 50px 160px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1); }
.istoriya-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.istoriya-polosy { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 4; display: flex; gap: 4px; }
.istoriya-polosy i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.istoriya-polosy b { position: absolute; inset: 0; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.istoriya-polosy i.proshlo b { transform: scaleX(1); }
.istoriya-shapka { position: absolute; top: 26px; left: 16px; right: 8px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.istoriya-studiya { font-family: var(--f-shir); font-stretch: 125%; font-weight: 700; font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.istoriya-zakryt { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.istoriya-nazad, .istoriya-vpered { position: absolute; top: 80px; bottom: 110px; z-index: 3; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.istoriya-nazad { left: 0; width: 34%; }
.istoriya-vpered { right: 0; width: 66%; }
.istoriya-niz { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 80px 18px calc(20px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.istoriya-podpis { margin: 0; font-family: var(--f-zag); font-weight: 500; font-size: 26px; line-height: 1.1; }
.istoriya.pauza .istoriya-polosy { opacity: .45; }

/* ─────────────────────────────── фото крупно */
.lupa { position: fixed; inset: 0; z-index: 210; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 20px; background: rgba(6, 4, 3, .95); animation: poyavlenie .3s ease; }
.lupa-kadr { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lupa-kadr img { max-width: 100%; max-height: calc(100svh - 110px); object-fit: contain; border-radius: 16px; }
.lupa-kadr figcaption { font-size: 15px; color: var(--tekst-2); text-align: center; }
.lupa-strelka, .lupa-zakryt { width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 243, 232, .08); color: var(--tekst); font-size: 30px; line-height: 1; cursor: pointer; }
.lupa-zakryt { position: absolute; top: 16px; right: 16px; }

/* ─────────────────────────────── планшет */
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: block; }
  .shapka-pravo { margin-left: auto; }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .studii-in { grid-template-columns: minmax(0, 1fr); }
  .karta-box { min-height: 560px; }
  .kalk { grid-template-columns: minmax(0, 1fr); }
  .kalk-itog { position: relative; top: 0; }
}

/* ─────────────────────────────── телефон */
@media (max-width: 820px) {
  :root { --shapka-h: 64px; --r: 26px; }
  body { font-size: 16px; }
  .logo { width: 124px; }
  .shapka-pravo .knopka-mal { display: none; }

  .hero { justify-content: flex-end; padding-bottom: 26px; min-height: 100svh; }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-reel { display: none; }
  .hero::before { display: none; }
  .hero-mob-fon { display: block; position: absolute; inset: 0; z-index: 0; background: #000; }
  .hero-mob-fon video, .hero-mob-fon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
  .hero-mob-fon .on { opacity: 1; }
  .hero-mob-fon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 7, 6, .55) 0%, rgba(11, 7, 6, .05) 26%, rgba(11, 7, 6, .35) 50%, rgba(11, 7, 6, .94) 78%, var(--fon) 100%); }
  .hero-txt { position: relative; z-index: 2; }
  .hero-h1 { font-size: clamp(38px, 11vw, 54px); margin: 16px 0 16px; }
  .hero-lead { font-size: 16px; margin-bottom: 22px; color: #EADBCF; }
  .hero-knopki .knopka { flex: 1 1 150px; min-height: 52px; padding: 0 16px; }
  .hero-studii { display: none; }
  .hero-kruzhki { position: relative; z-index: 2; display: flex; gap: 14px; overflow-x: auto; margin: 22px calc(-1 * var(--pole)) 0; padding: 4px var(--pole) 6px; scrollbar-width: none; }
  .hero-kruzhki::-webkit-scrollbar { display: none; }
  .kruzhok { flex: 0 0 auto; width: 74px; border: 0; padding: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 7px; }
  .kruzhok i { display: block; width: 68px; height: 68px; border-radius: 50%; padding: 2.5px; background: var(--grad); }
  .kruzhok i b { display: block; width: 100%; height: 100%; border-radius: 50%; background: #000 center / cover no-repeat; box-shadow: 0 0 0 2.5px var(--fon); }
  .kruzhok.smotrel i { background: rgba(255, 243, 232, .25); }
  .kruzhok span { font-size: 11px; line-height: 1.2; color: var(--tekst-2); text-align: center; }
  .hero-vniz { display: none; }

  .blok { padding-top: 84px; padding-bottom: 84px; }
  h2 { font-size: clamp(36px, 10vw, 50px); }

  .man-in { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .man-scena { display: none; }
  .man-punkt { grid-template-columns: 104px minmax(0, 1fr); gap: 0 16px; padding: 22px 0; opacity: 1; }
  .man-punkt::before { display: none; }
  .man-mini { display: block; grid-row: 1 / span 3; position: relative; width: 104px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 40px -20px var(--k-svet); align-self: start; }
  .man-mini video, .man-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .man-punkt h3 { font-size: 26px; margin-bottom: 8px; }
  .man-punkt p { font-size: 15.5px; }
  .man-punkt .gde { margin-top: 10px; font-size: 9.5px; }
  .man-itog { margin-top: 44px; }

  .karta-box { min-height: 0; aspect-ratio: 4 / 5; }
  .studiya-telo { padding: 0 20px 22px; }
  .studiya-chasy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .studiya-chasy b { font-size: 14.5px; font-stretch: 100%; white-space: nowrap; }
  .studiya-kn { flex: 1 1 auto; justify-content: center; }

  .vnutri-shapka { padding-top: 10px; padding-bottom: 12px; }
  .vnutri-shapka.lipnet .vnutri-shapka-txt { display: none; }
  .lenta-kart { width: 56vw; max-width: 250px; }
  .apparat { grid-template-columns: 64px minmax(0, 1fr); padding: 10px 16px 10px 10px; gap: 14px; }
  .apparat img { width: 64px; height: 64px; }
  .apparat h4 { font-size: 19px; }
  .apparat-txt small { font-size: 12.5px; }
  .apparat .cena { grid-column: 2; text-align: left; font-size: 19px; }
  .apparat .cena small { display: inline; margin: 0 0 0 6px; }
  .kalk-box { padding: 22px 20px 22px; }
  .kalk-foto { display: none; }
  .kalk-box .knopka, .knopka-shir { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 20px; letter-spacing: .06em; }
  .usl-gruppa { padding: 24px 20px 18px; }
  .galereya { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 10px; }
  .gal-kadr { border-radius: 16px; }
  .gal-kadr.shirokiy { grid-column: span 2; }
  .gal-kadr figcaption { opacity: 1; transform: none; font-size: 12px; padding: 30px 10px 9px; }
  .kak { grid-template-columns: minmax(0, 1fr); }
  .kak-foto, .kak-karta { min-height: 300px; }

  .otz-setka { columns: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--pole)); padding: 4px var(--pole) 14px; scrollbar-width: none; align-items: stretch; }
  .otz-setka::-webkit-scrollbar { display: none; }
  .otz { flex: 0 0 84vw; margin: 0; scroll-snap-align: center; }
  .otz-eshche { display: none !important; }
  .otz-podskazka { display: block; }
  .vopr-spisok { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .vopr-a p { padding-right: 0; }
  .zapis-in { grid-template-columns: minmax(0, 1fr); }
  .forma { border-radius: 28px; }

  .istoriya-ramka { width: 100vw; height: 100svh; max-width: none; aspect-ratio: auto; border-radius: 0; }
  .lupa { grid-template-columns: minmax(0, 1fr); padding: 60px 10px 20px; }
  .lupa-strelka { position: absolute; bottom: 16px; }
  .lupa-nazad { left: calc(50% - 64px); } .lupa-vpered { right: calc(50% - 64px); }
  .lupa-kadr img { max-height: calc(100svh - 170px); }
}

@media (max-width: 520px) {
  .fld-ryad { grid-template-columns: minmax(0, 1fr); }
  .demo { font-size: 12px; justify-content: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .poyav { opacity: 1; transform: none; }
  .slovo > i { transform: none; }
}

/* ─────────────────────────────── услуги и цены (14.09: «с главной сразу на услугу») */
.procedury { padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(56px, 9vh, 110px); }
.pr-setka { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.pr-kart {
  --k-svet: #FF7A1A;
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 520px;
  border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--tekst); background: #120B09;
  box-shadow: 0 0 0 1px var(--liniya), 0 40px 90px -60px color-mix(in srgb, var(--k-svet) 85%, transparent);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pr-media { position: absolute; inset: 0; z-index: -1; background: #000; }
.pr-media img, .pr-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; }
.pr-media video { opacity: 0; }
.pr-kart.igraet .pr-media video { opacity: 1; }
.pr-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 7, 6, 0) 0%, rgba(11, 7, 6, .18) 38%, rgba(11, 7, 6, .9) 74%, rgba(11, 7, 6, .98) 100%); }
.pr-txt { margin-top: auto; display: flex; flex-direction: column; gap: 9px; padding: 22px; }
.pr-gde { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-shir); font-stretch: 120%; font-weight: 600; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 243, 232, .78); }
.pr-gde::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; background: var(--k-svet); box-shadow: 0 0 12px var(--k-svet); }
.pr-name { font-family: var(--f-zag); font-weight: 500; font-size: clamp(28px, 2.3vw, 38px); line-height: 1.02; letter-spacing: -.02em; }
.pr-kratko { font-size: 14.5px; line-height: 1.45; color: var(--tekst-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.45em * 3); }
.pr-niz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 228, 206, .14); }
.pr-cena { font-family: var(--f-shir); font-stretch: 115%; font-weight: 700; font-size: 17px; white-space: nowrap; }
.pr-cena sup, .usl-cena sup, .usluga-niz-cena sup { font-size: .62em; line-height: 0; margin-left: 2px; color: var(--solnce-1); }
.pr-strelka, .man-dalee, .usl-podrobnee { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-shir); font-stretch: 120%; font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--solnce-1); white-space: nowrap; }
.pr-strelka i, .man-dalee i, .usl-podrobnee i { font-style: normal; font-family: var(--f-tekst); font-size: 16px; transition: transform .4s var(--ease); }
@media (hover: hover) {
  .pr-kart:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--k-svet) 60%, transparent), 0 50px 110px -46px var(--k-svet); }
  .pr-kart:hover .pr-media img { transform: scale(1.05); }
  .pr-kart:hover .pr-strelka i, .man-punkt:hover .man-dalee i, .usl-podrobnee:hover i { transform: translateX(4px); }
}
.man-punkt[data-procedura] .man-dalee { grid-column: 2; margin-top: 14px; }
.usl-podrobnee { border: 0; background: none; padding: 0; margin: -4px 0 10px; cursor: pointer; }

/* меню: процедуры с ценой «от» */
.menu-mob-ssylki a { align-items: center; font-size: clamp(26px, 7.4vw, 40px); padding: 11px 0; }
.menu-mob-ssylki a b { font-weight: 500; }
.menu-mob-ssylki a em { margin-left: auto; padding-left: 12px; font-style: normal; font-family: var(--f-shir); font-stretch: 115%; font-weight: 700; font-size: 11px; letter-spacing: .06em; color: var(--solnce-1); white-space: nowrap; }
.mob-studiya .mob-adres { margin: 0 0 8px; font-size: 14px; line-height: 1.35; color: var(--tekst-2); }
.kruzhok i { background: conic-gradient(from 210deg, var(--k-svet, #FF7A1A), #FFB547, var(--k-svet, #FF7A1A)); }
.kruzhok-video i { background: rgba(255, 243, 232, .28); }

/* кнопки в историях */
.istoriya-kn { display: flex; gap: 8px; }
.istoriya-kn .knopka { flex: 1 1 auto; min-width: 0; padding: 0 14px; letter-spacing: .06em; white-space: normal; text-align: center; line-height: 1.2; }
.istoriya-kn .knopka.prizrak { background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ─────────────────────────────── страница процедуры */
.usluga { --k-svet: #FF7A1A; position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; }
.usluga-fon { position: absolute; inset: 0; background: rgba(6, 4, 3, .74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: poyavlenie .35s ease; }
.usluga-okno {
  position: relative; width: min(1180px, calc(100vw - 48px)); height: min(92vh, 940px);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border-radius: 32px;
  background: radial-gradient(90% 60% at 20% 0%, color-mix(in srgb, var(--k-svet) 16%, transparent), transparent 70%), var(--fon-2);
  box-shadow: 0 0 0 1px var(--liniya-2), 0 70px 180px rgba(0, 0, 0, .85);
  animation: uslVhod .55s var(--ease);
}
@keyframes uslVhod { from { opacity: 0; transform: translateY(36px) scale(.985); } }
.usluga-shapka { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--liniya); background: rgba(18, 11, 9, .82); }
.usluga-vkladki { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.usluga-vkladki::-webkit-scrollbar { display: none; }
.usl-vkladka {
  flex: 0 0 auto; border: 0; cursor: pointer; padding: 11px 18px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 243, 232, .05); box-shadow: inset 0 0 0 1px var(--liniya); color: var(--tekst-2);
  font-family: var(--f-shir); font-stretch: 120%; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s, box-shadow .4s;
}
.usl-vkladka:hover { color: var(--tekst); }
.usl-vkladka.on { background: var(--grad); color: #1A0904; box-shadow: 0 10px 30px -12px rgba(255, 122, 26, .7); }
.usluga-zakryt { flex: 0 0 auto; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 243, 232, .08); color: var(--tekst); font-size: 30px; line-height: 1; }
.usluga-telo { overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: start; padding: 28px 40px 44px 28px; }
.usluga-media {
  position: sticky; top: 0; aspect-ratio: 9 / 16; max-height: calc(92vh - 190px); border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 130px -50px color-mix(in srgb, var(--k-svet) 90%, transparent);
}
.usluga-media video, .usluga-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.usluga-kontent { min-width: 0; animation: smena .6s var(--ease); }
.usl-h2 { font-family: var(--f-zag); font-weight: 500; font-size: clamp(42px, 4.6vw, 72px); line-height: .98; letter-spacing: -.03em; margin: 14px 0 16px; }
.usl-kratko { margin: 0 0 18px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; color: var(--tekst); max-width: 44ch; }
.usl-opis p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.6; color: var(--tekst-2); max-width: 62ch; }
.usl-h3 { font-family: var(--f-zag); font-weight: 500; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; margin: 38px 0 16px; }
.usl-skidka { margin: -4px 0 16px; }
.usl-studiya { margin: 0 0 14px; padding: 20px 22px 18px; border-radius: 24px; background: var(--karta); box-shadow: 0 0 0 1px var(--liniya); }
.usl-studiya-shapka { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 18px; padding-bottom: 12px; border-bottom: 1px solid var(--liniya); }
.usl-studiya-shapka .nad { font-size: 10.5px; }
.usl-studiya-shapka h4 { margin: 6px 0 0; font-family: var(--f-zag); font-weight: 500; font-size: 26px; line-height: 1.1; }
.usl-adres { margin: 0; font-size: 14px; line-height: 1.45; color: var(--tekst-2); text-align: right; }
.usl-cena-ryad { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--liniya); }
.usl-cena-ryad:last-child { border-bottom: 0; }
.usl-cena-imya b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.usl-cena-imya small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--tekst-3); }
.usl-cena { text-align: right; white-space: nowrap; }
.usl-cena b { font-family: var(--f-shir); font-stretch: 115%; font-weight: 700; font-size: 20px; }
.usl-cena small { display: block; margin-top: 2px; font-family: var(--f-shir); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tekst-3); }
.usl-cena .net { font-family: var(--f-shir); font-stretch: 115%; font-weight: 700; font-size: 13px; color: var(--tekst-2); }
.usl-studiya-kn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.usl-svyaz { display: inline-flex; gap: 8px; margin-left: auto; }
.usl-ikonka { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 243, 232, .07); box-shadow: inset 0 0 0 1px var(--liniya-2); color: var(--tekst); }
.usl-ikonka svg { width: 19px; height: 19px; }
.usl-list-snoska { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--tekst-3); max-width: 70ch; }
.usl-net-ceny { font-size: 16px; color: var(--tekst-2); }
.usl-lenta { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.usl-lenta::-webkit-scrollbar { display: none; }
.usl-media-kart { position: relative; flex: 0 0 auto; width: 150px; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: #000 center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.usl-media-kart.foto { aspect-ratio: 3 / 4; width: 170px; }
.usl-media-kart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .78)); }
.usl-media-kart .klip-igrat { right: 10px; bottom: auto; top: 10px; width: 34px; height: 34px; }
.usl-media-podpis { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; text-align: left; font-size: 12.5px; line-height: 1.25; color: #fff; }
.usl-otzyvy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.usl-otz { margin: 0; padding: 20px 20px 16px; border-radius: 22px; background: var(--karta); box-shadow: 0 0 0 1px var(--liniya); }
.usl-otz p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.usl-otz footer { font-size: 12.5px; color: var(--tekst-3); }
.usl-otz footer b { color: var(--tekst); font-weight: 600; }
.usluga-niz { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--liniya); background: rgba(18, 11, 9, .9); }
.usluga-niz-cena { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.usluga-niz .kn-korotko { display: none; }
.usluga-niz-cena b { font-family: var(--f-shir); font-stretch: 115%; font-weight: 700; font-size: 18px; white-space: nowrap; }
.usluga-niz-cena span { font-size: 13px; color: var(--tekst-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1100px) {
  .pr-setka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-kart { min-height: 460px; }
  .usluga-telo { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; padding: 22px 26px 36px 22px; }
  .usl-otzyvy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .procedury { padding-top: 64px; padding-bottom: 56px; }
  .pr-setka { gap: 10px; margin-top: 26px; }
  .pr-kart { min-height: 0; aspect-ratio: 3 / 4.25; border-radius: 22px; }
  .pr-txt { padding: 13px 13px 14px; gap: 5px; }
  .pr-gde { font-size: 8.5px; letter-spacing: .1em; gap: 6px; }
  .pr-gde::before { width: 6px; height: 6px; }
  .pr-name { font-size: 23px; }
  .pr-kratko { display: none; }
  .pr-niz { flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 3px; padding-top: 9px; }
  .pr-cena { font-size: 14.5px; }
  .pr-strelka { font-size: 9px; letter-spacing: .08em; }
  .man-punkt[data-procedura] .man-dalee { margin-top: 10px; font-size: 9.5px; }

  .usluga-okno { width: 100vw; height: 100svh; border-radius: 0; animation: uslVhodMob .45s var(--ease); }
  @keyframes uslVhodMob { from { opacity: 0; transform: translateY(24px); } }
  .usluga-shapka { padding: 10px 10px 10px 12px; }
  .usl-vkladka { padding: 10px 14px; font-size: 10px; }
  .usluga-shapka { padding-left: 0; }
  .usluga-vkladki::after { content: ""; flex: 0 0 16px; }
  .usluga-vkladki { padding-left: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 22px), transparent); }
  .usluga-zakryt { width: 42px; height: 42px; }
  .usluga-telo { display: block; padding: 0 0 26px; }
  .usluga-media { position: relative; aspect-ratio: auto; height: min(56svh, 460px); max-height: none; border-radius: 0; box-shadow: none; }
  .usluga-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--fon-2)); }
  .usluga-kontent { position: relative; margin-top: -54px; padding: 0 16px; }
  .usl-h2 { font-size: clamp(38px, 11vw, 52px); margin: 10px 0 12px; }
  .usl-kratko { font-size: 17.5px; }
  .usl-opis p { font-size: 15.5px; }
  .usl-h3 { margin-top: 30px; }
  .usl-studiya { padding: 16px 16px 14px; border-radius: 20px; }
  .usl-adres { text-align: left; }
  .usl-cena b { font-size: 18px; }
  .usl-studiya-kn .knopka { flex: 1 1 140px; }
  .usl-svyaz { margin-left: 0; width: 100%; justify-content: flex-start; }
  .usl-otzyvy { grid-template-columns: minmax(0, 1fr); }
  .usluga-niz { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .usluga-niz .knopka { min-height: 50px; padding: 0 18px; font-size: 11.5px; flex: 0 1 auto; white-space: normal; text-align: center; line-height: 1.2; }
  .usluga-niz-cena b { font-size: 16px; }
}
@media (max-width: 420px) {
  .istoriya-kn .knopka { padding: 0 10px; font-size: 10px; letter-spacing: .04em; }
}
/* ─────────────────────────────── 15.09: полный прайс и памятки — листок поверх сайта */
.usl-polnyy { margin-top: 16px; }
.usl-pamyatka { display: flex; margin: 6px 0 12px; white-space: normal; text-align: left; }
.pam-setka { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 44px; }
.pam-kart {
  --k-svet: #FFB23E;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 240px; padding: 26px 26px 24px;
  border: 0; border-radius: var(--r); cursor: pointer; text-align: left; color: var(--tekst); font: inherit;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--k-svet) 16%, transparent), transparent 62%), var(--karta);
  box-shadow: 0 0 0 1px var(--liniya);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1.1s var(--ease);
}
.pam-zag { font-family: var(--f-zag); font-weight: 500; font-size: clamp(24px, 2vw, 31px); line-height: 1.1; letter-spacing: -.01em; }
.pam-kratko { font-size: 15px; line-height: 1.5; color: var(--tekst-2); }
.pam-kart .pr-strelka { margin-top: auto; padding-top: 6px; }
@media (hover: hover) {
  .pam-kart.vidno:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--k-svet) 55%, transparent), 0 40px 90px -50px var(--k-svet); }
  .pam-kart:hover .pr-strelka i { transform: translateX(4px); }
}
.listok { --k-svet: #FF7A1A; position: fixed; inset: 0; z-index: 205; display: grid; place-items: center; }
.listok-fon { position: absolute; inset: 0; background: rgba(6, 4, 3, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: poyavlenie .3s ease; }
.listok-okno {
  position: relative; width: min(680px, calc(100vw - 32px)); max-height: min(88vh, 900px);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border-radius: 28px;
  background: radial-gradient(90% 50% at 10% 0%, color-mix(in srgb, var(--k-svet) 14%, transparent), transparent 70%), var(--fon-2);
  box-shadow: 0 0 0 1px var(--liniya-2), 0 60px 160px rgba(0, 0, 0, .85);
  animation: uslVhod .45s var(--ease);
}
.listok-shapka { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 16px 16px 28px; border-bottom: 1px solid var(--liniya); }
.listok-shapka .nad { font-size: 10.5px; letter-spacing: .14em; }
.listok-zag { margin: 8px 0 0; font-family: var(--f-zag); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
.listok-telo { overflow-y: auto; overscroll-behavior: contain; padding: 6px 28px 24px; }
.listok-razdel h4 { margin: 24px 0 2px; font-family: var(--f-shir); font-stretch: 120%; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--solnce-1); }
.listok-razdel .usl-ryad span { overflow-wrap: anywhere; }
.listok-tekst p { margin: 16px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--tekst-2); }
.listok-tekst ol, .listok-tekst ul { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: punkt; display: grid; gap: 14px; }
.listok-tekst li { position: relative; padding-left: 46px; font-size: 16px; line-height: 1.55; color: var(--tekst-2); counter-increment: punkt; }
.listok-tekst li b { color: var(--tekst); font-weight: 600; }
.listok-tekst ol > li::before { content: counter(punkt); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--k-svet) 20%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k-svet) 55%, transparent); font-family: var(--f-shir); font-weight: 700; font-size: 12px; color: var(--tekst); }
.listok-tekst ul > li::before { content: ""; position: absolute; left: 12px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--k-svet); }
.listok-niz { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 28px; border-top: 1px solid var(--liniya); background: rgba(18, 11, 9, .6); }
.listok-snoska { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--tekst-3); }
.listok-niz .knopka { flex: 0 0 auto; margin-left: auto; }
@media (max-width: 820px) {
  .listok { place-items: end stretch; }
  .listok-okno { width: 100vw; max-height: 92svh; border-radius: 26px 26px 0 0; animation: uslVhodMob .4s var(--ease); }
  .listok-shapka { padding: 18px 10px 14px 18px; }
  .listok-telo { padding: 4px 18px 20px; }
  .listok-niz { padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) 18px; }
  .listok-snoska { font-size: 11.5px; }
  .pam-setka { margin-top: 28px; gap: 10px; }
  .pam-kart { min-height: 0; padding: 22px 20px 20px; }
}

@media (max-width: 560px) {
  .usluga-niz { gap: 10px; }
  .usluga-niz-cena { flex: 0 0 auto; max-width: 60%; }
  .usluga-niz-cena b { white-space: normal; }
  .usluga-niz .knopka { flex: 0 1 auto; min-width: 0; padding: 0 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .08em; }
  .usluga-niz .kn-polno { display: none; }
  .usluga-niz .kn-korotko { display: inline; }
}
