/* =========================================================
   WoodLight v5 — Apple-style + neon
   ========================================================= */
:root {
  --ink: #111214;
  --ink-2: #45474c;
  --muted: #86868b;
  --bg: #fbfaf7;
  --white: #ffffff;
  --cream: #f3eee6;
  --oak: #c8a47a;
  --line: #e7e2d9;

  --dark: #0b0c0d;
  --dark-2: #141518;
  --on-dark: #f5f5f7;
  --on-dark-2: rgba(245, 245, 247, .64);
  --glass: rgba(255, 255, 255, .045);
  --glass-line: rgba(255, 255, 255, .09);

  --teal: #18b3b6;
  --teal-d: #0f8f92;
  --neon: #2ee6e8;
  --neon-rgb: 46, 230, 232;
  --glow: 0 0 10px rgba(var(--neon-rgb), .55), 0 0 28px rgba(var(--neon-rgb), .35);

  --radius: 24px;
  --shadow: 0 20px 50px -20px rgba(17, 18, 20, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-h: 'Archivo', 'Manrope', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.025em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 900; }
h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--neon { color: var(--neon); text-shadow: 0 0 12px rgba(var(--neon-rgb), .6); }
.eyebrow--neon::before { box-shadow: var(--glow); }

.dark { background: var(--dark); color: var(--on-dark); }

.db-banner { position: relative; z-index: 70; padding: 12px 20px; background: #ffd84d; color: #1a1500; font-weight: 700; font-size: .92rem; text-align: center; }
.db-banner a { text-decoration: underline; margin-left: 8px; }
.install-hint { margin-top: 20px; padding: 16px 20px; border-radius: 14px; background: #fff4d6; border: 1px solid #f0d98a; font-weight: 600; }
.install-hint a { color: var(--teal-d); text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 0; font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { box-shadow: 0 0 0 4px rgba(255,255,255,.18), var(--glow); }
.btn--neon { background: var(--neon); color: #042224; box-shadow: 0 0 24px rgba(var(--neon-rgb), .45); }
.btn--neon:hover { box-shadow: 0 0 0 4px rgba(var(--neon-rgb), .18), 0 0 40px rgba(var(--neon-rgb), .7); }
.btn--glass { background: var(--glass); color: var(--on-dark); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); }
.btn--glass:hover { border-color: rgba(var(--neon-rgb), .6); box-shadow: 0 0 22px rgba(var(--neon-rgb), .2); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-d); }

/* ---------- Header (glass) ---------- */
.header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: rgba(251, 250, 247, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.is-scrolled { border-bottom-color: rgba(17, 18, 20, .07); background: rgba(251, 250, 247, .82); }
.header__inner { display: flex; align-items: center; gap: 20px; height: 100%; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav > a { position: relative; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: color .2s; }
.nav > a:hover { color: var(--ink); }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:hover::after { transform: scaleX(1); }
.nav__phone, .lang--mobile { display: none !important; }

/* Каталог — неоновая кнопка с бегущей обводкой */
.btn-catalog { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; color: #fff; font-weight: 700; font-size: .9rem; overflow: hidden; isolation: isolate; box-shadow: 0 0 18px rgba(var(--neon-rgb), .28); transition: box-shadow .3s, transform .25s var(--ease); flex-shrink: 0; }
.btn-catalog::before { content: ""; position: absolute; inset: -160%; z-index: -2; background: conic-gradient(from 0deg, transparent 0 58%, var(--neon) 72%, #fff 78%, var(--neon) 84%, transparent 100%); animation: spin 3.2s linear infinite; }
.btn-catalog::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: inherit; background: var(--ink); }
.btn-catalog svg { width: 17px; height: 17px; color: var(--neon); filter: drop-shadow(0 0 4px rgba(var(--neon-rgb), .8)); }
.btn-catalog:hover, .btn-catalog.is-current { box-shadow: 0 0 30px rgba(var(--neon-rgb), .55); transform: translateY(-1px); }
@keyframes spin { to { transform: rotate(1turn); } }

.header__phone { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; transition: background .2s; flex-shrink: 0; }
.header__phone:hover { background: var(--teal-d); }
.header__phone svg { width: 17px; height: 17px; }

.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-shrink: 0; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; flex-shrink: 0; }
.logo__word { font-family: 'Roboto Slab', var(--font-h); font-weight: 900; font-size: 1.45rem; letter-spacing: -.01em; }
.logo__word sup { font-size: .42em; font-weight: 700; margin-left: 2px; }
.logo__stroke { width: 104%; height: 8px; margin: 1px 0 0 -2%; color: var(--teal); overflow: visible; }
.logo__tag { margin-top: 5px; font-size: .52rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.logo__img { height: 48px; width: auto; }
.logo--light { color: #fff; }
.logo--light .logo__tag { color: var(--on-dark-2); }
.logo--light .logo__stroke { color: var(--neon); filter: drop-shadow(0 0 6px rgba(var(--neon-rgb), .7)); }

/* ---------- Language switcher ---------- */
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(17, 18, 20, .05); flex-shrink: 0; }
.lang__item { padding: 6px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); transition: .2s; }
.lang__item:hover { color: var(--ink); }
.lang__item.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.lang--footer { background: rgba(255,255,255,.06); }
.lang--footer .lang__item { color: var(--on-dark-2); }
.lang--footer .lang__item.is-active { background: var(--neon); color: #042224; box-shadow: var(--glow); }

/* ---------- Placeholder (дерево) ---------- */
.ph { width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(0,0,0,.02), rgba(0,0,0,.42)), url("../img/wood-card.jpg") center / cover, #4a2e19; color: rgba(255, 232, 205, .9); font-family: var(--font-h); font-size: 4rem; font-weight: 900; }
.ph--icon svg { width: 34%; height: auto; max-width: 110px; stroke-width: 1.2; filter: drop-shadow(0 2px 0 rgba(0,0,0,.35)) drop-shadow(0 0 16px rgba(255, 180, 110, .35)); transition: transform .6s var(--ease); }
.work-card:hover .ph--icon svg { transform: scale(1.08); }
.ph__mark { font-family: 'Roboto Slab', var(--font-h); font-weight: 900; font-size: 2.2rem; letter-spacing: -.01em; opacity: .9; text-shadow: 0 2px 0 rgba(0,0,0,.35); }

/* ---------- Reveal (Apple-style: fade + rise + blur) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* =========================================================
   1. HERO SLIDER
   ========================================================= */
.hs { position: relative; height: calc(100svh - var(--header-h)); min-height: 520px; max-height: 880px; background: var(--dark); color: #fff; overflow: hidden; }
.hs__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.hs__track::-webkit-scrollbar { display: none; }
.hs__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.hs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hs__slide.is-active .hs__img { transform: scale(1); }
.hs__ph { background: repeating-linear-gradient(100deg, rgba(255,255,255,.06) 0 2px, transparent 2px 16px), linear-gradient(135deg, #c9a57c, #7d5a3a); }
.hs__ph--1 { background: repeating-linear-gradient(100deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px), linear-gradient(135deg, #b8b1a6, #5f574d); }
.hs__ph--2 { background: repeating-linear-gradient(100deg, rgba(255,255,255,.06) 0 2px, transparent 2px 16px), linear-gradient(135deg, #a37c55, #4a3222); }
.hs__ph--3 { background: repeating-linear-gradient(100deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px), linear-gradient(135deg, #7fb7b3, #2f5552); }
.hs__ph--4 { background: repeating-linear-gradient(100deg, rgba(255,255,255,.06) 0 2px, transparent 2px 16px), linear-gradient(135deg, #d8c4a6, #8a6b4b); }
.hs picture { position: absolute; inset: 0; }
.hs__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,13,.6) 0%, rgba(11,12,13,.15) 55%, transparent 75%), linear-gradient(180deg, rgba(11,12,13,.05) 0%, rgba(11,12,13,.1) 40%, rgba(11,12,13,.82) 100%); }
.hs__content { position: absolute; left: 0; right: 0; bottom: 120px; }
.hs__content > * { max-width: 700px; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hs__slide.is-active .hs__content > * { opacity: 1; transform: none; }
.hs__slide.is-active .hs__content > :nth-child(2) { transition-delay: .1s; }
.hs__slide.is-active .hs__content > :nth-child(3) { transition-delay: .2s; }
.hs__slide.is-active .hs__content > :nth-child(4) { transition-delay: .3s; }
.hs__eyebrow { display: inline-block; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hs__title { font-family: var(--font-h); font-size: clamp(2.3rem, 5.6vw, 4.8rem); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; margin: 0 0 16px; text-wrap: balance; }
.hs__text { font-size: 1.15rem; line-height: 1.55; color: rgba(255,255,255,.84); margin: 0 0 30px; }

.hs__ui { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; align-items: center; gap: 24px; }
.hs__bars { flex: 1; display: flex; gap: 8px; max-width: 520px; }
.hs__bar { flex: 1; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hs__bar span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.hs__bar span::after { content: ""; position: absolute; inset: 0; background: var(--neon); box-shadow: var(--glow); transform-origin: left; transform: scaleX(0); }
.hs__bar.is-done span::after { transform: scaleX(1); background: #fff; box-shadow: none; }
.hs__bar.is-active span::after { animation: hsFill var(--hs-dur, 6s) linear forwards; }
.hs.is-paused .hs__bar.is-active span::after { animation-play-state: paused; }
@keyframes hsFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs__count { font-size: .9rem; color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs__count b { color: #fff; }
.hs__arrows { display: flex; gap: 10px; margin-left: auto; }
.hs__arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: .25s; backdrop-filter: blur(8px); }
.hs__arrow:hover { border-color: var(--neon); color: var(--neon); box-shadow: var(--glow); }
.hs__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   2. ЛЮБОЙ ПРОЕКТ (neon)
   ========================================================= */
.any { position: relative; overflow: hidden; padding: 130px 0 0; }
.any__inner { position: relative; z-index: 1; }
.any__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.any__glow--a { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(var(--neon-rgb), .55), transparent 65%); }
.any__glow--b { width: 460px; height: 460px; bottom: 60px; left: -180px; background: radial-gradient(circle, rgba(200, 164, 122, .45), transparent 65%); animation-duration: 22s; }
.any__glow--c { width: 560px; height: 560px; top: -200px; left: 30%; background: radial-gradient(circle, rgba(var(--neon-rgb), .35), transparent 65%); }
@keyframes float { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 50px) scale(1.12); } }
.any__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }

.any__title { font-size: clamp(2.6rem, 7.4vw, 6.4rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; margin: 0 0 32px; }
.neon-line { display: block; color: rgba(255,255,255,.12); transition: color .6s, text-shadow .6s; }
.any__title.is-visible .neon-line { color: #f4ffff; text-shadow: 0 0 6px rgba(var(--neon-rgb), .9), 0 0 22px rgba(var(--neon-rgb), .55), 0 0 60px rgba(var(--neon-rgb), .35); animation: flicker 1.4s linear both; }
.any__title.is-visible .neon-line:nth-child(2) { animation-delay: .45s; transition-delay: .45s; }
.any__title.is-visible .neon-line:nth-child(3) { animation-delay: .9s; transition-delay: .9s; }
@keyframes flicker {
  0%, 18%, 22%, 28%, 32% { opacity: .25; }
  20%, 30%, 100% { opacity: 1; }
}
.any__lead { max-width: 660px; font-size: 1.18rem; line-height: 1.6; color: var(--on-dark-2); margin-bottom: 60px; }

.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap { position: relative; padding: 34px 30px 30px; border-radius: var(--radius); border: 1px solid var(--glass-line); background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(var(--neon-rgb), .13), transparent 45%), var(--glass); transition: border-color .35s, box-shadow .35s, transform .35s var(--ease); }
.cap:hover { border-color: rgba(var(--neon-rgb), .45); box-shadow: 0 0 40px -8px rgba(var(--neon-rgb), .35); transform: translateY(-4px); }
.cap__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; border: 1px solid rgba(var(--neon-rgb), .5); color: var(--neon); box-shadow: inset 0 0 16px rgba(var(--neon-rgb), .18), 0 0 18px rgba(var(--neon-rgb), .2); }
.cap__icon svg { width: 24px; height: 24px; filter: drop-shadow(0 0 5px rgba(var(--neon-rgb), .8)); }
.cap h3 { font-size: 1.35rem; }
.cap p { margin: 0; color: var(--on-dark-2); font-size: .98rem; }
.caps .cap:nth-child(2) { transition-delay: .08s; }
.caps .cap:nth-child(3) { transition-delay: .16s; }

.counters { list-style: none; margin: 70px 0 0; padding: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--glass-line); }
.counters strong { display: block; font-family: var(--font-h); font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; background: linear-gradient(180deg, #fff 30%, var(--neon)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.counters span { font-size: .9rem; color: var(--on-dark-2); }

.marquee { position: relative; z-index: 1; margin-top: 80px; padding: 30px 0 40px; border-top: 1px solid var(--glass-line); display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; overflow: hidden; }
.marquee__list { display: flex; gap: 14px; padding: 0 14px 0 0; margin: 0; list-style: none; flex-shrink: 0; animation: marquee 48s linear infinite; }
.marquee__row--rev .marquee__list { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__list { animation-play-state: paused; }
.marquee li { padding: 11px 22px; border-radius: 999px; border: 1px solid rgba(var(--neon-rgb), .28); color: rgba(255,255,255,.82); font-weight: 600; font-size: .95rem; white-space: nowrap; box-shadow: inset 0 0 14px rgba(var(--neon-rgb), .07); transition: .25s; }
.marquee li:hover { border-color: var(--neon); color: #fff; box-shadow: var(--glow); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* =========================================================
   3. РАБОТЫ
   ========================================================= */
.section { padding: 120px 0; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }

.works-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.works-head .section-head { margin-bottom: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; color: var(--ink-2); cursor: pointer; transition: border-color .25s, color .25s, background .25s, box-shadow .25s, transform .25s var(--ease); }
.chip__ic { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: #8a6340; transition: background .25s, color .25s, box-shadow .25s; }
.chip__ic svg { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.chip:hover .chip__ic svg { transform: scale(1.12) rotate(-4deg); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 3px rgba(var(--neon-rgb), .18), 0 10px 24px -12px rgba(var(--neon-rgb), .6); }
.chip.is-active .chip__ic { background: rgba(var(--neon-rgb), .12); color: var(--neon); box-shadow: inset 0 0 0 1px rgba(var(--neon-rgb), .4); }
.chip.is-active .chip__ic svg { filter: drop-shadow(0 0 4px rgba(var(--neon-rgb), .8)); }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: radial-gradient(360px circle at var(--x, 50%) var(--y, 0%), rgba(var(--neon-rgb), .12), transparent 45%), #fff; box-shadow: 0 1px 0 var(--line), 0 0 0 1px rgba(17,18,20,.04); transition: transform .45s var(--ease), box-shadow .45s; }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(var(--neon-rgb), .55), 0 24px 60px -18px rgba(24, 179, 182, .45); }
.work-card__hit { position: absolute; inset: 0; z-index: 2; border: 0; background: none; cursor: pointer; border-radius: inherit; display: block; }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__media .ph { min-height: 0; transition: transform .8s var(--ease); }
.work-card:hover .work-card__media .ph { transform: scale(1.06); }
.badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); font-size: .74rem; font-weight: 700; }
.work-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.work-card__body h3 { margin-bottom: 8px; }
.work-card__body p { margin: 0 0 20px; color: var(--ink-2); font-size: .94rem; }
.work-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.work-card__meta { display: flex; gap: 14px; font-size: .84rem; color: var(--muted); }
.work-card__meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.work-card__meta svg { width: 15px; height: 15px; color: var(--teal-d); }
.work-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--teal-d); white-space: nowrap; }
.work-card__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.work-card:hover .work-card__more svg { transform: translateX(4px); }
.works .work-card:nth-child(3n+2) { transition-delay: .06s; }
.works .work-card:nth-child(3n+3) { transition-delay: .12s; }
.empty { padding: 40px; background: #fff; border-radius: var(--radius); text-align: center; color: var(--muted); word-break: break-word; }

/* =========================================================
   4. О КОМПАНИИ
   ========================================================= */
.about-section { background: #fff; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about__text > p { color: var(--ink-2); font-size: 1.06rem; }
.about__sub { margin: 44px 0 20px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.about__side .about__sub { margin-top: 8px; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about__side .principle { flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.about__side .principle:hover { border-color: rgba(var(--neon-rgb), .5); box-shadow: 0 16px 40px -20px rgba(24, 179, 182, .45); transform: translateY(-3px); }
.about__side .principle h4 { margin-top: 0; }
.principle { display: flex; gap: 14px; }
.principle__num { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--dark); color: var(--neon); font-family: var(--font-h); font-weight: 800; font-size: .85rem; box-shadow: 0 0 16px rgba(var(--neon-rgb), .25); }
.principle h4 { font-size: 1.02rem; margin: 6px 0 6px; letter-spacing: -.01em; }
.principle p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.5; }

.dossier { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; border-radius: 30px; background: radial-gradient(500px circle at 100% 0%, rgba(var(--neon-rgb), .16), transparent 50%), var(--dark); color: var(--on-dark); box-shadow: var(--shadow); }
.dossier__title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.dossier__title h3 { margin: 0; font-size: 1.15rem; }
.dossier__stamp { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--neon); border: 1.5px solid var(--neon); padding: 4px 10px; border-radius: 6px; transform: rotate(-4deg); box-shadow: var(--glow), inset 0 0 8px rgba(var(--neon-rgb), .3); text-shadow: 0 0 6px rgba(var(--neon-rgb), .7); }
.dossier__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dossier__tile { position: relative; padding: 18px 18px 16px; border-radius: 18px; border: 1px solid var(--glass-line); background: radial-gradient(220px circle at var(--x, 50%) var(--y, 0%), rgba(var(--neon-rgb), .14), transparent 55%), var(--glass); transition: border-color .3s, box-shadow .3s; min-width: 0; }
.dossier__tile:hover { border-color: rgba(var(--neon-rgb), .5); box-shadow: 0 0 24px -6px rgba(var(--neon-rgb), .35); }
.dossier__tile strong { display: block; font-family: var(--font-h); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; overflow-wrap: anywhere; }
.dossier__tile span { display: block; font-size: .8rem; color: var(--on-dark-2); }
.dossier__tile--wide { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dossier__tile:last-child:nth-child(even) { grid-column: 1 / -1; }
.dossier__tile--wide strong { font-size: clamp(2.4rem, 4vw, 3.2rem); margin: 0; background: linear-gradient(180deg, #fff 30%, var(--neon)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   5. КОНТАКТЫ (dark)
   ========================================================= */
.contact-section { position: relative; overflow: hidden; padding: 120px 0; }
.contact-wrap { position: relative; z-index: 1; }
.section-head--dark p { color: var(--on-dark-2); }

.showroom { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; margin-bottom: 70px; }
.showroom__photo { position: relative; margin: 0; min-height: 440px; border-radius: 30px; overflow: hidden; border: 1px solid var(--glass-line); box-shadow: 0 0 70px -24px rgba(var(--neon-rgb), .45); }
.showroom__photo img, .showroom__photo .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.showroom__photo:hover img { transform: scale(1.04); }
.showroom__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,12,13,.7)); pointer-events: none; }
.showroom__badge { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: rgba(11,12,13,.55); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.showroom__badge strong { display: block; font-size: 1rem; }
.showroom__badge small { color: var(--on-dark-2); font-size: .82rem; }
.showroom__dot { position: relative; flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--neon); box-shadow: var(--glow); }
.showroom__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--neon); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.showroom__side { display: flex; flex-direction: column; }
.showroom__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; }
.showroom__actions .btn { flex: 1; }

.contact__steps-title { margin: 22px 0 14px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--glass-line); background: radial-gradient(260px circle at var(--x, 50%) var(--y, 0%), rgba(var(--neon-rgb), .12), transparent 50%), var(--glass); transition: border-color .3s, box-shadow .3s; min-width: 0; }
a.contact__item:hover { border-color: rgba(var(--neon-rgb), .55); box-shadow: 0 0 26px -6px rgba(var(--neon-rgb), .4); }
.contact__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--neon-rgb), .1); color: var(--neon); }
.contact__icon svg { width: 19px; height: 19px; }
.contact__item small { display: block; font-size: .74rem; color: var(--on-dark-2); }
.contact__item strong { display: block; font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }

.msgr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.msgr__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 16px; border: 1px solid var(--glass-line); background: var(--glass); font-weight: 700; font-size: .88rem; transition: .3s; }
.msgr__btn svg { width: 19px; height: 19px; }
.msgr__btn--whatsapp svg { color: #25d366; }
.msgr__btn--telegram svg { color: #2aabee; }
.msgr__btn--instagram svg { color: #f77737; }
.msgr__btn:hover { transform: translateY(-2px); border-color: currentColor; }
.msgr__btn--whatsapp:hover { color: #25d366; box-shadow: 0 0 24px -4px rgba(37,211,102,.5); }
.msgr__btn--telegram:hover { color: #2aabee; box-shadow: 0 0 24px -4px rgba(42,171,238,.5); }
.msgr__btn--instagram:hover { color: #f77737; box-shadow: 0 0 24px -4px rgba(247,119,55,.5); }

.contact-bottom { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 50px; border-top: 1px solid var(--glass-line); }
.contact-bottom .contact__steps-title { margin-top: 0; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps::before { content: ""; position: absolute; top: 6px; left: 7px; right: 0; height: 1px; background: linear-gradient(90deg, var(--neon), rgba(var(--neon-rgb), .1)); box-shadow: 0 0 8px rgba(var(--neon-rgb), .6); }
.step { position: relative; padding-top: 28px; }
.step__dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--dark); border: 2px solid var(--neon); box-shadow: var(--glow); }
.step strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.step small { display: block; font-size: .8rem; line-height: 1.45; color: var(--on-dark-2); }

.map { min-height: 300px; border-radius: 26px; overflow: hidden; border: 1px solid var(--glass-line); box-shadow: 0 0 60px -20px rgba(var(--neon-rgb), .35); }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.55) brightness(.92) contrast(.95); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 50px 0 30px; border-top: 1px solid var(--glass-line); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--glass-line); }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 600; font-size: .92rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 22px; font-size: .84rem; }

/* =========================================================
   WOOD + LIGHT
   ========================================================= */
.wl { padding: 0 0 120px; background: var(--bg); }
.wl__head { max-width: 760px; margin-bottom: 40px; }
.wl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wl__panel { position: relative; overflow: hidden; min-height: 460px; padding: 40px; border-radius: 32px; display: flex; flex-direction: column; isolation: isolate; }
.wl__panel p { max-width: 440px; font-size: 1.02rem; line-height: 1.6; }
.wl__word { font-family: var(--font-h); font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 900; letter-spacing: -.05em; line-height: .9; }
.wl__sub { margin: 6px 0 22px; font-size: .8rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.wl__list { list-style: none; margin: auto 0 0; padding: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: .9rem; font-weight: 600; }
.wl__list li { display: flex; align-items: center; gap: 8px; }

/* Wood: обожжённое тёмное дерево + надпись из светлого дуба */
.wl__panel--wood { color: #f3e6d4; background:
  linear-gradient(100deg, rgba(12, 7, 3, .55) 0%, rgba(12, 7, 3, .18) 60%, rgba(12, 7, 3, .38) 100%),
  url("../img/wood-burnt.jpg") center / cover no-repeat, #3a2414;
  box-shadow: inset 0 1px 0 rgba(255, 220, 180, .12), inset 0 0 90px rgba(0, 0, 0, .5); }
.wl__word--wood { background: url("../img/wood-oak.jpg") 30% 40% / 170% auto, #d8b688;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .5)) drop-shadow(0 0 22px rgba(255, 160, 80, .28)); }
.wl__panel--wood .wl__sub { color: rgba(243, 214, 178, .75); }
.wl__panel--wood p { color: rgba(247, 234, 216, .88); font-weight: 500; }
.wl__panel--wood .wl__list { border-top: 1px solid rgba(243, 214, 178, .2); }
.wl__panel--wood .wl__list li { color: #f3e6d4; }
.wl__panel--wood .wl__list li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #e8a060; box-shadow: 0 0 8px rgba(255, 150, 70, .8); transform: rotate(45deg); flex-shrink: 0; }

/* Light: тёмная панель, свет включается */
.wl__panel--light { background: var(--dark); color: var(--on-dark); transition: background 1s; }
.wl__panel--light p { color: var(--on-dark-2); }
.wl__panel--light .wl__list { border-top: 1px solid var(--glass-line); }
.wl__panel--light .wl__list svg { width: 16px; height: 16px; color: #555; transition: color .6s, filter .6s; }
.wl__word--light { color: #2a2c2f; transition: color .5s, text-shadow .5s; }
.wl__panel--light .wl__sub { color: #4a4c50; transition: color .5s; }
.wl__beam { position: absolute; z-index: -1; top: -30%; right: -10%; width: 90%; height: 130%; background: radial-gradient(closest-side, rgba(var(--neon-rgb), .35), rgba(var(--neon-rgb), .08) 55%, transparent 75%); opacity: 0; transform: scale(.6); transition: opacity 1s var(--ease), transform 1.2s var(--ease); pointer-events: none; }
.wl__panel--light.is-on .wl__beam { opacity: 1; transform: none; }
.wl__panel--light.is-on .wl__word--light { color: #f4ffff; text-shadow: 0 0 8px rgba(var(--neon-rgb), .95), 0 0 30px rgba(var(--neon-rgb), .6), 0 0 80px rgba(var(--neon-rgb), .4); animation: flicker 1.2s linear both; }
.wl__panel--light.is-on .wl__sub { color: var(--neon); text-shadow: 0 0 10px rgba(var(--neon-rgb), .7); }
.wl__panel--light.is-on .wl__list svg { color: var(--neon); filter: drop-shadow(0 0 5px rgba(var(--neon-rgb), .9)); }

.wl__switch { position: absolute; z-index: 3; top: 28px; right: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.05); color: var(--on-dark-2); font-size: .8rem; font-weight: 700; cursor: pointer; transition: .3s; }
.wl__switch:hover { border-color: rgba(var(--neon-rgb), .5); color: #fff; }
.wl__switch-track { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #2a2c2f; transition: background .4s; }
.wl__switch-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #8a8c90; transition: transform .4s var(--ease), background .4s, box-shadow .4s; }
.wl__panel--light.is-on .wl__switch-track { background: rgba(var(--neon-rgb), .35); }
.wl__panel--light.is-on .wl__switch-knob { transform: translateX(18px); background: var(--neon); box-shadow: var(--glow); }

/* =========================================================
   ПЛАВАЮЩИЕ КНОПКИ СВЯЗИ
   ========================================================= */
.fab { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__list { display: flex; flex-direction: column; gap: 12px; }
.fab__btn { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .3s var(--ease), box-shadow .3s; animation: fabIn .6s var(--ease) both; animation-delay: calc(.8s + var(--i) * .12s); }
.fab__btn svg { width: 25px; height: 25px; }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn--whatsapp { background: #25d366; }
.fab__btn--whatsapp:hover { box-shadow: 0 0 0 5px rgba(37,211,102,.2), 0 0 28px rgba(37,211,102,.7); }
.fab__btn--whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }
.fab__btn--telegram { background: #2aabee; }
.fab__btn--telegram:hover { box-shadow: 0 0 0 5px rgba(42,171,238,.2), 0 0 28px rgba(42,171,238,.7); }
.fab__btn--instagram { background: radial-gradient(circle at 30% 110%, #fdcb52 0%, #fd5949 40%, #d6249f 65%, #285aeb 100%); }
.fab__btn--instagram:hover { box-shadow: 0 0 0 5px rgba(214,36,159,.2), 0 0 28px rgba(214,36,159,.6); }
.fab__tip { position: absolute; right: calc(100% + 12px); top: 50%; padding: 7px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; white-space: nowrap; opacity: 0; transform: translate(6px, -50%); transition: .25s var(--ease); pointer-events: none; }
.fab__btn:hover .fab__tip { opacity: 1; transform: translate(0, -50%); }
@keyframes fabIn { from { opacity: 0; transform: translateY(16px) scale(.6); } to { opacity: 1; transform: none; } }
.fab__toggle { display: none; position: relative; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--ink); color: var(--neon); cursor: pointer; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5), 0 0 0 1px rgba(var(--neon-rgb), .35), 0 0 22px rgba(var(--neon-rgb), .35); }
.fab__toggle span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .35s var(--ease), opacity .35s; }
.fab__toggle svg { width: 25px; height: 25px; filter: drop-shadow(0 0 4px rgba(var(--neon-rgb), .8)); }
.fab__toggle-close { opacity: 0; transform: rotate(-90deg); }
.fab.is-open .fab__toggle-open { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab__toggle-close { opacity: 1; transform: none; }

/* ---------- Фирменный слайд: логотип как вывеска с подсветкой ---------- */
.hs-brand { display: inline-flex; flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
.hs-brand__word { font-family: 'Roboto Slab', var(--font-h); font-weight: 900; font-size: clamp(3.2rem, 6.6vw, 6.2rem); line-height: .95; letter-spacing: -.015em; color: #fff; }
.hs-brand__word sup { font-size: .28em; font-weight: 800; margin-left: 4px; vertical-align: super; }
.hs-brand__stroke { width: 106%; height: clamp(14px, 1.9vw, 26px); margin: -2px 0 0 -3%; color: #1fb8bb; overflow: visible; filter: drop-shadow(0 0 14px rgba(var(--neon-rgb), .45)); }
.hs-brand__tag { margin-top: 12px; font-size: clamp(.72rem, 1.05vw, .95rem); font-weight: 800; letter-spacing: .36em; text-transform: uppercase; }

@media (min-width: 601px) {
  /* светлая стена слева: тёмные буквы с тёплой подсветкой сзади (halo) */
  .hs__slide--brand .hs__shade { background: linear-gradient(90deg, rgba(250, 244, 236, .5) 0%, rgba(250, 244, 236, .12) 42%, transparent 58%), linear-gradient(180deg, transparent 72%, rgba(20, 14, 9, .38) 100%); }
  .hs__slide--brand .hs-brand__word { color: #17120e; text-shadow: 0 0 14px rgba(255, 214, 160, .95), 0 0 42px rgba(255, 196, 130, .6), 0 0 90px rgba(255, 186, 110, .35); }
  .hs__slide--brand .hs-brand__tag { color: #2b241e; }
  .hs__slide--brand .hs__title { color: #17120e; font-size: clamp(1.8rem, 3vw, 2.7rem); max-width: 560px; }
  .hs__slide--brand .hs__text { color: #3f362e; max-width: 520px; }
  .hs__slide--brand .btn--light { background: var(--ink); color: #fff; }
  .hs__slide--brand .btn--light:hover { background: var(--teal-d); }
  .hs.is-light .hs__bar span { background: rgba(17, 18, 20, .18); }
  .hs.is-light .hs__bar.is-done span::after { background: var(--ink); }
  .hs.is-light .hs__count { color: rgba(17, 18, 20, .55); }
  .hs.is-light .hs__count b { color: var(--ink); }
  .hs.is-light .hs__arrow { border-color: rgba(17, 18, 20, .25); color: var(--ink); background: rgba(255, 255, 255, .45); }
}

/* Instagram — фирменный красно-розовый */
.msgr__btn--instagram svg { color: #e1306c; }
.msgr__btn--instagram:hover { color: #e1306c; box-shadow: 0 0 24px -4px rgba(225, 48, 108, .55); }
.fab__btn--instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* =========================================================
   ФОРМА ЗАЯВКИ
   ========================================================= */
.any__cta { margin: -30px 0 56px; }
.nav__req { display: none !important; }
.rq-dialog { width: min(600px, 100%); background: var(--bg); }
.rq { padding: 38px 36px 30px; }
.rq h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 10px; padding-right: 40px; }
.rq__lead { color: var(--ink-2); font-size: .95rem; margin-bottom: 22px; }
.rq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rq__work { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 10px 14px; border-radius: 14px; background: rgba(var(--neon-rgb), .1); border: 1px solid rgba(var(--neon-rgb), .35); font-size: .88rem; }
.rq__work svg { width: 18px; height: 18px; color: var(--teal-d); flex-shrink: 0; }
.rq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rq__field { display: block; margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.rq__field > span, .rq__field > legend { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 700; color: var(--ink-2); padding: 0; }
.rq input[type=text], .rq input[type=tel], .rq select, .rq textarea { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.rq select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345474c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.rq textarea { resize: vertical; min-height: 84px; }
.rq input:focus, .rq select:focus, .rq textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(var(--neon-rgb), .18); }
.rq .is-invalid { border-color: #e5484d !important; box-shadow: 0 0 0 4px rgba(229, 72, 77, .15) !important; }
.rq__seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rq__opt { position: relative; cursor: pointer; }
.rq__opt input { position: absolute; opacity: 0; pointer-events: none; }
.rq__opt span { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: .78rem; font-weight: 700; color: var(--ink-2); text-align: center; transition: .2s; }
.rq__opt svg { width: 20px; height: 20px; }
.rq__opt--whatsapp svg { color: #25d366; } .rq__opt--telegram svg { color: #2aabee; } .rq__opt--viber svg { color: #7360f2; } .rq__opt--call svg { color: var(--teal-d); }
.rq__opt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: 0 0 0 3px rgba(var(--neon-rgb), .2); }
.rq__opt input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.rq__error { margin: 4px 0 14px; padding: 11px 14px; border-radius: 12px; background: rgba(229, 72, 77, .08); border: 1px solid rgba(229, 72, 77, .3); color: #b42318; font-size: .88rem; font-weight: 600; }
.rq__submit { width: 100%; padding: 16px; font-size: 1rem; margin-top: 4px; }
.rq__submit[disabled] { opacity: .7; cursor: wait; }
.rq__privacy { margin: 12px 0 0; font-size: .74rem; color: var(--muted); text-align: center; }
.rq-ok { padding: 56px 36px 40px; text-align: center; }
.rq-ok h2 { font-size: 1.9rem; margin: 18px 0 10px; }
.rq-ok p { color: var(--ink-2); margin-bottom: 24px; }
.rq-ok a { color: var(--teal-d); font-weight: 800; white-space: nowrap; }
.rq-ok__icon { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; background: rgba(var(--neon-rgb), .12); display: grid; place-items: center; box-shadow: 0 0 40px rgba(var(--neon-rgb), .35); }
.rq-ok__icon svg { width: 52px; height: 52px; fill: none; stroke: var(--teal-d); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rq-ok__icon circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: rqDraw .6s .1s var(--ease) forwards; }
.rq-ok__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: rqDraw .4s .6s var(--ease) forwards; }
@keyframes rqDraw { to { stroke-dashoffset: 0; } }
/* меню выбора: заявка или сразу написать */
.rq__work em { font-style: normal; }
.rq__back { display: inline-flex; margin: -14px 0 14px; padding: 6px 0; border: 0; background: none; color: var(--teal-d); font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; }
.rq-choice__form { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; border: 0; background: var(--ink); color: #fff; font: inherit; text-align: left; cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 16px 34px -18px rgba(17,18,20,.6); transition: transform .25s var(--ease), box-shadow .25s; }
.rq-choice__form::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 0% 0%, rgba(var(--neon-rgb), .28), transparent 55%); pointer-events: none; }
.rq-choice__form:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(var(--neon-rgb), .55); }
.rq-choice__form > * { position: relative; }
.rq-choice__form b { display: block; font-size: 1.08rem; }
.rq-choice__form small { display: block; color: var(--on-dark-2); font-size: .82rem; margin-top: 2px; }
.rq-choice__form > span:nth-child(2) { flex: 1; }
.rq-choice__form > svg { width: 22px; height: 22px; color: var(--neon); flex-shrink: 0; }
.rq-choice__ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(var(--neon-rgb), .16); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 18px rgba(var(--neon-rgb), .3); }
.rq-choice__ic svg { width: 24px; height: 24px; color: var(--neon); }
.rq-choice__or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.rq-choice__or::before, .rq-choice__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rq-choice__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.rq-choice__m { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .86rem; color: var(--ink); transition: .25s var(--ease); }
.rq-choice__m svg { width: 26px; height: 26px; }
.rq-choice__m:hover { transform: translateY(-2px); border-color: currentColor; }
.rq-choice__m--whatsapp svg { color: #25d366; } .rq-choice__m--whatsapp:hover { color: #128c4b; box-shadow: 0 10px 24px -12px rgba(37,211,102,.6); }
.rq-choice__m--telegram svg { color: #2aabee; } .rq-choice__m--telegram:hover { color: #1a8ac4; box-shadow: 0 10px 24px -12px rgba(42,171,238,.6); }
.rq-choice__m--instagram svg { color: #e1306c; } .rq-choice__m--instagram:hover { color: #c1275b; box-shadow: 0 10px 24px -12px rgba(225,48,108,.55); }
.rq-choice__m--call svg { color: var(--teal-d); } .rq-choice__m--call:hover { color: var(--teal-d); box-shadow: 0 10px 24px -12px rgba(var(--neon-rgb),.6); }
@media (max-width: 600px) {
  .rq-choice__form { padding: 16px; gap: 12px; }
  .rq-choice__ic { width: 42px; height: 42px; }
  .rq-choice__grid { display: flex; gap: 6px; }
  .rq-choice__grid > * { flex: 1 1 0; min-width: 0; }
  .rq-choice__m { padding: 12px 2px; font-size: .7rem; border-radius: 14px; gap: 6px; }
  .rq-choice__m svg { width: 24px; height: 24px; }
}

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--teal-d); }
@media (max-width: 600px) {
  .modal--form { padding: 0; place-items: end stretch; }
  .rq-dialog { width: 100%; max-height: 92dvh; border-radius: 26px 26px 0 0; transform: translateY(40px); }
  .rq { padding: 28px 18px calc(22px + env(safe-area-inset-bottom)); }
  .rq__row { grid-template-columns: 1fr; gap: 0; }
  .rq__seg { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .rq__opt span { padding: 9px 2px; font-size: .68rem; }
  .any__cta { margin: -8px 0 28px; }
  .showroom__call { display: none !important; }
  .nav__req { display: flex !important; align-items: center; color: var(--teal-d) !important; }
}

/* =========================================================
   КАТАЛОГ
   ========================================================= */
.catalog { position: relative; overflow: hidden; min-height: calc(100svh - var(--header-h)); padding: 56px 0 110px; }
.catalog__inner { position: relative; z-index: 1; }
.crumbs { display: flex; gap: 10px; margin-bottom: 40px; font-size: .88rem; color: var(--on-dark-2); }
.crumbs a:hover { color: var(--neon); }
.catalog__title { font-size: clamp(2.6rem, 6.6vw, 5.6rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 24px; background: linear-gradient(180deg, #fff 40%, rgba(var(--neon-rgb), .9)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.catalog .any__lead { margin-bottom: 48px; }

.soon { max-width: 820px; margin: 0 auto; padding: 56px 40px 44px; text-align: center; border-radius: 32px; border: 1px solid var(--glass-line); background: radial-gradient(520px circle at var(--x, 50%) var(--y, 0%), rgba(var(--neon-rgb), .12), transparent 50%), var(--glass); backdrop-filter: blur(10px); }
.soon h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.soon > p { max-width: 520px; margin: 0 auto 30px; color: var(--on-dark-2); }
.soon__orb { position: relative; width: 120px; height: 120px; margin: 0 auto 30px; display: grid; place-items: center; }
.soon__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 55%, var(--neon) 80%, #fff 88%, transparent 100%); animation: spin 2.8s linear infinite; filter: drop-shadow(0 0 12px rgba(var(--neon-rgb), .8)); -webkit-mask: radial-gradient(circle, transparent 56px, #000 57px); mask: radial-gradient(circle, transparent 56px, #000 57px); }
.soon__icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--neon-rgb), .08); border: 1px solid rgba(var(--neon-rgb), .35); color: var(--neon); animation: breathe 3s ease-in-out infinite; }
.soon__icon svg { width: 40px; height: 40px; filter: drop-shadow(0 0 8px rgba(var(--neon-rgb), .9)); }
@keyframes breathe { 50% { box-shadow: 0 0 40px rgba(var(--neon-rgb), .45); } }
.soon__cats { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.soon__cats li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px 9px 16px; border-radius: 999px; border: 1px solid var(--glass-line); font-weight: 600; font-size: .92rem; }
.soon__cats em { font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(var(--neon-rgb), .14); color: var(--neon); }
.soon__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- товары ---------- */
.filters--dark { margin-bottom: 30px; }
.filters--dark .chip { background: rgba(255,255,255,.05); border-color: var(--glass-line); color: var(--on-dark-2); }
.filters--dark .chip:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.filters--dark .chip__ic { background: rgba(255,255,255,.07); color: var(--on-dark-2); }
.filters--dark .chip.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.filters--dark .chip.is-active .chip__ic { background: var(--ink); color: var(--neon); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.pcard:hover { transform: translateY(-4px); border-color: rgba(var(--neon-rgb), .45); box-shadow: 0 24px 50px -24px rgba(var(--neon-rgb), .45); }
.pcard[hidden] { display: none; }
.pcard__img { position: relative; aspect-ratio: 1; background: #1b1c1f url(../img/wood-burnt.jpg) center / cover; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(var(--neon-rgb), .8); }
.pcard__ph svg { width: 64px; height: 64px; filter: drop-shadow(0 0 10px rgba(var(--neon-rgb), .6)); }
.pcard__stock { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pcard__stock--in_stock { background: rgba(48, 164, 108, .85); color: #fff; }
.pcard__stock--order { background: rgba(245, 165, 36, .9); color: #2b1a00; }
.pcard__stock--sold { background: rgba(20,20,22,.8); color: rgba(255,255,255,.7); }
.pcard.is-sold .pcard__img img { filter: grayscale(.7); opacity: .7; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.pcard__cat { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--neon); margin-bottom: 6px; }
.pcard h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 6px; color: #fff; }
.pcard p { font-size: .88rem; color: var(--on-dark-2); margin: 0 0 14px; }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pcard__price b { font-size: 1.2rem; color: #fff; }
.pcard__price s, .pdetail__price s { font-size: .86rem; color: var(--on-dark-2); }
.pcard__price em { font-style: normal; font-size: .88rem; color: var(--on-dark-2); }
.pcard__buy { position: relative; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--neon); color: #032425; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 18px rgba(var(--neon-rgb), .5); transition: transform .25s var(--ease), box-shadow .25s; }
.pcard__buy:hover { transform: scale(1.08); box-shadow: 0 0 28px rgba(var(--neon-rgb), .8); }
.pcard__buy svg { width: 22px; height: 22px; }
.pdetail__price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; }
.pdetail__price b { font-size: 1.6rem; }
.pdetail__price s { color: var(--muted); }
.pdetail__price em { font-style: normal; color: var(--ink-2); font-weight: 700; }
.pdetail__price .pcard__stock { position: static; }
@media (max-width: 600px) {
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard { border-radius: 18px; }
  .pcard__body { padding: 12px 12px 12px; }
  .pcard h3 { font-size: .94rem; }
  .pcard p { display: none; }
  .pcard__cat { font-size: .62rem; margin-bottom: 4px; }
  .pcard__price b { font-size: 1rem; }
  .pcard__price s { display: none; }
  .pcard__buy { width: 38px; height: 38px; }
  .pcard__buy svg { width: 18px; height: 18px; }
  .pcard__stock { top: 8px; left: 8px; font-size: .62rem; padding: 4px 8px; }
  .filters--dark { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px; scrollbar-width: none; }
}

/* ---------- 404 ---------- */
.notfound { max-width: 640px; text-align: center; padding: 40px 0 60px; }
.notfound__code { display: block; font-family: var(--font-h); font-weight: 900; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--teal); text-shadow: var(--glow); }
.notfound .lead { margin: 0 auto 28px; color: var(--ink-2); }

/* =========================================================
   МОДАЛКА «ПОДРОБНЕЕ»
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(11,12,13,.62); backdrop-filter: blur(10px); }
.modal__dialog { position: relative; width: min(1100px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: var(--bg); border-radius: 30px; transform: translateY(24px) scale(.97); transition: transform .45s var(--ease); box-shadow: 0 40px 100px -20px rgba(0,0,0,.5), 0 0 0 1px rgba(var(--neon-rgb), .2); }
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(0,0,0,.12); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: .25s; }
.modal__close:hover { background: var(--ink); color: var(--neon); }
.modal__loading { padding: 80px 20px; text-align: center; color: var(--muted); }

.work-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.gallery { padding: 22px; background: var(--cream); }
.gallery__main { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; }
.gallery__main:not(.ph) { background: #e9e1d4; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main.ph { min-height: 0; height: auto; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumb { aspect-ratio: 1; padding: 0; overflow: hidden; cursor: pointer; border: 2px solid transparent; border-radius: 12px; background: none; opacity: .6; transition: .2s; }
.gallery__thumb:hover, .gallery__thumb.is-active { opacity: 1; border-color: var(--teal); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-detail__info { padding: 44px 36px 36px; }
.work-detail__info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.work-detail__desc p { margin: 0 0 12px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.fact { padding: 14px; background: var(--dark); color: var(--on-dark); border-radius: 16px; }
.fact span { display: block; margin-bottom: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.fact strong { font-family: var(--font-h); font-size: 1.05rem; color: var(--neon); text-shadow: 0 0 10px rgba(var(--neon-rgb), .45); }
.detail-block { margin-top: 26px; }
.detail-block h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; color: var(--muted); }
.materials { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.materials li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; background: #fff; border-radius: 12px; font-size: .92rem; box-shadow: 0 0 0 1px var(--line); }
.materials span { color: var(--muted); }
.materials strong { text-align: right; }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.specs th, .specs td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 45%; font-weight: 500; color: var(--muted); }
.work-detail__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .header__phone { width: 42px; padding: 0; justify-content: center; }
  .header__phone span { display: none; }
  .nav { gap: 22px; }
}

@media (max-width: 1024px) {
  .works { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .dossier { position: static; }
  .showroom { grid-template-columns: 1fr; }
  .showroom__photo { min-height: 0; aspect-ratio: 16 / 10; }
  .contact-bottom { grid-template-columns: 1fr; gap: 32px; }
  .wl__panel { padding: 32px; min-height: 420px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .lang--desktop { display: none; }
  .btn-catalog { margin-left: auto; }

  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); margin: 0; padding: 24px 20px 40px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-h); font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); opacity: 0; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav > a::after { display: none; }
  .nav.is-open > a { opacity: 1; transform: none; }
  .nav.is-open > a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open > a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open > a:nth-child(4) { transition-delay: .15s; }
  .nav__phone { display: flex !important; align-items: center; gap: 12px; font-size: 1.2rem !important; font-family: var(--font) !important; color: var(--teal-d) !important; }
  .nav__phone svg { width: 22px; height: 22px; }
  .lang--mobile { display: flex !important; align-self: flex-start; margin-top: 24px; }
  .lang--mobile .lang__item { padding: 9px 16px; font-size: .85rem; }

  .hs__content { bottom: 92px; }
  .hs__slide:not(:first-child) .hs__img { object-position: 60% 50%; }
  .hs__ui { bottom: 28px; gap: 14px; }
  .hs__arrows { display: none; }
  .hs__bars { max-width: none; }
  .hs__text { font-size: 1rem; margin-bottom: 24px; }

  .any { padding-top: 96px; }
  .caps { grid-template-columns: 1fr; }
  .section, .contact-section { padding: 90px 0; }
}

@media (max-width: 700px) {
  .counters { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .principles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .steps::before { display: none; }
  .wl__grid { grid-template-columns: 1fr; }
  .wl__panel { min-height: 0; }
  .wl { padding-bottom: 90px; }
  .work-detail { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .header__inner { gap: 10px; }
  .header__phone { display: none; }
  .btn-catalog { padding: 9px 14px; font-size: .85rem; }
  .logo__word { font-size: 1.3rem; }
  /* на телефоне — горизонтальные ленты со свайпом, чтобы страница была короче */
  .works, .caps { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 6px 16px 22px; scroll-padding: 0 16px; }
  .works::-webkit-scrollbar, .caps::-webkit-scrollbar { display: none; }
  .work-card { flex: 0 0 84%; scroll-snap-align: start; }
  .cap { flex: 0 0 82%; scroll-snap-align: start; }
  .work-card:hover { transform: none; }
  .works-head { margin-bottom: 28px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .any__lead { font-size: 1.05rem; margin-bottom: 40px; }
  .marquee { margin-top: 60px; }
  .dossier { padding: 26px 22px; }
  .map, .map iframe { min-height: 320px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:last-child { grid-column: 1 / -1; }
  .gallery { padding: 14px; }
  .work-detail__info { padding: 28px 20px; }
  .soon { padding: 44px 20px 32px; border-radius: 26px; }
  /* плавающие кнопки: на телефоне — одна кнопка, раскрывается веером */
  .fab { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); gap: 10px; }
  .fab__toggle { display: block; width: 52px; height: 52px; }
  .fab__list { gap: 10px; }
  .fab__btn { width: 48px; height: 48px; opacity: 0; transform: translateY(14px) scale(.5); pointer-events: none; animation: none; transition: opacity .3s var(--ease), transform .35s var(--ease); transition-delay: calc((2 - var(--i)) * .05s); }
  .fab.is-open .fab__btn { opacity: 1; transform: none; pointer-events: auto; transition-delay: calc((2 - var(--i)) * .06s); }
  .fab__tip { opacity: 1; transform: translate(0, -50%); display: none; }
  .fab.is-open .fab__tip { display: block; }
  .fab__btn--whatsapp::after { display: none; }
  .hs__ui { padding-right: 60px; }
  .wl__panel { padding: 26px 22px; border-radius: 26px; }
  .wl__switch { top: 20px; right: 16px; }
  .wl__switch-label { display: none; }
  .wl__switch { padding: 5px; }
  .wl__list { grid-template-columns: 1fr; }
  .showroom { margin-bottom: 50px; }
  .showroom__photo { aspect-ratio: 4 / 3.4; border-radius: 24px; }
  .showroom__badge { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
  .contact__list { grid-template-columns: 1fr; }
  .dossier__grid { gap: 8px; }
  .dossier__tile { padding: 14px 14px 12px; }
  .dossier__tile strong { font-size: 1.15rem; }
  .dossier__tile--wide strong { font-size: 2.4rem; }
  .contact__item { padding: 12px 14px; }
  .msgr { gap: 8px; }
  .msgr__btn { flex-direction: column; gap: 6px; padding: 12px 6px; font-size: .78rem; }
  .showroom__actions { flex-direction: column; }
  .modal { padding: 10px; }
}

/* =========================================================
   MOBILE APP (≤600px) — компактная версия «как приложение»
   ========================================================= */
.quick, .dock, .about__toggle { display: none; }

@media (max-width: 600px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  h2 { font-size: 1.75rem; }
  .section, .contact-section { padding: 52px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head p { font-size: .95rem; }
  .eyebrow { font-size: .68rem; margin-bottom: 12px; }
  .js .reveal { transform: translateY(16px); filter: none; }

  /* нижняя панель: «Позвонить» + мессенджеры, появляется после первого экрана */
  .fab { display: none; }
  .dock { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 58; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(17, 18, 20, .9); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 14px 34px -12px rgba(0,0,0,.6); transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
  .dock.is-visible { transform: none; opacity: 1; }
  .dock__call { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--neon); color: #042224; box-shadow: 0 0 22px rgba(var(--neon-rgb), .45); }
  .dock__call-ic { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(4, 34, 36, .12); }
  .dock__call-ic svg { width: 19px; height: 19px; }
  .dock__call b { display: block; font-size: .9rem; font-weight: 800; line-height: 1.1; }
  .dock__call small { display: block; font-size: .7rem; font-weight: 600; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock__ic { width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); transition: background .2s, transform .2s; }
  .dock__ic svg { width: 22px; height: 22px; }
  .dock__ic:active, .dock__call:active { transform: scale(.94); }
  .dock__ic--whatsapp { color: #25d366; }
  .dock__ic--telegram { color: #2aabee; }
  .dock__ic--instagram { color: #fff; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); box-shadow: 0 0 16px -2px rgba(220, 39, 67, .55); }

  /* слайдер: ниже и аккуратнее */
  .hs { height: min(72svh, 600px); min-height: 440px; }
  .hs__content { bottom: 64px; }
  .hs__eyebrow { font-size: .62rem; padding: 5px 11px; margin-bottom: 12px; }
  .hs__title { font-size: 1.95rem; margin-bottom: 10px; }
  .hs__text { font-size: .9rem; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hs .btn { padding: 12px 20px; font-size: .88rem; }
  .hs__ui { bottom: 20px; padding-right: 0; }
  .hs__slide:first-child .hs__img { object-position: 55% 40%; }

  /* плашка с цифрами под слайдером */
  .quick { display: block; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 0 14px; }
  .quick__stats { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
  .quick__stats li { padding: 10px 4px; border-radius: 14px; background: var(--bg); }
  .quick__stats strong { display: block; font-family: var(--font-h); font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
  .quick__stats span { display: block; font-size: .66rem; color: var(--muted); line-height: 1.25; margin-top: 3px; }
  .quick__showroom { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--dark); color: var(--on-dark); font-size: .78rem; line-height: 1.35; }
  .quick__showroom b { color: var(--neon); }
  .quick__showroom > svg { width: 16px; height: 16px; flex-shrink: 0; margin-left: auto; color: var(--neon); }
  .quick .showroom__dot { width: 9px; height: 9px; }

  /* «Любой проект»: плотнее */
  .any { padding-top: 48px; }
  .any__title { font-size: 2.35rem; margin-bottom: 16px; }
  .any__lead { font-size: .95rem; margin-bottom: 24px; }
  .caps { display: grid; grid-template-columns: 1fr; gap: 10px; overflow: visible; margin: 0; padding: 0; }
  .cap { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px; border-radius: 18px; }
  .cap:hover { transform: none; }
  .cap__icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; border-radius: 13px; }
  .cap__icon svg { width: 21px; height: 21px; }
  .cap h3 { font-size: 1.02rem; margin: 2px 0 4px; }
  .cap p { font-size: .84rem; line-height: 1.45; }
  .counters { display: none; }
  .marquee { margin-top: 32px; padding: 18px 0 26px; }
  .marquee__row--rev { display: none; }
  .marquee li { padding: 8px 15px; font-size: .82rem; }

  /* работы: сетка 2 колонки — видно сразу несколько */
  .works { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; margin: 0; padding: 0; }
  .work-card { flex: none; border-radius: 18px; }
  .work-card__media { aspect-ratio: 4 / 3; }
  .work-card__media .ph { font-size: 2.4rem; }
  .badge { top: 8px; left: 8px; padding: 4px 8px; font-size: .62rem; }
  .work-card__body { padding: 11px 12px 12px; }
  .work-card__body h3 { font-size: .9rem; line-height: 1.2; margin-bottom: 6px; }
  .work-card__body p { display: none; }
  .work-card__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .work-card__meta { gap: 10px; font-size: .72rem; }
  .work-card__meta svg { width: 13px; height: 13px; }
  .work-card__more { font-size: .76rem; }
  .works-head { margin-bottom: 16px; gap: 14px; }
  .chip { padding: 4px 14px 4px 4px; font-size: .84rem; gap: 8px; }
  .chip__ic { width: 32px; height: 32px; }
  .chip__ic svg { width: 19px; height: 19px; }

  /* Wood + Light: две компактные плитки рядом */
  .wl { padding-bottom: 52px; }
  .wl__head h2 { font-size: 1.5rem; }
  .wl__head { margin-bottom: 18px; }
  .wl__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .wl__panel { min-height: 0; padding: 18px 14px 16px; border-radius: 20px; }
  .wl__word { font-size: 2.2rem; }
  .wl__sub { margin: 4px 0 10px; font-size: .62rem; letter-spacing: .18em; }
  .wl__panel p { font-size: .78rem; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .wl__list { display: none; }
  .wl__switch { top: 12px; right: 10px; padding: 3px; }
  .wl__switch-track { width: 36px; height: 22px; }
  .wl__switch-knob { width: 16px; height: 16px; }
  .wl__panel--light.is-on .wl__switch-knob { transform: translateX(14px); }

  /* О компании: коротко + «Читать дальше» */
  .about { gap: 24px; }
  .about__text > p { font-size: .95rem; }
  .about__more { display: none; }
  .about__text.is-open .about__more { display: block; }
  .about__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 0; margin: -4px 0 6px; border: 0; background: none; color: var(--teal-d); font-weight: 800; font-size: .88rem; cursor: pointer; }
  .about__toggle::after { content: "↓"; transition: transform .3s; }
  .about__text.is-open .about__toggle::after { transform: rotate(180deg); }
  .about__sub { margin: 24px 0 12px; }
  .principles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .principle { flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: var(--bg); }
  .about__side .principle { padding: 14px 13px; gap: 8px; border-radius: 16px; }
  .principle__num { width: 30px; height: 30px; font-size: .75rem; border-radius: 9px; }
  .principle h4 { font-size: .88rem; margin: 0 0 4px; }
  .principle p { font-size: .76rem; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .dossier { padding: 18px 14px; border-radius: 22px; }
  .dossier__title { margin-bottom: 12px; }
  .dossier__title h3 { font-size: 1rem; }
  .dossier__grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .dossier__tile, .dossier__tile--wide, .dossier__tile:last-child:nth-child(even) { grid-column: auto; display: block; padding: 10px 8px; border-radius: 12px; text-align: center; }
  .dossier__tile strong, .dossier__tile--wide strong { font-size: .98rem; margin-bottom: 3px; }
  .dossier__tile span { font-size: .64rem; line-height: 1.25; }

  /* шоурум и контакты: список вместо крупных карточек */
  .showroom { gap: 14px; margin-bottom: 32px; }
  .showroom__photo { aspect-ratio: 16 / 10; border-radius: 20px; }
  .showroom__badge { display: none; }
  .contact__list { gap: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--glass-line); }
  .contact__item { border: 0; border-bottom: 1px solid var(--glass-line); border-radius: 0; padding: 11px 14px; background: var(--glass); }
  .contact__item:last-child { border-bottom: 0; }
  .contact__icon { width: 32px; height: 32px; border-radius: 10px; }
  .contact__icon svg { width: 16px; height: 16px; }
  .contact__item strong { font-size: .86rem; }
  .showroom__side > .contact__steps-title, .msgr { display: none; }
  .showroom__actions { padding-top: 12px; }
  .contact-bottom { padding-top: 28px; gap: 20px; }
  .steps { gap: 16px 12px; }
  .step { padding-top: 22px; }
  .step strong { font-size: .86rem; }
  .step small { font-size: .74rem; }
  .map, .map iframe { min-height: 200px; }
  .map { border-radius: 18px; }

  .footer { padding: 32px 0 24px; }
  .footer__top { gap: 18px; padding-bottom: 18px; }
  .footer__nav { gap: 14px; font-size: .85rem; }
  /* шапка-слайдер как сторис: карточка со скруглением, полоски сверху, тап влево/вправо */
  .hs { height: auto; min-height: 0; max-height: none; padding: 10px 10px 0; background: var(--bg); overflow: visible; }
  .hs__track { height: min(60svh, 500px); border-radius: 24px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); }
  .hs__shade { background: linear-gradient(180deg, rgba(8, 8, 9, .45) 0%, transparent 18%, transparent 42%, rgba(8, 8, 9, .9) 100%); }
  .hs__ui { top: 20px; bottom: auto; left: 10px; right: 10px; width: auto; margin: 0; padding: 0 16px; }
  .hs__bars { gap: 4px; }
  .hs__bar { height: 10px; }
  .hs__bar span { height: 2.5px; background: rgba(255, 255, 255, .35); }
  .hs__count, .hs__arrows { display: none; }
  .hs__content { left: 0; right: 0; bottom: 18px; width: auto; margin: 0; padding: 0 18px; }
  .hs__content > * { max-width: 100%; }
  .hs__eyebrow { font-size: .58rem; padding: 4px 9px; margin-bottom: 8px; letter-spacing: .12em; }
  .hs__title { font-size: 1.45rem; line-height: 1.12; margin-bottom: 6px; }
  .hs__text { font-size: .82rem; line-height: 1.45; margin-bottom: 14px; color: rgba(255, 255, 255, .8); }
  .hs .btn { padding: 10px 16px; font-size: .8rem; gap: 8px; }
  .hs .btn svg { width: 15px; height: 15px; }
  .hs__slide:first-child .hs__img { object-position: 50% 28%; }
  .hs-brand { margin-bottom: 12px; }
  .hs-brand__word { font-size: 2.35rem; text-shadow: 0 0 22px rgba(var(--neon-rgb), .25); }
  .hs-brand__stroke { height: 13px; }
  .hs-brand__tag { margin-top: 7px; font-size: .56rem; letter-spacing: .3em; color: rgba(255, 255, 255, .78); }
  .hs__slide--brand .hs__title { font-size: 1.15rem; font-weight: 800; }
  .quick { border-bottom: 0; background: var(--bg); padding-top: 12px; }
}

/* ---------- Меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hs__track { scroll-behavior: auto; }
  .js .reveal { filter: none; transform: none; transition: opacity .4s; }
  .hs__img, .hs__content > * { transition: none; }
  .btn-catalog::before, .soon__ring, .any__glow, .marquee__list, .soon__icon, .fab__btn, .fab__btn::after, .showroom__dot::after { animation: none; }
  .wl__panel--light.is-on .wl__word--light { animation: none; }
  .any__title.is-visible .neon-line { animation: none; }
}

/* v16.1: отдельная страница товара / работы */
.item-page { margin-top: 18px; background: var(--bg); color: var(--ink); border-radius: 30px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(var(--neon-rgb), .15); }
.item-page .work-detail__info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; margin: 6px 0 14px; }
.item-page .gallery { height: 100%; }
.item-page .btn--glass { color: var(--ink); border-color: rgba(0,0,0,.15); background: transparent; }
.item-page .btn--glass svg { width: 18px; height: 18px; }
.item-more { margin-top: 56px; }
.item-more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.item-more__head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.item-more__head a { color: var(--neon); font-weight: 700; text-decoration: none; }
a.pcard { color: inherit; text-decoration: none; display: block; }
.crumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50vw; }
@media (max-width: 860px) {
  .item-page { border-radius: 22px; margin-top: 12px; }
  .item-page .work-detail__cta .btn { flex: 1 1 100%; justify-content: center; }
}
