/* Единая редакционная система дизайна ABC · Бухгалтерия
   Самостоятельный локальный деловой шрифт (Open Sans) без внешних CDN. */

/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext (включает знак ₽) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Метрический fallback для нулевого скачка текста до готовности woff2 */
@font-face {
  font-family: 'Open Sans Fallback';
  src: local('Arial'), local('Segoe UI'), local('Helvetica Neue');
  size-adjust: 105.4%;
  ascent-override: 101%;
  descent-override: 28%;
  line-gap-override: 0%;
}

/* === Токены === */
:root {
  /* Поверхности */
  --paper: #faf8f4;
  --paper-2: #f3efe7;
  --white: #ffffff;

  /* Текст */
  --ink: #23221f;
  --ink-soft: #57534a;
  --ink-mute: #7a746a;
  --ink-pale: #b8b3a5;

  /* Границы и поля ввода */
  --line: #e8e2d7;
  --line-soft: #f0ebe1;
  --line-strong: #d6cec0;
  --line-control: #ddd6ca;
  --line-control-hover: #c7bfb1;
  --line-check: #cbc3b5;
  --line-btn-hover: #cfc6b6;

  /* Акценты бренда и направлений */
  --btn-ink: #2b2a27;
  --btn-ink-hover: #3f3e3a;
  --honey: #f5b733;
  --honey-hover: #e5a722;
  --pine: #235340;
  --pine-hover: #1c4434;
  --pine-dark: #1d352b;
  --coral: #b73a1f;
  --coral-soft: #fdeae4;
  --sage: #ebf2e7;
  --sage-ink: #235340;
  --star: #c98a14;
  --tile-warm: #f4efe6;
  --tile-sage: #ebf2e9;
  --tile-sand: #f6efe2;
  --tile-cool: #eef2f4;

  /* Семантика отклика и уведомлений */
  --ok-ink: #236b47;
  --delta-up-ink: #8f4726;
  --ok-border: #9dc5b0;
  --ok-valid: #6ea88b;
  --ok-bg: #f4faf6;
  --ok-bg-strong: #edf7f0;
  --toast-ink: #efeae0;
  --toast-ok: #7de3b0;
  --toast-info: #f5c76b;
  --toast-err: #ff9485;

  /* Активная ветка */
  --link-accent: var(--coral);
  --cta-bg: #262522;

  /* Скругления, тени и движение */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  --shadow-btn: 0 1px 2px rgba(35, 34, 31, .12), 0 4px 12px rgba(35, 34, 31, .07);
  --shadow-card: 0 12px 30px rgba(35, 34, 31, .08);
  --shadow-float: 0 8px 24px rgba(35, 34, 31, .09);
  --shadow-pop: 0 24px 60px rgba(35, 34, 31, .12);
  --shadow-showcase: 0 22px 58px rgba(35, 34, 31, .06);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* Типографика и сетка */
  --ff-display: 'Open Sans', 'Open Sans Fallback', 'Segoe UI', Arial, sans-serif;
  --ff-body: 'Open Sans', 'Open Sans Fallback', 'Segoe UI', Arial, sans-serif;
  --ff-mono: 'Open Sans', 'Open Sans Fallback', 'Segoe UI', Arial, sans-serif;
  --container: 1200px;
  --gutter: 56px;
}

body[data-track="mkd"] {
  --link-accent: var(--pine);
  --cta-bg: var(--pine-dark);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; padding: 0; scroll-behavior: smooth; scroll-padding-top: 96px; interpolate-size: allow-keywords; }

