/* ==========================================================================
   EASY CONSULTING — Main page
   Figma: sPziMpKKGID82N0WMopEja / frame "Main" (2:448) 1920×10463
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0a0a;
  --ink-soft: #141414;
  --grey-27: #444444;
  --grey-53: #888888;
  --white: #ffffff;
  --bg: #f7f7f7;
  --line: #e2e2e2;

  --blue: #4a55d3;
  --blue-bright: #4349ff;
  --blue-deep: #2d358d;
  --blue-soft: #7d86e6;
  --red: #cc2727;

  /* поля страницы: 80px на 1920 -> 50px на 1200 */
  --shell: clamp(50px, 4.1667vw, 80px);
  --radius: 6px;

  /* шрифты: заголовки — Benzin (по макету), тело текста — Inter */
  --font-head: "Benzin", Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Benzin (заголовки) ---------- */
@font-face {
  font-family: "Benzin";
  src: url("../assets/fonts/Benzin Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Benzin";
  src: url("../assets/fonts/Benzin Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Benzin";
  src: url("../assets/fonts/Benzin Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Benzin";
  src: url("../assets/fonts/Benzin Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Benzin";
  src: url("../assets/fonts/Benzin Extra Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Дисплейные заголовки — Benzin. Тайтлы карточек (svc/arg/notice) остаются Inter. */
.hero__title,
.fhero__title,
.rhero__title,
.thero__title,
.shero__title,
.section-title,
.intro__title,
.why__title,
.contact__title,
.doc__title,
.promo__title,
.claim,
.statement p {
  font-family: var(--font-head);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  /* страница белая; #f7f7f7 только у hero и услуг */
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Фоны (цвет и картинки) тянутся во всю ширину, в контейнер 1920px
   убран только контент — этим занимается .shell внутри секций. */
.shell {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: var(--shell);
}

/* Eyebrow: короткая линия + капсом подпись */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-53);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--blue-bright);
  flex: none;
}

.eyebrow--light {
  color: rgba(255, 255, 255, .6);
}

.section-title {
  font-size: clamp(28px, 2.344vw, 45px);
  line-height: 1.28;
  font-weight: 600;
}

.section-title .accent {
  color: var(--blue);
}

.section-title .accent-red {
  color: var(--red);
}

/* ==========================================================================
   Header + Hero
   ========================================================================== */
.topbar {
  position: absolute;
  inset: 27px 0 auto 0;
  /* полоса во всю ширину, но логотип и правая группа — по краям контейнера */
  padding-inline: max(var(--shell), calc((100vw - 1920px) / 2 + var(--shell)));
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 44px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 55px;
  flex: none;
}

.logo__mark {
  width: 50px;
  height: 35px;
}

.logo__text {
  width: 96px;
  height: 35px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--grey-27);
  white-space: nowrap;
}

.nav a {
  transition: color .2s ease;
}

.nav a:hover {
  color: var(--blue-bright);
}

.topbar__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.lang {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.4;
  color: var(--white);
}

.lang__sep {
  width: 1px;
  height: 11.5px;
  background: currentColor;
}

.lang__btn {
  transition: color .2s ease;
}

.lang__btn.is-active {
  color: var(--blue-bright);
  font-weight: 500;
}

.burger {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background .2s ease;
}

.burger:hover {
  background: rgba(255, 255, 255, .32);
}

.burger img {
  width: 27px;
  height: 16px;
}

/* --- Hero --- */
.hero {
  position: relative;
  /* высота в один экран, а не фикс 1032px из макета */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  background: var(--bg);
}

.hero__copy {
  width: 50.625%;
  /* 972/1920 */
  flex: none;
  padding: 120px var(--shell) 60px;
  /* на экранах шире 1920 текст прижимается к краю контейнера, фото тянется */
  padding-left: max(var(--shell), calc((100vw - 1920px) / 2 + var(--shell)));
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: center;
}

.hero__kicker {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-53);
}

.hero__title {
  max-width: 792px;
  margin-top: 18px;
  font-size: clamp(32px, 2.344vw, 45px);
  line-height: 1.28;
  font-weight: 600;
}

.hero__title .accent {
  color: var(--blue);
}

.hero__lead {
  max-width: 641px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--grey-27);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 31px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 12px 16px;
  /* фирменная «диагональная» форма: скруглены только верх-левый и низ-правый углы */
  border-radius: 12px 2px 12px 2px;
  background: var(--blue-deep);
  color: var(--white);
  font-size: 16px;
  white-space: nowrap;
  align-self: flex-start;
  /* не растягиваться в flex-колонках карточек */
  transition: background .2s ease;
}

.btn:hover {
  background: var(--blue-bright);
}

.btn__icon {
  width: 15px;
  height: 15px;
  flex: none;
}

/* главная кнопка героя крупнее скруглена (20px по макету) */
.hero__actions .btn {
  border-radius: 20px 2px 20px 2px;
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
  line-height: 34px;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}

.link-underline:hover {
  color: var(--blue-bright);
  border-color: var(--blue-bright);
}

.hero__stats {
  margin: 0;
  /* снимаем браузерный margin у dl */
  display: flex;
  gap: 55px;
  max-width: 666px;
  flex-wrap: wrap;
}

.hero__stats dd {
  margin: 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: none;
}

.hero__stat:nth-child(1) {
  width: 219px;
}

.hero__stat:nth-child(2) {
  width: 136px;
}

.hero__stat:nth-child(3) {
  width: 133px;
}

.hero__num {
  font-size: clamp(26px, 2.188vw, 42px);
  line-height: 1.28;
  font-weight: 600;
  background-image: radial-gradient(ellipse 260% 100% at 50% 50%,
      rgba(67, 73, 255, 1) 10%,
      rgba(55, 60, 196, .75) 32%,
      rgba(44, 47, 138, .5) 55%,
      rgba(32, 33, 79, .25) 77%,
      rgba(20, 20, 20, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stat p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--grey-27);
}

.hero__media {
  flex: 1 1 auto;
  min-width: 0;
  /* картинка позиционируется абсолютно, чтобы её высота НЕ распирала hero
     (иначе intrinsic-высота фото задаёт высоту вместо 100dvh) */
  position: relative;
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Intro (about) --- */
.intro {
  padding: 100px 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 42.7% 1fr;
  /* 751/1760 */
  gap: clamp(40px, 4.55vw, 80px);
  align-items: start;
}

.intro__title {
  margin-top: 18px;
  font-size: clamp(28px, 2.344vw, 45px);
  line-height: 1.28;
  font-weight: 600;
}

.intro__title .accent {
  color: var(--blue);
}

.intro__text {
  font-size: 18px;
  line-height: 1.65;
  color: var(--grey-27);
}

/* ==========================================================================
   Услуги
   ========================================================================== */
.services {
  background: var(--bg);
  padding: 100px 0;
}

.services__head {
  max-width: 920px;
}

/* шире — заголовок в 2 строки, как в макете */
.services__head .section-title {
  margin-top: 18px;
}

/* Явная раскладка: карточка 01 занимает обе строки,
   02/04 — верхний ряд, 03/05 — нижний. Ряды сетки выравнивают высоты. */
.services__grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  align-items: stretch;
}

.svc--r1c1 {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.svc--r1c2 {
  grid-column: 2;
  grid-row: 1;
}

.svc--r2c2 {
  grid-column: 2;
  grid-row: 2;
}

.svc--r1c3 {
  grid-column: 3;
  grid-row: 1;
}

.svc--r2c3 {
  grid-column: 3;
  grid-row: 2;
}

.svc {
  position: relative;
  border: 1px solid var(--line);
  /* диагональный радиус как в макете: верх-лево 20, низ-право 21 */
  border-radius: 20px 0 21px 0;
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* декоративная картинка в углу карточки (02 «доступ», 05 «упреждающие») */
.svc__pic {
  position: absolute;
  right: -20px;
  bottom: 0;
  height: clamp(150px, 14.5vw, 196px);
  width: auto;
  max-width: 48%;
  pointer-events: none;
}

.svc:last-child .svc__pic {
  max-width: 150px;
  right: 0;
  bottom: 0;
  height: auto;
}

/* карточки с картинкой: место под неё + текст не заходит под картинку */
.svc--blue,
.svc--dark {
  min-height: 262px;
}

.svc--blue .svc__text,
.svc--dark .svc__text {
  max-width: 60%;
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 10, 10, .1);
}

.svc__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.svc__num {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}

.svc__title {
  margin-top: 20px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
}

.svc__title .accent-red {
  color: var(--red);
}

.svc__icon {
  width: 36px;
  height: 36px;
  border-radius: 7.71px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform .25s ease;
}

.svc:hover .svc__icon {
  transform: rotate(-45deg);
}

.svc__icon img {
  width: 14px;
  height: 14px;
}

.svc__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-27);
}

/* Первая карточка — с основаниями, отделена линией */
.svc--lead .svc__body {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.svc__grounds-label {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--red);
}

.svc__tags {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.svc__tags li {
  min-width: 0;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(204, 39, 39, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.3;
  color: var(--red);
}

/* Цветовые варианты карточек */
.svc--blue {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.svc--blue .svc__num,
.svc--blue .svc__title,
.svc--blue .svc__text {
  color: var(--white);
}

.svc--blue .svc__icon {
  background: var(--blue-soft);
}

.svc--red {
  background: var(--red);
  border-color: var(--red);
}

.svc--red .svc__num,
.svc--red .svc__title,
.svc--red .svc__text {
  color: var(--white);
}

.svc--red .svc__icon {
  background: var(--white);
}

.svc--dark {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.svc--dark .svc__num,
.svc--dark .svc__title,
.svc--dark .svc__text {
  color: var(--white);
}

.svc--dark .svc__icon {
  background: var(--blue-soft);
}

/* ==========================================================================
   Тёмная секция: «Почему выбирают Easy Consulting» + аргументы
   ========================================================================== */
.dark-zone {
  background: var(--ink-soft);
  color: var(--white);
  padding: 100px 0 100px;
}

.why__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.why__head .eyebrow {
  flex-direction: column;
  color: #e5e5e5;
}

.why__title {
  font-size: clamp(31px, 2.604vw, 50px);
  line-height: 1.28;
  font-weight: 600;
}

.why__title .accent {
  color: var(--blue);
}

/* Крупный заголовок с «пилюлями»-картинками внутри строки */
/* Строчный поток, а не flex: картинки-«пилюли» должны переноситься
   вместе со словами, как обычные inline-элементы. */
.claim {
  /* Ширина в em: переносы держатся на любом кегле. Значение подобрано под
     Benzin (шире Inter), чтобы строки ломались как в макете и картинки-пилюли
     не падали на отдельную строку. */
  margin: 60px auto 0;
  max-width: min(16em, 100%);
  font-size: clamp(30px, 2.1875vw, 42px);
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  color: var(--white);
}

.claim__line {
  display: block;
}

/* второй блок в макете — отдельная строка, поэтому перенос принудительный */
.claim__line+.claim__line {
  margin-top: 66px;
}

/* Размер в em: при фиксированных пикселях «пилюля» перестаёт помещаться,
   когда кегль упирается в минимум clamp (119/50 = 2.38em, 79/50 = 1.58em) */
.claim__pill {
  display: inline-block;
  vertical-align: middle;
  width: 2.38em;
  height: 1.58em;
  margin: 0 .18em;
  border: 1px solid #b8b8b8;
  border-radius: 10px;
  object-fit: cover;
}

.claim__red {
  color: var(--red);
}

.args__head {
  margin-top: 110px;
}

.args__head .eyebrow {
  color: #e5e5e5;
}

.args__head .section-title {
  margin-top: 18px;
  max-width: 613px;
  color: var(--white);
}

.args__head .section-title .accent {
  color: var(--blue);
}

.args__list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* --- Карточка-аргумент --- */
.arg {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.arg--flip {
  flex-direction: row-reverse;
}

.arg__body {
  /* 870 из 1680 — фиксированная доля, как в макете.
     При flex:1 колонка съедала зазор: 970 вместо 870 и разрыв 40 вместо 140. */
  flex: none;
  width: 51.79%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.arg__count {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.arg__count b {
  font-size: 35px;
  line-height: 1.28;
  font-weight: 600;
  color: var(--blue-bright);
}

.arg__count span {
  font-size: 20px;
  line-height: 1.28;
  color: rgba(0, 0, 0, .5);
}

.arg__icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: rgba(67, 73, 255, .09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.arg__icon img {
  width: 36px;
  height: 36px;
}

/* заголовок и описание карточки разделены 8px */
.arg__body>div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arg__title {
  font-size: clamp(20px, 1.354vw, 26px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
}

.arg__text {
  max-width: 830px;
  font-size: 18px;
  line-height: 1.65;
  color: #2a2a2a;
}

.arg__media {
  /* 670 из 1680 (карточка 1760 минус padding 2x40) */
  position: relative;
  width: 39.9%;
  flex: none;
  align-self: stretch;
  border-radius: 10px;
  overflow: hidden;
}

/* Фото выводим из потока: иначе height:100% при авто-высоте родителя
   откатывается к натуральному размеру и растягивает карточку.
   Высоту задаёт левая колонка. */
.arg__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Тёмный вариант карточки */
.arg--dark {
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, .12);
}

.arg--dark .arg__title {
  color: var(--white);
}

.arg--dark .arg__text {
  color: rgba(255, 255, 255, .75);
}

.arg--dark .arg__count span {
  color: rgba(255, 255, 255, .5);
}

.arg--dark .arg__icon {
  background: rgba(255, 255, 255, .09);
}

/* Кнопка внутри аргумента */
.btn--wide {
  padding-inline: 20px;
}

/* Синий вариант карточки-аргумента */
.arg--blue {
  background: var(--blue-deep);
}

.arg--blue .arg__title {
  color: var(--white);
}

.arg--blue .arg__text {
  color: rgba(255, 255, 255, .85);
}

.arg--blue .arg__count b {
  color: var(--white);
}

.arg--blue .arg__count span {
  color: rgba(255, 255, 255, .5);
}

.arg--blue .arg__icon {
  background: rgba(255, 255, 255, .25);
}

/* Светлая кнопка — на синих карточках */
.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--blue-soft);
  color: var(--white);
}

/* ==========================================================================
   Ключевые вопросы Интерпола
   ========================================================================== */
.topics {
  padding: 100px 0;
}

.topics__head {
  display: grid;
  /* 641 / 251 / 782 / 86 из 1760 — абзац не прижат к правому краю */
  grid-template-columns: 36.4% 44.4%;
  gap: 14.26%;
  align-items: start;
}

.topics__head .section-title {
  margin-top: 18px;
}

.topics__lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--grey-27);
}

.topics__head .section-title .accent {
  color: var(--blue);
}

.topics__grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Широкая карточка занимает две колонки в нижнем ряду */
.topic--wide {
  grid-column: span 2;
}

.topic {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease;
}

.topic:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 10, 10, .08);
}

.topic__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topic__title {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink-soft);
}

.topic__text {
  font-size: 18px;
  line-height: 1.65;
  color: var(--grey-27);
}

.topic__tag {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid rgba(74, 85, 211, .75);
}

.topic__tag b {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--blue);
}

.topic__tag span {
  font-size: 16px;
  line-height: 1.35;
  color: rgba(59, 59, 59, .71);
}

/* Красная карточка */
.topic--red {
  background: var(--red);
  border-color: var(--red);
}

.topic--red .topic__tag {
  border-top-color: rgba(255, 255, 255, .75);
}

.topic--red .topic__title,
.topic--red .topic__text,
.topic--red .topic__tag b {
  color: var(--white);
}

.topic--red .topic__tag span {
  color: rgba(252, 252, 252, .71);
}

/* Синяя широкая карточка с фото (телефон Red Notice) справа */
.topic--blue {
  background-color: var(--blue-deep);
  background-image:
    linear-gradient(90deg, var(--blue-deep) 0 40%, rgba(45, 53, 141, .55) 62%, rgba(45, 53, 141, 0) 88%),
    url("../assets/img/how_work_bg.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-color: var(--blue-deep);
}

.topic--blue .topic__body {
  border-bottom-color: rgba(177, 184, 255, .75);
}

.topic--blue .topic__title,
.topic--blue .topic__text,
.topic--blue .topic__tag b {
  color: var(--white);
}

.topic--blue .topic__tag span {
  color: transparent;
}

/* в макете скрыт, держит высоту */

/* Чёрная карточка «Стандарты точности и качества данных» */
.topic--dark {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.topic--dark .topic__body {
  border-bottom-color: rgba(255, 255, 255, .3);
}

.topic--dark .topic__title,
.topic--dark .topic__text {
  color: var(--white);
}

.topic--dark .topic__tag span {
  color: rgba(255, 255, 255, .71);
}

/* ==========================================================================
   Синие баннеры (проверка оснований / консультация)
   ========================================================================== */
.promo {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  border-radius: 10px;
  padding: 40px;
  color: var(--white);
}

.promo__shape {
  /* в макете баннеры плоские #2d358d без свечения-«градиента» */
  display: none;
}

.promo__shape--a {
  left: 55%;
  top: -206px;
  width: 957px;
  height: 899px;
  transform: rotate(-107deg);
}

.promo__shape--b {
  left: 38%;
  top: -273px;
  width: 991px;
  height: 1026px;
  transform: rotate(151deg);
}

.promo__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.promo__title {
  font-size: clamp(25px, 2.083vw, 40px);
  line-height: 1.28;
  font-weight: 600;
}

.promo__text {
  max-width: 1106px;
  font-size: 16px;
  line-height: 1.65;
}

.promo__title+.promo__text {
  margin-top: 20px;
}

.promo__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.promo__pills li {
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(168, 171, 255, .22);
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, .84);
  text-transform: uppercase;
}

.promo__eyebrow {
  align-self: flex-start;
  height: 45px;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(168, 171, 255, .22);
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
  text-transform: uppercase;
}

.promo__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.btn--lg {
  height: 60px;
  padding: 12px 20px;
}

.btn--red {
  background: var(--red);
}

.btn--red:hover {
  background: #b02020;
}

.btn--onblue {
  background: var(--white);
  color: var(--blue-deep);
}

.btn--onblue:hover {
  background: var(--blue-soft);
  color: var(--white);
}

/* Первый баннер: контент слева, кнопка справа */
.promo--split {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

/* кнопка баннера — поверх декоративной подложки */
.promo>.btn {
  position: relative;
  z-index: 1;
  flex: none;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 100px 0;
}

.faq__grid {
  display: grid;
  grid-template-columns: 36.4% 1fr;
  /* 641/1760 */
  gap: clamp(60px, 7.4vw, 130px);
  align-items: start;
}

.faq__head .section-title {
  margin-top: 18px;
}

.faq__head .section-title .accent {
  color: var(--blue);
}

.faq__sub {
  margin-top: 24px;
  max-width: 590px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--grey-27);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px;
  text-align: left;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  color: #000;
}

.faq__icon {
  width: 36px;
  height: 36px;
  flex: none;
  position: relative;
}

.faq__icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity .2s ease;
}

.faq__icon .is-minus {
  opacity: 0;
}

.faq__item.is-open .faq__icon .is-minus {
  opacity: 1;
}

.faq__item.is-open .faq__icon .is-plus {
  opacity: 0;
}

/* Открытие через grid-template-rows 0fr→1fr (otherside) — плавно и без JS-высоты */
.faq__a {
  display: grid;
  /* minmax(0, …) обнуляет min-content трека, иначе нижний padding <p>
     не даёт схлопнуться в ноль (пол упирался в 20px) */
  grid-template-rows: minmax(0, 0fr);
  transition: grid-template-rows .4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq__a>* {
  min-height: 0;
  overflow: hidden;
}

.faq__item.is-open .faq__a {
  grid-template-rows: minmax(0, 1fr);
}

.faq__a p {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(0, 0, 0, .7);
}

/* ==========================================================================
   Продолжаем изучение
   ========================================================================== */
.more {
  padding: 0 0 100px;
}

.more__grid {
  display: grid;
  grid-template-columns: 44.8% 1fr;
  /* 788/1760 */
  gap: clamp(40px, 4.55vw, 80px);
  align-items: start;
}

.more__head .section-title {
  margin-top: 18px;
}

.more__head .section-title .accent {
  color: var(--blue);
}

.more__note {
  margin-top: 28px;
  font-size: clamp(19px, 1.563vw, 30px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink-soft);
}

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

.mini {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 10, 10, .08);
}

.mini__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mini__title {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
}

.mini__icon {
  width: 36px;
  height: 36px;
  border-radius: 7.71px;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform .25s ease;
}

.mini:hover .mini__icon {
  transform: rotate(-45deg);
}

.mini__icon img {
  width: 14px;
  height: 14px;
}

.mini__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-27);
}

