/**
 * Делаем Структуру — общие стили сайта v2
 * Подключается только на маршрутах /new/* через wp_enqueue_scripts.
 * Не дублировать эти правила в шаблонах.
 *
 * Дизайн-токены задаются в :root (см. DESIGN-CODE.md).
 * Шрифты: IBM Plex Sans (основной) + IBM Plex Mono (метаданные, цифры).
 */

/* ── 1. CSS-переменные (Design Tokens) ────────────────────────────────────── */
:root {
  --graphite:   #0B0E14;
  --graphite-2: #1B212B;
  --white:      #FFFFFF;
  --yellow:     #FFE600;
  --soft:       #F3F4F6;
  --line:       #D9DCE1;
  --muted:      #5A6270;
  --muted-dark: #A3AAB6;

  --font:  'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:  'IBM Plex Mono', SFMono-Regular, Consolas, monospace;

  --fs:        18px;
  --container: 1240px;
  --gutter:    24px;
  --section:   72px;
  --radius:    4px;
}

/* ── 2. Базовый сброс ────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs);
  line-height: 1.6;
  color: var(--graphite);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── 3. Контейнер ────────────────────────────────────────────────────────── */
.ds-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 1024px) { .ds-container { padding: 0 32px; } }
@media (max-width: 768px)  { .ds-container { padding: 0 20px; } }

/* ── 4. Секции ───────────────────────────────────────────────────────────── */
.sec-v2        { padding: var(--section) 0; }
.sec-v2-border { border-bottom: 1px solid var(--line); }
.sec-v2-soft   { background: var(--soft); }
.sec-v2-dark   { background: var(--graphite); color: var(--white); }

.sec-v2-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--graphite);
  padding-bottom: 16px;
}
.sec-v2-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--graphite);
  letter-spacing: -0.4px;
}
.sec-v2-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--graphite);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── 5. Кнопки ───────────────────────────────────────────────────────────── */
/* Жёлтая кнопка — только на тёмном фоне или как главный CTA */
.btn-v2-yellow {
  background: var(--yellow);
  color: var(--graphite);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--yellow);
  cursor: pointer;
  line-height: 1;
  min-height: 48px;
  transition: opacity 0.15s, background 0.15s;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-v2-yellow:hover {
  background: #FFE81A;
  opacity: 0.96;
}
.btn-v2-yellow:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Контурная кнопка (ghost) — на тёмном фоне */
.btn-v2-ghost {
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 27px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  line-height: 1;
  min-height: 48px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-v2-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.btn-v2-ghost:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* Тёмная кнопка — на белом фоне */
.btn-v2-dark {
  background: var(--graphite);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  display: inline-block;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.15s;
  text-decoration: none;
}
.btn-v2-dark:hover { opacity: 0.85; }

/* Белая ссылка с подчёркиванием */
.link-v2-white {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.4);
  transition: text-decoration-color 0.15s;
}
.link-v2-white:hover { text-decoration-color: var(--white); }

/* ── 6. Хлебные крошки ───────────────────────────────────────────────────── */
.ds-breadcrumb {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ds-breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.ds-breadcrumb a:hover { color: var(--graphite); }
.ds-breadcrumb-sep { opacity: 0.5; }

/* ── 7. Типографика контента статей ──────────────────────────────────────── */
.ds-article-title {
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  color: var(--graphite);
}
.ds-article-meta,
.post-v2-meta {
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.ds-article-thumb {
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}

.ds-article-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--graphite);
}

/* Абзацы */
.ds-article-body p {
  margin-bottom: 20px;
  line-height: 1.6;
}
.ds-article-body p:empty,
.ds-article-body p:blank {
  display: none;
  margin: 0;
  padding: 0;
}

/* Заголовки */
.ds-article-body h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--graphite);
  margin: 48px 0 18px;
}
.ds-article-body h2:first-child {
  margin-top: 0;
}
.ds-article-body h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--graphite);
  margin: 36px 0 14px;
}
.ds-article-body h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--graphite);
  margin: 30px 0 12px;
}
.ds-article-body h5,
.ds-article-body h6 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--graphite);
  margin: 24px 0 10px;
}

