/* =========================================================
   LUMA — натяжные потолки. Поверхность и свет.
   Нейроморфные «полотна» + синий LED-акцент + один тёмный раздел.
   ========================================================= */

@font-face { font-family: "Geologica"; src: url("fonts/Geologica-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("fonts/Geologica-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("fonts/Geologica-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("fonts/Geologica-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #E9EDF2;
  --bg-2: #E2E7EE;
  --surface: #F2F5F9;
  --ink: #141A24;
  --ink-2: #2B3445;
  --muted: #5F6B7D;
  --line: rgba(20, 26, 36, .08);
  --led: #2F7BFF;
  --led-2: #1F63E0;
  --led-soft: #8DB6FF;
  --night: #0A0F1C;
  --night-2: #111a2e;

  --hi: rgba(255, 255, 255, .95);
  --lo: rgba(30, 45, 70, .16);
  --raise: -4px -4px 10px var(--hi), 5px 6px 13px var(--lo);
  --raise-sm: -2px -2px 5px var(--hi), 2px 3px 8px var(--lo);
  --press: inset 2px 2.5px 5px rgba(30, 45, 70, .15), inset -2px -2px 5px var(--hi);
  --glow: 0 0 0 1px rgba(47, 123, 255, .35), 0 6px 18px rgba(47, 123, 255, .35), 0 0 32px rgba(47, 123, 255, .25);

  --r-xl: 28px;
  --r-l: 24px;
  --r-m: 18px;
  --r-btn: 16px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 8vw, 104px);
  --font: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
.nobr { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.soft { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--raise); }

/* LED-точка */
.led-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 3px rgba(47, 123, 255, .15), 0 0 12px var(--led); margin-right: 10px; vertical-align: middle; }
.eyebrow { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; border-radius: var(--r-btn); font-weight: 500; font-size: 16px; line-height: 1.2; transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .3s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; }
.btn--led { color: #fff; background: linear-gradient(180deg, #4a8dff 0%, var(--led) 45%, var(--led-2) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 5px 12px rgba(47, 123, 255, .38), 0 0 0 1px rgba(31, 99, 224, .6); }
.btn--led:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 7px 17px rgba(47, 123, 255, .5), 0 0 40px rgba(47, 123, 255, .35), 0 0 0 1px rgba(31, 99, 224, .6); transform: translateY(-1px); }
.btn--led:active { transform: translateY(1px); }
.btn--soft { background: var(--surface); box-shadow: var(--raise-sm); color: var(--ink); }
.btn--soft svg { color: var(--led); }
.btn--soft:hover { color: var(--led-2); }
.btn--soft:active { box-shadow: var(--press); }
.btn--light { background: #fff; color: var(--led-2); box-shadow: 0 5px 15px rgba(0, 0, 0, .18); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); }
.btn--wide { width: 100%; white-space: normal; text-align: center; }
.calc__sum { grid-template-columns: minmax(0, 1fr); }

.ibtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface); box-shadow: var(--raise-sm); color: var(--ink-2); transition: color .2s, box-shadow .2s; }
.ibtn:hover { color: var(--led); }
.ibtn:active { box-shadow: var(--press); }
.ibtn--wa:hover { color: #1fa855; }
.ibtn--viber:hover { color: #7360f2; }

/* ---------- Чипы, ползунок, степпер, тумблер ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 12px; background: var(--surface); box-shadow: var(--raise-sm); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: box-shadow .25s, color .25s; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c3cad6; transition: background .3s, box-shadow .3s; }
.chip:hover { color: var(--ink); }
.chip.is-on { box-shadow: var(--press); color: var(--led-2); }
.chip.is-on::before { background: var(--led); box-shadow: 0 0 10px var(--led), 0 0 2px var(--led); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; --p: 30%; }
.range::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; box-shadow: var(--press); background: linear-gradient(90deg, var(--led) 0 var(--p), transparent var(--p)) no-repeat, var(--bg-2); }
.range::-moz-range-track { height: 10px; border-radius: 10px; box-shadow: var(--press); background: var(--bg-2); }
.range::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--led); box-shadow: 0 0 12px rgba(47, 123, 255, .6); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: var(--surface); box-shadow: -1.5px -1.5px 3px var(--hi), 2px 2.5px 5px rgba(30, 45, 70, .28), inset 0 0 0 7px var(--surface), inset 0 0 0 14px var(--led); cursor: grab; }
.range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: -1.5px -1.5px 3px var(--hi), 2px 2.5px 5px rgba(30, 45, 70, .28), inset 0 0 0 7px var(--surface), inset 0 0 0 14px var(--led); cursor: grab; }

.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; box-shadow: var(--press); background: var(--bg-2); }
.stepper button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); box-shadow: var(--raise-sm); color: var(--ink-2); }
.stepper button:hover { color: var(--led); }
.stepper button:active { box-shadow: var(--press); }
.stepper svg { width: 16px; height: 16px; }
.stepper output, .stepper input { width: 40px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper input { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink); padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; font-weight: 500; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track { position: relative; width: 52px; height: 30px; border-radius: 30px; background: var(--bg-2); box-shadow: var(--press); transition: background .35s; flex: none; }
.switch__track::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: 1px 1.5px 3px rgba(30, 45, 70, .3); transition: transform .35s var(--ease); }
.switch input:checked + .switch__track { background: var(--led); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .15), 0 0 16px rgba(47, 123, 255, .55); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--led); outline-offset: 3px; }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; padding: 14px var(--gut) 0; pointer-events: none; }
.hdr__bar { pointer-events: auto; max-width: calc(var(--wrap) - 2 * var(--gut) + 40px); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 10px 10px 10px 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--raise-sm); transition: box-shadow .3s; }
.hdr.is-scrolled .hdr__bar { box-shadow: -2px -2px 5px var(--hi), 4px 6px 14px rgba(30, 45, 70, .2); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { position: relative; width: 38px; height: 38px; border-radius: 12px; background: var(--surface); box-shadow: var(--press); overflow: hidden; }
.logo__mark i { position: absolute; left: 7px; right: 7px; top: 12px; height: 3px; border-radius: 3px; background: var(--led); box-shadow: 0 0 8px var(--led), 0 0 18px rgba(47, 123, 255, .6); }
.logo__mark::after { content: ""; position: absolute; left: 7px; right: 16px; bottom: 11px; height: 3px; border-radius: 3px; background: #c6cfdc; }
.logo__txt { display: flex; flex-direction: column; font-weight: 700; font-size: 20px; letter-spacing: .12em; line-height: 1; }
.logo__txt small { font-weight: 400; font-size: 11px; letter-spacing: .02em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, box-shadow .2s; }
.nav a:hover { color: var(--led-2); }
.nav a.is-active { box-shadow: var(--press); color: var(--led-2); }
.hdr__actions { display: flex; align-items: center; gap: 10px; }
.hdr__lang { font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px; }
.hdr__lang:hover { color: var(--led); }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 0 10px; white-space: nowrap; }
.hdr__phone svg { color: var(--led); width: 18px; height: 18px; }
.hdr__burger { display: none; }

/* ---------- 1. Первый экран ---------- */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding-top: 12px; }
.hero__title { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.04em; line-height: 1; }
.hero__lead { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 30em; }
.hero__lead b { font-weight: 600; color: var(--ink); }

.quick { margin-top: 32px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; position: relative; }
.quick__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quick__row--chips { justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
.quick__label { font-size: 14px; font-weight: 500; color: var(--muted); }
.quick__val { font-weight: 600; font-variant-numeric: tabular-nums; }
.quick__total { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 18px; border-radius: var(--r-m); box-shadow: var(--press); background: var(--bg-2); }
.quick__total span { color: var(--muted); font-size: 14px; }
.quick__total strong { font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--led-2); text-shadow: 0 0 22px rgba(47, 123, 255, .35); font-variant-numeric: tabular-nums; }
.quick__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.quick__btns .btn { flex: 1 1 auto; }

.hero__media { min-height: 560px; }
.scene { position: relative; margin: 0; height: 100%; min-height: 560px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--raise); background: #cfd6e0; isolation: isolate; }
.scene::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); pointer-events: none; z-index: 3; }
.scene__img, .scene__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__img img { object-position: 50% 35%; }
.scene__img--night { opacity: 0; transition: opacity 1.1s var(--ease); }
.scene.is-night .scene__img--night { opacity: 1; }
.scene__img--day img { transition: transform 1.4s var(--ease); }
.scene.is-night .scene__img--day img { transform: scale(1.02); }