/* ==========================================================================
   Футер
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--white);
  padding: 70px 0 40px;
}

/* Обе фигуры прижаты к своему краю и центрированы по вертикали
   (top:0 bottom:0 + margin auto), обрезаются overflow:hidden футера. */
/* Готовые PNG-свечения (высота ровно под футер).
   Прижаты к краям и центрированы по вертикали, обрезаются overflow. */
.footer__shape {
  position: absolute;
  top: 0;
  bottom: 0;
  margin-block: auto;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.footer__shape--l {
  left: 0;
  object-position: left center;
}

.footer__shape--r {
  right: 0;
  object-position: right center;
}

.footer__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 33.7% 25.3% 1fr;
  /* 593/445 из 1760 */
  gap: 40px;
  align-items: start;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
}

.footer__logo img {
  width: 280px;
  height: 64px;
}

.footer__heading {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--white);
}

.footer__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__list img {
  width: 18px;
  height: 18px;
  flex: none;
}

.footer__list a,
.footer__list span {
  font-size: 16px;
  line-height: 21px;
  font-weight: 500;
  color: #eee;
  max-width: 254px;
  transition: color .2s ease;
}

.footer__list a:hover {
  color: var(--blue-soft);
}

.footer__socials {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.footer__socials a {
  width: 60px;
  height: 60px;
  display: block;
  transition: opacity .2s ease, transform .2s ease;
}

.footer__socials a:hover {
  opacity: .75;
  transform: translateY(-2px);
}

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

.footer__rule {
  position: relative;
  z-index: 1;
  margin: 60px 0 40px;
  height: 1px;
  background: rgba(255, 255, 255, .15);
  border: 0;
}

.footer__legal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  font-size: 16px;
  line-height: 21px;
  color: #b7b7b7;
}

