/* ===== Токены ===== */
:root {
  --ink: #0f1822;        /* имперский глубокий синий инк */
  --ink-soft: #121b26;   /* фон формы */
  --paper: #ffffff;      /* чистый белый фон сайта */
  --paper-soft: #f6f7f8; /* нейтральный фон для смысловых врезок */
  --card: #ffffff;
  --text: #202224;       /* темный графитовый текст */
  --muted: #62676b;      /* вторичный текст */
  --line: #e5e7eb;       /* чистый серый разделитель */
  --brass: #b88b43;      /* золото — темнее для контраста на светлом и тёмном фоне */
  --brass-dark: #9a7226; /* насыщенное золото для наведения */
  --on-ink: #ffffff;     /* белый текст на темном фоне */
  --on-ink-muted: rgba(255, 255, 255, 0.7);

  --font-display: "Lora", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --container: 1120px;
  --radius: 6px;
}

/* ===== База ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--brass-dark); }
img { max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 72px 0; }
.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}
.lead { color: var(--muted); max-width: 62ch; }

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-brass {
  background: var(--brass);
  color: #fff;
}
.btn-brass:hover { background: var(--brass-dark); }
.btn-outline {
  border-color: var(--on-ink-muted);
  color: var(--on-ink);
}
.btn-outline:hover { border-color: var(--on-ink); }
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* ===== Шапка ===== */
.header {
  position: relative;
  background: #ffffff;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  font-weight: 500;
  white-space: nowrap;
}
.logo-mark {
  height: 42px;
  width: 42px;
  object-fit: contain;
  flex: none;
  filter: none;
}
.homepage .logo {
  gap: 12px;
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  font-weight: 700;
}
.homepage .logo-mark {
  width: 42px;
  height: 42px;
  filter: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav a,
.nav-trigger {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9825rem; /* 0.92rem + 1px */
  font-weight: 600;
}
.nav a:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] { color: var(--text); }
.nav a[aria-current="page"],
.nav-trigger[aria-current="page"],
.nav a.nav-current-section { color: var(--text); font-weight: 700; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.nav-trigger::after {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}
.nav-trigger[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.nav-dropdown {
  position: absolute;
  z-index: 20;
  top: calc(100% + 16px);
  left: -14px;
  display: none;
  width: 270px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 29, 37, 0.08);
}
.nav-item.is-open .nav-dropdown { display: grid; }
.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  line-height: 1.3;
  color: var(--muted);
}
.nav-dropdown a:hover {
  background: rgba(37, 41, 54, 0.05);
  color: var(--text);
}
.header-phone {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.header .btn-brass {
  background: transparent;
  border: 1.5px solid var(--brass);
  color: var(--brass);
}
.header .btn-brass:hover {
  background: var(--brass);
  color: #ffffff;
}
@media (min-width: 761px) and (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px 22px;
  }
  .nav {
    order: 1;
    width: 100%;
    margin-left: 0;
  }
  .header-phone { margin-left: auto; }
}

/* ===== Первый экран ===== */
.hero {
  background: var(--ink);
  color: var(--on-ink);
  padding: 72px 0;
}
.homepage .hero .btn-brass {
  background: #c99a54;
  color: var(--ink);
  border-color: #c99a54;
}
.homepage .hero .btn-brass:hover {
  background: var(--brass-dark);
  color: #ffffff;
  border-color: var(--brass-dark);
}
.homepage .hero-subtitle {
  color: #c99a54;
}
.homepage .fact::before {
  background: #c99a54;
}
.hero .btn-outline:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 408px);
  column-gap: clamp(44px, 7vw, 96px);
  row-gap: 0;
  align-items: center;
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  padding-bottom: 34px;
}
.hero h1 {
  color: #fff;
  /* Оптически выравниваем левый край заголовка с подписью: у Lora есть небольшой левый вынос. */
  margin-inline-start: -0.04em;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.18;
}
/* max-width:21ch и white-space:nowrap ниже рассчитаны на короткий заголовок-вордмарк
   главной страницы («Центурион-групп»). На остальных страницах с .hero (услуги, статьи)
   заголовок — обычное предложение, и nowrap там ломает вёрстку переполнением. */
.homepage .hero h1 { max-width: 21ch; }
/* Длинные заголовки статей (больше 60 знаков): чуть меньше кегль, чтобы блок на первом экране не вытягивался и был одной высоты на всех статьях. */
.hero-subtitle {
  margin: 0 0 30px;
  color: var(--brass);
  font-family: var(--font-body);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero .lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}
.hero-lead-highlight {
  font-size: inherit;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-actions .btn {
  padding: 14px 28px;
  font-size: 1.08rem;
}
.hero-facts {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
}
.hero-facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; }
.hero-media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  align-self: stretch;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.04);
  transform-origin: 72% center;
  mix-blend-mode: lighten;
}
.hero-media .hero-watermark {
  width: min(380px, 92%);
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: scale(0.85);
  transform-origin: center;
  mix-blend-mode: normal;
  filter: brightness(1);
  opacity: 1;
}
.hero-media::after {
  display: none;
}
@media (min-width: 761px) {
  .hero {
    min-height: clamp(560px, 68svh, 680px);
    display: grid;
    align-items: center;
  }
  .hero > .container { width: 100%; }
  .hero h1 { margin-bottom: 18px; }
}
@media (min-width: 1200px) {
  .hero h1 {
    max-width: none;
    font-size: clamp(2.1rem, 4.8vw, 3.8rem);
    line-height: 1.14;
  }
  .homepage .hero h1 { white-space: nowrap; }
}
.fact-num {
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--on-ink);
  line-height: 1.25;
}
.fact {
  position: relative;
  min-height: 0;
  padding-left: 18px;
}
.fact::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 2px;
  height: 44px;
  background: var(--brass);
}
.fact-cap {
  margin-top: 4px;
  color: var(--on-ink-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ===== Услуги ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  margin-top: 36px;
}
.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 12px 32px rgba(24, 29, 37, 0.04);
}
.service h3 { margin: 0; }
.service p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.service-more {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  color: var(--brass-dark);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.service-more span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.service-more::after {
  content: "\2192";
  margin-left: 8px;
  transition: transform 160ms ease;
}
.service-more:hover::after { transform: translateX(4px); }
.service-for {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--brass);
}

/* ===== Политика конфиденциальности ===== */
.policy-page { background: #f8f9fa; }
.policy-copy { max-width: 920px; }
.policy-copy > h2 {
  margin-top: 1.8em;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
}
.policy-copy > p {
  max-width: 82ch;
  color: var(--muted);
}
.policy-operator {
  margin-top: 40px;
  padding: 24px;
  border-left: 2px solid var(--brass);
  background: var(--card);
}
.policy-operator h2 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}
.policy-operator p { margin: 0; color: var(--muted); }

