/* ==================================================================
   Юридическая компания «Юристы Москвы» — style.css
   1. Переменные, сброс, типографика, контейнер, кнопки, формы
   ================================================================== */

/* Атрибут hidden обязан скрывать: правило класса с display перебивает
   браузерное [hidden]{display:none}, и скрытый блок остаётся видимым. */
[hidden] { display: none !important; }

:root {
  /* Палитра — только белый, #F3F3F3, чёрный и один красный.
     Красный и серый взяты на один шаг темнее эталонных #F20B03 / #8A8A8A:
     в исходных значениях белый текст на красной кнопке даёт 4,35:1, а серая
     мета на #F3F3F3 — 3,11:1, то есть ниже требуемых WCAG AA 4,5:1.
     Оттенок на глаз тот же, контраст — проходной. */
  --red: #E30B03;        /* белый текст на красном и красный на белом: 4,87:1 */
  --red-btn: #E31E24;
  --red-hover: #C4130C;
  --black: #000000;
  --dark: #111111;
  --ink: #212529;
  --muted: #6C6C6C;      /* на белом 5,25:1, на #F3F3F3 4,73:1 */
  --muted-dark: #9C9C9C; /* та же роль на чёрном фоне футера: 7,6:1 */
  --bg-soft: #F3F3F3;
  --line: #E0E0E0;
  --white: #FFFFFF;

  /* Типографика */
  --font-head: 'Onest', 'Golos Text', system-ui, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Golos Text', 'Onest', system-ui, 'Segoe UI', Arial, sans-serif;

  /* Сетка */
  --container: 1140px;
  --gutter: 30px;
  --pad-x: 24px;
  --section-y: 96px;

  --dur: .2s;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: 44px; line-height: 1.15; font-weight: 800; }
h2 { font-size: 40px; line-height: 1.2; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 700; }
h4 { font-size: 18px; line-height: 1.4; font-weight: 700; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 6px; }

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* Текстовые ссылки в контенте */
.rich a,
a.link {
  color: inherit;
  border-bottom: 1px solid var(--red-btn);
  transition: color var(--dur) ease, border-color var(--dur) ease;
}
.rich a:hover,
a.link:hover { color: var(--red-btn); }

strong, b { font-weight: 700; }
em, i { font-style: italic; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* Служебное */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 12px 20px;
  font-family: var(--font-head); font-weight: 600;
}
.skip-link:focus { left: 0; }

.ic { flex: 0 0 auto; vertical-align: middle; }
.ic-red { color: var(--red); }

/* ------------------ Контейнер и секции ------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container .container { max-width: none; padding-left: 0; padding-right: 0; }

.section { padding: var(--section-y) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--black); color: var(--white); }
.section--tight { padding: 64px 0; }

.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead {
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.section-head h2 { margin-bottom: 14px; }
.section-lead {
  font-size: 18px; line-height: 1.6; font-weight: 400; color: var(--ink);
  margin: 0;
}
.section--dark .section-lead { color: rgba(255,255,255,.8); }

.section-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.section-head--row h2 { margin-bottom: 0; }

/* Ссылка-призрак со стрелкой */
.ghost-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--red-btn);
  padding-bottom: 2px;
  transition: color var(--dur) ease;
}
.ghost-link:hover { color: var(--red-btn); }
.section--dark .ghost-link { color: var(--white); }
.section--dark .ghost-link:hover { color: var(--red); }

.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* Мера текста */
.measure { max-width: 750px; }
.measure--center { margin-left: auto; margin-right: auto; }

/* Сетки */
.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------ Кнопки ------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 28px;
  font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1;
  border: 0; border-radius: 0; cursor: pointer;
  text-align: center; white-space: nowrap;
  transition: background-color var(--dur) ease, color var(--dur) ease,
              border-color var(--dur) ease, transform .08s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-hover); }

.btn--primary-alt { background: var(--red-btn); color: var(--white); }
.btn--primary-alt:hover { background: var(--red-hover); }

.btn--outline {
  background: transparent; color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--black); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--ink); }

.btn--lg { height: 56px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--cta { text-transform: uppercase; letter-spacing: .02em; font-size: 14px; padding: 0 16px; }

.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Квадратная кнопка-иконка */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 auto;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 0;
  cursor: pointer;
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}
.icon-btn:hover { border-color: var(--red); color: var(--red); }

/* Чипы-фильтры */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  background: var(--bg-soft); color: var(--ink);
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  border: 0; border-radius: 2px; cursor: pointer;
  transition: background-color var(--dur) ease, color var(--dur) ease;
}
.chip:hover { color: var(--red); }
.chip.is-active,
.chip[aria-pressed="true"] { background: var(--white); color: var(--red); box-shadow: inset 0 0 0 1px var(--line); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li { margin: 0; }

.tag {
  display: inline-block; padding: 4px 10px;
  background: var(--bg-soft); color: var(--ink);
  font-size: 13px; font-weight: 500; border-radius: 2px;
}

/* ------------------ Формы ------------------ */

.field { margin-bottom: 18px; }

.field__label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
}
/* Звёздочка обязательного поля стоит на подложке #F3F3F3, где основной
   красный даёт 4,39:1 — берём затемнённый оттенок той же гаммы. */
.field__req { color: var(--red-hover); }

input[type="text"], input[type="tel"], input[type="email"],
input[type="search"], textarea, select {
  width: 100%;
  height: 48px; padding: 0 16px;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line); border-radius: 0;
  transition: border-color var(--dur) ease;
  appearance: none;
}
textarea { height: auto; min-height: 128px; padding: 14px 16px; line-height: 1.6; resize: vertical; }

input::placeholder, textarea::placeholder { color: var(--muted); }

input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus,
input[type="search"]:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--red);
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

.checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5; color: var(--muted);
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0;
  accent-color: var(--red); border-radius: 0; cursor: pointer;
}
.checkbox a { color: var(--ink); border-bottom: 1px solid var(--red-btn); }
.checkbox a:hover { color: var(--red-btn); }

.file-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  color: var(--ink); border-bottom: 1px solid var(--red-btn);
  padding-bottom: 2px; cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0;
}
.file-link:hover { color: var(--red-btn); }

/* Поисковая строка секции */
.search-row { display: flex; gap: 0; max-width: 640px; }
.search-row input[type="search"] { flex: 1 1 auto; }
.search-row button {
  flex: 0 0 auto; width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--white);
  border: 0; cursor: pointer;
  transition: background-color var(--dur) ease;
}
.search-row button:hover { background: var(--red); }