/* Gutenberg выделенные заголовки с фоном */
.ds-article-body h2.has-background,
.ds-article-body h3.has-background,
.ds-article-body h4.has-background {
  padding: 12px 18px;
  border-radius: var(--radius);
  margin-top: 36px;
  margin-bottom: 20px;
  line-height: 1.35;
}
.ds-article-body .has-accent-1-background-color {
  background-color: var(--yellow) !important;
  color: var(--graphite) !important;
}

/* Списки */
.ds-article-body ul,
.ds-article-body ol {
  margin: 16px 0 22px 24px;
  padding: 0;
}
.ds-article-body li {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--graphite);
}
.ds-article-body li:last-child {
  margin-bottom: 0;
}
.ds-article-body li > ul,
.ds-article-body li > ol {
  margin: 8px 0 8px 20px;
}

/* Цитаты */
.ds-article-body blockquote,
.ds-article-body .wp-block-quote {
  border-left: 3px solid var(--yellow);
  background: var(--soft);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: normal;
}
.ds-article-body blockquote p,
.ds-article-body .wp-block-quote p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--graphite);
  margin-bottom: 8px;
}
.ds-article-body blockquote p:last-child,
.ds-article-body .wp-block-quote p:last-child {
  margin-bottom: 0;
}
.ds-article-body blockquote p:last-child:not(:first-child),
.ds-article-body .wp-block-quote p:last-child:not(:first-child) {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 10px;
}
.ds-article-body blockquote cite,
.ds-article-body .wp-block-quote cite {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  font-style: normal;
  margin-top: 10px;
}

/* Врезки / заметки (is-style-text-annotation) */
.ds-article-body .is-style-text-annotation {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 24px 0;
}
.ds-article-body .is-style-text-annotation em,
.ds-article-body .is-style-text-annotation i {
  color: var(--graphite);
  font-style: normal;
}

/* Изображения и фигуры */
.ds-article-body figure,
.ds-article-body .wp-block-image {
  margin: 32px 0;
}
.ds-article-body figure img,
.ds-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}
.ds-article-body figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
  line-height: 1.4;
}

/* Таблицы */
.ds-article-body table,
.ds-article-body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.5;
}
.ds-article-body th {
  background: var(--graphite);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.ds-article-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--graphite);
}
.ds-article-body tr:nth-child(even) td {
  background: #FAFAFB;
}

