/* ============================================================
   НегабаритЗащита — shtraf-za-negabarit.ru
   Дизайн-код «сигнальный эскорт»: жёлто-чёрная сигнальная
   графика ДОЗИРОВАННО на светлой основе. Номенклатура: .n_* snake_case.
   ============================================================ */

/* ---------- 0. Шрифты (вариативные woff2, кириллица + латиница) ---------- */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/golos-text-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/golos-text-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Переменные ---------- */
:root {
  --n_white: #FFFFFF;
  --n_ink: #141414;
  --n_yellow: #F7C600;
  --n_yellow_dim: #E0B400;
  --n_graphite: #2A2A2A;
  --n_paper: #F0F0EE;
  --n_line: #D9D9D5;
  --n_gray_text: #5C5C58;
  --n_font: 'Golos Text', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --n_radius: 6px;
  --n_wrap: 1160px;
  --n_zebra: repeating-linear-gradient(45deg, var(--n_yellow) 0 12px, var(--n_ink) 12px 24px);
}

/* ---------- 2. Базовый сброс и типографика ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--n_font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--n_ink);
  background: var(--n_white);
}
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -.01em; }
h2 { font-size: clamp(23px, 3.4vw, 32px); margin-top: 0; }
h3 { font-size: clamp(19px, 2.4vw, 22px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
a { color: inherit; text-decoration-color: var(--n_yellow_dim); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--n_ink); }
img { max-width: 100%; height: auto; display: block; }
strong, b { font-weight: 700; }
small { font-size: 14px; }
hr { border: 0; border-top: 1px solid var(--n_line); margin: 2em 0; }
:focus-visible { outline: 3px solid var(--n_yellow); outline-offset: 2px; }

/* Жёлтый маркер-подчёркивание под цифрами штрафов (не декор-градиент, а маркер) */
.n_fine {
  font-weight: 800;
  white-space: nowrap;
  padding: 0 .1em;
  background-image: linear-gradient(to top, rgba(247,198,0,.9) .22em, transparent .22em);
}
.n_dark .n_fine, .n_razbor .n_fine { background-image: linear-gradient(to top, rgba(247,198,0,.55) .22em, transparent .22em); }

/* Служебные */
.n_hidden_acc { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.n_muted { color: var(--n_gray_text); }
.n_nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- 3. Каркас ---------- */
.n_wrap { max-width: var(--n_wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .n_wrap { padding: 0 24px; } }

.n_section { padding: 44px 0; }
@media (min-width: 768px) { .n_section { padding: 64px 0; } }
.n_section_paper { background: var(--n_paper); }

/* Тёмная секция (графит) */
.n_dark { background: var(--n_graphite); color: #fff; }
.n_dark a { text-decoration-color: var(--n_yellow); }
.n_dark .n_muted { color: #B9B9B4; }

/* Зебра-разделитель: ТОЛЬКО тонкая полоса между секциями */
.n_zebra { height: 7px; background: var(--n_zebra); border: 0; margin: 0; }

/* Колонки */
.n_cols_2 { display: grid; gap: 28px; }
.n_cols_3 { display: grid; gap: 20px; }
@media (min-width: 768px) {
  .n_cols_2 { grid-template-columns: 1fr 1fr; gap: 40px; }
  .n_cols_3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 4. Шапка ---------- */
.n_header {
  position: relative;
  background: var(--n_white);
  border-bottom: 2px solid var(--n_ink);
}
.n_header_in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 8px 0;
}
.n_logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.n_logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.n_logo span i { font-style: normal; background-image: linear-gradient(to top, rgba(247,198,0,.9) .2em, transparent .2em); }

.n_nav { display: none; margin-left: auto; }
.n_nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.n_nav a {
  display: block;
  padding: 9px 11px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--n_radius);
}
.n_nav a:hover { background: var(--n_paper); }
.n_nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--n_yellow); }

.n_header_cta { display: none; margin-left: 8px; flex-shrink: 0; }

/* Телефон в шапке (скрывается JS-ом при пустом config.phone) */
.n_phone_box { display: none; margin-left: auto; text-align: right; line-height: 1.25; }
.n_phone_box .js-phone { font-weight: 700; font-size: 16px; text-decoration: none; }
.n_phone_box em { display: block; font-style: normal; font-size: 12px; color: var(--n_gray_text); }

/* Бургер */
.n_burger {
  margin-left: auto;
  width: 46px; height: 46px;
  border: 2px solid var(--n_ink);
  border-radius: var(--n_radius);
  background: var(--n_white);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.n_burger i { display: block; width: 20px; height: 2.5px; background: var(--n_ink); transition: transform .2s, opacity .2s; }
.n_burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.n_burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.n_burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Мобильное меню */
.n_mobile_menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--n_white);
  border-bottom: 3px solid var(--n_ink);
  z-index: 60;
  box-shadow: 0 18px 30px rgba(20,20,20,.14);
}
.n_mobile_menu.n_open { display: block; }
.n_mobile_menu ul { list-style: none; margin: 0; padding: 8px 0; }
.n_mobile_menu a {
  display: block;
  padding: 13px 20px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--n_line);
}
.n_mobile_menu li:last-child a { border-bottom: 0; }
.n_mobile_menu .n_mobile_cta { padding: 12px 20px 18px; }
.n_mobile_menu .n_mobile_cta .n_btn { width: 100%; }