/* Мета-строка */
.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  font-size: 14px; line-height: 1.4; color: var(--muted);
  list-style: none; margin: 0; padding: 0;
}
.meta li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }

/* ==================================================================
   2. Шапка, навигация, бургер, мобильное меню, футер
   ================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
}

/* --- Верхний ряд --- */
.header-top { background: var(--white); }
.header-top__in {
  display: flex; align-items: center; gap: 20px;
  min-height: 56px;
}

.logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.logo-svg { display: block; }

.nav-secondary { flex: 1 1 auto; min-width: 0; }
.nav-secondary ul {
  display: flex; align-items: center; gap: 20px;
  list-style: none; margin: 0; padding: 0;
}
.nav-secondary li { margin: 0; }
.nav-secondary a {
  font-size: 15px; line-height: 1.3; color: var(--ink);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--dur) ease, border-color var(--dur) ease;
}
.nav-secondary a:hover { color: var(--red); }
.nav-secondary a.is-active { color: var(--ink); border-bottom-color: var(--red); }

.header-contacts-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; white-space: nowrap; color: var(--ink);
  border-bottom: 1px solid var(--red-btn); padding-bottom: 2px;
  flex: 0 0 auto;
  transition: color var(--dur) ease;
}
.header-contacts-link:hover { color: var(--red-btn); }

.header-search { position: relative; flex: 0 0 auto; width: 170px; }
.header-search input[type="search"] {
  height: 36px; padding: 0 36px 0 12px; font-size: 14px;
}
.header-search button {
  position: absolute; right: 0; top: 0;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--muted); cursor: pointer;
  transition: color var(--dur) ease;
}
.header-search button:hover { color: var(--red); }

.header-phone {
  flex: 0 0 auto;
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
  line-height: 1; color: var(--ink); white-space: nowrap;
  transition: color var(--dur) ease;
}
.header-phone:hover { color: var(--red); }

/* --- Нижний ряд --- */
.header-bottom {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: max-height var(--dur) ease, opacity var(--dur) ease;
}
.header-bottom__in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}

.is-scrolled .header-bottom {
  max-height: 0; overflow: hidden; opacity: 0; border-bottom-color: transparent;
}

.nav-main { flex: 1 1 auto; min-width: 0; }
.nav-main > ul {
  display: flex; align-items: center; gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.nav-main__item { position: relative; margin: 0; display: flex; align-items: center; }

.nav-main__link {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink); white-space: nowrap;
  padding: 22px 0; display: inline-block;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) ease, border-color var(--dur) ease;
}
.nav-main__link:hover { color: var(--red); }
.nav-main__link.is-active { border-bottom-color: var(--red); }

.nav-main__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 22px; margin-left: 0; flex: 0 0 auto;
  background: none; border: 0; color: var(--muted); cursor: pointer;
  transition: transform var(--dur) ease, color var(--dur) ease;
}
.nav-main__toggle svg { width: 14px; height: 14px; }
.nav-main__toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--red); }

.nav-drop {
  position: absolute; top: 100%; left: -16px; z-index: 20;
  min-width: 320px; padding: 12px 0;
  background: var(--white); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur) ease, transform var(--dur) ease, visibility var(--dur);
}
/* Последние пункты раскрываются влево, чтобы не вылезать за вьюпорт */
.nav-main__item:nth-last-child(-n+2) .nav-drop { left: auto; right: -16px; }

.nav-main__item:hover .nav-drop,
.nav-main__item:focus-within .nav-drop,
.nav-main__item.is-open .nav-drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop ul { list-style: none; margin: 0; padding: 0; }
.nav-drop li { margin: 0; }
.nav-drop a {
  display: block; padding: 9px 20px;
  font-size: 15px; line-height: 1.4; color: var(--ink);
  transition: background-color var(--dur) ease, color var(--dur) ease;
}
.nav-drop a:hover { background: var(--bg-soft); color: var(--red); }
.nav-drop__all { margin-top: 6px; border-top: 1px solid var(--line); }
.nav-drop__all a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--red);
  padding-top: 12px;
}
.nav-drop__all a:hover { background: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.header-phone-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 auto;
  border: 1px solid var(--line); color: var(--ink);
  transition: color var(--dur) ease, border-color var(--dur) ease;
}
.header-phone-icon:hover { color: var(--red); border-color: var(--red); }
.header-phone-icon--mobile { display: none; }

/* --- Бургер --- */
.burger {
  display: none;
  width: 44px; height: 44px; flex: 0 0 auto;
  align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line); cursor: pointer;
}
.burger__box { position: relative; display: block; width: 20px; height: 14px; }
.burger__line, .burger__line::before, .burger__line::after {
  position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink); content: ''; transition: transform var(--dur) ease, opacity var(--dur) ease;
}
.burger__line { top: 6px; }
.burger__line::before { top: -6px; }
.burger__line::after { top: 6px; }
.burger[aria-expanded="true"] .burger__line { background: transparent; }
.burger[aria-expanded="true"] .burger__line::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Красная рейтинговая полоса --- */
.rating-band { background: var(--red); color: var(--white); }
.rating-band__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 52px;
}
.rating-band__claim {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-size: 15px; line-height: 1.35; font-weight: 500;
}
.rating-band__marks {
  display: flex; align-items: center; gap: 24px;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--white); opacity: .85; white-space: nowrap;
}
.rating-band__marks li { margin: 0; }