.footer__legal a:hover {
  color: var(--white);
}

/* Появление при скролле рисует anime.js (js/main.js): начальный opacity
   ставит скрипт, каскад — через animate()+stagger. CSS-класса нет. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Мобильное меню
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  /* тёмный фон + декоративная картинка со свечениями (menu-bg.png) */
  background-color: #0e0e14;
  background-image: url("../assets/img/menu-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 28px;
  /* верх и боковые поля = как у .topbar, чтобы крестик встал ровно на бургер */
  padding: 27px max(var(--shell), calc((100vw - 1920px) / 2 + var(--shell))) 36px;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  /* фон появляется быстро — элементы всплывают уже по сплошному полю */
  transition: opacity .18s ease, visibility .18s;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

/* верхняя строка: бренд слева, крестик справа */
.mobile-menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* высота строки = высоте .logo в шапке: центр крестика совпадает с бургером */
  min-height: 55px;
}

.mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__brand .logo__mark {
  width: 46px;
  height: 32px;
}

/* тёмный логотип-текст (#141414) перекрашиваем в белый для тёмного меню */
.mobile-menu__brand .logo__text {
  width: 88px;
  height: 32px;
  filter: brightness(0) invert(1);
}

/* размеры повторяют .burger — кнопка встаёт пиксель-в-пиксель на его место */
.mobile-menu__close {
  width: 50px;
  height: 50px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  transition: background .2s ease;
}

