/* ==========================================================================
   НСК-ПОТОЛОК — лендинг натяжных потолков (Новосибирск, мастер Николай)
   Стиль повторяет референс: премиум-тёмный, тёплый почти чёрный фон,
   латунное золото, фото во весь экран, стеклянная карточка статистики.
   ========================================================================== */

:root {
  --bg:        #0c0b0a;
  --bg-2:      #121110;
  --surface:   #171614;
  --surface-2: #201e1b;
  --ink:       #f5efe6;
  --ink-2:     #ded7cc;
  --muted:     #9c958d;
  --muted-2:   #8a847e;
  --line:      #272320;
  --line-2:    #3b352e;

  --brass:     #d9b877;
  --brass-2:   #f0d9a4;
  --brass-3:   #bd9a56;
  --grad:      linear-gradient(135deg, #f3dfa8 0%, #cba75f 100%);
  --grad-soft: rgba(217, 184, 119, .14);

  --ok:        #5ed08a;
  --err:       #ff7b8a;

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 30px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .4);
  --shadow:    0 22px 55px -26px rgba(0, 0, 0, .85);
  --shadow-lg: 0 46px 100px -46px rgba(0, 0, 0, .95);

  --wrap: 1360px;
  --gap: clamp(18px, 3vw, 30px);
  --sec: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: var(--sec) 0; position: relative; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-2);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--brass); opacity: .8; }
.sec-title { font-size: clamp(30px, 4.4vw, 54px); }
.sec-lead { margin-top: 16px; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 620px; }
.sec-head { margin-bottom: clamp(30px, 4vw, 54px); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }

/* ------------------------------- кнопки --------------------------------- */
.btn {
  --pad: 14px 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary { background: var(--grad); color: #17120a; box-shadow: 0 16px 34px -14px rgba(217, 184, 119, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -16px rgba(217, 184, 119, .85); }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--outline:hover { transform: translateY(-2px); border-color: var(--brass); color: var(--brass-2); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--brass); color: var(--brass-2); }
.btn--lg { --pad: 18px 34px; font-size: 17px; }
.btn--block { width: 100%; }

/* -------------------------------- шапка --------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(12, 11, 10, .84);
  backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 20px 45px -38px #000;
}
/* постоянный тёмный шлейф под шапкой: меню/телефон читаются даже поверх светлого фото */
.site-header::before { content: ''; position: absolute; inset: 0 0 auto; height: 150px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 7, 6, .8) 0%, rgba(8, 7, 6, .35) 55%, transparent 100%); }
.hdr { display: flex; align-items: center; gap: 22px; height: 86px; width: min(1360px, 100% - 40px); margin-inline: auto; }

.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand__logo { display: flex; flex-direction: column; line-height: 1; }
.brand__logo b { font-size: 22px; font-weight: 800; letter-spacing: .14em; }
.brand__logo span { font-size: 10.5px; letter-spacing: .36em; color: var(--brass-2); margin-top: 4px; }
.brand__div { width: 1px; height: 36px; background: rgba(255, 255, 255, .18); }
.brand__label { display: flex; flex-direction: column; line-height: 1.15; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.brand__label span { color: var(--muted-2); letter-spacing: .12em; margin-top: 3px; }

.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a {
  padding: 9px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: rgba(255, 255, 255, .06); color: var(--brass-2); }

.hdr__right { display: flex; align-items: center; gap: 18px; flex: none; }
.hdr__phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.hdr__phone b { font-size: 15.5px; font-weight: 800; white-space: nowrap; }
.hdr__phone span { font-size: 11.5px; color: var(--muted); }
.hdr__phone:hover b { color: var(--brass-2); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

.mmenu { position: fixed; inset: 0; z-index: 120; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); }
.mmenu.is-open { opacity: 1; pointer-events: auto; }
.mmenu__veil { position: absolute; inset: 0; background: rgba(5, 5, 4, .7); backdrop-filter: blur(3px); }
.mmenu__panel {
  position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--bg-2);
  padding: 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line);
  transform: translateX(102%); transition: transform .36s var(--ease-out); box-shadow: -40px 0 90px -50px #000;
}
.mmenu.is-open .mmenu__panel { transform: none; }
.mmenu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mmenu__close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 18px; line-height: 1; }
.mmenu a.mlink { padding: 15px 12px; border-radius: 14px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mmenu a.mlink:hover { background: var(--surface); color: var(--brass-2); }
.mmenu__foot { margin-top: auto; display: grid; gap: 10px; padding-top: 16px; }

/* ------------------------------- герой ---------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 150px 0 34px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, .86) 0%, rgba(8, 7, 6, .36) 32%, rgba(8, 7, 6, .68) 62%, rgba(8, 7, 6, .97) 100%),
    linear-gradient(90deg, rgba(8, 7, 6, .9) 0%, rgba(8, 7, 6, .45) 46%, rgba(8, 7, 6, .15) 100%);
}
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 56px; }
.hero__top { max-width: 760px; padding-top: 6vh; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #ddd3c2; }
.hero__eyebrow b { color: var(--brass-2); font-weight: 700; }
.hero__title { margin-top: 22px; font-size: clamp(36px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; font-weight: 700; }
.hero__title .gold { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 22px; max-width: 560px; color: #d3cabb; font-size: clamp(15px, 1.5vw, 18px); }
.hero__actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__play { display: flex; align-items: center; gap: 13px; }
.hero__play-ic { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; color: #fff; flex: none; transition: all .25s var(--ease); }
.hero__play-ic svg { width: 20px; height: 20px; }
.hero__play-txt b { display: block; font-size: 15px; color: #fff; }
.hero__play-txt span { display: block; font-size: 12.5px; color: var(--muted); }
.hero__play:hover .hero__play-ic { border-color: var(--brass); color: var(--brass-2); transform: scale(1.06); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(30, 28, 26, .55); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg); backdrop-filter: blur(14px) saturate(140%); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hstat { padding: 22px 24px; display: flex; gap: 15px; border-right: 1px solid rgba(255, 255, 255, .1); }
.hstat:last-child { border-right: 0; }
.hstat__ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(240, 217, 164, .45); color: var(--brass-2); display: grid; place-items: center; flex: none; }
.hstat__ic svg { width: 22px; height: 22px; }
.hstat b { display: block; text-transform: uppercase; letter-spacing: .07em; font-size: 13px; color: #fff; line-height: 1.25; }
.hstat span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 7px; line-height: 1.45; }

/* ------------------------------- полоса --------------------------------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip__row { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center; padding: 20px 0; }
.strip__item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
.strip__item svg { width: 20px; height: 20px; color: var(--brass); }

/* ------------------------------- карточки ------------------------------- */
.cards { display: grid; gap: var(--gap); }
.cards--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(217, 184, 119, .45); }
.feature__ic { width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); color: var(--brass-2); display: grid; place-items: center; margin-bottom: 18px; }
.feature__ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ------------------------------- услуги --------------------------------- */
.svc-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0,1fr)); }
.svc {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(217, 184, 119, .45); }
.svc__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc__body h3 { font-size: 22px; }
.svc__body p { color: var(--muted); font-size: 15px; flex: 1; }
.svc__price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.svc__price b { font-size: 26px; font-weight: 800; color: var(--brass-2); }
.svc__price span { color: var(--muted); font-size: 14px; }
.svc__tag { position: absolute; z-index: 2; top: 14px; left: 14px; background: rgba(12, 11, 10, .82); backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 184, 119, .35); border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 700; color: var(--brass-2); }

