/* =========================================================================
   ЧОО «Славяне» — таблица стилей сайта.
   Порядок: токены → сброс → типографика → раскладка → компоненты → секции
   ========================================================================= */

/* ---------- 1. Токены ----------
   Палитра снята пиксельной выборкой с логотипа: фон #060606 (нейтрально-чёрный,
   без синевы), акцент в диапазоне #A74915…#CB5B1C, светлый — тёплый кремовый
   #FDF3E3. Сайт тёмный целиком: логотип нарисован под чёрный фон, и первый
   экран в этой гамме — эталон, к которому подтянуты остальные секции.

   Ступени тёмного намеренно мелкие (11→17→23). Крупный шаг превращает
   карточки в отдельные «плитки» и дробит страницу; мелкий держит плоскость
   единой, а глубину задают тонкие светлые грани. */
:root {
  --bg:        #0B0B0C;   /* база страницы и первого экрана */
  --bg-alt:    #111113;   /* чередование секций */
  --card:      #17171A;   /* карточки и поля */
  --card-hi:   #1F1F23;   /* наведение, приподнятое состояние */
  --edge:      rgba(255, 255, 255, .10);
  --edge-soft: rgba(255, 255, 255, .06);
  --edge-hi:   rgba(255, 255, 255, .22);

  --text:      #F4F1ED;
  --text-dim:  rgba(255, 255, 255, .64);
  --text-faint:rgba(255, 255, 255, .50);

  --brand:     #C0521A;   /* заливка кнопок: белый текст на нём — 4,71:1 */
  --brand-600: #9A4212;   /* нажатое состояние */
  --brand-tint:rgba(192, 82, 26, .14);
  --neon:      #E08A4F;   /* акцентный ТЕКСТ на тёмном: 7,42:1. #C0521A здесь
                             даёт лишь 4,18:1 и норму не проходит */
  --cream:     #FDF3E3;

  --ok:        #7BD69B;
  --ok-bg:     rgba(123, 214, 155, .12);
  --warn-bg:   rgba(254, 243, 199, .13);
  --warn-ink:  #F3D89A;
  --err:       #FF8A7A;

  --white:     #FFFFFF;
  /* Совместимость со старыми именами, чтобы не править сотню обращений разом */
  --navy-900:  var(--bg);
  --navy-800:  var(--bg-alt);
  --navy-700:  var(--card-hi);
  --ink:       var(--text);
  --ink-soft:  var(--text-dim);
  --line:      var(--edge);
  --line-soft: var(--edge-soft);
  --surface:   var(--card);
  --brand-50:  var(--brand-tint);

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

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow:    0 4px 14px rgba(0, 0, 0, .45);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .6);

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .3, 1);

  /* шкала z-index */
  --z-sticky: 20;
  --z-header: 40;
  --z-mobilebar: 45;
  --z-overlay: 60;
  --z-lightbox: 80;
}

/* ---------- 2. Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* Именно clip, а не hidden. `overflow-x: hidden` на корне заставляет
     браузер вычислить overflow-y как auto, корень становится контейнером
     прокрутки — и position: sticky у шапки перестаёт работать: она уезжает
     вверх вместе со страницей. `clip` обрезает так же, но контейнер
     прокрутки не создаёт и sticky не ломает. */
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-wrap: break-word;   /* длинные слова вроде «ионизирующего» не рвут раскладку */
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }

a { color: var(--neon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }

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

::selection { background: var(--brand); color: var(--white); }

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

/* ---------- 3. Типографика ---------- */
h1, h2, h3, h4 {
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(27px, 3.6vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }

p { margin: 0; }

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--neon);
  flex: none;
}
.eyebrow--light { color: var(--neon); }
.eyebrow--light::before { background: var(--neon); }

.num { font-variant-numeric: tabular-nums; }

/* ---------- 4. Раскладка ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Узкая колонка для длинных читаемых блоков (вопросы, форма).
   Строка длиннее ~75 знаков на тёмном фоне читается заметно тяжелее. */
.container--narrow { max-width: 880px; }

.section { padding-block: clamp(56px, 7vw, 100px); }
/* Переход по пункту меню. Шапка и так учтена (scroll-padding-top у html),
   но секция начинается с собственного отступа до 100 px — и заголовок
   оказывался в 125 px под шапкой: выглядело, будто прокрутка не доехала.
   Отрицательный scroll-margin съедает этот отступ, оставляя 20 px воздуха:
   заголовок встаёт в ~36 px под шапкой. */
.section[id] { scroll-margin-top: calc(20px - clamp(56px, 7vw, 100px)); }

/* ---------- Фоны секций ----------
   Раньше секции различались светлыми подложками. На тёмной теме это не
   работает: любая светлая плашка выбивается из первого экрана, ради которого
   всё и затевалось. Теперь разделение делают три вещи — едва заметная смена
   плотности чёрного, тонкая грань по верхнему краю и узор в 3–5% яркости.
   Ставится атрибутом data-bg на <section>, поэтому смена оформления любого
   блока — правка одного слова в разметке. */

.section + .section { border-top: 1px solid var(--edge-soft); }

/* Чередование плотности: соседние секции не должны быть одинаковыми */
[data-bg="tint"],
[data-bg="alt"]   { background: var(--bg-alt); }

/* Точечная сетка — техническая, ненавязчивая */
[data-bg="dots"] {
  background:
    radial-gradient(circle, rgba(255, 255, 255, .045) 1px, transparent 1.6px) 0 0 / 24px 24px,
    var(--bg-alt);
}

/* Диагонали — дают движение, но не спорят с текстом */
[data-bg="lines"] {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 16px),
    var(--bg);
}

/* Сетка чертежа: шаг 14 px и крупные оси через 84 px */
[data-bg="blueprint"] {
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 84px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 84px 100%,
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px) 0 0 / 100% 14px,
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px) 0 0 / 14px 100%,
    var(--bg);
}

/* Фирменный знак в фоне секции.
   Раньше здесь был обведённый контур щита — абстрактная фигура, которая
   ни о чём не говорила. Теперь стоит сама эмблема с логотипа: под ней
   тёплое свечение, чтобы знак не выглядел наклеенным на плоский чёрный,
   и она уходит за правый край — так читается как подложка, а не как
   картинка, которую забыли обрезать. */
