/* ==========================================================================
   Промо-сайт интегратора домашних кинотеатров
   Токены — в :root. Акцент (--gold) используется только для света,
   активных состояний и главных CTA.
   ========================================================================== */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-cyrillic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-cyrillic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-cyrillic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-cyrillic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #0A0A0B;
  --bg: #0A0A0B;
  --bg-2: #0F1012;
  --surface: #141518;
  --surface-2: #1C1D21;
  --surface-3: #25272C;
  --line: #26282D;
  --line-2: #393B41;
  --text: #F2EEE6;
  --text-2: #BDB6AA;
  --text-3: #8C867C;
  --gold: #C8A15A;
  --gold-hi: #E2BF7C;
  --gold-soft: rgba(200, 161, 90, .13);
  --copper: #B87333;
  --ivory: #F2EEE6;
  --ok: #8DB38D;
  --err: #E08A72;

  --f-display: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --sec: clamp(72px, 9vw, 136px);
  --r: 16px;
  --r-s: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--f-body); overflow-x: hidden; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(200, 161, 90, .5); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 650; letter-spacing: -.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 80px); letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(20px, 1.8vw, 24px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #111; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec) 0; position: relative; }
.section.tight { padding: calc(var(--sec) * .6) 0; }
.section.alt { background: var(--bg-2); }
.section.line { border-top: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--text-2); max-width: 64ch; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.mono { font-family: var(--f-mono); }
.gold { color: var(--gold); }
.center { text-align: center; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head p { color: var(--text-2); margin: 0; max-width: 56ch; }
.sec-head.single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 600 15px/1.2 var(--f-body); text-decoration: none; transition: background .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn:hover { border-color: var(--text-2); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #17130B; }
.btn-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #17130B; }
.btn-light { background: var(--ivory); border-color: var(--ivory); color: #111; }
.btn-light:hover { background: #fff; color: #111; }
.btn-s { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); text-decoration: none; font-weight: 500; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ── Header ── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.solid, .site-header.menu-open { background: rgba(10, 10, 11, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text b { font: 750 18px/1.1 var(--f-display); letter-spacing: -.01em; }
.logo-text small { font-size: 11px; color: var(--text-3); letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav > a, .nav-drop > button { color: var(--text-2); text-decoration: none; font-size: 15px; padding: 8px 11px; white-space: nowrap; border-radius: 8px; background: none; border: 0; display: inline-flex; align-items: center; gap: 6px; }
.main-nav > a:hover, .nav-drop > button:hover, .main-nav > a[aria-current="page"] { color: var(--text); }
.main-nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.nav-drop .menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 260px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; display: none; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.nav-drop.open .menu { display: grid; }
.nav-drop .menu a { padding: 9px 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav-drop .menu a:hover { background: var(--surface-2); color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; color: var(--text-2); text-decoration: none; font: 600 12px var(--f-mono); }
.icon-btn:hover { color: var(--text); border-color: var(--text-3); }
.icon-btn svg { width: 18px; height: 18px; }
.header-phone { font: 600 15px var(--f-body); text-decoration: none; white-space: nowrap; color: var(--text); }
.burger { display: none; }
@media (max-width: 1440px) { .header-phone { display: none; } }
@media (max-width: 1200px) {
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 40px; overflow-y: auto; display: none; gap: 0; margin: 0; }
  .menu-open .main-nav { display: flex; }
  .main-nav > a, .nav-drop > button { font-size: 20px; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; }
  .main-nav > a[aria-current="page"] { box-shadow: none; color: var(--gold-hi); }
  .nav-drop .menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 4px 0 10px 12px; min-width: 0; }
  .nav-drop .menu a { font-size: 16px; }
  .burger { display: grid; margin-left: auto; }
  .header-tools .btn { display: none; }
  .header-tools { margin-left: 0; }
}
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
body.no-scroll { overflow: hidden; }

/* ── Hero (главная) ── */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--header-h) + 60px) 0 clamp(48px, 7vw, 96px); isolation: isolate; }
.hero-scene { position: absolute; inset: 0; z-index: -1; }
.hero-scene .layer { position: absolute; inset: -4%; will-change: transform; }
.hero-scene .layer > img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 11, .97) 0%, rgba(10, 10, 11, .85) 40%, rgba(10, 10, 11, .15) 72%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); pointer-events: none; }
.hero > .wrap { width: 100%; }
.hero .content { max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin: 26px 0 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-2); max-width: 680px; }
.hero-facts div { display: grid; }
.hero-facts b { font: 700 26px/1.1 var(--f-display); }
.hero-facts span { color: var(--text-3); font-size: 14px; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 36px; font: 500 11px var(--f-mono); letter-spacing: .2em; color: var(--text-3); writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; }
.scroll-cue::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@media (max-width: 760px) { .scroll-cue { display: none; } .hero-shade { background: linear-gradient(0deg, rgba(10, 10, 11, .98) 0%, rgba(10, 10, 11, .78) 48%, rgba(10, 10, 11, .25) 100%); } }