@supports (interpolate-size: allow-keywords) {
  details.faq-item::details-content,
  details.cc-history::details-content,
  details.mm-sub::details-content {
    height: 0;
    opacity: 0;
    overflow: clip;
    transition: height .22s var(--ease-out), opacity .22s ease, content-visibility .22s allow-discrete;
  }
  details.faq-item[open]::details-content,
  details.cc-history[open]::details-content,
  details.mm-sub[open]::details-content {
    height: auto;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }
[hidden] { display: none !important; }

.abc-container { max-width: var(--container); width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.abc-contact-text { user-select: text; }
.abc-skip {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.abc-skip:focus {
  position: fixed; left: 16px; top: 16px; z-index: 9999; width: auto; height: auto;
  padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: var(--r-sm); text-decoration: none;
}

/* Якорные метки совместимости */
.sp-anchor { position: relative; display: block; height: 0; width: 0; overflow: hidden; pointer-events: none; }


/* === Верхняя служебная строка === */
.site-utility {
  background: var(--paper-2);
  color: var(--ink-mute);
  font-size: 13px;
  border-bottom: 1px solid var(--line-soft);
}
body[data-track="mkd"] .site-utility { background: var(--sage); color: var(--pine-dark); }
.site-utility .inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  min-height: 40px;
}
.site-utility nav { display: flex; align-items: center; gap: 4px; }
.site-utility nav a {
  text-decoration: none; padding: 4px 12px; border-radius: var(--r-pill); font-size: 12.5px; color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}
.site-utility nav a:hover { color: var(--ink); background: rgba(35, 34, 31, .05); }
.site-utility nav a[aria-current="page"] {
  background: var(--white); color: var(--ink); font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line);
}
body[data-track="mkd"] .site-utility nav a[aria-current="page"] {
  color: var(--pine-dark);
  box-shadow: inset 0 0 0 1px rgba(35, 83, 64, .18);
}

/* === Анимации и липкая шапка === */
@keyframes abcFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes abcDropIn {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes abcModalIn {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.header.is-scrolled {
  background: rgba(250, 248, 244, .88);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 8px 28px rgba(35, 34, 31, .06);
  border-bottom-color: rgba(232, 226, 215, .85);
}
.header .inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg.abc-mark { width: 56px; height: 34px; color: var(--ink); }
.brand-desc {
  display: flex; flex-direction: column; gap: 2px; padding-left: 12px;
  border-left: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.15;
}
.brand-desc b { font-weight: 400; font-size: 11px; color: var(--ink-mute); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop-btn {
  text-decoration: none; font-size: 15px; font-weight: 400; color: var(--ink-soft);
  padding: 9px 14px; border-radius: var(--r-pill); transition: background .15s ease, color .15s ease; white-space: nowrap;
  border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
}
.nav > a:hover, .nav-drop-btn:hover { background: var(--paper-2); color: var(--ink); }
.nav > a[aria-current="page"], .nav-drop-btn[aria-current="page"], .nav-drop-btn[aria-expanded="true"] {
  background: var(--white); color: var(--ink); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line);
}
.nav-caret { display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .15s ease; color: var(--ink-mute); }
.nav-drop-btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); color: var(--ink); }

.nav-dropdown { position: relative; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 400;
  width: 780px; max-width: calc(100vw - 320px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop); padding: 22px 26px;
}
.nav-drop-panel:not([hidden]) { animation: abcDropIn .16s var(--ease-out); }
.nav-drop-panel--narrow { width: 340px; max-width: calc(100vw - 48px); }
.nav-drop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nav-drop-panel--narrow .nav-drop-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.nav-drop-col h4 {
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
}
.nav-drop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-drop-list .nav-drop-item {
  display: block; padding: 7px 10px; border-radius: var(--r-sm); text-decoration: none;
  background: transparent; box-shadow: none; transition: background .12s ease;
}
.nav-drop-list .nav-drop-item:hover,
.nav-drop-list .nav-drop-item[aria-current="page"] { background: var(--paper); }
.nav-drop-item strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.nav-drop-item span { display: block; font-size: 12px; color: var(--ink-mute); line-height: 1.4; margin-top: 2px; white-space: normal; }
.nav-drop-item:hover strong, .nav-drop-item[aria-current="page"] strong { color: var(--link-accent); }
.nav-drop-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.nav-drop-foot a {
  padding: 0; background: transparent; box-shadow: none;
  font-size: 13.5px; font-weight: 500; color: var(--link-accent);
}
.nav-drop-foot a:hover { text-decoration: underline; }

.mm-sub { border-bottom: 1px solid var(--line); }
.mm-sub summary {
  display: flex; align-items: center; justify-content: space-between; font-size: 19px; font-weight: 500;
  padding: 11px 0; cursor: pointer; list-style: none; color: var(--ink);
}
.mm-sub summary::-webkit-details-marker { display: none; }
.mm-sub-list { display: grid; gap: 2px; padding: 0 0 12px 14px; }
.mm-links .mm-sub-list a { font-size: 15.5px; padding: 7px 0; border-bottom: 0; color: var(--ink-soft); }

.header-right { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.max-btn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px 16px;
  border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); width: fit-content;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.max-btn:hover { border-color: var(--ink); }
.max-btn:active { transform: scale(.98); }
.max-btn img, .mm-max img { width: 18px; height: 18px; flex: none; display: block; }

/* === Кнопки и фокус === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-body); font-size: 15px; font-weight: 500; line-height: 1.25;
  padding: 14px 26px; min-height: 50px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .12s ease, box-shadow .16s ease;
}
.btn:active { transform: scale(.985); }
.btn-sm { min-height: 38px; padding: 8px 18px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--link-accent); outline-offset: 2px;
}
.btn-primary, .btn-honey { box-shadow: var(--shadow-btn); }
.btn-primary { background: var(--btn-ink); color: var(--paper); border-color: var(--btn-ink); }
.btn-primary:hover {
  background: var(--btn-ink-hover); border-color: var(--btn-ink-hover);
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(35, 34, 31, .14);
}
.btn-primary:active, .btn-honey:active { transform: scale(.985); box-shadow: var(--shadow-btn); }
body[data-track="mkd"] .btn-primary { background: var(--pine); border-color: var(--pine); color: var(--white); }
body[data-track="mkd"] .btn-primary:hover { background: var(--pine-hover); border-color: var(--pine-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); background: var(--white); }
.btn-header { min-height: 40px; padding: 8px 17px; font-size: 14px; border-color: var(--line); font-weight: 500; background: transparent; color: var(--ink); }
.btn-header:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-honey { background: var(--honey); color: var(--ink); border-color: var(--honey); }
.btn-honey:hover {
  background: var(--honey-hover); border-color: var(--honey-hover);
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(35, 34, 31, .12);
}

.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* === Хлебные крошки === */
.hero-crumbs { margin: 0 0 18px; font-size: 13px; color: var(--ink-mute); }
.crumbs { padding: 18px 0 0; font-size: 13.5px; color: var(--ink-mute); }
.crumbs-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; list-style: none; margin: 0; padding: 0; }
.crumbs-separator { color: var(--ink-pale); user-select: none; margin-right: 8px; }
.crumbs a, .hero-crumbs a { text-decoration: none; color: var(--ink-mute); }
.crumbs a:hover, .hero-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current="page"], .hero-crumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* === Общие типографические ритмы === */
.kicker { font-size: 13px; font-weight: 500; color: var(--link-accent); margin: 0 0 12px; letter-spacing: .01em; }
.section-h2 {
  font-family: var(--ff-display); font-size: clamp(24px, 2.5vw, 31px);
  font-weight: 600; line-height: 1.28; letter-spacing: -.008em; margin: 0;
}
.section-lead { font-size: 16px; line-height: 1.72; color: var(--ink-soft); margin: 16px 0 0; max-width: 60ch; }
.band-white { background: var(--white); border-block: 1px solid var(--line-soft); padding: 88px 0; }
.band-paper { background: var(--paper); padding: 88px 0; }
.inline-link { font-size: 14.5px; font-weight: 500; color: var(--link-accent); text-decoration: none; }
.inline-link:hover { text-decoration: underline; }


/* === Первый экран: Внутренние страницы === */
.page-hero { padding: 44px 0 64px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px; align-items: center;
}
.hero-grid > * { min-width: 0; }
.page-hero h1 {
  font-family: var(--ff-display); font-size: clamp(30px, 3.3vw, 42px);
  font-weight: 600; line-height: 1.24; letter-spacing: -.012em; margin: 0; color: var(--ink);
}
.page-hero h1 span { color: var(--link-accent); }
.hero-lead { font-size: 17px; line-height: 1.72; color: var(--ink-soft); margin: 22px 0 0; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }

.hero-art {
  display: flex; justify-content: center; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 28px 32px;
  box-shadow: var(--shadow-showcase);
}

.hero-art img { width: 100%; max-width: 480px; height: auto; }

/* === Списки задач и акцентные блоки === */

.task-link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 16px 0; text-decoration: none; transition: color .15s ease;
}
.task-link-body { min-width: 0; }
.task-link strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); transition: color .15s ease; }
.task-link span { display: block; font-size: 13.5px; line-height: 1.55; color: var(--ink-mute); margin-top: 3px; }
.task-arrow { flex: none; font-size: 16px; color: var(--ink-pale); transition: transform .15s ease, color .15s ease; }
.task-link:hover strong, .task-link:focus-visible strong { color: var(--link-accent); }
.task-link:hover .task-arrow, .task-link:focus-visible .task-arrow { color: var(--link-accent); transform: translateX(3px); }


/* === Главная: Журнальный бутик === */
.btq-hero { padding: 38px 0 64px; }
.btq-hero-center { text-align: center; max-width: 760px; margin-inline: auto; }
.btq-hero h1 {
  font-family: var(--ff-display); font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 600; line-height: 1.18; letter-spacing: -.014em; margin: 0; color: var(--ink);
}
.btq-hero h1 span { color: var(--link-accent); }
.btq-hero-lead {
  font-size: 17px; line-height: 1.68; color: var(--ink-soft);
  margin: 18px auto 0; max-width: 56ch;
}
.btq-hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px;
}