/* ===== Как работаем ===== */
.process-grid {
  --process-axis-offset: 6px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 24px;
  padding-left: 64px;
  align-items: stretch;
}
.process-grid::before {
  position: absolute;
  top: var(--process-axis-offset);
  bottom: 32px;
  left: var(--process-axis-offset);
  width: 1px;
  background: var(--brass);
  content: "";
  transform: translateX(-50%);
}
.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px;
  border-radius: var(--radius);
  background: var(--card);
}
.process-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(-44px + var(--process-axis-offset));
  width: 12px;
  height: 12px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transform: translateX(-50%);
}
.process-card-head {
  display: block;
  align-items: start;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.process-card-step {
  display: block;
  margin-bottom: 8px;
  color: var(--brass);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.process-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process-item;
}
.process-list li {
  position: relative;
  min-width: 0;
  padding: 0 24px;
  counter-increment: process-item;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.process-list li .process-lead {
  color: #000;
  font-weight: 700;
}
.process-list li:first-child { padding-left: 0; }
.process-list li:last-child { padding-right: 0; }
.process-list li + li { border-left: 1px solid var(--line); }
.process-list li::before {
  content: counter(process-item, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--brass);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55;
}
.process-list li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -8px;
  width: 16px;
  color: var(--brass);
  background: var(--card);
  font-size: 1.35rem;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}
.process-result {
  margin-top: 28px;
  padding: 16px 18px;
  border-top: 1px solid var(--brass);
  background: #fbf8f2;
}
.process-result-label {
  display: block;
  margin-bottom: 7px;
  color: var(--brass);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.process-result p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .process-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .process-list li,
  .process-list li:first-child,
  .process-list li:last-child {
    padding: 0;
  }
  .process-list li + li {
    padding-top: 22px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .process-list li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -16px;
    transform: translateX(50%);
  }
}
@media (max-width: 760px) {
  .process-grid {
    padding-left: 38px;
  }
  .process-grid::before {
    top: var(--process-axis-offset);
    bottom: 24px;
    left: var(--process-axis-offset);
  }
  .process-card { padding: 0 0 24px; }
  .process-card::before {
    top: 0;
    left: calc(-38px + var(--process-axis-offset));
  }
  .process-card-head { margin-bottom: 20px; padding-bottom: 18px; }
  .process-card h3 { font-size: 1.25rem; }
  .process-list { gap: 20px; }
  .process-list li + li { padding-top: 20px; }
  .process-list li + li:last-child { padding-top: 20px; }
  .process-list li:not(:last-child)::after {
    content: "\2193";
    bottom: -28px;
    right: 50%;
    transform: translateX(50%);
  }
  .process-result { padding-top: 18px; }
}

/* ===== Формат работы ===== */
.engagement { background: #f3f4f6; }
.engagement h2 { text-wrap: wrap; }
.engagement > .container > .lead { max-width: none; }
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.engagement-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  background: var(--card);
}
.engagement-card h3,
.engagement-standard h3 {
  max-width: none;
  margin-bottom: 13px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
}
.engagement-card h3 {
  color: #000;
  text-transform: none;
}
.engagement-standard h3 {
  color: #000;
}
.engagement-standard h3::after {
  display: block;
  width: 50px;
  height: 2px;
  margin-top: 16px;
  background: var(--brass);
  content: "";
}
.engagement-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
}
.engagement-card .engagement-client {
  margin: auto 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}
.engagement-standard {
  margin-top: 16px;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.engagement-standard-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.engagement-standard-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.engagement-standard-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}
.engagement-standard-list strong {
  color: var(--text);
}

@media (max-width: 640px) {
  .engagement-grid { grid-template-columns: 1fr; }
  .engagement-card { min-height: 0; padding: 24px; }
  .engagement-standard { padding: 24px; }
  .engagement-standard-list { grid-template-columns: 1fr; gap: 14px; }
}

/* ===== Форма заявки ===== */
.lead-form { background: var(--ink-soft); color: var(--on-ink); }
.homepage .lead-form .section-label { color: #c99a54; }
.lead-form h2 { color: #fff; }
.lead-form .lead { color: var(--on-ink-muted); }

/* ===== Почему нам доверяют ===== */
.trust { background: var(--paper); color: var(--text); }
.trust h2 { color: var(--text); }
.trust-heading-line {
  display: inline-block;
  white-space: nowrap;
}
.trust-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
}
.trust-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 40px;
  padding-left: 70px;
}
.trust-decor {
  position: absolute;
  display: none;
  right: 40px;
  width: 50px;
  height: 50px;
  border-right: 1px solid var(--brass);
  pointer-events: none;
}
.trust-decor-top {
  top: -13px;
  border-top: 1px solid var(--brass);
}
.trust-decor-bottom {
  bottom: 7px;
  border-bottom: 1px solid var(--brass);
}
.trust-decor::after {
  position: absolute;
  right: -6px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}
.trust-decor-top::after { top: -6px; }
.trust-decor-bottom::after { bottom: -6px; }
.trust-card {
  position: relative;
  padding: 12px 0 32px;
  border-top: 1px solid var(--line);
}
.trust-card:first-child {
  border-top: 0;
}
.trust-card:first-child::before,
.trust-card:last-of-type::before {
  position: absolute;
  left: -30px;
  width: 50px;
  height: 50px;
  border-left: 1px solid var(--brass);
  content: "";
}
.trust-card:first-child::before {
  top: -13px;
  border-top: 1px solid var(--brass);
}
.trust-card:last-of-type::before {
  bottom: 7px;
  border-bottom: 1px solid var(--brass);
}
.trust-card:first-child::after,
.trust-card:last-of-type::after {
  position: absolute;
  left: -36px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}