/* Нарисованная сцена кинозала (заглушка до фото) */
.art-room { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 66% 38%, rgba(200, 161, 90, .16), transparent 70%), linear-gradient(180deg, #0c0c0e 0%, #121216 60%, #08080a 100%); overflow: hidden; }
.art-room .stars { position: absolute; inset: 0 0 55% 0; background-image: radial-gradient(1px 1px at 12% 20%, #fff8 50%, transparent), radial-gradient(1px 1px at 28% 8%, #fff6 50%, transparent), radial-gradient(1.5px 1.5px at 44% 26%, #fff9 50%, transparent), radial-gradient(1px 1px at 58% 12%, #fff5 50%, transparent), radial-gradient(1px 1px at 72% 30%, #fff7 50%, transparent), radial-gradient(1.5px 1.5px at 84% 10%, #fff8 50%, transparent), radial-gradient(1px 1px at 93% 24%, #fff5 50%, transparent), radial-gradient(1px 1px at 36% 36%, #fff4 50%, transparent), radial-gradient(1px 1px at 66% 4%, #fff6 50%, transparent), radial-gradient(1px 1px at 20% 38%, #fff4 50%, transparent); animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .55; } }
.art-room .screen { position: absolute; left: 55%; right: 5%; top: 22%; aspect-ratio: 2.35 / 1; border-radius: 3px; background: linear-gradient(180deg, #f3d9a2 0%, #e2a861 38%, #a35f2c 70%, #3d2615 100%); box-shadow: 0 0 120px 20px rgba(226, 168, 97, .28), 0 0 24px rgba(242, 217, 162, .45); }
.art-room .screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, transparent, rgba(30, 18, 10, .7)), radial-gradient(ellipse 40% 60% at 30% 100%, #2d1b0e, transparent 70%), radial-gradient(ellipse 50% 70% at 75% 100%, #241509, transparent 70%); }
.art-room .wall-glow { position: absolute; left: 34%; right: 0; top: 10%; bottom: 30%; background: radial-gradient(ellipse at 60% 40%, rgba(184, 115, 51, .2), transparent 60%); }
.art-room .diffusers { position: absolute; left: 4%; width: 22%; top: 18%; bottom: 36%; background: repeating-linear-gradient(90deg, rgba(184, 115, 51, .35) 0 6px, transparent 6px 14px); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); opacity: .5; }
.art-room .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, #0b0b0d, #050506); }
.art-beam { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(255, 240, 210, .16) 0%, rgba(255, 240, 210, .05) 40%, transparent 70%); clip-path: polygon(30% 0, 46% 0, 96% 28%, 96% 56%); filter: blur(10px); mix-blend-mode: screen; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .7; } }
.art-seats { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; }
.art-seats svg { position: absolute; bottom: 0; width: 100%; height: 100%; }
canvas.dust { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; pointer-events: none; }

/* ── Слоты изображений ── */
.slot { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface); aspect-ratio: var(--ratio, 16 / 9); isolation: isolate; }
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); z-index: 1; }
.slot.has-img > img { opacity: 1; }
.slot.has-img > .art { opacity: 0; }
.slot > .art { position: absolute; inset: 0; transition: opacity .6s; }
.slot-badge { position: absolute; z-index: 3; right: 10px; top: 10px; font: 500 11px var(--f-mono); color: var(--text-2); background: rgba(10, 10, 11, .72); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; text-decoration: none; backdrop-filter: blur(6px); }
.slot-badge:hover { color: var(--gold-hi); border-color: var(--gold); }
.slot.has-img .slot-badge { display: none; }
.viz-label { position: absolute; z-index: 3; left: 12px; bottom: 12px; font: 500 11px var(--f-mono); color: var(--text-2); background: rgba(10, 10, 11, .65); padding: 3px 8px; border-radius: 6px; letter-spacing: .04em; }