[data-bg="shield"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}
/* свечение под знаком */
[data-bg="shield"]::before {
  content: "";
  position: absolute;
  z-index: -2;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(192, 82, 26, .20), rgba(192, 82, 26, .05) 55%, transparent 72%);
  pointer-events: none;
}
/* сама эмблема */
[data-bg="shield"]::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  background: url("../img/logo-watermark.webp") no-repeat center / contain;
  opacity: .22;
  pointer-events: none;
}
@media (max-width: 1100px) {
  [data-bg="shield"]::after { width: 380px; height: 380px; right: -12%; opacity: .16; }
  [data-bg="shield"]::before { width: 560px; height: 560px; right: -14%; }
}
@media (max-width: 700px) {
  /* На телефоне знак встаёт за текстом и мешает читать — убираем,
     оставляем только слабое свечение. */
  [data-bg="shield"]::after { display: none; }
  [data-bg="shield"]::before { width: 420px; height: 420px; right: -30%; opacity: .7; }
}

/* Блок цены — единственная секция с фирменным подсветом: два очень
   слабых оранжевых пятна по углам. */
.section--price {
  position: relative;
  background:
    radial-gradient(1100px 520px at 10% -14%, rgba(192, 82, 26, .16), transparent 62%),
    radial-gradient(900px 460px at 104% 112%, rgba(192, 82, 26, .11), transparent 60%),
    var(--bg-alt);
}

/* Чередование по странице: hero(bg) → dots(alt) → цена(alt + свечение,
   различим сам по себе) → чертёж(bg) → о компании(alt) → заявка(bg) →
   вопросы(alt). Две соседние секции одного тона допускаются только там,
   где вторая различима узором или подсветом. */
.section--dark { background: var(--bg-alt); }
.section--surface { background: var(--bg-alt); }

/* Заголовок секции */
.section__head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head .lead { margin-top: 14px; }


/* ---------- 5. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: var(--r);
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* Главная кнопка. Белый на #C0521A — 4,71:1, норму проходит.
   При наведении уходим в более тёмный оттенок, а не в светлый:
   на чёрном фоне посветление читается как «кнопка стала неактивной». */
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover:not(:disabled) { background: var(--brand-600); color: var(--white); }

.btn--outline { border-color: var(--edge-hi); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--neon); color: var(--neon); background: rgba(255, 255, 255, .04); }

.btn--light { background: var(--cream); color: var(--bg); }
.btn--light:hover { background: var(--white); color: var(--bg); }

.btn--ghost-light { border-color: var(--edge-hi); color: var(--text); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }

.btn--block { width: 100%; }
.btn--lg { min-height: 58px; font-size: 17px; padding-inline: 32px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--lg { width: 28px; height: 28px; }

/* ---------- 6. Шапка ---------- */
/* Шапка тёмная не по вкусу, а вынужденно: слово «СЛАВЯНЕ» в логотипе набрано
   тёплым кремовым #FDF3E3, и на белом фоне его контраст 1,10:1 — оно исчезает.
   На чёрном знак стоит ровно так, как его нарисовали. */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(11, 11, 12, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: var(--white);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
/* Знак-строка: эмблема и слово из одного файла, поставленные рядом. */
.lockup, .site-header__logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.site-header__logo .logo-mark { height: 50px; width: auto; }
.site-header__logo .logo-word { height: 38px; width: auto; }
.lockup .logo-mark { height: 56px; width: auto; }
.lockup .logo-word { height: 42px; width: auto; }

/* Ниже 420 px в строку помещается только эмблема — слово убираем,
   название всё равно стоит в заголовке страницы. */
@media (max-width: 420px) {
  .site-header__logo .logo-word { display: none; }
  .site-header__logo .logo-mark { height: 44px; }
}

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); border-color: var(--neon); }

.site-header__phone {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__phone:hover { color: var(--neon); }
.site-header__phone small {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .02em;
}

.site-header__cta { min-height: 46px; padding-inline: 20px; font-size: 15px; }

.burger {
  display: none;
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--white);
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.burger:hover { border-color: var(--brand); color: var(--brand); }

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--navy-900);
  color: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  /* Закрытие: сначала гаснет, потом прячется. Открытие: видимость сразу,
     иначе в первый кадр меню ещё «скрыто» и браузер не даёт поставить
     фокус на кнопку закрытия — клавиатурой меню было не управлять. */
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.mobile-menu[data-open="true"] { visibility: visible; opacity: 1; transition: opacity .25s var(--ease), visibility 0s; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-menu__top img { height: 40px; }
.mobile-menu__close {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .3);
  display: grid; place-items: center;
  color: var(--white);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: Manrope, sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-menu nav a:hover { color: var(--neon); }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.mobile-menu__foot a.phone {
  font-family: Manrope, sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--white); text-decoration: none;
}

/* ---------- 7. Первый экран ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, var(--navy-900) 8%, rgba(20, 14, 10, .93) 42%, rgba(20, 14, 10, .62) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { color: var(--white); max-width: 15ch; }
.hero__lead {
  margin-top: 20px;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .8);
  max-width: 54ch;
}
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
}
.hero__badge .icon { width: 18px; height: 18px; color: var(--neon); }

.hero__facts {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.fact__value {
  font-family: Manrope, sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--white);
}
.fact__label {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .65);
}

/* Карточка «дежурная часть» справа в hero */
.hero__card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.hero__card h2 { font-size: 19px; color: var(--white); }
.hero__card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.hero__card li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .85);
}
.hero__card li .icon { width: 22px; height: 22px; color: var(--neon); margin-top: 1px; }

/* ---------- 7a. Шапка внутренней страницы ----------
   Компактный тёмный блок вместо полноэкранного героя: внутренняя страница
   должна сразу показывать содержимое, а не отправлять пользователя листать. */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-900) 0%, #1E1A18 100%);
  color: var(--text);
  border-bottom: 1px solid var(--edge);
  padding-block: clamp(30px, 4vw, 44px) clamp(40px, 5.5vw, 64px);
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  opacity: .16;
  pointer-events: none;
  background: url("../img/logo-watermark.webp") no-repeat center / contain;
}
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: var(--text-dim); margin-top: 16px; }
.page-hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
/* Цитата на странице вакансий: слова компании о людях, отдельно от лида */
.page-hero__quote {
  max-width: 62ch;
  margin: 18px 0 0;
  padding: 2px 0 2px 18px;
  border-left: 1px solid var(--edge-hi);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .55);
}
/* отрицательный отступ не меняет раскладку, но увеличивает область нажатия
   до пригодной для пальца — сама ссылка по высоте всего 23 px */
.breadcrumb a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  padding-block: 10px;
  margin-block: -10px;
}
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .5; }

/* активный пункт меню на внутренней странице */
.site-nav a[aria-current="page"] { color: var(--white); border-color: var(--neon); }
.mobile-menu nav a[aria-current="page"] { color: var(--neon); }

