/* =====================================================================
   УМИТЦ 2.0 — стили публичного сайта.
   Палитра живого сайта: акцент #ff6a2a, чернила #1e1f1d, серый #656565,
   линии #e8e8e8, фон #fff, альт-фон #f6f6f7, радиусы 16 и 22.
   Шрифт Onest (кириллица, переменная насыщенность 400–700), локально.
   Правило формы: кнопки и чипы — пилюли, карточки и поля — 16, крупные панели — 22.
   ===================================================================== */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-latext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Метрики системного запасного шрифта подогнаны под Onest — без скачка вёрстки */
@font-face { font-family: "Onest Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }

:root {
  --orange: #ff6a2a;
  --orange-hover: #e8551a;
  --orange-text: #b8410e;      /* оранжевый для мелкого текста: 5.6:1 на белом */
  --orange-soft: #fff1ea;
  --ink: #1e1f1d;
  --ink-2: #2a2b28;
  --muted: #656565;
  --line: #e8e8e8;
  --line-2: #d9d9d9;
  --bg: #ffffff;
  --alt: #f6f6f7;
  --ok: #1d7a46;
  --err: #b42318;
  --r-card: 16px;
  --r-panel: 22px;
  --r-field: 12px;
  --shadow-1: 0 1px 2px rgba(60, 35, 20, .06), 0 2px 8px -2px rgba(60, 35, 20, .06);
  --shadow-2: 0 2px 4px rgba(60, 35, 20, .05), 0 18px 40px -16px rgba(120, 60, 25, .22);
  --font: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .9375rem;   /* 15 */
  --fs-md: 1.0625rem;  /* 17 */
  --fs-lg: 1.3125rem;  /* 21 */
  --fs-xl: 1.625rem;   /* 26 */
  --fs-2xl: clamp(1.75rem, 1.2rem + 1.6vw, 2.125rem); /* 28–34 */
  --fs-3xl: clamp(2.125rem, 1.4rem + 2.6vw, 3.375rem); /* 34–54 */
  --gap: clamp(16px, 2.2vw, 24px);
  --sec: clamp(56px, 7vw, 104px);
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-md)/1.6 var(--font); font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; hyphens: manual; }
h1 { font-size: var(--fs-3xl); letter-spacing: -.028em; line-height: 1.06; }
h2 { font-size: var(--fs-2xl); letter-spacing: -.022em; }
h3 { font-size: var(--fs-lg); }
p { margin: 0; text-wrap: pretty; }
p, li, dd { hyphens: auto; -webkit-hyphens: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--orange-text); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--orange-text); outline-offset: 3px; border-radius: 6px; }
::selection { background: #ffd8c4; }
.sr-only { position: absolute !important; left: 0; top: 0; margin: -1px; padding: 0; border: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.tnum, .money { font-variant-numeric: tabular-nums; }

/* Иконки */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--md { width: 18px; height: 18px; }
.i--flip { transform: scaleX(-1); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Кнопки ---------- */
.btn { --b: var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: var(--fs-sm); line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s, transform .12s var(--ease), box-shadow .18s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-hover); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--onDark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.btn--onDark:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.btn--add { min-height: 40px; padding: 0 14px 0 12px; background: var(--alt); color: var(--ink); border-color: transparent; }
.btn--add:hover { background: var(--orange-soft); color: var(--ink); }
.btn--add.is-in { background: var(--ink); color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .15s, background-color .15s; }
.icon-btn:hover { border-color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .28em; }
.link:hover { color: var(--orange-text); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--alt); color: var(--muted); font-size: var(--fs-xs); font-weight: 500; line-height: 1.5; white-space: nowrap; }
.tag--must { background: var(--orange-soft); color: var(--orange-text); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color .15s, background-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__n { color: var(--muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip__n { color: #c9c9c9; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 20px; height: var(--hdr-h); }
.hdr__logo { flex: none; }
.hdr__logo img { width: 248px; height: auto; }
.hdr__nav { flex: 1; }
.hdr__nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.hdr__nav a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; }
.hdr__nav a:hover { background: var(--alt); color: var(--ink); }
.hdr__nav a[aria-current="page"] { background: var(--alt); }
.hdr__remote a { color: var(--orange-text); font-weight: 600; }
.hdr__sheet-foot { display: none; }
.hdr__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; padding: 8px 4px; font-variant-numeric: tabular-nums; }
.hdr__phone-i { color: var(--orange-text); }
.hdr__cart { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: var(--fs-sm); }
.hdr__cart:hover { border-color: var(--ink); }
.hdr__cart .badge { margin-left: 2px; }
.hdr__cart.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.08); } }
.hdr__burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; place-items: center; }

