/* ==================================================================
   Автоадвокат 77 — style.css
   1. Переменные, сброс, типографика, контейнеры, кнопки, формы
   2. Шапка, навигация, бургер, мобильное меню, футер
   3. Секции
   4. Медиазапросы, доступность, печать
   ================================================================== */

/* ------------------------------------------------------------------
   1. ПЕРЕМЕННЫЕ
   ------------------------------------------------------------------ */

/* Атрибут hidden обязан скрывать: правило класса с display перебивает
   браузерное [hidden]{display:none}, и скрытый блок остаётся видимым. */
[hidden] { display: none !important; }

:root {
  /* палитра */
  --ink: #1A2332;
  --ink-soft: #2A3547;
  --green: #1F4D3A;
  --green-dark: #17392B;
  --green-pale: #E8EFE9;
  --gold: #A97C3D;          /* линии, номера, декор */
  --gold-text: #8A6224;     /* тот же акцент для мелкого текста (контраст AA) */
  --gold-light: #D4B985;    /* акцент на тёмном */
  --bg: #FBF9F5;
  --bg-alt: #F2EFE8;
  --surface: #FFFFFF;
  --sand: #F0E2C0;
  --line: #E3DDD1;
  --line-dark: rgba(212, 185, 133, .22);
  --text: #22262C;
  --muted: #6E6A62;
  --on-dark: #C7CBD3;

  /* шрифты */
  --ff-head: 'Playfair Display', 'PT Serif', Georgia, serif;
  --ff-text: 'Golos Text', 'PT Sans', 'Segoe UI', system-ui, sans-serif;

  /* сетка */
  --container: 1200px;
  --container-narrow: 920px;
  --pad: 20px;
  --gap: 28px;
  --section: 64px;

  /* прочее */
  --radius: 2px;
  --t: 160ms ease;
}

/* ------------------------------------------------------------------
   СБРОС
   ------------------------------------------------------------------ */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* едва заметная вертикальная текстура фона, без резких границ */
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    180deg,
    var(--bg) 0 60px,
    #F8F5EF 130px,
    var(--bg) 200px 260px
  );
  background-attachment: fixed;
  color: var(--text);
  font: 400 16px/1.75 var(--ff-text);
  font-feature-settings: "liga" 1, "kern" 1;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--ff-head);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.01em;
}

