/* Шрифты объявлены прямо здесь, без @import: иначе браузер грузит их цепочкой
   theme.css -> onest.css -> woff2 и первый экран ждёт лишний круг. */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/onest-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/onest-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================================
   Юридическое агентство Марданшиных — дизайн 2.0
   Монохромная редакционная сетка. Без фотографий и лиц.
   ========================================================================= */

:root {
  --ink: #101010;
  --ink-2: #1a1a1a;
  --paper: #ffffff;
  --muted: #6e6e6e;
  --muted-2: #9a9a9a;
  --line: #d9d9d9;
  --line-dark: rgba(255, 255, 255, 0.16);

  --silver: linear-gradient(158deg, #fdfdfd 0%, #f0f0f0 30%, #dcdcdc 62%, #bfbfbf 100%);
  --silver-soft: linear-gradient(180deg, #fafafa 0%, #ededed 60%, #dedede 100%);

  --shell: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --band-y: clamp(56px, 7vw, 104px);
  --sect-y: clamp(64px, 8vw, 128px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  /* WordPress на страницах с блоками подмешивает инлайновые стили для body —
     ширину, рамку и шрифт. Гасим их явно, иначе вёрстка ужимается до 700px. */
  max-width: none;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
}
.skip:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------------ типо- */

.kicker {
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
}

.kicker-rule::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: currentColor;
  margin-top: 14px;
  opacity: 0.85;
}

/* Огромное слово прижато к ширине контейнера, как в макете.
   --fs-vw / --fs-px считаются в build.py от числа букв. */
.display {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.84;
  font-size: min(var(--fs-vw, 22vw), var(--fs-px, 300px), 320px);
  word-break: break-word;
}

.h-sect {
  font-size: clamp(21px, 2.35vw, 33px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.14;
}

.h-block {
  font-size: clamp(19px, 1.9vw, 27px);
  font-weight: 700;
  line-height: 1.2;
}

.lead { font-size: clamp(15px, 1.15vw, 17px); color: var(--muted); }
.body-txt { font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.62; }
.body-txt + .body-txt { margin-top: 1.1em; }

.tiny { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* -------------------------------------------------- переливающийся текст */

@keyframes sheen {
  0%   { background-position: 200% 50%; }
  100% { background-position: -60% 50%; }
}

.sheen {
  background-image: linear-gradient(
    100deg,
    #8e8e8e 0%, #b9b9b9 12%, #f2f2f2 24%, #ffffff 30%,
    #cfcfcf 40%, #8a8a8a 52%, #6f6f6f 62%,
    #c2c2c2 76%, #ededed 88%, #8e8e8e 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 7s linear infinite;
}

/* на чёрном фоне — светлее */
.on-dark .sheen,
.sheen-light {
  background-image: linear-gradient(
    100deg,
    #9a9a9a 0%, #d6d6d6 14%, #ffffff 26%, #ffffff 32%,
    #d0d0d0 44%, #8f8f8f 58%,
    #d8d8d8 74%, #ffffff 88%, #9a9a9a 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 7s linear infinite;
}

/* на светлом — тёмно-серебристый, как «20+» в макете */
.sheen-dark {
  background-image: linear-gradient(
    120deg,
    #6d6d6d 0%, #a7a7a7 16%, #d4d4d4 28%,
    #8f8f8f 44%, #5f5f5f 60%,
    #b0b0b0 74%, #dcdcdc 88%, #6d6d6d 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .sheen, .sheen-light, .sheen-dark { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ кнопки */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
.btn:hover::after { transform: translateX(120%); }
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }

.btn-silver {
  --btn-fg: #1a1a1a;
  background: linear-gradient(100deg, #c6c6c6 0%, #ffffff 18%, #e4e4e4 34%, #b6b6b6 52%, #f0f0f0 70%, #d2d2d2 86%, #c6c6c6 100%);
  background-size: 220% 100%;
  animation: sheen 9s linear infinite;
}
.btn-silver:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid currentColor;
  padding: 16px 29px;
}
.on-dark .btn-ghost { --btn-fg: #fff; }

/* подчёркнутая ссылка-строка */
.ulink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.3s var(--ease), opacity 0.3s var(--ease);
}
.ulink:hover { gap: 15px; }
.ulink .arw { transition: transform 0.35s var(--ease); }
.ulink:hover .arw { transform: translateX(4px); }

.arw { display: inline-block; line-height: 1; }

/* ----------------------------------------------------------------- шапка */

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 47px;
}
.topbar__right { display: flex; align-items: center; gap: clamp(16px, 3vw, 46px); }
.topbar a { transition: opacity 0.25s var(--ease); }
.topbar a:hover { opacity: 0.62; }
/* «Оставить заявку» — переливающийся текст, как в макете */
.topbar__cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 3px;
  background-image: linear-gradient(
    100deg,
    #9a9a9a 0%, #d6d6d6 14%, #ffffff 26%, #ffffff 32%,
    #d0d0d0 44%, #8f8f8f 58%,
    #d8d8d8 74%, #ffffff 88%, #9a9a9a 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 7s linear infinite;
}
.topbar__cta:hover { opacity: 1; filter: brightness(1.25); }
@media (prefers-reduced-motion: reduce) { .topbar__cta { animation: none; } }

.header {
  background: var(--silver);
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand__mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand__mark path { fill: currentColor; }
.brand__name {
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.32;
  text-transform: uppercase;
}

.nav { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header__aux { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.header__aux a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  transition: opacity 0.25s var(--ease);
}
.header__aux a:hover { opacity: 0.6; }
.header__aux svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------------------------------------------------- герой */

.hero { padding: clamp(34px, 4.4vw, 62px) 0 clamp(40px, 5vw, 74px); position: relative; }
.hero__kicker { color: var(--ink); margin-bottom: clamp(26px, 3.4vw, 48px); }
.hero__word { margin: 0 0 clamp(26px, 3.4vw, 46px); }
.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__actions { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); flex-wrap: wrap; }
.hero__sign {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.5;
  text-align: right;
  color: var(--muted);
}
.hero__lead { font-size: clamp(15px, 1.35vw, 19px); font-weight: 500; line-height: 1.4; margin-bottom: 22px; }

/* геометрический знак вместо фотографии */
.hero__glyph {
  position: absolute;
  right: 7%;
  top: 44%;
  transform: translateY(-50%);
  width: clamp(190px, 26vw, 400px);
  opacity: 0.038;
  pointer-events: none;
  z-index: 0;
}
.hero__glyph path { fill: #101010; }
.hero .shell > *:not(.hero__glyph) { position: relative; z-index: 1; }

/* -------------------------------------------------------------- полосы */

.band {
  background: var(--ink);
  color: #fff;
  padding: var(--band-y) 0;
}
.band--tight { padding: clamp(38px, 4.6vw, 66px) 0; }
.on-dark { color: #fff; }
.on-dark .lead, .on-dark .tiny { color: rgba(255, 255, 255, 0.66); }

.band__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 3.6vw, 54px);
  flex-wrap: wrap;
}

/* колонки с вертикальными разделителями */
.cols {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(var(--n, 3), 1fr);
}
.cols > * {
  padding: 0 clamp(18px, 2.2vw, 34px);
  border-left: 1px solid var(--line);
}
.cols > *:first-child { padding-left: 0; border-left: 0; }
.on-dark .cols > * { border-left-color: var(--line-dark); }

/* карточка практики (главная / полоса) */
.pcard { display: flex; flex-direction: column; min-height: 100%; }
.pcard__title {
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.16;
  margin-bottom: 16px;
  transition: opacity 0.3s var(--ease);
}
.pcard__text { font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.62); margin-bottom: 30px; }
.pcard__more { margin-top: auto; }
.pcard:hover .pcard__title { opacity: 0.62; }

/* --------------------------------------------------------------- о нас */

.about { padding: var(--sect-y) 0; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
}
.about__num {
  font-size: clamp(84px, 12.5vw, 190px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin-bottom: 4px;
}
.about__cap {
  font-size: clamp(30px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.about__text { max-width: 46ch; margin-bottom: clamp(24px, 3vw, 38px); }

/* типографическая композиция вместо фотографии */
.about__plate {
  background: var(--silver);
  padding: clamp(28px, 3.6vw, 52px);
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  position: relative;
  overflow: hidden;
}
.about__plate .about__glyph {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 62%;
  opacity: 0.05;
  pointer-events: none;
}
.about__plate .about__glyph path { fill: #101010; }
.about__mark { position: relative; z-index: 1; border-top: 1px solid rgba(0, 0, 0, 0.16); padding-top: clamp(14px, 1.8vw, 20px); }
.about__mark:first-child { border-top: 0; padding-top: 0; }
.about__mark b {
  display: block;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.about__mark span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c5c5c;
}

/* --------------------------------------------------- нумерованные блоки */

.nums { padding: 0 0 var(--sect-y); }
.nums--band { padding: 0; }
.numgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.numgrid > * { padding: 0 clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.numgrid > *:first-child { padding-left: 0; border-left: 0; }
.on-dark .numgrid > * { border-left-color: var(--line-dark); }

.num__n {
  display: block;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 14px;
}
.num__t {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.num__d { font-size: 14px; line-height: 1.5; color: var(--muted); }
.on-dark .num__d { color: rgba(255, 255, 255, 0.66); }

/* ------------------------------------------------------------- новости */

.news { padding: var(--sect-y) 0; }
.news-band { background: var(--ink); color: #fff; padding: var(--band-y) 0; }

.ncols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ncols > * { padding: 0 clamp(18px, 2.4vw, 40px); border-left: 1px solid var(--line-dark); }
.ncols > *:first-child { padding-left: 0; border-left: 0; }

.nitem__rub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  display: block;
  margin-bottom: 22px;
}
.nitem__t {
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 500;
  line-height: 1.28;
  margin-bottom: 16px;
  transition: opacity 0.3s var(--ease);
}
.nitem__d { font-size: 15px; color: rgba(255, 255, 255, 0.72); }
.nitem:hover .nitem__t { opacity: 0.62; }

/* карточки новостей (архив) */
.ngrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}
@media (max-width: 1000px) { .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .ngrid { grid-template-columns: 1fr; } }

/* пагинация */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;          /* в середине архива номеров много — пусть переносятся */
  gap: 8px;
  margin-top: clamp(30px, 3.6vw, 52px);
}
.pager a, .pager span {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.pager a:hover { background: #efefef; }
.pager .is-current { background: var(--ink); color: #fff; }
.pager .is-off { opacity: 0.28; pointer-events: none; }
.pager .dots { min-width: 16px; padding: 0; opacity: 0.5; }

@media (max-width: 520px) {
  .pager { gap: 6px; }
  .pager a, .pager span { min-width: 30px; height: 30px; padding: 0 6px; font-size: 13px; }
}
.ncard {
  border: 1px solid var(--line);
  padding: 0 clamp(20px, 2vw, 28px) clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ncard:hover {
  border-color: #9c9c9c;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}
.ncard__date {
  align-self: flex-start;
  margin: 0 0 clamp(20px, 2.2vw, 28px) calc(-1 * clamp(20px, 2vw, 28px));
  padding: 7px 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1c1c1c;
  background: linear-gradient(100deg, #e6e6e6 0%, #fafafa 20%, #cfcfcf 46%, #f2f2f2 70%, #d8d8d8 88%, #e6e6e6 100%);
  background-size: 220% 100%;
  animation: sheen 10s linear infinite;
}
.ncard__t {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.32;
  letter-spacing: 0.005em;
  margin-bottom: 20px;
}
.ncard__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.ncard__rub { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); }

/* фильтры */
.tabs { display: flex; gap: clamp(14px, 2.4vw, 38px); flex-wrap: wrap; margin-bottom: clamp(26px, 3vw, 42px); }
.tab {
  background: none;
  border: 0;
  padding: 4px 0 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

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

.crumbs { font-size: 13px; color: var(--muted); padding: clamp(18px, 2vw, 26px) 0 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.split-wrap { padding: var(--sect-y) 0; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: start;
}

.quote {
  margin-top: clamp(30px, 3.6vw, 46px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.quote__mark { font-size: 52px; line-height: 0.7; font-weight: 800; color: var(--ink); }
.quote__txt {
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.helplist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 42px); }
.helplist li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.42;
  transition: padding-left 0.35s var(--ease);
}
.helplist li:hover { padding-left: 8px; }
.helplist .arw { flex: 0 0 auto; margin-top: 2px; transition: transform 0.35s var(--ease); }
.helplist li:hover .arw { transform: translateX(5px); }

/* таймлайн «когда нужен адвокат» */
.timeline { padding: 0 0 var(--sect-y); }
.tl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(8px, 1.4vw, 22px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.tl::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 8px;
  height: 1px;
  background: var(--line);
}
.tl__i { position: relative; padding-top: 32px; text-align: center; }
.tl__i:first-child { text-align: left; }
.tl__i:last-child { text-align: right; }
.tl__dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 17px; height: 17px;
  border-radius: 50%;
  background: linear-gradient(150deg, #f2f2f2, #b4b4b4 55%, #8f8f8f);
  box-shadow: 0 0 0 4px #fff;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.tl__i:first-child .tl__dot { left: 8px; }
.tl__i:last-child .tl__dot { left: auto; right: 8px; transform: translateX(50%); }
.tl__i:hover .tl__dot { background: linear-gradient(150deg, #4a4a4a, #101010); transform: translateX(-50%) scale(1.22); }
.tl__i:first-child:hover .tl__dot,
.tl__i:last-child:hover .tl__dot { transform: translateX(50%) scale(1.22); }
.tl__i:first-child:hover .tl__dot { transform: scale(1.22); }
.tl__t { font-size: 13px; line-height: 1.4; }

/* результаты по делам */
.rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
/* блок «Другие публикации» — три колонки, но так же схлопывается на узких экранах */
.rgrid--3 { grid-template-columns: repeat(3, 1fr); }
.rcard {
  border: 1px solid var(--line);
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease);
}
.rcard:hover { border-color: #9c9c9c; transform: translateY(-4px); }
.rcard__rub { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); }
.rcard__t { font-size: 14.5px; font-weight: 600; line-height: 1.36; }
.rcard__d { margin-top: auto; font-size: 13px; color: var(--muted); }

/* CTA-полоса на странице практики */
.cta {
  background: var(--ink);
  color: #fff;
  padding: clamp(34px, 4.2vw, 62px) clamp(26px, 3.4vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3vw, 46px);
  align-items: center;
}
.cta__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta__hours {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 8px;
  display: inline-block;
}

/* --------------------------------------------------------------- список практик */

.plist { border-top: 1px solid var(--line); }
/* нумерация идёт сверху вниз по левой колонке, затем по правой — как в макете */
.plist__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.plist__col { display: grid; align-content: start; }
.plist__col:last-child .prow { border-right: 0; }
.prow {
  display: grid;
  /* minmax(0,…) обязателен: иначе трек не сжимается ниже длинного слова
     и строка вылезает за экран на узких телефонах */
  grid-template-columns: clamp(64px, 9vw, 136px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  padding: clamp(18px, 2.2vw, 28px) clamp(14px, 1.8vw, 26px);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 104px;
  transition: background 0.4s var(--ease);
}
.prow:hover { background: #f6f6f6; }
.prow__n {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.prow__t { font-size: clamp(13px, 1.1vw, 15.5px); font-weight: 700; text-transform: uppercase; line-height: 1.28; overflow-wrap: anywhere; }
.prow .arw { font-size: 20px; transition: transform 0.35s var(--ease); }
.prow:hover .arw { transform: translateX(6px); }

/* ----------------------------------------------------------------- форма */

.form-wrap { padding: 0 0 var(--sect-y); }
/* когда перед формой идёт чёрная полоса — нужен белый разрыв,
   иначе два тёмных блока сливаются в одно пятно (на главной) */
.form-wrap--gap { padding-top: var(--sect-y); }
.form {
  background: var(--ink);
  color: #fff;
  padding: clamp(32px, 4.4vw, 64px) clamp(24px, 4vw, 62px) clamp(30px, 3.6vw, 50px);
}
.form__title {
  text-align: center;
  font-size: clamp(18px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 56px); }
.field { position: relative; padding-top: 26px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.field label {
  position: absolute;
  top: 26px; left: 0;
  font-size: clamp(15px, 1.35vw, 19px);
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding: 4px 0 12px;
  font-size: 16px;
  color: #fff;
  outline: none;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}
/* «Сообщение» начинается на одной линии с «Имя», как в макете, и растёт по вводу */
.field textarea { resize: none; height: 34px; min-height: 34px; overflow: hidden; }
.field input:focus,
.field textarea:focus { border-bottom-color: #fff; }
.field.is-filled label,
.field input:focus + label,
.field textarea:focus + label { transform: translateY(-25px) scale(0.62); opacity: 0.72; }
.field--msg { grid-row: span 3; }

.form__submit { margin-top: 6px; }
.form__submit .btn { width: 100%; justify-content: center; font-size: 15px; letter-spacing: 0.06em; padding: 20px 30px; }

.consent { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; font-size: 12.5px; line-height: 1.42; color: rgba(255, 255, 255, 0.78); }
.consent input { appearance: none; width: 22px; height: 22px; flex: 0 0 auto; border: 1.5px solid rgba(255,255,255,0.7); background: transparent; cursor: pointer; margin: 0; position: relative; border-radius: 0; }
.consent input:checked::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: #fff; }
.consent a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.form__ok {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
  display: none;
}
.form__ok.is-on { display: block; }

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

.cbar { background: var(--ink); color: #fff; padding: clamp(30px, 3.6vw, 52px) 0; }
/* столбцов столько, сколько блоков внутри — сетка не рассыпается,
   если что-то из контактов убрали или добавили */
.cbar__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; }
.cbar__grid > * { padding: 0 clamp(16px, 2.2vw, 34px); border-left: 1px solid var(--line-dark); display: grid; align-content: center; gap: 4px; }
.cbar__grid > *:first-child { padding-left: 0; border-left: 0; }
.cbar a { font-size: clamp(14px, 1.15vw, 16px); transition: opacity 0.25s var(--ease); }
.cbar a:hover { opacity: 0.65; }
.cbar .ulink { font-size: 12.5px; }

.office { padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.office__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 48px); align-items: center; }
.office__lb { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.office__v { font-size: clamp(17px, 1.75vw, 24px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.25; }
.office__v a { display: block; font-weight: 500; text-transform: none; letter-spacing: 0; }
.office__v a:hover { opacity: 0.65; }

.map { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.35) contrast(1.02); }

/* карта грузится только после согласия на cookie */
.map-box { position: relative; height: clamp(320px, 40vw, 520px); background: var(--silver-soft); }
.map-gate {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px;
  background: var(--silver-soft);
}
.map-box.is-loaded .map-gate { display: none; }
.map-gate__t { font-size: clamp(16px, 1.6vw, 21px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
.map-gate__d { font-size: 14px; line-height: 1.5; color: #5c5c5c; max-width: 46ch; }

/* --------------------------------------------- окно заявки (по центру экрана) */

.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(760px, 92vw);
  width: 100%;
  max-height: 92vh;
  margin: auto;                 /* центр по обеим осям */
  overflow: visible;
  color: #fff;
}
.modal::backdrop {
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(3px);
}
.modal__box {
  position: relative;
  background: var(--ink);
  padding: clamp(28px, 4vw, 52px) clamp(22px, 3.6vw, 52px) clamp(26px, 3.2vw, 42px);
  max-height: 92vh;
  overflow-y: auto;
}
.modal[open] .modal__box { animation: modal-in 0.35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal[open] .modal__box { animation: none; } }

.modal__x {
  position: absolute;
  top: 10px; right: 12px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.modal__x:hover { color: #fff; transform: rotate(90deg); }

.modal .form__title { margin-bottom: clamp(18px, 2.2vw, 26px); }

.modal__quick {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px clamp(12px, 2vw, 22px);
  padding-bottom: clamp(20px, 2.6vw, 30px);
  margin-bottom: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.modal__quick > a:first-child {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: opacity 0.25s var(--ease);
}
.modal__quick > a:first-child:hover { opacity: 0.7; }
.modal__or { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.modal__quick .ulink { font-size: 12px; padding-bottom: 4px; }

/* в узком окне поля идут в одну колонку */
.form__grid--stacked { grid-template-columns: 1fr; }
.form__grid--stacked .field--msg { grid-row: auto; }

/* внутри окна всё плотнее, чтобы помещалось без прокрутки */
.modal .form__title { font-size: clamp(16px, 1.75vw, 23px); }
.modal .field { padding-top: 21px; margin-bottom: 13px; }
.modal .field label { top: 21px; font-size: clamp(14px, 1.2vw, 16px); }
.modal .field.is-filled label,
.modal .field input:focus + label,
.modal .field textarea:focus + label { transform: translateY(-21px) scale(0.66); }
.modal .form__submit .btn { padding: 16px 28px; font-size: 14px; }
.modal .consent { margin-top: 16px; font-size: 12px; }
.modal .consent input { width: 20px; height: 20px; }

body.is-locked { overflow: hidden; }

/* ------------------------------------------------------ уведомление о cookie */

.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.28);
  animation: cookie-in 0.45s var(--ease);
}
.cookie[hidden] { display: none; }
@keyframes cookie-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie { animation: none; } }

.cookie__in {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(18px, 2.2vw, 26px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 48px);
}
.cookie__txt { font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.76); max-width: 78ch; }
.cookie__t { font-size: 13px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.cookie__txt a { text-decoration: underline; }
.cookie__txt a:hover { opacity: 0.75; }
.cookie__btns { display: flex; gap: 12px; flex: 0 0 auto; }
.cookie .btn { padding: 14px 26px; font-size: 12px; }
.cookie .btn:not(.btn-ghost) { --btn-bg: #fff; --btn-fg: #101010; }
.cookie .btn-ghost { --btn-fg: #fff; }

@media (max-width: 760px) {
  .cookie__in { flex-direction: column; align-items: stretch; }
  .cookie__btns { justify-content: stretch; }
  .cookie__btns .btn { flex: 1; justify-content: center; }
}

/* --------------------------------------------------- юридические страницы */

.legal { padding: 0 0 var(--sect-y); }
.legal__body { max-width: 78ch; }
.legal__body p { font-size: clamp(14.5px, 1.05vw, 16px); line-height: 1.68; margin-bottom: 1.05em; }
.legal__h {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.24;
  margin: clamp(30px, 3.4vw, 46px) 0 16px;
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line);
}
.legal__list { margin: 0 0 1.05em; display: grid; gap: 10px; }
.legal__list li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.6;
}
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 1px;
  background: var(--ink);
}
.legal__more {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.6vw, 40px);
  margin-top: clamp(36px, 4vw, 60px);
  padding-top: clamp(24px, 2.8vw, 36px);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------- статья */

.article { padding: var(--sect-y) 0; }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.44fr); gap: clamp(30px, 4.4vw, 72px); align-items: start; }
.article__lede {
  font-size: clamp(17px, 1.75vw, 25px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.28;
  letter-spacing: 0.005em;
  margin-bottom: clamp(24px, 3vw, 38px);
}
.article__body p { font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.66; margin-bottom: 1.1em; }
.article__aside { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.6vw, 40px); display: grid; gap: clamp(22px, 2.6vw, 34px); }
.facts__t { font-size: clamp(15px, 1.35vw, 19px); font-weight: 700; text-transform: uppercase; line-height: 1.24; margin-bottom: 6px; }
.facts__d { font-size: 14px; color: var(--muted); }

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

.footer { background: var(--silver); padding: clamp(34px, 4vw, 56px) 0 clamp(24px, 3vw, 38px); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 0.75fr) minmax(0, 1.15fr);
  gap: clamp(22px, 3vw, 48px);
  align-items: start;
}
.footer__note { font-size: 11.5px; color: #5e5e5e; margin-top: 16px; }
.footer__col { font-size: 14.5px; line-height: 1.62; display: grid; gap: 2px; align-content: start; }
.footer__col a:hover { opacity: 0.62; }
.footer__legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(14px, 1.8vw, 26px); align-content: start; }
.footer__legal a, .footer__legal button {
  font-size: 11.5px;
  line-height: 1.34;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.45);
  background: none;
  padding: 0 0 5px;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.25s var(--ease);
}
.footer__legal a:hover, .footer__legal button:hover { opacity: 0.6; }

/* ------------------------------------------------------- анимация появления */

.rise { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }

/* ------------------------------------------------------------- адаптив */

@media (max-width: 1080px) {
  .about__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .rgrid, .rgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .article__grid { grid-template-columns: 1fr; }
  .article__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav, .header__aux { display: none; }
  .burger { display: block; }
  .header.is-open .nav {
    display: flex;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--silver-soft);
    padding: 10px var(--gutter) 22px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.13);
  }
  .header.is-open .nav a { padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
  .header__in { position: relative; }
  .cols { grid-template-columns: 1fr; }
  .cols > * { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .cols > *:first-child { padding-top: 0; border-top: 0; }
  .on-dark .cols > * { border-top-color: var(--line-dark); border-left-color: transparent; }
  .numgrid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .ncols { grid-template-columns: 1fr; }
  .ncols > * { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .ncols > *:first-child { padding-top: 0; border-top: 0; }
  .plist__grid { grid-template-columns: 1fr; }
  .prow { border-right: 0; }
  .cbar__grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .office__grid { grid-template-columns: 1fr; gap: 20px; }
  .cta { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl::before { left: 8px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl__i, .tl__i:first-child, .tl__i:last-child { text-align: left; padding: 0 0 22px 38px; }
  .tl__dot, .tl__i:first-child .tl__dot, .tl__i:last-child .tl__dot { left: 0; right: auto; top: 2px; transform: none; }
  .tl__i:hover .tl__dot, .tl__i:first-child:hover .tl__dot, .tl__i:last-child:hover .tl__dot { transform: scale(1.22); }
}

@media (max-width: 720px) {
  .topbar__in { min-height: 42px; font-size: 10px; }
  .topbar__left { display: none; }
  .helplist { grid-template-columns: 1fr; }
  .rgrid, .rgrid--3 { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .field--msg { grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__sign { text-align: left; }
  .numgrid { grid-template-columns: 1fr; }
  .numgrid > * { padding: 0; }
  .band__head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 380px) {
  .prow { padding-left: 0; padding-right: 0; gap: 10px; }
  .prow__n { font-size: 32px; }
}

@media (max-width: 460px) {
  .btn { padding: 15px 22px; font-size: 12px; }
  .brand__name { font-size: 10px; letter-spacing: 0.12em; }
  .brand__mark { width: 28px; height: 28px; }
}


/* ------------------------------------------- оформление текста публикаций */

.article__body ul,
.article__body ol { margin: 0 0 1.3em; display: grid; gap: 11px; }
.article__body ul li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(15px, 1.1vw, 16.5px);
  line-height: 1.6;
}
.article__body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 10px; height: 1px;
  background: var(--ink);
}
.article__body ol { counter-reset: n; }
.article__body ol li { counter-increment: n; position: relative; padding-left: 34px; }
.article__body ol li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--muted);
}
.article__body a { border-bottom: 1px solid currentColor; }
.article__body a:hover { opacity: 0.65; }
.article__body strong { font-weight: 700; }

/* блок «подписывайтесь» */
.socials {
  margin: clamp(28px, 3.4vw, 44px) 0 0;
  padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid var(--line);
}
.socials__t {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.socials__row { display: flex; flex-wrap: wrap; gap: 12px; }
.socials__row a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials__row a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
  opacity: 1;
}
.socials__row svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
@media (max-width: 520px) {
  .socials__row { flex-direction: column; }
  .socials__row a { justify-content: center; }
}

/* обложка публикации — если у записи задано изображение */
.article__cover {
  margin: 0 0 clamp(34px, 4vw, 56px);
  background: var(--silver-soft);
  overflow: hidden;
}
.article__cover img { width: 100%; height: auto; display: block; }

.socials__note {
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted-2);
  max-width: 60ch;
}
