/* ==========================================================================
   MAXIMUM — алмазная резка бетона. Хабаровск / Дальний Восток.
   Общие стили сайта (дизайн-система + компоненты).
   ========================================================================== */

/* Локальные шрифты: Oswald, Golos Text, JetBrains Mono (SIL OFL 1.1).
   Файлы лежат в assets/fonts — запросов к fonts.googleapis.com/gstatic.com нет. */
/* Golos Text · cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/golos-text-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Golos Text · cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/golos-text-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Golos Text · latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/golos-text-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Golos Text · latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/golos-text-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono · cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* JetBrains Mono · cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* JetBrains Mono · latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono · latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Oswald · cyrillic-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/oswald-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Oswald · cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/oswald-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Oswald · latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/oswald-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Oswald · latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/oswald-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  --red: #DD2F2A;
  --red-dark: #B91F1B;
  --bg: #F4F3F1;          /* светлый фон страницы */
  --ink: #16171B;         /* основной тёмный текст */
  --dark: #0E0F11;        /* тёмные секции */
  --dark-2: #16171B;
  --dark-3: #0A0B0D;      /* подвал */
  --panel: #121317;
  --panel-2: #17181C;
  --line-dark: rgba(255, 255, 255, .1);

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Golos Text', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: min(1240px, calc(100% - 48px));
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; } /* защита от горизонтального скролла */

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; }