/* --- Мобильное меню --- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(0,0,0,.5);
}
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(400px, 100%);
  background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu[hidden] { display: none; }
.menu-overlay[hidden] { display: none; }

.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.mobile-menu__title { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.mobile-menu__close {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); cursor: pointer; color: var(--ink);
}
.mobile-menu__close:hover { color: var(--red); border-color: var(--red); }

.mobile-menu__body { flex: 1 1 auto; overflow-y: auto; padding: 16px; }

.mobile-menu__search { position: relative; margin-bottom: 20px; }
.mobile-menu__search input[type="search"] { padding-right: 48px; }
.mobile-menu__search button {
  position: absolute; right: 0; top: 0; width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--muted); cursor: pointer;
}

.mobile-menu__nav ul { list-style: none; margin: 0 0 20px; padding: 0; }
.mobile-menu__nav li { margin: 0; }
.mobile-menu__nav a {
  display: block; padding: 10px 0; font-size: 16px; color: var(--ink);
}
.mobile-menu__nav a.is-active { color: var(--red); }

/* «Услуги» в мобильном меню — аккордеон с направлениями и услугами */
.mobile-menu__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 10px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 16px; line-height: inherit; color: var(--ink);
}
.mobile-menu__toggle .ic { color: var(--muted); transition: transform var(--dur) ease, color var(--dur) ease; }
.mobile-menu__toggle.is-active,
.mobile-menu__toggle[aria-expanded="true"] { color: var(--red); }
.mobile-menu__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); color: var(--red); }
.mobile-svc { margin: 2px 0 10px; padding: 2px 0 8px 14px; border-left: 2px solid var(--red); }
.mobile-svc__group { padding: 8px 0; }
.mobile-svc__group + .mobile-svc__group { border-top: 1px solid var(--line); }
/* Селекторы с .mobile-menu__nav: иначе общие правила ссылок и списков меню специфичнее */
.mobile-menu__nav .mobile-svc ul { margin: 0; }
.mobile-menu__nav .mobile-svc a {
  display: block; padding: 6px 0; font-size: 15px; line-height: 1.45; color: var(--ink);
}
.mobile-menu__nav .mobile-svc a:hover { color: var(--red); }
.mobile-menu__nav .mobile-svc a.mobile-svc__title {
  padding: 4px 0; font-family: var(--font-head); font-size: 15px; font-weight: 700;
}
.mobile-menu__nav .mobile-svc a.mobile-svc__all {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--red);
}

.mobile-menu__foot { border-top: 1px solid var(--line); padding-top: 20px; }
.mobile-menu__phone {
  display: block; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--ink);
}
.mobile-menu__hours { font-size: 14px; color: var(--muted); margin: 4px 0 16px; }

/* ------------------ Футер ------------------ */

.site-footer {
  background: var(--black); color: var(--white);
  padding: 72px 0 40px;
}

.footer-cols {
  display: grid; gap: var(--gutter);
  grid-template-columns: 1.3fr 1fr 1.2fr 1.5fr;
  padding-bottom: 48px;
}
.footer-col__title {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  color: var(--white); margin: 0 0 18px; letter-spacing: 0;
}
.footer-slogan { font-size: 14px; line-height: 1.5; color: var(--muted-dark); margin: 18px 0 10px; }
.footer-note { font-size: 13px; line-height: 1.55; color: var(--muted-dark); margin: 0; }

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin: 0 0 10px; }
.footer-list a {
  font-size: 15px; color: var(--white); opacity: .8;
  border-bottom: 1px solid transparent;
  transition: opacity var(--dur) ease, border-color var(--dur) ease;
}
.footer-list a:hover { opacity: 1; border-bottom-color: var(--red); }

.footer-phone {
  display: block; font-family: var(--font-head); font-size: 20px; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
  transition: color var(--dur) ease;
}
.footer-phone:hover { color: var(--red); }
.footer-phone--alt { font-size: 17px; font-weight: 600; opacity: .85; }
.footer-mail {
  display: inline-block; margin: 8px 0 14px; font-size: 15px; color: var(--white); opacity: .8;
  border-bottom: 1px solid transparent;
}
.footer-mail:hover { opacity: 1; border-bottom-color: var(--red); }
.footer-address, .footer-hours {
  font-size: 14px; line-height: 1.5; color: var(--muted-dark); margin: 0 0 8px;
}

.footer-social { display: flex; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.footer-social li { margin: 0; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  transition: background-color var(--dur) ease, border-color var(--dur) ease;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }

.footer-tags { border-top: 1px solid rgba(242,11,3,.5); padding: 28px 0; }
.footer-tags__title {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  color: var(--white); margin: 0 0 14px;
}
.footer-tags ul {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  list-style: none; margin: 0; padding: 0;
}
.footer-tags li { margin: 0; }
.footer-tags a {
  font-size: 13px; color: var(--white); opacity: .7;
  border-bottom: 1px solid transparent;
  transition: opacity var(--dur) ease, border-color var(--dur) ease;
}
.footer-tags a:hover { opacity: 1; border-bottom-color: var(--red); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
}
.footer-copy { font-size: 13px; color: var(--muted-dark); margin: 0; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  list-style: none; margin: 0; padding: 0;
}
.footer-legal li { margin: 0; }
.footer-legal a {
  font-size: 13px; color: var(--white); opacity: .7;
  border-bottom: 1px solid transparent;
}
.footer-legal a:hover { opacity: 1; border-bottom-color: var(--red); }

.footer-disclaimer {
  text-align: center; font-size: 13px; color: var(--muted-dark); margin: 24px 0 0;
}

/* ==================================================================
   3. Секции
   ================================================================== */

/* --- Герой главной --- */
.hero-home {
  position: relative; background: var(--black); color: var(--white);
  overflow: hidden;
}
.hero-home__media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-home__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-home__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.66) 60%, rgba(0,0,0,.38) 100%);
}
.hero-home__in { position: relative; z-index: 1; padding: 96px 0 104px; }
.hero-home__text { max-width: 660px; }
.hero-home h1 {
  font-size: 52px; line-height: 1.1; font-weight: 800; color: var(--white);
  margin-bottom: 20px;
}
.hero-home__lead {
  font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.85);
  max-width: 580px; margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* --- Герой внутренних страниц --- */
.page-hero {
  position: relative; background: var(--black); color: var(--white);
  min-height: 320px; display: flex; align-items: center; overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* кадр со встречей: лица в верхней части снимка — не срезать их широкой полосой */
.page-hero__media img[src*="1758518729685-f88df7890776"] { object-position: 50% 15%; }
.page-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.66) 60%, rgba(0,0,0,.38) 100%);
}
.page-hero__in { position: relative; z-index: 1; padding: 72px 0; width: 100%; }
.page-hero h1 { color: var(--white); max-width: 800px; margin-bottom: 16px; }
.page-hero__lead {
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.8);
  max-width: 720px; margin: 0;
}

/* --- Хлебные крошки --- */
.breadcrumbs { padding: 20px 0; background: var(--white); }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  list-style: none; margin: 0; padding: 0;
  font-size: 14px; line-height: 1.4;
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li::after { content: '/'; color: var(--line); }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: var(--red); }
.breadcrumbs a:hover { border-bottom: 1px solid var(--red); }
.breadcrumbs [aria-current] { color: var(--muted); }

/* --- Быстрый поиск по разделу --- */
.section-search { padding: 40px 0; background: var(--bg-soft); }
.section-search__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.section-search__title {
  font-family: var(--font-head); font-size: 20px; font-weight: 700; margin: 0;
}