.mobile-menu__close:hover {
  background: rgba(255, 255, 255, .2);
}

.icon-close {
  width: 22px;
  height: 22px;
  display: block;
}

/* центр: две колонки (навигация | контакты) */
.mobile-menu__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: start;
  /* контент от верха вниз (как в макете), не по центру */
  gap: 40px clamp(40px, 5vw, 90px);
  width: 100%;
  max-width: 1320px;
  padding-top: clamp(20px, 5vh, 70px);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 34px);
}

.mobile-menu__links>a,
.mobile-menu__item-row>a {
  font-family: var(--font-head);
  /* Benzin, как заголовки/макет меню */
  font-size: clamp(22px, 2.6vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  transition: color .2s ease;
}

.mobile-menu__links>a:hover,
.mobile-menu__item-row>a:hover,
.mobile-menu__links a[aria-current="page"] {
  color: var(--red);
}

/* пункт с подменю (Услуги) */
.mobile-menu__item-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu__sub-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  color: rgba(255, 255, 255, .65);
  transition: transform .25s ease, color .2s ease;
}

.mobile-menu__sub-toggle:hover {
  color: #fff;
}

.mobile-menu__sub-toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-menu__item.is-expanded .mobile-menu__sub-toggle {
  transform: rotate(180deg);
}