/* Ссылки внутри статьи */
.ds-article-body a {
  color: var(--graphite);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.ds-article-body a:hover {
  color: #000;
  text-decoration-color: var(--graphite);
}

/* Разделители */
.ds-article-body hr,
.ds-article-body .wp-block-separator {
  border: none;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

/* Код */
.ds-article-body code {
  font-family: var(--mono);
  font-size: 15px;
  background: var(--soft);
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--graphite);
}
.ds-article-body pre {
  background: var(--graphite);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 28px 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
}
.ds-article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Адаптивность для статей */
@media (max-width: 768px) {
  .ds-article-title {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .ds-article-body {
    font-size: 16px;
    line-height: 1.6;
  }
  .ds-article-body p {
    margin-bottom: 16px;
    line-height: 1.6;
  }
  .ds-article-body h2 {
    font-size: 22px;
    line-height: 1.3;
    margin: 36px 0 14px;
  }
  .ds-article-body h3 {
    font-size: 19px;
    line-height: 1.35;
    margin: 28px 0 12px;
  }
  .ds-article-body h4 {
    font-size: 16.5px;
    line-height: 1.45;
    margin: 24px 0 10px;
  }
  .ds-article-body blockquote,
  .ds-article-body .wp-block-quote {
    padding: 16px 18px;
    margin: 24px 0;
  }
  .ds-article-body blockquote p,
  .ds-article-body .wp-block-quote p {
    font-size: 16px;
    line-height: 1.55;
  }
  .ds-article-body ul,
  .ds-article-body ol {
    margin: 14px 0 18px 20px;
  }
  .ds-article-body li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 6px;
  }
}

/* ── 8. Шапка сайта ──────────────────────────────────────────────────────── */
.ds-site-header {
  background: var(--graphite);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid var(--graphite-2);
}
.ds-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.ds-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.ds-brand-mark {
  width: 14px;
  height: 14px;
  background: var(--yellow);
  display: inline-block;
  border-radius: 1px;
  flex-shrink: 0;
}

.ds-nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.ds-nav-menu a {
  font-size: 15px;
  color: var(--muted-dark);
  transition: color 0.15s;
  white-space: nowrap;
}
.ds-nav-menu a:hover,
.ds-nav-menu a.active { color: var(--white); }

.ds-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ds-btn-header-discuss {
  background: var(--yellow);
  color: var(--graphite);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: opacity 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.ds-btn-header-discuss:hover { opacity: 0.92; }

/* Мобильное меню */
.ds-nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.ds-nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.ds-nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ds-nav-burger.open span:nth-child(2) { opacity: 0; }
.ds-nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ds-nav-drawer {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--graphite-2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 499;
  padding: 20px 20px 24px;
}
.ds-nav-drawer.open { display: block; }
.ds-nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ds-nav-drawer ul li a {
  display: block;
  font-size: 17px;
  color: var(--muted-dark);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.ds-nav-drawer ul li:last-child a { border-bottom: none; }
.ds-nav-drawer ul li a:hover,
.ds-nav-drawer ul li a.active { color: var(--white); }
.ds-nav-drawer-cta {
  margin-top: 16px;
}
.ds-nav-drawer-cta .btn-v2-yellow {
  display: block;
  text-align: center;
  width: 100%;
}

@media (max-width: 1024px) { .ds-nav-menu { gap: 18px; } }
@media (max-width: 768px) {
  .ds-nav-menu   { display: none; }
  .ds-btn-header-discuss { display: none; }
  .ds-nav-burger { display: flex; }
}

/* ── 9. Подвал ───────────────────────────────────────────────────────────── */
.ds-v2-footer {
  background: var(--graphite);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 36px 0 28px;
  font-family: var(--font);
}
.ds-v2-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.ds-v2-footer-brand-col { flex: 1.4; max-width: 620px; }
.ds-v2-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.ds-v2-footer-logo span { color: var(--yellow); }
.ds-v2-footer-positioning {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}
.ds-v2-footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
  margin-bottom: 16px;
}
.ds-v2-footer-info {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.ds-v2-footer-req {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.ds-v2-footer-req a {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.ds-v2-footer-req a:hover { color: var(--yellow); }
.ds-v2-footer-disclaimer {
  font-size: 11.5px;
  color: rgba(255,255,255,0.3);
  line-height: 1.55;
  max-width: 580px;
}
.ds-v2-footer-nav-col {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}
.ds-v2-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ds-v2-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.ds-v2-footer-links a:hover { color: var(--yellow); }

@media (max-width: 900px) {
  .ds-v2-footer-inner     { flex-direction: column; gap: 28px; }
  .ds-v2-footer-nav-col   { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .ds-v2-footer           { padding: 28px 0 24px; }
  .ds-v2-footer-links     { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
}

/* ── 10. Направления (таблица услуг) ─────────────────────────────────────── */
.dirs-v2-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.dir-v2-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.dir-v2-row:hover { background: var(--soft); margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
.dir-v2-num {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--yellow);
  /* жёлтый на белом нечитабелен — добавляем тёмный текст-тень */
  text-shadow: 0 0 0 var(--graphite);
  color: var(--graphite);
}
/* Жёлтый маркер рядом с номером */
.dir-v2-num::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 1px;
  margin-right: 8px;
  vertical-align: middle;
}
.dir-v2-name { font-size: 20px; font-weight: 600; color: var(--graphite); }
.dir-v2-name a { text-decoration: none; }
.dir-v2-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dir-v2-desc { font-size: 15px; color: var(--muted); line-height: 1.55; }
.dir-v2-action { white-space: nowrap; }

@media (max-width: 900px) {
  .dir-v2-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .dir-v2-desc, .dir-v2-action { grid-column: 2; }
}
@media (max-width: 600px) {
  .dir-v2-row { grid-template-columns: 1fr; }
  .dir-v2-num { font-size: 14px; }
}

/* ── 11. Блок заявки и формы обратной связи (v2) ───────────────────────── */
.cta-v2-sec {
  background: var(--graphite);
  color: var(--white);
  padding: 80px 0;
}
.cta-v2-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-v2-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cta-v2-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-v2-desc {
  font-size: 18px;
  color: var(--muted-dark);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 540px;
}
.cta-v2-trust {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-dark);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.cta-v2-box {
  background: #141923;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 3px solid #E52E2E;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 38px 34px;
  box-sizing: border-box;
  position: relative;
}
.cta-v2-form-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.cta-v2-form-desc {
  font-size: 15px;
  color: var(--muted-dark);
  margin-bottom: 24px;
  line-height: 1.5;
}
.cta-v2-field {
  margin-bottom: 18px;
  position: relative;
}
.cta-v2-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.cta-v2-label .optional {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted-dark);
  margin-left: 4px;
}
.cta-v2-label .required {
  color: var(--yellow);
  margin-left: 2px;
}
.cta-v2-input {
  width: 100%;
  height: 58px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  font-family: var(--font);
  font-size: 17px;
  line-height: 56px;
  color: var(--graphite);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cta-v2-input::placeholder {
  color: #9CA3AF;
  font-size: 16px;
}
.cta-v2-input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px var(--yellow);
}
.cta-v2-input.is-invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 1px #EF4444;
}
.cta-v2-field-error {
  display: none;
  font-size: 13px;
  color: #F87171;
  margin-top: 6px;
  line-height: 1.4;
}
.cta-v2-field-error.is-visible {
  display: block;
}
textarea.cta-v2-input {
  height: auto;
  min-height: 100px;
  padding: 14px 18px;
  line-height: 1.5;
  resize: vertical;
}

/* Чекбокс согласия на обработку ПД (152-ФЗ) */
.cta-v2-consent {
  margin: 22px 0 24px;
  position: relative;
}
.cta-v2-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.cta-v2-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cta-v2-checkbox-box {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1.5px solid #D1D5DB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.cta-v2-checkbox-label:hover .cta-v2-checkbox-box {
  border-color: #E52E2E;
}
.cta-v2-checkbox:focus-visible + .cta-v2-checkbox-box {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.cta-v2-checkbox:checked + .cta-v2-checkbox-box {
  background: #E52E2E;
  border-color: #E52E2E;
}
.cta-v2-checkbox-box.is-invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4);
}
.cta-v2-checkbox-check {
  width: 14px;
  height: 14px;
  display: none;
}
.cta-v2-checkbox:checked + .cta-v2-checkbox-box .cta-v2-checkbox-check {
  display: block;
}
.cta-v2-checkbox-text {
  font-size: 14px;
  line-height: 1.5;
  color: #E5E7EB;
}
.cta-v2-checkbox-text a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.cta-v2-checkbox-text a:hover {
  color: var(--yellow);
}

/* Кнопка отправки формы (Красная, акцентная) */
.cta-v2-submit-btn {
  width: 100%;
  height: 60px;
  background: #E52E2E;
  color: #FFFFFF;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 24px;
  box-shadow: 0 4px 16px rgba(229, 46, 46, 0.4);
  transition: opacity 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-v2-submit-btn:hover:not(:disabled) {
  background: #D32525;
  box-shadow: 0 6px 20px rgba(229, 46, 46, 0.5);
  transform: translateY(-1px);
}
.cta-v2-submit-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(229, 46, 46, 0.35);
}
.cta-v2-submit-btn:disabled {
  background: #7F1D1D;
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.cta-v2-btn-red {
  background: #E52E2E;
  color: #FFFFFF;
}

.cta-v2-privacy {
  font-size: 12px;
  color: var(--muted-dark);
  margin-top: 14px;
  line-height: 1.45;
  text-align: center;
}
.cta-v2-privacy a {
  color: var(--muted-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.cta-v2-privacy a:hover {
  color: var(--white);
}

.ds-form-status {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  margin-top: 12px;
  line-height: 1.4;
  text-align: center;
  transition: all 0.2s ease;
}

.cta-v2-success-box {
  display: none;
  text-align: center;
  padding: 32px 16px 20px;
}
.cta-v2-success-box.is-visible {
  display: block;
}
.cta-v2-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 230, 0, 0.12);
  border: 1px solid rgba(255, 230, 0, 0.35);
  color: var(--yellow);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}
.cta-v2-success-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.cta-v2-success-text {
  font-size: 16px;
  color: var(--muted-dark);
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .cta-v2-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .cta-v2-desc {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .cta-v2-sec {
    padding: 56px 0;
  }
  .cta-v2-box {
    padding: 24px 18px;
  }
  .cta-v2-title {
    font-size: 28px;
  }
  .cta-v2-desc {
    font-size: 16px;
    margin-bottom: 22px;
  }
  .cta-v2-trust {
    font-size: 13px;
  }
  .cta-v2-form-title {
    font-size: 21px;
  }
  .cta-v2-input {
    height: 56px;
    line-height: 54px;
    font-size: 16px;
    padding: 0 14px;
  }
  .cta-v2-submit-btn {
    height: 56px;
    font-size: 17px;
  }
}

/* ── 12. Главная страница (front-page) ──────────────────────────────────── */

/* Hero */
.hero-v2 {
  background: var(--graphite);
  color: var(--white);
  padding: 44px 0 52px;
  border-bottom: 1px solid var(--graphite-2);
}
.hero-v2-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-v2-descriptor {
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 500;
  color: var(--muted-dark);
  margin-bottom: 16px;
  letter-spacing: 0.2px;
  line-height: 1.4;
}
.hero-v2-title {
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 18px;
  max-width: 620px;
  text-wrap: balance;
}
.hero-v2-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.5;
  color: var(--muted-dark);
  margin-bottom: 28px;
  max-width: 580px;
}
.hero-v2-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-v2-meta {
  font-size: 13px;
  color: var(--muted-dark);
  line-height: 1.4;
  margin-top: 12px;
}

/* Маршрут пациента (правая колонка Hero) */
.hero-v2-route-box {
  background: var(--graphite-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.hero-v2-route-title {
  font-size: 13px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
}
.route-v2-list {
  display: flex;
  flex-direction: column;
  position: relative;
}
.route-v2-list::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 20px;
  left: 11px;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
}
.route-v2-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  margin-bottom: 20px;
}
.route-v2-item:last-child {
  margin-bottom: 0;
}
.route-v2-node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--graphite-2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  z-index: 2;
  margin-top: 2px;
}
.route-v2-node.is-alert {
  background: var(--yellow);
  border-color: var(--yellow);
}
.route-v2-info {
  flex: 1;
}
.route-v2-name {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 4px;
}
.route-v2-item-muted .route-v2-name {
  color: #DDE2EB;
  font-size: 15px;
}
.route-v2-metric {
  font-family: var(--font);
  font-size: 14px;
  color: #A3AAB6;
  line-height: 1.4;
}

/* Активный шаг маршрута */
.route-v2-stat-row {
  margin: 8px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.route-v2-stat-from {
  font-family: var(--font);
  font-size: clamp(32px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  color: #A3AAB6;
}
.route-v2-stat-arrow {
  font-family: var(--font);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 400;
  color: #A3AAB6;
  margin: 0 4px;
}
.route-v2-stat-to {
  font-family: var(--font);
  font-size: clamp(32px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--yellow);
}
.route-v2-stat-desc {
  font-family: var(--font);
  font-size: 14px;
  color: #DDE2EB;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.route-v2-case-note {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 2px;
}
.route-v2-loss-wrap {
  margin-top: 6px;
}
.route-v2-loss {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 230, 0, 0.15);
  color: var(--yellow);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-weight: 500;
}

/* Этапы работы */
.steps-v2-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.step-v2-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-v2-badge {
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.step-v2-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 10px;
  line-height: 1.3;
}
.step-v2-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* Точки скрытых потерь клиники */
.losses-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 32px;
}
.loss-v2-card {
  background: #FFFDFD;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.loss-v2-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: #DC2626;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.loss-v2-badge::before {
  content: "✕";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #FEE2E2;
  border-radius: 50%;
  font-size: 10px;
}
.loss-v2-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
  line-height: 1.35;
}
.loss-v2-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.loss-v2-impact {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #DC2626;
  background: #FEE2E2;
  padding: 4px 8px;
  border-radius: 2px;
  margin-top: 14px;
  display: inline-block;
  align-self: flex-start;
}

/* Сквозная схема процессов */
.proc-chain-wrap {
  background: var(--white);
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 36px;
}
.proc-chain-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 10px;
}
.proc-chain-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.proc-step {
  background: var(--soft);
  border: 1.5px solid var(--graphite);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.proc-step-top {
  margin-bottom: 16px;
}
.proc-step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}
.proc-step-role {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 2px;
  color: var(--graphite);
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.proc-step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
  line-height: 1.3;
}
.proc-step-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}
.proc-step-control {
  background: var(--yellow);
  border: 1.5px solid var(--graphite);
  border-radius: 2px;
  padding: 10px 12px;
  margin-top: auto;
}
.proc-step-control-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--graphite);
  display: block;
  margin-bottom: 3px;
}
.proc-step-control-val {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.35;
}