/* --- Полоса статистики --- */
.stats-band { background: var(--bg-soft); padding: 72px 0; text-align: center; }
.stats-band__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  margin-bottom: 40px;
}
.stat__num {
  font-family: var(--font-head); font-size: 44px; line-height: 1.1; font-weight: 800;
  color: var(--red-btn); display: block; margin-bottom: 10px;
}
.stat__label { font-size: 15px; line-height: 1.5; color: var(--ink); margin: 0; }

/* --- Порядок работы: таймлайн --- */
.process { position: relative; }
.process__list {
  position: relative; list-style: none; margin: 0 auto; padding: 0;
  max-width: 980px;
}
.process__list::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; margin-left: -1px; background: var(--black);
}
.process__item {
  position: relative; margin: 0 0 48px; min-height: 40px;
  width: 50%; padding-right: 60px; text-align: right;
}
.process__item:last-child { margin-bottom: 0; }
.process__item:nth-child(even) {
  margin-left: 50%; padding-right: 0; padding-left: 60px; text-align: left;
}
.process__num {
  position: absolute; top: 0; right: -20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red-btn); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 18px; font-weight: 800;
  z-index: 1;
}
.process__item:nth-child(even) .process__num { right: auto; left: -20px; }
.process__title { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.process__text { font-size: 16px; line-height: 1.65; color: var(--ink); margin: 0; }
.process__foot { margin-top: 48px; }

/* --- Карточка выигранного дела --- */
.case-card {
  background: var(--bg-soft); padding: 28px; display: flex; flex-direction: column; height: 100%;
}
/* На светло-серой секции карточка становится белой, иначе она сливается с фоном.
   Правило идёт после базового, чтобы выиграть по порядку следования. */
.case-card.case-card--white { background: var(--white); }
.case-card__cat {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  margin: 0 0 12px;
}
.case-card__sum {
  font-family: var(--font-head); font-size: 28px; line-height: 1.15; font-weight: 800;
  color: var(--red-btn); margin: 0 0 12px;
}
.case-card__title { font-size: 17px; line-height: 1.4; font-weight: 700; margin: 0 0 10px; }
.case-card__text { font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0 0 16px; }
.case-card__court { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.case-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.case-won {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink);
}
.case-won .ic { color: var(--red); }
.case-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--red-btn); padding-bottom: 2px;
}
.case-card__link:hover { color: var(--red-btn); }

/* --- Лента дел --- */
.cases-strip__scroll {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
}
.cases-strip .case-card__text { display: none; }

/* --- Карточка услуги с ценой --- */
.service-card {
  background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--red);
  padding: 28px; display: flex; flex-direction: column; height: 100%;
}
.service-card h3 { margin-bottom: 12px; }
.service-card__text { font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0 0 20px; }
.service-card__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.service-card__price {
  font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink);
}
.service-card__price span { font-size: 14px; font-weight: 500; color: var(--muted); }

/* --- Чёрная карточка «не нашли услугу» --- */
.dark-card {
  background: var(--black); color: var(--white);
  padding: 32px; display: flex; flex-direction: column; height: 100%;
}
.dark-card h3 { color: var(--white); margin-bottom: 12px; }
.dark-card p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.8); margin-bottom: 24px; }
.dark-card .btn { margin-top: auto; align-self: flex-start; }

/* --- Карточка направления (главная) --- */
.dir-card { display: flex; flex-direction: column; height: 100%; }
.dir-card__icon { color: var(--red); margin-bottom: 16px; }
.dir-card h3 { margin-bottom: 10px; }
.dir-card__text { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.dir-card__subs { list-style: none; margin: 0 0 18px; padding: 0; }
.dir-card__subs li {
  position: relative; padding-left: 16px; margin-bottom: 8px;
  font-size: 15px; line-height: 1.5; color: var(--ink);
}
.dir-card__subs li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; background: var(--red); transform: rotate(45deg);
}
.dir-card .ghost-link { margin-top: auto; align-self: flex-start; font-size: 15px; }

/* --- Карточка практики (команда без персональных карточек) --- */
.practice-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red);
  padding: 28px;
}
.practice-card__icon { color: var(--red); margin-bottom: 14px; }
.practice-card h3 { margin-bottom: 12px; }
.practice-card__facts {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  list-style: none; margin: 0 0 14px; padding: 0;
}
.practice-card__facts li {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  font-size: 14px; line-height: 1.4; color: var(--muted);
}
.practice-card__facts .ic { color: var(--red); }
.practice-card__text { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.practice-card__label {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px;
}
.practice-card .dir-card__subs { margin-bottom: 20px; }
.practice-card .ghost-link { margin-top: auto; align-self: flex-start; font-size: 15px; }

/* --- Карточка отзыва --- */
.review-card {
  background: var(--white); border: 1px solid var(--line); padding: 28px;
  display: flex; flex-direction: column; height: 100%;
}
.review-card__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px;
}
.review-card__author { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin: 0; }
.review-card__role { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.review-card__date { font-size: 14px; color: var(--muted); flex: 0 0 auto; }
.review-card__text { font-size: 16px; line-height: 1.65; margin: 0 0 18px; }
.review-card .ghost-link { margin-top: auto; align-self: flex-start; font-size: 15px; }

.reviews-switch { display: inline-flex; gap: 0; margin-bottom: 32px; }
.reviews-switch button {
  height: 44px; padding: 0 22px; border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; margin-left: -1px;
  transition: background-color var(--dur) ease, color var(--dur) ease;
}
.reviews-switch button:first-child { margin-left: 0; }
.reviews-switch button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }

/* --- Карточка статьи --- */
.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card__img { margin: 0 0 18px; background: var(--bg-soft); }
.article-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-card__title { font-family: var(--font-head); font-size: 20px; line-height: 1.35; font-weight: 700; margin: 0 0 12px; }
.article-card__title a:hover { color: var(--red); }
.article-card__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 12px; padding: 0; }
.article-card__tags li { margin: 0; }
.article-card__lead { font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0 0 14px; }
.article-card .meta { margin-top: auto; }
.article-card__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  border-bottom: 1px solid var(--red-btn); padding-bottom: 2px; align-self: flex-start;
}
.article-card__more:hover { color: var(--red-btn); }

/* --- Нас цитируют --- */
.media-card { border-top: 3px solid var(--red); padding-top: 20px; }
.media-card__media {
  font-family: var(--font-head); font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 12px;
}
.media-card__title { font-size: 18px; line-height: 1.45; font-weight: 700; margin: 0 0 12px; }
.media-card__date { font-size: 14px; color: var(--muted); margin: 0 0 14px; }