/* ----------------------------- калькулятор ------------------------------ */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.calc__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 26px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.field label { font-weight: 700; font-size: 16px; }
.field .val { font-weight: 800; font-size: 18px; color: var(--brass-2); }
.field small { color: var(--muted); font-size: 13.5px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--line-2); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #0c0b0a; border: 6px solid var(--brass); box-shadow: 0 8px 18px -6px rgba(217, 184, 119, .9); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #0c0b0a; border: 6px solid var(--brass); cursor: pointer; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: all .2s var(--ease); }
.chip:hover { border-color: var(--brass); color: var(--brass-2); }
.chip.is-active { background: var(--grad); color: #17120a; border-color: transparent; box-shadow: 0 12px 26px -14px rgba(217, 184, 119, .85); }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; border-top: 1px solid var(--line); }
.switch:last-of-type { border-bottom: 1px solid var(--line); }
.switch__txt b { display: block; font-size: 16px; }
.switch__txt span { font-size: 13.5px; color: var(--muted); }
.toggle { position: relative; width: 54px; height: 30px; border-radius: 999px; background: var(--line-2); flex: none; transition: background-color .25s var(--ease); border: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.toggle.is-on { background: var(--brass); }
.toggle.is-on::after { transform: translateX(24px); }

.calc__result {
  position: sticky; top: 104px; border-radius: var(--r-xl); padding: clamp(26px, 3vw, 38px); color: var(--ink);
  background: radial-gradient(120% 130% at 0% 0%, #26241f 0%, #181614 55%, #110f0e 100%);
  border: 1px solid rgba(217, 184, 119, .28); box-shadow: var(--shadow-lg); overflow: hidden;
}
.calc__result::after { content: ''; position: absolute; right: -70px; top: -70px; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 184, 119, .3), transparent 70%); }
.calc__result .lbl { position: relative; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-2); }
.calc__sum { position: relative; margin-top: 12px; font-size: clamp(38px, 6vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.calc__note { position: relative; margin-top: 14px; color: var(--muted); font-size: 14px; }
.calc__result .btn { position: relative; margin-top: 24px; }
.calc__list { position: relative; margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.calc__list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--muted); border-bottom: 1px dashed var(--line-2); padding-bottom: 10px; }
.calc__list li b { color: var(--ink); font-weight: 700; }

/* -------------------------------- этапы --------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: var(--gap); }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step__n { font-size: 15px; font-weight: 800; color: #17120a; background: var(--grad); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ------------------------------- галерея -------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.g-item { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--line); padding: 0; background: var(--surface); box-shadow: var(--shadow-sm); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 5, 4, .75)); opacity: 0; transition: opacity .3s var(--ease); }
.g-item__cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-weight: 700; font-size: 15px; opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); }
.g-item:hover img { transform: scale(1.07); }
.g-item:hover::after, .g-item:hover .g-item__cap { opacity: 1; transform: none; }

.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 4vmin; background: rgba(4, 4, 3, .94); backdrop-filter: blur(10px); }
.lb.is-open { display: flex; }
.lb img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 20px; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px #000; }
.lb__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(23,22,20,.7); color: #fff; font-size: 22px; display: grid; place-items: center; }
.lb__btn:hover { background: var(--brass); color: #17120a; border-color: transparent; }
.lb__close { top: 3vmin; right: 3vmin; }
.lb__prev { left: 3vmin; top: 50%; transform: translateY(-50%); }
.lb__next { right: 3vmin; top: 50%; transform: translateY(-50%); }

/* ------------------------------- отзывы --------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--gap); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.review__stars { color: var(--brass); letter-spacing: 3px; font-size: 16px; }
.review p { margin: 14px 0 18px; color: var(--ink-2); }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__ava { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #17120a; display: grid; place-items: center; font-weight: 800; }
.review__who b { display: block; font-size: 16px; }
.review__who span { font-size: 13px; color: var(--muted-2); }

/* -------------------------------- о мастере ----------------------------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.about__photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; border: 1px solid var(--line-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.abadge { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-sm); }
.abadge svg { width: 20px; height: 20px; color: var(--brass); }
.about h2 { font-size: clamp(28px, 3.6vw, 44px); }
.about p { margin-top: 16px; color: var(--muted); font-size: 16.5px; }

/* --------------------------------- FAQ ---------------------------------- */
.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease); }
.faq details[open] { border-color: rgba(217, 184, 119, .4); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--brass); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; color: var(--muted); }