@media (max-width: 900px) {
  .page-hero::before { width: 220px; height: 220px; right: -14%; opacity: .1; }
}

/* ---------- 8. Цена ----------
   Калькулятор убран по решению заказчика от 02.10.2026: прайс один
   на все объекты, разбивки по типам и скидок за объём нет — считать
   нечего. Вместо него карточка со ставкой и тем, что входит в час.

   .result__note и .result__warn остались от калькулятора: первым
   подписана форма заявки, вторым — плашка «вакансии пока примеры». */

.price-card {
  max-width: 820px;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
}
.price-card__value {
  font-family: Manrope, sans-serif;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--neon);
}
.price-card__value span {
  display: inline-block;
  margin-left: 6px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-dim);
}
.price-card__note {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}
.price-card__what {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--edge-soft);
}
.price-card__label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.price-card .btn { margin-top: 26px; }

.result__warn {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--warn-bg);
  border: 1px dashed rgba(243, 216, 154, .55);
  color: var(--warn-ink);
  font-size: 14px;
  line-height: 1.45;
}
.result__warn .icon { width: 20px; height: 20px; }
.result__note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-faint);
}


/* ---------- 9. Каталог видов охраны ----------
   Четырнадцать позиций. Плиточная сетка «фото сверху — текст снизу»
   растягивала раздел на три экрана и заставляла скроллить мимо половины
   типов. Горизонтальная карточка в две колонки короче втрое: фото остаётся
   (по нему узнают свой объект), но взгляд идёт сверху вниз одним движением. */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chip {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--card);
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.chip:hover { border-color: var(--edge-hi); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); }
.chip__count { opacity: .65; font-variant-numeric: tabular-nums; }
.catalog__count { margin: 0 0 22px; font-size: 14.5px; color: var(--text-faint); }

.catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.obj-card {
  display: flex;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.obj-card:hover {
  color: var(--text);
  border-color: var(--edge-hi);
  background: var(--card-hi);
}

.obj-card__media {
  position: relative;
  flex: none;
  width: 38%;
  min-width: 150px;
  max-width: 220px;
  background: var(--bg-alt);
  overflow: hidden;
}
.obj-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Фото приглушены: на тёмной странице четырнадцать ярких прямоугольников
     перетягивают внимание с текста, ради которого раздел и существует.
     На наведении карточка «оживает» — становится видно, что она кликабельна. */
  filter: saturate(.82) brightness(.82);
  transition: filter .25s var(--ease), transform .35s var(--ease);
}
.obj-card:hover .obj-card__media img { filter: none; transform: scale(1.04); }

.obj-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 18px 20px;
}
.obj-card__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: Manrope, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--text);
}
.obj-card__title .icon { width: 20px; height: 20px; flex: none; color: var(--neon); margin-top: 1px; }

.obj-card__lead {
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-dim);
  flex: 1;
}

.obj-card__foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.obj-card__price {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand-tint);
  border: 1px solid rgba(192, 82, 26, .4);
  color: var(--neon);
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.obj-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-faint);
  white-space: nowrap;
}
.obj-card__more .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.obj-card:hover .obj-card__more { color: var(--neon); }
.obj-card:hover .obj-card__more .icon { transform: translateX(4px); }

@media (max-width: 980px) { .catalog { grid-template-columns: 1fr; } }
@media (max-width: 460px) {
  /* На узком экране фото сбоку сжимается до полоски — возвращаем его наверх */
  .obj-card { flex-direction: column; }
  .obj-card__media { width: 100%; max-width: none; aspect-ratio: 16 / 9; }
}

/* Списки «что делает пост» и «оснащение» — общие для каталога и страниц видов охраны */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  font-size: 15px; line-height: 1.45;
  color: var(--text-dim);
}
.ticks .icon { width: 20px; height: 20px; color: var(--neon); margin-top: 1px; }


/* ---------- 9a. Страница вида охраны ---------- */
.kind__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.kind__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); border: 1px solid var(--edge); }
.kind__media img { width: 100%; height: 100%; object-fit: cover; }

.kind__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 8px; }
.kind__cols h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--neon); margin-bottom: 14px;
}

/* Три довода «зачем здесь пост».
   Номеров здесь нет намеренно. Это не последовательность шагов, а три
   независимые причины — нумерация навязывала им несуществующий порядок
   и читалась как инструкция. Вместо цифры — короткая фирменная черта:
   она отбивает карточки друг от друга, ничего не обещая. */
.kind__why {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.kind__why li {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  font-size: 15.5px; line-height: 1.6;
  color: var(--text-dim);
}
.kind__why li::before {
  content: "";
  position: absolute; top: 26px; left: 24px;
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--brand);
}
.kind__why li { padding-top: 46px; }

/* Плашка с ценой на странице вида охраны */
.kind__price {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid rgba(192, 82, 26, .4);
}
.kind__price-value { font-family: Manrope, sans-serif; font-size: clamp(26px, 4vw, 34px); font-weight: 700; line-height: 1.1; color: var(--neon); }
.kind__price-note { flex: 1 1 260px; font-size: 15px; line-height: 1.5; color: var(--text-dim); }

/* Ссылки на смежные виды охраны */
.kind__near { display: flex; flex-wrap: wrap; gap: 10px; }
.kind__near a {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--edge);
  background: var(--card); color: var(--text-dim);
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.kind__near a:hover { border-color: var(--edge-hi); background: var(--card-hi); color: var(--text); }
.kind__near .icon { width: 18px; height: 18px; color: var(--neon); }

@media (max-width: 900px) {
  .kind__grid { grid-template-columns: 1fr; }
  .kind__cols { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- 10. Порядок работы ----------
   Линия процесса: четыре этапа на одной направляющей слева направо.
   Раньше это был список строк «номер — текст — срок»; такой список читается
   как перечень равнозначных пунктов, а здесь важна именно последовательность
   и то, что у неё есть конец. Направляющая с точками показывает это без слов. */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
/* Колонка-этап. Флекс нужен ради одного: плашка со сроком прижимается
   к низу и все четыре встают на одну линию. Иначе они висят на разной
   высоте вслед за длиной описания, и ряд выглядит неряшливо. */
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 24px 4px 0;
}
.step + .step { padding-left: 24px; }

/* Направляющая: линия на всю ширину колонки и точка этапа на ней */
.step__rail {
  position: relative;
  height: 2px;
  margin-bottom: 28px;
  background: var(--edge);
}
.step--last .step__rail { background: linear-gradient(90deg, var(--edge) 0 14px, transparent 14px); }
.step__dot {
  position: absolute;
  left: 0; top: 50%;
  width: 12px; height: 12px;
  transform: translate(-1px, -50%);
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--edge-hi);
}
/* Последний этап — цель, поэтому его точка залита фирменным */
.step--last .step__dot { background: var(--brand); border-color: var(--brand); }

