/* =========================================================================
   Фабрика вывесок — дизайн-система «Цех»
   Тёмная индустриальная. Глубокий чёрный, сигнальный оранжевый, IBM Plex
   в трёх начертаниях: Condensed в заголовки, Sans в текст, Mono в цифры.

   Тема одна — тёмная, светлого варианта нет намеренно: все фотографии
   работ сняты ночью, светящаяся вывеска на светлом фоне гаснет.
   Скилл это допускает, когда решение обосновано брендом.

   Контраст: сигнальный на фоне 6.19:1, приглушённый текст 5.70:1.
   Белый текст на оранжевом даёт 3.12 и запрещён — на кнопках тёмный.
   ========================================================================= */

:root {
  color-scheme: dark;

  /* Поверхности: тёплый чёрный, без чистого #000 */
  --bg:        #0E0E0D;
  --bg-2:      #131312;
  --surface:   #1A1A18;
  --surface-2: #222220;
  --line:      #2E2E2A;
  --line-2:    #242420;

  /* Текст */
  --ink:     #F2F2EE;
  --ink-2:   #C6C6BF;
  --muted:   #8C8C84;
  --muted-2: #9A9A92;

  /* Единственный акцент — сигнальный */
  --signal:      #FF5A1F;
  --signal-hi:   #FF7442;
  --signal-lo:   #C43D0E;
  --signal-soft: rgba(255,90,31,.13);
  --signal-line: rgba(255,90,31,.34);
  --on-signal:   #14100D;   /* текст поверх оранжевого */

  /* Совместимость: разметка уже написана на этих именах */
  --accent: var(--signal); --accent-600: var(--signal-hi); --accent-700: var(--signal-lo);
  --accent-soft: var(--signal-soft); --accent-soft-2: rgba(255,90,31,.06);
  --accent-glow: var(--signal-hi); --accent-on-dark: var(--signal-hi);
  --bg-subtle: var(--bg-2); --border: var(--line); --border-2: var(--line-2);
  --deep: var(--surface); --white: #F2F2EE;

  /* Индустриальная геометрия: прямые углы, без скруглений */
  --radius-sm: 0px; --radius: 0px; --radius-lg: 0px; --radius-pill: 0px;

  --shadow-sm: none;
  --shadow-md: 0 12px 32px rgba(0,0,0,.55);
  --shadow-lg: 0 28px 64px rgba(0,0,0,.7);
  --shadow-accent: none;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 132px);

  --font-display: 'IBM Plex Sans Condensed', 'IBM Plex Sans', system-ui, sans-serif;
  --font-sans:    'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.2,.7,.3,1);
  --z-header: 60; --z-scrim: 65; --z-nav: 70; --z-burger: 80; --z-lightbox: 200;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.62; font-weight: 400;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Именно clip, а не hidden: hidden делает body контейнером прокрутки
     (overflow-y автоматически становится auto), из-за чего ломается
     position:sticky у шапки и наблюдатель за меткой прокрутки.
     clip обрезает так же, но контейнер прокрутки не создаёт. */
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--signal); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--signal-hi); }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: 0; }
p  { margin: 0 0 1em; text-wrap: pretty; }

/* Цифры всегда моноширинные и табличные — это язык производства */
.num, .stats .st b, .hero-trust .ht b, .step::before, .aside-card .price {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500;
}

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-lightbox);
  background: var(--signal); color: var(--on-signal); font-weight: 600; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--subtle { background: var(--bg-2); border-block: 1px solid var(--line-2); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 48ch; }

.grid { display: grid; gap: clamp(1px, .2vw, 1px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Надзаголовок и заголовки секций ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 500; font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--signal); padding: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--signal); flex-shrink: 0; }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: .8em; max-width: 60ch; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }

.rule-accent { position: relative; padding-bottom: .34em; }
.rule-accent::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 3px; background: var(--signal); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: .95rem; line-height: 1;
  letter-spacing: .02em; text-transform: uppercase;
  padding: 17px 30px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .14s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.btn-primary:hover { background: var(--signal-hi); border-color: var(--signal-hi); color: var(--on-signal); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }
.btn-light { background: transparent; color: var(--ink); border-color: rgba(255,255,255,.28); }
.btn-light:hover { border-color: var(--signal); color: var(--signal); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 20px 36px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }

/* ---------- Верхняя полоса ---------- */
.topbar { background: transparent; color: var(--muted); font-size: .8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding-block: 6px; }
.topbar a { color: var(--ink-2); font-weight: 500; }
.topbar a:hover { color: var(--signal); }
.topbar .tb-left { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); letter-spacing: .02em; }
.topbar .tb-item svg { width: 14px; height: 14px; color: var(--signal); }
.topbar .tb-city, .topbar .tb-city a { color: var(--muted); }
.topbar .tb-city a:hover { color: var(--signal); }
.topbar .tb-right { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; }
@media (max-width: 720px) { .topbar .tb-right, .topbar .tb-city { display: none; } .topbar .tb-left { gap: 16px; } }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(14,14,13,.88);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
/* Метка в самом верху страницы: пока она видна — шапка прозрачная */
.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
/* Логотип уже оранжевый — оранжевая подложка под ним не нужна,
   иначе получается оранжевое на оранжевом. */
.brand__mark {
  height: 42px; width: auto; flex-shrink: 0;
  display: grid; place-items: center; background: none;
}
.brand__mark::after { display: none; }
.brand__mark img { height: 42px; width: auto; display: block; }
@media (max-width: 560px) {
  .brand__mark, .brand__mark img { height: 36px; }
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); line-height: 1; display: block; }
.brand__sub { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--signal); margin-top: 4px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav a, .main-nav .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-weight: 500; font-size: .84rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  padding: 12px 16px; background: none; border: 0; cursor: pointer;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.main-nav a:hover, .main-nav .nav-toggle:hover { color: var(--signal); background: var(--signal-soft); }
.main-nav a[aria-current="page"] { color: var(--signal); box-shadow: inset 0 -2px 0 var(--signal); }

.has-drop { position: relative; }
.has-drop > .nav-toggle svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.has-drop[data-open="true"] > .nav-toggle svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 292px; max-width: calc(100vw - 32px);
  background: var(--surface); border: 1px solid var(--line); padding: 6px; list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease);
}
.has-drop:hover .drop, .has-drop[data-open="true"] .drop { opacity: 1; visibility: visible; transform: translateY(0); }

/* Девять услуг в один столбец не помещаются: раскладываем в три колонки
   и центрируем относительно пункта меню, иначе уезжает за правый край */
.drop--mega {
  /* Панель занимает место в потоке даже скрытой (visibility, а не display).
     Пока она центрировалась по пункту меню, на широких экранах её правый край
     уходил за вьюпорт — отсюда горизонтальная прокрутка на всех страницах.
     Привязка к правому краю пункта: уехать вправо панель уже не может. */
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); padding: 1px;
  left: auto; right: 0; transform: translateY(6px);
  min-width: 0; width: max-content; max-width: min(94vw, 940px);
}
.has-drop:hover .drop--mega, .has-drop[data-open="true"] .drop--mega { transform: translateY(0); }
/* На узком десктопе три колонки не помещаются между левым краем экрана
   и пунктом меню — панель подрезалась слева. Складываем в две. */
@media (max-width: 1200px) {
  .drop--mega { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: min(62vw, 620px); }
}
.drop-col { background: var(--surface); padding: 16px 12px 12px; }
.drop-col > ul { list-style: none; }
.drop-h {
  display: block; font-family: var(--font-mono); font-weight: 500; font-size: .66rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--signal);
  padding: 0 12px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.drop a { display: flex; gap: 13px; align-items: flex-start; padding: 13px; text-transform: none; letter-spacing: 0; }