.mobile-menu__sub {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  transition: grid-template-rows .35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu__sub>div {
  overflow: hidden;
  min-height: 0;
}

.mobile-menu__item.is-expanded .mobile-menu__sub {
  grid-template-rows: minmax(0, 1fr);
}

.mobile-menu__sub a {
  display: block;
  padding: 11px 0 11px 2px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
}

.mobile-menu__sub a:first-child {
  padding-top: 14px;
}

.mobile-menu__sub a:hover {
  color: var(--red);
}

/* правая колонка: название, контакты, поиск, язык */
.mobile-menu__aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 420px;
}

.mobile-menu__brand-name {
  font-family: var(--font-head);
  /* Benzin — как в макете */
  font-size: clamp(22px, 1.9vw, 34px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

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

.mobile-menu__label {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

.mobile-menu__field a {
  font-size: 17px;
  color: #fff;
}

.mobile-menu__field a:hover {
  color: var(--red);
}

/* поиск — бокс с рамкой и иконкой слева */
.mobile-menu__search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px;
}

.mobile-menu__search svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: rgba(255, 255, 255, .6);
}

.mobile-menu__search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #fff;
  font: inherit;
  font-size: 15px;
}

.mobile-menu__search input:focus {
  outline: none;
}

.mobile-menu__search input::placeholder {
  color: rgba(255, 255, 255, .5);
}

/* язык — активный красный, как в макете */
.mobile-menu__lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.mobile-menu__lang .lang__btn {
  color: rgba(255, 255, 255, .6);
}

.mobile-menu__lang .lang__btn:hover {
  color: #fff;
}

.mobile-menu__lang .lang__btn.is-active {
  color: var(--red);
  font-weight: 600;
}

.mobile-menu__lang-sep {
  color: rgba(255, 255, 255, .35);
}

@media (max-width: 720px) {
  .mobile-menu {
    /* верх/бока наследуем от базового правила (совпадение с .topbar) */
    padding-bottom: 24px;
    overflow-x: hidden;
  }

  .mobile-menu__inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 30px;
  }

  /* дубль названия «Easy Consulting» в правой колонке на мобильном не нужен */
  .mobile-menu__brand-name {
    display: none;
  }

  /* min-width:0 — иначе grid-колонки не сжимаются до вьюпорта и текст вылезает */
  .mobile-menu__links,
  .mobile-menu__aside {
    min-width: 0;
    max-width: none;
  }

  /* на мобильном пункты меньше (как в макете ~26px), чтобы длинные переносились */
  .mobile-menu__links>a,
  .mobile-menu__item-row>a {
    font-size: clamp(18px, 3.6vw, 26px);
    overflow-wrap: anywhere;
  }

  /* длинные подпункты не должны вылезать за край — меньше кегль + перенос */
  .mobile-menu__sub a {
    font-size: 14px;
    line-height: 1.4;
    padding: 8px 0;
    overflow-wrap: anywhere;
  }
}

/* Появление снизу вверх каскадом. Идёт ПОСЛЕ базовых правил, чтобы transition
   перебивал transition:color. Без motion-preference — элементы сразу на месте. */
@media (prefers-reduced-motion: no-preference) {

  /* `> a` перечислен явно — иначе базовое `.mobile-menu__links > a {transition:color}`
     (спец. 0,1,1) перебивает transition анимации и <a>-пункты не всплывают */
  .mobile-menu__links>*,
  .mobile-menu__links>a,
  .mobile-menu__aside>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .5s cubic-bezier(0.2, 0.8, 0.2, 1),
      transform .5s cubic-bezier(0.2, 0.8, 0.2, 1),
      color .2s ease;
  }

  .mobile-menu.is-open .mobile-menu__links>*,
  .mobile-menu.is-open .mobile-menu__links>a,
  .mobile-menu.is-open .mobile-menu__aside>* {
    opacity: 1;
    transform: none;
  }

  /* навигация (6 пунктов) — нижний всплывает первым */
  .mobile-menu.is-open .mobile-menu__links>*:nth-child(7) {
    transition-delay: .06s;
  }

  .mobile-menu.is-open .mobile-menu__links>*:nth-child(6) {
    transition-delay: .11s;
  }

  .mobile-menu.is-open .mobile-menu__links>*:nth-child(5) {
    transition-delay: .16s;
  }

  .mobile-menu.is-open .mobile-menu__links>*:nth-child(4) {
    transition-delay: .21s;
  }

  .mobile-menu.is-open .mobile-menu__links>*:nth-child(3) {
    transition-delay: .26s;
  }

  .mobile-menu.is-open .mobile-menu__links>*:nth-child(2) {
    transition-delay: .31s;
  }

  .mobile-menu.is-open .mobile-menu__links>*:nth-child(1) {
    transition-delay: .36s;
  }

  /* правая колонка (5 блоков) */
  .mobile-menu.is-open .mobile-menu__aside>*:nth-child(5) {
    transition-delay: .10s;
  }

  .mobile-menu.is-open .mobile-menu__aside>*:nth-child(4) {
    transition-delay: .15s;
  }

  .mobile-menu.is-open .mobile-menu__aside>*:nth-child(3) {
    transition-delay: .20s;
  }

  .mobile-menu.is-open .mobile-menu__aside>*:nth-child(2) {
    transition-delay: .25s;
  }

  .mobile-menu.is-open .mobile-menu__aside>*:nth-child(1) {
    transition-delay: .30s;
  }
}