.daynight { position: absolute; z-index: 4; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 18px; background: rgba(242, 245, 249, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 4px 12px rgba(20, 26, 36, .18), inset 0 0 0 1px rgba(255, 255, 255, .6); font-size: 14px; font-weight: 500; transition: background .6s, color .6s; }
.daynight__opt { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color .4s; }
.daynight__opt svg { width: 18px; height: 18px; }
.daynight__opt--day { color: var(--ink); }
.daynight__track { position: relative; width: 56px; height: 30px; border-radius: 30px; background: var(--bg-2); box-shadow: var(--press); transition: background .5s, box-shadow .5s; }
.daynight__knob { position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 1px 1.5px 3px rgba(30, 45, 70, .3); transition: transform .5s var(--ease); }
.scene.is-night .daynight { background: rgba(10, 15, 28, .55); box-shadow: 0 4px 12px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(141, 182, 255, .25); }
.scene.is-night .daynight__opt--day { color: rgba(255, 255, 255, .55); }
.scene.is-night .daynight__opt--night { color: #fff; }
.scene.is-night .daynight__track { background: var(--led); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2), 0 0 18px rgba(47, 123, 255, .7); }
.scene.is-night .daynight__knob { transform: translateX(26px); }
.daynight.is-hint .daynight__track { animation: hint 1.6s var(--ease) 2; }
@keyframes hint { 50% { box-shadow: var(--press), 0 0 0 6px rgba(47, 123, 255, .25); } }

.badges { position: absolute; z-index: 4; right: 20px; top: 40%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.badges li { width: 104px; padding: 14px 10px; border-radius: 20px; text-align: center; font-size: 12px; line-height: 1.3; color: var(--ink-2); background: rgba(242, 245, 249, .7); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 4px 12px rgba(20, 26, 36, .14), inset 0 0 0 1px rgba(255, 255, 255, .6); transition: background .6s, color .6s, box-shadow .6s; }
.badges svg { display: block; margin: 0 auto 8px; width: 22px; height: 22px; color: var(--led); }
.badges b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.scene.is-night .badges li { background: rgba(10, 15, 28, .5); color: rgba(255, 255, 255, .7); box-shadow: 0 4px 12px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(141, 182, 255, .25); }
.scene.is-night .badges b { color: #fff; }
.scene.is-night .badges svg { color: var(--led-soft); filter: drop-shadow(0 0 6px var(--led)); }

.scene__cap { position: absolute; z-index: 4; left: 20px; bottom: 20px; max-width: 360px; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.4; color: var(--ink-2); background: rgba(242, 245, 249, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); transition: background .6s, color .6s; }
.scene__cap [data-cap-night] { display: none; }
.scene.is-night .scene__cap { background: rgba(10, 15, 28, .55); color: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(141, 182, 255, .25); }
.scene.is-night .scene__cap [data-cap-day] { display: none; }
.scene.is-night .scene__cap [data-cap-night] { display: inline; }

.hero__facts { display: none; list-style: none; margin: 18px 0 0; padding: 0; flex-wrap: wrap; gap: 8px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: var(--press); }
.hero__facts svg { width: 16px; height: 16px; color: var(--led); }


/* ---------- 1б. Первый экран: фото фоном на всю ширину (вариант) ----------
   Растворение фото в фон страницы, как у milkmark: три градиента цвета --bg.
   Откат: класс hero--bg в index.html + файлы из _archive/.../backup-hero-vertical */
.scene__fade { display: none; }
.hero--bg { position: relative; isolation: isolate; margin-top: -78px; padding: 104px 0 40px; min-height: min(100svh, 980px); display: flex; align-items: center; }
.hero--bg .hero__grid { width: 100%; grid-template-columns: minmax(0, 560px) 1fr; pointer-events: none; }
.hero--bg .hero__text { pointer-events: auto; padding-top: 0; }
.hero--bg .hero__title { font-size: clamp(38px, 4.4vw, 60px); }
.hero--bg .hero__lead { margin-top: 14px; font-size: 18px; }
.hero--bg .eyebrow { margin-bottom: 12px; }
.hero--bg .quick { padding: 20px 24px; gap: 13px; }
.hero--bg .quick .btn { min-height: 52px; }
.hero--bg .hero__media { position: absolute; inset: 0; z-index: -1; min-height: 0; pointer-events: auto; }
.hero--bg .scene { height: 100%; min-height: 0; border-radius: 0; box-shadow: none; background: var(--bg); }
.hero--bg .scene::after { display: none; }
.hero--bg .scene__img img { object-position: 62% 35%; }
/* .hero--bg .scene__fade { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; background:
  linear-gradient(98deg, #E9EDF2 0%, #E9EDF2 30%, rgba(233, 237, 242, .94) 37%, rgba(233, 237, 242, .72) 44%, rgba(233, 237, 242, .34) 52%, rgba(233, 237, 242, .08) 59%, rgba(233, 237, 242, 0) 65%),
  linear-gradient(#E9EDF2, rgba(233, 237, 242, .72) 5%, rgba(233, 237, 242, .32) 11%, rgba(233, 237, 242, .1) 15%, rgba(233, 237, 242, 0) 20%),
  linear-gradient(to top, #E9EDF2, rgba(233, 237, 242, .92) 6%, rgba(233, 237, 242, .6) 14%, rgba(233, 237, 242, .28) 22%, rgba(233, 237, 242, .08) 30%, rgba(233, 237, 242, 0) 38%); } */
.hero--bg .daynight { left: auto; top: auto; right: max(24px, calc((100vw - var(--wrap)) / 2 + var(--gut))); bottom: 140px; }
.hero--bg .scene__cap { left: auto; bottom: 64px; right: max(24px, calc((100vw - var(--wrap)) / 2 + var(--gut))); max-width: 380px; }
.hero--bg .badges { right: max(24px, calc((100vw - var(--wrap)) / 2 + var(--gut))); top: 46%; }
/* фото без растворения: текст на матовом стекле */
.hero--bg .hero__intro { padding: 22px 28px 24px; border-radius: var(--r-l); background: rgba(242, 245, 249, .74); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); box-shadow: 0 9px 20px rgba(20, 26, 36, .14), inset 0 0 0 1px rgba(255, 255, 255, .7); }
.hero--bg .hero__intro .eyebrow { color: var(--ink-2); }
.hero--bg .hero__lead { color: var(--ink); }
.hero--bg .quick { margin-top: 16px; background: rgba(242, 245, 249, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 9px 20px rgba(20, 26, 36, .14), inset 0 0 0 1px rgba(255, 255, 255, .7); }

/* ---------- 2. Цифpadding-block: 40px; ры ---------- */
.stats { padding-top: 104px;}
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 22px 24px; border-radius: var(--r-m); box-shadow: var(--press); background: var(--bg); }
.stat b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Секции ---------- */
.sec { padding: var(--sec) 0; }
.sec--tint { background: var(--bg-2); }
.sec--tint .soft { --hi: rgba(255, 255, 255, .85); }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.sec__lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 40em; }
.tag-sample { display: inline-block; padding: 3px 10px; border-radius: 8px; background: rgba(47, 123, 255, .1); color: var(--led-2); font-size: 13px; font-weight: 500; }
.tag-sample--block { margin-bottom: 28px; }

/* ---------- 3. Цены ---------- */
.canvases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.canvas { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease); }
.canvas:hover { transform: translateY(-4px); }
.canvas img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r-l) var(--r-l) 0 0; }
.canvas__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.canvas__body p { font-size: 14px; color: var(--muted); flex: 1; }
.price { margin-top: 8px; font-size: 14px; color: var(--muted); }
.price b { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.canvas--fabric .canvas__weave { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l) var(--r-l) 0 0; overflow: hidden; background:
  repeating-linear-gradient(0deg, rgba(60, 70, 90, .10) 0 1px, rgba(255, 255, 255, .5) 1px 2px, transparent 2px 3px),
  repeating-linear-gradient(90deg, rgba(60, 70, 90, .09) 0 1px, rgba(255, 255, 255, .45) 1px 2px, transparent 2px 3px),
  radial-gradient(110% 90% at 25% 15%, #ffffff 0%, #eef1f6 45%, #d4dbe6 100%); }
.canvas--fabric .canvas__weave::before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 70%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(190, 200, 215, .55)); transform: rotate(-6deg); box-shadow: 0 -9px 15px rgba(255, 255, 255, .7); }
.canvas--fabric .canvas__weave::after { content: "Descor"; position: absolute; right: 14px; top: 14px; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); background: rgba(255, 255, 255, .7); }