/* Примеры внедряемых решений */
.solutions-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.solution-v2-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--graphite);
}
.solution-v2-card.accent {
  border-top-color: var(--yellow);
}
.solution-v2-badge {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  font-weight: 600;
}
.solution-v2-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--graphite);
  margin-bottom: 12px;
}
.solution-v2-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.solution-v2-stat {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--graphite);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.solution-v2-stat-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 4px;
}

/* Кейсы на главной */
.case-v2-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  margin-top: 24px;
  align-items: start;
}
.case-v2-tag {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.case-v2-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--graphite);
  margin-bottom: 16px;
}
.case-v2-desc {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.case-v2-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.metric-v2-val {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.1;
  margin-bottom: 4px;
}
.metric-v2-lbl {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* Рабочие материалы (табы) */
.materials-v2-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.mat-v2-header {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  overflow-x: auto;
}
.mat-v2-tab-btn {
  padding: 12px 18px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  transition: all 0.15s;
}
.mat-v2-tab-btn.active {
  background: var(--graphite);
  color: var(--white);
  font-weight: 600;
}
.mat-v2-body {
  padding: 28px;
}
.mat-v2-view {
  display: none;
}
.mat-v2-view.active {
  display: block;
}

/* Статьи на главной */
.articles-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.art-v2-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s;
  text-decoration: none;
}
.art-v2-card:hover {
  border-color: var(--graphite);
}
.art-v2-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.art-v2-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.4;
  margin-bottom: 12px;
}
.art-v2-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.art-v2-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  background: var(--graphite);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--graphite);
  text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.art-v2-btn .btn-arrow {
  font-family: var(--mono);
  font-weight: 600;
  transition: transform 0.15s;
}
.art-v2-card:hover .art-v2-btn {
  background: var(--yellow);
  color: var(--graphite);
  border-color: var(--yellow);
}
.art-v2-card:hover .art-v2-btn .btn-arrow {
  transform: translateX(4px);
}