/* ==========================================================================
   Адаптив
   ========================================================================== */

/* Глобальный «масштаб 75%». По фидбэку клиента весь сайт на десктопе выглядел
   крупно («как для плоховидящих») — нужен «воздух» и мельче/тоньше. zoom:.8
   пропорционально ужимает всю раскладку (шрифты, плашки, иконки, отступы) —
   ровно так, как клиент видит сайт в браузере на 80% зума, но уже на 100%.
   Побочный плюс: растровые фото рендерятся резче (больше device-px на CSS-px).
   Мобайл/планшет (<1200px) не трогаем — там раскладка уже компактная. */
@media (min-width: 1200px) {
  body {
    zoom: 0.8;
  }
}

/* 1200–1920px — раскладка десктопа 1920 держится без изменений,
   размеры масштабируются пропорционально через clamp()/проценты.
   Ниже 1200px включается адаптив. */

/* Планшет — от 1199px и ниже */
@media (max-width: 1199px) {
  :root {
    --shell: 40px;
  }

  .nav {
    display: none;
  }

  .topbar {
    gap: 16px;
  }

  /* статистика в один ряд при узкой колонке */
  .hero__stats {
    gap: 24px;
  }

  /* iPad: hero остаётся в две колонки — текст слева, фото справа (649/400 из 1024) */
  .hero {
    min-height: 766px;
  }

  .hero__copy {
    width: 63.4%;
    padding: 110px var(--shell) 60px;
    gap: 40px;
  }

  .hero__media img {
    min-height: 0;
    height: 100%;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__num {
    font-size: 36px;
  }

  /* на планшете первая карточка во всю ширину, остальные парами */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }

  .svc--r1c2,
  .svc--r2c2,
  .svc--r1c3,
  .svc--r2c3 {
    grid-column: auto;
    grid-row: auto;
  }

  .svc--r1c1 {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .intro__grid {
    grid-template-columns: 1fr;
  }

  .topics__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .topic--wide {
    grid-column: span 2;
  }

  .claim {
    font-size: 32px;
    margin-top: 60px;
  }

  /* Планшет — фрейм iPad 166:2258: карточка 944x442, padding 26,
     колонки равные 441/441, кегли и иконка меньше десктопных */
  .arg,
  .arg--flip {
    padding: 26px;
    gap: 10px;
  }

  .arg__body {
    width: 49.44%;
    gap: 20px;
  }

  /* 441 из 892 */
  .arg__media {
    width: 49.44%;
  }

  .arg__count b {
    font-size: 22px;
  }

  .arg__count span {
    font-size: 16px;
  }

  .arg__icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }

  .arg__icon img {
    width: 18px;
    height: 18px;
  }

  .arg__title {
    font-size: 22px;
  }

  .arg__text {
    font-size: 14px;
  }

  .arg__body>div {
    gap: 12px;
  }

  .promo--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo__shape {
    display: none;
  }

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

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

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

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

  .topics__lead,
  .topic__text {
    font-size: 16px;
  }

  .topics__head .section-title {
    max-width: 60%;
  }

}

/* Мобильные — макет iPhone 13 & 14 (390px, фрейм 166:2554).
   Поля 15px, вертикальные отступы секций 40px, промежуток карточек 20px. */