.step__n {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.step--last .step__n { color: var(--neon); }

.step__title { font-size: 20px; margin-bottom: 10px; color: var(--text); }
.step__text { font-size: 15px; line-height: 1.55; color: var(--text-dim); }

/* Срок — отдельной плашкой внизу: это то, что заказчик ищет глазами */
.step__when {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--edge-soft);
}
.step__when b {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.step__when small { font-size: 12.5px; color: var(--text-faint); }

@media (max-width: 900px) {
  /* Разворачиваем в вертикальную линию: направляющая уходит влево,
     этапы читаются сверху вниз одним столбцом. */
  .steps { grid-template-columns: 1fr; }
  .step { padding: 0 0 32px 34px; }
  .step + .step { padding-left: 34px; }
  .step__rail {
    position: absolute;
    left: 5px; top: 6px; bottom: -6px;
    width: 2px; height: auto;
    margin: 0;
  }
  .step--last .step__rail { background: linear-gradient(180deg, var(--edge) 0 14px, transparent 14px); }
  .step__dot { left: 50%; top: 0; transform: translate(-50%, 0); }
  .step__n { margin-bottom: 6px; }
  .step__when { margin-top: 16px; }
  .step--last { padding-bottom: 0; }
}


/* ---------- 11. Почему нам доверяют — переключаемые вкладки ----------
   Было шесть пунктов подряд, у каждого заголовок и абзац: всё вываливалось
   разом и читалось как простыня. Теперь слева перечень, справа раскрыт один
   пункт — на экране один абзац вместо шести. */
.facets {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
}

.facets__list { display: grid; gap: 6px; }

.facets__tab {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 15px 16px;
  text-align: left;
  border-radius: var(--r);
  border: 1px solid transparent;
  color: var(--text-dim);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.facets__tab:hover { background: var(--card); color: var(--text); }

.facets__tab[aria-selected="true"] {
  background: var(--card-hi);
  border-color: rgba(192, 82, 26, .45);
  color: var(--text);
}
/* Полоса слева у выбранного пункта: вырастает из ничего, поэтому
   переключение видно боковым зрением, даже если смотришь на текст справа. */
.facets__tab::before {
  content: "";
  position: absolute;
  left: -1px; top: 50%;
  width: 3px; height: 0;
  transform: translateY(-50%);
  border-radius: 0 3px 3px 0;
  background: var(--brand);
  transition: height .25s var(--ease);
}
.facets__tab[aria-selected="true"]::before { height: calc(100% - 20px); }

.facets__n {
  font-family: Manrope, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.facets__tab .icon {
  width: 20px; height: 20px;
  color: var(--text-faint);
  transition: color .2s var(--ease), transform .25s var(--ease);
}
.facets__tab:hover .icon { color: var(--neon); }
.facets__tab[aria-selected="true"] .icon { color: var(--neon); transform: scale(1.12); }
.facets__t {
  font-family: Manrope, sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
}

/* --- Раскрытый пункт --- */
.facets__stage {
  position: relative;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  min-height: 260px;
}
.facets__panel[hidden] { display: none; }

/* Появление: короткий сдвиг вверх с проявлением. Класс снимается и ставится
   заново при каждом переключении, иначе анимация играет только один раз. */
.facets__panel.is-in { animation: facetIn .28s var(--ease) both; }
@keyframes facetIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.facets__mark {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--r);
  background: var(--brand-tint);
  border: 1px solid rgba(192, 82, 26, .35);
  margin-bottom: 20px;
}
.facets__mark .icon { width: 26px; height: 26px; color: var(--neon); }
.facets__panel h3 { font-size: clamp(20px, 2.4vw, 25px); color: var(--text); margin-bottom: 12px; }
.facets__panel p { font-size: 16.5px; line-height: 1.65; color: var(--text-dim); max-width: 56ch; }

@media (max-width: 900px) {
  /* Перечень уходит наверх в две колонки, раскрытый пункт — под ним.
     Колонка в 380 px на телефоне не помещается, а горизонтальная лента
     вкладок прячет половину пунктов за краем экрана. */
  .facets { grid-template-columns: 1fr; gap: 18px; }
  .facets__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .facets__tab { padding: 13px 14px; grid-template-columns: auto minmax(0, 1fr); }
  .facets__tab .icon { display: none; }
  .facets__t { font-size: 14.5px; }
  .facets__stage { min-height: 0; }
}
@media (max-width: 520px) {
  .facets__list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .facets__panel.is-in { animation: none; }
  .facets__tab::before, .facets__tab .icon { transition: none; }
}

/* ---------- 11a. Перечень видов охраны (страница «О компании») ---------- */
.kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; }
.kinds-col h3 {
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--neon); margin-bottom: 14px;
}
.kinds-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.kinds-col a {
  display: flex; align-items: center; gap: 11px;
  min-height: 40px; padding: 6px 10px 6px 0;
  color: var(--text-dim); text-decoration: none;
  font-size: 15.5px; line-height: 1.35;
  border-radius: var(--r-sm);
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.kinds-col a:hover { color: var(--text); padding-left: 8px; }
.kinds-col .icon { width: 19px; height: 19px; flex: none; color: var(--neon); }


/* ---------- 12. Документы и письма ---------- */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.doc {
  display: flex; flex-direction: column;
  border: 1px solid var(--edge); border-radius: var(--r);
  background: var(--card); overflow: hidden; text-align: left;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.doc:hover { border-color: var(--edge-hi); background: var(--card-hi); }
.doc__media { position: relative; aspect-ratio: 3 / 4; background: var(--bg-alt); overflow: hidden; }
.doc__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doc__zoom {
  position: absolute; right: 10px; bottom: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(20, 14, 10, .85); color: var(--white);
  display: grid; place-items: center;
}
.doc__zoom .icon { width: 18px; height: 18px; }
.doc__body { padding: 14px 16px 16px; }
.doc__title { font-family: Manrope, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--text); }
.doc__note { margin-top: 4px; font-size: 13.5px; color: var(--text-dim); line-height: 1.4; }

/* Лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox);
  background: rgba(20, 14, 10, .93);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  visibility: hidden; opacity: 0;
  transition: opacity .22s var(--ease), visibility .22s;
}
.lightbox[data-open="true"] { visibility: visible; opacity: 1; }
.lightbox__img { max-width: min(92vw, 900px); max-height: 84vh; object-fit: contain; border-radius: var(--r-sm); background: var(--white); }
.lightbox__cap { color: rgba(255, 255, 255, .85); text-align: center; margin-top: 16px; font-size: 15px; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: var(--white);
  display: grid; place-items: center;
  transition: background-color .2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev .icon { transform: rotate(180deg); }

/* ---------- Лента клиентов ----------
   Единственная светлая плашка на сайте, и намеренно: логотипы компаний почти
   всегда нарисованы тёмным по прозрачному фону и на чёрном исчезают. */
.clients-slab {
  background: var(--cream);
  border: 1px solid var(--edge);
  border-radius: var(--r-xl);
  padding: 26px 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* маска гасит логотипы у краёв плашки, чтобы они не обрывались резко */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 48s linear infinite;
}
.marquee__group { display: flex; align-items: center; }

/* дорожка состоит из двух одинаковых наборов, сдвиг ровно на половину — шва не видно */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Лента идёт непрерывно и на наведение не реагирует — останавливать её не нужно.
   Ширина плитки авто: узкие вертикальные логотипы не растягиваются, широкие
   вордмарки получают столько места, сколько им нужно. */
.client {
  flex: none;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 30px;
  transition: transform .25s var(--ease);
}

/* Предел высоты задан в пикселях намеренно: max-height в процентах не работает —
   строка контейнера авторазмерная, процент зациклен, и логотип вылезал за плашку.
   Пределы, а не фиксированный бокс: логотипы обрезаны плотно по содержимому,
   поэтому под общим потолком они сами встают примерно вровень. */
.client img {
  width: auto;
  height: auto;
  max-height: 68px;
  max-width: 150px;
  object-fit: contain;
}
/* широкие вордмарки ограничиваем по высоте сильнее, иначе они давят квадратные */
.client--wide img { max-height: 34px; max-width: 200px; }

.client:hover { transform: scale(1.12); }

.client--word { padding-inline: 30px; }
.client--word span {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--navy-900);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

/* ---------- 13. Вопросы и ответы ----------
   Раньше это была сплошная линованная простыня во всю ширину: строка длиной
   в тысячу с лишним пикселей на тёмном фоне читается тяжело, а закрытые
   вопросы сливались в один блок. Теперь каждый вопрос — отдельная карточка
   в узкой колонке, а раскрытый помечается фирменной полосой слева. */
.faq { display: grid; gap: 10px; }
.faq__item {
  position: relative;
  border: 1px solid var(--edge);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.faq__item:hover { border-color: var(--edge-hi); }
.faq__item:has(.faq__btn[aria-expanded="true"]) {
  border-color: rgba(192, 82, 26, .45);
  background: var(--card-hi);
}
.faq__item:has(.faq__btn[aria-expanded="true"])::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand);
}
.faq__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; padding: 19px 22px; text-align: left;
  color: var(--text);
  font-family: Manrope, sans-serif; font-size: clamp(16px, 1.5vw, 17.5px); font-weight: 600;
  line-height: 1.4;
  transition: color .18s var(--ease);
}
.faq__btn:hover { color: var(--neon); }
.faq__btn .icon { flex: none; margin-top: 2px; color: var(--neon); transition: transform .22s var(--ease); }
.faq__btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq__panel { padding: 0 22px 20px; max-width: 72ch; }
.faq__panel[hidden] { display: none; }
.faq__panel p { font-size: 15.5px; line-height: 1.65; color: var(--text-dim); }