.trust-card:first-child::after {
  top: -19px;
}
.trust-card:last-of-type::after {
  bottom: 1px;
}
.trust-card h3 {
  margin: 0 0 10px;
  color: #000;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}
.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .trust-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .trust-grid {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .trust-grid {
    padding-left: 34px;
    padding-right: 34px;
  }
  .trust-decor {
    display: block;
    right: 4px;
  }
  .trust-decor-top { top: -9px; }
  .trust-decor-bottom { bottom: -1px; }
  .trust-card:first-child::before {
    top: -9px;
  }
  .trust-card:first-child::after {
    top: -15px;
  }
  .trust-card:last-of-type::before {
    bottom: -1px;
  }
  .trust-card:last-of-type::after {
    bottom: -7px;
  }
  .trust-card {
    padding: 16px 0 24px;
  }
}

/* ===== География практики ===== */
.practice { background: #f6f7f8; }
.practice-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 48px;
  align-items: end;
}
.practice-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0 0 6px;
}
.practice-stats div { border-left: 2px solid var(--brass); padding-left: 14px; }
.practice-stats dt {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
}
.practice-stats dd { margin: 3px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.practice-map {
  position: relative;
  margin: 40px 0 0;
  padding: 22px 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.practice-map img { display: block; width: 100%; height: auto; }
.lead-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 72px;
  align-items: center;
}
.lead-form-copy h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}
.lead-form-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: 17px 0 36px;
}
.lead-form-copy .lead { max-width: 38ch; }
.lead-form-contact {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding-top: 22px;
  max-width: 320px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.lead-form-contact span {
  color: var(--on-ink-muted);
  font-size: 0.82rem;
}
.lead-form-contact a {
  color: var(--on-ink);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.matomba-form {
  width: 100%;
  max-width: none;
  margin-left: 0;
  justify-self: stretch;
  background: var(--ink-soft);
}
.matomba-frame {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  background: var(--ink-soft);
}

@media (min-width: 901px) {
  .lead-form .matomba-form {
    width: calc(100% + 16px);
  }
}

@media (max-width: 900px) {
  .practice-heading { grid-template-columns: 1fr; gap: 24px; }
  .practice-stats { max-width: 460px; }
  .lead-form-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .lead-form-copy {
    display: block;
    padding: 0;
  }
  .lead-form-copy h2 { max-width: 20ch; }
  .lead-form-contact { margin-top: 34px; }
  .matomba-form {
    max-width: 560px;
    margin-left: 0;
  }
}
@media (max-width: 760px) {
  /* поля внутри формы имеют свой отступ ~17px: выравниваем их по тексту страницы */
  .matomba-form {
    width: calc(100% + 32px);
    max-width: none;
    margin-left: -17px;
  }
}

/* ===== Что делаем ===== */
.solutions { background: #f3f4f6; }
.solutions > .container > .lead { max-width: none; }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.solution-card {
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--card);
}
.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.service-card-link:hover {
  border-color: var(--brass);
  box-shadow: 0 12px 32px rgba(24, 29, 37, 0.08);
  transform: translateY(-2px);
}
.service-card-link:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.solution-tag {
  display: block;
  margin-bottom: 10px;
  color: var(--brass);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.solution-num {
  display: block;
  margin-bottom: 34px;
  color: var(--brass-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.solution-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}
.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.solutions-note {
  max-width: none;
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--brass);
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { padding: 24px; }
  .solution-num { margin-bottom: 26px; }
  .solution-tag { white-space: normal; }
}

/* ===== Контакты ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.9fr);
  column-gap: 72px;
  row-gap: 32px;
}
.contacts-intro .lead { max-width: 58ch; }
.contacts-quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-self: start;
  grid-column: 2;
  grid-row: 2;
}
.contacts-details {
  display: grid;
  gap: 22px;
  max-width: 680px;
  padding-left: 20px;
  border-left: 2px solid var(--brass);
  grid-column: 1;
  grid-row: 2;
}
.contact-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; }
.contact-item p { color: var(--muted); margin: 0; }
.contact-item a { font-weight: 700; text-decoration: none; }
.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
}
.map-links a {
  color: var(--brass-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.contact-item a.contact-big {
  font-size: 1.35rem;
  color: var(--brass-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.contact-item a.contact-email {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.contact-messengers h3 { margin-bottom: 10px; }
.messenger-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.messenger-links a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--brass-dark);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.messenger-links .messenger-link-telegram,
.messenger-links .messenger-link-whatsapp { color: var(--brass-dark); }
.messenger-links a:hover {
  color: var(--ink);
  border-color: var(--brass);
  background-color: var(--surface);
}
.messenger-links a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.messenger-links svg { width: 19px; height: 19px; fill: currentColor; }
.messenger-links .messenger-brand-icon { width: 21px; height: 21px; object-fit: contain; }
.contact-hours { padding-top: 4px; }

@media (max-width: 800px) {
  .contacts-grid { grid-template-columns: 1fr; gap: 30px; }
  .contacts-quick,
  .contacts-details {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .contacts-quick { gap: 18px; }
  .contacts-details { gap: 20px; padding-left: 16px; }
}

/* ===== Подвал ===== */
.footer {
  background: var(--ink);
  color: var(--on-ink-muted);
  padding: 36px 0;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
}
.footer a { color: var(--brass); }

/* ===== 404 ===== */
.not-found-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.not-found-main {
  display: flex;
  flex: 1;
  background: var(--ink);
  color: var(--on-ink);
}
.not-found-content {
  width: 100%;
  display: flex;
  align-items: center;
  padding: clamp(80px, 14vw, 160px) 0;
}
.not-found-content h1 {
  max-width: 700px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}
.not-found-content .lead {
  max-width: 580px;
  color: var(--on-ink-muted);
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
@media (max-width: 520px) {
  .not-found-content { padding-block: 88px; }
}

/* ===== Попап заявки ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}
.modal[aria-hidden="false"] { display: block; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  margin: 32px auto;
  overflow: auto;
  background: var(--ink-soft);
  border-radius: var(--radius);
  padding: 20px;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--on-ink-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: var(--on-ink); background: rgba(255, 255, 255, 0.08); }
body.modal-open { overflow: hidden; }

/* ===== Каталог услуг ===== */
.uslugi-list { margin: 0; }
.uslugi-row-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.uslugi-row:last-child .uslugi-row-inner { border-bottom: none; }
.uslugi-row:nth-child(even) { background: var(--ink); color: var(--on-ink); }
.uslugi-row:nth-child(even) .uslugi-row-inner { border-bottom-color: rgba(255, 255, 255, 0.12); }
.uslugi-row h3 { margin: 0 0 4px; }
.uslugi-row:nth-child(even) h3 { color: #fff; }
.uslugi-desc { margin: 0; color: var(--muted); max-width: 44ch; }
.uslugi-row:nth-child(even) .uslugi-desc { color: var(--on-ink-muted); }
.uslugi-row .btn { flex: none; }

/* ===== Мобильное меню ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: -1px;
}
.mobile-nav a {
  color: var(--on-ink-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav a[aria-current="page"] { color: #fff; font-weight: 700; }
.mobile-nav a.header-phone { color: var(--on-ink); font-weight: 700; }
.mobile-nav a.btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border-bottom: none;
  border-radius: 12px;
  text-align: center;
  color: #fff;
}
.mobile-nav a.btn-brass {
  background: var(--brass);
  border-color: var(--brass);
  color: #fff;
}
.mobile-nav a.btn-brass:hover {
  background: var(--brass-dark);
  border-color: var(--brass-dark);
}

/* ===== Мобильная версия ===== */
@media (max-width: 760px) {
  .footer-inner > div:first-child {
    font-size: clamp(0.58rem, 2.8vw, 0.72rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
    white-space: normal;
  }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .mobile-nav { display: flex; }
  .section { padding: 52px 0; }
  .hero { padding: 60px 0 52px; }
  .hero-layout { grid-template-columns: 1fr; gap: 18px; }
  .hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 9.5vw, 3rem);
    line-height: 1.1;
  }
  .homepage .hero h1 { white-space: nowrap; }
  .hero-subtitle {
    margin-bottom: 24px;
    font-size: clamp(0.68rem, 3.4vw, 0.9rem);
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .hero-copy,
  .hero-facts,
  .hero-media {
    grid-column: 1;
    grid-row: auto;
  }
  .hero-media {
    display: none;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .hero-media img {
    transform: none;
  }
  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-actions .btn {
    display: block;
    width: 100%;
    padding: 13px 18px;
    text-align: center;
    font-size: 1rem;
  }
  .fact {
    padding-left: 10px;
  }
  .fact-num {
    font-size: clamp(0.75rem, 3vw, 0.88rem);
    line-height: 1.2;
  }
  .fact-cap {
    font-size: clamp(0.66rem, 2.6vw, 0.78rem);
    line-height: 1.3;
  }
  .fact-cap-region {
    display: block;
    white-space: nowrap;
  }
  .fact::before {
    height: calc(100% - 4px);
  }
  .practice-map { margin-top: 28px; padding: 12px 6px; }
  .practice-stats { gap: 14px; }
  .practice-stats dt { font-size: 1.05rem; }
  .matomba-frame { height: 460px; }
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    flex-wrap: nowrap;
    padding-block: 12px;
  }
  .nav-toggle {
    width: 32px;
    height: 32px;
  }
  .logo {
    min-width: 0;
    gap: 6px;
    overflow: hidden;
    font-size: clamp(0.8rem, 3.6vw, 0.95rem);
  }
  .logo-mark {
    width: 30px;
    height: 30px;
  }
  .homepage .logo {
    gap: 6px;
    font-size: clamp(0.8rem, 3.6vw, 0.95rem);
  }
  .homepage .logo-mark {
    width: 30px;
    height: 30px;
  }
  .header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    padding: 6px 8px;
    border: 1px solid var(--brass);
    border-radius: var(--radius);
    color: var(--brass);
    font-size: clamp(0.72rem, 3.3vw, 0.8rem);
    line-height: 1.2;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
  }
  .header-phone:active,
  .header-phone:focus-visible {
    background: rgba(154, 114, 38, 0.12);
    border-color: var(--brass-dark);
    color: var(--brass-dark);
  }
  .header-inner > .btn { display: none; }
}

@media (max-width: 360px) {
  .policy-copy > h1 {
    font-size: 1.6rem;
    line-height: 1.15;
  }
}

@media (max-width: 360px) {
  .header-inner { gap: 4px; }
  .nav-toggle {
    width: 28px;
    height: 32px;
  }
  .logo {
    gap: 4px;
    font-size: 0.72rem;
  }
  .logo-mark {
    width: 26px;
    height: 26px;
  }
  .homepage .logo { gap: 4px; font-size: 0.72rem; }
  .homepage .logo-mark { width: 26px; height: 26px; }
  .header-phone {
    padding: 5px 6px;
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ===== Страница реструктуризации ===== */
.restructuring-page {
  --restructuring-paper: #fbf8f2;
  --restructuring-line: #d9d5cc;
  background: var(--paper);
}
.restructuring-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0 86px;
  background: var(--ink);
  color: var(--on-ink);
}
.restructuring-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
}
.restructuring-hero .container,
.restructuring-section-intro,
.restructuring-problem-list,
.restructuring-work-grid,
.restructuring-boundaries-box,
.restructuring-final-cta {
  position: relative;
  z-index: 1;
}
.restructuring-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}
.restructuring-hero-grid-solo {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
}
.restructuring-hero-copy { min-width: 0; }
.restructuring-kicker {
  display: inline-block;
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 2px solid var(--brass);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.restructuring-hero h1 {
  max-width: 14ch;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.09;
}
.restructuring-hero-grid-solo h1 { max-width: 18ch; }
.restructuring-hero-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
}
.restructuring-hero .hero-actions { margin-top: 34px; }
.restructuring-hero-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  max-width: 520px;
  margin-top: 54px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.restructuring-hero-note > span {
  color: #c99a54;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.restructuring-hero-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
  line-height: 1.5;
}
.restructuring-survey-card {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(15, 24, 34, 0.1);
  border-radius: 3px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 18px 18px 0 rgba(184, 139, 67, 0.2);
}
.restructuring-survey-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  color: var(--brass-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.restructuring-survey-meta span:last-child {
  color: var(--muted);
  text-align: right;
}
.restructuring-survey-card h2 {
  max-width: 13ch;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
}
.restructuring-ratios {
  display: grid;
  gap: 17px;
}
.restructuring-ratio > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.35;
}
.restructuring-ratio strong {
  flex: none;
  color: var(--ink);
  font-size: 0.84rem;
}
.restructuring-ratio-track {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e1db;
}
.restructuring-ratio-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brass);
}
.restructuring-survey-note {
  margin: 25px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--restructuring-line);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}