@media (min-width: 1000px) {
  .n_nav { display: block; }
  .n_header_cta { display: inline-flex; }
  .n_burger, .n_mobile_menu { display: none !important; }
  .n_phone_box { display: block; margin-left: auto; }
  .n_nav { margin-left: 0; }
}

/* ---------- 5. Кнопки ---------- */
.n_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--n_ink);
  border-radius: var(--n_radius);
  background: var(--n_yellow);
  color: var(--n_ink);
  font-family: var(--n_font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.n_btn:hover { background: var(--n_yellow_dim); }
.n_btn:active { transform: translateY(1px); }
.n_btn_dark { background: var(--n_ink); color: #fff; }
.n_btn_dark:hover { background: var(--n_graphite); }
.n_btn_line { background: transparent; }
.n_btn_line:hover { background: var(--n_paper); }
.n_dark .n_btn_line { border-color: #fff; color: #fff; }
.n_dark .n_btn_line:hover { background: rgba(255,255,255,.08); }
.n_btn_big { min-height: 56px; font-size: 17px; padding: 14px 28px; }

/* ---------- 6. Хлебные крошки ---------- */
.n_crumbs { padding: 14px 0 0; font-size: 13.5px; color: var(--n_gray_text); }
.n_crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.n_crumbs li { margin: 0; display: flex; align-items: center; gap: 4px; }
.n_crumbs li + li::before { content: "→"; color: var(--n_yellow_dim); font-weight: 700; }
.n_crumbs a { color: var(--n_gray_text); text-decoration-color: var(--n_line); }
.n_crumbs [aria-current="page"] { color: var(--n_ink); }

/* ---------- 7. Hero ---------- */
.n_hero { padding: 30px 0 44px; }
@media (min-width: 768px) { .n_hero { padding: 44px 0 60px; } }
.n_hero_grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .n_hero_grid { grid-template-columns: 7fr 5fr; gap: 48px; } }
.n_hero_note { margin: 14px 0 0; font-size: 14px; color: var(--n_gray_text); }
.n_hero_lead { font-size: clamp(17px, 2vw, 19px); max-width: 34em; }
.n_hero_btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Рамка hero-медиа: единственное «крупное» применение зебры */
.n_hero_media { position: relative; padding: 8px; background: var(--n_zebra); border-radius: 8px; }
.n_hero_media .n_img_box { border-radius: 3px; }

/* Чипы-факты */
.n_chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.n_chips li {
  margin: 0;
  padding: 7px 12px;
  border: 1.5px solid var(--n_ink);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--n_white);
}
.n_chips li b { font-weight: 800; }

/* ---------- 7b. Hero на фоновом фото (сигнальный scrim) ---------- */
/* Эйброу-метка с диагональным сигнальным «тиком» — подпись первого экрана */
.n_hero_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--n_yellow);
}
.n_hero_eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 9px;
  background: var(--n_yellow);
  transform: skewX(-22deg);
}