/* ---------- 14. Формы ----------
   Форма собрана в одну карточку и стоит по центру узкой колонки, а не
   в правой половине двухколоночного блока: заполнение — отдельное действие,
   и рядом с ним не должно быть ничего, что тянет взгляд в сторону.
   Доводы «почему нам можно оставлять телефон» ушли одной строкой под кнопку. */
.form-card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.lead-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > label { font-size: 14.5px; font-weight: 500; color: var(--text-dim); }
.field .req { color: var(--err); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid var(--edge-hi);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--text);
  font-size: 16.5px;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
/* Системный вид списка на тёмном фоне остаётся светлым и выбивается,
   поэтому рисуем свой. Но стрелку надо вернуть обязательно: без неё поле
   неотличимо от обычного ввода и человек не понимает, что нажимать. */
.field select {
  appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23E08A4F%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m6%209%206%206%206-6%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px 20px;
}
/* Раскрытый список рисует система: задаём цвета, иначе строки будут
   чёрным по чёрному в тёмной теме браузера. */
.field select option { background: var(--card); color: var(--text); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(255, 255, 255, .34); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--neon);
  background: var(--bg-alt);
  outline: none;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea { border-color: var(--err); }
.field__error { font-size: 14px; color: var(--err); min-height: 0; }
.field__error:empty { display: none; }

.checkbox { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.5; color: var(--text-dim); }
.checkbox input { width: 24px; height: 24px; min-height: 0; accent-color: var(--brand); margin: 0; }
.checkbox[data-invalid="true"] { color: var(--err); }

/* Строка доводов под кнопкой */
.form-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--edge-soft);
}
.form-assure li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--text-faint);
}
.form-assure .icon { width: 16px; height: 16px; flex: none; color: var(--neon); }

.form-calc-summary {
  border: 1px solid rgba(192, 82, 26, .4);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  padding: 16px 18px;
  font-size: 15px;
}
.form-calc-summary strong { display: block; font-family: Manrope, sans-serif; margin-bottom: 8px; color: var(--text); }
.form-calc-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.form-calc-summary dt { color: var(--text-dim); }
.form-calc-summary dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }

.form-success {
  border: 1px solid rgba(123, 214, 155, .45);
  background: var(--ok-bg);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
}
.form-success .icon { width: 52px; height: 52px; color: var(--ok); margin: 0 auto 16px; }
.form-success h3 { margin-bottom: 10px; color: var(--text); }
.form-success p { color: var(--text-dim); max-width: 46ch; margin-inline: auto; }
.form-success__list { margin-top: 20px; text-align: left; display: inline-block; }


/* ---------- 15. Контакты и подвал ---------- */
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.contact-block h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--neon); font-weight: 700; margin-bottom: 14px; }
.contact-block {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  padding: 24px;
}
.contact-block a, .contact-block > div > span {
  font-family: Manrope, sans-serif; font-size: 20px; font-weight: 700;
  color: var(--text); text-decoration: none; display: block; margin-bottom: 8px;
}
.contact-block a:hover { color: var(--neon); }
.contact-block p { font-size: 15px; color: var(--text-dim); }