.restructuring-audience { background: var(--restructuring-paper); }
.restructuring-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.restructuring-table-block .section-label { display: inline-block; margin-bottom: 18px; }
.restructuring-table {
  width: 100%;
  border-collapse: collapse;
}
.restructuring-table tr { border-top: 1px solid var(--restructuring-line); }
.restructuring-table tr:last-child { border-bottom: 1px solid var(--restructuring-line); }
.restructuring-table th,
.restructuring-table td {
  padding: 16px 4px;
  text-align: left;
  vertical-align: top;
  font-size: 0.96rem;
  line-height: 1.5;
}
.restructuring-table th {
  width: 30%;
  padding-right: 20px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
}
.restructuring-table td { color: var(--muted); }
.restructuring-table-plain td {
  padding-left: 22px;
  position: relative;
  color: var(--ink);
}
.restructuring-table-plain td::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 2px;
  background: var(--brass);
}
@media (max-width: 760px) {
  .restructuring-audience-grid { grid-template-columns: minmax(0, 1fr); }
}
.restructuring-problems { background: var(--restructuring-paper); }
.restructuring-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.75fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: end;
}
.restructuring-section-intro h2 {
  max-width: 18ch;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}
.restructuring-section-intro .lead {
  margin: 0;
  max-width: 42ch;
}
.restructuring-problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(36px, 6vw, 90px);
  margin-top: 62px;
  border-top: 1px solid var(--restructuring-line);
}
.restructuring-problem-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--restructuring-line);
}
.restructuring-problem-index {
  color: var(--brass-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.restructuring-problem-list h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.3rem;
}
.restructuring-problem-list p {
  max-width: 43ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.restructuring-work { background: var(--paper); }
.restructuring-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.68fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
  margin-top: 62px;
}
.restructuring-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--restructuring-line);
}
.restructuring-steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--restructuring-line);
}
.restructuring-steps li > span {
  color: var(--brass-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.restructuring-steps h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.28rem;
}
.restructuring-steps p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.restructuring-scope {
  padding: 30px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--on-ink);
}
.restructuring-scope-title {
  margin-bottom: 22px;
  color: #c99a54;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.restructuring-scope ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.restructuring-scope li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.5;
}
.restructuring-scope li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c99a54;
  content: "";
}
.restructuring-boundaries { background: var(--restructuring-paper); }
.restructuring-boundaries-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 8vw, 120px);
  padding: clamp(28px, 5vw, 52px);
  border-left: 3px solid var(--brass);
  background: var(--paper);
}
.restructuring-boundaries-box h2 {
  max-width: 17ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.restructuring-boundaries-copy p {
  max-width: 58ch;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}
.restructuring-boundaries-copy p:last-child { margin-bottom: 0; }
.restructuring-final-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--restructuring-line);
}
.restructuring-final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}
.restructuring-final-cta .section-label { margin-bottom: 8px; }

@media (max-width: 900px) {
  .restructuring-hero-grid,
  .restructuring-section-intro,
  .restructuring-work-grid,
  .restructuring-boundaries-box {
    grid-template-columns: 1fr;
  }
  .restructuring-survey-card { max-width: 620px; }
  .restructuring-section-intro .lead { max-width: 60ch; }
}

@media (max-width: 760px) {
  .restructuring-hero { padding: 54px 0 66px; }
  .restructuring-hero h1 { max-width: 15ch; font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .restructuring-hero-note { margin-top: 40px; }
  .restructuring-survey-card { box-shadow: 10px 10px 0 rgba(184, 139, 67, 0.2); }
  .restructuring-problem-list { grid-template-columns: 1fr; margin-top: 42px; }
  .restructuring-work-grid { margin-top: 42px; }
  .restructuring-scope { padding: 26px 22px; }
  .restructuring-final-cta {
    align-items: start;
    flex-direction: column;
    margin-top: 52px;
  }
}

/* ===== Страница контактов ===== */
.contacts-page-main { background: var(--paper); }
.contacts-page-subnav {
  padding-top: 40px;
  background: var(--paper);
}
.contacts-page-subnav-label { margin-bottom: 16px; }
.contacts-page-subnav-list {
  display: grid;
  gap: 8px;
}
.contacts-page-subnav-list a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}
.contacts-page-subnav-list a:hover,
.contacts-page-subnav-list a:focus-visible { color: var(--text); }
.contacts-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.9fr);
  column-gap: 72px;
  row-gap: 32px;
}
.contacts-page-intro {
  grid-column: 1;
  grid-row: 1;
  scroll-margin-top: 20px;
}
.contacts-page-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}
.contacts-page-title,
.direction-route,
.requisites-section { scroll-margin-top: 24px; }
.requisites-section .section-label { scroll-margin-top: 20px; }
.contacts-page-intro .lead { max-width: 58ch; }
.contacts-page-quick {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  gap: 28px;
  align-self: start;
}
.contacts-page-details {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  gap: 22px;
  max-width: 680px;
  padding-left: 20px;
  border-left: 2px solid var(--brass);
}
.directions-list { margin-top: 48px; }
.direction-route {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.9fr);
  column-gap: 72px;
  align-items: start;
}
.direction-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}
.direction-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.direction-copy p strong {
  color: var(--text);
}
.direction-map {
  position: relative;
  display: block;
  aspect-ratio: 1219 / 793;
  overflow: hidden;
  margin: 0;
  background: #f1f2f4;
}
.direction-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  cursor: zoom-in;
}
.map-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
}
.map-lightbox[aria-hidden="false"] { display: block; }
.map-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.85);
}
.map-lightbox-img {
  position: relative;
  display: block;
  max-width: 92vw;
  max-height: 92vh;
  margin: 4vh auto 0;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.map-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.map-lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
@media (max-width: 760px) {
  .map-lightbox-img { max-width: 96vw; max-height: 88vh; margin-top: 6vh; }
}
.direction-divider {
  height: 1px;
  margin: 32px 0;
  background: var(--line);
}
.requisites-section { background: var(--paper); }
.requisites-section h2 { max-width: 20ch; }
.requisites-table { margin: 42px 0 0; }
.requisites-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 2.2fr);
  gap: 32px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.requisites-row:first-child { border-top: 0; }
.requisites-row:last-child { border-bottom: 0; }
.requisites-row dt,
.requisites-row dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.requisites-row dt { color: var(--muted); }
.requisites-row dd { color: var(--text); font-weight: 600; }
@media (max-width: 800px) {
  .contacts-page-grid,
  .direction-route { grid-template-columns: 1fr; gap: 30px; }
  .contacts-page-intro,
  .contacts-page-quick,
  .contacts-page-details,
  .direction-copy,
  .direction-map {
    grid-column: auto;
    grid-row: auto;
  }
  .contacts-page-quick { gap: 18px; }
  .contacts-page-details { gap: 20px; padding-left: 16px; }
  .direction-divider { margin: 30px 0; }
}

@media (max-width: 640px) {
  .directions-list { margin-top: 38px; }
  .requisites-table { margin-top: 32px; }
  .requisites-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 15px 0;
  }
  .requisites-row dd { font-size: 0.9rem; }
}