.btq-showcase {
  max-width: 980px; margin-inline: auto;
  margin-top: 34px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 24px;
  display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: 28px; align-items: stretch; box-shadow: var(--shadow-showcase);
}
.btq-showcase > * { min-width: 0; }
.btq-show-art {
  background: var(--paper); border-radius: var(--r-lg); padding: 18px;
  display: flex; align-items: center; justify-content: center;
}
.btq-show-art img { max-height: 236px; width: auto; object-fit: contain; }
.btq-show-prices {
  padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 13px;
}
.btq-show-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); font-size: 14.5px;
}
.btq-show-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.btq-show-row span { color: var(--ink-soft); }
.btq-show-row strong {
  font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.btq-show-more { margin-top: 4px; }

.btq-sec-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.btq-sec-head .section-lead { margin-inline: auto; }

.btq-wings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.btq-wing {
  border-radius: var(--r-xl); padding: 36px; display: flex; flex-direction: column;
  gap: 16px; min-width: 0; border: 1px solid var(--line-soft);
}
.btq-wing--paper { background: var(--paper-2); }
.btq-wing--pine { background: var(--pine-dark); color: var(--paper); border-color: transparent; }
.btq-wing-kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--link-accent);
}
.btq-wing--pine .btq-wing-kicker { color: var(--honey); }
.btq-wing h3 { font-family: var(--ff-display); font-size: 26px; font-weight: 600; line-height: 1.25; margin: 0; }
.btq-wing p { font-size: 15px; line-height: 1.66; margin: 0; color: var(--ink-soft); }
.btq-wing--pine p { color: rgba(250, 248, 244, .82); }
.btq-wing-img { width: 100%; max-height: 204px; object-fit: contain; margin-block: 6px; }
.btq-wing-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.btq-wing-chips a {
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .85); color: var(--ink);
  transition: background .15s ease, transform .12s ease;
}
.btq-wing-chips a:hover { background: var(--white); transform: translateY(-1px); }
.btq-wing--pine .btq-wing-chips a { background: rgba(255, 255, 255, .14); color: var(--white); }
.btq-wing--pine .btq-wing-chips a:hover { background: rgba(255, 255, 255, .24); }
.btq-wing-go { margin-top: auto; padding-top: 8px; }

.btq-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.btq-tile {
  border-radius: var(--r-lg); padding: 24px 22px; display: flex; flex-direction: column;
  gap: 10px; text-decoration: none; border: 1px solid var(--line-soft);
  transition: transform .16s ease, box-shadow .16s ease; min-width: 0;
}
.btq-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btq-tile--warm { background: var(--tile-warm); }
.btq-tile--sage { background: var(--tile-sage); }
.btq-tile--sand { background: var(--tile-sand); }
.btq-tile--cool { background: var(--tile-cool); }
.btq-tile img { height: 118px; width: auto; object-fit: contain; margin: 0 auto 4px; }
.btq-tile h3 { font-family: var(--ff-display); font-size: 16.5px; font-weight: 600; margin: 0; color: var(--ink); }
.btq-tile p { font-size: 13.5px; line-height: 1.56; color: var(--ink-soft); margin: 0; }
.btq-tile-go { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--link-accent); }

.btq-shelf {
  margin-top: 24px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 32px 36px;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 40px; align-items: start;
}
.btq-shelf > * { min-width: 0; }
.btq-shelf-title {
  font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 14px;
}
.btq-shelf-links {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px;
  border-top: 1px solid var(--line-soft);
}
.btq-shelf-links li { border-bottom: 1px solid var(--line-soft); min-width: 0; }
.btq-shelf-links .task-link { padding: 13px 0; }
.btq-tools-stack { display: grid; gap: 14px; }
.btq-tool-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px;
  border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line-soft);
  text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btq-tool-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btq-tool-card strong { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.btq-tool-card span { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.btq-tool-card-go { margin-top: 2px; font-size: 13.5px; font-weight: 500; color: var(--link-accent); }

.btq-work-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start;
}
.btq-work-grid > * { min-width: 0; }
.btq-office-stack { display: grid; gap: 18px; }
.btq-office-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.btq-office-note {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
}
.btq-office-note strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.btq-office-note span { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.btq-steps-card {
  margin-top: 52px; background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); padding: 36px 40px;
}

.btq-reviews-grid {
  margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.btq-review-card {
  margin: 0; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0;
}
.btq-review-card blockquote { margin: 0; font-size: 15px; line-height: 1.72; color: var(--ink); }
.btq-review-card blockquote p { margin: 0; }

.btq-island-band { background: var(--paper); padding: 84px 0; }
.btq-island {
  background: var(--pine-dark); color: var(--paper); border-radius: var(--r-xl); padding: 48px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); gap: 48px; align-items: center;
}
.btq-island > * { min-width: 0; }
.btq-island-kicker { display: inline-block; font-size: 13px; font-weight: 600; color: var(--honey); margin-bottom: 10px; }
.btq-island h2 {
  font-family: var(--ff-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600;
  line-height: 1.25; margin: 0 0 14px; color: var(--paper);
}
.btq-island-copy > p { color: rgba(250, 248, 244, .82); margin: 0 0 24px; max-width: 44ch; font-size: 16px; line-height: 1.68; }
.btq-island-points {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
  font-size: 15px; line-height: 1.55; color: rgba(250, 248, 244, .88);
}
.btq-island-points li { position: relative; padding-left: 22px; }
.btq-island-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--honey); font-weight: 600; }
.btq-island .form-card { border-radius: var(--r-lg); border: 0; }

/* === Работа бухгалтера + 3 шага === */
.work-facts { margin-top: 24px; border-top: 1px solid var(--line); }
.work-fact { padding: 20px 0; border-bottom: 1px solid var(--line); }
.work-fact strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.work-fact p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.72; color: var(--ink-soft); }
.work-fact a { color: var(--link-accent); text-decoration: none; font-weight: 500; }
.work-fact a:hover { text-decoration: underline; }

.steps-heading { font-family: var(--ff-display); font-size: 24px; font-weight: 600; line-height: 1.36; letter-spacing: 0; margin: 0 0 24px; }
.start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; list-style: none; margin: 28px 0 0; padding: 0; }
.band-white > .abc-container > .start-steps,
.band-paper > .abc-container > .start-steps {
  border-radius: var(--r-xl); padding: 34px 38px;
  border: 1px solid var(--line-soft); background: var(--paper);
}
.band-paper > .abc-container > .start-steps { background: var(--white); border-color: var(--line); }
.start-steps li { min-width: 0; }
.step-num {
  display: inline-flex; font-family: var(--ff-mono); font-variant-numeric: tabular-nums;
  font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--link-accent);
  background: var(--paper-2); padding: 4px 11px; border-radius: var(--r-pill); margin-bottom: 12px;
}
body[data-track="mkd"] .step-num { background: var(--sage); }
.start-steps strong { display: block; font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.start-steps p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.72; color: var(--ink-soft); }

/* === Сколько стоит (главная + страницы цен) === */
.cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 68px; align-items: center; }
.cost-grid > * { min-width: 0; }
.cost-copy p { font-size: 16px; line-height: 1.72; color: var(--ink-soft); margin: 16px 0 0; max-width: 48ch; }
.cost-factors { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.cost-factors li {
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 165px minmax(0, 1fr); gap: 14px; align-items: baseline; font-size: 14px; line-height: 1.55;
}
.cost-factors strong { font-weight: 500; color: var(--ink); }
.cost-factors span { color: var(--ink-mute); }
.cost-copy .inline-link { display: inline-block; margin-top: 22px; }

.price-box { background: var(--cta-bg); color: var(--paper); border-radius: var(--r-lg); padding: 36px 38px; }
body[data-track="mkd"] .price-box { background: var(--pine-dark); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.price-row:first-child { padding-top: 0; }
.price-name { font-size: 15px; color: var(--ink-pale); }
.price-name small { display: block; font-size: 12.5px; color: rgba(250, 248, 244, .65); margin-top: 3px; }
.price-val { font-size: 16px; font-weight: 600; color: var(--paper); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-box .btn { margin-top: 26px; width: 100%; }

/* === Отзывы 2x2 и Частые вопросы === */
.reviews-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review-item {
  margin: 0; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0;
}
:where(.band-white) .review-item { background: var(--paper); }
.review-stars { display: inline-flex; align-items: center; gap: 3px; color: var(--star); margin-bottom: 10px; }
.review-item blockquote { margin: 0; font-size: 15px; line-height: 1.72; color: var(--ink); }
.review-item blockquote p { margin: 0; }
.review-details summary { list-style: none; cursor: pointer; }
.review-details summary::-webkit-details-marker { display: none; }
.review-more, .review-less { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--link-accent); }
.review-less { display: none; color: var(--ink-mute); }
.review-details[open] .review-more, .review-details[open] .review-preview { display: none; }
.review-details[open] .review-less { display: inline-block; }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-mute); }
.review-foot strong { color: var(--ink); font-weight: 500; }
.review-foot a { color: var(--link-accent); text-decoration: none; font-weight: 500; }
.review-foot a:hover { text-decoration: underline; }