/* Реквизиты организации — строки «поле: значение» */
.requisites {
  margin: 0;
  border-top: 1px solid var(--edge);
  max-width: 880px;
}
.requisites__row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 8px 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--edge);
}
.requisites dt { font-size: 15px; color: var(--text-dim); }
.requisites dd { margin: 0; font-size: 16.5px; font-weight: 500; color: var(--text); }

@media (max-width: 640px) {
  .requisites__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* Подвал теперь того же цвета, что и страница, поэтому отделяем его гранью,
   а не сменой фона — иначе он просто продолжает последнюю секцию. */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--edge);
  color: var(--text-dim);
  padding-block: 56px 40px;
  font-size: 15px;
}
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.site-footer img.logo { height: 46px; margin-bottom: 18px; }
.site-footer h4 { font-family: Manrope, sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--neon); margin: 0 0 14px; }
/* Строка ссылки в подвале сама по себе высотой 19 px — мимо неё промахиваются
   и мышью. Разводим до 34 px везде и до 44 px на сенсорных ширинах. */
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 34px; }
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* На сенсорных экранах строка ссылки высотой 19 px не попадается пальцем.
   Разводим пункты списков до 44 px — это нижняя граница удобного нажатия,
   и для аудитории 30–40+ она важнее компактного подвала. */
@media (max-width: 900px) {
  .site-footer ul a { min-height: 44px; }
}
.site-footer__req { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--text-faint); }

/* ---------- 16. Липкая панель на мобильном ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-mobilebar);
  display: none;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 12, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--edge);
}
.mobile-bar .btn { flex: 1; min-height: 50px; font-size: 15.5px; padding-inline: 12px; }

/* ---------- 18. Появление блоков при скролле ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 19. Адаптив ---------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 520px; }
}

/* Меню прячется в бургер раньше, чем остальная мобильная раскладка.
   Замер: при 1100 px кнопка «Получить КП» вылезала за правый край на 24 px
   даже с пятью пунктами, при 960 — на 164. Флекс не сжимал её, а выталкивал
   наружу, и на ноутбуках 1024×768 главная кнопка оказывалась за экраном.
   Порог 1180 — первая ширина, при которой пункты и кнопка помещаются вместе
   (запас 20 px). Саму кнопку не прячем: до 900 px она важнее меню. */
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .burger { display: flex; margin-left: 12px; }
  .site-header__phone { margin-left: auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .site-header__cta { display: none; }
  .site-header__phone { font-size: 16.5px; }
  .site-header__phone small { display: none; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  /* на узких экранах шапка должна помещаться целиком: логотип + телефон + бургер */
  .site-header__inner { gap: 12px; }
  .site-header__logo .logo-mark { height: 40px; }
  .site-header__logo .logo-word { height: 30px; }
  /* Зона нажатия 44 px (было 25): отступы расширяют область под пальцем,
     отрицательные поля возвращают раскладку шапки как была. */
  .site-header__phone { font-size: 15.5px; padding-block: 10px; margin-block: -10px; }
  .burger { margin-left: 0; width: 46px; height: 46px; }
  .opts--objects { grid-template-columns: 1fr 1fr; }
  .opt { min-height: 58px; padding: 12px; flex-direction: column; gap: 8px; }
  .opts--shifts .opt, .opts--terms .opt, .opts--armed .opt { flex-direction: row; }
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .contact-block a { font-size: 19px; }
  .docs { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1; }
}

@media (max-width: 380px) {
  .opts--objects { grid-template-columns: 1fr; }
  .opt { flex-direction: row; }
}


/* ---------- 20. Уважение к системным настройкам ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .mobile-menu, .lightbox, .hero__bg { display: none !important; }
  body { color: #000; }
}

/* ---------- 21. Незаполненные данные заказчика ----------
   Пока реквизитов, цифр и прайса «Славян» нет, вместо них на страницах стоят
   заглушки. Они намеренно заметные: незаполненное значение должно бросаться
   в глаза при беглом просмотре, иначе оно уедет в публикацию.
   Как данные придут — правится data.js, и вся эта подсветка исчезает сама. */
.todo {
  display: inline-block;
  padding: 1px 9px 2px;
  border-radius: 6px;
  background: var(--warn-bg);
  border: 1px dashed rgba(243, 216, 154, .55);
  color: var(--warn-ink);
  font-size: .88em;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: baseline;
  /* Переносить обязательно: некоторые заглушки длинные («полное название
     юрлица, например…»), и с nowrap плашка на телефоне распирала страницу
     до 391 px при окне 375 — появлялась горизонтальная прокрутка. */
  max-width: 100%;
  overflow-wrap: break-word;
}
.fact__todo { font-size: 15px; }
/* Страница тёмная целиком, поэтому плашка везде одна: приглушённый фон
   и пунктирный контур. Сплошная жёлтая заливка на чёрном слепит. */

/* Предупреждение о временных тарифах в панели результата */
.result__warn {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--warn-bg);
  border: 1px dashed rgba(243, 216, 154, .55);
  color: var(--warn-ink);
  font-size: 14px;
  line-height: 1.45;
}
.result__warn .icon { width: 20px; height: 20px; }
/* display:grid выше перебивает атрибут hidden — без этой строки
   плашка «вакансии — примеры» не пряталась бы никогда. */
.result__warn[hidden] { display: none; }

/* Колонка «Виды охраны» в подвале — четырнадцать пунктов в две дорожки */
.site-footer__kinds { columns: 2; column-gap: 22px; }
/* На телефоне оставляем две колонки: в одну 14 пунктов по 44 px
   растянули бы подвал на пол-экрана. */
@media (max-width: 380px) { .site-footer__kinds { columns: 1; } }

/* ---------- 22. Вакансии ----------
   Отдельная аудитория: сюда приходят не заказчики охраны, а соискатели.
   Они листают с телефона, по дороге, и решают за несколько секунд — поэтому
   оплата вынесена крупно и стоит выше всего остального, а условия свёрнуты
   в короткие галочки. */

/* --- Мини-блок на главной --- */
.jobs-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r-xl);
}
.jobs-teaser h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.jobs-teaser .lead { font-size: 16px; max-width: 46ch; }
.jobs-teaser .lead b { color: var(--text); }
.jobs-teaser__actions { margin-top: 24px; }

/* «Идёт набор» с пульсирующей точкой: без неё строка читается как заголовок,
   с ней — как состояние, которое прямо сейчас истинно. */