/* Адаптивность главной страницы */
@media (max-width: 1024px) {
  .hero-v2-grid      { grid-template-columns: 1fr; gap: 36px; }
  .hero-v2           { padding: 40px 0 48px; }
  .steps-v2-row      { grid-template-columns: repeat(2, 1fr); }
  .losses-v2-grid    { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .proc-chain-steps  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .solutions-v2-grid { grid-template-columns: 1fr; gap: 20px; }
  .case-v2-grid      { grid-template-columns: 1fr; }
  .articles-v2-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-v2           { padding: 28px 0 36px; }
  .hero-v2-grid      { gap: 28px; }
  .hero-v2-title     { font-size: clamp(26px, 7vw, 34px); margin-bottom: 14px; }
  .hero-v2-lead      { font-size: 16px; margin-bottom: 22px; }
  .hero-v2-actions   {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-v2-actions .btn-v2-yellow,
  .hero-v2-actions .btn-v2-ghost {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-v2-meta {
    text-align: center;
    margin-top: 8px;
  }
  .hero-v2-route-box {
    padding: 20px 18px;
  }
  .hero-v2-route-title {
    margin-bottom: 16px;
    padding-bottom: 10px;
  }
  .route-v2-list::before {
    display: none;
  }
  .route-v2-item-muted {
    display: none;
  }
  .route-v2-item-active {
    margin-bottom: 0;
  }
  .steps-v2-row      { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .losses-v2-grid    { grid-template-columns: 1fr; }
  .proc-chain-steps  { grid-template-columns: 1fr; }
  .proc-chain-wrap   { padding: 20px 16px; }
}

/* ── 13. О бюро (page-about) ────────────────────────────────────────────── */
.about-v2-hero {
  padding: 48px 0 40px;
}
.about-v2-crumb {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.about-v2-crumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-v2-title {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--graphite);
}
.about-v2-lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 980px;
  margin-bottom: 40px;
}

/* Сетка показателей масштаба */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.about-stat-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  border-top: 3px solid var(--graphite);
}
.about-stat-card.accent {
  border-top-color: var(--yellow);
}
.about-stat-num {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--graphite);
  margin-bottom: 10px;
}
.about-stat-label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* Секция экспертов */
.about-sec-head {
  margin-bottom: 28px;
  border-bottom: 2px solid var(--graphite);
  padding-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.about-sec-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--graphite);
  letter-spacing: -0.3px;
}
.about-sec-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.experts-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
.expert-v2-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 100px;
}
.expert-v2-photo-wrap {
  width: 100%;
  height: 380px;
  background: #2B2D33;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.expert-v2-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.3s ease;
}
.expert-v2-card:hover .expert-v2-photo {
  transform: scale(1.02);
}
.expert-v2-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.expert-v2-badge {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.expert-v2-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--yellow);
  display: inline-block;
  border-radius: 1px;
  flex-shrink: 0;
}
.expert-v2-name {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--graphite);
  margin-bottom: 8px;
}
.expert-v2-role {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 18px;
}
.expert-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.expert-v2-tag {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--soft);
  color: var(--graphite);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}