.faq-wrap {
  margin-top: 68px; padding-top: 56px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .85fr); gap: 68px; align-items: center;
}
.faq-wrap > * { min-width: 0; }
.faq-visual { margin: 0; display: flex; justify-content: center; align-items: center; }
.faq-visual img { width: 100%; max-width: 360px; height: auto; }
.faq-note { font-size: 15px; line-height: 1.72; color: var(--ink-soft); margin: 12px 0 24px; max-width: 56ch; }
.faq-list { border-top: 1px solid var(--line); margin-top: 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 0; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 500; line-height: 1.45; color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; color: var(--ink-mute); flex: none; transition: transform .2s ease, color .15s ease; }
.faq-item[open] > summary::after { content: "+"; transform: rotate(45deg); color: var(--ink); }
.faq-item > summary:hover { color: var(--link-accent); }
.faq-item > p { margin: 0; padding: 0 0 24px; font-size: 15px; line-height: 1.72; color: var(--ink-soft); max-width: 72ch; }
#faq > .abc-container > .faq-list {
  max-width: 860px; margin-top: 28px; padding: 8px 34px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
}
.band-white#faq > .abc-container > .faq-list { background: var(--paper); border-color: var(--line-soft); }
#faq > .abc-container > .faq-list .faq-item:last-child { border-bottom: 0; }

/* === Редакционные карточки каталогов, посадочных и тарифов === */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }

.cards-2 > * { min-width: 0; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
:where(.band-white) .service-card { background: var(--paper); }
.service-card--featured { border: 1.5px solid var(--pine); background: var(--white); }
.service-card h2, .service-card h3 {
  font-family: var(--ff-display); font-size: 20px; font-weight: 600; line-height: 1.36; letter-spacing: 0; margin: 0;
}
.service-card p { font-size: 15px; line-height: 1.72; color: var(--ink-soft); margin: 0; }
.card-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-soft); }
.card-points li { position: relative; padding-left: 20px; }
.card-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--link-accent); font-weight: 500; }
.card-price { font-family: var(--ff-display); font-size: 24px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--ink); margin: 4px 0 0; }
.card-price span { font-size: 14.5px; font-weight: 400; color: var(--ink-mute); }
.card-foot { margin-top: auto; padding-top: 12px; }
.card-note, .service-card p.card-note { font-size: 13px; color: var(--ink-mute); line-height: 1.6; }

/* === Открытая редакционная вёрстка внутренних страниц === */
.facts-strip {
  margin-top: 44px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 28px 34px; box-shadow: var(--shadow-showcase);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .95fr) minmax(0, 1.15fr); gap: 36px; align-items: start;
}
.facts-strip > * { min-width: 0; }
.facts-strip > div + div { border-left: 1px solid var(--line-soft); padding-left: 32px; }
.fact-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-mute); margin: 0 0 8px; }
.fact-val { font-family: var(--ff-display); font-size: 21px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--ink); margin: 0; line-height: 1.3; }
.fact-val--sm { font-size: 18px; }
.fact-note { font-size: 14.5px; line-height: 1.72; color: var(--ink-soft); margin: 8px 0 0; }
.fact-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink); line-height: 1.55; }
.fact-checks li { display: flex; gap: 9px; align-items: flex-start; }
.fact-ico { color: var(--link-accent); flex: none; margin-top: 3px; }
.tbl-ico { color: var(--link-accent); vertical-align: -2px; margin-right: 6px; }

.editorial-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; align-items: start; }
.editorial-split > * { min-width: 0; }
.editorial-sticky { position: sticky; top: 96px; }
.editorial-list { border-top: 1px solid var(--line); }
.editorial-item { display: flex; gap: 22px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.editorial-item h3 { font-family: var(--ff-display); font-size: 18.5px; font-weight: 600; line-height: 1.36; margin: 0; }
.editorial-item p { font-size: 15px; line-height: 1.72; color: var(--ink-soft); margin: 8px 0 0; }
.module-num {
  font-family: var(--ff-mono); font-variant-numeric: tabular-nums; font-size: 12.5px; font-weight: 600;
  line-height: 1.2; color: var(--link-accent); background: var(--paper-2);
  padding: 5px 11px; border-radius: var(--r-pill); margin-top: 2px; flex: none;
}
body[data-track="mkd"] .module-num { background: var(--sage); }

.situations-editorial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.situation-open {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 32px; min-width: 0;
}
:where(.band-white) .situation-open { background: var(--paper); border-color: var(--line-soft); }
.situation-open h3 { font-family: var(--ff-display); font-size: 19px; font-weight: 600; line-height: 1.36; margin: 0 0 12px; }
.situation-open p { font-size: 15px; line-height: 1.72; color: var(--ink-soft); margin: 0; }

.formula-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px;
}
.formula-step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 28px; min-width: 0;
}
.band-paper .formula-step { background: var(--white); }
.formula-tag { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; color: var(--link-accent); display: block; margin-bottom: 10px; }
.formula-step h3 { font-family: var(--ff-display); font-size: 17.5px; font-weight: 600; margin: 0 0 8px; line-height: 1.36; }
.formula-step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.72; }

.tool-preview-wrap {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px; margin: 6px 0 4px;
}
.mini-doc {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-xs); padding: 16px 18px;
  display: grid; gap: 8px; font-size: 12.5px; color: var(--ink-mute);
}
.mini-doc-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--ink); font-size: 12.5px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.mini-doc-row { display: flex; justify-content: space-between; gap: 10px; }
.mini-doc-row b { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }

.related-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.related-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500;
  transition: color .14s ease, border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
:where(.band-white) .related-list a { background: var(--paper); }
.related-list a:hover { color: var(--link-accent); border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.related-list a span:last-child { color: var(--ink-mute); transition: transform .14s ease; flex: none; }
.related-list a:hover span:last-child { color: var(--link-accent); transform: translateX(3px); }

/* Лендинги и страницы правлений */
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: start; }
.lp-hero-grid--center { align-items: center; }
.lp-hero-grid > * { min-width: 0; }


.note-box {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px 26px;
}
body[data-track="mkd"] .note-box { background: var(--sage); }
.section-h2 + .note-box, .section-lead + .note-box { margin-top: 24px; }
.note-box + .card-note { margin-top: 16px; }
.note-box strong, .note-box dt { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.note-box p, .note-box dd { margin: 0; font-size: 14.5px; line-height: 1.72; color: var(--ink-soft); }


.roles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.role-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; min-width: 0;
}
.band-white .role-card { background: var(--paper); }
.role-card h3 { font-family: var(--ff-display); font-size: 18px; font-weight: 600; line-height: 1.36; margin: 0 0 10px; }
.role-card p { font-size: 14.5px; line-height: 1.72; color: var(--ink-soft); margin: 0; }
.role-card p.role-help { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--ink); font-weight: 500; }