.jobs-teaser__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ok);
}
.jobs-teaser__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(123, 214, 155, .55);
  animation: jobsPulse 2.4s ease-out infinite;
}
@keyframes jobsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(123, 214, 155, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(123, 214, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(123, 214, 155, 0); }
}
@media (prefers-reduced-motion: reduce) { .jobs-teaser__dot { animation: none; } }

.jobs-teaser__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.jobs-teaser__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--bg-alt);
}
.jobs-teaser__list b { font-family: Manrope, sans-serif; font-size: 16px; color: var(--text); }
/* Место — вторая строка левой колонки. Селектор с двумя классами взят
   намеренно: правило для оплаты ниже должно быть не слабее этого, иначе
   оплата уезжает в левую колонку и меняется местами с должностью. */
.jobs-teaser__list li > span { grid-column: 1; font-size: 14px; color: var(--text-dim); }
.jobs-teaser__list li > span.jobs-teaser__pay {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--neon);
  white-space: nowrap;
}
.jobs-teaser__more {
  background: none;
  color: var(--text-faint);
  font-size: 14px;
  padding-top: 8px;
}

@media (max-width: 860px) {
  .jobs-teaser { grid-template-columns: 1fr; }
}

/* --- Карточки вакансий на странице --- */
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }

.job {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  /* Переходы появления и наведения — одним списком. Раньше здесь стояли
     только border-color и background-color, и это объявление затирало
     transition у .reveal: карточки появлялись рывком, без плавности. */
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1),
    border-color .2s var(--ease),
    background-color .2s var(--ease);
}
.job.reveal:not(.is-visible) { transform: translateY(22px); }
.job:hover { border-color: var(--edge-hi); background: var(--card-hi); }

/* Должность и под ней оплата — всегда двумя строками.
   Раньше они стояли в одной строке с переносом: в узкой карточке оплата
   сваливалась вниз и прижималась влево, а в широкой — оставалась справа.
   Две раскладки для одной карточки выглядели как ошибка вёрстки. */
.job__head {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--edge-soft);
}
.job__title { font-size: 20px; line-height: 1.25; color: var(--text); }
.job__pay {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--neon);
}

.job__rows { margin: 16px 0 0; display: grid; gap: 10px; }
.job__rows > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.job__rows dt { font-size: 14px; color: var(--text-faint); }
.job__rows dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text); }

.job__terms { margin-top: 18px; gap: 8px; }
.job__terms li { font-size: 14.5px; }

.job__foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.job__foot .btn { min-height: 46px; padding-inline: 20px; font-size: 15px; }
/* Замер: ссылка на телефон выходила 25 px высотой. Соискатели листают
   вакансии с телефона, и звонок — главное действие на этой странице;
   мимо 25 px палец промахивается. Доводим до 44 px отступами, чтобы
   не раздувать сам текст. */
.job__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  margin: -6px -10px;
  border-radius: var(--r-sm);
  gap: 8px;
  font-family: Manrope, sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.job__phone:hover { color: var(--neon); background: rgba(255, 255, 255, .05); }
.job__phone .icon { width: 17px; height: 17px; }

/* Нет вакансий — говорим словами, а не показываем пустоту */
.jobs-empty {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  max-width: 62ch;
  padding: 24px;
  border: 1px dashed var(--edge-hi);
  border-radius: var(--r-lg);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
}
.jobs-empty .icon { width: 26px; height: 26px; color: var(--neon); }

/* --- Форма отклика --- */

/* Объект и оплата показываются, но не редактируются: они следуют из вакансии,
   и давать их менять — значит разрешить отклик на несуществующие условия. */
.job-form__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.job-form__fact {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--r);
  background: var(--brand-tint);
  border: 1px solid rgba(192, 82, 26, .3);
}
.job-form__fact span { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.job-form__fact b { font-size: 15px; line-height: 1.35; color: var(--text); }

.job-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field__hint { font-size: 13px; color: var(--text-faint); }

@media (max-width: 560px) {
  .job-form__facts, .job-form__pair { grid-template-columns: 1fr; }
  .job__head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* --- Условия и порядок трудоустройства --- */
.perks { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 32px; }
.perks li { font-size: 16px; }
.perks .icon { color: var(--neon); }
.perks__note { margin: 22px 0 0; color: var(--text-dim); font-size: 16px; }

.hire {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  counter-reset: hire;
}
.hire li {
  counter-increment: hire;
  display: grid;
  gap: 6px;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
}
/* Здесь номера уместны, в отличие от доводов на страницах видов охраны:
   это именно последовательность шагов, и порядок в ней есть. */
.hire li::before {
  content: counter(hire);
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--neon);
}
.hire b { font-family: Manrope, sans-serif; font-size: 17px; color: var(--text); }
.hire span { font-size: 14.5px; line-height: 1.55; color: var(--text-dim); }

/* ---------- 23. Юридический текст ----------
   Политика конфиденциальности. Колонка узкая намеренно: это документ,
   который читают подряд, а строка длиннее ~76 знаков на тёмном фоне
   теряется при переходе на следующую. */
.legal { max-width: 76ch; }
.legal h2 {
  font-size: clamp(19px, 2.2vw, 23px);
  margin: 40px 0 14px;
  color: var(--text);
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-dim); line-height: 1.7; font-size: 16px; }
.legal p + p { margin-top: 10px; }
.legal b { color: var(--text); }
.legal ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 7px; }
.legal a { color: var(--neon); }

/* Сведения об операторе — без маркеров: это реквизиты, а не перечисление */
.legal__operator { list-style: none; padding-left: 0; gap: 9px; }
.legal__operator li {
  padding-left: 16px;
  border-left: 2px solid var(--edge);
}

.legal__date {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--edge);
  font-size: 15px; color: var(--text-faint);
}

/* ---------- 24. Блоки, усиленные по замечаниям 19.10.2026 ----------
   Общий приём: текст не мельче 16–19 px, у каждого пункта своя плитка
   со значком в фирменном тоне, акцент — цветом и крупной цифрой, а не
   размером всего подряд. Наведение меняет цвет и рамку, раскладку не двигает. */

.facets__points {
  list-style: none; margin: 20px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--edge-soft);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px;
}
.facets__points li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--text); }
.facets__points .icon { width: 20px; height: 20px; color: var(--neon); margin-top: 1px; }