.drop a:hover { background: var(--signal-soft); }
.drop .di-ic { width: 36px; height: 36px; background: var(--bg); border: 1px solid var(--line); color: var(--signal); display: grid; place-items: center; flex-shrink: 0; }
.drop .di-ic svg { width: 19px; height: 19px; }
.drop .di-t { font-weight: 600; color: var(--ink); font-size: .94rem; }
.drop .di-d { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 3px; }

.header-cta { flex-shrink: 0; padding: 13px 22px; font-size: .82rem; }
.nav-burger { display: none; }

@media (max-width: 1040px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: var(--surface); border-left: 1px solid var(--line); padding: 84px 20px 28px;
    transform: translateX(100%); transition: transform .26s var(--ease); overflow-y: auto; z-index: var(--z-nav); }
  .main-nav[data-open="true"] { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a, .main-nav .nav-toggle { width: 100%; justify-content: flex-start; font-size: .95rem; padding: 16px 14px; border-bottom: 1px solid var(--line-2); }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; display: none; }
  .drop--mega { grid-template-columns: 1fr; gap: 0; background: transparent; padding: 0 0 6px 10px;
    width: auto; max-width: none; transform: none; left: auto; }
  .has-drop[data-open="true"] .drop--mega { transform: none; }
  .drop-col { background: transparent; padding: 10px 0 0; }
  .drop-h { padding: 0 0 8px; border-bottom-color: var(--line-2); }
  .has-drop[data-open="true"] .drop { display: block; }
  .header-cta { display: none; }
  .nav-burger { display: inline-grid; place-items: center; margin-left: auto; width: 46px; height: 46px;
    border: 1px solid var(--line); background: transparent; cursor: pointer; z-index: var(--z-burger); }
  .nav-burger svg { width: 22px; height: 22px; color: var(--signal); }
  .nav-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border: 1px solid var(--line);
    background: transparent; cursor: pointer; display: grid; place-items: center; }
  .nav-close svg { width: 20px; height: 20px; color: var(--signal); }
  .nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.72); opacity: 0; visibility: hidden; transition: .22s; z-index: var(--z-scrim); }
  .nav-scrim[data-open="true"] { opacity: 1; visibility: visible; }
}
@media (min-width: 1041px) { .nav-close { display: none; } }

/* ---------- Герой ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); margin-top: -1px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 76% at 78% -10%, rgba(255,90,31,.15), transparent 64%);
}
/*Техническая сетка на фоне — язык чертежа */
.hero-grid-bg {
  position: absolute; inset: 0; opacity: 1; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 25%, #000, transparent 78%);
          mask-image: radial-gradient(80% 70% at 60% 25%, #000, transparent 78%);
}
.hero .container { position: relative; z-index: 1; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-block: clamp(56px, 7.5vw, 104px) clamp(64px, 8.5vw, 120px);
}
.hero h1 { margin-bottom: .26em; }
.hero h1 .hl { color: var(--signal); }
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-2); max-width: 52ch; line-height: 1.68; }
.hero-cta { margin-top: 34px; }

/* Показатели: техническая полоса на волосяных линиях, а не «карточки» */
.hero-trust { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hero-trust .ht { display: flex; flex-direction: column; background: var(--bg); padding: 20px clamp(14px,2vw,24px); }
.hero-trust .ht b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--signal); line-height: 1; letter-spacing: -.02em; }
.hero-trust .ht span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (max-width: 560px) { .hero-trust { grid-template-columns: 1fr; } }

.hero-visual { position: relative; }

/* ============ ВЫВЕСКА НА КРОНШТЕЙНАХ + ЩИТОК ============
   Рамки нет: панель держится на собственной толщине — светлая верхняя
   грань, тёмная нижняя, тень под ней. Свет включается автоматом в щитке. */
/* Отрицательный отступ поднимает вывеску так, чтобы строка «ВАШ БРЕНД»
   встала по центру заголовка слева. Центрирование (align-items:center)
   делит отступ пополам, поэтому значение вдвое больше нужного сдвига. */
.hero-rig { display: flex; flex-direction: column; margin-top: -226px; }
/* На узком десктопе заголовок и вывеска ужимаются по-разному
   (у них разные clamp), поэтому там нужна своя поправка. */
@media (min-width: 901px) and (max-width: 1100px) {
  .hero-rig { margin-top: -284px; }
}

/* Под вывеской: слева планка с гарантиями, справа щиток. Кабель спускается
   с полотна ровно в него, поэтому щиток прижат к правому краю вывески. */
.rig-foot { display: grid; grid-template-columns: 1fr 64px; gap: 10px; align-items: start; margin-top: 10px; }

/* ---- сама вывеска ---- */
.sign { position: relative; z-index: 2; display: flex; flex-direction: column; }

/* Отсвет на стене за вывеской — появляется только когда свет включён */
.sign::before {
  content: ""; position: absolute; inset: -34% -26% -40%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 46% at 50% 50%, rgba(255,120,60,.42), transparent 68%),
    radial-gradient(70% 66% at 50% 56%, rgba(255,80,26,.20), transparent 72%);
  filter: blur(26px); transition: opacity .55s var(--ease);
}