@media (max-width: 640px) {
  :root {
    --shell: 15px;
  }

  /* --- Типографика по фрейму iPhone (166:2554) --- */
  /* заголовки секций: 24 / 600 / 1.28 / uppercase */
  .section-title,
  .intro__title,
  .why__title,
  .promo__title {
    font-size: 24px;
  }

  /* Ширины текстовых блоков из макета: без них «EASY CONSULTING»
     рвётся посередине — 296px (166:2670) и 315px (166:2681) */
  .why__title {
    max-width: 296px;
    margin-inline: auto;
  }

  .args__head .section-title {
    max-width: 315px;
  }

  .hero__kicker {
    font-size: 12px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__lead {
    font-size: 16px;
  }

  /* основной текст секций — 14px / 1.65 */
  .intro__text,
  .svc__text,
  .arg__text,
  .topic__text,
  .promo__text,
  .faq__sub,
  .mini__text {
    font-size: 14px;
  }

  .more__note {
    font-size: 22px;
  }

  /* зазор «надзаголовок → заголовок»: 12px вместо 18px */
  .intro__title,
  .services__head .section-title,
  .topics__head .section-title,
  .faq__head .section-title,
  .more__head .section-title,
  .args__head .section-title {
    margin-top: 12px;
  }

  /* карточки услуг */
  .svc {
    padding: 12px;
    gap: 12px;
  }

  .svc__title {
    margin-top: 12px;
    font-size: 18px;
  }

  .svc__grounds-label {
    font-size: 16px;
  }

  .svc__tags {
    margin-top: 12px;
    gap: 10px;
  }

  .svc__tags li {
    min-width: 0;
    height: auto;
    padding: 5px 10px;
    font-size: 14px;
  }

  /* карточки «ключевых вопросов» */
  .topic {
    padding: 12px;
    gap: 12px;
  }

  .topic__title {
    font-size: 18px;
  }

  .topic__tag b {
    font-size: 16px;
  }

  .topic__tag span {
    font-size: 14px;
  }

  /* мини-карточки «продолжаем изучение» */
  .mini {
    padding: 12px;
    gap: 12px;
  }

  .mini__title {
    font-size: 16px;
  }

  /* iPhone: шапка зафиксирована сверху — остаётся при скролле */
  .topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 25;
    height: 56px;
    padding: 8px 15px;
    background: var(--bg);
    gap: 12px;
  }

  .logo {
    height: 40px;
  }

  .logo__mark {
    width: 36.42px;
    height: 25.5px;
  }

  .logo__text {
    width: 69.93px;
    height: 25.5px;
  }

  .lang {
    display: none;
  }

  .burger {
    width: 40px;
    height: 40px;
    border-radius: 4.8px;
    background: var(--blue);
  }

  .burger:hover {
    background: var(--blue-deep);
  }

  .burger img {
    width: 21.6px;
    height: 12.8px;
  }

  /* iPhone: шапка fixed 56px (padding 8/15) — повторяем её для строки меню,
     чтобы крестик лёг точно на бургер */
  .mobile-menu {
    padding-top: 8px;
  }

  .mobile-menu__bar {
    min-height: 40px;
  }

  .mobile-menu__close {
    width: 40px;
    height: 40px;
    border-radius: 4.8px;
  }

  .mobile-menu__brand .logo__mark {
    width: 36.42px;
    height: 25.5px;
  }

  .mobile-menu__brand .logo__text {
    width: 69.93px;
    height: 25.5px;
  }

  .hero {
    display: block;
    position: relative;
    min-height: 769px;
  }

  /* фото и затемнение начинаются под шапкой */
  .hero__media {
    position: absolute;
    inset: 56px 0 0;
    z-index: 0;
  }

  .hero__media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 56px 0 0;
    z-index: 1;
    background: rgba(0, 0, 0, .58);
  }

  .hero__copy {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 99px var(--shell) 18px;
    gap: 114px;
  }

  .hero__title,
  .hero__lead,
  .hero__stat p {
    color: var(--white);
  }

  .hero__kicker {
    color: #c0c0c0;
  }

  /* в макете «EASY CONSULTING» — отдельный абзац, перенос принудительный */
  .hero__title .accent {
    display: block;
    color: var(--blue);
  }

  .hero__num {
    background-image: none;
    color: var(--white);
  }

  .link-underline {
    color: var(--white);
    border-color: var(--white);
  }

  .hero__actions {
    gap: 16px;
  }

  /* три показателя в строку, как в макете iPhone */
  .hero__stats {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }

  .hero__stat:nth-child(1),
  .hero__stat:nth-child(2),
  .hero__stat:nth-child(3) {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }

  .hero__num {
    font-size: 26px;
  }

  .hero__stat p {
    font-size: 10px;
  }

  .intro,
  .services,
  .topics,
  .faq,
  .dark-zone {
    padding-block: 40px;
  }

  .more {
    padding-bottom: 40px;
  }

  .intro__grid,
  .services__grid,
  .topics__grid,
  .topics__head,
  .more__cards {
    grid-template-columns: 1fr;
  }

  /* зазоры внутри заголовочных блоков — 12px по макету */
  .intro__grid {
    gap: 12px;
  }

  .topics__head {
    gap: 12px;
  }

  .topics__lead {
    font-size: 14px;
  }

  /* заголовок → сетка карточек: 20px вместо 60px */
  .services__grid,
  .topics__grid,
  .args__list {
    margin-top: 20px;
  }

  .args__head {
    margin-top: 72px;
  }

  .topic--wide {
    grid-column: span 1;
  }

  .claim {
    font-size: 24px;
    margin-top: 40px;
  }

  .claim__line+.claim__line {
    margin-top: 28px;
  }

  /* Телефон — фрейм iPhone 166:2682: карточка 360x703, padding 12,
     колонкой, фото 278px под текстом */
  .arg,
  .arg--flip {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 12px;
  }

  .arg__body {
    width: 100%;
    gap: 12px;
  }

  .arg__body>div {
    gap: 8px;
  }

  .arg__title {
    font-size: 18px;
  }

  .arg__icon img {
    width: 18px;
    height: 18px;
  }

  /* кнопка внутри карточки — во всю ширину */
  .arg__body .btn {
    align-self: stretch;
    justify-content: center;
    height: 45px;
    min-height: 45px;
    /* иначе общий min-height:50 перебивает */
    padding-inline: 20px;
  }

  .arg__media {
    width: 100%;
    min-height: 278px;
    border-radius: 10px;
  }

  .promo {
    padding: 20px;
  }

  .promo__inner {
    gap: 16px;
  }

  .promo__pills {
    gap: 10px;
  }

  .promo__pills li {
    font-size: 12px;
    padding: 5px 12px;
  }

  .promo__eyebrow {
    font-size: 12px;
    height: 36px;
    padding: 10px 16px;
  }

  /* кнопка баннера: 14px, h48, во всю ширину (166:2826) */
  .promo>.btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    height: 48px;
    min-height: 48px;
    padding-inline: 20px;
  }

  /* кнопки нижнего призыва: padding 12, без фиксированной высоты (166:2903) */
  .promo__actions .btn {
    font-size: 14px;
    height: auto;
    min-height: 0;
    padding: 12px;
  }

  .promo__actions .btn {
    width: 100%;
    justify-content: space-between;
  }

  .btn {
    white-space: normal;
    height: auto;
    min-height: 50px;
  }

  .faq__q {
    font-size: 18px;
    padding: 20px;
  }

  .faq__a p {
    padding: 0 20px 20px;
    font-size: 14px;
    line-height: 1.5;
  }

  .faq__icon {
    width: 36px;
    height: 36px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__logo img {
    width: 175px;
    height: 40px;
  }

  .footer__shape--l {
    display: none;
  }

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

  .topics__head .section-title {
    max-width: 100%;
  }

  .mini__icon {
    height: 36px;
    width: 36px;
    border-radius: 6px;
  }

  .svc__icon {
    height: 32px;
    width: 32px;
  }
}

/* ==========================================================================
   Иконка-стрелка (маска — наследует color родителя)
   ========================================================================== */
/* Спрайт не должен занимать места в потоке */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon-arrow {
  display: block;
  width: 15px;
  height: 15px;
  flex: none;
  color: currentColor;
  /* наследуется от плитки/кнопки */
}

.btn__icon {
  width: 15px;
  height: 15px;
}

/* Цвет стрелки внутри плиток */
.svc__icon {
  color: var(--white);
}

.svc--red .svc__icon {
  color: var(--red);
}

.svc__icon .icon-arrow {
  width: 14px;
  height: 14px;
}

.mini__icon .icon-arrow {
  width: 14px;
  height: 14px;
}

/* Медиа-обёртки героя обрезают фото — иначе scale-in/дыхание/зум дают
   горизонтальное переполнение страницы. */
.hero__media,
.shero__media,
.fhero__media,
.rhero__media,
.thero__media {
  overflow: hidden;
}