h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.15; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; }
h4 { font-size: 17px; line-height: 1.35; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color var(--t); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

table { border-collapse: collapse; width: 100%; }

button { font: inherit; color: inherit; }

hr {
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

figure { margin: 0; }

/* фирменный курсивный акцент в заголовках */
.ac {
  font-family: var(--ff-head);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}

/* ------------------------------------------------------------------
   ТИПОГРАФИКА
   ------------------------------------------------------------------ */

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.small { font-size: 14px; line-height: 1.6; }

.muted { color: var(--muted); }

/* микро-лейбл: эйбрау, мета-строки, заголовки колонок */
.label {
  display: inline-block;
  font-family: var(--ff-text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.label--dark { color: var(--gold-light); }

/* эйбрау секции: линия 32px + текст */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  flex: 0 0 32px;
  height: 1px;
  background: var(--green);
}

.eyebrow--center {
  justify-content: center;
  text-align: center;
}

.eyebrow--center::after {
  content: "";
  flex: 0 0 32px;
  height: 1px;
  background: var(--green);
}

.eyebrow--dark { color: var(--on-dark); }
.eyebrow--dark::before,
.eyebrow--dark::after { background: var(--gold-light); }

/* ------------------------------------------------------------------
   КОНТЕЙНЕРЫ И СЕКЦИИ
   ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.container--narrow {
  max-width: calc(var(--container-narrow) + var(--pad) * 2);
}

.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--line { border-top: 1px solid var(--line); }
.section--tight { padding-top: 0; }

.section__head { margin-bottom: 40px; }

.section__head--center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section--dark h2,
.section--dark h3 { color: #F4F1EA; }

/* ------------------------------------------------------------------
   КНОПКИ
   ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--ff-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t);
}

.btn--primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn--secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--secondary:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn--on-dark {
  background: transparent;
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn--on-dark:hover {
  background: var(--gold-light);
  color: var(--ink);
}

.btn:active { transform: translateY(1px); }

.btn--block { width: 100%; }

.btn--sm { padding: 13px 22px; font-size: 11px; }

/* текстовая ссылка со стрелкой */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.link-arrow .ico {
  flex: 0 0 auto;
  transition: transform var(--t);
}

.link-arrow:hover { color: var(--green); }
.link-arrow:hover .ico { transform: translateX(4px); }

.link-arrow--dark { color: var(--gold-light); }
.link-arrow--dark:hover { color: #FFFFFF; }

/* чипы-рубрики и строка поиска */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}

.chip:hover { border-color: var(--ink); }

.chip.is-active,
.chip[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #F4F1EA;
}

/* ------------------------------------------------------------------
   ФОРМЫ
   ------------------------------------------------------------------ */

.field { margin-bottom: 18px; }

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font: 400 15px/1.5 var(--ff-text);
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
}

.input::placeholder,
.textarea::placeholder { color: #9C978D; }

.input:hover,
.textarea:hover,
.select:hover { border-color: #CFC7B6; }

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.textarea { min-height: 130px; resize: vertical; }

.select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font: 400 14px/1.5 var(--ff-text);
  color: var(--text);
}

.search__input:focus { outline: none; }

.search:focus-within { border-color: var(--ink); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.check a {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.form__error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: #A32A20;
}

.field.has-error .input,
.field.has-error .textarea { border-color: #A32A20; }

.field.has-error .form__error { display: block; }

.form__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   УТИЛИТЫ
   ------------------------------------------------------------------ */

/* mobile-first: одна колонка, расширение — в медиазапросах (раздел 4) */
.grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }

.hairline { height: 1px; background: var(--line); border: 0; }

.ico { flex: 0 0 auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: #F4F1EA;
  font-size: 13px;
  transition: top var(--t);
}

.skip-link:focus { top: 12px; }

.nowrap { white-space: nowrap; }

/* ==================================================================
   2. ШАПКА И ФУТЕР
   ================================================================== */

/* ---------------------------- топбар ----------------------------- */

.topbar {
  background: var(--ink);
  color: var(--gold-light);
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.topbar__marks {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar__mark {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar__mark .dot {
  width: 4px;
  height: 4px;
  background: var(--gold-light);
}

.topbar__side {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
}

.topbar__phone {
  font-size: 13px;
  color: var(--gold-light);
  white-space: nowrap;
}

.topbar__phone:hover { color: #FFFFFF; }

.topbar__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}

.topbar__link:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* -------------------------- основная строка ---------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__in {
  display: flex;
  align-items: center;
  min-height: 88px;
  gap: 24px;
}

.brand {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.brand__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--green);
  font-family: var(--ff-head);
  font-size: 20px;
  color: var(--ink);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}

.brand__name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.brand__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand:hover .brand__mark { border-color: var(--gold); }

/* ---------------------------- навигация -------------------------- */

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 38px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item { margin: 0; }

.nav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.nav__link:hover { color: var(--green); }

.nav__link.is-active { color: var(--gold-text); }

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--gold);
}

/* ------------------------ мегаменю «Услуги» ---------------------- */

/* навигация тянется на всю высоту строки шапки, чтобы пункт «Услуги»
   упирался в нижний край шапки и панель открывалась без зазора */
.nav {
  display: flex;
  align-self: stretch;
}

.nav__item--mega {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font-family: var(--ff-text);
  line-height: inherit;
  cursor: pointer;
}

.nav__trigger .ico {
  flex: 0 0 auto;
  color: var(--gold);
  transition: transform var(--t);
}

.nav__trigger[aria-expanded="true"] { color: var(--green); }
.nav__trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
}

.mega__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  margin-top: -1px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 28px 48px -28px rgba(26, 35, 50, .35);
}

.mega__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 30px 32px 34px;
}

/* две строки подписи группы: разделители колонок встают на одну линию */
.mega__title {
  min-height: calc(3em + 13px);
  margin: 0 0 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mega__title a { color: var(--gold-text); }
.mega__title a:hover { color: var(--green); }

.mega__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega__list li { margin: 0; }

.mega__link {
  display: block;
  padding: 8px 0;
}

.mega__name {
  display: block;
  font-family: var(--ff-head);
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--t);
}

.mega__law {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.mega__link:hover .mega__name,
.mega__link:focus-visible .mega__name { color: var(--green); }

.mega__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 28px 34px;
  background: var(--bg-alt);
  border-left: 1px solid var(--line);
}

.mega__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.mega__text {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.mega__phone {
  font-family: var(--ff-head);
  font-size: 22px;
  color: var(--ink);
  white-space: nowrap;
}

.mega__phone:hover { color: var(--green); }

.mega__note {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.mega__all { margin-top: 6px; }

/* ----------------------------- бургер ---------------------------- */

.burger {
  display: none;
  flex: 0 0 auto;
  width: 24px;
  height: 18px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger__bar {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t), opacity var(--t);
}

.burger__bar + .burger__bar { margin-top: 6px; }

.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------- мобильное меню ------------------------ */

.mmenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mmenu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mmenu__list li { margin: 0; }

.mmenu__link {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}

.mmenu__link:hover { color: var(--green); }
.mmenu__link.is-active { color: var(--gold-text); }

/* аккордеон «Услуги»: кнопка раскрывает группы, а не уводит на страницу */
.mmenu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-family: var(--ff-text);
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.mmenu__toggle .ico {
  flex: 0 0 auto;
  color: var(--gold);
  transition: transform var(--t);
}

.mmenu__toggle[aria-expanded="true"] { color: var(--green); }
.mmenu__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }

.mmenu__sub {
  padding: 4px 0 20px;
  border-bottom: 1px solid var(--line);
}

.mmenu__group {
  margin: 16px 0 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.mmenu__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mmenu__sublist li { margin: 0; }

.mmenu__sublink {
  display: block;
  padding: 9px 0 9px 14px;
  border-left: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}

.mmenu__sublink:hover {
  color: var(--green);
  border-left-color: var(--green);
}

.mmenu__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}

.mmenu__foot { padding: 24px 0 28px; }

.mmenu__phone {
  display: block;
  font-family: var(--ff-head);
  font-size: 24px;
  color: var(--ink);
}

.mmenu__note {
  display: block;
  margin: 6px 0 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ----------------------------- футер ----------------------------- */

.footer {
  padding: 80px 0 28px;
  background: var(--ink);
  color: var(--on-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 44px;
}

.fbrand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.fbrand__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold-light);
  font-family: var(--ff-head);
  font-size: 18px;
  color: var(--gold-light);
}

.fbrand__text { display: flex; flex-direction: column; gap: 5px; }

.fbrand__name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}

.fbrand__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark);
  white-space: nowrap;
}