.n_hero--photo {
  position: relative;
  overflow: hidden;
  padding: 48px 0 52px;
  background-color: var(--n_ink);
  background-image:
    linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.72) 48%, rgba(20,20,20,.85) 100%),
    var(--hero-bg, none),
    radial-gradient(130% 100% at 72% 8%, #2E2E2C 0%, #141414 62%);
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  color: #fff;
}
@media (min-width: 768px) { .n_hero--photo { padding: 60px 0 60px; } }

/* Тонкая диагональная сигнальная «лента» в углу — деталь, отличающая сайт */
.n_hero--photo::before {
  content: "";
  position: absolute;
  top: -78px;
  right: -110px;
  width: 440px;
  height: 66px;
  background: repeating-linear-gradient(-45deg, var(--n_yellow) 0 15px, transparent 15px 30px);
  transform: rotate(-7deg);
  opacity: .16;
  pointer-events: none;
}
.n_hero--photo > .n_wrap { position: relative; z-index: 1; }

/* Одна колонка: фото ушло в фон, копия ложится поверх scrim */
.n_hero--photo .n_hero_grid { grid-template-columns: 1fr; gap: 0; }
@media (min-width: 900px) { .n_hero--photo .n_hero_grid { grid-template-columns: 1fr; gap: 0; } }
.n_hero--photo .n_hero_copy { max-width: 720px; color: #fff; }
.n_hero--photo .n_hero_copy h1 { color: #fff; text-shadow: 0 1px 22px rgba(0,0,0,.4); }
.n_hero--photo .n_hero_lead { color: #EDEDEA; }
.n_hero--photo .n_hero_note { color: #C7C7C2; }
.n_hero--photo .n_hero_copy .n_fine { color: #fff; background-image: linear-gradient(to top, rgba(247,198,0,.85) .22em, transparent .22em); }

/* Контурная кнопка поверх фото — светлая */
.n_hero--photo .n_btn_line { border-color: #fff; color: #fff; background: rgba(20,20,20,.14); }
.n_hero--photo .n_btn_line:hover { background: rgba(255,255,255,.12); }

/* Белые чипы-факты «парят» над фото */
.n_hero--photo .n_chips li { box-shadow: 0 8px 20px -10px rgba(0,0,0,.75); }

/* Плашка «Актуально» — светлый контур поверх фото */
.n_hero--photo .n_checked_date { color: #fff; border-color: rgba(255,255,255,.42); }

/* Блок «Разбор» приподнимаем над фото (остаётся тёмным — фирменный акцент) */
.n_hero--photo .n_razbor { background: var(--n_graphite); box-shadow: 0 26px 50px -20px rgba(0,0,0,.78); }

/* ---------- 8. Блок прямого ответа «Разбор» ---------- */
.n_razbor {
  background: var(--n_ink);
  color: #fff;
  border-top: 6px solid var(--n_yellow);
  border-radius: 0 0 var(--n_radius) var(--n_radius);
  padding: 22px 20px 20px;
  margin: 26px 0;
}
@media (min-width: 768px) { .n_razbor { padding: 26px 30px 24px; } }
.n_razbor_tag {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--n_yellow);
}
.n_razbor p { margin-bottom: .8em; }
.n_razbor p:last-of-type { margin-bottom: 0; }
.n_razbor_cta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 16px; }
.n_razbor_cta .n_muted { color: #B9B9B4; font-size: 14px; }

/* ---------- 9. Таблицы ---------- */
.n_table_wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.4em; border: 1.5px solid var(--n_ink); border-radius: var(--n_radius); }
.n_table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; background: var(--n_white); }
.n_table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 15px;
  background: var(--n_paper);
  border-bottom: 1.5px solid var(--n_ink);
}
.n_table th, .n_table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--n_line); vertical-align: top; }
.n_table thead th {
  background: var(--n_ink);
  color: #fff;
  font-size: 13.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-bottom: 0;
}
.n_table tbody tr:nth-child(even) { background: var(--n_paper); }
.n_table tbody tr:last-child td { border-bottom: 0; }
.n_table td b, .n_table td .n_fine { font-weight: 800; }
.n_table .n_row_accent td { box-shadow: inset 3px 0 0 var(--n_yellow); }

/* ---------- 10. Чек-листы с жёлтыми квадратами ---------- */
.n_check { list-style: none; padding: 0; }
.n_check li { position: relative; padding-left: 30px; margin-bottom: .7em; }
.n_check li::before {
  content: "";
  position: absolute;
  left: 0; top: .32em;
  width: 13px; height: 13px;
  background: var(--n_yellow);
  border: 2.5px solid var(--n_ink);
}
.n_dark .n_check li::before { border-color: #fff; }

/* ---------- 11. Нумерованные шаги ---------- */
.n_steps { list-style: none; counter-reset: n_step; padding: 0; margin: 0 0 1.4em; }
.n_steps > li { counter-increment: n_step; position: relative; padding: 0 0 20px 56px; margin: 0; }
.n_steps > li::before {
  content: counter(n_step);
  position: absolute;
  left: 0; top: -2px;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--n_yellow);
  border: 2px solid var(--n_ink);
  border-radius: var(--n_radius);
  font-weight: 800;
  font-size: 18px;
}
.n_steps > li::after {
  content: "";
  position: absolute;
  left: 18px; top: 42px; bottom: 4px;
  width: 2px;
  background: var(--n_line);
}
.n_steps > li:last-child { padding-bottom: 0; }
.n_steps > li:last-child::after { display: none; }
.n_steps h3 { margin-bottom: .3em; font-size: 18px; }
.n_steps p:last-child { margin-bottom: 0; }

/* ---------- 12. Карточки ---------- */
.n_card {
  border: 1.5px solid var(--n_ink);
  border-radius: var(--n_radius);
  background: var(--n_white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.n_card h3 { margin: 0; }
.n_card p { margin: 0; font-size: 15.5px; }
.n_card .n_card_link { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; }
.n_card:hover { box-shadow: 4px 4px 0 var(--n_yellow); }

/* Карточки типов ТС с SVG-силуэтами */
.n_ts_card { text-decoration: none; }
.n_ts_svg { height: 64px; display: flex; align-items: flex-end; margin-bottom: 6px; }
.n_ts_svg svg { height: 100%; width: auto; max-width: 100%; }
.n_ts_svg .n_svg_body { fill: var(--n_graphite); }
.n_ts_svg .n_svg_load { fill: var(--n_yellow); stroke: var(--n_ink); stroke-width: 2; }
.n_ts_svg .n_svg_wheel { fill: var(--n_ink); }

/* ---------- 13. Габаритные стрелки-выноски ---------- */
.n_dims {
  border: 1.5px solid var(--n_ink);
  border-radius: var(--n_radius);
  background: var(--n_paper);
  padding: 18px;
  display: grid;
  gap: 10px;
}
@media (min-width: 768px) { .n_dims { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; } }
.n_dim { display: flex; align-items: baseline; gap: 12px; font-size: 15.5px; }
.n_dim .n_dim_arrow {
  flex-shrink: 0;
  position: relative;
  width: 54px;
  height: 2px;
  background: var(--n_ink);
  align-self: center;
}
.n_dim .n_dim_arrow::before, .n_dim .n_dim_arrow::after {
  content: "";
  position: absolute;
  top: -4px;
  border: 5px solid transparent;
}
.n_dim .n_dim_arrow::before { left: -2px; border-right-color: var(--n_ink); border-left: 0; }
.n_dim .n_dim_arrow::after { right: -2px; border-left-color: var(--n_ink); border-right: 0; }
.n_dim b { font-weight: 800; white-space: nowrap; }
.n_dim span { color: var(--n_gray_text); font-size: 14px; }

/* ---------- 14. FAQ ---------- */
.n_faq { border: 1.5px solid var(--n_ink); border-radius: var(--n_radius); overflow: hidden; margin: 0 0 1.4em; }
.n_faq details { border-bottom: 1px solid var(--n_line); background: var(--n_white); }
.n_faq details:last-child { border-bottom: 0; }
.n_faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 18px;
  font-weight: 700;
  font-size: 16.5px;
  position: relative;
  min-height: 48px;
}
.n_faq summary::-webkit-details-marker { display: none; }
.n_faq summary::after {
  content: "+";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--n_yellow);
  border: 2px solid var(--n_ink);
  border-radius: var(--n_radius);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
}
.n_faq details[open] summary::after { content: "–"; }
.n_faq details[open] summary { background: var(--n_paper); }
.n_faq .n_faq_body { padding: 4px 18px 18px; font-size: 15.5px; }
.n_faq .n_faq_body p:last-child { margin-bottom: 0; }

/* ---------- 15. Формы ---------- */
.n_form_box {
  background: var(--n_white);
  border: 2px solid var(--n_ink);
  border-radius: var(--n_radius);
  padding: 22px 18px;
  position: relative;
}
@media (min-width: 768px) { .n_form_box { padding: 28px 28px 26px; } }
.n_form_box::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px;
  height: 7px;
  background: var(--n_zebra);
  border-radius: var(--n_radius) var(--n_radius) 0 0;
}
.n_form_title { font-size: clamp(20px, 2.6vw, 26px); margin: 6px 0 4px; }
.n_form_sub { font-size: 15px; color: var(--n_gray_text); margin-bottom: 18px; }
.n_dark .n_form_box { color: var(--n_ink); }