.extra-callout { margin-top: 28px; }
.related-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
}

/* Список цен (tarify.html) и таблица сравнения (tszh-tarify.html) */
.price-dl { margin: 36px 0 0; border-top: 1px solid var(--line); }
.price-dl-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.price-dl-row dt { font-size: 16px; font-weight: 500; color: var(--ink); }
.price-dl-row dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: flex-end; text-align: right; }
.price-dl-row dd strong { font-family: var(--ff-display); font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; margin-top: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.compare-table caption { text-align: left; font-size: 13px; color: var(--ink-mute); padding: 16px 24px; border-bottom: 1px solid var(--line-soft); font-weight: 600; }
.compare-table th, .compare-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare-table thead th { font-size: 13.5px; font-weight: 600; color: var(--ink-mute); background: var(--paper); }
.compare-table tbody th { font-weight: 500; color: var(--ink); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }

/* Зарплата и разовые задачи на uslugi.html */
.payroll-flow {
  list-style: none; margin: 32px 0 0; padding: 28px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
.payroll-flow li strong { display: block; font-size: 15.5px; font-weight: 500; margin-top: 8px; }
.payroll-flow li p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.72; }

/* === Контакты, офис и реквизиты === */
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.photo-card { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.directions-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.direction-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.direction-pill:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.direction-pill span { display: block; font-size: 12.5px; color: var(--ink-mute); }
.direction-pill strong { display: block; font-size: 16px; font-weight: 500; color: var(--ink); margin-top: 3px; }

.channels-grid { display: grid; gap: 24px; }
.channel-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; }
.channel-phone { font-family: var(--ff-display); font-size: 22px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; display: block; margin-bottom: 12px; }
.channel-email { font-family: var(--ff-display); font-size: 19px; font-weight: 500; display: block; margin-bottom: 6px; }
.channel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }

.requisites-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.requisites-hint { font-size: 14px; color: var(--ink-mute); margin: 6px 0 0; }
.requisites-dl {
  margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px;
}
.requisite-row {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 20px;
  transition: background .15s ease, border-color .15s ease;
}
.requisite-row:hover { background: var(--white); border-color: var(--line-strong); }
.requisite-row.is-copied { border-color: var(--ok-border); background: var(--ok-bg); }
.requisite-row dt { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 5px; }
.requisite-row dd { margin: 0; font-family: var(--ff-mono); font-variant-numeric: tabular-nums; font-size: 14.5px; font-weight: 500; word-break: break-word; }
.copy-value {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 4px 8px; margin: -4px -8px; border: 0; border-radius: var(--r-sm);
  background: transparent; color: var(--ink); text-align: left; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.copy-value:hover { background: rgba(35, 34, 31, .045); }
.copy-value.channel-phone { margin-bottom: 8px; }
.copy-value.channel-email { margin-bottom: 2px; }
.copy-value--address { align-items: flex-start; font-size: 16.5px; font-weight: 500; line-height: 1.5; }
.copy-value.copy-value--row,
.copy-value.copy-value--row:hover {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 14px;
  padding: 0; margin: 0; font: inherit; color: inherit; background: transparent;
}
.copy-value--row::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.copy-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--ink-mute); opacity: .5; transition: opacity .15s ease, color .15s ease; }
.copy-ico { width: 15px; height: 15px; display: block; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.copy-ico--ok { display: none; }
.copy-value:hover .copy-mark, .requisite-row:hover .copy-mark, .copy-all-link:hover .copy-mark { opacity: 1; color: var(--ink); }
.copy-value.is-copied .copy-mark, .copy-all-link.is-copied .copy-mark { opacity: 1; color: var(--ok-ink); }
.is-copied .copy-ico--copy { display: none; }
.is-copied .copy-ico--ok { display: block; }
.copy-all-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 0; border-radius: var(--r-sm);
  background: transparent; color: var(--ink-soft); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.copy-all-link:hover { background: rgba(35, 34, 31, .055); color: var(--ink); }
.copy-all-link.is-copied { color: var(--ok-ink); }
.abc-contact-copy { cursor: pointer; border-radius: var(--r-xs); transition: opacity .15s ease; }
.abc-contact-copy:hover { opacity: .72; }

.manual-copy-box { margin-top: 12px; }
.manual-copy-textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line-control); border-radius: var(--r-sm);
  font-family: var(--ff-body); font-size: 14px; color: var(--ink); background: var(--white);
}

/* === Интерактивные инструменты === */
.cc-shell { max-width: 860px; margin-inline: auto; }
.cc-editor {
  margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 30px;
}
.cc-editor fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.cc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.cc-wide { grid-column: 1 / -1; }
.cc-code-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.field.cc-field { margin-bottom: 0; }
.cc-error { display: block; font-size: 12.5px; color: var(--coral); min-height: 16px; margin-top: 3px; }
.cc-status { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 0; min-height: 18px; }
.cc-status[data-tone="error"] { color: var(--coral); }

.cc-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.cc-chip:hover { border-color: var(--ink); background: var(--paper-2); }
.cc-chip:active { transform: scale(.98); }
.cc-group-title {
  margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  font-size: 13px; font-weight: 600; color: var(--ink-mute); letter-spacing: .01em;
}
.cc-group-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cc-save-panel { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cc-submit { width: 100%; margin-top: 14px; }
.cc-save-note { margin: 0; }
.cc-clear-btn { margin-top: 8px; }
.cc-faq-wrap { margin-top: 44px; padding-top: 36px; }

.abc-checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.abc-checkbox input[type="checkbox"], .form-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-check);
  background-color: var(--white); background-position: center; background-repeat: no-repeat; background-size: 12px 12px;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.abc-checkbox input[type="checkbox"]:hover, .form-consent input[type="checkbox"]:hover { border-color: var(--ink-soft); }
.abc-checkbox input[type="checkbox"]:checked, .form-consent input[type="checkbox"]:checked {
  background-color: var(--ink); border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' stroke='%23faf8f4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body[data-track="mkd"] .abc-checkbox input[type="checkbox"]:checked,
body[data-track="mkd"] .form-consent input[type="checkbox"]:checked {
  background-color: var(--pine); border-color: var(--pine);
}
.abc-checkbox input[type="checkbox"]:focus-visible, .form-consent input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(35, 34, 31, .14); outline: none;
}
.cc-history { margin-top: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; }
.cc-history summary { font-weight: 500; }
.cc-history summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer;
}
.cc-history summary::-webkit-details-marker { display: none; }
.mm-sub summary::after, .cc-history summary::after {
  content: ""; width: 7px; height: 7px; flex: none;
  border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; opacity: .75;
}
.mm-sub[open] > summary::after, .cc-history[open] > summary::after {
  transform: rotate(-135deg) translateY(-1px);
}
.abc-history-list { display: grid; gap: 10px; margin-top: 12px; }
.abc-history-item {
  padding: 12px 14px; background: var(--paper); border-radius: var(--r-sm); border: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.abc-history-meta { font-size: 12.5px; color: var(--ink-mute); margin: 2px 0 0; }
.abc-history-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-privacy { font-size: 13px; color: var(--ink-mute); margin: 14px 0 0; }
.cc-privacy a { color: var(--link-accent); }

/* Коммунальные тарифы */
.ut-band { padding-top: 40px; }
.ut-sheet {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-showcase);
  overflow: hidden;
}
.ut-controls { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.ut-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ut-services button {
  padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-control); background: var(--paper);
  color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ut-services button:hover { border-color: var(--line-control-hover); background: var(--paper-2); }
.ut-services button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: var(--white); }
.ut-pill-cnt { opacity: .72; font-size: 12.5px; margin-left: 5px; }