.footer__reg {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-dark);
}

.footer__title {
  margin: 0 0 18px;
  font-family: var(--ff-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list li {
  margin: 0 0 11px;
  font-size: 14px;
  line-height: 1.55;
}

.footer__list a { color: var(--on-dark); }

.footer__list a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--gold-light);
  text-underline-offset: 4px;
}

.footer__list--plain { margin-top: 16px; }

.footer__phone {
  display: block;
  margin-bottom: 6px;
  font-family: var(--ff-head);
  font-size: 18px;
  color: #F4F1EA;
}

.footer__phone:hover { color: var(--gold-light); }

.msg {
  display: flex;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.msg li { margin: 0; }

.msg__btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(212, 185, 133, .4);
  border-radius: 50%;
  color: var(--gold-light);
  transition: background-color var(--t), color var(--t), border-color var(--t);
}

.msg__btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.footer__copy,
.footer__legal {
  margin: 0;
  font-size: 13px;
  color: var(--on-dark);
}

.footer__legal {
  display: flex;
  gap: 26px;
}

.footer__legal a { color: var(--gold-light); }

.footer__legal a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==================================================================
   3. СЕКЦИИ
   ================================================================== */

/* ------------------------- первый экран -------------------------- */

.hero { padding: 56px 0 var(--section); }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero__title { margin-bottom: 24px; }

.hero__lead {
  max-width: 30em;
  margin-bottom: 32px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero__note {
  max-width: 34em;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--green);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.hero__media { position: relative; }

.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 24px;
  background: rgba(26, 35, 50, .55);
  color: #F4F1EA;
}

.hero__caption b {
  display: block;
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero__caption span {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* --------------------- сценарные плитки -------------------------- */

.scen__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scen__tile {
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t);
}

.scen__tile:hover { border-color: var(--green); }

.scen__tile svg {
  width: 100%;
  height: auto;
  aspect-ratio: 220 / 150;
}

.scen__cap {
  padding: 14px 16px 18px;
  text-align: center;
}

.scen__name {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}

.scen__tile:hover .scen__name { color: var(--green); }

.scen__law {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.scen__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.scen__tags li { margin: 0; }

.scen__tag {
  display: inline-block;
  padding: 11px 18px;
  background: var(--ink);
  color: #E7E2D6;
  font-size: 12px;
  letter-spacing: .06em;
  transition: background-color var(--t), color var(--t);
}

.scen__tag:hover {
  background: var(--green);
  color: #FFFFFF;
}

/* ------------- «список вместо карточек» (номер 01–06) ------------ */

.rowlist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rowlist li { margin: 0; }

.rowlist__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.rowlist__num {
  padding-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--gold-text);
}

.rowlist__title {
  font-family: var(--ff-head);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
}

.rowlist__note {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

a.rowlist__row:hover .rowlist__title { color: var(--green); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

/* ----------------------- карточки направлений -------------------- */

.pract__card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t);
}

.pract__card:hover { border-color: var(--green); }

.pract__head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin-bottom: 22px;
}