/* --- Контакты пресс-службы --- */
.press-contacts__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.press-contacts__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.press-contacts .btn { margin-top: 24px; }
.press-contacts__links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 20px; }

/* --- Тёмная CTA-полоса --- */
.cta-band { background: var(--dark); color: var(--white); padding: 80px 0; }
.cta-band__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.cta-band__head h2 { color: var(--white); margin-bottom: 14px; }
.cta-band__head p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.cta-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.cta-col__icon { color: var(--white); margin-bottom: 14px; }
.cta-col__title {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.6);
  margin: 0 0 10px;
}
.cta-col__value { font-size: 16px; line-height: 1.6; color: var(--white); margin: 0; }
.cta-col__value a { color: var(--white); border-bottom: 1px solid transparent; }
.cta-col__value a:hover { border-bottom-color: var(--red); }
.cta-col__value--big { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.cta-col__socials { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cta-col__socials li { margin: 0; }
.cta-col__socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.25); color: var(--white);
  transition: background-color var(--dur) ease, border-color var(--dur) ease;
}
.cta-col__socials a:hover { background: var(--red); border-color: var(--red); }

/* --- Форма-лид --- */
.lead-form { background: var(--bg-soft); padding: var(--section-y) 0; }
.lead-form__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.lead-form h2 { margin-bottom: 14px; }
.lead-form__lead { font-size: 18px; line-height: 1.6; margin-bottom: 32px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form__actions { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
/* Правая колонка формы: коротко о компании вместо портрета */
.lead-form__aside { background: var(--black); color: var(--white); padding: 40px; }
.lead-form__aside-title {
  font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1.3;
  margin: 0 0 24px; padding-left: 16px; border-left: 4px solid var(--red);
}
.lead-form__facts { list-style: none; margin: 0 0 28px; padding: 0; }
.lead-form__facts li {
  display: flex; align-items: baseline; gap: 16px; margin: 0;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18);
}
.lead-form__facts li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.lead-form__num {
  flex: 0 0 92px; font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1;
  color: var(--white);
}
.lead-form__facts li span:last-child { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.82); }
.lead-form__contact { margin: 0; }
.lead-form__contact a {
  display: block; font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--white);
  transition: color var(--dur) ease;
}
.lead-form__contact a:hover { color: var(--red-btn); }
.lead-form__contact span { font-size: 14px; color: rgba(255,255,255,.72); }

/* --- Пагинация --- */
.pagination { padding: 48px 0 0; }
.pagination ul {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0; justify-content: center;
}
.pagination li { margin: 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink);
  transition: border-color var(--dur) ease, color var(--dur) ease;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination [aria-current="page"] { background: var(--red); border-color: var(--red); color: var(--white); }
.pagination .pagination__gap { border: 0; background: none; color: var(--muted); min-width: 24px; }

/* --- Модальное окно --- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.modal__box {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  background: var(--white); padding: 40px;
}
.modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); cursor: pointer; color: var(--ink);
}
.modal__close:hover { color: var(--red); border-color: var(--red); }
.modal__box h2 { font-size: 28px; margin-bottom: 10px; }
.modal__lead { font-size: 16px; line-height: 1.6; color: var(--ink); margin-bottom: 24px; }

/* --- Главная: вступление от лица компании --- */
.founder__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: start; }
.founder__text p { margin-bottom: 18px; }
.founder__sign { margin-top: 28px; }
.founder__sign strong {
  display: block; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--red-btn);
}
.founder__sign span { font-size: 15px; color: var(--muted); font-style: italic; }
.founder__sign a { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
.founder__aside { background: var(--bg-soft); border-top: 3px solid var(--red); padding: 36px; }
.founder__aside-title { font-size: 24px; line-height: 1.3; margin-bottom: 20px; }
.founder__rules { list-style: none; margin: 0 0 24px; padding: 0; }
.founder__rules li { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.founder__rules li:first-child { border-top: 0; padding-top: 0; }
.founder__rules strong { display: block; font-family: var(--font-head); font-size: 17px; line-height: 1.4; margin-bottom: 4px; }
.founder__rules span { display: block; font-size: 15px; line-height: 1.6; color: var(--ink); }
.founder__aside .ghost-link { font-size: 15px; }

/* --- Каталог услуг --- */
.catalog-group { margin-bottom: 72px; }
.catalog-group:last-child { margin-bottom: 0; }
.catalog-group__head { border-top: 3px solid var(--red); padding-top: 24px; margin-bottom: 32px; }
.catalog-group__head h2 { font-size: 32px; margin-bottom: 10px; }
.catalog-group__head p { font-size: 17px; line-height: 1.65; max-width: 820px; margin: 0; }
.catalog-more { margin-top: 28px; text-align: center; }
.js-hidden-card { display: none; }

/* --- Направление --- */
.service-intro__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.service-intro__lead { font-size: 18px; line-height: 1.7; margin: 0; }
.anchor-list { background: var(--bg-soft); padding: 28px; }
.anchor-list h2 { font-size: 20px; margin-bottom: 16px; }
.anchor-list ul { list-style: none; margin: 0; padding: 0; }
.anchor-list li { margin-bottom: 10px; }
.anchor-list a { font-size: 15px; line-height: 1.5; border-bottom: 1px solid var(--red-btn); }
.anchor-list a:hover { color: var(--red-btn); }

.experts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.expert {
  display: flex; align-items: center; gap: 24px;
  background: var(--bg-soft); padding: 28px;
}
.expert__ava {
  flex: 0 0 auto; width: 104px; height: 104px; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--red);
}
.expert__ava--icon,
.author-card__ava--icon {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--red);
}
.expert__name { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.expert__role { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.expert__spec { font-size: 15px; line-height: 1.5; margin: 0; }

/* --- Аккордеон FAQ --- */
.faq { list-style: none; margin: 0; padding: 0; max-width: 900px; border-top: 1px solid var(--line); }
.faq__item { margin: 0; border-bottom: 1px solid var(--line); }
.faq__btn {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 0; text-align: left;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 18px; line-height: 1.45; font-weight: 700; color: var(--ink);
}
.faq__btn:hover { color: var(--red); }
.faq__btn .ic { flex: 0 0 auto; margin-top: 3px; color: var(--red); transition: transform var(--dur) ease; }
.faq__btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.faq__panel { padding: 0 0 22px; }
.faq__panel[hidden] { display: none; }
.faq__panel p { font-size: 16px; line-height: 1.7; margin: 0; max-width: 780px; }

/* --- Консультация: контакты + карта --- */
.consult__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.def-list { margin: 0; }
.def-list dt {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px;
}
.def-list dd { margin: 0 0 20px; font-size: 16px; line-height: 1.6; }
.def-list dd a { border-bottom: 1px solid var(--red-btn); }
.def-list dd a:hover { color: var(--red-btn); }
.def-list__phone { font-family: var(--font-head); font-size: 22px; font-weight: 700; }

/* Яндекс.Карта: 100% ширины, ~420–460 на десктопе, 300 на телефоне */
.ya-map { display: block; width: 100%; height: 420px; border: 0; background: var(--bg-soft); }
.consult__map { border: 1px solid var(--line); background: var(--white); }
.consult__map-note {
  display: flex; align-items: flex-start; gap: 10px; margin: 0;
  padding: 16px 18px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.5;
}
.consult__map-note .ic { color: var(--red); margin-top: 1px; }

/* --- О компании --- */
.about-text__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.quote-box {
  background: var(--bg-soft); border-left: 3px solid var(--red);
  padding: 28px 28px 28px 32px;
}
.quote-box__text { font-size: 18px; line-height: 1.65; margin: 0 0 16px; }
.quote-box__author { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin: 0; }
.quote-box__role { font-size: 14px; color: var(--muted); font-style: italic; margin: 0; }

.history__track {
  display: flex; align-items: center; gap: 0;
  border-top: 2px solid var(--line); margin: 40px 0 32px; padding-top: 0;
}
.history__year {
  flex: 1 1 0; position: relative; padding-top: 26px; text-align: center;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--muted);
  transition: color var(--dur) ease;
}
.history__year::before {
  content: ''; position: absolute; left: 50%; top: -7px; margin-left: -6px;
  width: 12px; height: 12px; background: var(--line); transform: rotate(45deg);
  transition: background-color var(--dur) ease;
}
.history__year:hover { color: var(--ink); }
.history__year[aria-selected="true"] { color: var(--red); }
.history__year[aria-selected="true"]::before { background: var(--red); }
.history__panel { max-width: 820px; }
.history__panel[hidden] { display: none; }
.history__panel h3 { font-size: 24px; margin-bottom: 10px; }
.history__panel p { font-size: 17px; line-height: 1.7; margin: 0; }
.history__nav { display: flex; gap: 12px; margin-top: 28px; }

.principles__list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px var(--gutter);
  list-style: none; margin: 0; padding: 0;
}
.principles__list li { margin: 0; position: relative; padding-left: 30px; }
.principles__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; background: var(--red); transform: rotate(45deg);
}
.principles__list h3 { font-size: 19px; margin-bottom: 8px; }
.principles__list p { font-size: 16px; line-height: 1.65; margin: 0; }