.ut-filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(200px, 0.9fr) auto;
  gap: 12px;
  align-items: end;
}
.ut-filter-row .field { margin-bottom: 0; gap: 5px; }
.ut-filter-row .field label { font-size: 13px; color: var(--ink-soft); }
.ut-search-wrap { position: relative; }
.ut-search-wrap input { width: 100%; min-height: 42px; padding: 8px 38px 8px 12px; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.ut-filter-row select {
  appearance: none; -webkit-appearance: none; width: 100%; font-size: 15px; color: var(--ink);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2357534a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 15px 15px;
  border: 1px solid var(--line-control); border-radius: var(--r-sm); padding: 8px 40px 8px 12px; min-height: 42px; cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.ut-filter-row select:hover { border-color: var(--line-control-hover); }
.ut-filter-row select:focus { border-color: var(--pine); box-shadow: 0 0 0 3.5px rgba(35, 83, 64, .12); outline: none; }
.ut-search-clear {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  width: 28px; height: 28px; border: 0; background: transparent; color: var(--ink-mute);
  cursor: pointer; border-radius: var(--r-pill);
  transition: background .15s ease, color .15s ease;
}
.ut-search-clear[hidden] { display: none; }
.ut-search-clear:hover { background: var(--paper-2); color: var(--ink); }
.ut-check-inline {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px;
  border: 1px solid var(--line-control); border-radius: var(--r-sm); background: var(--paper);
  cursor: pointer; font-size: 14px; user-select: none;
}
.ut-check-inline input { accent-color: var(--pine); width: 16px; height: 16px; margin: 0; }
.ut-status-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  margin-top: 12px; font-size: 13px; color: var(--ink-mute);
}

.ut-house-bar {
  padding: 14px 24px; background: var(--sage); border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
}
.ut-house-info { display: flex; flex-direction: column; gap: 8px; flex: 1 1 320px; }
.ut-house-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; }
.ut-house-title-row strong { font-weight: 600; color: var(--pine); }
.ut-house-presets { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ut-house-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ut-house-opt {
  display: inline-flex; align-items: center; gap: 7px;
  margin-right: 4px; font-size: 13.5px; color: var(--ink-soft);
  cursor: pointer; user-select: none; white-space: nowrap;
}
.ut-house-opt input { accent-color: var(--pine); width: 15px; height: 15px; margin: 0; cursor: pointer; }
.ut-btn-link {
  border: 0; background: transparent; padding: 0; color: var(--pine); font-size: 13.5px; font-weight: 500;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.ut-btn-link:hover { color: var(--pine-hover); }


.ut-table-wrap { width: 100%; overflow-x: auto; }
.ut-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ut-table th, .ut-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top;
}
.ut-table th:first-child, .ut-table td:first-child { padding-left: 24px; }
.ut-table th:last-child, .ut-table td:last-child { padding-right: 24px; }
.ut-table thead th {
  font-size: 12.5px; font-weight: 600; color: var(--ink-mute); background: var(--paper);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.ut-col-num { text-align: right; white-space: nowrap; }
.ut-table th.ut-col-num, .ut-table td.ut-col-num { text-align: right; }
.ut-col-check { width: 42px; padding-right: 4px; }
.ut-col-check input { accent-color: var(--pine); width: 16px; height: 16px; margin-top: 3px; cursor: pointer; }
.ut-group-row td {
  background: var(--paper); padding: 10px 24px; font-size: 13px; font-weight: 600;
  color: var(--pine); border-bottom: 1px solid var(--line);
}
.ut-group-cnt { font-weight: 400; color: var(--ink-mute); margin-left: 6px; }
.ut-row-provider { font-weight: 600; color: var(--ink); }
.ut-row-cond { color: var(--ink-soft); font-size: 13.5px; margin-top: 2px; }
.ut-act-btn {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 5px; padding: 0; border: 0; background: transparent;
  color: var(--ink-mute); font-size: 12.5px; font-weight: 400; line-height: 1.35;
  text-align: left; cursor: pointer;
  transition: color .15s ease;
}
.ut-act-btn::after {
  content: ""; width: 12px; height: 12px; flex: none;
  background: currentColor; opacity: .65;
  transition: transform .18s ease, opacity .15s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ut-act-btn:hover,
.ut-act-btn:focus-visible { color: var(--pine); }
.ut-act-btn:hover::after,
.ut-act-btn:focus-visible::after { opacity: 1; }
.ut-act-btn[aria-expanded="true"] { color: var(--pine); font-weight: 500; }
.ut-act-btn[aria-expanded="true"]::after { transform: rotate(180deg); opacity: 1; }
.ut-row-selected td { background: var(--ok-bg); }

.ut-sub-lines { display: flex; flex-direction: column; gap: 8px; }
.ut-sub-line { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ut-sub-label { font-size: 12.5px; color: var(--ink-mute); }
.ut-price-copy {
  display: inline-flex; align-items: baseline; gap: 5px; padding: 2px 7px; margin: -2px -7px;
  border-radius: var(--r-xs); border: 0; background: transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.ut-price-copy::after {
  content: ""; width: 13px; height: 13px; flex: none; align-self: center; opacity: .35; transition: opacity .15s ease;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ut-price-copy:hover { background: rgba(35, 34, 31, .055); }
.ut-price-copy:hover::after, .ut-price-copy:focus-visible::after { opacity: .75; }
.ut-price-copy.is-copied { background: var(--ok-bg-strong); color: var(--ok-ink); }
.ut-price-copy.is-copied::after {
  opacity: 1;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}
.ut-price { font-family: var(--ff-display); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; color: inherit; }
.ut-unit { font-size: 13px; color: var(--ink-mute); font-weight: 400; }
.ut-est { font-size: 12px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }

.ut-prev-line { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ut-delta { font-size: 12px; font-weight: 500; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.ut-delta--up { color: var(--delta-up-ink); }
.ut-delta--down { color: var(--ok-ink); }

.ut-drawer-row td {
  background: var(--paper); padding: 14px 24px; border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-soft);
}
.ut-drawer-row p { margin: 0 0 6px; max-width: 820px; }
.ut-drawer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 8px; }
.ut-empty-state { padding: 36px 24px; text-align: center; color: var(--ink-soft); }
.ut-faq-wrap { margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line); }
.ut-print-sheet { display: none; }

/* === Юридические документы === */
.legal-hero { padding-bottom: 18px; }
.legal-band { padding-top: 20px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 20px; }
.legal-nav {
  position: sticky; top: 96px; display: grid; gap: 4px; padding: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
}
.legal-nav a { padding: 9px 12px; border-radius: var(--r-sm); text-decoration: none; font-size: 14px; color: var(--ink-soft); }
.legal-nav a:hover { background: var(--paper); color: var(--ink); }
.legal-content {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 42px; min-width: 0;
}
.legal-content section + section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.legal-content h2 { font-family: var(--ff-display); font-size: 22px; font-weight: 600; line-height: 1.36; margin: 0 0 16px; }
.legal-content h3 { font-family: var(--ff-display); font-size: 18px; font-weight: 600; line-height: 1.36; margin: 0 0 12px; }
.legal-content p { font-size: 15.5px; line-height: 1.72; color: var(--ink-soft); margin: 0 0 16px; max-width: 68ch; }
.legal-content a { color: var(--link-accent); }
.legal-data { margin: 18px 0; display: grid; gap: 16px; }
.legal-data div { padding: 16px 18px; background: var(--paper); border-radius: var(--r-sm); }
.legal-data dt { font-weight: 500; font-size: 15px; margin-bottom: 5px; }
.legal-data dd { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

/* === Финальные блоки связи и формы === */
.final-band { background: var(--paper); padding: 72px 0; }
.band-paper + .final-band { padding-top: 8px; }
.final-band > .abc-container {
  background: var(--cta-bg); color: var(--paper);
  border-radius: var(--r-xl); padding: 44px 48px;
}
.final-band .inline-link { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.final-band .inline-link:hover { opacity: .86; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 68px; align-items: center; }
.final-grid > * { min-width: 0; }
.final-copy h2 { font-family: var(--ff-display); font-size: clamp(24px, 2.5vw, 31px); font-weight: 600; line-height: 1.28; letter-spacing: -.008em; margin: 0; }
.final-copy > p { font-size: 16px; line-height: 1.72; color: rgba(250, 248, 244, .82); margin: 18px 0 0; max-width: 48ch; }

.cta-compact-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-compact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 240px; }
.next-steps-row {
  margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; font-size: 14px; line-height: 1.6; color: rgba(250, 248, 244, .8);
}
.next-steps-row strong { display: block; color: var(--paper); font-family: var(--ff-mono); font-variant-numeric: tabular-nums; font-size: 13.5px; font-weight: 500; margin-bottom: 5px; }

.form-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 34px 36px; }
.band-white .form-card, .band-paper .form-card { border: 1px solid var(--line); }
.form-title { font-family: var(--ff-display); font-size: 21px; font-weight: 600; line-height: 1.36; letter-spacing: 0; margin: 0 0 20px; }
.field { display: grid; gap: 6px; align-content: start; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field label span { color: var(--ink-mute); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font-family: var(--ff-body); font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-control); border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field textarea { min-height: 82px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--line-control-hover); }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3.5px rgba(35, 34, 31, .08); outline: none; }
body[data-track="mkd"] .field input:focus,
body[data-track="mkd"] .field textarea:focus { border-color: var(--pine); box-shadow: 0 0 0 3.5px rgba(35, 83, 64, .12); }
.field input.is-valid { border-color: var(--ok-valid); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); margin: 6px 0 20px; cursor: pointer; }
.form-consent input[type="checkbox"] { margin: 2px 0 0; }
.form-consent a { color: var(--coral); }
.form-status { font-size: 13.5px; line-height: 1.5; margin: 12px 0 0; padding: 11px 13px; border-radius: var(--r-sm); display: none; }
.form-status.is-error { display: block; background: var(--coral-soft); color: var(--coral); }
.form-status.is-ok { display: block; background: var(--sage); color: var(--sage-ink); }
.form-card .btn { width: 100%; }

/* === Подвал === */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 68px 0 38px; }
.footer-top { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 48px; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-brand svg { width: 50px; height: 30px; color: var(--ink); }
.footer-brand span { font-family: var(--ff-display); font-size: 15px; font-weight: 600; }
.footer-col p { font-size: 13.5px; line-height: 1.65; color: var(--ink-mute); margin: 0 0 12px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin: 6px 0 16px; }
.footer-col .footer-address { font-size: 13px; line-height: 1.65; color: var(--ink-mute); margin: 14px 0 16px; }
.footer-links { display: grid; gap: 10px; justify-items: start; }
.footer-links a, .footer-contact-link { font-size: 14.5px; text-decoration: none; color: var(--ink-soft); transition: color .15s ease; }
.footer-links a:hover, .footer-contact-link:hover { color: var(--ink); text-decoration: underline; }
.footer-contacts { display: grid; gap: 11px; justify-items: start; }
.footer-phone { font-family: var(--ff-display); font-size: 18px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.3; }
.footer-hours { font-size: 13px; color: var(--ink-mute); margin: -4px 0 2px; }
.footer-email { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-mute);
}
.footer-legal { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--ink-soft); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* === Модальное окно заявки и уведомление === */
.modal {
  display: none; position: fixed; inset: 0; z-index: 9500;
  background: rgba(22, 22, 20, .54); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 20px; align-items: center; justify-content: center;
}
.modal.open { display: flex; animation: abcFadeIn .18s ease; }
.modal.open .modal-box { animation: abcModalIn .2s var(--ease-out); }
.modal-box {
  position: relative; width: 100%; max-width: 460px; background: var(--white);
  border-radius: var(--r-lg); padding: 28px; box-shadow: 0 24px 60px rgba(22, 22, 20, .32);
}
.modal-sub { margin: -10px 0 14px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px;
  border: 0; padding: 0; background: transparent; color: var(--ink-mute); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: rgba(35, 34, 31, .065); color: var(--ink); }

.abc-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); z-index: 9900;
  display: inline-flex; align-items: center; gap: 10px; max-width: min(440px, calc(100vw - 32px));
  background: rgba(35, 34, 31, .94); backdrop-filter: blur(10px); color: var(--paper);
  padding: 10px 10px 10px 12px; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .09);
  font-size: 14px; font-weight: 400; line-height: 1.4;
  box-shadow: 0 14px 36px rgba(22, 22, 20, .24);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.abc-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.abc-toast-ico {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(52, 199, 129, .2); color: var(--toast-ok);
}
.abc-toast-ico svg { width: 13px; height: 13px; display: block; }
.abc-toast[data-tone="info"] .abc-toast-ico { background: rgba(240, 179, 59, .22); color: var(--toast-info); }
.abc-toast[data-tone="error"] .abc-toast-ico { background: rgba(229, 98, 79, .22); color: var(--toast-err); }
.abc-toast-body { min-width: 0; }
.abc-toast-body strong { font-weight: 500; color: var(--paper); }
.abc-toast-close {
  flex: none; width: 24px; height: 24px; padding: 0; margin-left: 2px;
  border: 0; border-radius: var(--r-pill); background: transparent;
  color: rgba(250, 248, 244, .64); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.abc-toast-close:hover,
.abc-toast-close:focus-visible { background: rgba(255, 255, 255, .12); color: var(--paper); }
.abc-toast-close svg { width: 12px; height: 12px; display: block; pointer-events: none; }

.abc-top-btn {
  position: fixed; left: 20px; bottom: 20px; z-index: 7900;
  width: 42px; height: 42px; border-radius: 50%; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow-float);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease, border-color .15s ease;
}
.abc-top-btn.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.abc-top-btn:hover { background: var(--white); border-color: var(--line-btn-hover); }
.abc-top-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* === Утилиты сеток и ритма отступов === */
.grid-single,
.payroll-flow.grid-single,
.situations-editorial.grid-single { grid-template-columns: minmax(0, 1fr); }
.grid-full { grid-column: 1 / -1; }
.mt-xs { margin-top: 6px; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 20px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 40px; }
.mb-lg { margin-bottom: 24px; }