.expert-v2-bio {
  font-size: 15px;
  line-height: 1.65;
  color: #2F343E;
  margin-bottom: 24px;
  flex-grow: 1;
}
.expert-v2-bio p {
  margin-bottom: 12px;
}
.expert-v2-bio p:last-child {
  margin-bottom: 0;
}
.expert-v2-contacts {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}
.expert-v2-contacts a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--graphite);
  font-weight: 500;
}
.expert-v2-contacts a:hover {
  color: #000;
}

/* Принципы работы */
.principles-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.principle-v2-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.principle-v2-num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite);
  background: var(--yellow);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.principle-v2-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 10px;
  line-height: 1.35;
}
.principle-v2-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* Миссия / манифест */
.mission-v2-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 56px;
}
.mission-v2-box h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--graphite);
}
.mission-v2-box p {
  font-size: 17px;
  line-height: 1.65;
  color: #2F343E;
  margin-bottom: 14px;
}
.mission-v2-box p:last-child {
  margin-bottom: 0;
}

/* Блок призыва к действию (О бюро) */
.about-cta-box {
  background: var(--graphite);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.about-cta-text h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}
.about-cta-text p {
  font-size: 16px;
  color: var(--muted-dark);
  max-width: 580px;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .about-stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .experts-v2-grid    { grid-template-columns: 1fr; }
  .principles-v2-grid { grid-template-columns: 1fr; }
  .about-cta-box      { padding: 32px 28px; }
}
@media (max-width: 600px) {
  .about-v2-title       { font-size: 32px; }
  .about-v2-lead        { font-size: 18px; }
  .about-stats-grid     { grid-template-columns: 1fr; gap: 12px; }
  .expert-v2-photo-wrap { height: 320px; }
  .expert-v2-body       { padding: 24px; }
  .mission-v2-box       { padding: 24px 20px; }
  .about-cta-box        { flex-direction: column; align-items: flex-start; }
}