/* Кронштейн: верхняя планка + две стойки */
.sign__rail { position: relative; height: 26px; flex: none; z-index: 1; }
.sign__rail::before {
  content: ""; position: absolute; left: 7%; right: 7%; top: 0; height: 3px;
  background: linear-gradient(180deg, #3A382F, #1C1B18);
  box-shadow: 0 1px 0 rgba(0,0,0,.6);
}
.sign__rail i {
  position: absolute; top: 3px; bottom: 0; width: 7px;
  background: linear-gradient(90deg, #302E29, #16150F 60%, #26241F);
}
.sign__rail i:first-child { left: 21%; }
.sign__rail i:last-child  { right: 21%; }

/* Полотно вывески. Толщину даём внутренними тенями, а не border. */
.sign__face {
  position: relative; z-index: 1; overflow: hidden; aspect-ratio: 16 / 7;
  display: grid; place-items: center; padding: 26px 32px; text-align: center;
  background:
    radial-gradient(72% 56% at 50% 42%, rgba(255,90,31,.2), transparent 72%),
    linear-gradient(160deg, #1C1B19, #0B0B0A);
  box-shadow:
    /* профиль рамы изнутри: верхняя грань ловит свет, нижняя в тени */
    inset 0 0 0 3px #201F1B,
    inset 0 4px 6px -3px rgba(255,240,225,.16),
    inset 0 -5px 8px -4px rgba(0,0,0,.9),
    /* корпус короба — короб имеет толщину, а не нарисован линией */
    0 0 0 4px #17161200,
    0 0 0 5px rgba(255,240,225,.05),
    /* вес: тень на стене под коробом */
    0 30px 70px rgba(0,0,0,.85),
    0 6px 18px rgba(0,0,0,.6);
  transition: background .5s var(--ease);
}
/* Фактура лицевой панели */
.sign__face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    /* зерно — главный признак фотографии, а не отрисовки */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"),
    /* косой блик — полотно не идеально матовое, оно ловит свет улицы */
    linear-gradient(104deg, transparent 30%, rgba(255,240,225,.06) 46%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,140,90,.035) 0 1px, transparent 1px 44px);
  background-size: 140px 140px, auto, auto;
  opacity: .92;
  mix-blend-mode: overlay;
}
/* Винты крепления по углам — мелочь, по которой глаз узнаёт железку */
.sign__face::before {
  content: ""; position: absolute; inset: 11px; pointer-events: none; z-index: 3;
  background:
    radial-gradient(circle 2.5px at left top,     rgba(255,240,225,.30) 45%, transparent 46%),
    radial-gradient(circle 2.5px at right top,    rgba(255,240,225,.30) 45%, transparent 46%),
    radial-gradient(circle 2.5px at left bottom,  rgba(255,240,225,.22) 45%, transparent 46%),
    radial-gradient(circle 2.5px at right bottom, rgba(255,240,225,.22) 45%, transparent 46%);
  background-repeat: no-repeat;
}
.hero-sign { position: relative; z-index: 2; }

/* Световое пятно от букв НА подложке. У настоящей вывески свет
   ложится на полотно вокруг букв — самое яркое у самой кромки.
   screen подмешивает свет, а не закрашивает поверхность. */
.neon--spill {
  position: absolute; left: 0; right: 0; top: 0;
  pointer-events: none; z-index: -1;
  filter: blur(16px);
  mix-blend-mode: screen;
  opacity: .9;
}
.neon--spill i { color: #FF6A2A; text-shadow: none; transition: none; }
.hero-rig.is-off .neon--spill { opacity: 0; }

/* ---- щиток ---- */
.rig-side { position: relative; z-index: 1; display: flex; flex-direction: column; margin-top: -34px; }

/* Кабель: на всю высоту уходит вверх за полотно (у .sign z-index выше),
   поэтому выглядит так, будто выходит из-под вывески, а не лежит на ней.
   Отрицательный margin у .rig-side поднимает щиток вровень с планкой слева. */
.rig-cable { height: 34px; width: 100%; overflow: visible; display: block; }
.rig-cable path {
  fill: none; stroke: #232219; stroke-width: 3.5; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* Корпус щитка */
.box {
  position: relative; flex: none; padding: 9px 7px 8px;
  background: linear-gradient(180deg, #262520, #171612);
  box-shadow:
    inset 0 1px 0 rgba(255,240,225,.09),
    inset 0 -1px 0 rgba(0,0,0,.7),
    0 10px 22px rgba(0,0,0,.6);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
/* Винты крепления */
.box::before, .box::after {
  content: ""; position: absolute; left: 50%; width: 4px; height: 4px; margin-left: -2px;
  background: #0E0D0B; box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.box::before { top: 3px; }
.box::after  { bottom: 3px; }

.box__led {
  width: 7px; height: 7px; flex: none; background: #3A251A;
  box-shadow: inset 0 0 2px rgba(0,0,0,.8);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.box__lbl {
  font-family: var(--font-mono); font-size: .5rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); line-height: 1;
}

/* ---- Пометка от руки: «щёлкни!» со стрелкой к автомату ----
   Живёт до первого нажатия. Лежит абсолютом под щитком, поэтому
   не влияет на раскладку и ничего не двигает. */
.scribble {
  position: absolute; top: calc(100% + 4px); right: 4px;
  display: flex; align-items: flex-end; gap: 2px;
  pointer-events: none; white-space: nowrap;
  color: #D8D2C6; opacity: .92;
  transform: rotate(-6deg); transform-origin: top right;
  animation: scribble-in .5s .9s both;
}
.scribble__t {
  font-family: 'Caveat', 'Segoe Script', cursive;
  font-size: 1.45rem; font-weight: 600; line-height: 1;
  letter-spacing: .01em; text-transform: none; padding-bottom: 4px;
}
.scribble__arrow { width: 52px; height: 37px; flex: none; }
.scribble__arrow path {
  stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none;
}
@keyframes scribble-in {
  from { opacity: 0; transform: rotate(-6deg) translateY(6px); }
  to   { opacity: .92; transform: rotate(-6deg) translateY(0); }
}
/* Отработала — убираем, чтобы не мозолила глаза */
.hero-rig.is-touched .scribble { opacity: 0; transition: opacity .3s var(--ease); }

@media (prefers-reduced-motion: reduce) { .scribble { animation: none; } }
@media (max-width: 900px) { .scribble { font-size: .9em; } }

/* Автомат: рычаг ходит вверх (I) — вниз (O) */
.brk {
  position: relative; flex: none; width: 30px; height: 50px; padding: 0; border: 0;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(180deg, #14130F, #1D1C17);
  box-shadow: inset 0 1px 0 rgba(0,0,0,.85), inset 0 -1px 0 rgba(255,240,225,.05);
}
.brk:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.brk__lever {
  position: absolute; left: 5px; right: 5px; height: 16px; top: 5px;
  background: linear-gradient(180deg, #6B6459, #45403A);
  box-shadow: inset 0 1px 0 rgba(255,240,225,.22), 0 2px 5px rgba(0,0,0,.6);
  transition: top .18s cubic-bezier(.3,1.5,.5,1), background .18s var(--ease);
}
/* Насечка на рычаге — по ней видно, что его тянут, а не нажимают */
.brk__lever::after {
  content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.45) 0 1px, transparent 1px 2px);
}
/* ============ СОСТОЯНИЕ: СВЕТ ВКЛЮЧЁН (по умолчанию) ============ */
.hero-rig:not(.is-off) .box__led {
  background: var(--signal-hi);
  box-shadow: 0 0 7px rgba(255,90,31,.95), 0 0 16px rgba(255,90,31,.6);
}
.hero-rig:not(.is-off) .brk__lever {
  background: linear-gradient(180deg, var(--signal-hi), var(--signal-lo));
}

/* ============ СОСТОЯНИЕ: СВЕТ ВЫКЛЮЧЕН ============ */
.hero-rig.is-off .brk__lever { top: 29px; }
.hero-rig.is-off .sign::before { opacity: 0; }
.hero-rig.is-off .sign__face {
  background: linear-gradient(160deg, #171614, #0B0B0A);
}
/* Погашено: неподсвеченный акрил, буква читается рельефом */
.hero-rig.is-off .neon i {
  color: #46423D;
  text-shadow: 0 1px 0 rgba(255,255,255,.06), 0 -1px 0 rgba(0,0,0,.5);
}
.hero-rig.is-off .neon-rule { background: #46423D; box-shadow: none; }
.hero-rig.is-off .neon.line2 { color: #46423D; text-shadow: none; }

/* ---- неоновые буквы ---- */
.hero-sign .neon {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.04; color: #FFEFE4;
  text-shadow: 0 0 7px rgba(255,170,120,.9), 0 0 20px rgba(255,90,31,.75), 0 0 48px rgba(255,90,31,.5);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .28em;
}
.hero-sign .neon .w { display: inline-flex; }
/* Каждая буква — отдельная трубка: гаснет, загорается и отзывается на курсор */
.hero-sign .neon i {
  font-style: normal; display: inline-block;
  transition: color .25s var(--ease), text-shadow .25s var(--ease), transform .25s var(--ease);
}
/* Тёплая кромка — так читается борт светового акрила, а не плоский текст */
.hero-rig:not(.is-off) .hero-sign .neon:not(.neon--spill):not(.line2) i {
  -webkit-text-stroke: .6px rgba(255,150,95,.55);
}
/* Живая вывеска светит чуть неровно — идеально ровных не бывает */
.hero-sign .neon:not(.neon--spill) i:nth-child(3n)   { opacity: .965; }
.hero-sign .neon:not(.neon--spill) i:nth-child(5n+2) { opacity: .985; }

/* Розжиг: буквы вспыхивают по очереди, как стартеры в реальной вывеске */
.hero-rig.is-igniting .neon i {
  animation: tube-on .85s steps(1) backwards;
  animation-delay: calc(var(--d) * .085s);
}
@keyframes tube-on {
  0%   { color: #46423D; text-shadow: none }
  18%  { color: #FFEFE4; text-shadow: 0 0 10px rgba(255,170,120,.95), 0 0 26px rgba(255,90,31,.8) }
  30%  { color: #46423D; text-shadow: none }
  46%  { color: #FFEFE4; text-shadow: 0 0 10px rgba(255,170,120,.95), 0 0 26px rgba(255,90,31,.8) }
  56%  { color: #5A544C; text-shadow: none }
  100% { color: #FFEFE4 }
}
/* Наведение на букву: трубка отзывается ярче соседних */
@media (hover: hover) {
  .hero-rig:not(.is-off) .neon i:hover {
    color: #FFF; transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255,210,180,1), 0 0 28px rgba(255,120,60,.95), 0 0 64px rgba(255,90,31,.7);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rig.is-igniting .neon i { animation: none; }
  .hero-sign .neon i, .brk__lever { transition: none; }
}
.hero-sign .neon.line2 { color: var(--signal-hi); font-weight: 400; font-size: clamp(.9rem,1.7vw,1.12rem); letter-spacing: .2em; font-family: var(--font-mono); text-shadow: 0 0 12px rgba(255,90,31,.6); }
.hero-sign .neon-rule { width: 68px; height: 1px; margin: 14px auto; background: var(--signal); box-shadow: 0 0 12px rgba(255,90,31,.9); }
/* Планка под вывеской: ширина ровно по полотну, щиток она не подпирает.
   Внешней рамки нет — как и у вывески, разделители дают просветы фона. */
.hero-badges { display: grid; gap: 1px; background: var(--line); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); color: var(--ink-2); border: 0;
  padding: 13px 16px; font-family: var(--font-mono); font-weight: 400; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
}
.chip svg { width: 15px; height: 15px; color: var(--signal); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }
  .hero-rig { margin-top: 0; }   /* колонка одна — центрировать не с чем */
}

/* ---------- Панели вместо карточек ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 38px); height: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.card:hover { border-color: var(--signal-line); background: var(--surface-2); }

.svc-card { display: flex; flex-direction: column; position: relative; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
/* Ведущая услуга занимает четыре ячейки — сетка перестаёт быть рядом одинаковых плиток */
.svc-grid > :first-child { grid-column: span 2; grid-row: span 2; }
.svc-grid .card { border: 0; }
.svc-grid > :first-child h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.svc-grid > :first-child p { font-size: 1.04rem; max-width: 42ch; }
.svc-grid > :first-child .svc-ic { width: 66px; height: 66px; }
.svc-grid > :first-child .svc-ic svg { width: 32px; height: 32px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .svc-grid > :first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } .svc-grid > :first-child { grid-column: auto; } }

.svc-ic { width: 54px; height: 54px; border: 1px solid var(--line); color: var(--signal); display: grid; place-items: center; margin-bottom: 24px; transition: .2s var(--ease); }
.svc-ic svg { width: 26px; height: 26px; }
.svc-card:hover .svc-ic { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.svc-card h3 { margin-bottom: .5em; }
.svc-card p { color: var(--muted); font-size: .96rem; }
.svc-list { list-style: none; margin: 6px 0 24px; display: grid; gap: 9px; }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .91rem; color: var(--ink-2); }
.svc-list li svg { width: 16px; height: 16px; color: var(--signal); flex-shrink: 0; margin-top: 3px; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.svc-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.svc-card:hover .svc-more svg { transform: translateX(5px); }

/* ---------- Преимущества: сетка на волосяных линиях ---------- */
.grid-3, .grid-4 { background: var(--line); border: 1px solid var(--line); }
.feature { display: flex; gap: 16px; background: var(--bg); padding: clamp(24px,2.6vw,32px); }
.feature .f-ic { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); display: grid; place-items: center; color: var(--signal); }
.feature .f-ic svg { width: 21px; height: 21px; }
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-bottom: .45em; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Этапы ---------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps.grid-4 { gap: 1px; }
.step { position: relative; background: var(--bg); border: 0; padding: clamp(28px,3vw,36px); transition: background .2s var(--ease); }
.step:hover { background: var(--surface); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 2.2rem; line-height: 1; color: var(--signal); display: block; margin-bottom: 18px; letter-spacing: -.04em;
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-bottom: .45em; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Показатели ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); text-align: left; }
.stats .st { background: var(--bg); padding: clamp(22px,2.6vw,30px); }
.stats .st b { font-size: clamp(1.8rem,3.2vw,2.6rem); color: var(--signal); display: block; line-height: 1; letter-spacing: -.03em; }
.stats .st span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 10px; }
@media (max-width: 680px){ .stats { grid-template-columns: repeat(2,1fr); } }

/* ---------- Полоса призыва: плотный оранжевый во всю ширину ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--signal); color: var(--on-signal); padding: clamp(44px,6vw,80px); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(0,0,0,.05) 0 2px, transparent 2px 16px); }
.cta-band .container-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--on-signal); margin-bottom: .28em; }
.cta-band p { color: rgba(20,16,13,.78); margin: 0; max-width: 48ch; font-weight: 500; }
.cta-band .btn-primary { background: var(--on-signal); color: var(--signal); border-color: var(--on-signal); }
.cta-band .btn-primary:hover { background: #000; border-color: #000; color: var(--signal-hi); }
.cta-band .btn-ghost, .cta-band .btn-light { color: var(--on-signal); border-color: rgba(20,16,13,.4); background: transparent; }
.cta-band .btn-ghost:hover, .cta-band .btn-light:hover { border-color: var(--on-signal); color: var(--on-signal); background: rgba(20,16,13,.08); }

/* ---------- Портфолио ---------- */
.pf-filters { display: flex; flex-wrap: wrap; gap: 1px; margin-bottom: 34px; background: var(--line); border: 1px solid var(--line); }
.pf-filter { font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); background: var(--bg); border: 0; padding: 13px 22px; cursor: pointer; transition: .18s var(--ease); }
.pf-filter:hover { color: var(--signal); background: var(--surface); }
.pf-filter[aria-pressed="true"] { background: var(--signal); color: var(--on-signal); }

.pf-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px){ .pf-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .pf-grid { grid-template-columns: 1fr; } }

.pf-item { position: relative; overflow: hidden; cursor: pointer; background: var(--surface); aspect-ratio: 4/3; margin: 0; }
.pf-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.06); transition: transform .55s var(--ease), filter .35s var(--ease); }
.pf-item:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.02); }
.pf-ph { width:100%; height:100%; display:grid; place-items:center; color: var(--muted); text-align:center; padding: 16px; }
.pf-ph svg { width: 34px; height: 34px; margin-bottom: 10px; color: var(--muted-2); }
.pf-ph small { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; }
.pf-cap { position: absolute; inset: auto 0 0 0; padding: 44px 18px 16px; color: var(--ink);
  background: linear-gradient(transparent, rgba(8,8,7,.94)); opacity: 0; transform: translateY(6px); transition: .24s var(--ease); }
.pf-item:hover .pf-cap, .pf-item:focus-within .pf-cap { opacity: 1; transform: translateY(0); }
.pf-cap b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-transform: uppercase; }
.pf-cap span { font-family: var(--font-mono); font-size: .74rem; color: var(--muted-2); letter-spacing: .04em; }
.pf-tagline { position:absolute; top:0; left:0; background: var(--signal); color: var(--on-signal);
  font-family: var(--font-mono); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; z-index: 2; }

.lb { position: fixed; inset: 0; z-index: var(--z-lightbox); background: rgba(6,6,5,.96); display: none; place-items: center; padding: 24px; }
.lb[data-open="true"] { display: grid; }
.lb img { max-width: min(92vw, 1180px); max-height: 86vh; border: 1px solid var(--line); }
.lb-close, .lb-nav { position: absolute; background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  width: 50px; height: 50px; display: grid; place-items: center; transition: .18s var(--ease); }
.lb-close:hover, .lb-nav:hover { border-color: var(--signal); color: var(--signal); }
.lb-close { top: 22px; right: 22px; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: .8rem; color: var(--muted-2); letter-spacing: .06em; }
@media (max-width: 560px){ .lb-nav { width: 42px; height: 42px; } }

/* ---------- Шапка внутренней страницы ---------- */
.page-hero { position: relative; background: var(--bg-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(56% 100% at 84% -14%, rgba(255,90,31,.15), transparent 66%); }
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(44px, 6vw, 84px) clamp(52px, 7vw, 96px); }
.page-hero h1 { margin-bottom: .3em; max-width: 20ch; font-size: clamp(2.2rem, 5.4vw, 4.2rem); }
.page-hero p { color: var(--muted); font-size: 1.06rem; max-width: 60ch; margin: 0; }

/* ---------- Первый экран услуги: текст слева, шильдик справа ---------- */
.page-hero__grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,46%);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.page-hero__text { min-width: 0; }
/* Волосяной разделитель между текстом и вывеской: гаснет к краям,
   чтобы не читался как рамка блока. */
.hero-xray { position: relative; min-width: 0; }
.hero-xray::before {
  content: ""; position: absolute; top: 6%; bottom: 6%;
  left: calc(clamp(28px, 4vw, 56px) / -2); width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
@media (max-width: 1000px) { .hero-xray::before { display: none; } }

/* Шильдик — металлическая табличка с условиями. Такие мы и производим,
   поэтому первый экран услуги говорит на языке самого продукта. */
.svc-plate {
  position: relative; padding: 22px 22px 20px;
  background: linear-gradient(160deg, #201F1C, #151412);
  box-shadow:
    inset 0 1px 0 rgba(255,240,225,.10),
    inset 0 -1px 0 rgba(0,0,0,.8),
    0 18px 44px rgba(0,0,0,.55);
}
/* Винты по углам — по ним глаз опознаёт табличку, а не карточку */
.svc-plate__scr {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #0D0C0A; box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.svc-plate__scr--tl { top: 8px; left: 8px; }
.svc-plate__scr--tr { top: 8px; right: 8px; }
.svc-plate__scr--bl { bottom: 8px; left: 8px; }
.svc-plate__scr--br { bottom: 8px; right: 8px; }

.svc-plate__head {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.svc-plate__list { margin: 0; }
.svc-plate__list > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--line-2);
}
.svc-plate__list > div:last-child { border-bottom: 0; }
.svc-plate__list dt {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); flex: none;
}
.svc-plate__list dd {
  margin: 0; text-align: right; color: var(--ink-2);
  font-size: .92rem; font-variant-numeric: tabular-nums;
}
.svc-plate__price { color: var(--signal); font-weight: 600; font-size: 1.02rem; }
.svc-plate__price i {
  display: block; font-style: normal; color: var(--muted);
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em;
  text-transform: uppercase; margin-top: 3px; font-weight: 400;
}
.svc-plate__cta { margin-top: 18px; }

@media (max-width: 1000px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .svc-plate { max-width: 420px; }
}

.breadcrumbs { display: flex; gap: 9px; align-items: center; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--signal); }
.breadcrumbs svg { width: 13px; height: 13px; color: var(--muted-2); }
.breadcrumbs .current { color: var(--ink-2); }

/* ---------- Страница услуги ---------- */
.svc-split { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px,4vw,64px); align-items: start; }
@media (max-width: 900px){ .svc-split { grid-template-columns: 1fr; } }
.prose h2 { margin-top: 1.3em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.check-list { list-style: none; display: grid; gap: 13px; margin: 0 0 8px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-2); }
.check-list li svg { width: 20px; height: 20px; color: var(--signal); flex-shrink: 0; margin-top: 2px; }
.check-list li b { color: var(--ink); font-weight: 600; }

.aside-card { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); padding: clamp(24px,2.6vw,32px); }
.aside-card h3 { font-family: var(--font-display); font-weight: 600; }
.aside-card .price { font-size: 1.9rem; color: var(--signal); line-height: 1; letter-spacing: -.02em; }
.aside-card .price small { display:block; font-family: var(--font-mono); font-weight:400; font-size:.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.svc-plate { list-style: none; display: grid; gap: 0; margin: 22px 0; }
.spec li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.spec li:last-child { border-bottom: 0; }
.spec li span { color: var(--muted); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; }
.spec li b { color: var(--ink); font-weight: 600; }

/* ---------- Каталог ---------- */
/* ============ ПОЛЕ ТЕЛЕФОНА С ФИКСИРОВАННЫМ КОДОМ ============
   Код страны — отдельный элемент, а не текст внутри поля: стереть его
   при наборе невозможно, а в value попадают только цифры номера. */
.phone { display: flex; align-items: stretch; }
.phone__cc {
  display: grid; place-items: center; flex: none;
  padding: 0 14px; border: 1px solid var(--line); border-right: 0;
  background: var(--bg-2); color: var(--ink-2);
  font-family: var(--font-mono); font-size: .95rem; letter-spacing: .02em;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.phone input { flex: 1; min-width: 0; font-family: var(--font-mono); letter-spacing: .04em; }
.phone:focus-within .phone__cc { border-color: var(--signal); color: var(--signal); }
.field-hint {
  display: block; margin-top: 7px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}

/* ============ ВСПЛЫВАЮЩАЯ ФОРМА ЗАЯВКИ ============ */
.lead-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: clamp(12px, 4vw, 32px);
  background: rgba(6,6,5,.82); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s var(--ease);
}
.lead-modal[data-open="true"] { opacity: 1; visibility: visible; }
.lead-modal__box {
  position: relative; width: min(560px, 100%);
  max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--bg); border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 40px 90px rgba(0,0,0,.75);
  transform: translateY(14px); transition: transform .26s var(--ease);
}
.lead-modal[data-open="true"] .lead-modal__box { transform: translateY(0); }
.lead-modal__box h2 { margin: 10px 0 8px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.lead-modal__sub { color: var(--muted); font-size: .95rem; line-height: 1.6; margin-bottom: 22px; }
.lead-modal__x {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  display: grid; place-items: center; padding: 0; border: 0; cursor: pointer;
  background: none; color: var(--muted); transition: color .2s var(--ease);
}
.lead-modal__x:hover { color: var(--signal); }
.lead-modal__x:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.lead-modal__x svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
  .lead-modal, .lead-modal__box { transition: none; }
}

/* ============ РАЗРЕЗ СВЕТОВОЙ БУКВЫ ============
   Два слоя одной надписи: снизу «начинка» со светодиодами, сверху
   лицевая часть. У верхнего слоя маска с дыркой под курсором — сквозь
   неё видно, что внутри. Позиция дырки приходит из JS переменными. */

/* Деревянный щит, на который смонтирована вывеска. Края растворяются,
   чтобы доска не выглядела вставленной картинкой, а уходила в фон сайта. */
.xray__board {
  position: absolute; inset: -16% -12%; z-index: 0; pointer-events: none;
  background:
    /* волокно */
    repeating-linear-gradient(91deg, rgba(0,0,0,.20) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(89deg, rgba(255,220,180,.028) 0 1px, transparent 1px 9px),
    /* стыки досок */
    repeating-linear-gradient(180deg,
      rgba(0,0,0,.42) 0 2px,
      rgba(255,225,190,.045) 2px 4px,
      transparent 4px 62px),
    /* тон древесины */
    linear-gradient(178deg, #3B2A1D, #281C13 52%, #17110C);
  /* Две маски разом: эллипс гасит углы, линейные — верх, низ и бока.
     Пересечение даёт мягкий овал, который нигде не показывает кромку. */
  -webkit-mask-image:
    radial-gradient(64% 66% at 50% 48%, #000 12%, rgba(0,0,0,.5) 52%, transparent 84%),
    linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent),
    linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
  mask-image:
    radial-gradient(64% 66% at 50% 48%, #000 12%, rgba(0,0,0,.5) 52%, transparent 84%),
    linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent),
    linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  opacity: .8;
}

.hero-xray__cap {
  margin: 14px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.6;
}
.xray {
  --mx: 50%; --my: 50%; --r: 96px;
  position: relative;
  background: none; border: 0;
  padding: clamp(20px, 2.5vw, 34px) 0 clamp(26px, 3vw, 38px);
}
/* Отсвет от букв на фасаде — то, из-за чего вывеска читается как живая */
.xray::after {
  content: ""; position: absolute; inset: 8% -6% 14%; z-index: 0; pointer-events: none;
  background: radial-gradient(46% 52% at 50% 46%, rgba(255,120,60,.16), transparent 72%);
  filter: blur(18px); opacity: 0; transition: opacity .35s var(--ease);
}
.xray.is-lit::after { opacity: 1; }
/* Монтажная планка, на которой держатся буквы */
.xray__rail {
  position: absolute; left: 2%; right: 2%; top: clamp(12px, 1.8vw, 22px); height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, #34322B 8%, #34322B 92%, transparent);
}
.xray__stage { position: relative; z-index: 2; display: grid; place-items: center; min-height: clamp(110px, 13vw, 170px); }

.xray__in, .xray__face {
  grid-area: 1 / 1; position: relative;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem); line-height: 1; letter-spacing: .04em;
  -webkit-user-select: none; user-select: none;
}

/* Начинка: светодиоды рядами по телу буквы + тёплый разлив */
.xray__in {
  z-index: 1;
  color: transparent;
  background-image:
    /* сам светодиод — резкая яркая точка */
    radial-gradient(circle 2.2px, #FFFBF4 0 1.6px, #FFCF9E 2px, transparent 2.3px),
    /* короткий ореол вокруг него */
    radial-gradient(circle 6.5px, rgba(255,145,65,.5) 0 1.2px, transparent 100%),
    /* шина, на которой сидят модули */
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(255,160,100,.2) 7px 10px, transparent 10px 18px),
    /* нутро буквы: алюминиевый борт, подсвеченный вскользь */
    linear-gradient(180deg, #45291A, #24160C);
  background-size: 18px 18px, 18px 18px, 18px 18px, 100% 100%;
  background-position: 5px 6px, 5px 6px, 0 0, 0 0;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 10px rgba(255,140,70,.55));
}

/* Лицевая часть: неподсвеченный акрил с бортом */
.xray__face {
  z-index: 2;
  /* Молочный акрил лицевой части — она светлая даже когда не горит */
  color: #C9C4BA;
  text-shadow:
    /* борт: ступенькой вниз-вправо, первая ступень — блик на кромке */
    1px 1px 0 #8C8779, 2px 2px 0 #6A655A, 3px 3px 0 #524E45,
    4px 4px 0 #3E3B34, 5px 5px 0 #302D28, 6px 6px 0 #26241F,
    7px 7px 0 #1D1C18, 8px 8px 0 #151412,
    10px 11px 16px rgba(0,0,0,.8);
  -webkit-text-stroke: 0;
  /* Дырка под курсором. Без наведения маска не задана — лицевая сплошная. */
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), transparent 0 58%, #000 84%);
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), transparent 0 58%, #000 84%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  opacity: 1; transition: opacity .2s var(--ease);
}
/* Пока курсор не заходил — маску не применяем, буква целая */
.xray:not(.is-lit) .xray__face {
  -webkit-mask-image: none; mask-image: none;
}