/* --- Цены --- */
.prices-intro__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.notice-box { background: var(--bg-soft); padding: 28px; }
.notice-box h2, .notice-box h3 { font-size: 20px; line-height: 1.35; margin-bottom: 10px; }
.notice-box p { font-size: 16px; line-height: 1.65; margin: 0; }

.prices__layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.prices__cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prices__cats li { margin: 0; border-bottom: 1px solid var(--line); }
.prices__cats button {
  display: block; width: 100%; text-align: left; padding: 14px 16px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background-color var(--dur) ease, color var(--dur) ease;
}
.prices__cats button:hover { color: var(--red); }
.prices__cats button[aria-selected="true"] { background: var(--red); color: var(--white); }

.price-table { width: 100%; border-collapse: collapse; }
.price-table caption {
  text-align: left; font-family: var(--font-head); font-size: 24px; font-weight: 800;
  padding-bottom: 20px;
}
.price-table th, .price-table td {
  padding: 16px 20px; text-align: left; font-size: 16px; line-height: 1.5;
  border: 0;
}
.price-table th {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.price-table tbody tr:nth-child(odd) { background: var(--bg-soft); }
.price-table td:last-child {
  font-family: var(--font-head); font-weight: 700; white-space: nowrap; text-align: right;
}
.prices__panel[hidden] { display: none; }

.prices-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--black); color: var(--white); padding: 40px;
}
.prices-promo h2 { color: var(--white); font-size: 32px; margin: 0 0 8px; }
.prices-promo p { color: rgba(255,255,255,.8); margin: 0; font-size: 16px; }
.prices-promo__btn {
  flex: 0 0 auto; width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: var(--white); border: 0; cursor: pointer;
  transition: background-color var(--dur) ease;
}
.prices-promo__btn:hover { background: var(--red-hover); }

/* --- Дела: фильтры --- */
.cases-filters { margin-bottom: 40px; }

/* --- Отзывы --- */
.reviews-intro__row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.reviews-intro__text { max-width: 760px; }
.sources__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); }
.source { text-align: center; }
.source__name {
  font-family: var(--font-head); font-size: 17px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px;
}
.source__count { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.source__rate {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--ink);
}
.source__rate .ic { color: var(--red); }