.n_field { margin-bottom: 14px; }
.n_field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.n_field label .n_req { color: #B33; }
.n_input, .n_select, .n_textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--n_ink);
  border-radius: var(--n_radius);
  background: var(--n_white);
  font-family: var(--n_font);
  font-size: 16px;
  color: var(--n_ink);
}
.n_textarea { min-height: 90px; resize: vertical; }
.n_input:focus, .n_select:focus, .n_textarea:focus { outline: 3px solid var(--n_yellow); outline-offset: 0; border-color: var(--n_ink); }
.n_input.n_invalid { border-color: #B33; box-shadow: 0 0 0 2px rgba(187,51,51,.18); }
.n_select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--n_ink) 50%), linear-gradient(135deg, var(--n_ink) 50%, transparent 51%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.n_fields_row { display: grid; gap: 14px; }
@media (min-width: 640px) { .n_fields_row { grid-template-columns: 1fr 1fr; } }

/* Согласие 152-ФЗ */
.n_agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--n_gray_text); margin: 14px 0; }
.n_agree input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--n_yellow_dim); }
.n_agree a { color: inherit; }

/* Honeypot */
.n_hp { position: absolute !important; left: -6000px !important; top: -6000px !important; height: 1px; width: 1px; opacity: 0; }

/* Статус и «спасибо» */
.n_form_status { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: #B33; }
.n_thanks { text-align: left; padding: 8px 0 2px; }
.n_thanks h3 { font-size: 22px; }
.n_thanks .n_thanks_mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--n_yellow);
  border: 2px solid var(--n_ink);
  border-radius: var(--n_radius);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}