.xray__hint {
  position: absolute; left: 50%; bottom: clamp(12px, 2vw, 20px); transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  transition: opacity .3s var(--ease);
}
.xray.is-lit .xray__hint { opacity: 0; }

.xray-legend {
  display: grid; gap: 1px; margin-top: 1px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  background: var(--line); border: 1px solid var(--line); border-top: 0;
}
.xray-legend > div { background: var(--bg); padding: 20px; }
.xray-legend b {
  display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 8px;
}
.xray-legend span { color: var(--ink-2); font-size: .93rem; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .xray__face, .xray__hint { transition: none; }
}

/* ---- Розжиг: буквы загораются по одной, как на реальном объекте ---- */
.xray__in i, .xray__face i { font-style: normal; display: inline-block; }

/* Горящая лицевая: акрил светится изнутри, вокруг разлив света */
.xray.is-on .xray__face i,
.xray.is-igniting .xray__face i { animation: none; }

.xray.is-on .xray__face {
  color: #FFF6EA;
  text-shadow:
    1px 1px 0 #B8A894, 2px 2px 0 #8A7B67, 3px 3px 0 #6A5D4E,
    4px 4px 0 #514639, 5px 5px 0 #3C332A, 6px 6px 0 #2C261F,
    7px 7px 0 #201C17, 8px 8px 0 #171411,
    10px 11px 16px rgba(0,0,0,.8),
    0 0 14px rgba(255,214,170,.85), 0 0 34px rgba(255,150,80,.6), 0 0 70px rgba(255,110,45,.4);
  transition: color .3s var(--ease), text-shadow .3s var(--ease);
}
/* Каждая буква вспыхивает со своей задержкой и подмигивает стартером */
.xray.is-igniting .xray__face i {
  animation: bulb-on .9s steps(1) backwards;
  animation-delay: calc(var(--d) * .34s);
}
@keyframes bulb-on {
  0%   { color: #C9C4BA; text-shadow: 1px 1px 0 #8C8779, 2px 2px 0 #6A655A, 3px 3px 0 #524E45, 4px 4px 0 #3E3B34, 5px 5px 0 #302D28, 6px 6px 0 #26241F, 7px 7px 0 #1D1C18, 8px 8px 0 #151412, 10px 11px 16px rgba(0,0,0,.8); }
  16%  { color: #FFF6EA; text-shadow: 1px 1px 0 #B8A894, 2px 2px 0 #8A7B67, 3px 3px 0 #6A5D4E, 4px 4px 0 #514639, 5px 5px 0 #3C332A, 6px 6px 0 #2C261F, 7px 7px 0 #201C17, 8px 8px 0 #171411, 10px 11px 16px rgba(0,0,0,.8), 0 0 14px rgba(255,214,170,.85), 0 0 34px rgba(255,150,80,.6), 0 0 70px rgba(255,110,45,.4); }
  28%  { color: #C9C4BA; text-shadow: 1px 1px 0 #8C8779, 2px 2px 0 #6A655A, 3px 3px 0 #524E45, 4px 4px 0 #3E3B34, 5px 5px 0 #302D28, 6px 6px 0 #26241F, 7px 7px 0 #1D1C18, 8px 8px 0 #151412, 10px 11px 16px rgba(0,0,0,.8); }
  46%  { color: #FFF6EA; text-shadow: 1px 1px 0 #B8A894, 2px 2px 0 #8A7B67, 3px 3px 0 #6A5D4E, 4px 4px 0 #514639, 5px 5px 0 #3C332A, 6px 6px 0 #2C261F, 7px 7px 0 #201C17, 8px 8px 0 #171411, 10px 11px 16px rgba(0,0,0,.8), 0 0 14px rgba(255,214,170,.85), 0 0 34px rgba(255,150,80,.6), 0 0 70px rgba(255,110,45,.4); }
  58%  { color: #D8D2C6; text-shadow: 1px 1px 0 #8C8779, 2px 2px 0 #6A655A, 3px 3px 0 #524E45, 4px 4px 0 #3E3B34, 5px 5px 0 #302D28, 6px 6px 0 #26241F, 7px 7px 0 #1D1C18, 8px 8px 0 #151412, 10px 11px 16px rgba(0,0,0,.8); }
  100% { color: #FFF6EA; text-shadow: 1px 1px 0 #B8A894, 2px 2px 0 #8A7B67, 3px 3px 0 #6A5D4E, 4px 4px 0 #514639, 5px 5px 0 #3C332A, 6px 6px 0 #2C261F, 7px 7px 0 #201C17, 8px 8px 0 #171411, 10px 11px 16px rgba(0,0,0,.8), 0 0 14px rgba(255,214,170,.85), 0 0 34px rgba(255,150,80,.6), 0 0 70px rgba(255,110,45,.4); }
}
/* Когда горит — отсвет на фасаде постоянный, а не только под курсором */
.xray.is-on::after, .xray.is-igniting::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .xray.is-igniting .xray__face i { animation: none; }
}

/* ============ ЖУРНАЛ ============ */
.posts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post {
  display: grid; gap: 8px; background: var(--bg); padding: 26px clamp(18px,3vw,32px);
  text-decoration: none; transition: background .2s var(--ease);
}
.post:hover { background: var(--surface); }
.post:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
.post__meta {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted);
}
.post__t {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.25;
  transition: color .2s var(--ease);
}
.post:hover .post__t { color: var(--signal); }
.post__d { color: var(--ink-2); font-size: .98rem; line-height: 1.6; max-width: 66ch; }
.post__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--signal);
}
.post__more svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.post:hover .post__more svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .post__more svg { transition: none; } }

/* ============ РЕКВИЗИТЫ ============ */
.req { max-width: 780px; margin-inline: auto; border: 1px solid var(--line); background: var(--bg); }
.req dl { margin: 0; }
.req dl > div {
  display: grid; grid-template-columns: 210px 1fr; gap: 4px 24px;
  padding: 15px 22px; border-bottom: 1px solid var(--line-2);
}
.req dl > div:last-child { border-bottom: 0; }
.req dt {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted); padding-top: 3px;
}
.req dd { margin: 0; color: var(--ink); font-size: .98rem; line-height: 1.5; }
/* Номера моноширинно и с ровными разрядами — их сверяют по символам */
.req .req-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.req-note { margin: 18px auto 0; max-width: 780px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
@media (max-width: 620px) {
  .req dl > div { grid-template-columns: 1fr; padding: 14px 16px; }
}

/* Реквизиты в подвале */
.req-footer { color: var(--muted); }
.req-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.req-footer a:hover { color: var(--signal); }

/* ============ СОГЛАСИЕ НА ОБРАБОТКУ ДАННЫХ ============ */
.consent {
  display: flex; align-items: flex-start; gap: 11px;
  margin: 4px 0 20px; cursor: pointer;
  font-size: .88rem; line-height: 1.5; color: var(--muted);
}
.consent input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 17px; height: 17px; margin: 2px 0 0;
  border: 1.5px solid var(--muted); background: transparent;
  cursor: pointer; display: grid; place-content: center;
}
.consent input:checked { background: var(--signal); border-color: var(--signal); }
.consent input:checked::after { content: "✓"; color: var(--on-signal); font-size: 12px; font-weight: 700; line-height: 1; }
.consent input:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
/* Браузер подсветит незаполненный чекбокс при попытке отправить */
.consent input:invalid { border-color: var(--signal); }
.consent a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.consent a:hover { color: var(--signal); }