/* --- Журнал --- */
.journal-tags__level { margin-bottom: 16px; }
.journal-tags__level:last-child { margin-bottom: 0; }
.journal-tags__sub .chip { height: 34px; font-size: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.journal-tags__sub .chip:hover { color: var(--red); }

/* --- Статья --- */
.article-header { padding: 56px 0 32px; }
.article-header h1 { max-width: 900px; }
.article-header__lead { font-size: 20px; line-height: 1.6; max-width: 820px; margin: 0 0 20px; }
.article-header__meta a { color: var(--ink); border-bottom: 1px solid var(--red-btn); }
.article-header__meta a:hover { color: var(--red-btn); }

.toc { background: var(--bg-soft); padding: 28px; margin: 0 auto 40px; }
.toc h2 { font-size: 20px; margin-bottom: 14px; text-align: left; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 8px; font-size: 16px; }
.toc a { border-bottom: 1px solid var(--red-btn); }
.toc a:hover { color: var(--red-btn); }

.article-body { font-size: 17px; line-height: 1.7; }
.article-body h2 { font-size: 24px; line-height: 1.3; font-weight: 700; text-align: center; margin: 40px 0 18px; }
.article-body h3 { font-size: 20px; margin: 32px 0 14px; }
.article-body ul, .article-body ol { padding-left: 0; list-style: none; margin-bottom: 20px; }
.article-body ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.article-body ul li::before {
  content: ''; position: absolute; left: 2px; top: 10px;
  width: 8px; height: 8px; background: var(--red); transform: rotate(45deg);
}
.article-body ol { counter-reset: n; }
.article-body ol li { position: relative; padding-left: 32px; margin-bottom: 10px; counter-increment: n; }
.article-body ol li::before {
  content: counter(n) '.'; position: absolute; left: 0; top: 0;
  font-family: var(--font-head); font-weight: 700; color: var(--red);
}
.callout {
  background: var(--white); border-left: 3px solid var(--red);
  padding: 20px 24px; margin: 28px 0;
}
.callout strong { display: block; font-family: var(--font-head); font-size: 16px; margin-bottom: 6px; color: var(--red); }
.court-quote {
  background: var(--bg-soft); padding: 24px;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, 'Courier New', monospace;
  font-size: 15px; line-height: 1.7; margin: 28px 0;
}
.article-body figure { margin: 32px 0; }
.article-body figure img { width: 100%; }
.article-body figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

.author-card {
  display: flex; align-items: center; gap: 24px;
  background: var(--bg-soft); padding: 28px; margin: 40px auto 0;
}
.author-card__ava {
  flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--red);
}
.author-card__name { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.author-card__role { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.author-card__spec { font-size: 15px; margin: 0 0 10px; }

/* --- Контакты --- */
.contacts-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--line); }
.contacts-card__map { position: relative; min-height: 460px; background: var(--bg-soft); }
.contacts-card__map .ya-map { height: 100%; min-height: 460px; }
/* Иконка и текст в одной строке: общий .meta переносит длинный текст под иконку */
.contacts-card__meta { flex-wrap: nowrap; align-items: flex-start; gap: 8px; margin: 0 0 10px; }
.contacts-card__meta .ic { margin-top: 1px; }
.contacts-card__maplink { margin: 18px 0 0; font-size: 15px; }
.contacts-card__maplink a { display: inline-flex; align-items: center; gap: 6px; }
.contacts-card__body { padding: 40px; }
.contacts-card__body h2 { font-size: 28px; margin-bottom: 16px; }
.contacts-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn--ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.channels__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.channels__list { list-style: none; margin: 0; padding: 0; }
.channels__list li { margin: 0 0 12px; }
.channels__list a {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 16px; color: var(--ink);
}
.channels__list a .ic {
  width: 40px; height: 40px; padding: 10px; border: 1px solid var(--line); color: var(--ink);
  transition: color var(--dur) ease, border-color var(--dur) ease;
}
.channels__list a:hover { color: var(--red); }
.channels__list a:hover .ic { color: var(--red); border-color: var(--red); }

.route__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.route__list { counter-reset: r; list-style: none; margin: 0; padding: 0; }
.route__list li {
  position: relative; padding-left: 34px; margin-bottom: 14px;
  font-size: 16px; line-height: 1.65; counter-increment: r;
}
.route__list li::before {
  content: counter(r); position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--red-btn); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
}
.route__list b { color: var(--red-btn); font-weight: 700; }

/* --- 404 --- */
.error-hero { background: var(--black); color: var(--white); padding: 96px 0; }
/* Селектор с тегом: иначе идущее ниже правило .error-hero p (специфичнее)
   перебивает и размер, и цвет крупного числа 404. */
.error-hero p.error-hero__code {
  font-family: var(--font-head); font-size: 120px; line-height: 1; font-weight: 800;
  color: var(--red-btn); margin: 0 0 16px;
}
.error-hero h1 { color: var(--white); }
.error-hero p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 620px; margin-bottom: 32px; }
.error-links__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.error-link {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); padding: 22px 24px;
  font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--ink);
  transition: border-color var(--dur) ease, color var(--dur) ease;
}
.error-link .ic { color: var(--red); }
.error-link:hover { border-color: var(--red); color: var(--red); }

/* --- Карта сайта --- */
.sitemap__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.sitemap__col h2 { font-size: 20px; margin-bottom: 16px; border-top: 3px solid var(--red); padding-top: 16px; }
.sitemap__col ul { list-style: none; margin: 0; padding: 0; }
.sitemap__col li { margin-bottom: 10px; font-size: 15px; line-height: 1.5; }
.sitemap__col ul ul { margin: 10px 0 0 16px; }
.sitemap__col ul ul li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink); }
.sitemap__col ul ul li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: var(--red); transform: rotate(45deg);
}
.sitemap__col a { border-bottom: 1px solid transparent; }
.sitemap__col a:hover { color: var(--red); border-bottom-color: var(--red); }
.sitemap__legal { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.sitemap__legal a { font-size: 15px; border-bottom: 1px solid var(--red-btn); }
.sitemap__legal a:hover { color: var(--red-btn); }

/* --- Появление при скролле --- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==================================================================
   4. Адаптив, доступность, печать
   ================================================================== */

/* --- 1280 и ниже --- */
@media (max-width: 1279px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .sources__grid { grid-template-columns: repeat(3, 1fr); }
  .nav-main > ul { gap: 12px; }
  .nav-secondary ul { gap: 14px; }
  .header-search { width: 140px; }
  .header-phone { font-size: 19px; }
}

/* Ниже 1200 в нижнем ряду не помещаются оба действия: сначала уходит
   иконка телефона (номер остаётся в верхнем ряду), затем — кнопка CTA.
   Так пять пунктов меню в одну строку никогда не наезжают на кнопки. */
@media (max-width: 1199px) {
  .header-bottom .header-phone-icon { display: none; }
}
@media (max-width: 1099px) {
  .header-bottom .header-actions { display: none; }
  .nav-main > ul { gap: 10px; }
}
/* На узких десктопах верхнему ряду не хватает места под поле поиска:
   убираем его, чтобы вторичное меню не наезжало на «Контакты».
   Поиск остаётся в разделах и в мобильной панели. */
@media (max-width: 999px) {
  .header-top__in .header-search { display: none; }
  .nav-secondary ul { gap: 12px; }
  .nav-secondary a { font-size: 14px; }
}

/* --- 1024 и ниже --- */
@media (max-width: 1023px) {
  :root { --section-y: 72px; --gutter: 24px; }

  /* На узких экранах текст занимает почти всю ширину и уходит в светлую
     часть горизонтальной вуали. Переводим вуаль в вертикальную и усиливаем,
     чтобы белый текст держал контраст не ниже AA на любом кадре. */
  .hero-home__media::after,
  .page-hero__media::after,
  .error-hero__media::after {
    background: linear-gradient(180deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.88) 100%);
  }

  h1 { font-size: 36px; }
  h2 { font-size: 32px; }

  .hero-home h1 { font-size: 40px; }
  .hero-home__in { padding: 72px 0 80px; }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cases-strip__scroll { grid-template-columns: repeat(2, 1fr); }

  .founder__grid,
  .about-text__grid,
  .prices-intro__grid,
  .service-intro__grid,
  .lead-form__grid,
  .press-contacts__grid,
  .consult__grid,
  .contacts-card,
  .channels__grid,
  .route__grid { grid-template-columns: 1fr; gap: 40px; }

  .prices__layout { grid-template-columns: 1fr; gap: 32px; }
  .cta-band__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .error-links__grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap__grid { grid-template-columns: repeat(2, 1fr); gap: 40px var(--gutter); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 40px var(--gutter); }
  .experts__grid { grid-template-columns: 1fr; }
  .stat__num { font-size: 36px; }
}