.n_sla_note { font-size: 13.5px; color: var(--n_gray_text); margin-top: 10px; }

/* Квиз: 2 шага */
.n_quiz_step[data-active="false"] { display: none; }
.n_quiz_progress { display: flex; gap: 6px; margin-bottom: 16px; }
.n_quiz_progress i { height: 5px; flex: 1; background: var(--n_paper); border-radius: 3px; }
.n_quiz_progress i.n_on { background: var(--n_yellow); outline: 1px solid var(--n_ink); }
.n_quiz_q { font-weight: 700; font-size: 16px; margin: 0 0 10px; }

/* Плитки-кнопки выбора */
.n_tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; margin-bottom: 16px; }
.n_tile {
  min-height: 52px;
  padding: 10px 12px;
  border: 1.5px solid var(--n_ink);
  border-radius: var(--n_radius);
  background: var(--n_white);
  font-family: var(--n_font);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background .12s;
}
.n_tile:hover { background: var(--n_paper); }
.n_tile[aria-pressed="true"] { background: var(--n_yellow); box-shadow: 2px 2px 0 var(--n_ink); }
.n_quiz_back {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--n_gray_text);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 12px;
}

/* ---------- 16. Табы ---------- */
.n_tabs { margin: 0 0 1.4em; }
.n_tabs_bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: -1.5px; position: relative; z-index: 2; }
.n_tab {
  padding: 10px 16px;
  min-height: 44px;
  border: 1.5px solid var(--n_ink);
  border-radius: var(--n_radius) var(--n_radius) 0 0;
  background: var(--n_paper);
  font-family: var(--n_font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.n_tab[aria-selected="true"] { background: var(--n_yellow); border-bottom-color: var(--n_yellow); }
.n_tab_panel { border: 1.5px solid var(--n_ink); border-radius: 0 var(--n_radius) var(--n_radius) var(--n_radius); padding: 18px; background: var(--n_white); }
.n_tab_panel[hidden] { display: none; }
.n_tab_panel > :last-child { margin-bottom: 0; }

/* ---------- 17. Калькулятор ---------- */
.n_calc {
  border: 2px solid var(--n_ink);
  border-radius: var(--n_radius);
  background: var(--n_white);
  padding: 22px 18px;
}
@media (min-width: 768px) { .n_calc { padding: 26px 28px; } }
.n_calc_grid { display: grid; gap: 14px; align-items: end; }
@media (min-width: 768px) { .n_calc_grid { grid-template-columns: 1fr 1fr auto; } }
.n_calc_result { margin-top: 18px; border-top: 2px dashed var(--n_line); padding-top: 16px; }
.n_calc_sum { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.15; margin: 4px 0 8px; }
.n_calc_meta { font-size: 14.5px; color: var(--n_gray_text); margin-bottom: 12px; }
.n_calc_note { font-size: 13px; color: var(--n_gray_text); margin-top: 14px; }

/* ---------- 18. Заметки, цитаты, дисклеймеры ---------- */
.n_note {
  border: 1.5px solid var(--n_ink);
  border-left: 6px solid var(--n_yellow);
  border-radius: var(--n_radius);
  background: var(--n_paper);
  padding: 14px 18px;
  font-size: 15px;
  margin: 0 0 1.4em;
}
.n_note p:last-child { margin-bottom: 0; }
blockquote.n_quote {
  margin: 0 0 1.4em;
  padding: 14px 18px;
  border-left: 4px solid var(--n_ink);
  background: var(--n_paper);
  font-size: 15.5px;
}
blockquote.n_quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13.5px; color: var(--n_gray_text); }
.n_verified { font-size: 13.5px; color: var(--n_gray_text); }
.n_verified b { color: var(--n_ink); }

/* ---------- 19. Изображения с graceful-заглушкой ---------- */
.n_img_box {
  position: relative;
  overflow: hidden;
  border-radius: var(--n_radius);
  background: var(--n_paper);
}
.n_img_box img { width: 100%; height: 100%; object-fit: cover; }
.n_img_box.n_img_off { aspect-ratio: 16 / 9; }
.n_img_box.n_r43.n_img_off { aspect-ratio: 4 / 3; }
.n_img_box.n_r32.n_img_off { aspect-ratio: 3 / 2; }
.n_img_box.n_r11.n_img_off { aspect-ratio: 1 / 1; }
.n_img_box.n_img_off img { display: none; }
.n_img_box.n_img_off::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 22px, rgba(20,20,20,.05) 22px 44px);
}
.n_img_box.n_img_off::after {
  content: attr(data-cap);
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--n_gray_text);
  padding: 6px 10px;
  background: var(--n_white);
  border: 1.5px solid var(--n_line);
  border-radius: var(--n_radius);
  width: fit-content;
}
figure.n_img_box { margin: 0; }
figcaption.n_img_cap { font-size: 13.5px; color: var(--n_gray_text); padding-top: 8px; }