/* ===== Статьи: хаб и страница статьи ===== */
.article-featured {
  display: block;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--card);
  color: inherit;
  text-decoration: none;
}
.article-featured:hover { border-color: var(--brass); }
.article-featured-tag {
  display: block;
  margin-bottom: 10px;
  color: var(--brass);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-featured h2 { margin-bottom: 10px; }
.article-featured p { margin: 0 0 14px; color: var(--muted); max-width: 62ch; }
.article-featured-meta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.articles-grid .article-featured {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.articles-grid .article-featured:first-child { grid-column: 1 / -1; }
.articles-grid .article-featured-meta { margin-top: auto; }

.article-page article {
  max-width: 74ch;
  margin: 0 auto;
}
.article-page .article-meta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--on-ink-muted);
  margin-bottom: 12px;
}
.article-page .article-meta a { color: var(--brass); }
.article-audience {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border: 1px solid var(--brass);
  border-radius: 999px;
  color: var(--brass);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-page article h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}
.article-page article h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
}
.article-page article p {
  margin: 0 0 18px;
  line-height: 1.65;
  color: var(--text);
}
.article-page article ol,
.article-page article ul {
  margin: 0 0 18px;
  padding-left: 22px;
  line-height: 1.65;
}
.article-page article ol.article-risk-list > li + li {
  margin-top: 18px;
}
.article-toc {
  margin: 32px auto 48px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  max-width: 74ch;
}
.article-toc h2 { margin: 0 0 12px; font-size: 1.05rem; }
.article-toc ol { margin: 0; padding-left: 20px; }
.article-toc li { margin-bottom: 6px; }
.article-toc a { color: var(--text); }
.article-toc a:hover { color: var(--brass-dark); }

.article-faq { margin-top: 8px; }
.article-faq-item { border-bottom: 1px solid var(--line); }
.article-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.article-faq-item summary::-webkit-details-marker { display: none; }
.article-faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 400;
  color: var(--brass-dark);
}
.article-faq-item[open] summary::after { content: "\2013"; }
.article-faq-item p { padding: 0 0 18px; margin: 0; color: var(--muted); }

@media (max-width: 640px) {
  .article-featured { padding: 24px; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid .article-featured:first-child { grid-column: auto; }
  .article-toc { padding: 20px; }
}

/* .hero h1 в базовых стилях расcчитан на короткий заголовок-вордмарк
   («Центурион-групп») и принудительно ставит nowrap + vw-масштабирование.
   На страницах статей заголовок — обычный длинный H1, ему это ломает вёрстку. */
.article-page .hero h1 {
  white-space: normal;
  max-width: none;
}
@media (max-width: 760px) {
  .article-page .hero h1 {
    white-space: normal;
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }
}
@media (min-width: 1200px) {
  .article-page .hero h1 {
    white-space: normal;
    font-size: clamp(2rem, 3.4vw, 3rem);
  }
}

/* Длинные заголовки статей (больше 60 знаков): меньше кегль, чтобы блок на первом экране не вытягивался и был одной высоты на всех статьях. */
/* Заголовок статьи на первом экране: при ширине 761–1199 px кегль меньше, чтобы текст всегда помещался в минимальную высоту блока и блок был одинаковым на всех статьях. */
@media (min-width: 761px) and (max-width: 1199px) {
  .article-page .hero-layout { grid-template-columns: 1fr; }
  .article-page .hero-media { display: none; }
  .article-page .hero-copy { max-width: 760px; }
  .article-page .hero h1 { font-size: clamp(1.8rem, 3.3vw, 2.5rem); }
}
.article-page .hero h1.hero-title-long { font-size: clamp(1.5rem, 2.3vw, 2.2rem); }

/* Шапка закреплена на всех страницах; отступ для якорей, чтобы заголовки
   и якорные секции не прятались под ней при переходе по ссылке. */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
}
[id] {
  scroll-margin-top: 80px;
}

/* Статья: узкая колонка для чтения и широкий CTA. */
.article-page article {
  padding-top: 56px;
}
.article-page .article-toc {
  margin: 0 auto 52px;
}
.article-page .article-toc h2 {
  margin: 0 0 12px;
}
.article-page .article-prelude p {
  margin: 0;
  color: var(--text);
  font-size: inherit;
  line-height: 1.65;
}
.article-page .article-prelude p + p {
  margin-top: 20px;
}
.article-page .article-prelude + .article-toc {
  margin-top: 36px;
}
.article-page .article-table-block {
  margin: 32px 0 36px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.article-page .article-block-label,
.article-page .article-callout-label {
  margin: 0 0 8px;
  color: var(--brass-dark);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}
.article-page .article-table-title {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}
.article-page .article-table-wrap { overflow: hidden; }
.article-page .article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.5;
}
.article-page .article-table th,
.article-page .article-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.article-page .article-table thead th {
  border-top: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}
.article-page .article-table tbody th {
  width: 24%;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.25;
}
.article-page .article-table td { color: var(--text); }
.article-page .article-risk-table tbody th { width: 37%; }
.article-page .article-callout {
  position: relative;
  margin: 32px 0 36px;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--brass);
}
.article-page .article-callout p:last-child { margin-bottom: 0; }
.article-page .article-callout-summary { margin-top: 28px; }
.article-page .article-callout-important {
  margin-top: 28px;
  padding-block: 18px;
  padding-right: 22px;
  background: var(--paper-soft);
}
.article-page .article-callout-important .article-callout-label { color: var(--brass-dark); }
.article-page .article-callout-cta {
  margin: 40px 0;
  padding: 24px 28px 26px;
  border: 1px solid var(--brass);
  border-left-width: 4px;
  background: var(--ink-soft);
  color: var(--on-ink);
}
.article-page .article-callout-cta .article-callout-label { color: var(--brass); }
.article-page .article-callout-cta p { color: var(--on-ink-muted); }
.article-page .article-callout-cta .btn { margin-top: 8px; }
.article-page .article-checklist {
  margin: 28px 0 32px;
  padding: 26px 28px 28px;
  background: var(--paper-soft);
  border-left: 3px solid var(--brass);
}
.article-page .article-checklist-title,
.article-page .article-steps-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}
.article-page .article-checklist ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.article-page .article-checklist li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}
.article-page .article-checklist li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 2px;
  background: var(--brass);
}
.article-page .article-steps {
  margin: 32px 0 40px;
  padding: 0 0 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-page .article-steps > .article-block-label { margin-top: 22px; }
.article-page .article-steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.article-page .article-steps li {
  min-width: 0;
  padding: 0 24px 24px;
}
.article-page .article-steps li:first-child { padding-left: 0; }
.article-page .article-steps li + li { border-left: 1px solid var(--line); }
.article-page .article-step-number {
  display: block;
  margin-bottom: 20px;
  color: var(--brass-dark);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}
.article-page .article-steps h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}
.article-page .article-steps p { margin: 0; font-size: 0.92rem; }
.article-page .article-intro {
  font-size: 1.04rem;
}
.article-page [id] {
  scroll-margin-top: 100px;
}
@media (min-width: 641px) and (max-width: 900px) {
  .article-page [id] {
    scroll-margin-top: 140px;
  }
}
@media (max-width: 760px) {
  .article-page article {
    padding-top: 40px;
  }
  .article-page .article-toc {
    margin-bottom: 44px;
  }
  .article-page .article-table-block {
    margin: 28px 0 32px;
    padding: 22px 20px;
  }
  .article-page .article-table-title { font-size: 1.28rem; }
  .article-page .article-table-wrap { overflow: visible; }
  .article-page .article-table,
  .article-page .article-table tbody,
  .article-page .article-table tr,
  .article-page .article-table th,
  .article-page .article-table td { display: block; }
  .article-page .article-table thead { display: none; }
  .article-page .article-table tr {
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .article-page .article-table tr:first-child { border-top: 0; }
  .article-page .article-table th,
  .article-page .article-table td {
    width: auto;
    padding: 0;
    border: 0;
  }
  .article-page .article-table tbody th,
  .article-page .article-risk-table tbody th {
    width: auto;
    margin-bottom: 12px;
    font-size: 1.08rem;
  }
  .article-page .article-table td + td { margin-top: 14px; }
  .article-page .article-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.35;
    text-transform: uppercase;
  }
  .article-page .article-callout {
    margin: 28px 0 32px;
    padding-left: 18px;
  }
  .article-page .article-callout-important { padding-block: 16px; }
  .article-page .article-checklist {
    margin: 24px 0 28px;
    padding: 22px 20px 24px;
  }
  .article-page .article-checklist-title,
  .article-page .article-steps-title { font-size: 1.28rem; }
  .article-page .article-checklist ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 18px;
  }
  .article-page .article-steps { margin: 28px 0 32px; }
  .article-page .article-steps > .article-block-label { margin-top: 20px; }
  .article-page .article-steps ol {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 18px;
  }
  .article-page .article-steps li,
  .article-page .article-steps li:first-child {
    padding: 18px 0;
  }
  .article-page .article-steps li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .article-page .article-step-number { margin-bottom: 12px; }
  .article-page [id] {
    scroll-margin-top: 80px;
  }
}
@media (max-width: 360px) {
  .article-page .container {
    padding-inline: 16px;
  }
}