/* --- Мобильная шапка: ниже 900px --- */
@media (max-width: 899px) {
  .nav-secondary,
  .header-contacts-link,
  .header-search,
  .header-phone,
  .header-bottom,
  .rating-band__marks { display: none; }

  /* Вертикальная вуаль подключается ниже, с 1023px. */

  .burger { display: inline-flex; }
  .header-phone-icon--mobile { display: inline-flex; }

  .header-top__in { justify-content: space-between; gap: 12px; min-height: 64px; }
  .logo { margin-right: auto; }

  .rating-band__in { min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
  .rating-band__claim { font-size: 14px; }

  /* Таймлайн: линия слева, все блоки справа */
  .process__list::before { left: 20px; margin-left: 0; }
  .process__item,
  .process__item:nth-child(even) {
    width: 100%; margin-left: 0; padding-left: 60px; padding-right: 0; text-align: left;
  }
  .process__num,
  .process__item:nth-child(even) .process__num { left: 0; right: auto; }

  /* Дела: горизонтальный скролл со snap */
  .cases-strip__scroll {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 16px; padding-bottom: 12px; -webkit-overflow-scrolling: touch;
  }
  .cases-strip__scroll > * { flex: 0 0 78%; scroll-snap-align: start; }

  .prices-promo { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 24px; }
  .prices-promo h2 { font-size: 26px; }
}

/* --- 768 и ниже --- */
@media (max-width: 767px) {
  :root { --pad-x: 16px; --section-y: 56px; }

  body { font-size: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }

  .hero-home h1 { font-size: 32px; line-height: 1.15; }
  .hero-home__lead { font-size: 17px; }
  .hero-home__in { padding: 56px 0 64px; }
  .hero-actions .btn { width: 100%; }

  .page-hero { min-height: 240px; }
  .page-hero__in { padding: 48px 0; }
  .page-hero__lead { font-size: 16px; }

  .section-head { margin-bottom: 32px; }
  .section-lead { font-size: 16px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .cases-strip__scroll > * { flex-basis: 86%; }

  .stats-band__grid { grid-template-columns: 1fr; gap: 32px; }
  .stat__num { font-size: 32px; }

  .cta-band { padding: 56px 0; }
  .cta-band__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band__head { margin-bottom: 40px; }

  .principles__list { grid-template-columns: 1fr; gap: 28px; }
  .error-links__grid, .sitemap__grid { grid-template-columns: 1fr; }
  .sources__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .footer-cols { grid-template-columns: 1fr; gap: 36px; }

  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form__aside { padding: 28px 20px; }
  .lead-form__num { flex-basis: 76px; font-size: 30px; }

  .ya-map,
  .contacts-card__map .ya-map { height: 300px; min-height: 300px; }
  .contacts-card__map { min-height: 300px; }
  .founder__aside { padding: 28px 20px; }
  .practice-card { padding: 24px 20px; }

  .contacts-card__body { padding: 28px 20px; }
  .contacts-card__actions .btn { width: 100%; }

  .modal__box { padding: 28px 20px; }
  .modal { padding: 0; align-items: stretch; }
  .modal__box { max-height: 100vh; }

  .error-hero { padding: 64px 0; }
  .error-hero p.error-hero__code { font-size: 76px; }

  .article-body h2 { font-size: 21px; text-align: left; }
  .article-header { padding: 40px 0 24px; }
  .article-header__lead { font-size: 17px; }

  .author-card, .expert { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px; }

  .price-table th, .price-table td { padding: 12px 14px; font-size: 15px; }
  .price-table caption { font-size: 20px; }

  .history__track { overflow-x: auto; gap: 4px; }
  .history__year { flex: 0 0 84px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-legal { flex-direction: column; gap: 8px; }

  .reviews-switch { width: 100%; }
  .reviews-switch button { flex: 1 1 0; padding: 0 12px; font-size: 14px; }

  .section-search__in { flex-direction: column; align-items: stretch; gap: 14px; }
  .search-row { max-width: none; }
}

/* --- 360 --- */
@media (max-width: 400px) {
  .hero-home h1 { font-size: 28px; }
  .error-hero p.error-hero__code { font-size: 62px; }
  .header-phone-icon, .burger { width: 40px; height: 40px; }
  .mobile-menu { width: 100%; }
  .chip { height: 36px; padding: 0 14px; font-size: 14px; }
}

/* --- Крупные экраны --- */
@media (min-width: 1440px) {
  .hero-home__in { padding: 120px 0 128px; }
}

/* --- Фокус --- */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.section--dark :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.hero-home :focus-visible,
.page-hero :focus-visible,
.error-hero :focus-visible {
  outline-color: var(--white);
}
.rating-band :focus-visible { outline-color: var(--white); }

/* --- Уважение к настройкам движения --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mobile-menu { transition: none; }
}

/* --- Печать --- */
@media print {
  .site-header, .rating-band, .mobile-menu, .menu-overlay,
  .site-footer, .modal, .lead-form, .cta-band, .btn, .pagination,
  .burger { display: none !important; }

  body { font-size: 12pt; line-height: 1.5; color: #000; background: #fff; }
  .section, .lead-form { padding: 12pt 0; }
  .page-hero, .hero-home, .error-hero { background: #fff !important; color: #000 !important; min-height: 0; }
  .page-hero__media, .hero-home__media { display: none; }
  .page-hero h1, .hero-home h1, .page-hero__lead, .hero-home__lead { color: #000 !important; }
  a { color: #000; border: 0; }
  .container { max-width: none; padding: 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  img { max-width: 100%; }
}