/* ============ ТЕКСТ ДОКУМЕНТА ============ */
.prose--doc { max-width: 760px; margin-inline: auto; }
.prose--doc h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 34px 0 12px; }
.prose--doc h2:first-of-type { margin-top: 0; }
.prose--doc p { color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; }
.prose--doc a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.doc-date {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 30px;
}

/* ============ ЧАСТЫЕ ВОПРОСЫ ============
   На <details>, без JavaScript: раскрывается даже если скрипт не загрузился,
   и поиск видит ответы в разметке независимо от состояния. */
.faq { max-width: 860px; margin-inline: auto; border: 1px solid var(--line); background: var(--bg); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.4; color: var(--ink);
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--signal); }
.faq-item summary:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
/* Плюс, который на раскрытии превращается в минус */
.faq-item summary::before,
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  background: var(--signal); transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.faq-item summary::before { width: 13px; height: 2px; margin-top: -1px; }
.faq-item summary::after  { width: 2px; height: 13px; margin-top: -6.5px; right: 27.5px; }
.faq-item[open] summary::after { transform: rotate(90deg); opacity: 0; }
.faq-item[open] summary { color: var(--signal); }
.faq-a { padding: 0 56px 22px 22px; }
.faq-a p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.65; max-width: 68ch; }
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::before, .faq-item summary::after { transition: none; }
}
@media (max-width: 560px) {
  .faq-item summary { padding: 16px 48px 16px 16px; }
  .faq-a { padding: 0 48px 18px 16px; }
}