::selection { background: var(--red); color: #fff; }

input::placeholder,
textarea::placeholder { color: #9a9a97; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container { width: var(--container); margin: 0 auto; }

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll */
[data-rv] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-rv="on"] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 17px 30px;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost-light {
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-weight: 600;
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  height: var(--header-h);
  background: rgba(14, 15, 17, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  padding: 0 0 0 28px;
  gap: 26px;
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: #D6D7DA;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}
.site-nav > a,
.nav-item > a { color: #D6D7DA; }
.site-nav a.is-active,
.site-nav a[aria-current="page"] { color: #fff; }

.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  padding-top: 14px;
  width: 300px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown__inner {
  display: flex;
  flex-direction: column;
  background: var(--panel-2);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--red);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}
.nav-dropdown__inner a {
  padding: 12px 18px;
  color: #D6D7DA;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-dropdown__inner a:last-child { border-bottom: none; }
.nav-dropdown__inner a:hover { background: #1F2126; color: #fff; }

.header-spacer { flex: 1; }

.hdr-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}
.hdr-icon:hover { border-color: var(--red); background: rgba(221, 47, 42, .12); }

.hdr-phone {
  flex: none;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #fff;
  white-space: nowrap;
}
.hdr-phone:hover { color: var(--red); }

.hdr-logo { display: flex; align-items: center; margin-left: 8px; flex: none; }
.hdr-logo img { height: 36px; width: auto; display: block; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 59;
  background: var(--dark);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .5);
  display: none;
  flex-direction: column;
  padding: 8px 0 16px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu > a {
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #D6D7DA;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mobile-menu > a:first-child { color: #fff; }
/* Услуги вторым уровнем: на десктопе они есть в выпадающем меню, на мобильном
   до этого не было вообще — а мобильных показов у сайта вдвое больше. */
.mobile-menu > a.mobile-menu__sub {
  padding: 12px 24px 12px 40px;
  font-size: 14.5px;
  font-weight: 500;
  color: #9EA0A7;
}
.mobile-menu__actions { display: flex; gap: 12px; padding: 18px 24px 4px; }
.mobile-menu__call {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 15px; padding: 14px;
}
.mobile-menu__tg, .mobile-menu__wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; flex: none;
}
.mobile-menu__tg img, .mobile-menu__wa img { width: 44px; height: 44px; object-fit: contain; display: block; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  /* Первая строка — запасной вариант для браузеров без image-set().
     Вторая перекрывает её и отдаёт AVIF, если браузер его понимает.
     Раньше здесь лежал PNG на 2,28 МБ — 95 % веса главной страницы. */
  background-image: url('../assets/hero/hero-1672.jpg');
  background-image: image-set(
    url('../assets/hero/hero-1672.avif') type('image/avif'),
    url('../assets/hero/hero-1672.webp') type('image/webp'),
    url('../assets/hero/hero-1672.jpg')  type('image/jpeg'));
  background-size: cover;
  background-position: center 30%;
  animation: heroZoom 2.4s var(--ease) both;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(10, 11, 13, .94) 0%,
    rgba(10, 11, 13, .82) 34%,
    rgba(10, 11, 13, .35) 68%,
    rgba(10, 11, 13, .55) 100%);
}
.hero__baseline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255, 255, 255, .12);
}
.hero__grid {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .85fr);
  gap: 56px;
  align-items: center;
  padding: 80px 0;
}
.hero__title {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.04;
  color: #fff;
  letter-spacing: .5px;
}
.hero__title span { color: #B9BBC1; }
.hero__cutline {
  display: block;
  height: 5px;
  background: var(--red);
  margin: 26px 0 0;
  max-width: 420px;
  animation: cutline 1.4s var(--ease) .4s both;
}
.hero__lead {
  margin: 26px 0 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.65;
  color: #C9CACF;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
/* Три равные колонки, а не flex-wrap: при flex ширину задавал самый длинный
   заголовок, и стоило подписи чуть удлиниться — третья цифра переносилась на
   вторую строку. В сетке колонки равны по определению, а длинная подпись
   переносится внутри своей ячейки и ряд не ломает. */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 46px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__stat { padding: 18px 26px 0; min-width: 0; }
.hero__stat:first-child { padding-left: 0; }
.hero__stat + .hero__stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: #fff;
}
.hero__stat > span { font-size: 13.5px; color: #9EA0A7; }

/* Lead form */
.lead-form {
  background: rgba(20, 21, 24, .86);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 3px solid var(--red);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}
.lead-form__head { display: flex; flex-direction: column; gap: 6px; }
.lead-form__head strong {
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  color: #fff; text-transform: uppercase; letter-spacing: .5px;
}
.lead-form__head span { font-size: 14px; line-height: 1.55; color: #A7A9B0; }
.lead-form label.field {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 13px; font-weight: 600; color: #C9CACF;
}
.lead-form input,
.lead-form textarea {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus,
.lead-form textarea:focus { border-color: var(--red); }
.lead-form button[type="submit"] {
  display: block; width: 100%; margin: 14px 0 12px;
  background: var(--red); border: none; color: #fff;
  font-weight: 700; font-size: 16px; padding: 16px; cursor: pointer;
  transition: background .2s;
}
.lead-form button[type="submit"]:hover { background: var(--red-dark); }
.lead-form .consent {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12px; color: #84868D; line-height: 1.5; font-weight: 400;
}
.lead-form .consent input { margin-top: 2px; accent-color: var(--red); flex: none; }
.lead-form .consent a { color: #C9CACF; text-decoration: underline; text-underline-offset: 2px; }
.lead-form .consent a:hover { color: var(--red); }
.lead-form__success {
  display: none;
  flex-direction: column; gap: 12px; align-items: flex-start; padding: 20px 0;
}
.lead-form.is-sent .lead-form__idle { display: none; }
.lead-form.is-sent .lead-form__success { display: flex; }
.lead-form__success .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(221, 47, 42, .15); border: 1px solid var(--red);
  color: var(--red); font-size: 24px;
}
.lead-form__success strong {
  font-family: var(--font-display); font-size: 24px; color: #fff; text-transform: uppercase;
}
.lead-form__success span { font-size: 15px; line-height: 1.6; color: #A7A9B0; }
.lead-form__success a { color: var(--red); font-weight: 600; }

/* Ошибка отправки заявки: показываем прямо под кнопкой, вместе с телефоном —
   человек не должен остаться без способа связаться, если сервер молчит. */
.form-error {
  margin: 10px 0 0; padding: 10px 12px;
  border-left: 3px solid var(--red); background: rgba(221, 47, 42, .1);
  font-size: 13.5px; line-height: 1.55; color: #F0BFBD;
}
.section-light .form-error { background: rgba(221, 47, 42, .07); color: #8E2320; }
.lead-form button[type="submit"]:disabled { opacity: .6; cursor: progress; }

/* Ловушка для ботов: с экрана убрано, но не display:none — часть ботов
   такие поля пропускает, а это поле должно их приманивать. */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* --------------------------------------------------------------------------
   Argument bar (red)
   -------------------------------------------------------------------------- */
.args { background: var(--red); color: #fff; }
.args__grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.args__item { padding: 22px 28px; display: flex; flex-direction: column; gap: 3px; }
.args__item:first-child { padding-left: 0; }
.args__item:last-child { padding-right: 0; }
.args__item + .args__item { border-left: 1px solid rgba(255, 255, 255, .25); }
.args__item strong {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}
.args__item span { font-size: 13.5px; opacity: .85; }

/* --------------------------------------------------------------------------
   Уникальные возможности (светлая секция)
   -------------------------------------------------------------------------- */
.uniq { background: var(--bg); padding: 96px 0; }
.uniq__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; margin: 0 0 42px;
}
.uniq__head h2 { margin: 12px 0 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; max-width: 660px; }
.uniq__note { margin: 0; max-width: 380px; font-size: 15px; line-height: 1.65; color: #5C5E64; }
.uniq__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.uniq__item {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid #E4E2DE; border-top: 3px solid var(--red);
  padding: 26px 26px 28px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.uniq__item:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(20, 20, 25, .12); }
.uniq__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--red); }
.uniq__item strong {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .3px; line-height: 1.16;
}
.uniq__item p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #5C5E64; }
.uniq__range {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  margin: 26px 0 0; padding: 22px 26px;
  background: var(--dark); color: #ECEDEF; font-size: 15px; line-height: 1.6;
}
.uniq__range span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); flex: none;
}
.uniq__range i { color: var(--red); font-style: normal; }

/* --------------------------------------------------------------------------
   Advantages / tech (dark)
   -------------------------------------------------------------------------- */
.tech {
  padding: 100px 0;
  background: var(--dark);
  color: #ECEDEF;
  position: relative;
}
.tech__topline {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 30%, transparent 30%);
}
.tech__glow {
  position: absolute; top: -60px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 47, 42, .16) 0%, transparent 62%);
  pointer-events: none;
}
.tech__inner { position: relative; width: var(--container); margin: 0 auto; }
.tech__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 36px; flex-wrap: wrap; margin: 0 0 50px;
}
.tech__head-l { display: flex; align-items: center; gap: 26px; }
.blade {
  position: relative; width: 74px; height: 74px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.blade svg { animation: bladeSpin 9s linear infinite; }
.blade__dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.tech__head h2 { margin: 0; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; }
.tech__head-note { margin: 0; max-width: 360px; font-size: 15px; line-height: 1.65; color: #9EA0A7; }

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  margin: 0 0 56px;
  border: 1px solid var(--line-dark);
}
.compare__col { padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.compare__col--bad { background: var(--panel); }
.compare__col--good {
  background: linear-gradient(160deg, #1B1516 0%, #141315 100%);
  border-left: 3px solid var(--red);
}
.compare__title { display: flex; align-items: center; gap: 12px; }
.compare__badge {
  width: 34px; height: 34px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.compare__badge--bad { border: 1px solid rgba(255, 255, 255, .2); color: #7C7E85; }
.compare__badge--good { background: var(--red); color: #fff; font-size: 17px; }
.compare__col strong {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .3px;
}
.compare__col--bad strong { color: #9EA0A7; }
.compare__col--good strong { color: #fff; }
.compare__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.compare__list li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.compare__col--bad li { color: #8A8C93; }
.compare__col--bad li i { color: #5A5C63; flex: none; font-style: normal; }
.compare__col--good li { color: #E4E5E8; }
.compare__col--good li i { color: var(--red); font-weight: 700; flex: none; font-style: normal; }
.compare__divider {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 1px; background: var(--line-dark);
}
.compare__vs {
  position: absolute;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--dark); border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--red); letter-spacing: 1px;
}

/* Tech scrolly */
.tech-scrolly { position: relative; height: 320vh; margin: 0 0 30px; }
.tech-pin {
  position: sticky;
  top: 70px;
  height: min(660px, calc(100vh - 70px));
  min-height: 520px;
  display: flex;
  align-items: stretch;
  padding: 36px 0;
  overflow: hidden;
}
.tech-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: stretch;
}
.tech-rail-wrap { display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.tech-counter { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); line-height: .85; }
.tech-counter__num { font-size: clamp(78px, 11vw, 150px); font-weight: 700; color: #fff; }
.tech-counter__total { font-size: 26px; font-weight: 600; color: #4A4C52; }
.tech-rail { display: flex; flex-direction: column; gap: 2px; }
.tech-rail button {
  display: flex; align-items: center; gap: 14px; padding: 9px 0;
  background: none; border: none; outline: none; cursor: pointer;
  text-align: left; width: 100%;
}
.tech-rail__tick { display: block; height: 3px; flex: none; width: 20px; background: rgba(255, 255, 255, .2); transition: all .35s; }
.tech-rail__label {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .3px; color: #5A5C63; transition: color .35s;
}
.tech-rail button[data-state="past"] .tech-rail__tick { background: var(--red); }
.tech-rail button[data-state="past"] .tech-rail__label { color: #9EA0A7; }
.tech-rail button[data-state="active"] .tech-rail__tick { width: 40px; background: var(--red); }
.tech-rail button[data-state="active"] .tech-rail__label { color: #fff; }
.tech-rail-note { margin: 0; max-width: 320px; font-size: 13.5px; line-height: 1.6; color: #6F7178; }

.tech-stage {
  position: relative; min-height: 340px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-dark);
}
.tech-stage__bg {
  position: absolute; inset: 0;
  background: url('../assets/works/sovgavan-floor-cutting.jpg') center / cover;
  opacity: .26;
}
.tech-stage__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(14, 15, 17, .55) 0%, rgba(14, 15, 17, .72) 48%, rgba(14, 15, 17, .95) 100%);
}
.tech-stage__glow {
  position: absolute; top: -30px; right: -30px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 47, 42, .18) 0%, transparent 65%); pointer-events: none;
}
.tech-panel {
  position: absolute; left: 44px; right: 44px; bottom: 40px;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(30px); pointer-events: none;
  transition: opacity .55s ease, transform .55s var(--ease);
}
.tech-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tech-panel__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; background: var(--red); color: #fff; margin: 0 0 26px;
}
.tech-panel__word {
  display: block; font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 72px); font-weight: 700; text-transform: uppercase;
  line-height: .95; color: #fff; letter-spacing: 1px;
}
.tech-panel__rule { display: block; height: 4px; width: 64px; background: var(--red); margin: 22px 0 24px; }
.tech-panel h3 { margin: 0 0 12px; font-size: 24px; font-weight: 600; color: #fff; letter-spacing: .3px; }
.tech-panel p { margin: 0; max-width: 460px; font-size: 16px; line-height: 1.65; color: #B9BBC1; }

/* Steps */
.steps { margin: 70px 0 0; }
.steps__head { display: flex; align-items: center; gap: 16px; margin: 0 0 34px; }
.steps__head .mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 3px; color: var(--red); text-transform: uppercase; }
.steps__head .mono--muted { color: #6F7178; letter-spacing: normal; }
.steps__head .rule { flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }
.steps__track { position: relative; }
.steps-line { position: absolute; top: 22px; left: 0; width: 100%; height: 4px; }
.steps__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { display: flex; flex-direction: column; gap: 8px; }
.step__num {
  width: 46px; height: 46px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: #fff; box-shadow: 0 0 0 6px var(--dark);
}
.step__num--red { background: var(--red); }
.step__num--ghost { background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .18); }
.step__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 2px; color: #6F7178; text-transform: uppercase; margin-top: 8px; }
.step strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; text-transform: uppercase; }
.step p { margin: 0; font-size: 14px; line-height: 1.6; color: #9EA0A7; }

/* --------------------------------------------------------------------------
   Map / geography
   -------------------------------------------------------------------------- */
.geo {
  padding: 96px 0;
  background: var(--dark-2);
  color: #ECEDEF;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.geo__grid {
  width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px; align-items: center;
}
.geo h2 { margin: 0 0 18px; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; }
.geo__lead { margin: 0 0 26px; font-size: 15.5px; line-height: 1.65; color: #9EA0A7; }
.geo__eyebrow { margin: 0 0 12px; letter-spacing: 3px; font-size: 12px; }
.geo__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.geo__tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; padding: 10px 18px; font-size: 13.5px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: all .2s;
}
.geo__tab:hover { border-color: var(--red); }
.geo__tab.is-active { background: var(--red); border-color: var(--red); }
.geo__info {
  background: var(--dark);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--red);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; min-height: 120px;
}
.geo__info strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; text-transform: uppercase; }
.geo__info span { font-size: 14.5px; line-height: 1.6; color: #9EA0A7; }

.geo__map { position: relative; background: var(--dark); border: 1px solid var(--line-dark); overflow: hidden; }
.geo__map-bar {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08); background: var(--panel);
}
.geo__map-pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; background: var(--red); flex: none;
}
.geo__map-title { flex: 1; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: #9EA0A7; text-transform: uppercase; }
.geo__map-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #6F7178; }
.geo__map-status i { width: 7px; height: 7px; border-radius: 50%; background: #3ECF6A; }
.geo__canvas { position: relative; background: #101114; }
.geo__canvas iframe { display: block; width: 100%; height: 480px; border: 0; }
.geo__map-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px; border-top: 1px solid rgba(255, 255, 255, .08); background: var(--panel);
}
.geo__map-foot span { font-size: 12.5px; color: #84868D; }
.geo__map-foot a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 13.5px; padding: 11px 20px; transition: background .2s;
}
.geo__map-foot a:hover { background: var(--red-dark); color: #fff; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta { position: relative; padding: 110px 0; background: var(--dark); overflow: hidden; }
.cta__bg {
  position: absolute; inset: 0;
  background-image: url('../assets/works/kuznetsovsky-tunnel.jpg');
  background-size: cover; background-position: center; opacity: .18;
}
.cta__topbar { position: absolute; top: 0; left: 0; height: 5px; width: 100%; background: var(--red); }
.cta__inner {
  position: relative; width: var(--container); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px;
}
.cta h2 { margin: 0; font-size: clamp(36px, 4.4vw, 62px); color: #fff; line-height: 1.06; max-width: 900px; }
.cta h2 span { color: var(--red); }
.cta__lead { margin: 0; font-size: 17px; line-height: 1.6; color: #B9BBC1; max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta__phone {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: .5px; padding: 18px 34px; transition: background .2s, transform .2s;
}
.cta__phone:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.cta__actions .btn--ghost-light { padding: 18px 34px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--dark-3); color: #ECEDEF; padding: 70px 0 0; }
.site-footer__grid {
  width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 56px;
}
.site-footer__about { display: flex; flex-direction: column; gap: 18px; }
.site-footer__about img { height: 34px; width: auto; display: block; }
.site-footer__about p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #9EA0A7; }
.site-footer__col { display: flex; flex-direction: column; gap: 11px; font-size: 14px; color: #B9BBC1; }
.site-footer__col strong {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 4px;
}
.site-footer__col a:hover { color: #fff; }
.site-footer__phone { font-size: 17px; font-weight: 600; color: #fff; }
.site-footer__phone:hover { color: var(--red); }
.site-footer__socials { display: flex; gap: 10px; margin-top: 6px; }
.site-footer__socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%;
}
.site-footer__socials a:hover { border-color: var(--red); }
.site-footer__socials img { width: 22px; height: 22px; object-fit: contain; display: block; }
.site-footer__col .accent { color: var(--red); font-weight: 600; }
.site-footer__col span.strong { color: #fff; font-weight: 600; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom-inner {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 13px; color: #6F7178; flex-wrap: wrap;
}
.site-footer__bottom-inner .mono { font-family: var(--font-mono); font-size: 12px; }

/* --------------------------------------------------------------------------
   Брендовая полоса в футере: MAX. + красная линия до правого края (как в шапке)
   -------------------------------------------------------------------------- */
.footer-brand {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 44px;
}
.footer-brand img { height: 36px; width: auto; display: block; }

/* --------------------------------------------------------------------------
   Юридические страницы (политика, согласие)
   Одна колонка, узкая мера строки — такие тексты читают, а не сканируют.
   -------------------------------------------------------------------------- */
.legal { max-width: 820px; }
.legal__meta {
  margin: 0 0 34px; padding-bottom: 18px; border-bottom: 1px solid #DBD9D4;
  font-family: var(--font-mono); font-size: 12.5px; color: #84868D;
}
.legal h2 {
  margin: 44px 0 16px; font-size: clamp(21px, 2vw, 26px); line-height: 1.2;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin: 28px 0 12px; font-family: var(--font-body); font-size: 17px; font-weight: 700; }
.legal p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; color: #3F4147; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 0 0 9px; font-size: 15.5px; line-height: 1.7; color: #3F4147; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--red-dark); }
.legal .callout {
  margin: 26px 0; padding: 22px 24px; background: #fff;
  border: 1px solid #E4E2DE; border-left: 3px solid var(--red);
}
.legal .callout p:last-child { margin-bottom: 0; }
/* Незаполненные данные клиента — видно сразу, случайно не уедет в прод */
.tbd { background: #FFE9A8; color: #6B4E00; padding: 0 5px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Реквизиты и правовые ссылки в подвале
   -------------------------------------------------------------------------- */
/* Селектор с тегом — чтобы перебить общее правило .footer-slim__bottom div */
.footer-slim__bottom div.footer-legal,
.site-footer__bottom div.footer-legal {
  width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  padding: 14px 0 20px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px; line-height: 1.6; color: #7E8087;
}
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a { color: #A9ABB2; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Cookie-баннер
   Показывается один раз, пока посетитель не выбрал. Кнопки равнозначны:
   «Отклонить» такая же по размеру и заметности, как «Принять».
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  width: min(460px, calc(100% - 44px));
  background: var(--dark); color: #ECEDEF;
  border-top: 3px solid var(--red);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .38);
  padding: 24px 26px 26px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .28s ease, transform .32s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner__text strong {
  display: block; margin: 0 0 10px;
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  text-transform: uppercase; color: #fff;
}
.cookie-banner__text p { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: #B9BBC1; }
.cookie-banner__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__text a:hover { color: var(--red); }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cookie-banner__btn {
  padding: 13px 18px; font-family: inherit; font-size: 15px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.cookie-banner__btn--accept { background: var(--red); color: #fff; }
.cookie-banner__btn--accept:hover { background: var(--red-dark); }
.cookie-banner__btn--decline { background: transparent; color: #ECEDEF; border-color: rgba(255, 255, 255, .28); }
.cookie-banner__btn--decline:hover { border-color: #fff; color: #fff; }
.cookie-banner__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 600px) {
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px 18px 20px; }
  .cookie-banner__text strong { font-size: 17px; margin-bottom: 8px; }
  .cookie-banner__text p { font-size: 13.5px; margin-bottom: 16px; }
  /* Плавающие кнопки уезжают выше баннера, чтобы «Позвонить» оставалось доступным.
     Высоту баннера проставляет JS в --cookie-banner-h; !important — потому что
     ниже в адаптиве .fab задан с !important. */
  body.has-cookie-banner .fab { bottom: calc(var(--cookie-banner-h, 260px) + 24px) !important; }
}

/* --------------------------------------------------------------------------
   Floating action buttons
   -------------------------------------------------------------------------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: flex; align-items: center;
  transition: bottom .32s var(--ease);
}
.fab a { display: inline-flex; align-items: center; justify-content: center; }
/* Кнопки соцсетей — выкатываются влево из-под красной кнопки */
.fab__items {
  position: absolute; right: 70px; bottom: 0;
  height: 56px; display: flex; align-items: center; gap: 14px;
}
.fab__item {
  opacity: 0; pointer-events: none;
  transform: translateX(28px) scale(.5);
  transition: opacity .22s ease, transform .34s cubic-bezier(.34, 1.4, .5, 1);
}
.fab.is-open .fab__item { opacity: 1; pointer-events: auto; transform: none; }
/* Ближняя к красной кнопке выезжает первой */
.fab.is-open .fab__item:nth-last-child(2) { transition-delay: .05s; }
.fab.is-open .fab__item:nth-last-child(3) { transition-delay: .1s; }
.fab__item:hover, .fab__call:hover { transform: scale(1.08); }
.fab.is-open .fab__item:hover { transform: scale(1.08); }
/* Все кнопки — одинаковые круги 56px с одной тенью */
.fab__wa, .fab__max, .fab__tg, .fab__call {
  width: 56px; height: 56px; border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .32);
}
/* Круг у иконок задан прозрачностью самого PNG — обрезка через border-radius не нужна */
.fab__wa img, .fab__max img, .fab__tg img, .fab__call img { width: 100%; height: 100%; display: block; }
.fab__call {
  background: var(--red); color: #fff; animation: pulsePin 2.4s infinite;
  transition: transform .3s cubic-bezier(.34, 1.4, .5, 1);
}
.fab.is-open .fab__call { animation: none; transform: rotate(-12deg); }
.fab.is-open .fab__call:hover { transform: rotate(-12deg) scale(1.08); }

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes cutline { from { width: 0; } to { width: 100%; } }
@keyframes pulsePin {
  0% { box-shadow: 0 0 0 0 rgba(221, 47, 42, .55); }
  70% { box-shadow: 0 0 0 16px rgba(221, 47, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(221, 47, 42, 0); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes bladeSpin { to { transform: rotate(360deg); } }
@keyframes dashmove { to { stroke-dashoffset: -32; } }

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .blade svg, .fab__call, .hero__cutline { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .site-nav { display: none !important; }
  .nav-burger { display: inline-flex !important; }
  .uniq__grid { grid-template-columns: 1fr 1fr !important; }
  .hero__grid { grid-template-columns: 1fr !important; gap: 36px !important; padding: 56px 0 !important; }
  /* Экран уже — незачем тянуть картинку под 1672 px */
  .hero__bg {
    background-image: url('../assets/hero/hero-1200.jpg');
    background-image: image-set(
      url('../assets/hero/hero-1200.avif') type('image/avif'),
      url('../assets/hero/hero-1200.webp') type('image/webp'),
      url('../assets/hero/hero-1200.jpg')  type('image/jpeg'));
  }
  .geo__grid { grid-template-columns: 1fr !important; gap: 34px !important; }

  /* Tech-блок на мобильном: обычный вертикальный список без перехвата прокрутки */
  .tech__glow { display: none !important; }
  .tech-scrolly { height: auto !important; margin: 0 0 10px !important; }
  .tech-pin { position: static !important; height: auto !important; min-height: 0 !important; padding: 0 !important; overflow: visible !important; display: block !important; top: auto !important; }
  .tech-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .tech-rail-wrap { display: none !important; }
  .tech-stage { min-height: 0 !important; background: #101216 !important; border-color: rgba(255,255,255,.08) !important; }
  .tech-stage__bg, .tech-stage__scrim, .tech-stage__glow { display: none !important; }
  .tech-panel {
    position: static !important; opacity: 1 !important; transform: none !important; pointer-events: auto !important;
    left: auto !important; right: auto !important; bottom: auto !important;
    padding: 32px 24px !important; border-top: 1px solid rgba(255, 255, 255, .09);
  }
  .tech-panel:first-child { border-top: none; }
  .tech-panel__icon { width: 52px !important; height: 52px !important; margin-bottom: 20px !important; }
  .tech-panel__word { font-size: clamp(34px, 9vw, 48px) !important; }
  .tech-panel h3 { font-size: 20px !important; }
  .tech-panel p { max-width: none !important; font-size: 15px !important; }
}
@media (max-width: 820px) {
  .compare { grid-template-columns: 1fr !important; }
  .compare__divider { display: none !important; }
  .compare__col--good { border-left: none; border-top: 3px solid var(--red); }
}
@media (max-width: 760px) {
  .tech, .geo, .cta, .uniq { padding-top: 58px !important; padding-bottom: 58px !important; }
  .uniq__grid { grid-template-columns: 1fr !important; }
  .args__grid { grid-template-columns: 1fr 1fr !important; }
  .args__item { padding: 18px 16px !important; border-left: none !important; }
  .steps__grid { grid-template-columns: 1fr 1fr !important; gap: 30px 22px !important; }
  .steps-line { display: none !important; }
  .site-footer__grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }

  /* Hero на мобильном: фото-баннер сверху (виден человек целиком),
     текст и форма — ниже на сплошном тёмном фоне */
  .hero { display: block !important; min-height: 0 !important; }
  .hero__bg {
    position: relative !important; inset: auto !important;
    width: 100% !important; height: 50vh !important; min-height: 300px !important; max-height: 430px !important;
    background-position: 60% center !important; animation: none !important;
    /* 760 px — это примерно 2× для типичного телефона, ретине хватает */
    background-image: url('../assets/hero/hero-760.jpg') !important;
    background-image: image-set(
      url('../assets/hero/hero-760.avif') type('image/avif'),
      url('../assets/hero/hero-760.webp') type('image/webp'),
      url('../assets/hero/hero-760.jpg')  type('image/jpeg')) !important;
  }
  .hero__scrim, .hero__baseline { display: none !important; }
  .hero__grid { display: block !important; width: auto !important; padding: 32px 20px 44px !important; }
  .hero__grid > div:first-child { margin: 0 0 30px !important; }
  .lead-form {
    background: #16171B !important; backdrop-filter: none !important; box-shadow: none !important;
    padding: 26px 20px !important;
  }

  /* Плавающие кнопки — компактнее на телефоне */
  .fab { right: 14px !important; bottom: 14px !important; }
  .fab__items { right: 57px !important; height: 46px !important; gap: 11px !important; }
  .fab__wa, .fab__max, .fab__tg, .fab__call { width: 46px !important; height: 46px !important; }
  .fab__wa img, .fab__max img, .fab__tg img, .fab__call img { width: 46px !important; height: 46px !important; }

  /* Цены: строка-заметка не должна распирать экран */
  .price-note { flex-direction: column; align-items: stretch; }
  .price-note span { min-width: 0 !important; }
  .price-note .btn--dark { justify-content: center; }
}
@media (max-width: 600px) {
  .site-header { gap: 12px !important; padding-left: 16px !important; height: 64px !important; }
  :root { --header-h: 64px; }
  .hdr-phone, .hdr-tg { display: none !important; }
  .hdr-logo img { height: 30px; }
  .args__grid { grid-template-columns: 1fr !important; }
  .hero__title { font-size: clamp(30px, 8vw, 42px) !important; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat { padding: 16px 0 0; }
  .hero__stat:first-child { padding-left: 0; }
  .hero__stat + .hero__stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
}
@media (max-width: 440px) {
  .fab__wa, .fab__max, .fab__tg, .fab__call { width: 43px !important; height: 43px !important; }
  .fab__wa img, .fab__max img, .fab__tg img, .fab__call img { width: 43px !important; height: 43px !important; }
  .hero__title { font-size: clamp(28px, 8.5vw, 38px) !important; }
}

/* ==========================================================================
   Внутренние страницы
   ========================================================================== */

/* Sub-hero (тёмная шапка страницы) */
.subhero { position: relative; background: var(--dark); color: #ECEDEF; overflow: hidden; }
.subhero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.subhero__scrim { position: absolute; inset: 0; }
.subhero__inner { position: relative; width: var(--container); margin: 0 auto; padding: 70px 0 60px; }
.subhero h1 {
  margin: 0; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05; color: #fff; max-width: 860px;
}
.subhero__cutline { display: block; height: 5px; background: var(--red); margin: 24px 0 0; max-width: 360px; animation: cutline 1.4s var(--ease) .3s both; }
.subhero__lead { margin: 26px 0 0; max-width: 620px; font-size: 17.5px; line-height: 1.65; color: #C9CACF; }
.subhero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }
.subhero .btn--primary { padding: 16px 30px; }
.subhero .btn--ghost-light { padding: 16px 30px; }
.subhero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; }
.subhero__chips span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, .22); padding: 8px 14px; color: #B9BBC1;
}

.crumbs {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; color: #84868D; margin: 0 0 24px;
}
.crumbs a:hover { color: #fff; }
.crumbs .current { color: #D6D7DA; }

/* Компактный футер */
.footer-slim { background: var(--dark-3); color: #ECEDEF; padding: 56px 0 0; }
.footer-slim__row {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px;
}
.footer-slim__logo img { height: 32px; width: auto; display: block; }
.footer-slim__contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #B9BBC1; }
.footer-slim__contact a.phone { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; }
.footer-slim__contact a.phone:hover { color: var(--red); }
.footer-slim__back {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 600; font-size: 14.5px;
  padding: 14px 26px; transition: border-color .2s;
}
.footer-slim__back:hover { border-color: var(--red); color: #fff; }
.footer-slim__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-slim__bottom div { width: var(--container); margin: 0 auto; padding: 18px 0; font-size: 13px; color: #6F7178; }

.section-light { background: var(--bg); }
.section-dark { background: var(--dark); color: #ECEDEF; }
.section-head { margin: 0 0 40px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.section-head .eyebrow { margin: 0 0 12px; letter-spacing: 3px; font-size: 12px; }

/* --- Услуги: карточки услуг --- */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.svc-card {
  display: flex; background: #fff; border: 1px solid #E4E2DE; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(20, 20, 25, .14); }
.svc-card__media { position: relative; width: 200px; flex: none; overflow: hidden; align-self: stretch; min-height: 220px; }
.svc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card__num { position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: #fff; background: var(--red); padding: 5px 10px; }
.svc-card__body { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-card__body h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: .3px; line-height: 1.12; }
.svc-card__body p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #5C5E64; flex: 1; }
.svc-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.svc-card__price { font-family: var(--font-mono); font-size: 13px; color: var(--ink); font-weight: 700; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--red); transition: gap .2s; }
.svc-card__more:hover { gap: 12px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .12); }
.stats-row > div { padding: 28px 24px 8px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stats-row > div:first-child { padding-left: 0; }
.stats-row > div:last-child { border-right: none; padding-right: 0; }
.stats-row strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: #fff; margin: 0 0 8px; }
.stats-row span { font-size: 14px; line-height: 1.55; color: #9EA0A7; }

.uslugi-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.uslugi-cta h2 { margin: 0 0 16px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; }
.uslugi-cta p { margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: #5C5E64; max-width: 520px; }
.uslugi-cta__box { background: var(--dark); color: #ECEDEF; border-top: 3px solid var(--red); padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.uslugi-cta__box strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; text-transform: uppercase; color: #fff; }
.uslugi-cta__box .big { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: #fff; }
.uslugi-cta__box .big:hover { color: var(--red); }
.uslugi-cta__box span { font-size: 14px; line-height: 1.6; color: #9EA0A7; }
/* Ссылка из-под таблицы цен к описанию самой услуги. Наследует цвет колонки,
   поэтому одинаково читается и на светлой, и на тёмной (.price-col--ink). */
.price-col__link { margin: 18px 0 0; font-size: 14.5px; }
.price-col__link a { color: inherit; opacity: .75; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.price-col__link a:hover { opacity: 1; color: var(--red); }

/* Ссылки вглубь сайта в конце секции — не призыв к действию, а навигация,
   поэтому обе нейтральные, без красной заливки: она бы конкурировала с формой. */
.uniq__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.tech__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 40px 0 0; }

.btn--dark { border: 1px solid var(--ink); color: var(--ink); font-weight: 700; padding: 16px 30px; }
.btn--dark:hover { background: var(--ink); color: #fff; }

/* --- Услуга (деталь): article + sidebar --- */
.article-layout {
  width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr); gap: 56px; align-items: start;
}
.article { display: flex; flex-direction: column; gap: 56px; }
.article h2 { margin: 0 0 18px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
.article p.lead { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: #3F4147; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-grid > div { display: flex; gap: 12px; background: #fff; border: 1px solid #E4E2DE; padding: 18px 20px; font-size: 14.5px; line-height: 1.55; }
.check-grid i { color: var(--red); font-weight: 800; font-style: normal; }
.method-table { display: flex; flex-direction: column; border-top: 1px solid #DBD9D4; }
.method-table__row { display: grid; grid-template-columns: 44px 1fr 1.4fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid #DBD9D4; align-items: baseline; }
.method-table__row span.n { font-family: var(--font-mono); font-size: 13px; color: var(--red); }
.method-table__row strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; text-transform: uppercase; }
.method-table__row p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #5C5E64; }

.price-card { background: #fff; border: 1px solid #E4E2DE; border-top: 3px solid var(--red); padding: 6px 28px 10px; }
.price-card .thead,
.price-card .trow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.price-card .thead { padding: 14px 0; border-bottom: 1px solid #EEECE8; font-size: 12.5px; font-weight: 700; color: #84868D; text-transform: uppercase; letter-spacing: .5px; }
.price-card .trow { padding: 13px 0; border-bottom: 1px solid #EEECE8; font-size: 15px; }
.price-card .trow:last-child { border-bottom: none; }
.price-card .trow span:first-child { font-weight: 600; }
.article .note { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: #5C5E64; }
/* Тот же .article, но на всю ширину контейнера, а не в колонке рядом с сайдбаром:
   строку длиной в 1240 px читать невозможно, поэтому текст ограничен. */
.container > .article p.lead,
.container > .article .note { max-width: 860px; }

.faq { display: flex; flex-direction: column; border-top: 1px solid #DBD9D4; }
.faq details { border-bottom: 1px solid #DBD9D4; }
.faq details:last-child { border-bottom: none; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0;
  font-family: var(--font-display); font-size: 17px; font-weight: 600; text-transform: uppercase; list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-plus { color: var(--red); font-size: 22px; font-weight: 400; flex: none; transition: transform .3s; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: #5C5E64; max-width: 640px; }

.inline-cta { background: var(--dark); color: #ECEDEF; padding: 44px 44px 48px; position: relative; overflow: hidden; }
.inline-cta__top { position: absolute; top: 0; left: 0; height: 4px; width: 100%; background: var(--red); }
.inline-cta h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 30px; font-weight: 600; text-transform: uppercase; color: #fff; }
.inline-cta > p { margin: 0 0 26px; font-size: 15.5px; line-height: 1.65; color: #B9BBC1; max-width: 520px; }
.inline-cta form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.inline-cta input {
  background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  padding: 15px 16px; font-size: 15px; font-family: inherit; outline: none; transition: border-color .2s;
}
.inline-cta input:focus { border-color: var(--red); }
.inline-cta button { background: var(--red); border: none; color: #fff; font-weight: 700; font-size: 15.5px; padding: 15px 30px; cursor: pointer; transition: background .2s; }
/* Согласие на обработку ПДн — во всю ширину под полями */
.inline-cta .consent {
  grid-column: 1 / -1; display: flex; gap: 9px; align-items: flex-start;
  margin-top: 2px; font-size: 12px; line-height: 1.5; color: #9A9CA3;
}
.inline-cta .consent input { margin-top: 2px; accent-color: var(--red); flex: none; }
.inline-cta .consent a { color: #C9CACF; text-decoration: underline; text-underline-offset: 2px; }
.inline-cta .consent a:hover { color: var(--red); }
.inline-cta button:hover { background: var(--red-dark); }
.inline-cta__success { display: none; align-items: center; gap: 16px; }
.inline-cta.is-sent form { display: none; }
.inline-cta.is-sent .inline-cta__success { display: flex; }
.inline-cta__success .check { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(221, 47, 42, .15); border: 1px solid var(--red); color: var(--red); font-size: 20px; flex: none; }
.inline-cta__success span { font-size: 15.5px; line-height: 1.55; color: #ECEDEF; }

.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.side-card { background: #fff; border: 1px solid #E4E2DE; border-top: 3px solid var(--red); padding: 26px; }
.side-card strong.t { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; text-transform: uppercase; margin: 0 0 6px; }
.side-card p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.55; color: #5C5E64; }
.side-card a.phone { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.side-card a.phone:hover { color: var(--red); }
.side-card a.mail { display: block; font-size: 14px; color: #5C5E64; margin: 0 0 18px; }
.side-card a.mail:hover { color: var(--red); }
.side-card .btn-call { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; padding: 15px; transition: background .2s; margin: 0 0 10px; }
.side-card .btn-call:hover { background: var(--red-dark); }
.side-card .btn-tg { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); font-weight: 700; font-size: 15px; padding: 14px; transition: background .2s, color .2s; }
.side-card .btn-tg:hover { background: var(--ink); color: #fff; }
.side-nav { background: #fff; border: 1px solid #E4E2DE; padding: 26px; display: flex; flex-direction: column; gap: 2px; }
.side-nav strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; text-transform: uppercase; margin: 0 0 12px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid #EEECE8; font-size: 14.5px; font-weight: 600; }
.side-nav a:last-child { border-bottom: none; }
.side-nav a i { color: var(--red); font-style: normal; }
.side-photo { position: relative; overflow: hidden; border: 1px solid #E4E2DE; min-height: 200px; display: flex; align-items: flex-end; }
.side-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.side-photo__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(10, 11, 13, .9) 100%); }
.side-photo__cap { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.side-photo__cap span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--red); text-transform: uppercase; }
.side-photo__cap strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: #fff; text-transform: uppercase; line-height: 1.25; }

/* --- Работы: галерея --- */
.works-hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin: 0 0 22px; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.work-card--lg { min-height: 420px; }
.work-card--sm { min-height: 280px; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10, 11, 13, .92) 100%); }
.work-card__cap { position: relative; padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.work-card--sm .work-card__cap { padding: 24px; gap: 6px; }
.work-card__cap span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--red); text-transform: uppercase; }
.work-card--sm .work-card__cap span { font-size: 11.5px; }
.work-card__cap h2, .work-card__cap h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; line-height: 1.15; color: #fff; }
.work-card__cap h2 { font-size: 26px; }
.work-card--lg.work-card--sub .work-card__cap h2 { font-size: 22px; }
.work-card__cap h3 { font-size: 18px; line-height: 1.2; }
.work-card__cap p { margin: 0; font-size: 14px; line-height: 1.55; color: #B9BBC1; max-width: 520px; }
.works-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 44px 0 0; }
.btn--ghost-line { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 600; font-size: 16px; padding: 16px 32px; transition: border-color .2s; }
.btn--ghost-line:hover { border-color: #fff; color: #fff; }

/* --- Заказчики --- */
.clients-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0 0 30px; }
.client-logo { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #E4E2DE; height: 132px; padding: 20px 28px; transition: transform .3s, box-shadow .3s; }
.client-logo:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20, 20, 25, .1); }
/* высота задаётся под каждый логотип — так они выглядят одинаково крупно */
.client-logo img { display: block; width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.client-logo--hilti img { height: 46px; }
.client-logo--dalreo img { height: 74px; }
.client-logo--velesstroy img { height: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { font-size: 13px; font-weight: 600; border: 1px solid #DBD9D4; padding: 8px 16px; color: #5C5E64; }
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq-split .faq { border-top-color: #E4E2DE; }
.faq-split .faq details { border-bottom-color: #E4E2DE; }
.faq-split .faq summary { font-size: 18px; letter-spacing: .3px; padding: 20px 0; }
.faq-intro h2 { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.faq-intro p { margin: 0 0 24px; font-size: 15.5px; line-height: 1.65; color: #5C5E64; }

/* --- Контакты --- */
.contacts-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 52px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #E4E2DE; border-top: 3px solid var(--red); padding: 24px 24px 26px; transition: transform .3s, box-shadow .3s; }
.contact-card--ink { border-top-color: var(--ink); }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px rgba(20, 20, 25, .1); }
.contact-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--dark); color: #fff; margin: 0 0 8px; }
.contact-card__icon--red { background: var(--red); }
.contact-card__icon--plain { background: transparent; }
.contact-card__icon--plain img { width: 44px; height: 44px; object-fit: contain; display: block; }
.contact-card label, .contact-card__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1.5px; color: #84868D; text-transform: uppercase; }
.contact-card strong { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); }
.contact-card strong.sm { font-size: 22px; }
.contact-card strong.xs { font-size: 20px; }
.contact-card strong.addr { font-size: 19px; line-height: 1.2; }
.contact-card span.desc { font-size: 13px; color: #5C5E64; }
.hours-strip { display: flex; align-items: center; gap: 16px; background: var(--dark); color: #ECEDEF; padding: 22px 26px; margin: 16px 0 0; border-left: 3px solid var(--red); }
.hours-strip__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); color: var(--red); flex: none; }
.hours-strip strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; text-transform: uppercase; color: #fff; }
.hours-strip span { font-size: 14.5px; color: #B9BBC1; }
.qr-aside { position: sticky; top: 96px; display: flex; flex-direction: column; background: #fff; border: 1px solid #E4E2DE; box-shadow: 0 30px 70px rgba(20, 20, 25, .1); }
.qr-wrap { display: flex; align-items: center; gap: 22px; padding: 28px; }
/* У кода своя фирменная плашка с логотипом — дополнительная рамка не нужна */
/* 200px — чтобы на модуль кода приходилось 4+ пикселя, иначе камера не ловит */
.qr-wrap__img { flex: none; width: 200px; }
.qr-wrap__img img { width: 100%; height: auto; display: block; }
.qr-wrap strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.qr-wrap span { font-size: 14px; line-height: 1.6; color: #5C5E64; }
.qr-aside__actions { border-top: 1px solid #E4E2DE; padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.qr-aside__actions a { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 16px; }
.qr-aside__actions .call { background: var(--red); color: #fff; padding: 16px; transition: background .2s; }
.qr-aside__actions .call:hover { background: var(--red-dark); color: #fff; }
.qr-aside__actions .tg { border: 1px solid var(--ink); padding: 15px; transition: background .2s, color .2s; }
.qr-aside__actions .tg:hover { background: var(--ink); color: #fff; }
.map-embed { position: relative; background: var(--dark); border: 1px solid var(--line-dark); overflow: hidden; }
.map-embed__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: var(--panel); }
.map-embed__bar .pin { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--red); flex: none; }
.map-embed__bar span { flex: 1; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: #9EA0A7; text-transform: uppercase; }
.map-embed__body { position: relative; background: #101114; }
.map-embed__body iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-embed__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px; border-top: 1px solid rgba(255, 255, 255, .08); background: var(--panel);
}
.map-embed__foot span { font-size: 12.5px; color: #84868D; }
.map-embed__foot a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 13.5px; padding: 11px 20px; transition: background .2s;
}
.map-embed__foot a:hover { background: var(--red-dark); color: #fff; }

/* --- Цены --- */
.prices-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: start; }
.price-col { background: #fff; border: 1px solid #E4E2DE; border-top: 3px solid var(--red); padding: 28px; }
.price-col--ink { border-top-color: var(--ink); }
.price-col h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.price-col .unit { font-family: var(--font-mono); font-size: 12px; color: #84868D; }
.price-col .ptable { display: flex; flex-direction: column; margin: 18px 0 0; }
.price-col .thead, .price-col .trow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.price-col .thead { padding: 9px 0; border-bottom: 1px solid #EEECE8; font-size: 12.5px; font-weight: 700; color: #84868D; text-transform: uppercase; letter-spacing: .5px; }
.price-col .trow { padding: 11px 0; border-bottom: 1px solid #EEECE8; font-size: 14.5px; }
.price-col .trow:last-child { border-bottom: none; }
.price-col .trow span:first-child { font-weight: 600; }
.price-col .trow span.span2 { grid-column: span 2; }
.price-aside { display: flex; flex-direction: column; gap: 22px; }
.price-aside__box { background: var(--dark); color: #ECEDEF; padding: 28px; }
.price-aside__box h2 { margin: 0 0 16px; font-size: 20px; font-weight: 600; }
.price-aside__box ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.55; color: #B9BBC1; }
.price-aside__box li { display: flex; gap: 10px; }
.price-aside__box li i { color: var(--red); font-style: normal; }
.price-aside__more { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.price-aside__more a { color: #fff; font-weight: 600; }
.price-aside__more a:hover { color: var(--red); }
.price-aside__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--red); color: #fff; font-weight: 700; font-size: 16px; padding: 22px 26px; transition: background .2s; }
.price-aside__cta:hover { background: var(--red-dark); color: #fff; }
.price-note { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 36px 0 0; padding: 22px 26px; background: #fff; border: 1px solid #E4E2DE; }
.price-note span { font-size: 15px; line-height: 1.6; color: #5C5E64; flex: 1; min-width: 260px; }
.price-disclaimer { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: #84868D; max-width: 780px; }

/* Внутренние страницы — адаптив */
@media (max-width: 980px) {
  .svc-list { grid-template-columns: 1fr !important; }
  .uslugi-cta { grid-template-columns: 1fr !important; gap: 26px !important; }
  .article-layout { grid-template-columns: 1fr !important; }
  .sidebar { position: static; }
  .works-hero-grid { grid-template-columns: 1fr !important; }
  .works-grid { grid-template-columns: 1fr 1fr !important; }
  .clients-grid { grid-template-columns: 1fr 1fr !important; }
  .faq-split { grid-template-columns: 1fr !important; gap: 30px !important; }
  .contacts-layout { grid-template-columns: 1fr !important; gap: 30px !important; }
  .qr-aside { position: static; }
  .prices-grid { grid-template-columns: 1fr !important; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .inline-cta form { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .subhero__inner { padding: 54px 0 46px; }
  .check-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .stats-row > div { border-right: none; }
}
@media (max-width: 600px) {
  /* Три колонки (номер + заголовок + описание) на узком экране сжимались до
     100 пикселей на колонку и рвали слова. Ставим описание под заголовок. */
  .method-table__row { grid-template-columns: 44px minmax(0, 1fr); row-gap: 10px; }
  .method-table__row p { grid-column: 2; }
  .svc-card { flex-direction: column; }
  .svc-card__media { width: 100%; min-height: 180px; }
  .works-grid { grid-template-columns: 1fr !important; }
  .clients-grid { grid-template-columns: 1fr !important; }
  .contact-cards { grid-template-columns: 1fr !important; }
  .qr-wrap { flex-direction: column !important; text-align: center; }
  .footer-slim__row { justify-content: center; text-align: center; }
}

/* --- Разбор кейса: задача, сложности, решение --------------------------- */
/* Плитки выше — визуальный указатель, здесь начинается само содержание:
   что было нужно, что мешало и как выкрутились. Числа в кейсах настоящие,
   из архива старого сайта, где эти объекты описывал сам клиент. */
.cases { margin: 64px 0 0; }
.cases__head { margin: 0 0 8px; }
.case-detail { border-top: 1px solid rgba(255, 255, 255, .12); padding: 34px 0 0; margin: 34px 0 0; }
.case-detail__meta {
  margin: 0 0 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px;
  color: var(--red); text-transform: uppercase;
}
.case-detail h3 {
  margin: 0 0 14px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: 22px; line-height: 1.15; color: #fff;
}
.case-detail__lead { margin: 0 0 26px; font-size: 16px; line-height: 1.65; color: #C9CACF; max-width: 780px; }
.case-detail__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-detail__grid > div { border-left: 2px solid rgba(255, 255, 255, .14); padding: 0 0 0 16px; }
.case-detail__grid strong {
  display: block; margin: 0 0 8px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 2px; text-transform: uppercase; color: #9EA0A7;
}
.case-detail__grid p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #B9BBC1; }
.case-detail__photo { margin: 0 0 22px; position: relative; max-width: 560px; }
.case-detail__photo img { display: block; width: 100%; height: auto; }
@media (max-width: 820px) {
  .case-detail__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* --- Заглушка вместо карты до согласия ---------------------------------- */
/* Виджет Яндекса — это обращение к чужому серверу с передачей IP. Пока
   посетитель не согласился, карта не грузится, а на её месте стоит вот это.
   Контейнеры .geo__canvas и .map-embed__body уже position: relative. */
.map-gate {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 28px 24px; text-align: center;
  background: #101114;
}
.map-gate p {
  margin: 0; max-width: 420px;
  font-size: 14px; line-height: 1.6; color: #9EA0A7;
}
.map-gate .btn { padding: 14px 26px; font-size: 15px; }