.extras { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; margin-top: 32px; align-items: start; }
.extras__col { padding: 28px; }
.extras h3 { display: flex; align-items: center; margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { color: var(--led); margin-top: 3px; width: 18px; height: 18px; stroke-width: 2.4; }
.pricelist { margin: 0; display: grid; }
.pricelist div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(20, 26, 36, .14); }
.pricelist div:last-child { border-bottom: 0; }
.pricelist dt { color: var(--ink-2); }
.pricelist dd { margin: 0; white-space: nowrap; color: var(--muted); }
.pricelist dd b { color: var(--ink); font-weight: 600; }

/* ---------- 4. Калькулятор ---------- */
.sec--calc { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "rooms sum" "add sum"; gap: 20px 28px; align-items: start; }
.calc__rooms { grid-area: rooms; display: grid; gap: 16px; }
.calc__add { grid-area: add; padding: 18px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.calc__add-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--muted); }
.calc__add-label svg { color: var(--led); }
.calc__add-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__add-chips .chip::before { display: none; }

.room { border-radius: var(--r-l); background: var(--surface); box-shadow: var(--raise); overflow: hidden; }
.room__head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px 16px 22px; text-align: left; }
.room__name { font-weight: 600; font-size: 18px; }
.room__meta { color: var(--muted); font-size: 14px; flex: 1; }
.room__sum { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.room__chev { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; box-shadow: var(--raise-sm); transition: transform .3s var(--ease); }
.room.is-open .room__chev { transform: rotate(180deg); box-shadow: var(--press); color: var(--led); }
.room__body { display: none; padding: 4px 22px 22px; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.room.is-open .room__body { display: grid; }
.room__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 24px; }
.field { display: grid; gap: 10px; align-content: start; min-width: 0; }
.field__label { font-size: 13px; font-weight: 500; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.field__label output { color: var(--ink); font-weight: 600; }
.field--wide { grid-column: 1 / -1; }
.field__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; width: 100%; min-height: 46px; padding: 0 40px 0 16px; border: 0; border-radius: 14px; background: var(--bg-2); box-shadow: var(--press); font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; }
.select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.room__counters { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.counter { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.lights-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lightctl { padding: 12px 14px; border-radius: 16px; background: var(--bg); box-shadow: var(--press); display: grid; gap: 8px; transition: box-shadow .35s; }
.lightctl__name { font-size: 13px; font-weight: 500; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.lightctl__name::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: #c3cad6; transition: background .35s, box-shadow .35s; }
.lightctl.is-on { box-shadow: var(--press), 0 0 0 1px rgba(47, 123, 255, .35), 0 0 22px rgba(47, 123, 255, .18); }
.lightctl.is-on .lightctl__name::before { background: var(--led); box-shadow: 0 0 10px var(--led); }
.lightctl .stepper { justify-self: start; background: var(--surface); box-shadow: var(--raise-sm); }
.room__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.room__remove { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); padding: 8px 0; }
.room__remove:hover { color: #d2453b; }
.room__remove svg { width: 16px; height: 16px; }

.calc__sum { grid-area: sum; position: sticky; top: 108px; padding: 26px; display: grid; gap: 14px; }
.calc__sum-title { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; }
.calc__lines li span { color: var(--ink-2); }
.calc__lines li b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__lines li.is-empty { color: var(--muted); }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; border-radius: var(--r-m); background: var(--bg-2); box-shadow: var(--press); }
.calc__total span { color: var(--muted); font-size: 14px; }
.calc__total strong { font-size: 32px; font-weight: 600; letter-spacing: -.02em; color: var(--led-2); text-shadow: 0 0 22px rgba(47, 123, 255, .35); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__note { font-size: 13px; color: var(--muted); }
.calc__toast { min-height: 1.4em; font-size: 13px; color: var(--led-2); text-align: center; }

/* ---------- 5. Тёмный раздел: свет ---------- */
.night { position: relative; padding: var(--sec) 0; background: var(--night); color: #E8EEF8; overflow: hidden; isolation: isolate; }
.night__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 80% 0%, rgba(47, 123, 255, .22), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(47, 123, 255, .14), transparent 70%), url("img/dark-bg.webp") center / cover no-repeat; opacity: .9; }
.night__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 28, .82), rgba(10, 15, 28, .94)); }
.night .eyebrow { color: var(--led-soft); }
.night .sec__lead { color: rgba(232, 238, 248, .65); }
.lights { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.light { grid-column: span 4; position: relative; border-radius: var(--r-l); background: linear-gradient(180deg, #172036, #111a2e); box-shadow: inset 0 0 0 1px rgba(141, 182, 255, .16), 0 10px 20px rgba(0, 0, 0, .35); overflow: hidden; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.light:nth-child(1) { grid-column: span 7; }
.light:nth-child(2) { grid-column: span 5; }
.light:hover, .light.is-lit { box-shadow: inset 0 0 0 1px rgba(141, 182, 255, .4), 0 0 40px rgba(47, 123, 255, .18), 0 10px 20px rgba(0, 0, 0, .35); }
.light__img { aspect-ratio: 16 / 10; overflow: hidden; }
.light:nth-child(1) .light__img, .light:nth-child(2) .light__img { aspect-ratio: 16 / 9; }
.light__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) saturate(.9); transition: filter .6s, transform .8s var(--ease); }
.light:hover .light__img img, .light.is-lit .light__img img { filter: brightness(1) saturate(1); transform: scale(1.03); }
.light__body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.light__body p { color: rgba(232, 238, 248, .62); font-size: 15px; }
.light__price { font-size: 14px; color: rgba(232, 238, 248, .6); }
.light__price b { font-size: 20px; font-weight: 600; color: #fff; text-shadow: 0 0 18px rgba(47, 123, 255, .6); }
.stars { width: 100%; height: 100%; background: radial-gradient(80% 100% at 50% 0%, #1a2a52 0%, #0b1122 70%); position: relative; overflow: hidden; }
.stars::before, .stars::after { content: ""; position: absolute; inset: 0; background-repeat: repeat; }
.stars::before { background-image: radial-gradient(1.5px 1.5px at 20px 30px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 80px 70px, #cfe0ff 50%, transparent 51%), radial-gradient(2px 2px at 140px 20px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 50px 120px, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 170px 110px, #a9c6ff 50%, transparent 51%), radial-gradient(1px 1px at 110px 150px, #fff 50%, transparent 51%); background-size: 190px 170px, 233px 157px, 171px 199px, 263px 141px, 149px 223px, 307px 181px; }
.stars { background-image: radial-gradient(1px 1px at 35px 85px, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1px 1px at 95px 15px, rgba(255,255,255,.7) 50%, transparent 51%), radial-gradient(1px 1px at 125px 95px, rgba(200,220,255,.8) 50%, transparent 51%), radial-gradient(80% 100% at 50% 0%, #1a2a52 0%, #0b1122 70%); background-size: 137px 113px, 211px 173px, 97px 89px, auto; }
.stars::after { background-image: radial-gradient(2.5px 2.5px at 60px 50px, #fff 40%, rgba(141, 182, 255, .6) 60%, transparent 70%), radial-gradient(2px 2px at 150px 140px, #fff 40%, rgba(141, 182, 255, .6) 60%, transparent 70%), radial-gradient(2.5px 2.5px at 230px 80px, #fff 40%, rgba(141, 182, 255, .6) 60%, transparent 70%); background-size: 260px 200px, 331px 247px, 293px 211px; animation: twinkle 3.2s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
.light:nth-child(6) { grid-column: span 5; }
.light--stars { grid-column: span 7; }
.light:nth-child(6) .light__img, .light--stars .light__img { aspect-ratio: auto; height: clamp(220px, 24vw, 320px); }

/* ---------- 6. Комнаты ---------- */
.rooms { display: grid; gap: 24px; }
.rooms__tabs { display: flex; gap: 6px; padding: 8px; border-radius: 20px; overflow-x: auto; scrollbar-width: none; justify-self: start; max-width: 100%; }
.rooms__tabs::-webkit-scrollbar { display: none; }
.rooms__tabs button { padding: 12px 18px; border-radius: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: box-shadow .25s, color .25s; }
.rooms__tabs button:hover { color: var(--ink); }
.rooms__tabs button[aria-selected="true"] { box-shadow: var(--press); color: var(--led-2); }
.room-panel { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; border-radius: var(--r-xl); }
.room-panel[hidden] { display: none; }
.room-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.room-panel__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.room-panel__body h3 { font-size: clamp(26px, 3vw, 34px); }
.room-panel__rec { display: inline-flex; align-self: flex-start; padding: 10px 14px; border-radius: 12px; box-shadow: var(--press); color: var(--led-2); font-weight: 500; }
.room-panel__body p:not(.room-panel__rec) { color: var(--muted); }
.room-panel__body .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- 7. Сметы ---------- */
.estimates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.estimate { overflow: hidden; display: flex; flex-direction: column; }
.estimate img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.estimate__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.estimate__body h3 { font-size: 17px; }
.estimate__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; flex: 1; }
.estimate__lines li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px dashed rgba(20, 26, 36, .12); }
.estimate__lines span { color: var(--muted); }
.estimate__lines b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.estimate__total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); box-shadow: var(--press); }
.estimate__total span { font-size: 13px; color: var(--muted); }
.estimate__total b { font-size: 20px; font-weight: 600; color: var(--led-2); white-space: nowrap; }

/* ---------- 8. Галерея ---------- */
.filters { display: flex; gap: 4px; padding: 6px; border-radius: 18px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.filters::-webkit-scrollbar { display: none; }
.filters button { padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.filters button.is-on { box-shadow: var(--press); color: var(--led-2); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 20px; }
.tile { margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--raise-sm); transition: opacity .35s, transform .35s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile--tall { grid-row: span 2; }
.tile:hover img { transform: scale(1.03); }
.tile figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 10px; font-size: 13px; background: rgba(242, 245, 249, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tile.is-hidden { display: none; }

/* ---------- 9. Монтаж ---------- */
.montage { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.montage__intro { position: sticky; top: 108px; }
.montage__photo { margin: 28px 0 0; overflow: hidden; }
.montage__photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.montage__photo figcaption { padding: 14px 18px; font-size: 14px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 24px; align-items: start; }
.step__n { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; box-shadow: var(--press); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 6px; font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; }
.step--led .step__n { color: #fff; background: var(--led); box-shadow: var(--glow); }

/* ---------- 10. Сравнение ---------- */
.compare { display: grid; grid-template-columns: 1fr 1.7fr; gap: 24px; align-items: stretch; }
.compare__photo { overflow: hidden; display: flex; flex-direction: column; }
.compare__photo img { flex: 1; object-fit: cover; width: 100%; min-height: 240px; filter: saturate(.85); }
.compare__photo p { padding: 16px 20px; font-size: 14px; color: var(--muted); }
.compare__table { padding: 10px 24px; display: grid; }
.compare__row { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr 1fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare__row:last-child { border-bottom: 0; }
.compare__row--head { font-weight: 600; color: var(--muted); font-size: 14px; }
.compare__row [role="rowheader"] { color: var(--muted); font-size: 14px; }
.compare__row .is-us { font-weight: 600; color: var(--ink); }
.compare__row--head .is-us { color: var(--led-2); }
.compare__row span { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #c7cfda; }
.dot--2 { background: #9fb0c8; }
.dot--3 { background: var(--led); box-shadow: 0 0 10px var(--led); }

/* полосы-карточки внутри .wrap: отступ от краёв экрана */
.flood__inner, .b2b__inner, .cta__inner { width: calc(100% - 2 * var(--gut)); }

/* ---------- 11. Затопили ---------- */
.flood { padding: 0 0 var(--sec); }
.flood__inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); color: #fff; background: radial-gradient(70% 140% at 0% 0%, #5b9bff 0%, var(--led) 45%, #1749b8 100%); box-shadow: 0 12px 30px rgba(47, 123, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .35); overflow: hidden; max-width: calc(var(--wrap) - 2 * var(--gut)); }
.flood__inner::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent); pointer-events: none; }
.flood__icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.flood__icon svg { width: 36px; height: 36px; }
.flood h2 { font-size: clamp(26px, 3vw, 38px); }
.flood p { margin-top: 10px; color: rgba(255, 255, 255, .86); max-width: 42em; }

/* ---------- 12. Почему мы ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why__card { padding: 28px; display: grid; gap: 12px; align-content: start; }
.why__card p { color: var(--muted); font-size: 15px; }
.why__ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; box-shadow: var(--press); color: var(--led); flex: none; }
.why__ic svg { width: 24px; height: 24px; }

/* ---------- 13. B2B ---------- */
.b2b { padding-bottom: var(--sec); }
.b2b__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; max-width: calc(var(--wrap) - 2 * var(--gut)); }
.b2b h2 { font-size: clamp(22px, 2.4vw, 28px); }
.b2b p { margin-top: 6px; color: var(--muted); }

/* ---------- 14. Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.review { margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review__stars { display: flex; gap: 2px; color: var(--led); }
.review__stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.review p { font-size: 15px; color: var(--ink-2); flex: 1; }
.review footer { font-size: 13px; color: var(--muted); display: grid; }
.review footer b { font-size: 15px; color: var(--ink); font-weight: 600; }

/* ---------- 15. Вопросы ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-wrap .sec__head { position: sticky; top: 108px; }
.faq-wrap .sec__head .btn { margin-top: 26px; }
.faq { display: grid; gap: 14px; }
.faq__item { border-radius: var(--r-m); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 500; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 32px; height: 32px; padding: 6px; border-radius: 10px; box-shadow: var(--raise-sm); transition: transform .3s var(--ease); }
.faq__item[open] summary svg { transform: rotate(180deg); box-shadow: var(--press); color: var(--led); }
.faq__item p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- 16. Финальный призыв ---------- */
.cta { padding: 0 0 var(--sec); }
.sec--tint + .cta { padding-top: var(--sec); }
.cta__inner { position: relative; text-align: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); border-radius: var(--r-xl); background: var(--night); color: #fff; overflow: hidden; isolation: isolate; max-width: calc(var(--wrap) - 2 * var(--gut)); }
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, rgba(47, 123, 255, .45), transparent 70%); }
.cta h2 { font-size: clamp(32px, 4.6vw, 56px); }
.cta p { margin: 16px auto 0; max-width: 34em; color: rgba(255, 255, 255, .72); font-size: 18px; }
.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta__meta { display: flex !important; justify-content: center; flex-wrap: wrap; gap: 10px 28px; font-size: 14px !important; margin-top: 28px !important; }
.cta__meta span { display: inline-flex; align-items: center; gap: 8px; }
.cta__meta svg { width: 16px; height: 16px; color: var(--led-soft); }

/* ---------- 17. Подвал ---------- */
.ftr { padding: 0 0 40px; }
.ftr__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 32px; align-items: center; padding-top: 32px; border-top: 1px solid var(--line); }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; font-size: 15px; color: var(--ink-2); }
.ftr__nav a:hover { color: var(--led); }
.ftr__social { display: flex; gap: 10px; }
.ftr__copy { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.ftr__copy a:hover { color: var(--led); }

.mbar { display: none; }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 14px; white-space: nowrap; }
  .hero--bg .scene__cap { display: none; }
  .hero--bg .daynight { bottom: 64px; }
  .hdr .ibtn--viber { display: none; }
  .hdr__phone span { display: none; }
  .canvases, .estimates, .reviews { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: minmax(0, 1fr) 340px; }
  .lights-row { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav { position: fixed; left: var(--gut); right: var(--gut); top: 84px; flex-direction: column; gap: 4px; padding: 12px; border-radius: 20px; background: var(--surface); box-shadow: -2px -2px 5px var(--hi), 5px 8px 18px rgba(30, 45, 70, .25); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .hdr__burger { display: inline-grid; }
  .hdr__bar { justify-content: space-between; }
  .calc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "rooms" "add" "sum"; }
  .calc__sum { position: static; }
  .montage, .faq-wrap, .compare { grid-template-columns: 1fr; }
  .montage__intro, .faq-wrap .sec__head { position: static; }
  .light, .light:nth-child(1), .light:nth-child(2), .light:nth-child(6), .light--stars { grid-column: span 6; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .room-panel { grid-template-columns: 1fr; }
  .room-panel img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
}

@media (max-width: 860px) {

  .hero--bg { display: block; margin-top: 0; padding: 16px 0 40px; min-height: 0; }
  .hero--bg .hero__grid { grid-template-columns: 1fr; pointer-events: auto; }
  .hero--bg .hero__media { position: relative; inset: auto; z-index: auto; }
  .hero--bg .scene { aspect-ratio: 5 / 4; height: auto; max-height: none; border-radius: 24px; box-shadow: var(--raise); }
  .hero--bg .scene__img img { object-position: 60% 40%; }
  .hero--bg .scene__fade { display: none; }
  .hero--bg .daynight { left: 12px; top: 12px; right: auto; bottom: auto; }
  .hero--bg .scene__cap { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .hero--bg .badges { display: none; }
  .hero--bg .hero__intro { padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .hero--bg .quick { margin-top: 28px; background: var(--surface); box-shadow: var(--raise); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; min-height: 0; }
  .scene { min-height: 0; aspect-ratio: 3 / 4; max-height: 74vh; width: 100%; }
  .stats__row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .flood__inner, .b2b__inner { grid-template-columns: 1fr; text-align: left; }
  .ftr__inner { grid-template-columns: 1fr; justify-items: start; }
  .ftr__nav { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .hdr { padding-top: 10px; }
  .hdr__bar { padding: 8px 8px 8px 14px; gap: 10px; border-radius: 18px; }
  .logo__txt small { display: none; }
  .hdr__phone, .ibtn--viber { display: none; }
  .hdr__lang { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 14px; background: var(--surface); box-shadow: var(--raise-sm); color: var(--ink-2); }
  .hero { padding-top: 16px; }
  .scene { aspect-ratio: 4 / 5; border-radius: 24px; }
  .daynight { left: 12px; top: 12px; padding: 6px 10px; gap: 8px; font-size: 13px; }
  .badges { display: none; }
  .hero__facts { display: flex; }
  .scene__cap { left: 12px; right: 12px; bottom: 12px; max-width: none; font-size: 13px; padding: 10px 14px; }
  .quick { padding: 20px 18px; }
  .quick__btns .btn { flex-basis: 100%; }
  .quick__total strong { font-size: 26px; }
  .canvases, .estimates, .reviews, .why { grid-template-columns: 1fr; }
  .canvases { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .canvas__body { padding: 14px 14px 16px; }
  .canvas__body h3 { font-size: 16px; }
  .canvas__body p { font-size: 13px; }
  .price b { font-size: 18px; }
  .extras { grid-template-columns: 1fr; }
  .extras__col { padding: 22px 20px; }
  .room__grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 12px; }
  .tile figcaption { font-size: 12px; left: 8px; bottom: 8px; padding: 4px 8px; }
  .room__head { padding: 14px 14px 14px 18px; }
  .room__meta { display: none; }
  .room__body { padding: 4px 16px 18px; }
  .light, .light:nth-child(1), .light:nth-child(2), .light:nth-child(6), .light--stars { grid-column: 1 / -1; }
  .compare__table { padding: 6px 14px; overflow-x: auto; }
  .compare__row { grid-template-columns: 1fr 1.1fr .9fr .9fr; font-size: 13px; gap: 8px; }
  .compare__row [role="rowheader"] { font-size: 12px; }
  .compare__row .dot { display: none; }
  .step { padding: 18px; gap: 14px; }
  .step__n { width: 40px; height: 40px; }
  .cta__btns .btn { width: 100%; }
  .mbar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(242, 245, 249, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 5px 15px rgba(20, 26, 36, .22); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; font-weight: 500; background: var(--surface); box-shadow: var(--raise-sm); }
  .mbar svg { color: var(--led); }
  .mbar__wa { color: #fff !important; background: linear-gradient(180deg, #4a8dff, var(--led-2)) !important; box-shadow: 0 4px 10px rgba(47, 123, 255, .4) !important; }
  .mbar__wa svg { color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* комната, только что добавленная из блока «Какой потолок…» */
.room { transition: box-shadow .6s var(--ease); }
.room.is-new { box-shadow: var(--raise), var(--glow); }