/* ============ ТАБЛИЦА ЦЕН ============
   Ширину таблица держит сама, но на узком экране прокручивается
   внутри своего контейнера — страница вбок не едет. */
/* Ловушка для ботов: человек её не видит и не таб-фокусит, автозаполнялки — заполняют */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  display: none; margin-bottom: 16px; padding: 13px 16px;
  border-left: 3px solid #E0483A; background: rgba(224,72,58,.1);
  color: var(--ink); font-size: .94rem; line-height: 1.5;
}
.form-error[data-show="true"] { display: block; }
.form button[disabled] { opacity: .6; cursor: progress; }

.ptable { overflow-x: auto; border: 1px solid var(--line); background: var(--bg); }
.ptable table { border-collapse: collapse; width: 100%; min-width: 460px; }
.ptable th, .ptable td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line-2); }
.ptable thead th {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover td { background: var(--surface); }
.ptable td { font-size: .98rem; }
.ptable .pt-u { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); width: 1%; white-space: nowrap; }
.ptable .pt-p {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-weight: 500; color: var(--signal); white-space: nowrap; width: 1%; text-align: right;
}
.pnote { margin-top: 18px; color: var(--muted); font-size: .92rem; max-width: 68ch; line-height: 1.6; }
@media (max-width: 560px) {
  .ptable th, .ptable td { padding: 13px 14px; }
}