/* ---------- 20. Sticky-бар (мобайл) ---------- */
.n_sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--n_yellow);
  border-top: 2px solid var(--n_ink);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  transform: translateY(0);
  transition: transform .25s;
}
.n_sticky.n_sticky_hidden { transform: translateY(110%); }
.n_sticky a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: var(--n_ink);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: var(--n_radius);
}
@media (min-width: 768px) { .n_sticky { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 767px) { body.n_has_sticky { padding-bottom: 76px; } }

/* ---------- 21. Футер ---------- */
.n_footer { background: var(--n_graphite); color: #CFCFCA; font-size: 14.5px; }
.n_footer_zebra { height: 7px; background: var(--n_zebra); }
.n_footer_in { padding: 40px 0 28px; }
.n_footer_grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .n_footer_grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .n_footer_grid { grid-template-columns: repeat(4, 1fr); } }
.n_footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.n_footer ul { list-style: none; margin: 0; padding: 0; }
.n_footer li { margin-bottom: 8px; }
.n_footer a { color: #CFCFCA; text-decoration-color: rgba(247,198,0,.5); }
.n_footer a:hover { color: #fff; text-decoration-color: var(--n_yellow); }
.n_footer_bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 30px;
  padding-top: 18px;
  font-size: 13px;
  color: #9C9C97;
}
.n_footer_bottom p { margin-bottom: .6em; }
.n_footer_logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; color: #fff; margin-bottom: 12px; }
.n_footer_logo svg { width: 24px; height: 24px; }

/* ---------- 22. Разное ---------- */
/* Плашка «Проверено» */
.n_checked_date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--n_gray_text);
  border: 1.5px solid var(--n_line);
  border-radius: 999px;
  padding: 5px 12px;
}
.n_checked_date::before { content: ""; width: 9px; height: 9px; background: var(--n_yellow); border: 1.5px solid var(--n_ink); flex-shrink: 0; }