/* ── 14. Блог и статьи (home.php) ───────────────────────────────────────── */
.blog-v2-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.blog-v2-breadcrumb {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-v2-breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-v2-breadcrumb a:hover {
  color: var(--graphite);
}
.blog-v2-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: var(--graphite);
  margin-bottom: 16px;
}
.blog-v2-sub {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 820px;
}

/* Фильтр рубрик */
.blog-v2-cats-bar {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.blog-v2-cats-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
}
.cat-pill {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-pill:hover {
  border-color: var(--graphite);
  color: var(--graphite);
}
.cat-pill.active {
  background: var(--graphite);
  color: var(--yellow);
  border-color: var(--graphite);
  font-weight: 600;
}
.cat-pill span.count {
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0.7;
}

/* Сетка статей */
.articles-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0 56px;
}
.article-card-v2 {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.article-card-v2:hover {
  border-color: var(--graphite);
}
.article-card-thumb {
  aspect-ratio: 16 / 9;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.article-card-v2:hover .article-card-thumb img {
  transform: scale(1.02);
}
.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.article-cat-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 10px;
}
.article-card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--graphite);
  margin-bottom: 12px;
}
.article-card-excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}
.article-card-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.article-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  background: var(--graphite);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--graphite);
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.article-card-btn .btn-arrow {
  font-family: var(--mono);
  font-weight: 600;
  transition: transform 0.15s ease;
}
.article-card-v2:hover .article-card-btn {
  background: var(--yellow);
  color: var(--graphite);
  border-color: var(--yellow);
}
.article-card-v2:hover .article-card-btn .btn-arrow {
  transform: translateX(4px);
}

