/* inter-selfhost:start (generated by build_local_fonts.py — do not edit) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-cyrillic-400.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-cyrillic-500.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin-500.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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-cyrillic-600.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-600.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;
}
/* inter-selfhost:end */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cyan: #a100d6;
  --cyan-dark: #0047d9;
  --accent-cta: var(--gradient-brand);
  --purple-soft: rgba(48, 50, 216, 0.075);
  --cyan-soft: var(--purple-soft);
  --link-underline: var(--purple-soft);
  --promo-border: var(--purple-soft);
  --accent-hover: #13002c;
  --focus-ring: rgba(1, 90, 254, 0.10);
  --bg: #f6f6fc;
  --surface: #ffffff;
  --surface-translucent: rgba(255, 255, 255, 0.92);
  --surface-soft-text: rgba(255, 255, 255, 0.80);
  --table-head-bg: #f6f8ff;
  --text: #100520;
  --text-secondary: #5a5368;
  --text-muted: #8e879b;
  --border: #e8e8f3;
  --gradient-nav: linear-gradient(221deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  --gradient-brand: linear-gradient(221deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  --gradient-hover: linear-gradient(221deg, var(--accent-hover) 0%, var(--accent-hover) 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 720px;
}

  html {
    scroll-padding-top: 78px;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

.logo {
  transform: scale(0.8);
  transform-origin: left center;
}

  /* ── NAV ── */
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface-translucent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
  }
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
  }
  .nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
  }
  .nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .15s;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-cta {
    font-size: 14px;
    font-weight: 500;
    background: var(--gradient-nav);
    color: var(--surface);
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
  }
  .nav-cta:hover { background: var(--gradient-hover); }
  .nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    transition: border-color .15s, background .15s;
  }
  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    border-color: var(--cyan);
    outline: none;
  }
  .nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    transition: transform .18s, opacity .18s;
  }
  .nav.is-open .nav-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.is-open .nav-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── BREADCRUMB ── */
  .breadcrumb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
  }
  .breadcrumb a { color: var(--text-muted); text-decoration: none; }
  .breadcrumb a:hover { color: var(--cyan); }
  .breadcrumb-sep { color: var(--border); }

  /* ── MAIN LAYOUT ── */
  .page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
  }
  .page > main { min-width: 0; }

  /* ── ARTICLE ── */
  article {}

  /* HERO */
  .article-hero {
    margin-bottom: 40px;
  }
  .article-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }
  .tag {
    font-size: 12px;
    font-weight: 500;
    background: var(--cyan-soft);
    color: var(--cyan-dark);
    padding: 4px 10px;
    border-radius: 100px;
    text-decoration: none;
    transition: background .15s;
  }
  .tag:hover { background: var(--cyan-soft); }
  .read-time {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .read-time svg { opacity: .5; }
  .article-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--text);
    margin-bottom: 16px;
  }
  .article-lead {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .article-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--cyan-soft);
    border: 1.5px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan-dark);
    flex-shrink: 0;
  }
  .author-info { flex: 1; }
  .author-name { font-size: 14px; font-weight: 500; }
  .author-date { font-size: 13px; color: var(--text-muted); }
  .article-share {
    display: flex;
    gap: 8px;
    margin-left: auto;
  }
  .share-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: border-color .15s, color .15s;
  }
  .share-btn:hover { border-color: var(--cyan); color: var(--cyan); }

  /* COVER */
  .article-cover {
    width: calc(100% / 1.5);
    margin: 28px auto 36px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cyan-soft);
    aspect-ratio: 1/1;
    position: relative;
  }
  .article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 13px;
    letter-spacing: 0.5px;
    font-weight: 500;
  }

  /* CONTENT */
  .article-body { color: var(--text); }
  .article-body h2 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    margin: 44px 0 16px;
    color: var(--text);
  }
  .article-body h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin: 32px 0 12px;
    color: var(--text);
  }
  .article-body h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 24px 0 10px;
    color: var(--text);
  }
  .article-body figure {
    margin: 28px 0;
  }
  .article-body figure img {
    width: calc(100% / 1.5);
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    margin-inline: auto;
    border-radius: var(--radius);
  }
  /* Скриншоты интерфейса в «Эксплуатации» (figure.operation-doc__figure).
     Правило выше режет любую картинку в КВАДРАТ с object-fit:cover — для кадров
     1920x890 это съедало 54% ширины, оставляя нечитаемый кусок середины.
     Здесь возвращаем натуральное соотношение и карточку, как в исходной теме
     WordPress (orbitai/css/main.css: белый фон, тень, радиус 24/12). */
  .article-body .operation-doc__figure {
    margin: 24px 0 0;
    padding: 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 19px 0 rgb(17 43 133 / 0.08);
  }
  .article-body .operation-doc__figure img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;   /* перебиваем 1/1 */
    object-fit: contain;  /* перебиваем cover */
    border-radius: 12px;
  }
  /* Скриншот открывается в полном размере: 1920px в колонке 724px читается плохо. */
  .article-body .operation-doc__figure a { display: block; cursor: zoom-in; }
  .article-body .operation-doc__figure figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
  }
  .article-body p {
    margin-bottom: 20px;
    color: var(--text);
  }
  .article-body p:last-child { margin-bottom: 0; }
  .article-body a { color: var(--cyan-dark); text-decoration: underline; text-decoration-color: var(--link-underline); }
  .article-body a:hover { text-decoration-color: var(--cyan); }
  .article-body ul, .article-body ol {
    margin: 0 0 20px 20px;
  }
  .article-body li { margin-bottom: 8px; }

  /* ЧЕК-ЛИСТ: список-карточка с галочками (как на скриншоте) */
  .article-body ul.checklist {
    list-style: none;
    margin: 28px 0;
    padding: 24px 28px;
    background: var(--cyan-soft);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .article-body ul.checklist li {
    position: relative;
    margin: 0;
    padding-left: 38px;
    line-height: 1.5;
    color: var(--text);
  }
  .article-body ul.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--cyan-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
  }

  /* BLOCKQUOTE */
  .article-body blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    background: var(--cyan-soft);
    border-left: 3px solid var(--cyan);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 17px;
    color: var(--text);
    font-style: normal;
    line-height: 1.65;
  }

  /* HIGHLIGHT BOX */
  .info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 28px 0;
  }
  .info-box-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cyan-dark);
    margin-bottom: 8px;
  }
  .info-box p { margin: 0; font-size: 15px; }

  /* ARTICLE TABLE */
  .article-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 30px 0;
    overflow: hidden;
  }
  .article-table-head {
    /* По горизонтали — 18px, ровно как padding ячеек ниже: иначе заголовок
       таблицы визуально не совпадает с левым краем текста колонок. */
    padding: 20px 18px;
    border-bottom: 1px solid var(--border);
  }
  .article-table-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cyan-dark);
    margin-bottom: 6px;
  }
  .article-table-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 6px;
  }
  .article-table-note {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
  }
  .article-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .article-table table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
  }
  .article-table th,
  .article-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.55;
  }
  .article-table th {
    background: var(--table-head-bg);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
  }
  .article-table tr:last-child td { border-bottom: none; }
  .article-table td:first-child {
    font-weight: 600;
    color: var(--text);
  }
  .table-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 100px;
    background: var(--cyan-soft);
    color: var(--cyan-dark);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }

  /* MATERIALS FORM */
  .materials-form {
    margin: 34px 0;
    padding: 26px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .materials-form-kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cyan-dark);
    margin-bottom: 8px;
  }
  .materials-form h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 8px;
  }
  .materials-form p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .materials-form-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
  }
  .form-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
  }
  .form-field input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    padding: 0 14px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
  }
  .form-field input:focus {
    border-color: var(--cyan-dark);
    box-shadow: 0 0 0 3px var(--focus-ring);
  }
  .materials-form button {
    height: 46px;
    border: none;
    border-radius: 8px;
    background: var(--accent-cta);
    color: var(--surface);
    font-size: 14px;
    font-weight: 600;
    padding: 0 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, transform .15s;
  }
  .materials-form button:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
  }
  .form-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
  }
  .form-consent input {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: var(--cyan-dark);
    flex-shrink: 0;
  }
  .form-consent a {
    color: inherit;
    text-decoration: underline;
  }
  .materials-form-success {
    display: none;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--cyan-soft);
    color: var(--cyan-dark);
    font-size: 13px;
    font-weight: 500;
  }
  .materials-form.is-sent .materials-form-success { display: block; }

  /* STAT CALLOUT */
  .stat-row {
    display: grid;
    /* Колонки по числу карточек, а не всегда три: одна карточка занимает всю
       ширину статьи, две — по половине, три — по трети. auto-fit схлопывает
       пустые дорожки, поэтому одиночная карточка не висит в трети ширины.
       min(100%, 220px) — чтобы на узком экране карточка не распирала сетку. */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
    margin: 28px 0;
  }
  .stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
  }
  .stat-num {
    font-size: 28px;
    font-weight: 600;
    color: var(--cyan-dark);
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 6px;
  }
  .stat-label { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }

  /* TOC (TABLE OF CONTENTS) */
  .toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 0 0 36px;
  }
  .toc-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
  }
  .toc ol { margin: 0; padding-left: 20px; }
  .toc li { margin-bottom: 6px; }
  .toc a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.5;
    transition: color .15s;
  }
  .toc a:hover { color: var(--cyan-dark); }

  /* ARTICLE FOOTER */
  .article-footer {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
  }
  .tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
  }
  .cta-block {
    background: var(--gradient-brand);
    border-radius: var(--radius);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  /* отступ CTA-формы от соседнего текста внутри статьи */
  .article-body .cta-block { margin: 36px 0; }
  /* CTA-форма, перенесённая в шапку на место блока автора */
  .article-hero .cta-block { margin: 8px 0 24px; }
  .cta-block-text {}
  .cta-block h3 { font-size: 18px; font-weight: 600; color: var(--surface); margin-bottom: 6px; }
  .cta-block p { font-size: 14px; color: var(--surface-soft-text); margin: 0; }
  .cta-block-btn {
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
  }
  .cta-block-btn:hover { opacity: .9; }

  /* LEAD FORM (внутри CTA-блоков и футера): имя + телефон */
  .cta-block .lead-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: none;
  }
  .cta-block .lead-form input[type="text"],
  .cta-block .lead-form input[type="tel"] {
    padding: 12px 14px;
    border: none;
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--surface);
    color: var(--text);
  }
  .cta-block .lead-form input::placeholder { color: var(--text-muted); }
  .cta-block .lead-form button {
    padding: 12px 18px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(221deg, rgba(161, 0, 214, 0.16) 0%, rgba(0, 71, 217, 0.16) 100%), var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity .15s, transform .15s;
  }
  .cta-block .lead-form button:hover { opacity: .9; transform: translateY(-1px); }
  .cta-block .lead-form .form-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.4;
    color: var(--surface);
    opacity: .92;
    cursor: pointer;
  }
  .cta-block .lead-form .form-consent input { margin-top: 2px; flex-shrink: 0; }
  /* состояние «отправлено»: прячем форму, показываем благодарность */
  .cta-block.is-sent .lead-form { display: none; }
  .form-thank { display: none; }
  .cta-block.is-sent .form-thank {
    display: block;
    color: var(--surface);
    font-size: 15px;
    line-height: 1.5;
    max-width: 340px;
  }

  /* RELATED */
  .related { margin-top: 52px; }
  .related h2 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
  .related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-decoration: none;
    color: var(--text);
    transition: border-color .15s, transform .15s;
    display: block;
  }
  .related-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
  .related-card-tag { font-size: 12px; color: var(--cyan-dark); font-weight: 500; margin-bottom: 8px; }
  .related-card-title { font-size: 15px; font-weight: 500; line-height: 1.45; margin-bottom: 0; }

  /* ── SIDEBAR ── */
  .sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }

  .sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
  }
  .sidebar-card h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
  }
  /* Блок «Эксперты»: цитата + автор */
  .expert-quote { margin: 0; }
  .expert-quote blockquote {
    margin: 0 0 14px;
    padding-left: 12px;
    border-left: 2px solid var(--cyan);
    font-size: 14px;
    line-height: 1.55;
    font-style: italic;
    color: var(--text);
  }
  .expert-quote figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .expert-name { font-size: 13px; font-weight: 600; color: var(--text); }
  .expert-role { font-size: 12px; color: var(--text-muted); }
  /* блок цитаты эксперта в теле статьи: мягкая заливка, без рамки */
  .article-body .article-experts {
    margin: 32px 0;
    padding: 22px 26px;
    background: var(--cyan-soft);
    border-radius: var(--radius);
    border-left: 4px solid var(--cyan);
  }
  .article-body .expert-quote blockquote {
    margin: 0 0 12px;
    padding: 0;
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1.55;
    font-style: italic;
    color: var(--text);
  }

  /* Sidebar TOC */
  .sidebar-toc { list-style: none; }
  .sidebar-toc li { margin-bottom: 2px; }
  .sidebar-toc a {
    display: block;
    font-size: 13.5px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 6px;
    line-height: 1.5;
    transition: background .12s, color .12s;
  }
  .sidebar-toc a:hover, .sidebar-toc a.active {
    background: var(--cyan-soft);
    color: var(--cyan-dark);
  }
  .sidebar-toc a.active { font-weight: 500; }

  /* Sidebar checklist promo */
  .sidebar-promo {
    background: var(--cyan-soft);
    border: 1px solid var(--promo-border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
  }
  .sidebar-promo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
  }
  .sidebar-promo h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
  .sidebar-promo p { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.5; }
  .sidebar-promo-btn {
    display: block;
    width: 100%;
    background: var(--gradient-brand);
    color: var(--surface);
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
  }
  .sidebar-promo-btn:hover { background: var(--accent-hover); }

  /* Progress bar */
  .progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    background: var(--gradient-brand);
    z-index: 200;
    transition: width .1s linear;
    width: 0%;
  }

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 36px 24px 30px;
  }
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 44px;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 230px;
    max-width: 280px;
  }
  .footer-logo {
    display: inline-flex;
    width: 150px;
  }
  .footer-logo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .footer-registry,
  .footer-links,
  .footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-content {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(130px, 0.7fr) minmax(240px, 1.5fr) minmax(190px, 0.9fr);
    gap: 30px;
  }
  .footer-registry a,
  .footer-links a,
  .footer-contacts a {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .15s;
  }
  .footer-registry a:hover,
  .footer-links a:hover,
  .footer-contacts a:hover {
    color: var(--text);
  }
  .footer-contact-action {
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--gradient-nav);
    color: var(--surface) !important;
    font-weight: 600;
  }
  .footer-contact-action:hover {
    background: var(--gradient-hover);
    color: var(--surface) !important;
  }
  .footer-copy {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
  }

  /* ── RESPONSIVE ── */
  @media (min-width: 901px) {
    .nav-inner { gap: 16px; }
    .nav-menu { gap: 18px; }
    .nav-links { gap: 13px; }
    .nav-links a { font-size: 12px; white-space: nowrap; }
    .nav-cta { padding-left: 13px; padding-right: 13px; font-size: 12px; }
  }
  @media (max-width: 900px) {
    .nav-inner {
      height: 58px;
      padding: 0 18px;
      gap: 16px;
    }
    .nav-toggle {
      display: flex;
    }
    .nav-menu {
      position: absolute;
      top: calc(100% + 10px);
      left: 18px;
      right: 18px;
      display: none;
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
      margin: 0;
      padding: 18px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: 0 18px 45px rgba(16, 5, 32, 0.12);
    }
    .nav.is-open .nav-menu {
      display: flex;
    }
    .nav-links {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .nav-links li + li {
      border-top: 1px solid var(--border);
    }
    .nav-links a {
      display: block;
      padding: 12px 0;
      font-size: 15px;
      line-height: 1.35;
    }
    .nav-cta {
      display: flex;
      justify-content: center;
      width: 100%;
      padding: 12px 18px;
      text-align: center;
    }
    .breadcrumb {
      padding: 16px 18px 0;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
    }
    .breadcrumb::-webkit-scrollbar {
      display: none;
    }
    .page {
      grid-template-columns: 1fr;
      padding: 28px 18px 64px;
      gap: 36px;
    }
    .article-title {
      font-size: 32px;
    }
    .sidebar {
      position: static;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: stretch;
    }
    .sidebar .sidebar-card:first-child {
      display: none;
    }
    /* Как в базовом правиле: колонки по числу карточек, но не уже 300px —
       на планшете это даёт максимум две в ряд, а одиночную карточку
       растягивает на всю ширину (жёсткие `1fr 1fr` держали её в половине). */
    .stat-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
    .related-grid { grid-template-columns: 1fr; }
    .footer-top {
      flex-direction: column;
      gap: 28px;
    }
    .footer-brand {
      max-width: none;
    }
    .footer-content {
      width: 100%;
      grid-template-columns: 1fr 1.5fr;
    }
  }
  @media (max-width: 600px) {
    body {
      font-size: 15px;
      line-height: 1.7;
    }
    .nav-inner {
      padding: 0 16px;
    }
    .nav-menu {
      left: 16px;
      right: 16px;
      padding: 16px;
    }
    .breadcrumb {
      padding-left: 16px;
      padding-right: 16px;
      font-size: 12px;
    }
    .page {
      padding: 24px 16px 56px;
      gap: 30px;
    }
    .article-hero {
      margin-bottom: 30px;
    }
    .article-title {
      font-size: 28px;
      line-height: 1.22;
      margin-bottom: 14px;
    }
    .article-lead {
      font-size: 16px;
      line-height: 1.6;
    }
    .article-author {
      align-items: flex-start;
    }
    .author-info {
      min-width: 0;
    }
    .author-date {
      line-height: 1.45;
    }
    .article-cover {
      width: 100%;
      margin: 24px 0 30px;
      aspect-ratio: 1/1;
      border-radius: 10px;
    }
    .article-body figure img { width: 100%; }
    .article-body .operation-doc__figure { padding: 8px; border-radius: 16px; margin-top: 16px; }
    .article-body .operation-doc__figure figcaption { font-size: 12px; margin-top: 8px; }
    .cover-placeholder {
      padding: 18px;
      text-align: center;
      line-height: 1.45;
    }
    .toc,
    .info-box,
    .article-table,
    .materials-form,
    .sidebar-card,
    .sidebar-promo,
    .related-card {
      border-radius: 10px;
    }
    .toc,
    .info-box,
    .article-table-head,
    .related-card {
      padding: 18px;
    }
    .article-body h2 {
      font-size: 21px;
      margin-top: 36px;
    }
    .article-body h3 {
      font-size: 16px;
      margin-top: 28px;
    }
    .article-body blockquote {
      margin: 26px 0;
      padding: 18px;
      font-size: 16px;
    }
    .article-body ul,
    .article-body ol {
      margin-left: 18px;
    }
    .article-table th,
    .article-table td {
      padding: 14px 16px;
      font-size: 13px;
    }
    .stat-row { grid-template-columns: 1fr; }
    .stat-card {
      padding: 18px;
    }
    .cta-block {
      flex-direction: column;
      align-items: flex-start;
      padding: 24px 22px;
    }
    .cta-block-btn {
      width: 100%;
      text-align: center;
    }
    .cta-block .lead-form { max-width: none; }
    .article-share { display: none; }
    .materials-form { padding: 22px 18px; }
    .materials-form-fields { grid-template-columns: 1fr; }
    .materials-form button { width: 100%; }
    .sidebar {
      display: flex;
    }
    footer {
      padding-left: 16px;
      padding-right: 16px;
    }
    .footer-content {
      grid-template-columns: 1fr;
      gap: 22px;
    }
    .footer-brand,
    .footer-registry,
    .footer-links,
    .footer-contacts {
      width: 100%;
    }
    .footer-contact-action {
      width: 100%;
      justify-content: center;
      text-align: center;
    }
  }
  @media (max-width: 420px) {
    .article-title {
      font-size: 26px;
    }
    .article-meta-top {
      gap: 8px;
    }
    .materials-form h3,
    .related h2 {
      font-size: 19px;
    }
  }

  /* ── Модалка «Заказать звонок» (js/callback.js). Порт модалки исходной темы. ── */
  .callback-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(16, 5, 32, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    overflow-y: auto;
  }
  .callback-overlay[hidden] { display: none; }
  .callback-dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: var(--surface);
    border-radius: 20px;
    padding: 40px 44px 28px;
    box-shadow: 0 24px 60px rgba(17, 43, 133, 0.22);
  }
  .callback-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: none;
    color: var(--cyan-dark);
    cursor: pointer;
    border-radius: 8px;
    transition: background .15s;
  }
  .callback-close:hover { background: var(--purple-soft); }
  .callback-dialog h3 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin: 0 40px 24px 0;
  }
  .callback-field { margin-bottom: 22px; }
  .callback-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
  }
  .callback-field input {
    width: 100%;
    padding: 15px 18px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
  }
  .callback-field input:focus {
    border-color: var(--cyan-dark);
    box-shadow: 0 0 0 3px var(--focus-ring);
  }
  .callback-field input:user-invalid {
    border-color: #d64545;
  }
  .callback-when { margin-bottom: 24px; }
  .callback-when > p {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 14px;
  }
  .callback-when-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
  }
  .callback-radios { display: flex; gap: 20px; }
  .callback-radios label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text);
    cursor: pointer;
  }
  .callback-radios input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--cyan-dark);
    cursor: pointer;
  }
  .callback-time {
    padding: 9px 34px 9px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M1.33 5.35 2.51 4.17 8 9.65l5.48-5.48 1.18 1.18L8 12.02 1.33 5.35Z' fill='%2313002C'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }
  .callback-time:disabled {
    color: var(--text-muted);
    background-color: var(--bg);
    cursor: not-allowed;
    opacity: .7;
  }
  .callback-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  .callback-submit {
    padding: 15px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: var(--surface);
    background: var(--gradient-brand);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .15s;
  }
  .callback-submit:hover { background: var(--gradient-hover); }
  .callback-submit:disabled { opacity: .7; cursor: default; }
  .callback-tel {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-secondary);
  }
  .callback-tel a { color: var(--cyan-dark); text-decoration: none; font-weight: 600; }
  .callback-tel a:hover { text-decoration: underline; }
  .callback-thank {
    padding: 16px 0 4px;
    font-size: 16px;
    color: var(--text);
  }
  .callback-consent {
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
  }
  .callback-consent a { color: var(--cyan-dark); text-decoration: none; }
  .callback-consent a:hover { text-decoration: underline; }

  @media (max-width: 560px) {
    .callback-dialog { padding: 30px 22px 22px; border-radius: 16px; }
    .callback-dialog h3 { font-size: 21px; margin-right: 30px; }
    .callback-when-row { gap: 14px; }
    .callback-actions { gap: 16px; }
    .callback-submit { width: 100%; }
  }