@media (max-width: 1200px) {
  .hdr__phone span { display: none; }
  .hdr__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-2); border-radius: 999px; }
}
@media (max-width: 1060px) {
  .hdr__burger { display: inline-grid; }
  .hdr__nav { position: fixed; inset: var(--hdr-h) 0 0 0; background: #fff; padding: 12px var(--pad) 32px; overflow: auto; display: none; flex-direction: column; }
  .hdr.is-open .hdr__nav { display: flex; }
  .hdr__nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hdr__nav li { border-bottom: 1px solid var(--line); }
  .hdr__nav a { padding: 16px 4px; font-size: var(--fs-lg); border-radius: 0; width: 100%; justify-content: space-between; }
  .hdr__nav a:hover, .hdr__nav a[aria-current="page"] { background: none; color: var(--orange-text); }
  .hdr__sheet-foot { display: grid; gap: 12px; margin-top: 24px; color: var(--muted); font-size: var(--fs-sm); }
  .hdr__sheet-foot .btn { justify-self: start; }
  .hdr__cart-l { display: none; }
  .hdr__cart { padding: 0 12px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1060px) { .hdr__logo img { width: 230px; } }
@media (max-width: 420px) { .hdr__logo img { width: 196px; } .hdr__in { gap: 8px; } .hdr__tools { gap: 6px; } .hdr__phone, .hdr__cart, .hdr__burger { width: 42px; min-height: 42px; height: 42px; padding: 0; justify-content: center; } .hdr__cart .badge { position: absolute; top: -4px; right: -4px; } }

/* ---------- Хлебные крошки и шапки страниц ---------- */
.crumbs { padding-top: 18px; font-size: var(--fs-xs); color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: #b5b5b5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pagehead { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(24px, 3vw, 40px); }
.pagehead h1 { max-width: 22ch; }
.pagehead__lead { margin-top: 16px; max-width: 68ch; color: #3f403d; font-size: var(--fs-lg); line-height: 1.5; }
.pagehead .chips, .pagehead .cta-row { margin-top: 24px; }
.answer { margin-top: 18px; max-width: 68ch; font-size: var(--fs-lg); line-height: 1.55; color: #3a3b38; }

/* ---------- Первый экран ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(28px, 3vw, 40px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.hero__title { font-size: clamp(2rem, 1.2rem + 2.3vw, 3rem); line-height: 1.06; letter-spacing: -.03em; max-width: 19ch; }
.hero__line { display: block; text-wrap: wrap; }
.hero__lead { hyphens: manual; -webkit-hyphens: manual; margin-top: 22px; max-width: 34em; font-size: var(--fs-lg); line-height: 1.5; color: #3a3b38; }
.hero__fact { display: block; position: relative; padding-left: 22px; }
.hero__fact + .hero__sep + .hero__fact { margin-top: 8px; }
.hero__fact::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--orange); border-radius: 2px; }
.hero__sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.docpills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.docpill { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--alt); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: border-color .15s, background-color .15s; }
.docpill .i { color: var(--orange-text); }
.docpill { font-size: .875rem; }
.docpill:hover { border-color: var(--ink); background: #fff; }

/* Подбор «Кому нужен допуск?» — главный интерактивный элемент первого экрана */
.permit { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-2); padding: clamp(20px, 2.4vw, 28px); }
.permit__title { font-size: var(--fs-xl); letter-spacing: -.02em; }
.permit__roles { display: flex; gap: 8px; margin: 16px calc(clamp(20px, 2.4vw, 28px) * -1) 0; padding: 0 clamp(20px, 2.4vw, 28px) 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); }
.permit__roles::-webkit-scrollbar { display: none; }
.permit__roles .chip { scroll-snap-align: start; min-height: 36px; padding: 0 14px; }
.permit__card { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.permit__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.permit__for { font-size: var(--fs-xs); color: var(--muted); }
.permit__role { font-weight: 650; font-size: var(--fs-md); }
.permit__list { list-style: none; margin-top: 12px; display: grid; gap: 2px; }
.permit__item { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.permit__item:last-child { border-bottom: 0; }
.permit__name { hyphens: manual; -webkit-hyphens: manual; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
.permit__name a { text-decoration: none; }
.permit__name a:hover { text-decoration: underline; }
.permit__meta { grid-column: 1; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; }
.permit__note { color: #4b4c49; }
.permit__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.permit__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-top: 14px; padding: 14px; background: var(--alt); border-radius: var(--r-card); }
.permit__sum { font-size: var(--fs-sm); color: var(--muted); line-height: 1.35; }
.permit__sum b { display: block; color: var(--ink); font-size: var(--fs-lg); font-variant-numeric: tabular-nums; }
.permit__reg { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); }
.permit__line { position: relative; width: 44px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.permit__line::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(1); }
.permit__card.is-swap .permit__list { animation: permitIn .42s var(--ease) both; }
.permit__card.is-swap .permit__line::after { animation: draw .9s .15s var(--ease) both; }
@keyframes permitIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes draw { from { transform: scaleX(0); } }
/* Одна выразительная сцена при загрузке: карточка подбора собирается после заголовка */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .hero__line { animation: rise .7s var(--ease) both; }
  .hero__title .hero__line:nth-child(2) { animation-delay: .08s; }
  .permit { animation: rise .8s .18s var(--ease) both; }
  .permit .permit__item { animation: rise .6s var(--ease) both; }
  .permit .permit__item:nth-child(1) { animation-delay: .38s; }
  .permit .permit__item:nth-child(2) { animation-delay: .46s; }
  .permit .permit__item:nth-child(3) { animation-delay: .54s; }
  .permit .permit__item:nth-child(4) { animation-delay: .62s; }
  .permit .permit__item:nth-child(5) { animation-delay: .70s; }
  .permit .permit__line::after { animation: draw 1.1s .8s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Лента фото класса ---------- */
.ribbon { padding-bottom: clamp(16px, 2vw, 24px); }
.ribbon__head { display: flex; align-items: end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.ribbon__head h2 { font-size: var(--fs-xl); }
.ribbon__addr { flex: 1 1 320px; color: var(--muted); font-size: var(--fs-sm); }
.ribbon__addr .i { vertical-align: -4px; margin-right: 6px; }
.ribbon__addr a { white-space: nowrap; }
.ribbon__addr .i { color: var(--orange-text); }
.ribbon__addr a { color: var(--ink); }
.ribbon__nav { display: flex; gap: 8px; }
.ribbon__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2)); padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; overscroll-behavior-x: contain; }
.ribbon__track::-webkit-scrollbar { display: none; }
.ribbon__item { margin: 0; flex: none; height: clamp(150px, 15vw, 210px); aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: var(--r-card); overflow: hidden; background: var(--alt); }
.ribbon__item img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(28px, 3vw, 40px); }
.facts li { display: grid; gap: 4px; padding-top: 16px; border-top: 2px solid var(--ink); }
.facts b { font-size: var(--fs-2xl); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: var(--fs-sm); }
.facts--plain { margin-top: 40px; }

/* ---------- Секции ---------- */
.sec { padding-block: var(--sec); }
.sec--alt { background: var(--alt); }
.sec__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec__head p, .sec__sub { color: var(--muted); font-size: var(--fs-md); max-width: 62ch; }
.sec__sub { margin: -16px 0 28px; }
.sec__head--row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sec__title { margin-bottom: clamp(24px, 3vw, 36px); }
.sec__more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.note { margin-top: 12px; color: var(--muted); font-size: var(--fs-sm); max-width: 70ch; }

/* Направления — реестр строк, а не одинаковые карточки */
.dirlist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); }
.dirlist li { border-bottom: 1px solid var(--line); }
.dirlist__row { display: grid; grid-template-columns: 1fr auto auto 20px; align-items: center; gap: 4px 20px; padding: 18px 0; text-decoration: none; }
.dirlist__name { font-weight: 600; font-size: var(--fs-md); line-height: 1.3; }
.dirlist__name small { display: block; margin-top: 4px; font-weight: 400; font-size: var(--fs-sm); color: var(--muted); }
.dirlist__count { color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
.dirlist__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dirlist__go { color: var(--line-2); transition: transform .2s var(--ease), color .2s; }
.dirlist__row:hover { color: var(--ink); }
.dirlist__row:hover .dirlist__go { color: var(--orange); transform: translateX(3px); }
.dirlist__row:hover .dirlist__name { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .25em; }

/* Скидки — ступени */
.group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.group__copy { display: grid; gap: 18px; justify-items: start; }
.group__copy p { color: #3f403d; max-width: 52ch; }
.ladder { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 260px; }
.ladder li { display: grid; grid-template-rows: 1fr auto; gap: 10px; height: 100%; }
.ladder__bar { align-self: end; height: var(--h); display: flex; align-items: flex-start; padding: 14px; border-radius: var(--r-card) var(--r-card) 6px 6px; background: #fff; border: 1px solid var(--line); }
.ladder li:last-child .ladder__bar { background: var(--orange); border-color: var(--orange); }
.ladder__bar b { font-size: var(--fs-xl); font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ladder__q { font-size: var(--fs-sm); color: var(--muted); }

/* Шаги — настоящая последовательность */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.steps li { display: grid; align-content: start; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.steps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--orange); font-weight: 700; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: var(--fs-md); font-weight: 650; }
.steps p { color: var(--muted); font-size: var(--fs-sm); }

/* Почему мы + клиенты */
.why { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.why li { display: grid; align-content: start; gap: 12px; }
.why img { width: 56px; height: 56px; border-radius: 14px; }
.why h3 { font-size: var(--fs-md); font-weight: 650; }
.why p { color: var(--muted); font-size: var(--fs-sm); }
.clients__t { margin: clamp(48px, 5vw, 72px) 0 20px; font-size: var(--fs-lg); }
.clients { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.clients li { display: grid; place-items: center; height: 92px; padding: 10px 16px; background: #fff; border-radius: var(--r-card); border: 1px solid var(--line); }
.clients img { max-height: 64px; width: auto; object-fit: contain; }

/* СОНКО / 44-ФЗ — единственный тёмный блок: деньги и право */
.sonko { background: var(--ink); color: #fff; padding-block: var(--sec); }
.sonko__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sonko h2 { color: #fff; max-width: 24ch; }
.sonko__amount { margin-top: 18px; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); font-weight: 650; letter-spacing: -.035em; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.sonko__text { margin-top: 18px; color: #d6d6d4; max-width: 56ch; }
.sonko__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sonko__steps { list-style: none; counter-reset: so; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.sonko__steps li { counter-increment: so; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #ededeb; }
.sonko__steps li::before { content: counter(so); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font-weight: 600; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.sonko a:focus-visible, .sonko button:focus-visible { outline-color: var(--orange); }

/* Регионы */
.regions { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.region { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .2s; }
.region:hover, .region[aria-current="page"] { border-color: var(--ink); color: var(--ink); }
.region[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--ink); }
.region img { width: 48px; height: 48px; }
.region span { display: grid; font-size: var(--fs-sm); color: var(--muted); line-height: 1.35; }
.region b { color: var(--ink); font-size: var(--fs-md); }
.page-vyezdnoe .regions { margin-bottom: clamp(40px, 5vw, 64px); }

/* Ещё направления — бенто с фото манекена */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bento__cell { grid-column: span 2; display: grid; background: #fff; border-radius: var(--r-panel); border: 1px solid var(--line); overflow: hidden; }
.bento__cell:nth-child(1) { grid-column: span 3; }
.bento__cell:nth-child(2) { grid-column: span 3; }
.bento__cell--img { grid-column: span 4 !important; grid-template-columns: 1fr 1fr; }
.bento__body { display: grid; align-content: start; gap: 12px; padding: clamp(20px, 2.4vw, 28px); }
.bento__body h3 { font-size: var(--fs-lg); }
.bento__body p { color: var(--muted); font-size: var(--fs-sm); }
.bento__body .link { margin-top: 4px; }
.bento__pic { min-height: 240px; background: var(--alt); }
.bento__pic img { width: 100%; height: 100%; object-fit: cover; }

/* Новости */
.posts { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.post { display: grid; align-content: start; gap: 10px; }
.post h3 { font-size: var(--fs-lg); line-height: 1.25; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.post p:last-child { color: var(--muted); font-size: var(--fs-sm); }
.post__meta { font-size: var(--fs-xs); color: var(--muted); }
.post__meta a { color: var(--orange-text); text-decoration: none; font-weight: 600; }
.post__pic { display: block; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; background: var(--alt); }
.post__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* FAQ */
.faq { padding-block: var(--sec); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__i { margin-top: 3px; color: var(--muted); transition: transform .25s var(--ease); }
details[open] .faq__i { transform: rotate(45deg); color: var(--orange-text); }
.faq__a { padding: 0 40px 20px 0; color: #3f403d; }
.faq__list--inline { margin-top: 8px; }

/* ---------- Заявка ---------- */
.order { padding-block: var(--sec); background: var(--alt); }
.order__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); }
.order__intro { display: grid; align-content: start; gap: 16px; }
.order__intro > p { color: #3f403d; max-width: 46ch; }
.order__contacts { display: grid; gap: 14px; margin: 12px 0 0; }
.order__contacts dt { font-size: var(--fs-xs); color: var(--muted); }
.order__contacts dd { margin: 2px 0 0; font-weight: 600; }
.order__contacts a { text-decoration: none; }
.form { display: grid; gap: 16px; background: #fff; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-panel); border: 1px solid var(--line); }
.form--tight { padding: 0; border: 0; gap: 14px; }
.form__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field label small { color: var(--muted); font-weight: 400; }
.req { color: var(--orange-text); }
.field input, .field select, .field textarea, .search input, .range input, .sort select { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-field); border: 1px solid var(--line-2); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .search input::placeholder { color: #767676; }
.field input:focus, .field select:focus, .field textarea:focus, .search input:focus, .range input:focus, .sort select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,106,42,.28); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field__err { color: var(--err); font-size: var(--fs-xs); }
.filepick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 14px; border: 1px dashed var(--line-2); border-radius: var(--r-field); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); }
.filepick small { flex-basis: 100%; padding-left: 30px; color: var(--muted); font-weight: 400; }
.filepick:hover { border-color: var(--ink); }
.field--file input:focus-visible + .filepick, .filepick:focus-within { outline: 2px solid var(--orange-text); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: #3f403d; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__status { font-size: var(--fs-sm); }
.form__status.is-ok { color: var(--ok); font-weight: 600; }
.form__status.is-err { color: var(--err); }

/* ---------- Подвал ---------- */
.ftr { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0 calc(24px + env(safe-area-inset-bottom)); font-size: var(--fs-sm); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.ftr__logo { width: 168px; margin-bottom: 16px; }
.ftr__org p { color: var(--muted); max-width: 40ch; }
.ftr__org p + p { margin-top: 12px; }
.ftr__h { font-size: var(--fs-sm); font-weight: 650; margin-bottom: 12px; letter-spacing: 0; }
.ftr__col ul { list-style: none; display: grid; gap: 8px; }
.ftr__col a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ftr__col a:hover { color: var(--ink); text-decoration: underline; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-xs); }
.ftr__bottom a { color: var(--muted); margin-left: 16px; }

/* ---------- Каталог ---------- */
.pagehead--catalog { padding-bottom: 16px; }
/* Каталог: поиск и чипы в обычном потоке, без перекрытий; на телефоне прилипает только строка поиска */
.catalog__bar { background: #fff; padding-top: 4px; }
.catalog__bar-in { display: flex; gap: 10px; }
.catalog__chips { padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.catalog__chips .chips { flex-wrap: wrap; position: relative; }
.search { position: relative; flex: 1; }
.search__i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-left: 46px; border-radius: 999px; min-height: 50px; background: var(--alt); border-color: transparent; }
.search input:focus { background: #fff; }
.search--sm input { min-height: 44px; }
.search--lg { display: flex; gap: 8px; max-width: 560px; margin-top: 28px; }
.search--lg input { background: #fff; border-color: var(--line-2); }
.search--lg .btn { position: absolute; right: 5px; top: 5px; }
.catalog__filters-btn { display: none; }
.catalog__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); padding-top: 24px; padding-bottom: var(--sec); }
.filters { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; display: grid; gap: 24px; max-height: calc(100vh - var(--hdr-h) - 40px); overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.filters__head, .filters__apply { display: none; }
.fgroup { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.fgroup legend { padding: 0; margin-bottom: 10px; font-weight: 650; font-size: var(--fs-sm); }
.range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.range input { min-height: 44px; }
.filters__foot { display: flex; gap: 8px; }
.filters__remote { display: grid; gap: 6px; padding: 16px; border-radius: var(--r-card); background: var(--orange-soft); text-decoration: none; font-size: var(--fs-sm); }
.filters__remote b { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-text); }
.filters__remote span { color: #4b4c49; }
.filters__remote:hover b { text-decoration: underline; }
.results__head { flex-wrap: wrap; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.results__count { font-size: var(--fs-lg); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--muted); }
.sort span { display: inline-flex; align-items: center; gap: 6px; }
.sort select { width: auto; min-height: 40px; padding: 6px 36px 6px 14px; border-radius: 999px; color: var(--ink); }
.crows { list-style: none; border-top: 1px solid var(--line); }
.crow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.crow__name { font-weight: 600; font-size: var(--fs-md); line-height: 1.35; text-decoration: none; }
.crow__name:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.crow__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; color: var(--muted); font-size: var(--fs-xs); }
.crow__meta span { display: inline-flex; align-items: center; gap: 5px; }
.crow__meta span:first-child { color: #4b4c49; font-weight: 500; }
.crow__price { text-align: right; font-weight: 650; font-size: var(--fs-md); white-space: nowrap; font-variant-numeric: tabular-nums; }
.crow__price small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.crow__act { display: flex; gap: 8px; }
.crow mark { background: #ffe3d4; color: inherit; border-radius: 3px; padding: 0 1px; }
.empty { padding: 40px 0; display: grid; gap: 12px; justify-items: start; }
.empty h2, .empty h3 { font-size: var(--fs-xl); }
.empty p { color: var(--muted); max-width: 52ch; }
.skel { display: grid; gap: 10px; padding: 12px 0; }
.skel span { display: block; height: 56px; border-radius: var(--r-card); background: linear-gradient(90deg, var(--alt) 0, #eeeeef 40%, var(--alt) 80%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Быстрый просмотр, корзина, документы — диалоги */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(30, 31, 29, .44); backdrop-filter: blur(2px); }
.quick { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: clamp(22px, 3vw, 32px); border: 0; border-radius: var(--r-panel); box-shadow: var(--shadow-2); }
.quick[open] { animation: pop .28s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.quick__x { position: absolute; top: 14px; right: 14px; }
.quick h2 { font-size: var(--fs-xl); padding-right: 44px; }
.quick .params { margin-top: 18px; }
.quick__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); padding: 0; border: 0; display: none; flex-direction: column; box-shadow: var(--shadow-2); }
.drawer[open] { display: flex; animation: slideIn .32s var(--ease); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: var(--fs-lg); }
.drawer__body { flex: 1; overflow: auto; padding: 4px 20px; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--alt); }
.ci { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci__t { font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
.ci__t a { text-decoration: none; }
.ci__p { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.ci__row { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ci__sum { font-weight: 650; font-variant-numeric: tabular-nums; }
.ci__rm { width: 36px; height: 36px; border: 0; background: none; color: var(--muted); border-radius: 999px; display: grid; place-items: center; }
.ci__rm:hover { color: var(--err); background: #fdecea; }
.totals { display: grid; gap: 6px; font-size: var(--fs-sm); }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.totals .is-disc { color: var(--ok); }
.totals .is-grand { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: var(--fs-lg); font-weight: 650; }
.totals__hint { margin-top: 10px; padding: 10px 12px; border-radius: var(--r-field); background: var(--orange-soft); color: #5a2a10; font-size: var(--fs-xs); line-height: 1.45; }
.totals + .btn, .totals ~ .btn { margin-top: 14px; }
.drawer__empty { padding: 32px 0; display: grid; gap: 12px; color: var(--muted); justify-items: start; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.stepper__b { width: 40px; height: 40px; border: 0; background: none; border-radius: 999px; display: grid; place-items: center; }
.stepper__b:hover { background: var(--alt); }
.stepper input { width: 52px; height: 40px; border: 0; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; background: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--sm .stepper__b { width: 34px; height: 34px; }
.stepper--sm input { width: 42px; height: 34px; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(960px, 96vw); max-height: 96dvh; overflow: visible; }
.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.lightbox img { max-height: 86dvh; width: auto; border-radius: 10px; box-shadow: var(--shadow-2); background: #fff; }
.lightbox figcaption { color: #fff; font-size: var(--fs-sm); text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.lightbox__x { position: fixed; top: 14px; right: 14px; }
.lightbox::backdrop { background: rgba(20, 20, 19, .82); }

/* Нижняя панель на телефоне */
.bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); }
.bar__cart { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: #fff; font-weight: 600; font-size: var(--fs-sm); min-height: 40px; text-align: left; }
@media (max-width: 860px) { .bar.is-on { display: flex; } body.has-bar { padding-bottom: 76px; } }

/* ---------- Страница курса ---------- */
.course__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 64px); padding-top: clamp(20px, 3vw, 32px); }
.course__main > h2 { margin: clamp(36px, 4vw, 52px) 0 18px; font-size: var(--fs-xl); }
.course__cat a { color: var(--orange-text); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.course__main h1 { margin-top: 8px; font-size: clamp(1.875rem, 1.2rem + 2.2vw, 2.75rem); max-width: 24ch; }
.params { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.params > div { background: #fff; padding: 16px; }
.params dt { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.params dt .i { width: 16px; height: 16px; color: var(--orange-text); }
.params dd { margin: 6px 0 0; font-weight: 600; font-size: var(--fs-sm); line-height: 1.4; }
.params dd a { text-decoration: none; }
.params--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
.ptable, .prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.ptable th, .ptable td, .prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th, .prose thead th { background: var(--alt); font-weight: 600; font-size: var(--fs-xs); color: #4b4c49; }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable tbody th { font-weight: 500; }
.ptable tbody th a { font-weight: 600; text-decoration: none; }
.who { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.who li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; border-radius: var(--r-field); background: var(--alt); }
.who__role { font-weight: 600; }
.who__note { flex-basis: 100%; color: var(--muted); font-size: var(--fs-xs); }
.buy { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; }
.buy__card { display: grid; gap: 8px; padding: 24px; border-radius: var(--r-panel); border: 1px solid var(--line); box-shadow: var(--shadow-2); background: #fff; }
.buy__price { font-size: var(--fs-2xl); font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.buy__unit, .buy__facts { color: var(--muted); font-size: var(--fs-sm); }
.buy__qty { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; }
.buy__calc { min-height: 2.6em; font-size: var(--fs-sm); color: #3f403d; font-variant-numeric: tabular-nums; }
.buy__calc b { color: var(--ink); }
.buy__help { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.related { padding-block: var(--sec) 0; }
.related h2 { margin-bottom: 24px; }
.related__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.related h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.minilist { list-style: none; border-top: 1px solid var(--line); }
.minilist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.minilist a { font-weight: 600; text-decoration: none; }
.minilist a:hover { text-decoration: underline; }
.minilist span { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.course + .order, .art + .sec, .art + .order { margin-top: var(--sec); }

/* ---------- Корзина группы (страница) ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); padding-bottom: var(--sec); }
.calc h2 { font-size: var(--fs-xl); }
.calc__sel { margin-bottom: 40px; }
.calc__sel h2 { margin-bottom: 10px; }
.calc__allhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.calc__allhead .search { max-width: 380px; }
.calc__list { list-style: none; border-top: 1px solid var(--line); }
.citem { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.citem__t a { font-weight: 600; font-size: var(--fs-sm); text-decoration: none; line-height: 1.35; }
.citem__t small { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: 2px; }
.citem__p { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: var(--fs-sm); }
.citem.is-sel { background: linear-gradient(90deg, var(--orange-soft), transparent 70%); box-shadow: inset 3px 0 0 var(--orange); padding-left: 12px; }
.calc__side { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; }
.sum { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-panel); border: 1px solid var(--line); box-shadow: var(--shadow-2); background: #fff; }
.sum__t { font-size: var(--fs-lg) !important; }
.sum__btns { display: grid; gap: 8px; }
.sum__empty { color: var(--muted); font-size: var(--fs-sm); }

/* КП */
.kp { padding-bottom: var(--sec); }
.kp__actions { display: flex; gap: 10px; justify-content: space-between; padding: 20px 0; }
.kp__sheet { max-width: 860px; margin: 0 auto; padding: clamp(20px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-1); }
.kp__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.kp__logo { width: 180px; }
.kp__req { font-size: var(--fs-xs); color: #3f403d; text-align: right; line-height: 1.5; }
.kp__title { margin: 28px 0 6px; font-size: var(--fs-xl); }
.kp__for { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 18px; }
.kp__foot { margin-top: 20px; display: grid; gap: 6px; color: #3f403d; font-size: var(--fs-sm); }
.ptable tfoot td, .ptable tfoot th { border-top: 1px solid var(--line-2); border-bottom: 0; font-weight: 600; }
.ptable .is-grand > * { font-size: var(--fs-md); background: var(--alt); }

/* ---------- Блог и статья ---------- */
.bloglist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 36px); padding-bottom: var(--sec); }
.bcard { display: grid; align-content: start; gap: 14px; }
.bcard--lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px); padding-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); }
.bcard__pic { display: block; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; background: var(--alt); }
.bcard__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s var(--ease); }
.bcard:hover .bcard__pic img { transform: scale(1.02); }
.bcard__body { display: grid; gap: 10px; align-content: start; }
.bcard h2 { font-size: var(--fs-lg); line-height: 1.25; }
.bcard--lead h2 { font-size: var(--fs-2xl); }
.bcard h2 a { text-decoration: none; }
.bcard h2 a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.bcard__body > p:last-child { color: var(--muted); font-size: var(--fs-sm); }
.pager { display: flex; gap: 6px; padding-bottom: var(--sec); }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pager a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.art__head { padding-top: clamp(20px, 3vw, 36px); max-width: calc(820px + var(--pad) * 2); }
.art__head h1 { margin-top: 12px; font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); }
.art__author { margin-top: 14px; font-size: var(--fs-sm); color: var(--muted); }
.art__cover { margin-top: 28px; max-width: calc(980px + var(--pad) * 2); }
.art__cover img { width: 100%; max-height: 560px; object-fit: cover; object-position: center 25%; border-radius: var(--r-panel); }
.art__grid { display: grid; grid-template-columns: 220px minmax(0, 720px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-top: clamp(28px, 3vw, 44px); }
.art__body { grid-column: 2; }
.toc { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; font-size: var(--fs-sm); }
.toc__t { font-weight: 650; margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 8px; border-left: 1px solid var(--line); }
.toc a { display: block; padding-left: 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--orange); }
.art__aside { grid-column: 3; align-self: start; position: sticky; top: calc(var(--hdr-h) + 24px); }
.art__aside h2 { font-size: var(--fs-md); margin-bottom: 8px; }
.art__aside .minilist li { display: grid; gap: 2px; }
.preview-note { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-field); background: var(--orange-soft); color: #5a2a10; font-weight: 600; }
.prose { max-width: 72ch; font-size: var(--fs-md); line-height: 1.7; color: #262725; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: var(--fs-xl); line-height: 1.2; }
.prose h3 { margin-top: 1.6em; font-size: var(--fs-lg); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--orange-text); }
.prose a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--orange-text); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--orange); color: #3f403d; }
.prose img { border-radius: var(--r-card); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 8px; font-size: var(--fs-xs); color: var(--muted); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-card); }
.prose .table-wrap { margin-top: 1.4em; }
.prose--page { padding-bottom: 8px; }
.prose--intro { margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Прочие страницы */
.about { display: grid; gap: 32px; padding-bottom: var(--sec); }
.docs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.doccard { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.doccard__pic { display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 14px; border-radius: var(--r-card); background: var(--alt); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s; }
.doccard__pic img { max-height: 100%; width: auto; object-fit: contain; box-shadow: var(--shadow-1); }
.doccard:hover .doccard__pic { border-color: var(--ink); }
.doccard__t { font-weight: 650; }
.doccard__s { font-size: var(--fs-xs); color: var(--muted); }
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding-bottom: var(--sec); }
.map { position: relative; min-height: 380px; border-radius: var(--r-panel); overflow: hidden; background: var(--alt) url("/uploads/icon-bryansk.svg") center 38% / 64px no-repeat; display: grid; place-items: center; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load { margin-top: 96px; display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; }
.map__route { position: absolute; left: 14px; bottom: 14px; z-index: 2; }
.tiers { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 32px; }
.tiers li { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-card); background: var(--alt); }
.tiers b { font-size: var(--fs-2xl); font-weight: 650; }
.tiers span { color: var(--muted); font-size: var(--fs-sm); }
.page-prices .table-wrap { margin-bottom: 48px; }
.people { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding-bottom: var(--sec); }
.person { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); }
.person h2 { font-size: var(--fs-lg); }
.person__role { color: var(--orange-text); font-weight: 600; font-size: var(--fs-sm); margin: 4px 0 6px; }
.person p:last-child { color: var(--muted); font-size: var(--fs-sm); }
.person__ini { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-text); font-weight: 650; font-size: var(--fs-lg); }
.person__ph { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; }
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding-bottom: var(--sec); }
.gloss > div { padding: 22px; border-radius: var(--r-card); background: var(--alt); }
.gloss dt { font-weight: 650; font-size: var(--fs-lg); }
.gloss dd { margin: 8px 0 0; color: #3f403d; font-size: var(--fs-sm); }
.sved { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-bottom: var(--sec); }
.sved__nav ol { list-style: none; display: grid; gap: 2px; counter-reset: sv; }
.sved__nav a { display: block; padding: 10px 14px; border-radius: var(--r-field); text-decoration: none; font-size: var(--fs-sm); line-height: 1.35; }
.sved__nav a:hover { background: var(--alt); color: var(--ink); }
.sved__nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.sved__dt { margin: 36px 0 12px; font-size: var(--fs-xl); }
.files { list-style: none; border-top: 1px solid var(--line); }
.files a { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--fs-sm); }
.files a .i { color: var(--orange-text); }
.files span { flex: 1; font-weight: 500; }
.files small { text-transform: lowercase; color: var(--muted); padding: 2px 8px; border-radius: 999px; background: var(--alt); }
.files a:hover span { text-decoration: underline; }
.nf { padding-bottom: var(--sec); }
.nf__code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: var(--orange); }

/* ---------- Онлайн-помощник ---------- */
.asst-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 35; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); transition: transform .2s var(--ease); }
.asst-fab:hover { transform: translateY(-2px); }
.asst-fab .i { color: var(--orange); }
body.has-bar .asst-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
.asst { position: fixed; right: 18px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 36; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-2), 0 0 0 1px var(--line); overflow: hidden; }
.asst[data-open] { animation: pop .28s var(--ease); }
.asst__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.asst__head b { display: block; }
.asst__head small { color: var(--muted); font-size: var(--fs-xs); }
.asst__log { flex: 1; overflow: auto; padding: 16px; display: grid; align-content: start; gap: 10px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: var(--fs-sm); line-height: 1.5; }
.msg--bot { background: var(--alt); border-bottom-left-radius: 6px; }
.msg--me { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg a { font-weight: 600; }
.msg ul { list-style: none; display: grid; gap: 6px; margin-top: 6px; }
.asst__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.asst__quick .chip { min-height: 34px; font-size: var(--fs-xs); padding: 0 12px; }
.asst__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.asst__form input { flex: 1; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); }
.asst__form input:focus { outline: none; border-color: var(--ink); }

/* Cookie */
.cookie { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; width: min(440px, calc(100vw - 32px)); display: grid; gap: 12px; padding: 18px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-2), 0 0 0 1px var(--line); font-size: var(--fs-sm); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* Тост */
.toast { position: fixed; left: 50%; top: calc(var(--hdr-h) + 12px); z-index: 60; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--fs-sm); font-weight: 500; box-shadow: var(--shadow-2); animation: pop .25s var(--ease); }
.toast .i { color: var(--orange); }
.toast a { color: #fff; font-weight: 600; }

/* ---------- Адаптивность ---------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid > * { min-width: 0; }
  .hero__title { max-width: 24ch; }
  .permit { max-width: 720px; }
  .regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .art__grid { grid-template-columns: minmax(0, 1fr); }
  .art__body, .art__aside { grid-column: auto; }
  .toc, .art__aside { position: static; }
  .toc { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell, .bento__cell:nth-child(n) { grid-column: span 1; }
  .bento__cell--img { grid-column: 1 / -1 !important; }
}
@media (max-width: 1023px) {
  .catalog__grid { grid-template-columns: minmax(0, 1fr); }
  .catalog__filters-btn { display: inline-flex; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 50; max-height: 86dvh; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); background: #fff; border-radius: var(--r-panel) var(--r-panel) 0 0; box-shadow: 0 -20px 50px -20px rgba(0,0,0,.35); transform: translateY(105%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 18px 0 8px; z-index: 1; }
  .filters__head h2 { font-size: var(--fs-lg); }
  .filters__apply { display: inline-flex; flex: 1; }
  .filters__foot { position: sticky; bottom: 0; background: #fff; padding-top: 10px; }
  .course__grid, .calc { grid-template-columns: 1fr; }
  .buy, .calc__side { position: static; }
  .group, .sonko__grid, .order__grid, .faq__grid, .contacts, .sved { grid-template-columns: 1fr; }
  .ladder { height: 200px; }
  .steps, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .posts { grid-template-columns: 1fr 1fr; }
  .post--lead { grid-column: 1 / -1; }
  .bloglist { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__org { grid-column: 1 / -1; }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .params { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --hdr-h: 60px; }
  body { font-size: 1rem; }
  .hero__lead, .pagehead__lead, .answer { font-size: var(--fs-md); }
  .hero__cta .btn { flex: 1 1 auto; }
  .dirlist { grid-template-columns: 1fr; }
  .dirlist__row { grid-template-columns: 1fr auto; }
  .dirlist__count { grid-column: 1; grid-row: 2; }
  .dirlist__price { grid-column: 2; grid-row: 1 / span 2; }
  .dirlist__go { display: none; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .regions { grid-template-columns: 1fr 1fr; }
  .crow { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; }
  .hero__title { font-size: 1.875rem; }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients li { height: 72px; padding: 8px; }
  .crow__main { grid-column: 1 / -1; }
  .crow__price { text-align: left; }
  .crow__act { justify-self: end; }
  .citem { grid-template-columns: minmax(0, 1fr) auto; }
  .citem__t { grid-column: 1 / -1; }
  .posts, .bloglist, .related__cols, .people, .gloss { grid-template-columns: 1fr; }
  .bcard--lead { grid-template-columns: 1fr; }
  .form__row2 { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell--img { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .params, .params--2 { grid-template-columns: 1fr; }
  .faq__a { padding-right: 0; }
  .kp__head { flex-direction: column; }
  .kp__req { text-align: left; }
  .sec__head--row { display: grid; }
  .ribbon__nav { display: none; }
  .asst-fab span { display: none; }
  .asst-fab { padding: 0; width: 52px; justify-content: center; }
  .cookie { left: 10px; right: 10px; width: auto; }
}
@media (max-width: 400px) {
  .steps, .why { grid-template-columns: 1fr; }
  .ladder { gap: 6px; }
  .ladder__bar { padding: 10px 8px; }
  .ladder__bar b { font-size: var(--fs-lg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Печать (КП) ---------- */
@media print {
  @page { margin: 14mm; }
  .hdr, .ftr, .crumbs, .noprint, .bar, .asst, .asst-fab, .cookie, .order, .skip { display: none !important; }
  body { font-size: 11pt; }
  .kp__sheet { border: 0; box-shadow: none; padding: 0; max-width: none; }
  .ptable th, .ptable td { padding: 6px 8px; }
  .table-wrap { border: 1px solid #999; }
  a { text-decoration: none; }
}

.field--file { position: relative; }
.catalog__grid > *, .course__grid > *, .calc > *, .art__grid > * { min-width: 0; }
.results { scroll-margin-top: calc(var(--hdr-h) + 16px); }
@media (max-width: 1023px) {
  .catalog__bar { position: sticky; top: var(--hdr-h); z-index: 15; padding: 10px 0; box-shadow: 0 1px 0 var(--line); }
  .catalog__chips { padding-top: 8px; }
  .results { scroll-margin-top: calc(var(--hdr-h) + 80px); }
}
h1, h2 { overflow-wrap: break-word; }
@media (max-width: 760px) { .course__main h1, .art__head h1, .pagehead h1 { font-size: 1.75rem; hyphens: auto; -webkit-hyphens: auto; } }
@media (max-width: 1023px) { .calc__main { display: contents; } .calc__sel { order: 1; margin-bottom: 0; } .calc__side { order: 2; } .calc__all { order: 3; } }
@media (max-width: 760px) { .calc__allhead .search { flex: 1 1 100%; max-width: none; } }
.page-kp .asst-fab, .page-kp .bar { display: none !important; }
.art__head, .art__cover { max-width: calc(var(--wrap) + var(--pad) * 2); display: grid; grid-template-columns: 220px minmax(0, 720px) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 56px); }
.art__head > * { grid-column: 2; }
.art__cover > img { grid-column: 2 / 4; }
@media (max-width: 1100px) { .art__head, .art__cover { grid-template-columns: minmax(0, 1fr); } .art__head > *, .art__cover > img { grid-column: 1; } }

/* Первый экран: форма «Получить расчёт для группы» и факты доверия */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-2); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 14px; }
.quote__title { font-size: var(--fs-xl); letter-spacing: -.02em; }
.quote__sub { color: var(--muted); font-size: var(--fs-sm); margin-top: -6px; }
.quote__form { display: grid; gap: 12px; }
.quote__row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
.quote__est { min-height: 0; font-size: var(--fs-sm); color: #3f403d; font-variant-numeric: tabular-nums; }
.quote__est:not(:empty) { padding: 10px 12px; border-radius: var(--r-field); background: var(--orange-soft); }
.quote__est b { color: var(--ink); }
.quote__facts { list-style: none; display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote__facts li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
.quote__facts .i { color: var(--orange-text); margin-top: 1px; }
.quote__facts b { display: block; color: var(--ink); font-weight: 600; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .2em; font-size: inherit; }
.linkbtn:hover { color: var(--orange-text); }
@media (prefers-reduced-motion: no-preference) { .quote { animation: rise .8s .18s var(--ease) both; } }
@media (max-width: 1100px) { .quote { max-width: 640px; } }
@media (max-width: 760px) { .catalog__chips .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; } .catalog__chips .chips::-webkit-scrollbar { display: none; } }


/* ---------- v3.1: фото справа (статично), бегущая строка клиентов, IDcod ---------- */
.hero__grid { align-items: center; }
.hero__side { display: grid; gap: 14px; justify-items: end; }
.hphotos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: min(100%, 460px); margin: 0; padding: 0; }
.hphotos__btn { display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--alt); cursor: zoom-in; }
.hphotos__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.hphotos__btn:hover img { transform: scale(1.06); }
.hero__side .hero__addr { width: min(100%, 460px); margin: 0; color: var(--muted); font-size: var(--fs-sm); display: flex; gap: 8px; align-items: flex-start; }
.hero__side .hero__addr .i { color: var(--orange-text); flex: none; margin-top: 3px; }
.hero__side .hero__addr a { color: var(--ink); white-space: nowrap; }
.docpill--link { text-decoration: none; color: var(--ink); background: var(--orange-soft); border-color: transparent; }
.facts-sec { padding-bottom: clamp(8px, 1.5vw, 16px); }
.facts-sec .facts { margin-top: 0; }
.marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marq__track { list-style: none; display: flex; gap: 10px; width: max-content; margin: 0; padding: 0; animation: marq 80s linear infinite; }
.marq:hover .marq__track { animation-play-state: paused; }
.marq__track li { flex: none; display: grid; place-items: center; width: 170px; height: 92px; padding: 10px 16px; background: #fff; border-radius: var(--r-card); border: 1px solid var(--line); }
.marq__track img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
@keyframes marq { to { transform: translateX(calc(-50% - 5px)); } }
.bento__cell:nth-child(n+3) { grid-column: span 3; }
@media (max-width: 980px) { .hero__side { justify-items: start; } .hphotos { width: 100%; max-width: 520px; } }
@media (max-width: 560px) { .hphotos { grid-template-columns: repeat(4, 1fr); gap: 6px; } .marq__track li { width: 130px; height: 72px; } }
@media (max-width: 980px) { .bento__cell, .bento__cell:nth-child(n) { grid-column: auto !important; } }
.hdr__logo img { width: auto; height: 58px; }
@media (max-width: 1060px) { .hdr__logo img { width: auto; height: 54px; } }
@media (max-width: 420px) { .hdr__logo img { width: auto; height: 46px; } }
.ftr__logo { width: auto; height: 52px; }

/* ---------- v3.2 ---------- */
.hero__sub { margin-top: 20px; max-width: 36em; font-size: var(--fs-lg); font-weight: 450; line-height: 1.5; color: #3a3b38; letter-spacing: -.005em; }
.hphotos { grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(100%, 560px); }
.hphotos__btn { aspect-ratio: 4 / 3; border-radius: 14px; }
.hero__side .hero__addr { width: min(100%, 560px); }
.hdr__nav a { font-size: var(--fs-md); }
/* значки направлений */
.dirlist__row { grid-template-columns: 44px 1fr auto auto 20px; }
.dirlist__ico, .chip__i { color: var(--orange-text); }
.dirlist__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); }
.dirlist__ico .i { width: 24px; height: 24px; }
.chip__i { width: 18px; height: 18px; flex: none; }
@media (max-width: 640px) { .dirlist__row { grid-template-columns: 40px 1fr 20px; } .dirlist__count, .dirlist__price { grid-column: 2; } .dirlist__go { grid-column: 3; grid-row: 1; } }
/* скидки: цена снижается */
.drop { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow-1); }
.drop__cap { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 14px; }
.drop__list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.drop__list li { display: grid; grid-template-columns: 84px minmax(0, 1fr) 118px; align-items: center; gap: 12px; }
.drop__q { font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
.drop__bar { display: block; height: 30px; border-radius: 10px; background: var(--alt); overflow: hidden; }
.drop__bar i { display: block; height: 100%; width: var(--w); border-radius: 10px; background: #d9d9d9; }
.drop__list li:nth-child(n+2) .drop__bar i { background: #f5b08e; }
.drop__list li.is-best .drop__bar i { background: var(--orange); }
.drop__p { display: grid; text-align: right; line-height: 1.25; }
.drop__p b { font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.drop__p small { color: var(--muted); font-size: var(--fs-xs); }
.drop__list li.is-best .drop__p small { color: var(--orange-text); font-weight: 600; }
.drop__note { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line-2); font-weight: 600; }
@media (max-width: 560px) { .drop__list li { grid-template-columns: 72px minmax(0, 1fr) 96px; gap: 8px; } }
/* блок «УМИТЦ — центр» с логотипами */
.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento__cell, .bento__cell:nth-child(n) { grid-column: auto !important; }
.bento__body { gap: 14px; padding: clamp(22px, 2.6vw, 32px); }
.bento__logo { display: flex; align-items: center; height: 56px; padding-bottom: 14px; border-bottom: 1px solid var(--line); box-sizing: content-box; }
.bento__logo img { height: 44px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
.bento__body p { flex: 1; }
.bento__body { grid-template-rows: auto auto 1fr auto; align-content: stretch; }
@media (max-width: 700px) { .bento { grid-template-columns: 1fr; } }
/* новости на главной */
.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.nlead { display: grid; gap: 12px; align-content: start; }
.nlead__pic { display: block; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 16 / 10; background: var(--alt); }
.nlead__pic img { width: 100%; height: 100%; object-fit: cover; }
.nlead h3 { font-size: var(--fs-xl); line-height: 1.2; }
.nlead p:last-child { color: var(--muted); font-size: var(--fs-sm); }
.nlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nlist li { border-bottom: 1px solid var(--line); }
.nlist__item { display: grid; gap: 6px; padding: 18px 0; text-decoration: none; color: var(--ink); }
.nlist__item b { font-size: var(--fs-md); line-height: 1.3; font-weight: 650; }
.nlist__item:hover b { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nlist__ex { color: var(--muted); font-size: var(--fs-sm); }
.news .post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: var(--muted); margin: 0; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }
/* каталог: не нашли курс */
.notfound { background: var(--alt); margin-top: clamp(32px, 4vw, 56px); padding-block: clamp(28px, 3.5vw, 44px); }
.notfound__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.notfound h2 { font-size: var(--fs-xl); margin-bottom: 6px; }
.notfound p { margin: 0; color: #3f403d; max-width: 56ch; }
.notfound__btns { display: flex; flex-wrap: wrap; gap: 10px; }
/* подвал: мелкий юридический текст */
.ftr__legal { font-size: .75rem; line-height: 1.5; color: var(--muted); }
.bento__logo img[src*="avtoshkola"] { height: 54px; }
.nlead h3 a { text-decoration: none; color: var(--ink); }
.nlead h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- v3.3 ---------- */
:root {
  --depth: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 1px rgba(30,31,29,.07), 0 3px 3px rgba(30,31,29,.06), 0 8px 10px -2px rgba(30,31,29,.08), 0 18px 28px -10px rgba(110,55,20,.20), 0 34px 50px -24px rgba(110,55,20,.22);
  --depth-hover: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 2px rgba(30,31,29,.08), 0 8px 10px rgba(30,31,29,.07), 0 18px 24px -4px rgba(30,31,29,.10), 0 30px 44px -12px rgba(110,55,20,.28), 0 50px 70px -28px rgba(110,55,20,.28);
}
.bento__cell, .region, .drop, .why__ico, .nlead__pic, .hphotos__btn, .notfound__in .btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.bento__cell, .region, .drop { border: 1px solid #ececec; box-shadow: var(--depth); background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%); }
.bento__cell:hover, .region:hover { transform: translateY(-5px); box-shadow: var(--depth-hover); }
.drop { box-shadow: var(--depth); }
.nlead__pic { box-shadow: 0 2px 3px rgba(30,31,29,.08), 0 14px 24px -8px rgba(30,31,29,.20), 0 30px 46px -22px rgba(110,55,20,.28); }
.nlead__pic:hover { transform: translateY(-3px); }
.hphotos__btn { box-shadow: 0 1px 2px rgba(30,31,29,.12), 0 8px 14px -4px rgba(30,31,29,.22), 0 18px 28px -12px rgba(110,55,20,.28); }
.hphotos__btn:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 2px 3px rgba(30,31,29,.14), 0 14px 22px -6px rgba(30,31,29,.26), 0 28px 40px -14px rgba(110,55,20,.34); }
.why__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(145deg, #fff3ec, #ffe3d2); color: var(--orange-text); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 12px -4px rgba(232,85,26,.35), 0 14px 22px -12px rgba(232,85,26,.35); }
.why__ico .i { width: 28px; height: 28px; }
.sec--alt .bento__cell { background: #fff; }
/* шапка страницы: адрес слева, плашки справа */
.hero__copy .hero__addr { display: flex; gap: 8px; align-items: flex-start; margin: 24px 0 0; max-width: 34em; color: var(--muted); font-size: var(--fs-sm); }
.hero__copy .hero__addr .i { color: var(--orange-text); flex: none; margin-top: 3px; }
.hero__copy .hero__addr a { color: var(--ink); white-space: nowrap; }
.hero__side .docpills { width: min(100%, 560px); margin: 0; justify-content: flex-start; }
.hero__side { gap: 18px; }
.bento__logo img[src*="avtoshkola"] { height: auto; }
.bento__logo { height: 48px; }
@media (max-width: 640px) {
  .hero__copy .hero__addr a { white-space: normal; }
  .hero__side .docpills { gap: 6px; }
  .docpill { min-height: 34px; padding: 0 10px 0 8px; font-size: .8125rem; }
}

/* v3.3 fixes */
.hero__copy .hero__addr a { display: block; margin-top: 2px; }
@media (max-width: 640px) {
  .dirlist { grid-template-columns: 1fr; }
  .dirlist__row { grid-template-columns: 44px minmax(0, 1fr) 20px; grid-template-rows: auto auto; gap: 2px 14px; padding: 14px 0; }
  .dirlist__ico { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .dirlist__name { grid-column: 2; grid-row: 1; min-width: 0; hyphens: manual; overflow-wrap: anywhere; }
  .dirlist__count { grid-column: 2; grid-row: 2; justify-self: start; }
  .dirlist__price { grid-column: 2; grid-row: 2; justify-self: end; }
  .dirlist__go { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

/* ---------- v3.4 ---------- */
*, *::before, *::after { hyphens: manual !important; -webkit-hyphens: manual !important; }
.asst, .asst-fab { display: none !important; }
@media (min-width: 1061px) { .hdr__nav { margin-left: 28px; transform: translateY(6px); } }
.facts-sec { padding-top: clamp(20px, 3vw, 40px); }
/* адрес в одну строку */
.hero__copy .hero__addr { align-items: center; max-width: none; }
.hero__copy .hero__addr .i { margin-top: 0; }
.hero__copy .hero__addr span { display: inline; }
.hero__copy .hero__addr a { display: inline; margin: 0 0 0 12px; white-space: nowrap; font-weight: 600; }
/* плашки по ширине блока фото */
.hero__side .docpills { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; width: min(100%, 560px); }
.hero__side .docpills li { display: flex; grid-column: span 2; }
.hero__side .docpills li:nth-child(n+4) { grid-column: span 3; }
.hero__side .docpills .docpill { width: 100%; justify-content: center; padding: 0 12px; text-align: center; white-space: normal; line-height: 1.25; min-height: 42px; }
@media (max-width: 520px) { .hero__side .docpills { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero__side .docpills li, .hero__side .docpills li:nth-child(n+4) { grid-column: span 1; } .hero__side .docpills li:last-child { grid-column: span 2; } }
/* номера шагов светлее */
.steps__n { background: linear-gradient(145deg, #fff3ec, #ffe3d2); color: var(--orange-text); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 12px -4px rgba(232,85,26,.35); }
/* блок скидок: по центру, зеленые оттенки */
.group { align-items: center; }
.drop__bar i { background: #cfe3d7; }
.drop__list li:nth-child(n+2) .drop__bar i { background: linear-gradient(90deg, #a9d6bb, #7cc09b); }
.drop__list li.is-best .drop__bar i { background: linear-gradient(90deg, #2f9a5f, #1d7a46); }
.drop__list li.is-best .drop__p small { color: var(--ok); }
.drop__list li:nth-child(n+2) .drop__p small { color: #2f7d55; }
.drop__note { display: grid; gap: 6px; color: var(--ink); }
.drop__note small { font-weight: 400; color: var(--muted); font-size: var(--fs-sm); }
/* новости: три строки превью */
.nlead p:last-child { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* центрирование блоков */
.faq__grid, .order__grid { align-items: center; }
/* кнопки: тени */
.btn { transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .15s, border-color .15s; }
.btn--primary { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 2px 4px rgba(232,85,26,.22), 0 10px 18px -6px rgba(232,85,26,.45); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 4px 8px rgba(232,85,26,.26), 0 16px 26px -8px rgba(232,85,26,.55); }
.btn--dark { box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 2px 4px rgba(30,31,29,.25), 0 10px 18px -6px rgba(30,31,29,.45); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 4px 8px rgba(30,31,29,.3), 0 16px 26px -8px rgba(30,31,29,.55); }
.btn--ghost { box-shadow: 0 1px 0 #fff inset, 0 1px 2px rgba(30,31,29,.08), 0 8px 14px -6px rgba(30,31,29,.18); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #fff inset, 0 3px 6px rgba(30,31,29,.10), 0 14px 22px -8px rgba(30,31,29,.24); }
/* cookie: компактно, не мешает */
.cookie { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: min(360px, calc(100vw - 24px)); padding: 12px 14px; gap: 8px; font-size: var(--fs-xs); line-height: 1.4; border-radius: 14px; box-shadow: 0 6px 24px rgba(30,31,29,.18); }
.cookie p { margin: 0; }
.cookie__btns { gap: 6px; }
.cookie .btn--sm { min-height: 34px; padding: 0 12px; font-size: .8125rem; }
@media (max-width: 640px) { .cookie { left: 0; right: 0; bottom: 0; width: auto; border-radius: 14px 14px 0 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); grid-template-columns: 1fr auto; align-items: center; gap: 10px; font-size: 12px; } .cookie__btns { flex-direction: column; } body.has-bar .cookie { bottom: calc(66px + env(safe-area-inset-bottom)); } }
/* статичная карта */
.map--static { display: block; position: relative; min-height: 0; background: var(--alt); text-decoration: none; }
.map--static img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 560; object-fit: cover; }
.map--static .map__route { left: 16px; bottom: 16px; }
.hero__side .docpills .docpill { font-size: .8125rem; padding: 0 8px; white-space: nowrap; }
.hero__side .docpills li:nth-child(4) { grid-column: span 2; }
.hero__side .docpills li:nth-child(5) { grid-column: span 4; }
@media (max-width: 520px) { .hero__side .docpills .docpill { white-space: normal; } .hero__side .docpills li:nth-child(4), .hero__side .docpills li:nth-child(5) { grid-column: span 1; } .hero__side .docpills li:last-child { grid-column: span 2; } }
.map--static { height: 100%; min-height: 280px; }
.map--static img { height: 100%; aspect-ratio: auto; min-height: 280px; }
.params--2 > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- v3.5 ---------- */
/* глянцевые кнопки */
.btn { border-radius: 999px; letter-spacing: .005em; transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s, background .2s; }
.btn--primary {
  color: #1e1f1d; border: 1px solid #e0521a;
  background-image: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.16) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #ff8a50 0%, #ff6a2a 55%, #f0561a 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -2px 4px rgba(150,40,0,.28) inset, 0 2px 3px rgba(232,85,26,.30), 0 12px 22px -8px rgba(232,85,26,.55);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { color: #1e1f1d; filter: brightness(1.05) saturate(1.05); transform: translateY(-2px); background-image: linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.18) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #ff9460 0%, #ff7236 55%, #f55f1f 100%); box-shadow: 0 1px 0 rgba(255,255,255,.75) inset, 0 -2px 4px rgba(150,40,0,.28) inset, 0 4px 6px rgba(232,85,26,.32), 0 18px 30px -10px rgba(232,85,26,.62); }
.btn--primary:active { transform: translateY(0); filter: brightness(.97); box-shadow: 0 2px 5px rgba(150,40,0,.35) inset, 0 4px 8px -4px rgba(232,85,26,.5); }
.btn--dark {
  color: #fff; border: 1px solid #0f100f;
  background-image: linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.07) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #44453f 0%, #2a2b28 55%, #161715 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 -2px 4px rgba(0,0,0,.45) inset, 0 2px 3px rgba(30,31,29,.30), 0 12px 22px -8px rgba(30,31,29,.55);
}
.btn--dark:hover { color: #fff; filter: brightness(1.12); transform: translateY(-2px); background-image: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.08) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #4d4e47 0%, #31322e 55%, #1c1d1a 100%); }
.btn--ghost {
  color: var(--ink); border: 1px solid #d3d3d6;
  background-image: linear-gradient(180deg, #ffffff 0%, #f6f6f7 52%, #ececee 100%);
  box-shadow: 0 1px 0 #fff inset, 0 -1px 2px rgba(30,31,29,.08) inset, 0 2px 3px rgba(30,31,29,.10), 0 10px 18px -8px rgba(30,31,29,.22);
}
.btn--ghost:hover { color: var(--ink); border-color: #b9b9bd; transform: translateY(-2px); background-image: linear-gradient(180deg, #ffffff 0%, #f9f9fa 52%, #f0f0f2 100%); box-shadow: 0 1px 0 #fff inset, 0 -1px 2px rgba(30,31,29,.08) inset, 0 4px 6px rgba(30,31,29,.12), 0 16px 26px -10px rgba(30,31,29,.28); }
.btn--ghost:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(30,31,29,.18) inset; }
/* воздух вверху и перед блоком цифр */
.hero { padding: clamp(44px, 6vw, 88px) 0 0; }
.facts-sec { padding: clamp(44px, 6vw, 88px) 0 0; }
/* блок цифр без черных линий: единая мягкая панель */
.facts-sec .facts { grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: clamp(18px, 2.4vw, 30px) 0; border-radius: var(--r-panel); background: linear-gradient(180deg, #fafafa, #f4f4f5); border: 1px solid #ececee; box-shadow: var(--depth); }
.facts-sec .facts li { border-top: 0; padding: 4px clamp(16px, 2.4vw, 32px); border-left: 1px solid #e3e3e6; }
.facts-sec .facts li:first-child { border-left: 0; }
@media (max-width: 760px) { .facts-sec .facts { grid-template-columns: 1fr 1fr; row-gap: 18px; } .facts-sec .facts li:nth-child(3) { border-left: 0; } }
/* КП: печать */
.kp__head { border-bottom: 1px solid #d9d9dc; }
.kp__seal { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 28px; break-inside: avoid; }
.kp__seal img { width: 150px; height: auto; mix-blend-mode: multiply; transform: rotate(-4deg); }
.kp__seal-t { font-size: var(--fs-sm); color: #3f403d; }
@media print { .kp__seal img { width: 38mm; } }
/* чекбокс «выбрать все» */
.calc__allhead { align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.check--all { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--alt); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; }
.check--all input { width: 18px; height: 18px; accent-color: var(--orange); }
.docpill { text-decoration: none; color: var(--ink); }

/* ---------- v3.6 ---------- */
.facts-panel { border-radius: var(--r-panel); background: linear-gradient(180deg, #fafafa, #f4f4f5); border: 1px solid #ececee; box-shadow: var(--depth); padding: clamp(20px, 2.6vw, 32px) 0 clamp(18px, 2.2vw, 26px); }
.facts-sec .facts-panel .facts { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.facts-panel .docpills { display: flex; flex-wrap: wrap; gap: 12px; width: auto; margin: clamp(18px, 2.2vw, 26px) clamp(16px, 2.4vw, 32px) 0; padding-top: clamp(18px, 2.2vw, 24px); border-top: 1px solid #e3e3e6; list-style: none; }
.facts-panel .docpills li { display: flex; flex: 1 1 auto; grid-column: auto; }
.facts-panel .docpills .docpill { width: 100%; justify-content: center; white-space: nowrap; min-height: 42px; padding: 0 18px; font-size: .875rem; background: #fff; border: 1px solid #e3e3e6; border-radius: 999px; box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(30,31,29,.06), 0 8px 14px -8px rgba(30,31,29,.18); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.facts-panel .docpills .docpill:hover { transform: translateY(-2px); border-color: #d0d0d4; box-shadow: 0 1px 0 #fff inset, 0 4px 8px rgba(30,31,29,.08), 0 14px 22px -10px rgba(30,31,29,.26); }
@media (max-width: 760px) { .facts-panel .docpills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .facts-panel .docpills li:last-child { grid-column: span 2; } .facts-panel .docpills .docpill { white-space: normal; text-align: center; padding: 0 10px; } }
/* фото крупнее и ниже */
.hphotos { width: min(100%, 640px); gap: 12px; }
.hero__side { padding-top: clamp(24px, 3.4vw, 52px); }
@media (max-width: 980px) { .hero__side { padding-top: 0; } }
/* кнопка после «Нам доверяют» */
.clients__cta { display: flex; justify-content: flex-start; margin: clamp(28px, 3.5vw, 44px) 0 0; }