.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 820px) { .catalog { grid-template-columns: 1fr; } }
.catalog-group { background: var(--bg); padding: clamp(26px,3vw,38px); }
.catalog-group > h3 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--signal); padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.catalog-group dl { margin: 0; }
.catalog-group dt { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; color: var(--ink); margin-top: 28px; }
.catalog-group dd { margin: 7px 0 0; color: var(--muted); font-size: .93rem; line-height: 1.62; max-width: 46ch; }

/* ---------- Контакты и форма ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,3.5vw,52px); align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-methods { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cm { display: flex; gap: 18px; align-items: center; background: var(--bg); padding: 22px 24px; transition: background .2s var(--ease); }
.cm:hover { background: var(--surface); }
.cm .cm-ic { width: 46px; height: 46px; border: 1px solid var(--line); color: var(--signal); display: grid; place-items: center; flex-shrink: 0; }
.cm .cm-ic svg { width: 21px; height: 21px; }
.cm .cm-t { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.cm .cm-v { font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; color: var(--ink); margin-top: 5px; }
.cm .cm-v a { color: var(--ink); }
.cm .cm-v a:hover { color: var(--signal); }

.form { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px,3vw,36px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 15px 16px; border: 1px solid var(--line); background: var(--bg);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }
.field textarea { min-height: 128px; resize: vertical; }
.form-success { display: none; background: rgba(60,160,90,.14); border: 1px solid rgba(90,190,120,.45); color: #8FE0AC; padding: 14px 16px; margin-bottom: 18px; font-size: .93rem; }
.form-success[data-show="true"] { display: block; }
.form-note { font-size: .8rem; color: var(--muted); margin: 16px 0 0; line-height: 1.6; }

.map-wrap { overflow: hidden; border: 1px solid var(--line); }
.map-frame { display: block; width: 100%; aspect-ratio: 16/8; border: 0; filter: grayscale(.4) contrast(1.05); }
@media (max-width: 640px){ .map-frame { aspect-ratio: 4/3; } }
.map-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  padding: 18px 22px; background: var(--surface); border-top: 1px solid var(--line); }
.map-note .mn-addr { display: inline-flex; gap: 11px; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; text-transform: uppercase; color: var(--ink); }
.map-note .mn-addr svg { width: 19px; height: 19px; color: var(--signal); flex-shrink: 0; }
.map-note .mn-sub { color: var(--muted); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; }
.map-ph { aspect-ratio: 16/8; background: var(--surface); display: grid; place-items: center; text-align:center; color: var(--muted); padding: 20px; }
.map-ph svg { width: 34px; height: 34px; color: var(--muted-2); margin-bottom: 10px; }

/* ---------- Подвал ---------- */
.site-footer { background: #0A0A09; color: var(--muted); padding-top: clamp(56px,7vw,88px); border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--signal); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px 32px; padding-bottom: 52px; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand__name { color: var(--ink); }
.footer-brand p { margin-top: 18px; color: var(--muted); font-size: .91rem; line-height: 1.7; max-width: 36ch; }
.footer-col h4 { font-family: var(--font-mono); color: var(--signal); font-weight: 500; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 20px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { font-size: .93rem; }
.footer-contact .fc { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; font-size: .93rem; }
.footer-contact .fc svg { width: 16px; height: 16px; color: var(--signal); flex-shrink: 0; margin-top: 4px; }
.footer-contact .fc a { font-weight: 500; color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 24px; display: flex; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--muted-2); }

/* ---------- Появление при прокрутке (шкала движения 8) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s } .d2 { transition-delay: .16s } .d3 { transition-delay: .24s }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   Сцена «мастер прибивает вывеску»
   По умолчанию тихая ночь. При наведении (на телефоне — когда блок
   доезжает до экрана) начинается гроза и вывеска загорается.
   Двигаются только opacity и transform: их считает видеокарта.
   ========================================================================= */
.scene { padding-block: 0 var(--section-y); }
.scene-stage {
  position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line);
  aspect-ratio: 1402 / 1122; background: #0A0908;
  /* положение гвоздя и щита в кадре без обрезки */
  --nail-x: 68.5%; --nail-y: 23%;
  --sign-x: 83%;   --sign-y: 39%;
}
/* На широком экране кадр 16/9 срезает по 14.8% сверху и снизу,
   поэтому точки пересчитаны: (y - 0.148) / 0.703 */