.pract__glyph {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--green);
  background: var(--green-pale);
  font-family: var(--ff-head);
  font-size: 17px;
  color: var(--green);
}

.pract__title {
  min-width: 0;
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pract__card:hover .pract__title { color: var(--green); }

.pract__lead {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.pract__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pract__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 11px;
  font-size: 14px;
  line-height: 1.5;
}

.pract__list .ico { margin-top: 3px; color: var(--gold); }

/* --------------------- тёмная полоса-цезура ---------------------- */

.stats {
  padding: 56px 0;
  background: var(--ink);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 0;
}

.stats__item {
  padding: 4px 20px;
  text-align: center;
}

.stats__item + .stats__item { border-left: 1px solid var(--line-dark); }

.stats__value {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  color: var(--gold-light);
}

.stats__label {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark);
  overflow-wrap: anywhere;
}

/* ---------------------------- «почему мы» ------------------------ */

.why__item { padding-right: 10px; }

.why__glyph {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border: 1px solid var(--green);
  background: var(--green-pale);
  color: var(--green);
}

.why__title {
  margin: 0 0 10px;
  font-size: 19px;
}

.why__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ------------------------- карточки (общие) ---------------------- */

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t);
}

.card:hover { border-color: var(--green); }

.card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 28px;
}

.card__meta {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.card__title {
  display: block;
  margin: 0 0 12px;
  font-family: var(--ff-head);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
}

.card:hover .card__title { color: var(--green); }

.card__lead {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.card__price {
  font-family: var(--ff-head);
  font-size: 16px;
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

/* --------------------------- таблицы цен ------------------------- */

.ptable__wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.ptable {
  min-width: 620px;
  font-size: 15px;
}

.ptable thead th {
  padding: 16px 22px;
  background: var(--ink);
  font-family: var(--ff-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gold-light);
}

.ptable thead th:last-child { text-align: right; }

.ptable td {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.ptable tbody tr:nth-child(odd) { background: var(--surface); }
.ptable tbody tr:nth-child(even) { background: var(--bg); }

.ptable__name { color: var(--text); }

.ptable__note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.ptable__price {
  font-family: var(--ff-head);
  font-size: 17px;
  text-align: right;
  white-space: nowrap;
  color: var(--ink);
}

.ptable__price--free { color: var(--green); }

.ptable + .ptable__wrap { margin-top: 40px; }

/* ---------------------------- этапы работ ------------------------ */

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
}

.step { position: relative; }

.step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--ff-head);
  font-size: 22px;
  color: var(--gold-text);
}

.step__title {
  margin: 0 0 10px;
  font-size: 19px;
}

.step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------- внутренний баннер ------------------------- */

.page-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Ровная заливка .55 держалась только на тёмных кадрах: на светлых участках
     (документы.php — белый лист и стол в кадре) .page-hero__sub цветом --on-dark
     давал контраст 2.4. Текст прижат к низу, поэтому усиливаем подложку снизу
     вверх, оставляя верх кадра почти без изменений. */
  background: linear-gradient(to top,
    rgba(26, 35, 50, .86) 0%,
    rgba(26, 35, 50, .76) 45%,
    rgba(26, 35, 50, .55) 100%);
}

.page-hero__in {
  position: relative;
  width: 100%;
  padding: 48px 0 40px;
}

.page-hero__title {
  max-width: 20em;
  margin: 0 0 14px;
  color: #F7F4EE;
}

.page-hero__sub {
  max-width: 40em;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark);
}

.page-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 24px;
}

.page-hero__price {
  font-family: var(--ff-head);
  font-size: 20px;
  color: var(--gold-light);
}

/* --------------------------- хлебные крошки ---------------------- */

.crumbs {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.crumbs li + li::before {
  content: "›";
  color: var(--gold);
}

.crumbs a:hover { color: var(--green); }

/* ---------------- сканы документов (ВС, лицензии) ---------------- */

.scan {
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t);
}

.scan:hover { border-color: var(--green); }

.scan__sheet {
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 18px;
  background: #FFFFFF;
  overflow: hidden;
}