/* Якорная посадка с учётом липких элементов */
:target { scroll-margin-top: 20px; }

/* Секция-заголовок с подводкой */
.n_sec_head { max-width: 760px; margin-bottom: 26px; }
.n_sec_head p { color: var(--n_gray_text); }

/* Список "матрица-ссылок" (высота/ширина/длина) */
.n_axis_links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); padding: 0; list-style: none; margin: 0 0 1.4em; }
.n_axis_links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--n_ink);
  border-radius: var(--n_radius);
  padding: 13px 16px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: var(--n_white);
}
.n_axis_links a::after { content: "→"; color: var(--n_yellow_dim); font-weight: 800; }
.n_axis_links a:hover { background: var(--n_paper); }
.n_axis_links li { margin: 0; }

/* Печать */
@media print {
  .n_header, .n_footer, .n_sticky, .n_mobile_menu, .n_form_box, .n_hero_btns { display: none !important; }
}

/* fix: тёмный текст в белых чипах поверх фото */
.n_hero--photo .n_chips li{color:#141414;}
.n_hero--photo .n_chips li b,.n_hero--photo .n_chips li strong{color:#141414;}

/* ---------- 23. Виджет проверки штрафа по УИН ---------- */
/* Двухколоночный hero: копия слева, карточка проверки справа.
   Переопределяет одноколоночный .n_hero--photo (та же специфичность, правило ниже). */
.n_hero--widget .n_hero_grid { gap: 28px; }
@media (min-width: 900px) {
  .n_hero--widget .n_hero_grid { grid-template-columns: 7fr 5fr; gap: 44px; align-items: start; }
  .n_hero--widget .n_hero_copy { max-width: none; }
}

.n_btn_block { width: 100%; }

/* Карточка виджета (n_form_box белая поверх фото — задаём тёмный текст) */
.n_checkw { color: var(--n_ink); }
.n_checkw .n_form_title { margin: 4px 0 4px; }
.n_checkw .n_form_sub { margin-bottom: 16px; }
.n_checkw .n_field:last-of-type { margin-bottom: 0; }
.n_checkw_hint { display: block; margin-top: 5px; font-size: 12.5px; color: var(--n_gray_text); }
.n_checkw_err { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #B33; }

/* Экраны результата */
.n_checkw_out { margin-top: 16px; padding: 15px 16px; border: 1.5px solid var(--n_ink); border-radius: var(--n_radius); background: var(--n_paper); font-size: 15px; }
.n_checkw_out.is_loading { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--n_gray_text); }
.n_checkw_out.is_found { background: var(--n_white); box-shadow: inset 4px 0 0 var(--n_yellow); }
.n_checkw_out p { margin: 0 0 6px; }
.n_checkw_out p:last-child { margin-bottom: 0; }
.n_checkw_tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n_ink);
  background: var(--n_yellow);
  padding: 3px 9px;
  border: 1.5px solid var(--n_ink);
  border-radius: 3px;
}
.n_checkw_tag_soft { background: transparent; }
.n_checkw_sum { font-size: clamp(26px, 4vw, 34px); font-weight: 800; line-height: 1.1; margin: 8px 0 4px; }
.n_checkw_meta { font-size: 13.5px; color: var(--n_gray_text); }
.n_checkw_msg { font-size: 14.5px; }

/* Спиннер */
.n_checkw_spin {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 2.5px solid var(--n_line);
  border-top-color: var(--n_ink);
  border-radius: 50%;
  animation: n_spin .7s linear infinite;
}
@keyframes n_spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .n_checkw_spin { animation-duration: 2.4s; } }