/* Финальный CTA намеренно шире текста статьи: он завершает чтение и ведёт к заявке. */
.article-page #lead-form .container {
  max-width: var(--container);
}
@media (min-width: 901px) {
  .article-page #lead-form .lead-form-layout {
    gap: 72px;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
  }
  .article-page #lead-form .lead-form-copy h2 {
    max-width: 520px;
  }
}

/* Пробная форма внутри текста одной статьи. */
.article-inline-lead article #lead-form {
  margin: 44px 0 0;
  padding: 40px 0 10px;
  border-radius: 0;
  /* фон на всю ширину окна, содержимое остаётся в колонке статьи */
  box-shadow: 0 0 0 100vmax var(--ink-soft);
  clip-path: inset(0 -100vmax);
}
.article-inline-lead article #lead-form .lead-form-layout {
  display: block;
}
.article-inline-lead article #lead-form .lead-form-copy {
  display: block;
  padding: 0;
}
.article-inline-lead article #lead-form h2 {
  max-width: none;
  margin: 0 0 12px;
  color: var(--on-ink);
  font-size: 1.7rem;
}
.article-inline-lead article #lead-form .lead {
  max-width: none;
  margin: 0 0 16px;
}
.article-inline-lead article #lead-form .matomba-form {
  width: calc(100% + 34px);
  max-width: none;
  margin-left: -17px;
}
.article-inline-lead article #lead-form .matomba-frame {
  height: 440px;
}
@media (min-width: 641px) {
  .article-inline-lead article #lead-form .matomba-form {
    width: 554px;
  }
}
.article-inline-lead .article-faq-section {
  padding: 0;
}
.article-inline-lead .article-faq-section h2 {
  margin-top: 40px;
}
.article-inline-lead .article-sources {
  padding: 28px 0 8px;
}
.article-inline-lead .article-sources h3 {
  margin-top: 0;
}
.article-inline-lead .article-contacts {
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}
@media (max-width: 640px) {
  .article-inline-lead article #lead-form {
    padding: 32px 0 16px;
  }
  .article-inline-lead .article-faq-section h2 {
    margin-top: 32px;
  }
  .article-inline-lead .article-sources {
    padding-top: 22px;
  }
  .article-inline-lead article #lead-form h2 {
    font-size: 1.5rem;
  }
  .article-inline-lead article #lead-form .matomba-frame {
    height: 430px;
  }
}
@media (max-width: 360px) {
  .article-inline-lead article #lead-form .matomba-frame {
    height: 455px;
  }
}

/* ===== Страница услуги: реструктуризация ===== */
.service-fit { background: #fff; }
.service-steps { background: var(--paper-soft); }
.service-page .hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.2;
}
@media (min-width: 761px) {
  .service-page .hero-copy { padding-bottom: 0; }
  .service-page .hero .lead { max-width: 640px; }
}
.service-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  margin-bottom: 18px;
}
.service-hero-tag::before {
  content: "";
  display: block;
  width: 2px;
  height: 16px;
  background: var(--brass);
}
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 32px;
}
.fit-list dl {
  margin: 0;
}
.fit-list .fit-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.fit-list .fit-row:first-child { border-top: none; }
.fit-list dt {
  font-weight: 700;
  color: var(--text);
}
.fit-list dd {
  margin: 0;
  color: var(--muted);
}
.want-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.want-list li {
  position: relative;
  padding: 15px 0 15px 22px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.want-list li:first-child { border-top: none; }
.want-list li::before {
  content: "−";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 700;
}
.decision-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.decision-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}
.decision-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
.decision-item:nth-child(even) { padding-left: 24px; }
.decision-letter {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--brass);
}
.decision-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.decision-item p {
  margin: 0;
  color: var(--muted);
}
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: service-step;
}
.steps-list li {
  position: relative;
  padding: 22px 0 22px 52px;
  border-top: 1px solid var(--line);
}
.steps-list li:first-child { border-top: none; }
.steps-list li::before {
  counter-increment: service-step;
  content: "0" counter(service-step);
  position: absolute;
  left: 0;
  top: 22px;
  font-weight: 700;
  color: var(--brass);
}
.steps-list h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.steps-list p {
  margin: 0;
  color: var(--muted);
}
.service-steps .steps-layout { margin-top: 0; }
.want-list-single { max-width: 760px; margin-top: 24px; }
.situation-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.situation-intro .lead { margin-top: 16px; }
.situation-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.situation-grid li {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.situation-grid li.situation-wide { grid-column: 1 / -1; }
.situation-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--brass);
}
.situation-grid p { margin: 0; color: var(--text); font-weight: 600; line-height: 1.45; }
.result-section { background: var(--paper-soft); }
.result-grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.result-grid li {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.result-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  position: relative;
}
.result-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 6px;
  height: 11px;
  border: solid var(--brass);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.result-grid p { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.4; color: var(--text); }
@media (max-width: 900px) {
  .situation-layout { grid-template-columns: 1fr; gap: 28px; }
  .result-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .situation-grid, .result-grid { grid-template-columns: 1fr; }
  .result-grid li { min-height: 0; }
}
.steps-aside {
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius);
  padding: 28px;
}
.steps-aside .section-label {
  color: var(--brass);
}
.steps-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps-aside li {
  position: relative;
  padding: 10px 0 10px 18px;
  color: var(--on-ink-muted);
}
.steps-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}
.service-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-left: 3px solid var(--brass);
  background: var(--paper-soft);
  padding: 32px 32px 32px 28px;
}
.service-callout h2 {
  margin: 0;
}
.service-callout p {
  margin: 0 0 14px;
  color: var(--muted);
}
.service-callout p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .fit-grid,
  .decision-intro,
  .decision-grid,
  .steps-layout,
  .service-callout {
    grid-template-columns: 1fr;
  }
  .decision-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .decision-item:nth-child(even) { padding-left: 0; }
}