/* === Адаптив === */
@media (max-width: 1220px) {
  .header .inner { gap: 14px; }
  .nav > a, .nav-drop-btn { padding: 8px 11px; font-size: 14.5px; }
  .nav-drop-panel { width: 710px; padding: 18px 20px; }
  .nav-drop-panel--narrow { width: 340px; padding: 22px 26px; }
}

@media (max-width: 1080px) {
  :root { --gutter: 28px; }
  .nav, .header-right .header-phone, .header-right .btn-header { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--white); border: 1.5px solid var(--line); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; }
  .mobile-menu.open {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 9600;
    background: var(--paper); padding: 24px var(--gutter); overflow-y: auto;
    animation: abcFadeIn .18s ease;
  }
  .mm-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .mm-title { font-family: var(--ff-display); font-size: 17px; font-weight: 600; }
  .mm-close {
    width: 44px; height: 44px; padding: 0; border-radius: var(--r-sm); border: 1px solid var(--line);
    background: var(--white); color: var(--ink); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .ut-search-clear svg, .modal-close svg, .mm-close svg { display: block; pointer-events: none; }
  .mm-links { display: grid; gap: 4px; padding: 20px 0; }
  .mm-links a { font-size: 19px; font-weight: 500; text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .mm-links a[aria-current="page"] { color: var(--link-accent); font-weight: 600; }
  .mm-cta { margin-top: auto; display: grid; gap: 12px; padding-top: 20px; }

  .hero-grid, .cost-grid, .faq-wrap, .final-grid, .lp-hero-grid, .legal-layout, .editorial-split,
  .btq-showcase, .btq-wings, .btq-shelf, .btq-work-grid, .btq-island {
    grid-template-columns: minmax(0, 1fr); gap: 28px;
  }
  .editorial-sticky { position: static; }
  .facts-strip, .formula-strip, .related-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .facts-strip > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 20px; }
  .situations-editorial { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directions-strip, .btq-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .next-steps-row, .payroll-flow { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .abc-toast { bottom: 68px; }
  .abc-top-btn { left: auto; right: 16px; bottom: 68px; }
  body:has(.abc-toast.show) .abc-top-btn { opacity: 0; pointer-events: none; }
  .site-utility .inner { padding: 6px 0; }
  .page-hero { padding: 34px 0 48px; }
  .btq-hero { padding: 32px 0 48px; }
  .page-hero h1 { font-size: clamp(27px, 7.2vw, 34px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn, .btq-hero-actions .btn { width: 100%; }
  .band-white, .band-paper, .final-band, .btq-island-band { padding: 56px 0; }
  .start-steps, .reviews-grid, .footer-top,
  .cards-2, .roles-grid, .photo-grid,
  .directions-strip, .requisites-dl, .cc-grid, .cc-code-grid, .legal-nav,
  .btq-tiles, .btq-shelf-links, .btq-office-photos, .btq-reviews-grid {
    grid-template-columns: minmax(0, 1fr); gap: 22px;
  }
  .btq-wing, .btq-shelf, .btq-steps-card, .btq-island, .final-band > .abc-container,
  .hero-art, .facts-strip, .situation-open,
  .band-white > .abc-container > .start-steps,
  .band-paper > .abc-container > .start-steps { padding: 22px 20px; border-radius: var(--r-lg); }
  #faq > .abc-container > .faq-list { padding: 6px 20px; border-radius: var(--r-lg); }
  .price-dl-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .price-dl-row dd { justify-content: flex-start; text-align: left; }
  .price-row { flex-wrap: wrap; gap: 6px; }
  .price-val { text-align: left; }
  .price-box, .form-card, .service-card, .cc-editor, .legal-content { padding: 24px; }
  .cost-factors li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .faq-visual img { max-width: 240px; }
}
@media (max-width: 360px) { .brand-desc { display: none; } }

/* === Дополнения для боевой среды === */
.btn.is-busy { opacity: .72; cursor: wait; }
.field input.is-field-busy { border-color: var(--ink-mute); background: var(--paper); }
.cc-found-item {
  margin-top: 8px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--paper);
  display: grid; gap: 6px; justify-items: start;
}
.cc-found-item p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .ut-filter-row { grid-template-columns: minmax(0, 1fr); }
  .ut-controls, .ut-house-bar { padding-left: 16px; padding-right: 16px; }
  .ut-table th:first-child, .ut-table td:first-child { padding-left: 14px; }
  .ut-table th:last-child, .ut-table td:last-child { padding-right: 14px; }
  .ut-group-row td, .ut-drawer-row td { padding-left: 14px; padding-right: 14px; }
}

@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body.ut-page { background: var(--white); color: var(--ink); font-size: 10pt; }
  body.ut-page .site-utility,
  body.ut-page .header,
  body.ut-page .mobile-menu,
  body.ut-page #main,
  body.ut-page .footer,
  body.ut-page .abc-toast,
  body.ut-page .abc-top-btn { display: none; }
  body.ut-page .ut-print-sheet { display: block; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ut-print-head { border-top: 2.5pt solid var(--pine); padding-top: 8pt; margin-bottom: 10pt; }
  .ut-print-sheet h1 { font-size: 15pt; margin: 0 0 3pt; font-weight: 600; color: var(--ink); }
  .ut-print-meta { font-size: 9pt; color: var(--ink-soft); margin: 0; }
  .ut-print-period { font-weight: 600; color: var(--pine); }
  .ut-print-table { width: 100%; border-collapse: collapse; margin-bottom: 10pt; }
  .ut-print-table thead { display: table-header-group; }
  .ut-print-table tr { break-inside: avoid; page-break-inside: avoid; }
  .ut-print-table th, .ut-print-table td {
    border: 1px solid var(--line); padding: 5pt 7pt; text-align: left; vertical-align: top; font-size: 9pt;
  }
  .ut-print-table th { background: var(--paper); font-weight: 600; color: var(--ink-soft); font-size: 8.5pt; }
  .ut-print-group td {
    background: var(--sage); color: var(--pine); font-weight: 600; font-size: 9pt; padding: 4.5pt 7pt;
    break-after: avoid; page-break-after: avoid;
  }
  .ut-print-provider { font-weight: 600; color: var(--ink); line-height: 1.3; }
  .ut-print-cond { font-size: 8pt; color: var(--ink-soft); margin-top: 1.5pt; line-height: 1.3; }
  .ut-print-table th.ut-print-num, .ut-print-table td.ut-print-num { text-align: right; white-space: nowrap; }
  .ut-print-item + .ut-print-item { margin-top: 4pt; }
  .ut-print-sub { display: block; font-size: 7.5pt; color: var(--ink-mute); }
  .ut-print-price { font-weight: 600; font-size: 9.5pt; color: var(--ink); font-variant-numeric: tabular-nums; }
  .ut-print-unit { font-size: 8pt; color: var(--ink-soft); }
  .ut-print-est { display: block; font-size: 7.5pt; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
  .ut-print-prev-val { display: block; font-size: 8.5pt; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
  .ut-print-delta { display: block; font-size: 8pt; font-weight: 600; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
  .ut-print-delta--up { color: var(--delta-up-ink); }
  .ut-print-delta--down { color: var(--ok-ink); }
  .ut-print-act { font-size: 8pt; color: var(--ink-soft); line-height: 1.3; }
  .ut-print-footer {
    border-top: 1px solid var(--line); padding-top: 6pt; font-size: 8.5pt; color: var(--ink-mute);
  }
  .ut-print-footer a { color: inherit; text-decoration: none; }
}