/* ==========================================================================
   Декор-слой (otherside): «дыхание» фото, зум при наведении, микроинтеракции.
   Всё под no-preference — при reduced-motion не применяется.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* «Дыхание» фото героя — еле заметный масштаб, 18s (otherside otsHeroSplitBreath) */
  @keyframes ots-breath {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.015);
    }
  }

  .hero__media img,
  .shero__media img,
  .fhero__media img,
  .rhero__media img,
  .thero__media img {
    animation: ots-breath 18s ease-in-out infinite;
    animation-delay: 1.6s;
    /* после вводного scale-in */
    transform-origin: center;
  }

  /* Зум фото карточек при наведении (otherside stack/tk: scale 1.04) */
  .arg__media img,
  .srv__photo img,
  .why-us__photo img {
    transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .arg:hover .arg__media img,
  .srv__top:hover .srv__photo img,
  .why-us__photo:hover img {
    transform: scale(1.04);
  }

  /* Подъём карточек при наведении — единый easing otherside (.4s) */
  .svc,
  .topic,
  .mini,
  .step,
  .notice,
  .ncard,
  .case,
  .guide-item,
  .legal-card,
  .fee,
  .step-card {
    transition: transform .4s cubic-bezier(0.2, 0.8, 0.2, 1),
      border-color .3s ease, box-shadow .3s ease;
  }

  .svc:hover,
  .topic:hover,
  .mini:hover,
  .step:hover,
  .notice:hover,
  .ncard:hover,
  .case:hover,
  .guide-item:hover,
  .legal-card:hover,
  .fee:hover,
  .step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(10, 10, 10, .10);
  }

  /* Обведённые светлые карточки — рамка темнеет */
  .svc:hover,
  .ncard:hover,
  .guide-item:hover,
  .legal-card:hover,
  .fee:hover,
  .step-card:hover {
    border-color: var(--ink);
  }

  /* Цветные карточки уведомлений — кольцо в цвет акцента (как у донора) */
  .notice--red:hover {
    box-shadow: 0 0 0 1.5px #cc2727, 0 14px 30px rgba(10, 10, 10, .1);
  }

  .notice--blue:hover {
    box-shadow: 0 0 0 1.5px #3254eb, 0 14px 30px rgba(10, 10, 10, .1);
  }

  .notice--yellow:hover {
    box-shadow: 0 0 0 1.5px #d0930f, 0 14px 30px rgba(10, 10, 10, .1);
  }

  .notice--green:hover {
    box-shadow: 0 0 0 1.5px #008e50, 0 14px 30px rgba(10, 10, 10, .1);
  }

  /* Кнопки: подъём + тень (otherside cta) */
  .btn {
    transition: background .2s ease, transform .3s ease, box-shadow .3s ease;
  }

  .btn:hover {
    transform: translateY(-2px);
  }

  .btn--red:hover {
    box-shadow: 0 12px 28px -10px rgba(204, 39, 39, .55);
  }

  .btn:not(.btn--red):not(.btn--onblue):not(.btn--light):hover {
    box-shadow: 0 12px 28px -10px rgba(45, 53, 141, .5);
  }

  .btn--onblue:hover,
  .btn--light:hover {
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .25);
  }

  /* Стрелки в кнопках и плитках уезжают вправо-вверх */
  .btn .icon-arrow,
  .btn__icon,
  .exp-item__go .icon-arrow,
  .mini__icon .icon-arrow,
  .svc__icon .icon-arrow {
    transition: transform .3s ease;
  }

  .btn:hover .icon-arrow {
    transform: translate(2px, -2px);
  }

  .btn:hover .btn__icon {
    transform: translateX(3px);
  }

  .exp-item:hover .exp-item__go .icon-arrow,
  .mini:hover .mini__icon .icon-arrow,
  .svc:hover .svc__icon .icon-arrow {
    transform: translate(2px, -2px);
  }

  /* Текстовые ссылки со стрелкой — расширяется зазор (otserside link) */
  .link-underline {
    transition: color .2s ease, border-color .2s ease, gap .3s ease;
  }

  .link-underline:hover {
    gap: 12px;
  }

  /* Чипы «продолжить изучение» и таблетки-ссылки — плавный фон */
  .explore__chips a {
    transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
  }

  .explore__chips a:hover {
    transform: translateY(-2px);
  }
}

/* ==========================================================================
   Пословное проявление крупных надписей (otherside about-word):
   слова тусклые (.22), по скроллу зажигаются слева-направо; картинки-пилюли
   вырастают по ширине. Класс .is-split ставит JS — без него всё видно.
   Работает для .claim (тёмная зона) и .statement (страница «Фирма»).
   ========================================================================== */
.is-split .claim-word {
  opacity: .22;
  transition: opacity .55s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity;
}

.is-split .claim-word.lit {
  opacity: 1;
}

/* Пилюля растёт настоящей шириной с 0 — плавно раздвигает текст, без scale */
.claim.is-split .claim__pill {
  width: 0;
  margin-inline: 0;
  opacity: 0;
  overflow: hidden;
  border-color: transparent;
  transition: width .55s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin .55s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity .4s ease,
    border-color .4s ease;
}

.claim.is-split .claim__pill.lit {
  width: 2.38em;
  margin-inline: .18em;
  opacity: 1;
  border-color: #b8b8b8;
}

@media (prefers-reduced-motion: reduce) {
  .is-split .claim-word {
    opacity: 1 !important;
    transition: none;
  }

  .claim.is-split .claim__pill {
    opacity: 1 !important;
    width: 2.38em !important;
    margin-inline: .18em !important;
    border-color: #b8b8b8 !important;
    transition: none;
  }
}

/* ==========================================================================
   Стопка карточек-аргументов (otherside stack): position:sticky со ступенчатым
   top — карточки наезжают друг на друга колодой, предыдущая пришпилена.
   Только десктоп/планшет; на мобильном обычный поток.
   ========================================================================== */
@media (min-width: 641px) {
  .args__list {
    gap: 0;
  }

  .args__list .arg {
    position: sticky;
    margin-bottom: 24px;
  }

  .args__list .arg:nth-child(1) {
    top: 24px;
  }

  .args__list .arg:nth-child(2) {
    top: 44px;
  }

  .args__list .arg:nth-child(3) {
    top: 64px;
  }

  .args__list .arg:nth-child(4) {
    top: 84px;
  }

  .args__list .arg:nth-child(5) {
    top: 104px;
    margin-bottom: 0;
  }
}