@media (min-width: 900px) { .scene-stage { aspect-ratio: 16 / 9; --nail-y: 11.6%; --sign-y: 34.4%; } }

.scene-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.5) contrast(1.1) saturate(.6);
  transform: scale(1.02);
  transition: filter .9s var(--ease), transform 1.2s var(--ease);
  will-change: transform;
}
.scene-night {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(44% 42% at var(--sign-x) var(--sign-y), rgba(255,140,80,.34), transparent 68%),
    linear-gradient(178deg, rgba(10,12,16,.5), rgba(8,8,7,.3) 48%, rgba(8,8,7,.66));
}
.scene-rain {
  position: absolute; inset: -30% -15%; pointer-events: none; opacity: 0;
  transition: opacity .7s var(--ease); will-change: transform;
  background-image: repeating-linear-gradient(101deg, rgba(255,225,205,0) 0 7px, rgba(255,225,205,.3) 7px 8px, rgba(255,225,205,0) 8px 17px);
}
.scene-rain--far { inset: -34% -18%;
  background-image: repeating-linear-gradient(99deg, rgba(255,225,205,0) 0 12px, rgba(255,225,205,.16) 12px 13px, rgba(255,225,205,0) 13px 30px); }
.scene-flash { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(70% 55% at 24% 8%, rgba(220,232,255,.9), transparent 66%), linear-gradient(180deg, rgba(210,225,255,.4), transparent 58%); }
.scene-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(19% 29% at var(--sign-x) var(--sign-y), rgba(255,170,110,.9), rgba(255,90,31,.3) 42%, transparent 72%); }
.scene-spark { position: absolute; left: var(--nail-x); top: var(--nail-y); width: 4.5%; aspect-ratio: 1;
  transform: translate(-50%,-50%) scale(.6); opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255,240,220,.95), rgba(255,140,80,.5) 38%, transparent 70%); }

.scene-stage.is-live .scene-img { filter: brightness(.4) contrast(1.16) saturate(.5); transform: scale(1.06); animation: scene-shake 1.15s ease-out infinite; }
.scene-stage.is-live .scene-rain { opacity: 1; animation: scene-rain .62s linear infinite; }
.scene-stage.is-live .scene-rain--far { opacity: .75; animation: scene-rain 1.05s linear infinite; }
.scene-stage.is-live .scene-flash { animation: scene-flash 6.5s ease-out infinite; }
.scene-stage.is-live .scene-glow { animation: scene-sign-on 3.4s ease-out forwards; }
.scene-stage.is-live .scene-spark { animation: scene-strike 1.15s ease-out infinite; }

@keyframes scene-rain { to { transform: translate3d(-52px, 272px, 0); } }
@keyframes scene-flash {
  0%,100% { opacity: 0 }
  1.5% { opacity: .85 } 3% { opacity: .12 } 4.5% { opacity: .6 } 7% { opacity: 0 }
  52% { opacity: 0 } 53.5% { opacity: .46 } 56% { opacity: 0 }
}
@keyframes scene-strike {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.5) }
  4% { opacity: 1; transform: translate(-50%,-50%) scale(1) }
  16% { opacity: 0; transform: translate(-50%,-50%) scale(1.7) }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(.5) }
}
@keyframes scene-shake {
  0%,100% { transform: scale(1.06) translate3d(0,0,0) }
  4% { transform: scale(1.06) translate3d(0,2.5px,0) }
  11% { transform: scale(1.06) translate3d(0,0,0) }
}
@keyframes scene-sign-on {
  0% { opacity: 0 } 34% { opacity: .3 } 42% { opacity: .08 }
  56% { opacity: .78 } 64% { opacity: .38 } 100% { opacity: .72 }
}

.scene-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(26px,4vw,56px);
  background: linear-gradient(transparent, rgba(8,8,7,.9) 78%); color: var(--ink); pointer-events: none; }
.scene-cap .eyebrow { color: var(--signal); }
.scene-cap .eyebrow::before { background: var(--signal); }
.scene-cap h2 { color: var(--ink); margin-bottom: .34em; max-width: 15ch; }
.scene-cap p { color: var(--ink-2); margin: 0; max-width: 38ch; font-size: 1rem; line-height: 1.6; }


@media (prefers-reduced-motion: reduce) {
  .scene-stage.is-live .scene-img, .scene-stage.is-live .scene-rain, .scene-stage.is-live .scene-rain--far,
  .scene-stage.is-live .scene-flash, .scene-stage.is-live .scene-spark { animation: none; }
  .scene-stage.is-live .scene-rain { opacity: .5; }
  .scene-stage.is-live .scene-glow { animation: none; opacity: .72; }
  .scene-img { transition: none; }
}

/* Утилиты, которые встречаются в разметке */
.hero-copy { min-width: 0; }
.text-muted { color: var(--muted); }

/* Карточка услуги — целиком ссылка */
a.svc-card { text-decoration: none; color: inherit; }
a.svc-card:hover h3 { color: var(--signal); }
a.svc-card h3 { transition: color .2s var(--ease); }