/* --------------------------- заявка на замер ---------------------------- */
.lead { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px);
  background: radial-gradient(120% 140% at 100% 0%, #26241f 0%, #181614 52%, #110f0e 100%);
  border: 1px solid rgba(217, 184, 119, .25); color: var(--ink); box-shadow: var(--shadow-lg); }
.lead::before { content: ''; position: absolute; left: -90px; bottom: -130px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 184, 119, .26), transparent 70%); }
.lead__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.lead h2 { font-size: clamp(28px, 3.8vw, 46px); }
.lead p { margin-top: 14px; color: var(--muted); }
.lead__btns { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.form { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); color: var(--ink); box-shadow: var(--shadow-lg); }
.form h3 { font-size: 22px; }
.form__sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.form__row { margin-top: 16px; }
.form input, .form textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #100f0d; font: 500 16px var(--font); color: var(--ink); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.form input::placeholder, .form textarea::placeholder { color: var(--muted-2); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brass); background: #14120f; }
.form textarea { resize: vertical; min-height: 92px; }
.form__agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--muted); }
.form__agree input { width: auto; margin-top: 3px; accent-color: var(--brass); }
.form .btn { margin-top: 18px; }
.form__msg { margin-top: 14px; font-size: 14.5px; font-weight: 700; display: none; }
.form__msg.is-ok { display: block; color: var(--ok); }
.form__msg.is-err { display: block; color: var(--err); }

/* -------------------------------- подвал -------------------------------- */
.site-footer { background: #090807; border-top: 1px solid var(--line); color: var(--muted); padding: 64px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer .brand__logo b { color: var(--ink); }
.site-footer .brand__label { color: var(--muted-2); }
.site-footer .brand__label span { color: var(--muted-2); }
.site-footer a:hover { color: var(--brass-2); }
.footer__col h4 { color: var(--ink); font-size: 15px; margin-bottom: 14px; letter-spacing: .02em; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.footer__note { margin-top: 22px; font-size: 13.5px; color: var(--muted-2); max-width: 380px; }
.footer__bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; color: var(--muted-2); }

/* --------------------------- мобильная панель --------------------------- */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 11, 10, .93); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobilebar .btn { flex: 1; --pad: 14px 10px; font-size: 15px; }

/* ------------------------------- анимации ------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
html.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; }

/* -------------------------------- адаптив ------------------------------- */
@media (max-width: 1200px) {
  .brand__label { display: none; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hstat:nth-child(2) { border-right: 0; }
  .hstat:nth-child(1), .hstat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 1080px) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .cards--3, .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1399px) {
  .nav { display: none; }
  .burger { display: grid; }
}
@media (max-width: 860px) {
  .hdr__phone { display: none; }
  .lead__grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  /* Кнопку в шапке на телефоне убираем: её роль выполняет нижняя панель. */
  .hdr__right .btn { display: none; }
  .hero { padding: 118px 0 22px; min-height: auto; }
  .hero__top { padding-top: 24px; }
  .hero__stats { grid-template-columns: 1fr; }
  .hstat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hstat:last-child { border-bottom: 0; }
  .hstat:nth-child(1), .hstat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .cards--3, .cards--2, .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__grid { grid-template-columns: 1fr; }
  .mobilebar { display: flex; }
  body { padding-bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html.js .reveal, html.js .reveal-stagger > * { opacity: 1; transform: none; }
}