.scan__lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 34px;
}

.scan__lines i {
  display: block;
  height: 4px;
  background: #ECE7DC;
}

.scan__lines i:nth-child(3n) { width: 62%; }
.scan__lines i:nth-child(4n) { width: 84%; }

.scan__stamp {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ff-head);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold-text);
}

.scan__cap {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--line);
}

.scan__title {
  display: block;
  font-family: var(--ff-head);
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.scan__meta {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  overflow-wrap: anywhere;
}

.scan__text {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery__btn {
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  cursor: zoom-in;
  transition: border-color var(--t);
}

.gallery__btn:hover { border-color: var(--green); }

/* ------------------------- модальное окно ------------------------ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(26, 35, 50, .78);
}

.modal__box {
  position: relative;
  width: min(460px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.modal__close:hover { color: var(--green); }

/* ------------------------ карточка адвоката ---------------------- */

.leader {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.leader__name { margin: 0 0 8px; }

.leader__role {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.leader__lead {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.leader__quote {
  margin: 0 0 24px;
  padding: 20px 24px;
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  font-family: var(--ff-head);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

.leader__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 0 0 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.leader__facts li {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.leader__facts b {
  display: block;
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}

.leader__note {
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ------------------------ карусель отзывов ----------------------- */

.slider__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.slider__nav {
  display: flex;
  gap: 10px;
}

.slider__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}

.slider__btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.slider__btn:disabled { opacity: .35; cursor: default; }

.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 8px;
}

.slider__track > * { scroll-snap-align: start; }

.rev-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.rev-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.rev-card__ava {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--sand);
  font-family: var(--ff-head);
  font-size: 19px;
  color: var(--ink);
}

.rev-card__name {
  margin: 0;
  font-size: 18px;
}

.rev-card__meta {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.rev-card__text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.rev-card__foot { margin-top: auto; }

/* ----------------------------- FAQ ------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-family: var(--ff-head);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q:hover { color: var(--green); }

.faq__sign {
  flex: 0 0 auto;
  position: relative;
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform var(--t);
}

.faq__sign::after { transform: rotate(90deg); }

.faq__item[open] .faq__sign::after { transform: rotate(0deg); }

.faq__a {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ------------------------ анонсы статей -------------------------- */

.teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.teaser__main {
  position: relative;
  display: block;
  min-width: 0;
  border: 1px solid var(--line);
  overflow: hidden;
}

.teaser__main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.teaser__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px;
  background: rgba(26, 35, 50, .55);
  color: #F4F1EA;
}

.teaser__overlay h3 {
  margin: 8px 0 0;
  color: #F7F4EE;
  font-size: 22px;
}

.teaser__rows {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.teaser__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.teaser__row img {
  width: 96px;
  height: 68px;
  object-fit: cover;
}

.teaser__row h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.teaser__row:hover h3 { color: var(--green); }

.teaser__row p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------------------- документы и ссылки ----------------------- */

.doclist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.doclist li { margin: 0; }

.doclist__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.doclist__row .ico { color: var(--green); flex: 0 0 auto; }

.doclist__title {
  flex: 1 1 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  color: var(--text);
}

.doclist__note {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.doclist__row:hover .doclist__title {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

/* ------------------------- врезка-призыв ------------------------- */

.cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--gold);
  background: var(--bg-alt);
}

.cta__title { margin: 0 0 10px; }

.cta__text {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.cta__phone {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--ff-head);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
}

.cta__phone:hover { color: var(--green); }

.cta__side { display: flex; flex-direction: column; gap: 14px; }

/* --------------------- благодарственное письмо ------------------- */

.thanks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.thanks__letter {
  max-width: 360px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

.thanks__text p { font-size: 15px; line-height: 1.7; }

/* ---------------------- текстовое тело (проза) ------------------- */

.prose { font-size: 16px; line-height: 1.8; }

.prose > h2 { margin: 44px 0 16px; }
.prose > h3 { margin: 32px 0 12px; }
.prose > p { margin: 0 0 18px; }

.prose ul,
.prose ol { margin: 0 0 22px; padding-left: 0; list-style: none; counter-reset: pl; }

.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

.prose ol li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  counter-increment: pl;
}

.prose ol li::before {
  content: counter(pl, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--gold-text);
}

.prose__lead {
  margin-bottom: 26px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
}

.prose__drop::first-letter {
  float: left;
  margin: 6px 12px 0 0;
  font-family: var(--ff-head);
  font-size: 62px;
  line-height: .8;
  color: var(--green);
}

.lawquote {
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  font-family: var(--ff-head);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
}

.lawquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--ff-text);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.notebox {
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  font-size: 15px;
  line-height: 1.65;
}

.prose figure { margin: 32px 0; }

.prose figure img { width: 100%; }

.prose figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------- услуга: справка и форма ------------------- */

.summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.summary__list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.summary__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.summary__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary__value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.miniform {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.miniform__title { margin: 0 0 6px; font-size: 22px; }

.miniform__note {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
}

.stages {
  width: 100%;
  margin: 28px 0;
  border: 1px solid var(--line);
}

/* без этого минимальная ширина таблицы = сумма самых длинных слов
   в колонках, и на узком экране она вылезает за край */
.stages th,
.stages td { overflow-wrap: anywhere; }

.stages th {
  padding: 14px 20px;
  background: var(--ink);
  font-family: var(--ff-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gold-light);
}

.stages td {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}

.stages tbody tr:nth-child(odd) { background: var(--surface); }

/* ---------------------------- команда ---------------------------- */

.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.team-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t);
}

.team-card:hover { border-color: var(--green); }

.team-card__body { padding: 24px 26px 28px; }

.team-card__name { margin: 0 0 6px; font-size: 21px; }

.team-card__role {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.team-card__lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.team-card__facts {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.team-card__facts li { margin: 0 0 6px; }

.team-card__quote {
  margin: 18px 0 0;
  padding: 18px 20px;
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  font-family: var(--ff-head);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.team-note {
  margin: 36px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ------------------------- список отзывов ------------------------ */

.rev-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rev-item {
  margin: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.rev-item__name { margin: 0 0 8px; font-size: 21px; }

.rev-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.rev-item__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.rev-item__text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rev-quote {
  margin: 12px 0;
  padding: 32px;
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  font-family: var(--ff-head);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}

.rev-count {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

/* --------------------- список и фильтр статей -------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.chips li { margin: 0; }

.alist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.alist li { margin: 0; }

.alist__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.alist__thumb {
  width: 160px;
  height: 110px;
  object-fit: cover;
}

.alist__title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.alist__item:hover .alist__title { color: var(--green); }

.alist__lead {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.alist__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.pager li { margin: 0; }

.pager__btn {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  transition: background-color var(--t), color var(--t), border-color var(--t);
}

.pager__btn:hover { border-color: var(--ink); }

.pager__btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #F4F1EA;
}

/* --------------------- статья: шапка материала ------------------- */

.ameta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.ameta__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ameta__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--green);
  font-family: var(--ff-head);
  font-size: 16px;
  color: var(--ink);
}

.ameta__name {
  display: block;
  font-family: var(--ff-head);
  font-size: 16px;
  color: var(--ink);
}

.ameta__role {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------- контакты ---------------------------- */

.contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.contacts__list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.contacts__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contacts__value {
  font-family: var(--ff-head);
  font-size: 19px;
  color: var(--ink);
}

.contacts__value--text {
  font-family: var(--ff-text);
  font-size: 15px;
  line-height: 1.6;
}

a.contacts__value:hover { color: var(--green); }

.map {
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

.map__links { margin: 14px 0 0; }

/* подпись строки в списке контактов */
.reqtable__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------- логотипы СМИ ------------------------ */

.logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logos li { margin: 0; }

.logos span {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--ff-head);
  font-size: 17px;
  letter-spacing: .04em;
  text-align: center;
  color: var(--ink);
}

/* ---------------------------- карта сайта ------------------------ */

.smap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.smap__group { border-top: 1px solid var(--line); padding-top: 22px; }

.smap__title { margin: 0 0 16px; font-size: 21px; }

.smap__list { margin: 0; padding: 0; list-style: none; }

.smap__list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 15px;
}

.smap__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.smap__list a:hover { color: var(--green); }

/* ------------------------------- 404 ----------------------------- */

.err { text-align: center; padding: 80px 0; }

.err__code {
  font-family: var(--ff-head);
  font-size: clamp(80px, 14vw, 160px);
  line-height: 1;
  color: var(--gold);
}

.err__title { margin: 12px 0 16px; }

.err__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.err__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.err__links li { margin: 0; }

.err__links a {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.err__links a:hover { color: var(--green); }

/* --------------------- появление при скролле --------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==================================================================
   4. МЕДИАЗАПРОСЫ, ДОСТУПНОСТЬ, ПЕЧАТЬ
   ================================================================== */

/* --------------------------- ≥ 520px ----------------------------- */

@media (min-width: 520px) {
  .grid--2,
  .grid--4,
  .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .alist__item { grid-template-columns: 160px 1fr; gap: 22px; }

  .summary__row,
  .contacts__row { grid-template-columns: 210px 1fr; gap: 16px; align-items: baseline; }

  /* строка-список: номер | название | ремарка */
  .rowlist__row { grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
  .rowlist__note { grid-column: 3; padding-top: 3px; }
}

/* --------------------------- ≥ 760px ----------------------------- */

@media (min-width: 760px) {
  :root { --section: 80px; }

  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .scen__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .smap { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .split { grid-template-columns: 1fr 1.15fr; gap: 56px; }

  .summary { grid-template-columns: 1.2fr 1fr; gap: 40px; }

  .contacts { grid-template-columns: 1fr 1fr; gap: 40px; }

  .leader { grid-template-columns: 300px 1fr; gap: 40px; }

  .thanks { grid-template-columns: 360px 1fr; gap: 48px; }

  .cta {
    grid-template-columns: 1.4fr auto;
    padding: 48px 56px;
    gap: 40px;
  }

  .teaser { grid-template-columns: 1.05fr 1fr; gap: 40px; }

  .steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }

  .page-hero { min-height: 260px; }
  .page-hero__in { padding: 60px 0 48px; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------- ≥ 980px ----------------------------- */

@media (min-width: 980px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .scen__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .smap { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .hero { padding: 72px 0 var(--section); }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }

  .steps__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }

  /* волосяная линия, соединяющая шаги */
  .steps__grid::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 28px;
    height: 1px;
    background: var(--line);
  }

  .step__num { position: relative; z-index: 1; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }

  /* минимум задаём жёстко: иначе при большом числе карточек треки
     делят ширину контейнера вместо горизонтальной прокрутки */
  .slider__track { grid-auto-columns: minmax(calc(33.333% - 14px), 1fr); }
}

/* -------------------------- ≥ 1200px ----------------------------- */

@media (min-width: 1200px) {
  :root { --section: 120px; }

  .page-hero { min-height: 300px; }
}

/* ---------------- топбар: тесно уже 1024px ----------------------- */

/* Второй маркер («Выезд по Москве…») вместе с телефоном и ссылкой
   требует ~1000px внутри контейнера, поэтому убираем его раньше
   переключения шапки на бургер, иначе строка вылезает за край окна. */
@media (max-width: 1023px) {
  .topbar__mark--wide { display: none; }

  /* Подпись логотипа при трекинге .18em требует 218px. В полосе 980-1023
     (десктопное меню ещё не свернулось в бургер) колонке бренда достаётся
     214px, на 360px — 210px: строка обрезалась многоточием. Ужимаем трекинг,
     и подпись входит целиком на обеих полосах. */
  .brand__tag { letter-spacing: .1em; }
}

/* ---------------- мобильная шапка (< 980px) ---------------------- */

@media (max-width: 979px) {
  .nav { display: none; }
  .burger { display: block; }
  .site-header__in { min-height: 72px; }
  .brand__mark { width: 48px; height: 48px; font-size: 18px; }
  .brand__name { font-size: 15px; }
  .mmenu { max-height: calc(100vh - 72px); }
}

@media (max-width: 759px) {
  .topbar__link { display: none; }

  .topbar__mark { overflow: hidden; text-overflow: ellipsis; }

  .footer { padding: 56px 0 24px; }
  .footer__grid { gap: 32px; padding-bottom: 32px; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__legal { flex-direction: column; gap: 8px; }

  .cta { padding: 32px 24px; }

  .stats__item + .stats__item { border-left: 0; }
  .stats__grid > .stats__item:nth-child(2n) { border-left: 1px solid var(--line-dark); }

  .card__body,
  .pract__card,
  .miniform,
  .rev-card { padding: 22px; }

  .prose { font-size: 15px; }

  .rev-quote { padding: 24px; font-size: 18px; }
}

@media (max-width: 519px) {
  .topbar__marks { display: none; }
  .topbar__in { justify-content: flex-end; }

  /* ремарка документа не помещается рядом с названием — уводим её
     на свою строку под текстом, а не за край экрана */
  .doclist__note {
    flex: 1 0 100%;
    margin-left: 0;
    padding-left: 36px;
  }

  .alist__thumb { width: 100%; height: 190px; }
  .map iframe { height: 300px; }
  .hero__actions .btn { width: 100%; }
  .scen__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------- очень узкие экраны (< 360px) ---------------- */

/* Логотип с подписью и бургер вместе шире контейнера: ужимаем
   типографику знака, а второстепенную подпись убираем. */
@media (max-width: 359px) {
  .site-header__in { gap: 14px; }
  .brand { gap: 10px; }
  .brand__mark { width: 42px; height: 42px; font-size: 16px; }
  .brand__name { font-size: 14px; letter-spacing: .06em; }
  .brand__tag { display: none; }

  .stages th,
  .stages td { padding: 12px 12px; }
}

/* --------------------------- фокус ------------------------------- */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.section--dark :focus-visible,
.footer :focus-visible,
.topbar :focus-visible,
.stats :focus-visible,
.page-hero :focus-visible {
  outline-color: var(--gold-light);
}

/* ---------------------- уменьшенная анимация --------------------- */

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .slider__track { scroll-behavior: auto; }
}

/* ----------------------------- печать ---------------------------- */

@media print {
  .topbar,
  .burger,
  .mmenu,
  .slider__nav,
  .cta,
  .skip-link,
  .footer .msg { display: none !important; }

  body {
    background: #FFFFFF;
    color: #000000;
    font-size: 12pt;
  }

  .site-header {
    position: static;
    border-bottom: 1px solid #000000;
  }

  .section { padding: 16pt 0; }

  .page-hero {
    min-height: 0;
    background: none;
    color: #000000;
  }

  .page-hero__bg { display: none; }
  .page-hero__title { color: #000000; }
  .page-hero__sub { color: #333333; }

  .card,
  .scan,
  .pract__card { break-inside: avoid; border-color: #999999; }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555555;
  }

  .footer {
    background: none;
    color: #000000;
    border-top: 1px solid #000000;
  }

  .footer a,
  .footer__list a,
  .footer__phone,
  .footer__title,
  .fbrand__name,
  .fbrand__tag,
  .footer__reg,
  .footer__copy { color: #000000; }
}

/* ==================================================================
   9. УТИЛИТЫ СЕКЦИЙ (добавлено вместе с шаблонами страниц)
   ================================================================== */

/* сканы внутри кнопки-галереи: span-элементы должны вести себя как блоки */
.gallery__btn .scan,
.gallery__btn .scan__sheet,
.gallery__btn .scan__cap,
.gallery__btn .scan__title,
.gallery__btn .scan__meta { display: block; }

.gallery__btn .scan__lines { display: flex; }
.gallery__btn .scan__stamp { display: grid; }

/* списки без маркеров там, где нужен семантический ol/ul */
.list-reset { margin: 0; padding: 0; list-style: none; }

/* вертикальные отступы между блоками внутри секции */
.u-mt-16 { margin-top: 16px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-32 { margin-top: 32px; }
.u-mt-56 { margin-top: 56px; }

/* якорь под липкой шапкой */
[id] { scroll-margin-top: 96px; }

/* строка внутренних якорей на странице «О компании» */
.anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 13px;
}

.anchors li { margin: 0; }

.anchors a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}

.anchors a:hover {
  color: var(--green);
  text-decoration-color: var(--gold);
}

/* сообщение об успешной отправке формы */
.form__ok {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--green);
  background: var(--green-pale);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

/* «ничего не найдено» в списках с поиском */
.empty {
  padding: 32px 0;
  font-size: 15px;
  color: var(--muted);
}

/* компактные карточки сопутствующих услуг */
.mini-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t);
}

.mini-card:hover { border-color: var(--green); }

.mini-card__meta {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.mini-card__title {
  display: block;
  font-family: var(--ff-head);
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}

.mini-card:hover .mini-card__title { color: var(--green); }

.mini-card__price {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* публикации и сюжеты */
.pub__date {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* кнопка, оформленная как текстовая ссылка со стрелкой */
button.link-arrow {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* поле без нижнего отступа — внутри панели инструментов */
.field--inline { margin-bottom: 0; }

/* списки определений (справка по услуге, контакты) — без системного отступа dd */
.summary__list dd,
.contacts__list dd { margin: 0; }

/* команда: карточки направлений бюро (без портретов) */
.team.team--practices { grid-template-columns: 1fr; }

.team-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.team-card__top .why__glyph { margin-bottom: 0; }

.team-card__num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-card__name a,
.leader__link { color: inherit; }

.team-card__name a:hover,
.leader__link:hover { color: var(--green); }

.team-card__tasks {
  margin: 18px 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.team__principle { max-width: 760px; margin-bottom: 36px; }

@media (min-width: 760px) {
  .team.team--practices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