/* Варианты нарисованных заглушек */
.art.a-object { background: radial-gradient(circle at 50% 42%, rgba(226, 191, 124, .22), transparent 38%), radial-gradient(ellipse at 50% 100%, #000, transparent 60%), linear-gradient(160deg, #1d1e22, #0d0d10); }
.art.a-object::before { content: ""; position: absolute; left: 50%; top: 42%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 22%; background: linear-gradient(145deg, #3a3b40, #141518 60%); box-shadow: inset 2px 2px 0 rgba(242, 217, 162, .25), 0 30px 60px rgba(0, 0, 0, .6); transition: box-shadow .4s, background .4s; }
.art.a-macro { background: radial-gradient(ellipse at 70% 40%, rgba(226, 168, 97, .32), transparent 60%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px), #141416; }
.art.a-diagram { background: radial-gradient(ellipse at 60% 40%, rgba(200, 161, 90, .1), transparent 60%), repeating-linear-gradient(0deg, rgba(200, 161, 90, .07) 0 1px, transparent 1px 32px), repeating-linear-gradient(90deg, rgba(200, 161, 90, .07) 0 1px, transparent 1px 32px), #111215; }
.art.a-concrete { background: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, .12), transparent 50%), repeating-linear-gradient(90deg, rgba(0, 0, 0, .25) 0 2px, transparent 2px 120px), linear-gradient(180deg, #5b5c5e, #3c3d40 60%, #2a2b2d); }
.art.a-concrete::after { content: ""; position: absolute; left: 50%; top: 14%; width: 10px; height: 10px; border-radius: 50%; background: #fff6d8; box-shadow: 0 0 40px 18px rgba(255, 246, 216, .3); }
.art.a-day { background: linear-gradient(90deg, #cfd6da 0 22%, transparent 22%), linear-gradient(180deg, #8d8a84, #6e6a63 60%, #4a4640); }
.art.a-rack { background: repeating-linear-gradient(180deg, #1b1c20 0 22px, #0f1012 22px 26px), #0f1012; }
.art.a-rack::before { content: ""; position: absolute; left: 30%; right: 30%; top: 6%; bottom: 6%; border: 1px solid #333; background: repeating-linear-gradient(180deg, transparent 0 30px, rgba(226, 168, 97, .7) 30px 32px, transparent 32px 34px) 92% 0 / 6px 100% no-repeat, repeating-linear-gradient(180deg, #1d1e22 0 30px, #08080a 30px 34px); }
.art.a-plan { background: linear-gradient(135deg, #3a2a1c, #1e150e); }
.art.a-plan::before { content: ""; position: absolute; inset: 14% 18%; background: #e9e3d6; transform: rotate(-4deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); background-image: repeating-linear-gradient(0deg, rgba(60, 60, 60, .12) 0 1px, transparent 1px 18px), repeating-linear-gradient(90deg, rgba(60, 60, 60, .12) 0 1px, transparent 1px 18px); }
.art.a-plan::after { content: ""; position: absolute; left: 40%; top: 34%; width: 22%; height: 28%; border: 2px solid var(--gold); transform: rotate(-4deg); }
.art.a-exterior { background: radial-gradient(ellipse at 50% 70%, rgba(226, 168, 97, .35), transparent 40%), linear-gradient(180deg, #1a1c24 0%, #101116 60%, #1b1a18 100%); }
.art.a-exterior::before { content: ""; position: absolute; left: 38%; width: 24%; top: 34%; bottom: 22%; background: linear-gradient(180deg, rgba(242, 200, 140, .55), rgba(184, 115, 51, .3)); border: 3px solid #6a4b2a; }

/* Сцена кинозала в слоте */
.art.a-room .screen { top: 18%; left: 22%; right: 22%; }
.art.a-room .diffusers { display: none; }

/* ── Карточки ── */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); }
.card:hover { border-color: var(--line-2); }
.card .slot { border-radius: 0; }
.card-body { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--text-2); margin: 0; font-size: 15px; }
.card-body .meta { font: 500 12px var(--f-mono); color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); color: inherit; }

.svc-card .slot { aspect-ratio: 4 / 3; }
.svc-card .slot .art.a-object { filter: brightness(.6); transition: filter .5s var(--ease); }
.svc-card:hover .slot .art.a-object, .svc-card:focus-visible .slot .art.a-object { filter: brightness(1.15); }
.svc-card:hover .art.a-object::before { box-shadow: inset 2px 2px 0 rgba(242, 217, 162, .45), 0 0 50px rgba(226, 191, 124, .35); }
.svc-card .num { font: 500 12px var(--f-mono); color: var(--gold); }

.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--f-mono); color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Айсберг ── */
.iceberg { position: relative; }
.iceberg-stage { height: 260vh; position: relative; }
.iceberg-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.iceberg-copy .counter { font: 750 clamp(64px, 9vw, 128px)/1 var(--f-display); letter-spacing: -.04em; color: var(--gold); }
.iceberg-copy .counter small { font-size: .35em; color: var(--text-3); letter-spacing: 0; margin-left: 8px; font-weight: 500; }
.iceberg-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.iceberg-steps li { color: var(--text-3); padding-left: 18px; position: relative; transition: color .4s; font-size: 16px; }
.iceberg-steps li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--text-3); transition: all .4s; }
.iceberg-steps li.on { color: var(--text); }
.iceberg-steps li.on::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px var(--gold); }
.iceberg-figure { position: relative; aspect-ratio: 16 / 10; }
.iceberg-figure svg { width: 100%; height: 100%; overflow: visible; }
.iceberg-figure .st { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.iceberg-figure[data-step="1"] .st2, .iceberg-figure[data-step="1"] .st3, .iceberg-figure[data-step="1"] .st4,
.iceberg-figure[data-step="2"] .st3, .iceberg-figure[data-step="2"] .st4,
.iceberg-figure[data-step="3"] .st4 { opacity: 0; transform: translateY(14px); }
.iceberg-figure .hotspot { opacity: 0; pointer-events: none; transition: opacity .4s; }
.iceberg-figure[data-step="4"] .hotspot { opacity: 1; pointer-events: auto; }
.iceberg-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; margin-top: 28px; max-width: 420px; background: var(--surface-3); }
.iceberg-bar span:first-child { width: 40%; background: var(--ivory); }
.iceberg-bar span:last-child { width: 60%; background: var(--gold); transform-origin: left; transform: scaleX(var(--hidden, 0)); transition: transform .5s var(--ease); }
.iceberg-legend { display: flex; gap: 24px; margin-top: 10px; font-size: 13px; color: var(--text-3); }
.iceberg-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 900px) {
  .iceberg-stage { height: auto; }
  .iceberg-sticky { position: static; height: auto; grid-template-columns: minmax(0, 1fr); }
  .iceberg-figure .st { opacity: 1 !important; transform: none !important; }
  .iceberg-figure .hotspot { opacity: 1; pointer-events: auto; }
}

/* ── Hotspots ── */
.hs-wrap { position: relative; }
.hs { position: absolute; z-index: 4; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 0; background: var(--gold); color: #17130B; font: 700 12px var(--f-mono); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(200, 161, 90, .6); animation: pulse 2.6s infinite; padding: 0; }
.hs[aria-expanded="true"] { background: var(--ivory); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 161, 90, .55); } 70% { box-shadow: 0 0 0 14px rgba(200, 161, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 161, 90, 0); } }
.hs-pop { position: absolute; z-index: 6; width: min(280px, 70vw); background: rgba(16, 17, 20, .97); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.5; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.hs-pop b { display: block; font-family: var(--f-display); font-size: 16px; margin-bottom: 4px; }
.hs-pop p { margin: 0; color: var(--text-2); }
.hs-pop a { display: inline-block; margin-top: 8px; color: var(--gold-hi); font-size: 13px; }
.hs-list { display: none; list-style: none; padding: 0; margin: 18px 0 0; counter-reset: h; }
.hs-list li { counter-increment: h; padding: 12px 0 12px 40px; border-top: 1px solid var(--line); position: relative; font-size: 15px; color: var(--text-2); }
.hs-list li::before { content: counter(h); position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #17130B; font: 700 12px/26px var(--f-mono); text-align: center; }
.hs-list li b { color: var(--text); display: block; }
@media (max-width: 700px) { .hs-list { display: block; } .hs-pop { display: none !important; } }

/* ── Шаги ── */
.steps-line { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; counter-reset: st; }
.steps-line li { list-style: none; counter-increment: st; border-top: 1px solid var(--line-2); padding-top: 18px; position: relative; }
.steps-line li::before { content: counter(st, decimal-leading-zero); font: 500 13px var(--f-mono); color: var(--gold); display: block; margin-bottom: 10px; }
.steps-line li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.steps-line h3 { font-size: 17px; margin-bottom: 6px; }
.steps-line p { font-size: 14px; color: var(--text-3); margin: 0; }
.steps-line { padding: 0; margin: 0; }
@media (max-width: 1080px) { .steps-line { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 640px) { .steps-line { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Процесс со sticky-иллюстрацией */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.process-figure { position: sticky; top: calc(var(--header-h) + 24px); height: fit-content; }
.process-figure .frame-n { position: absolute; z-index: 4; left: 16px; top: 14px; font: 500 13px var(--f-mono); color: var(--gold-hi); background: rgba(10, 10, 11, .7); border-radius: 6px; padding: 4px 10px; }
.stage { padding: 0 0 clamp(48px, 7vw, 96px); border-left: 1px solid var(--line-2); padding-left: 32px; position: relative; opacity: .45; transition: opacity .4s; }
.stage.on { opacity: 1; }
.stage::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); transition: background .3s; }
.stage.on::before { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.stage .n { font: 500 13px var(--f-mono); color: var(--gold); }
.stage h3 { margin: 8px 0 14px; font-size: clamp(22px, 2.2vw, 30px); }
.stage dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 18px; margin: 18px 0 0; font-size: 15px; }
.stage dt { color: var(--text-3); font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.stage dd { margin: 0; color: var(--text-2); }
.stage .mob-slot { display: none; margin-bottom: 18px; }
@media (max-width: 900px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .process-figure { display: none; }
  .stage { opacity: 1; padding-left: 22px; }
  .stage .mob-slot { display: block; }
  .stage dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .stage dd { margin-bottom: 10px; }
}

/* ── До / после ── */
.ba { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: var(--ratio, 16 / 9); background: var(--surface); user-select: none; touch-action: pan-y; }
.ba .slot { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .ba-handle { position: absolute; z-index: 5; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--gold); pointer-events: none; }
.ba .ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317130B' stroke-width='2'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 6px 24px rgba(0, 0, 0, .5); }
.ba input[type=range] { position: absolute; z-index: 6; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.ba .ba-label { position: absolute; z-index: 5; top: 14px; font: 500 12px var(--f-mono); letter-spacing: .08em; background: rgba(10, 10, 11, .7); padding: 4px 10px; border-radius: 6px; color: var(--text-2); }
.ba .ba-label.l { left: 14px; } .ba .ba-label.r { right: 14px; }

/* ── Сегменты / табы ── */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); }
.seg button { border: 0; background: transparent; color: var(--text-2); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--gold); color: #17130B; }
.seg button:hover:not([aria-pressed="true"]):not([aria-selected="true"]) { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: transparent; color: var(--text-2); border-radius: 999px; padding: 7px 14px; font-size: 14px; transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-hi); }

/* Световые сценарии */
.scenes { position: relative; }
.scenes .slot { aspect-ratio: 16 / 9; }
.scenes .art.a-room { transition: filter .9s var(--ease); }
.scenes .art .screen { transition: opacity .9s, transform .9s var(--ease); transform-origin: top; }
.scenes .cove { position: absolute; inset: 0 0 60% 0; background: linear-gradient(180deg, rgba(242, 200, 140, .55), transparent); transition: opacity .9s; opacity: 0; }
.scenes .window { position: absolute; left: 3%; width: 16%; top: 14%; bottom: 30%; background: linear-gradient(180deg, #a9c2d6, #6b8296); transition: opacity .9s; }
.scenes .curtain { position: absolute; left: 2%; width: 18%; top: 10%; bottom: 26%; background: repeating-linear-gradient(90deg, #17171a 0 10px, #222227 10px 20px); transform-origin: left; transition: transform .9s var(--ease); }
.scenes[data-scene="day"] .art.a-room { filter: brightness(1.5) saturate(.7); }
.scenes[data-scene="day"] .screen { opacity: 0; transform: scaleY(.05); }
.scenes[data-scene="day"] .curtain { transform: scaleX(.12); }
.scenes[data-scene="pause"] .cove { opacity: .5; }
.scenes[data-scene="pause"] .screen { opacity: .45; }
.scenes[data-scene="night"] .art.a-room { filter: brightness(.45); }
.scenes[data-scene="night"] .screen { opacity: 0; transform: scaleY(.05); }
.scenes .slot > img { transition: opacity .9s var(--ease); }
.panel-ui { position: absolute; z-index: 5; right: 16px; bottom: 16px; background: rgba(12, 12, 14, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px; display: grid; gap: 8px; min-width: 210px; }
.panel-ui .t { font: 500 11px var(--f-mono); color: var(--text-3); letter-spacing: .1em; text-transform: uppercase; padding: 0 4px; }
.panel-ui .btns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.panel-ui button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; padding: 10px; font-size: 14px; color: var(--text-2); text-align: left; }
.panel-ui button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); background: var(--gold-soft); }
@media (max-width: 640px) { .panel-ui { position: static; margin-top: 12px; } .scenes .slot { aspect-ratio: 4 / 3; } }

/* SVG-схемы в коде */
.diagram { background: #0f1013; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(14px, 2vw, 24px); }
.diagram svg { width: 100%; height: auto; }
.diagram .controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.diagram .caption { font-size: 14px; color: var(--text-3); margin: 12px 0 0; }
.spk { transition: opacity .5s, transform .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.spk.off { opacity: 0; transform: scale(.4); }
.ray { transition: opacity .7s; }
.layer-g { transition: transform .8s var(--ease), opacity .5s; }

/* ── Проекты ── */
.filters-bar { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-start; margin-bottom: 30px; }
.filters-bar .fgroup { display: grid; gap: 8px; }
.filters-bar .fgroup > span { font: 500 11px var(--f-mono); color: var(--text-3); letter-spacing: .1em; text-transform: uppercase; }
.proj-card .slot { aspect-ratio: 4 / 3; }
.proj-card .slot .art.a-room { filter: brightness(.75); transition: filter .5s; }
.proj-card:hover .slot .art.a-room { filter: brightness(1.1); }
.proj-card .price { font: 600 15px var(--f-body); color: var(--gold-hi); }
.proj-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 14px; margin: 4px 0 0; }
.proj-card dt { color: var(--text-3); }
.proj-card dd { margin: 0; color: var(--text-2); }
.case { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; }
.case h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px; }
.case .kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 18px 0; }
.case .kv div { background: var(--surface); padding: 12px 14px; }
.case .kv b { display: block; font: 650 17px var(--f-display); }
.case .kv span { font-size: 12px; color: var(--text-3); }
.case h4 { font: 500 12px var(--f-mono); color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin: 18px 0 8px; }
.case ul { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .case { grid-template-columns: minmax(0, 1fr); } .case .kv { grid-template-columns: minmax(0, 1fr); } }
.empty { padding: 40px; text-align: center; color: var(--text-3); border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ── Бренды ── */
.brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands span { display: grid; place-items: center; min-height: 96px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 700 clamp(15px, 1.4vw, 19px)/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); transition: color .3s; text-align: center; padding: 10px; }
.brands span:hover { color: var(--text); }
@media (max-width: 900px) { .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Цены ── */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.tier.featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(200, 161, 90, .08), var(--surface) 40%); }
.tier .lvl { font: 500 12px var(--f-mono); color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.tier h3 { font-size: 22px; }
.tier .price { font: 700 22px/1.25 var(--f-display); }
.tier .price small { display: block; font: 400 13px var(--f-body); color: var(--text-3); margin-top: 4px; }
.tier ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.tier li { padding-left: 22px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.tier .btn { margin-top: auto; }
@media (max-width: 1080px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.t th, table.t td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t thead th { font: 500 12px var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; background: var(--bg-2); }
table.t tbody th { font-weight: 600; color: var(--text); }
table.t td { color: var(--text-2); }
table.t tr:last-child td, table.t tr:last-child th { border-bottom: 0; }

/* ── Калькулятор ── */
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--surface); }
.calc-form { padding: clamp(22px, 3vw, 40px); display: grid; gap: 26px; }
.calc-result { padding: clamp(22px, 3vw, 40px); background: linear-gradient(180deg, #1a1712, #121214); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; position: relative; }
.calc-result .slot { aspect-ratio: 16 / 9; border-radius: 12px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 500; margin-bottom: 10px; }
.field-label output, .field-label .val { font: 600 15px var(--f-mono); color: var(--gold-hi); }
input[type=range].range { width: 100%; accent-color: var(--gold); height: 28px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 12px; font-size: 14px; color: var(--text-2); cursor: pointer; transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--text-3); }
.opt input { accent-color: var(--gold); width: 18px; height: 18px; flex: none; margin: 0; }
.opt:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); color: var(--text); }
@media (max-width: 520px) { .opts { grid-template-columns: minmax(0, 1fr); } }
.result-sum { font: 750 clamp(30px, 3.4vw, 44px)/1.1 var(--f-display); letter-spacing: -.02em; }
.result-sum small { display: block; font: 400 14px var(--f-body); color: var(--text-3); margin-top: 6px; letter-spacing: 0; }
.split-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--surface-3); }
.split-bar i { display: block; height: 100%; transition: width .5s var(--ease); }
.split-legend { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-3); }
.breakdown { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); border-bottom: 1px dashed var(--line-2); padding-bottom: 6px; }
.breakdown li span:last-child { font-family: var(--f-mono); color: var(--text); white-space: nowrap; }
.disclaimer { font-size: 13px; color: var(--text-3); }
@media (max-width: 960px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-result { border-left: 0; border-top: 1px solid var(--line); } }

/* ── Квиз ── */
.quiz { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: clamp(22px, 3.4vw, 44px); }
.quiz-progress { height: 4px; background: var(--surface-3); border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress i { display: block; height: 100%; background: var(--gold); width: 0; transition: width .4s var(--ease); }
.quiz-step { display: none; }
.quiz-step.on { display: block; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.quiz-step h3 { margin-bottom: 20px; }
.quiz-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .quiz-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qopt { position: relative; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-2); text-align: left; padding: 0; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; color: var(--text); }
.qopt .slot { aspect-ratio: 1 / 1; border-radius: 0; }
.qopt .slot .art { filter: brightness(.6); transition: filter .3s; }
.qopt:hover .slot .art { filter: brightness(.95); }
.qopt span.l { padding: 12px 14px; font-size: 15px; font-weight: 500; }
.qopt[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 30px rgba(200, 161, 90, .2); }
.qopt[aria-checked="true"] .slot .art { filter: brightness(1.15); }
.qopt.text-only { padding: 18px; min-height: 84px; justify-content: center; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* ── Формы ── */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; color: var(--text-2); }
.input, .form select, .form textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 110px; resize: vertical; }
.input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.input::placeholder, .form textarea::placeholder { color: var(--text-3); }
.field.invalid .input, .field.invalid select { border-color: var(--err); }
.field .err { color: var(--err); font-size: 13px; display: none; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-3); line-height: 1.5; }
.consent input { accent-color: var(--gold); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.consent.invalid { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; border-radius: 10px; padding: 12px 14px; display: none; }
.form-status.ok { display: block; background: rgba(141, 179, 141, .12); color: var(--ok); border: 1px solid rgba(141, 179, 141, .35); }
.form-status.warn { display: block; background: rgba(200, 161, 90, .1); color: var(--gold-hi); border: 1px solid rgba(200, 161, 90, .35); }
.form-status.err { display: block; background: rgba(224, 138, 114, .1); color: var(--err); border: 1px solid rgba(224, 138, 114, .35); }
.cta-box { border: 1px solid var(--line-2); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); }
.cta-box .slot { border-radius: 0; aspect-ratio: auto; min-height: 100%; }
.cta-box .cta-form { padding: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .cta-box { grid-template-columns: minmax(0, 1fr); } .cta-box .slot { aspect-ratio: 16 / 9; } }

/* Запись на консультацию */
.booking { display: grid; gap: 18px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: none; width: 70px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 12px; padding: 10px 6px; text-align: center; display: grid; gap: 2px; color: var(--text-2); }
.day b { font: 700 20px var(--f-display); color: var(--text); }
.day small { font-size: 12px; }
.day[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.day:disabled { opacity: .35; cursor: not-allowed; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── FAQ / аккордеон ── */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 600 clamp(17px, 1.5vw, 20px)/1.35 var(--f-display); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--gold), var(--gold)) center / 14px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .ans { padding: 0 0 24px; color: var(--text-2); max-width: 78ch; }
.acc .ans p:last-child { margin: 0; }

/* ── Внутренние страницы ── */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px); overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(200, 161, 90, .14), transparent 70%), radial-gradient(ellipse 40% 50% at 100% 60%, rgba(184, 115, 51, .1), transparent 70%); }
.page-hero h1 { font-size: clamp(36px, 5vw, 66px); max-width: 18ch; }
.page-hero .lead { margin-top: 22px; }
.page-hero .btns { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; font-size: 13px; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.page-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(10, 10, 11, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.page-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.page-nav a { flex: none; padding: 14px 14px; color: var(--text-2); text-decoration: none; font-size: 14px; border-bottom: 2px solid transparent; }
.page-nav a:hover, .page-nav a.on { color: var(--text); border-bottom-color: var(--gold); }

.svc-block { padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.svc-block:first-of-type { border-top: 0; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.svc-grid.rev > :first-child { order: 2; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } .svc-grid.rev > :first-child { order: 0; } }
.svc-block .num { font: 500 13px var(--f-mono); color: var(--gold); }
.svc-block h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 10px 0 18px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 22px 0; }
.facts > div { background: var(--surface); padding: 16px 18px; }
.facts h4 { font: 500 12px var(--f-mono); color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.facts p, .facts ul { font-size: 15px; color: var(--text-2); margin: 0; }
.facts ul { padding-left: 1.1em; }
.facts .wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.check { list-style: none; padding: 0; display: grid; gap: 10px; }
.check li { padding-left: 28px; position: relative; color: var(--text-2); }
.check li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat-row > div { background: var(--surface); padding: 24px; }
.stat-row b { display: block; font: 750 clamp(28px, 3vw, 40px)/1.1 var(--f-display); color: var(--text); }
.stat-row span { color: var(--text-3); font-size: 14px; }
@media (max-width: 860px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.quote { border-left: 2px solid var(--gold); padding: 6px 0 6px 24px; font: 500 clamp(19px, 1.8vw, 24px)/1.45 var(--f-display); color: var(--text); margin: 0; }
.notice { border: 1px solid rgba(200, 161, 90, .35); background: var(--gold-soft); border-radius: 14px; padding: 16px 18px; color: var(--text-2); font-size: 15px; }
.notice b { color: var(--text); }

/* Статьи */
.prose { max-width: 760px; font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 2em 0 .6em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #D7D1C6; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 14px; color: var(--text-3); margin-top: 10px; }
.prose table.t { min-width: 0; font-size: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-3); font-size: 14px; margin-top: 18px; }
.post-card .slot { aspect-ratio: 16 / 9; }
.post-card .soon { color: var(--text-3); }

/* Команда / сертификаты */
.person .slot { aspect-ratio: 4 / 5; }
.person .slot .art { background: radial-gradient(ellipse 50% 40% at 50% 35%, #2b2a2a, transparent 70%), radial-gradient(ellipse 45% 35% at 50% 100%, #222, transparent 70%), linear-gradient(180deg, #17181b, #0e0e10); }
.person .slot .art::before { content: ""; position: absolute; left: 50%; top: 22%; width: 26%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #2a2b30; }
.person .slot .art::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56%; height: 40%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: #232428; }
.cert { border: 1px dashed var(--line-2); border-radius: 14px; padding: 22px; display: grid; gap: 8px; }
.cert b { font-family: var(--f-display); font-size: 18px; }
.cert span { font-size: 14px; color: var(--text-3); }

/* Карта / контакты */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font: 500 12px var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.contact-list a, .contact-list b { font: 600 clamp(18px, 1.6vw, 22px) var(--f-display); text-decoration: none; color: var(--text); }
.map-box { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: radial-gradient(circle at 56% 46%, rgba(200, 161, 90, .4) 0 6px, transparent 7px), radial-gradient(circle at 56% 46%, rgba(200, 161, 90, .15) 0 40px, transparent 41px), repeating-linear-gradient(28deg, transparent 0 46px, rgba(255, 255, 255, .05) 46px 48px), repeating-linear-gradient(-62deg, transparent 0 70px, rgba(255, 255, 255, .04) 70px 73px), #121316; display: grid; place-items: end start; padding: 18px; }

/* ── Отзывы ── */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; }
.review p { margin: 0; color: var(--text-2); }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 90px) 0 40px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-grid h4 { font: 500 12px var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.foot-grid a:hover { color: var(--gold-hi); }
.foot-grid .about p { color: var(--text-3); font-size: 15px; max-width: 40ch; margin: 18px 0; }
.subscribe { display: flex; gap: 8px; max-width: 420px; }
.subscribe .input { border-radius: 999px; padding: 11px 16px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.foot-bottom a { color: var(--text-3); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-grid .about { grid-column: 1 / -1; } }

/* ── Плавающие мессенджеры ── */
.float-chat { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 10px; justify-items: end; }
.float-chat .fc-toggle { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--gold); color: #17130B; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.float-chat .fc-toggle svg { width: 24px; height: 24px; }
.float-chat .fc-list { display: none; gap: 8px; justify-items: end; }
.float-chat.open .fc-list { display: grid; }
.float-chat .fc-list a, .float-chat .fc-list button { display: inline-flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }

/* ── Модальные окна ── */
dialog.modal { border: 1px solid var(--line-2); border-radius: 22px; padding: 0; background: var(--surface); color: var(--text); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }
dialog.modal::backdrop { background: rgba(5, 5, 6, .75); backdrop-filter: blur(4px); }
dialog.modal .m-head { padding: 26px 28px 0; display: flex; justify-content: space-between; gap: 16px; }
dialog.modal .m-head h2 { font-size: 28px; }
dialog.modal .m-head p { color: var(--text-2); margin: 10px 0 0; font-size: 15px; }
dialog.modal .m-body { padding: 20px 28px 28px; }
dialog.modal .close { flex: none; }

/* Поиск */
dialog.search-modal { width: min(720px, calc(100vw - 24px)); margin-top: 10vh; }
.search-input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 22px 26px; font: 500 20px var(--f-display); color: var(--text); }
.search-input:focus { outline: none; border-bottom-color: var(--gold); }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: 60vh; overflow-y: auto; }
.search-results a { display: block; padding: 12px 18px; border-radius: 10px; text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--surface-2); outline: none; }
.search-results b { display: block; font-family: var(--f-display); }
.search-results span { font-size: 13px; color: var(--text-3); }
.search-results mark { background: var(--gold-soft); color: var(--gold-hi); border-radius: 3px; }

/* Cookie */
.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 80; max-width: 440px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; font-size: 14px; color: var(--text-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); display: none; }
.cookie.show { display: block; }
.cookie .btns { margin-top: 12px; }
@media (max-width: 560px) { .cookie { left: 10px; right: 84px; bottom: 10px; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 120; background: var(--ivory); color: #111; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.hero .art-seats { height: 38% !important; }
.hero .art-room .screen { box-shadow: 0 0 140px 30px rgba(226, 168, 97, .22), 0 0 24px rgba(242, 217, 162, .35); }

/* Иконки-заглушки услуг */
.art.a-icon { background: radial-gradient(circle at 50% 46%, rgba(226, 191, 124, .16), transparent 42%), radial-gradient(ellipse at 50% 120%, #000, transparent 60%), linear-gradient(160deg, #1b1c20, #0d0d10); display: grid; place-items: center; }
.art.a-icon .ico { width: 30%; max-width: 110px; color: var(--gold); opacity: .55; transition: opacity .4s, transform .5s var(--ease), filter .4s; }
.svc-card:hover .art.a-icon .ico, .svc-card:focus-visible .art.a-icon .ico { opacity: 1; transform: scale(1.06); filter: drop-shadow(0 0 14px rgba(226, 191, 124, .55)); }
.svc-card .slot > img { filter: brightness(.62); transition: opacity .6s var(--ease), filter .5s var(--ease); }
.svc-card:hover .slot > img { filter: brightness(1); }

/* Калькулятор: сцена меняется с уровнем */
.calc-result .slot .art.a-room { transition: filter .6s var(--ease); }
.calc-result .slot[data-level="1"] .art { filter: brightness(1.25) saturate(.55); }
.calc-result .slot[data-level="1"] .stars, .calc-result .slot[data-level="2"] .stars { opacity: 0; }
.calc-result .slot[data-level="1"] .screen { left: 30%; right: 30%; top: 26%; }
.calc-result .slot[data-level="3"] .screen { left: 16%; right: 16%; }
.calc-result .slot[data-level="4"] .screen { left: 12%; right: 12%; outline: 6px solid rgba(200, 161, 90, .55); outline-offset: 8px; }
.calc-result .slot[data-level="4"] .art { filter: saturate(1.2); }

.tiers.t3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .tiers.t3 { grid-template-columns: minmax(0, 1fr); } }
.prose .table-wrap { margin: 1.4em 0; }
.prose .table-wrap table.t { min-width: 560px; }
@media (max-width: 600px) {
  .site-header .wrap { gap: 10px; }
  .logo-text small { display: none; }
  .header-tools { gap: 6px; }
}
@media (max-width: 360px) { .header-tools a.icon-btn[hreflang] { display: none; } }
.qopt .slot { aspect-ratio: 16 / 10; }
.qopt .art.a-icon .ico { width: 42%; max-width: 120px; opacity: .6; }
.qopt:hover .art.a-icon .ico, .qopt[aria-checked="true"] .art.a-icon .ico { opacity: 1; filter: drop-shadow(0 0 12px rgba(226, 191, 124, .5)); }
.quiz-opts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
@media (max-width: 760px) { .quiz-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