/* ===== Страница услуги: композиция v4 ===== */
.svc-open { background: var(--paper); padding: 72px 0; }
.svc-open:not(.svc-open-results) { padding-bottom: 28px; }
.svc-open-results { padding-top: 0; }
.svc-open-results > .container { padding-top: 44px; border-top: 1px solid var(--line); }
.svc-list {
  list-style: none;
  max-width: 720px;
  margin: 36px 0 0;
  padding: 0;
}
.svc-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}
.svc-list-fit li { padding: 14px 0 14px 28px; border-top: 1px solid var(--line); }
.svc-list-fit li:first-child { border-top: 0; }
.svc-list-fit li::before {
  content: "";
  position: absolute;
  top: calc(14px + 0.8em - 5px); /* центр круга совпадает с центром первой строки */
  left: 2.5px;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 1px solid var(--brass);
  border-radius: 50%;
}
.svc-list-result li { padding: 14px 0 14px 28px; border-top: 1px solid var(--line); }
.svc-list-result li:first-child { border-top: 0; }
.svc-list-result li::before {
  content: "";
  position: absolute;
  top: calc(14px + 1.175em - 14.78px); /* внешний край нижнего угла обводки совпадает с базовой линией текста */
  left: 5.62px; /* нижний угол галочки совмещён с центром кружка в первом списке */
  width: 6px;
  height: 12px;
  border: solid var(--brass);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.svc-list-context {
  max-width: 960px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
.uslugi-service-list {
  list-style: none;
  max-width: 720px;
  margin: 28px 0 0;
  padding: 0;
}
.uslugi-service-list li {
  padding: 6px 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
}
.uslugi-detail-list {
  max-width: 960px;
  margin-top: 28px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
}
.uslugi-detail-stage { margin-top: 24px; }
.uslugi-detail-stage > p,
.uslugi-detail-substage > p { margin: 0 0 8px; color: var(--muted); font-weight: 400; }
.uslugi-detail-list ul { margin: 0 0 16px; padding: 0; list-style: none; }
.uslugi-detail-list li { padding: 3px 0; color: var(--muted); font-weight: 400; }
.svc-note {
  margin: 32px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--brass);
  max-width: 62ch;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.svc-side-note {
  display: grid;
  grid-template-columns: max-content 1px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  margin: 32px 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 4px;
  background: var(--paper-soft);
}
.svc-side-note::before {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  min-height: 42px;
  background: var(--line);
  content: "";
}
.svc-side-note-label {
  grid-column: 1;
  grid-row: 1;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.svc-side-note > p,
.svc-side-note > div {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.svc-side-note ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.svc-side-note li { color: var(--text); font-size: 0.95rem; line-height: 1.5; }
.svc-terms-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; }
.svc-terms-left { display: grid; align-content: start; gap: 24px; }
.svc-terms-layout .trust-intro h2 { margin: 0; }
.svc-terms-main { padding: 0 0 32px; border: 0; }
.svc-terms-main p + p { margin-top: 16px; }
.svc-terms-grid {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  padding-left: 44px;
}
.svc-terms-grid > .trust-card { grid-column: 1; }
.svc-terms-grid .svc-terms-benefit { grid-row: 1; }
.svc-terms-grid .svc-terms-benefit { border-top: 0; }
.svc-terms-grid .svc-terms-prepay { grid-row: 2; }
.svc-terms-grid .svc-terms-list-card { grid-row: 3; }
.svc-terms-grid > .trust-decor { display: none; }
.svc-terms-list-card .svc-included-list { margin-left: 0; }
.svc-tools-section { background: #f3f4f6; padding-bottom: 48px; }
.svc-tech-inline { margin-top: 48px; }
.svc-tech-inline h3 { color: var(--ink); }
.svc-tech-label {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--muted) !important;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.svc-tech-panel {
  display: grid;
  grid-template-columns: max-content 1px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 4px;
  background: var(--paper-soft);
}
.svc-tech-panel::before {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  min-height: 42px;
  background: var(--line);
  content: "";
}
.svc-tech-intro {
  grid-column: 3;
  grid-row: 1;
  max-width: 70ch;
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.svc-tech-details {
  margin-top: 48px;
}
.svc-tech-toggle {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  margin-inline: auto;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--brass);
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  list-style: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.svc-tech-collapse-end { display: none; margin: 48px auto 0; }
.svc-tech-toggle:hover { background: var(--paper-soft); border-color: var(--brass); }
.svc-tech-details[open] > .svc-tech-toggle {
  border-color: var(--muted);
  background: var(--muted);
  color: var(--on-ink);
}
.svc-tech-details[open] > .svc-tech-toggle:hover {
  border-color: var(--ink-soft);
  background: var(--ink-soft);
  color: var(--on-ink);
}
.svc-tech-collapse-end {
  border-color: var(--muted);
  background: var(--muted);
  color: var(--on-ink);
}
.svc-tech-collapse-end:hover {
  border-color: var(--ink-soft);
  background: var(--ink-soft);
  color: var(--on-ink);
}
.svc-tech-toggle::-webkit-details-marker { display: none; }
.svc-tech-toggle-close { display: none; }
.svc-tech-details[open] .svc-tech-toggle-open { display: none; }
.svc-tech-details[open] .svc-tech-toggle-close { display: inline; }
.svc-tech-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.svc-tech-content { padding-top: 24px; }
.svc-tech-content .uslugi-detail-list { max-width: none; margin-top: 24px; }
.svc-tech-content .uslugi-detail-stage {
  position: relative;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.svc-tech-content .uslugi-detail-stage > p {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
}
.svc-tech-content .uslugi-detail-stage > p:first-child {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--brass);
}
.svc-tech-content .uslugi-detail-substage { margin-top: 22px; }
.svc-tech-content .uslugi-detail-substage > p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
}
.svc-tech-content .uslugi-detail-substage > p::after {
  display: block;
  margin-top: 5px;
  border-bottom: 1px solid var(--line);
  content: "";
}
.svc-tech-content .uslugi-detail-substage > p::after { width: 100%; }
.svc-tech-content .uslugi-detail-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-tech-content .uslugi-detail-list li {
  padding: 2px 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}
.svc-tech-content .svc-detail-number { color: var(--muted); }
.svc-tech-content .uslugi-detail-stage > p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5em;
  column-gap: 1em;
}
.svc-tech-content .uslugi-detail-stage > p > .svc-detail-label { grid-column: 1; grid-row: 1; }
.svc-tech-content .uslugi-detail-stage > p > .svc-detail-number {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  text-align: left;
  color: var(--line);
}
.svc-tech-content .uslugi-detail-stage .uslugi-detail-substage > p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5em;
  column-gap: 0.6em;
}
.svc-tech-content .uslugi-detail-stage .uslugi-detail-substage > p > .svc-detail-number { grid-column: 2; grid-row: 1; justify-self: start; text-align: left; color: var(--line); }
.svc-tech-content .uslugi-detail-stage .uslugi-detail-substage > p > .svc-detail-label { grid-column: 1; grid-row: 1; }
.svc-tech-content .uslugi-detail-stage .uslugi-detail-substage > p::after { grid-column: 1 / -1; }

.svc-tech-content .uslugi-detail-list li > ul {
  margin: 4px 0 8px 1.35em;
  padding: 0;
  list-style: none;
}
.svc-tech-content .uslugi-detail-substage { padding-left: 1.2em; }
.svc-tech-content .uslugi-detail-substage > ul { margin-left: 2.65em; }
.svc-tech-content .uslugi-detail-stage > ul { margin: 0 0 0 1.2em; }
.svc-tools-section > .container > .lead,
.svc-tech-inline .svc-tech-intro { max-width: none; }
.svc-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.svc-tool-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
.svc-tool-group {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.svc-tool {
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.svc-tool-tag {
  display: block;
  margin-bottom: 10px;
  color: var(--brass);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.svc-tool h3 {
  margin: 0 0 10px;
  color: #000;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}
.svc-tool-title {
  margin: 0 0 8px;
  color: #000;
  font-size: 0.95rem;
  line-height: 1.55;
}
.svc-tool-group > .svc-tool-tag { margin-bottom: 10px; font-size: 0.68rem; }
.svc-tool-group > .svc-tool-tag::after {
  display: block;
  width: 33.333%;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  content: "";
}
.svc-tool-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding-left: 1.25rem;
  list-style: none;
}
.svc-tool-points li {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.svc-tool-points li::before {
  position: absolute;
  top: calc((1.55 * 0.95rem - 7px) / 2);
  left: -1.05rem;
  width: 7px;
  height: 7px;
  background: var(--brass);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  content: "";
}
.svc-tool-points strong { color: var(--ink); font-weight: 700; }
.svc-tool p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.svc-combo { margin-top: 32px; padding: 4px 0 4px 22px; border-top: 0; border-left: 3px solid var(--brass); background: none; }
.svc-combo ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.svc-combo li { color: var(--text); font-size: 0.95rem; line-height: 1.5; }
.svc-example-lines { color: var(--text) !important; font-weight: 600; line-height: 1.7; }
.svc-process-section { background: var(--paper-soft); }
.svc-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 36px;
}
.svc-process-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  align-content: start;
  margin-top: 0;
}
.svc-process-list li .process-lead { display: block; margin-bottom: 5px; color: var(--ink); }
.svc-process-list li::before,
.svc-process-list li::after { content: none !important; }
.svc-process-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.svc-process-list li,
.svc-process-list li:first-child,
.svc-process-list li:last-child {
  padding: 22px;
}
.svc-process-list li + li { border-left: 1px solid var(--line); }
.svc-process-parallel {
  position: relative;
  align-self: stretch;
  padding: 22px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.svc-process-list .process-lead,
.svc-process-parallel .process-lead { display: block; margin-bottom: 5px; color: var(--ink); font-weight: 700; }
.svc-process-list li .process-lead { display: block; }
.svc-process-number { display: block; margin-bottom: 5px; color: var(--brass); font-size: 0.68rem; line-height: 1; }
.svc-process-parallel .svc-process-number { letter-spacing: 0.08em; text-transform: uppercase; }
.svc-process-parallel p + p { margin-top: 14px; }
.svc-process-parallel p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.svc-process-section .process-result { margin-top: 32px; padding: 4px 0 4px 22px; border: 0; border-left: 3px solid var(--brass); border-radius: 0; background: none; }
.svc-included-list {
  margin: 12px 0 0 22px;
  padding: 0;
  list-style: none;
}
.svc-included-list li {
  position: relative;
  padding: 4px 0 4px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.svc-included-list li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}
@media (max-width: 900px) {
  .svc-open { padding: 52px 0; }
  .svc-open:not(.svc-open-results) { padding-bottom: 20px; }
  .svc-open-results { padding-top: 0; }
  .svc-open-results > .container { padding-top: 32px; }
  .svc-tech-inline { margin-top: 36px; }
  .svc-tech-details { margin-top: 36px; }
  .svc-tech-content { padding-top: 18px; }
  .svc-tech-content .uslugi-detail-list { margin-top: 18px; }
  .svc-tech-details[open] > .svc-tech-toggle {
    position: sticky;
    top: 10px;
    z-index: 5;
  }
  .svc-tech-content .uslugi-detail-stage { padding: 18px; }
  .svc-process-layout { grid-template-columns: 1fr; gap: 24px; }
  .svc-process-list { grid-template-columns: 1fr; row-gap: 18px; }
  .svc-process-list li,
  .svc-process-list li:first-child,
  .svc-process-list li:last-child { padding: 20px 24px; }
  .svc-process-parallel { padding: 20px 24px; }
  .svc-tools { grid-template-columns: 1fr; }
  .svc-process-list li + li { border-left: 1px solid var(--line); background-image: none; }
  .svc-terms-grid { grid-template-columns: 1fr; padding-left: 0; }
  .svc-terms-layout { grid-template-columns: 1fr; gap: 36px; }
  .svc-terms-grid > .trust-card { grid-column: 1; grid-row: auto; }
}
@media (min-width: 901px) {
  .svc-tech-collapse-end { display: flex; }
}
@media (max-width: 640px) {
  .svc-tech-panel {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 18px 20px;
  }
  .svc-tech-label,
  .svc-tech-intro,
  .svc-tech-details { grid-column: 1; grid-row: auto; }
  .svc-tech-panel::before {
    grid-column: 1;
    grid-row: 2;
    width: 48px;
    min-height: 3px;
  }
  .svc-terms-grid { padding-left: 0; padding-right: 0; }
  .svc-terms-grid .svc-terms-benefit::before { top: -9px; }
  .svc-terms-grid .svc-terms-benefit::after { top: -15px; }
  .svc-terms-main { padding-bottom: 24px; }
  .svc-tool-group { padding: 22px; }
  .svc-tool-points { grid-template-columns: 1fr; }
  .svc-tool { padding: 24px; }
  .svc-side-note { grid-template-columns: 1fr; row-gap: 10px; }
  .svc-side-note { align-items: start; }
  .svc-side-note-label,
  .svc-side-note > p,
  .svc-side-note > div { grid-column: 1; grid-row: auto; }
  .svc-side-note::before { grid-column: 1; grid-row: 2; width: 48px; min-height: 3px; }
}
.svc-example-cta { grid-column: 1 / -1; margin: 8px 0 0; text-align: center; }
.article-page .article-callout-figures { font-weight: 600; line-height: 1.7; }
@media (max-width: 900px) {
  .svc-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .svc-tools { grid-template-columns: 1fr; }
}

/* Сравнение районов: общая карта на первом экране. */
.article-page .hero-comparison {
  min-height: 620px;
  padding: 56px 0 52px;
}
.article-page .hero-comparison .hero-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr);
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 24px;
  align-items: center;
}
.article-page .hero-comparison .hero-copy {
  max-width: none;
  padding-bottom: 0;
}
.article-page .hero-comparison h1.hero-title-long {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  line-height: 1.2;
}
.hero-title-places { white-space: nowrap; }
.hero-overview {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  margin: 0;
}
.hero-overview img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-overview figcaption {
  margin-top: 3px;
  color: #94a7af;
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
}
.hero-overview figcaption a {
  color: inherit;
  text-underline-offset: 2px;
}
.article-page .hero-comparison .hero-facts {
  margin-top: 8px;
}
@media (max-width: 760px) {
  .article-page .hero-comparison {
    min-height: 0;
    padding: 44px 0 40px;
  }
  .article-page .hero-comparison .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .article-page .hero-comparison .hero-copy,
  .article-page .hero-comparison .hero-facts,
  .hero-overview {
    grid-column: 1;
    grid-row: auto;
  }
  .article-page .hero-comparison h1.hero-title-long {
    font-size: clamp(1.7rem, 6.8vw, 2.2rem);
  }
  .hero-title-places { white-space: normal; }
  .hero-title-break { display: none; }
  .hero-overview {
    justify-self: center;
    max-width: 360px;
  }
  .article-page .hero-comparison .hero-facts {
    margin-top: 0;
  }
}

/* Пары фото под зонами района */
.article-zone { margin-top: 1.6em; }
.article-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0.8em 0 1.6em;
}
.article-photo-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.article-photo-pair figcaption {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
}
.article-photo-pair figcaption a { color: inherit; }

/* Увеличение фото по клику */
.article-photo-pair img { cursor: zoom-in; }
.photo-zoom {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 96vw;
  max-height: 92vh;
  overflow: visible;
}
.photo-zoom::backdrop { background: rgba(10, 14, 20, 0.85); }
.photo-zoom img {
  display: block;
  max-width: 96vw;
  max-height: 92vh;
  border-radius: var(--radius);
  cursor: zoom-out;
}
.photo-zoom-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
}

/* Один день: моменты */
.day-moment { margin-top: 1.8em; font-size: 1.15em; }

/* Версус-пары: слева Банг Тао, справа Камала */
.article-photo-vs .vs-cell { position: relative; }
.article-photo-vs .vs-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(15, 24, 34, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}

/* Форма заявки (по шаблону Центуриона, пока не подключена) */
.lead-form { background: var(--ink-soft); color: var(--on-ink); padding: 64px 0; }
.lead-form h2 { color: #fff; margin-top: 0; }
.lead-form .lead { color: var(--on-ink-muted); }
.lead-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 72px;
  align-items: center;
}
.lead-form-copy h2 { max-width: 16ch; font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.lead-form-copy .lead { max-width: 38ch; }
.le-form { display: grid; gap: 14px; }
.le-field { display: grid; gap: 6px; font-size: 0.85rem; color: var(--on-ink-muted); }
.le-field input,
.le-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 1rem;
}
.le-field input:focus,
.le-field textarea:focus { outline: none; border-color: var(--brass); }
.le-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.8rem; color: var(--on-ink-muted); }
.le-submit { justify-self: start; border: 0; cursor: pointer; }
.le-form-note { margin: 0; font-size: 0.85rem; color: var(--brass); }
@media (max-width: 900px) {
  .lead-form-layout { grid-template-columns: 1fr; gap: 28px; }
  .lead-form-copy h2 { max-width: 20ch; }
}
/* форма в узкой колонке статьи */
.article-inline-form .lead-form-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px; }
.article-inline-form .lead-form-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 14ch; }
@media (max-width: 900px) {
  .article-inline-form .lead-form-layout { grid-template-columns: 1fr; gap: 24px; }
}