/* Пагинация блога */
.pagination-v2,
.ds-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 48px 0 72px;
  font-family: var(--mono);
  flex-wrap: wrap;
}
.pagination-v2 a,
.pagination-v2 span,
.ds-pagination a,
.ds-pagination span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--graphite);
  text-decoration: none;
  transition: all 0.15s;
}
.pagination-v2 a:hover,
.ds-pagination a:hover {
  border-color: var(--graphite);
  background: var(--soft);
}
.pagination-v2 span.current,
.ds-pagination span.current {
  background: var(--graphite);
  color: var(--yellow);
  border-color: var(--graphite);
  font-weight: 600;
}
.pagination-v2 span.dots,
.ds-pagination span.dots {
  border: none;
  padding: 10px 8px;
}

/* Нижняя плашка консультации в блоге */
.blog-bottom-cta {
  background: var(--graphite);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.blog-cta-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}
.blog-cta-desc {
  font-size: 16px;
  color: var(--muted-dark);
  max-width: 600px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .articles-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .blog-v2-title    { font-size: 34px; }
  .blog-v2-sub      { font-size: 17px; }
  .articles-grid-v2 { grid-template-columns: 1fr; }
  .blog-bottom-cta  { padding: 32px 24px; }
}

/* ── 15. Single (кейс / услуга / статья) ────────────────────────────────── */
.single-v2-wrap {
  padding: 48px 0 72px;
}
.single-v2-content {
  max-width: 980px;
}
.single-v2-content-narrow {
  max-width: 820px;
}
.single-v2-title {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  color: var(--graphite);
}
.single-v2-meta {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.single-v2-lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 768px) {
  .single-v2-wrap  { padding: 32px 0 48px; }
  .single-v2-title { font-size: 28px; line-height: 1.3; margin-bottom: 18px; }
  .single-v2-meta  { gap: 16px; margin-bottom: 24px; padding-bottom: 18px; font-size: 13px; }
  .single-v2-lead  { font-size: 17px; margin-bottom: 24px; padding-bottom: 18px; }
}

/* ── 16. Метаданные постов блога (post-meta) ────────────────────────────── */
.post-v2-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.post-v2-meta-sep {
  opacity: 0.5;
}