/* Вакансии: условия — карточки с плиткой значка, графики — полосой */
.benefits {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.benefits li {
  position: relative; display: flex; align-items: center; gap: 18px;
  min-height: 96px; padding: 20px 24px 20px 22px;
  background: var(--card); border: 1px solid var(--edge); border-radius: var(--r-lg);
  font-family: Manrope, sans-serif; font-size: clamp(17px, 1.6vw, 19px); font-weight: 600;
  line-height: 1.35; color: var(--text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.benefits li:hover { border-color: var(--edge-hi); background: var(--card-hi); }
.benefits__icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: rgba(224, 138, 79, .12); border: 1px solid rgba(224, 138, 79, .28);
}
.benefits__icon .icon { width: 24px; height: 24px; color: var(--neon); }
.benefits__note {
  display: flex; align-items: center; gap: 12px; margin: 16px 0 0;
  padding: 16px 22px; border-radius: var(--r-lg);
  background: linear-gradient(90deg, rgba(192, 82, 26, .18), rgba(192, 82, 26, .04));
  border: 1px solid rgba(224, 138, 79, .30);
  font-size: 17px; color: var(--text);
}
.benefits__note .icon { width: 22px; height: 22px; flex: none; color: var(--neon); }

/* Вакансии: «Как устроиться» — линия процесса вместо одинаковых карточек.
   Номера крупные, заголовки на одной высоте, последний шаг — цель — выделен. */
.hire {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  counter-reset: hire;
}
.hire li {
  counter-increment: hire; position: relative;
  display: grid; grid-template-rows: auto auto 1fr; gap: 10px;
  padding: 0 28px 0 0; background: none; border: 0; border-radius: 0;
}
.hire li::before {
  content: counter(hire, decimal-leading-zero);
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px;
  border-radius: 50%; border: 1px solid var(--edge-hi); background: var(--bg-alt);
  font-family: Manrope, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: 0;
  color: var(--text); position: relative; z-index: 1;
}
.hire li::after {
  content: ''; position: absolute; top: 28px; left: 56px; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--edge-hi), var(--edge-soft));
}
.hire li:last-child::after { display: none; }
.hire li:last-child::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.hire b { font-family: Manrope, sans-serif; font-size: clamp(18px, 1.7vw, 20px); color: var(--text); }
.hire span { font-size: 16px; line-height: 1.55; color: var(--text-dim); max-width: 30ch; }

/* О компании: услуги — сетка с общими линиями, как табличка на проходной */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--edge); border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden;
}
.services li {
  display: grid; grid-template-rows: auto 1fr; gap: 18px; align-items: start;
  min-height: 150px; padding: 26px 26px 28px;
  background: var(--bg-alt); transition: background-color .2s var(--ease);
}
.services li:hover { background: var(--card); }
.services__icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: rgba(224, 138, 79, .12); border: 1px solid rgba(224, 138, 79, .28);
}
.services__icon .icon { width: 24px; height: 24px; color: var(--neon); }
.services li b {
  align-self: end;
  font-family: Manrope, sans-serif; font-size: clamp(18px, 1.7vw, 20px); font-weight: 700;
  line-height: 1.3; color: var(--text);
}

/* О компании: «Что мы охраняем» — крупные строки-ссылки */
.kinds-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kind-row {
  display: flex; align-items: center; gap: 18px; min-height: 84px; padding: 16px 22px 16px 18px;
  background: var(--card); border: 1px solid var(--edge); border-radius: var(--r-lg);
  color: var(--text); text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.kind-row:hover { border-color: rgba(224, 138, 79, .45); background: var(--card-hi); }
.kind-row:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
.kind-row__icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: rgba(224, 138, 79, .12); border: 1px solid rgba(224, 138, 79, .28);
}
.kind-row__icon .icon { width: 24px; height: 24px; color: var(--neon); }
.kind-row__body { display: grid; gap: 3px; flex: 1; min-width: 0; }
.kind-row__group { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--neon); }
.kind-row__title { font-family: Manrope, sans-serif; font-size: clamp(17px, 1.6vw, 19px); font-weight: 700; line-height: 1.3; }
.kind-row__arrow { flex: none; color: var(--text-faint); transition: color .2s var(--ease), transform .2s var(--ease); }
.kind-row__arrow .icon { width: 22px; height: 22px; }
.kind-row:hover .kind-row__arrow { color: var(--neon); transform: translateX(4px); }

/* Подвал компактнее: четыре колонки в одну строку, меньше воздуха */
.site-footer { padding-block: 40px 26px; }
.site-footer__top {
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 28px 32px; padding-bottom: 24px;
}
.site-footer__top p { font-size: 14.5px; line-height: 1.55; max-width: 40ch; margin: 12px 0 0; }
.site-footer .lockup--footer .logo-mark { height: 44px; }
.site-footer .lockup--footer .logo-word { height: 32px; }
.site-footer h4 { margin-bottom: 10px; }
.site-footer ul a { min-height: 30px; }
.site-footer__kinds { columns: 1; }
.site-footer__req { margin-top: 18px; }

@media (max-width: 1100px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .hire { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .hire li:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer ul a { min-height: 44px; }
}
@media (max-width: 760px) {
  .benefits, .kinds-rows { grid-template-columns: 1fr; }
  /* Шаги — вертикальная линия слева */
  .hire { grid-template-columns: 1fr; row-gap: 0; }
  .hire li { padding: 0 0 26px 76px; min-height: 56px; }
  .hire li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .hire li::after, .hire li:nth-child(2)::after {
    display: block; top: 56px; bottom: 0; left: 28px; right: auto; width: 1px; height: auto;
    background: var(--edge-hi);
  }
  .hire li:last-child::after { display: none; }
  .hire li b { padding-top: 14px; }
}
@media (max-width: 640px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .site-footer__top > div:first-child, .site-footer__top > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .services li { min-height: 0; grid-template-rows: auto; grid-auto-flow: column; justify-content: start; align-items: center; }
  .services li b { align-self: center; }
  .services li { padding: 18px 20px; }
}
/* Узкие телефоны: длинные слова («Антитеррористические», «производственные»)
   не должны распирать карточку — дорожке разрешено сжиматься, слова переносятся. */
@media (max-width: 760px) {
  .kinds-rows, .benefits { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .services li { grid-template-columns: auto minmax(0, 1fr); grid-auto-flow: row; }
}
@media (max-width: 420px) {
  .services li b, .kind-row__title, .benefits li { hyphens: auto; overflow-wrap: break-word; }
  .services__icon, .kind-row__icon, .benefits__icon { width: 44px; height: 44px; border-radius: 12px; }
  .kind-row { gap: 12px; padding: 14px 14px 14px 12px; }
  .kind-row__group { font-size: 11.5px; letter-spacing: .06em; }
  .benefits li { gap: 14px; padding: 16px 16px 16px 16px; }
  .services li { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .kind-row__arrow { transition: none; }
  .kind-row:hover .kind-row__arrow { transform: none; }
}
