/* Manrope — вариативный шрифт, размещён на своём домене.
   Лицензия SIL Open Font License 1.1, текст в assets/fonts/OFL.txt.
   Одна ось wght 200-800 покрывает все начертания сайта. */
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-var.woff2") format("woff2-variations"),
       url("assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ===== Relogid — базовые токены ===== */
:root {
  /* Тёмно-синий и бирюзовый взяты из логотипа.
     Производные подобраны так, чтобы текст проходил контраст WCAG AA (4.5:1)
     на белом и на светло-сером фоне. */
  --navy: #061E4C;
  --navy-400: #4E5F81;
  --accent: #049182;
  --accent-strong: #047F72;
  --accent-hover: #046F64;
  --accent-soft: #E6F4F2;
  --accent-on-soft: #037B6E;
  /* Мелкий бирюзовый текст поверх стекла: сквозь полупрозрачный слой
     просвечивает подсветка, и --accent-strong перестаёт добирать 4.5:1.
     Этот оттенок темнее и проходит с запасом. */
  --accent-on-glass: #046F64;
  --bg: #FFFFFF;
  --bg-light: #F5F7FA;
  --border: #E2E7EF;
  --text: #16233D;
  --text-muted: #5B6A85;
  --white: #FFFFFF;

  /* ===== Движение =====
     Две кривые вместо браузерного ease.

     --ease-soft для движения: плавный разгон и плавное торможение. Кривая
     с резким стартом (вроде .32,.72,0,1) читается бодрой, а не мягкой —
     за первую пятую долю времени она проходит почти весь путь.
     --ease-gentle для появления: без разгона, сразу мягкое торможение.

     Длительности заметно больше прежних: мягкость берётся временем. */
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --ease-gentle: cubic-bezier(.25, .8, .25, 1);
  --dur-quick: .22s;
  --dur-base: .34s;
  --dur-slow: .5s;

  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --container: 1120px;

  /* ===== Жидкое стекло =====
     Слой состоит из четырёх вещей, и все четыре обязательны, иначе стекло
     выглядит просто как полупрозрачный прямоугольник:
       1) размытие фона за элементом (backdrop-filter);
       2) вертикальный градиент заливки — сверху светлее, снизу темнее;
       3) светлая кромка сверху (inset-подсветка) — блик на ребре;
       4) мягкая тень снизу, чтобы слой «висел» над фоном.
     Насыщенность в backdrop-filter поднята: под стеклом цвета не выцветают. */
  --glass-blur: saturate(180%) blur(20px);
  --glass-fill: linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, rgba(255, 255, 255, .66) 100%);
  --glass-fill-strong: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .95) 100%);
  --glass-edge: 1px solid rgba(255, 255, 255, .75);
  --glass-ring: 0 0 0 1px rgba(6, 30, 76, .07);
  /* Ребро: яркий блик сверху, слабее по бокам, едва заметный снизу —
     так свет ложится на выпуклый край и слой перестаёт быть плоским. */
  --glass-top: inset 0 1px 0 rgba(255, 255, 255, .98),
               inset 1px 0 0 rgba(255, 255, 255, .55),
               inset -1px 0 0 rgba(255, 255, 255, .55),
               inset 0 -1px 0 rgba(255, 255, 255, .35);
  --glass-shadow: 0 1px 2px rgba(6, 30, 76, .04), 0 14px 34px rgba(6, 30, 76, .09);
  --glass-shadow-lift: 0 2px 4px rgba(6, 30, 76, .05), 0 22px 48px rgba(6, 30, 76, .13);

  /* Заливка кнопок. Кнопки светлые и по-настоящему прозрачные, надпись
     тёмная. Обратный порядок — белый текст на цветной заливке — такой
     прозрачности не выдерживает: заливка светлеет от подложки, и надпись
     перестаёт добирать 4.5:1 уже при 15% прозрачности. С тёмной надписью
     на светлом стекле запас есть даже при 66%. */
  --btn-fill: linear-gradient(180deg, rgba(230, 244, 242, .62) 0%, rgba(230, 244, 242, .34) 100%);
  --btn-fill-hover: linear-gradient(180deg, rgba(230, 244, 242, .80) 0%, rgba(230, 244, 242, .52) 100%);
  --btn-ink: var(--accent-on-glass);
  --btn-ring: 0 0 0 1px rgba(4, 145, 130, .38);
  --btn-top: inset 0 1px 0 rgba(255, 255, 255, .9);
  --btn-shadow: 0 8px 22px rgba(6, 30, 76, .10);
  --btn-shadow-hover: 0 12px 28px rgba(6, 30, 76, .14);

  /* На тёмно-синей секции направление обратное: надпись белая, заливка —
     лёгкий бирюзовый тон. Белый текст на тёмном фоне держит контраст даже
     при 14% заливки, тогда как тёмная надпись потребовала бы светлой и
     потому плотной подложки. Кнопку опознаёт кромка. */
  --btn-fill-dark: linear-gradient(180deg, rgba(53, 198, 172, .26) 0%, rgba(53, 198, 172, .14) 100%);
  --btn-fill-dark-hover: linear-gradient(180deg, rgba(53, 198, 172, .42) 0%, rgba(53, 198, 172, .26) 100%);
  --btn-ring-dark: 0 0 0 1px #35C6AC;

  /* Активные пилюли переключателей — то же стекло, чуть плотнее. */
  --pill-fill: linear-gradient(180deg, rgba(230, 244, 242, .82) 0%, rgba(230, 244, 242, .55) 100%);
  --pill-ring: 0 0 0 1px rgba(4, 145, 130, .32);
  --pill-top: inset 0 1px 0 rgba(255, 255, 255, .9);

  /* Тёмное стекло — для секции формы и футера на тёмно-синем фоне. */
  --glass-fill-dark: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .06) 100%);
  --glass-edge-dark: 1px solid rgba(255, 255, 255, .18);
  --glass-top-dark: inset 0 1px 0 rgba(255, 255, 255, .22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Сквозная подсветка страницы.

   Раньше пятна принадлежали секциям и обрезались по их границам: тон
   обрывался ровно на стыке, и вместе со скачком фона это давало видимую
   линию между блоками. Теперь поле одно на весь документ — обрезать нечего,
   а тон плавно меняется сверху вниз сам по себе. */
body { position: relative; }
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(ellipse closest-side,
      rgba(4, 145, 130, 0.22) 0%,
      rgba(4, 145, 130, 0.1936) 18%,
      rgba(4, 145, 130, 0.1496) 34%,
      rgba(4, 145, 130, 0.1056) 48%,
      rgba(4, 145, 130, 0.066) 62%,
      rgba(4, 145, 130, 0.0374) 74%,
      rgba(4, 145, 130, 0.0176) 85%,
      rgba(4, 145, 130, 0.0066) 93%,
      rgba(4, 145, 130, 0) 100%),
    radial-gradient(ellipse closest-side,
      rgba(6, 30, 76, 0.16) 0%,
      rgba(6, 30, 76, 0.1408) 18%,
      rgba(6, 30, 76, 0.1088) 34%,
      rgba(6, 30, 76, 0.0768) 48%,
      rgba(6, 30, 76, 0.048) 62%,
      rgba(6, 30, 76, 0.0272) 74%,
      rgba(6, 30, 76, 0.0128) 85%,
      rgba(6, 30, 76, 0.0048) 93%,
      rgba(6, 30, 76, 0) 100%),
    radial-gradient(ellipse closest-side,
      rgba(4, 145, 130, 0.16) 0%,
      rgba(4, 145, 130, 0.1408) 18%,
      rgba(4, 145, 130, 0.1088) 34%,
      rgba(4, 145, 130, 0.0768) 48%,
      rgba(4, 145, 130, 0.048) 62%,
      rgba(4, 145, 130, 0.0272) 74%,
      rgba(4, 145, 130, 0.0128) 85%,
      rgba(4, 145, 130, 0.0048) 93%,
      rgba(4, 145, 130, 0) 100%),
    radial-gradient(ellipse closest-side,
      rgba(6, 30, 76, 0.13) 0%,
      rgba(6, 30, 76, 0.1144) 18%,
      rgba(6, 30, 76, 0.0884) 34%,
      rgba(6, 30, 76, 0.0624) 48%,
      rgba(6, 30, 76, 0.039) 62%,
      rgba(6, 30, 76, 0.0221) 74%,
      rgba(6, 30, 76, 0.0104) 85%,
      rgba(6, 30, 76, 0.0039) 93%,
      rgba(6, 30, 76, 0) 100%),
    radial-gradient(ellipse closest-side,
      rgba(4, 145, 130, 0.18) 0%,
      rgba(4, 145, 130, 0.1584) 18%,
      rgba(4, 145, 130, 0.1224) 34%,
      rgba(4, 145, 130, 0.0864) 48%,
      rgba(4, 145, 130, 0.054) 62%,
      rgba(4, 145, 130, 0.0306) 74%,
      rgba(4, 145, 130, 0.0144) 85%,
      rgba(4, 145, 130, 0.0054) 93%,
      rgba(4, 145, 130, 0) 100%);
  background-position: 88% 2%, -6% 14%, 12% 42%, 96% 56%, 30% 82%;
  background-size: 46vw 42vw, 40vw 40vw, 52vw 38vw, 44vw 40vw, 56vw 40vw;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 12px; font-weight: 700; }
p { margin: 0 0 12px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 720px; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur-quick) var(--ease-soft),
              color var(--dur-quick) var(--ease-soft),
              border-color var(--dur-quick) var(--ease-soft),
              box-shadow var(--dur-base) var(--ease-soft),
              transform var(--dur-quick) var(--ease-soft);
}
.btn--primary {
  background: var(--btn-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--btn-ink);
  box-shadow: var(--btn-ring), var(--btn-top), var(--btn-shadow);
}
.btn--primary:hover {
  background: var(--btn-fill-hover);
  box-shadow: var(--btn-ring), var(--btn-top), var(--btn-shadow-hover);
}
/* На тёмной секции формы то же стекло, но белое и с тёмно-синей надписью. */
.section--navy .btn--primary {
  background: var(--btn-fill-dark);
  color: var(--white);
  box-shadow: var(--btn-ring-dark), inset 0 1px 0 rgba(255, 255, 255, .22),
              0 10px 26px rgba(4, 145, 130, .22);
}
.section--navy .btn--primary:hover {
  background: var(--btn-fill-dark-hover);
  box-shadow: var(--btn-ring-dark), inset 0 1px 0 rgba(255, 255, 255, .3),
              0 14px 32px rgba(4, 145, 130, .32);
}
.btn--ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .38) 100%);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--navy);
  border-color: transparent;
  box-shadow: var(--glass-ring), var(--glass-top);
}
.btn--ghost:hover {
  box-shadow: 0 0 0 1px rgba(6, 30, 76, .16), var(--glass-top), 0 10px 24px rgba(6, 30, 76, .10);
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--wide { width: 100%; padding: 16px 26px; font-size: 16px; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Шапка ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .62) 100%);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 1px 0 rgba(6, 30, 76, .06), var(--glass-top);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
/* Слот под логотип: фиксированная высота, файл подставляется в assets/logo.svg */
.logo { display: inline-flex; align-items: center; }
.logo__img { display: none; height: 34px; width: auto; }
.logo__img.is-ready { display: block; }
.logo__placeholder {
  display: inline-flex;
  align-items: center;
  height: 28px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--navy);
}
.header__nav { display: none; gap: 28px; font-size: 15px; color: var(--text-muted); }
.header__nav a:hover { color: var(--navy); }
.header__cta { display: none; }

/* ===== Hero ===== */
.hero { padding: 56px 0 64px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(230, 244, 242, .97) 0%, rgba(230, 244, 242, .90) 100%);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--glass-top);
  color: var(--accent-on-glass);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}
/* Ширину ограничивают сами блоки текста, а не контейнер: если сузить
   контейнер, колонка центруется и hero уезжает вправо от общей сетки. */
.hero__title {
  max-width: 780px;
  font-size: 34px;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero__subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 620px;
}
.hero__actions { display: flex; flex-direction: column; gap: 12px; }

/* ===== Секции ===== */
.section { padding: 56px 0; }
/* Светлый тон вводится и выводится градиентом: заливка встык давала
   отчётливую линию на каждом стыке секций. */
.section--light {
  background: linear-gradient(180deg,
              rgba(233, 238, 245, 0) 0%,
              rgba(233, 238, 245, .75) 14%,
              rgba(233, 238, 245, .75) 86%,
              rgba(233, 238, 245, 0) 100%);
}
/* Тёмная секция формы — сознательный блок, её край и должен быть чётким.
   Пятна внутри принадлежат ей самой, поэтому обрезка здесь уместна. */
.section--navy {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--navy::before,
.section--navy::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.section--navy::before {
  width: 820px;
  height: 820px;
  top: -320px;
  right: -240px;
  background: radial-gradient(circle closest-side,
              rgba(4, 145, 130, 0.45) 0%,
              rgba(4, 145, 130, 0.396) 18%,
              rgba(4, 145, 130, 0.306) 34%,
              rgba(4, 145, 130, 0.216) 48%,
              rgba(4, 145, 130, 0.135) 62%,
              rgba(4, 145, 130, 0.0765) 74%,
              rgba(4, 145, 130, 0.036) 85%,
              rgba(4, 145, 130, 0.0135) 93%,
              rgba(4, 145, 130, 0) 100%);
}
.section--navy::after {
  /* Пятно целиком внутри секции: при closest-side градиент гаснет ровно
     на краях своей коробки, поэтому обрезки о границу с футером не остаётся.
     Раньше оно вылезало вниз и обрывалось на стыке видимой ступенькой. */
  width: 620px;
  height: 620px;
  bottom: 0;
  left: -120px;
  background: radial-gradient(circle closest-side,
              rgba(4, 145, 130, 0.26) 0%,
              rgba(4, 145, 130, 0.2288) 18%,
              rgba(4, 145, 130, 0.1768) 34%,
              rgba(4, 145, 130, 0.1248) 48%,
              rgba(4, 145, 130, 0.078) 62%,
              rgba(4, 145, 130, 0.0442) 74%,
              rgba(4, 145, 130, 0.0208) 85%,
              rgba(4, 145, 130, 0.0078) 93%,
              rgba(4, 145, 130, 0) 100%);
}
.section--navy > .container { position: relative; z-index: 1; }
.section__title { font-size: 26px; letter-spacing: -.01em; }
.section__title--invert { color: var(--white); }
.section__lead { color: var(--text-muted); margin-bottom: 32px; max-width: 620px; }
.section__lead--invert { color: rgba(255, 255, 255, .72); }

/* ===== Переключатель сегментов ===== */
.switch {
  position: relative;
  display: inline-flex;
  padding: 4px;
  margin-bottom: 32px;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-edge);
  border-radius: 999px;
  box-shadow: var(--glass-ring), var(--glass-top), var(--glass-shadow);
  width: 100%;
  max-width: 420px;
}
/* Пилюля выбранной половины — отдельный слой, который переезжает.
   Раньше фон просто перекрашивался у одной кнопки и появлялся у другой:
   переезда не было, было мигание. Обе половины равны по ширине, поэтому
   сдвиг задаётся в процентах от самой пилюли и не требует измерений. */
.switch::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--pill-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--pill-ring), var(--pill-top), 0 6px 16px rgba(6, 30, 76, .10);
  transform: translateX(0);
  transition: transform var(--dur-base) var(--ease-soft);
  pointer-events: none;
}
.switch[data-active="1"]::before { transform: translateX(100%); }

.switch--form::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, .20) 0%, rgba(255, 255, 255, .12) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.switch__btn {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-soft);
}
.switch__btn.is-active { color: var(--btn-ink); }
.switch--form {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: none;
  max-width: none;
}
.switch--form .switch__btn { color: rgba(255, 255, 255, .7); }
/* Выбранную половину отличает не заливка, а кромка пилюли: 55% белого
   дают 3.47 к соседней половине — норма для индикатора состояния 3:1. */
.switch--form .switch__btn.is-active { color: var(--white); }

.panel__title { font-size: 24px; max-width: 700px; }
.panel__lead { color: var(--text-muted); max-width: 640px; margin-bottom: 28px; }
.is-hidden { display: none !important; }

/* Появление панели после переключения. Показываем только входящую: панели
   разной высоты, и перекрёстное затухание всё равно дёрнуло бы страницу.
   Класс ставится скриптом и только после действия пользователя — при
   первой загрузке содержимое просто есть, без выезда. */
@keyframes soft-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.is-entering { animation: soft-in var(--dur-slow) var(--ease-gentle) both; }

/* ===== Выгоды ===== */
.benefits {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.benefit {
  background: var(--glass-fill);
  border: var(--glass-edge);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--glass-ring), var(--glass-top), var(--glass-shadow);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.benefit:hover { transform: translateY(-2px); box-shadow: var(--glass-ring), var(--glass-top), var(--glass-shadow-lift); }
.benefit h3 { font-size: 17px; margin-bottom: 8px; }
.benefit p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ===== Шаги ===== */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative;
  padding: 24px;
  border: var(--glass-edge);
  border-radius: var(--radius-xl);
  background: var(--glass-fill);
  box-shadow: var(--glass-ring), var(--glass-top), var(--glass-shadow);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.step:hover { transform: translateY(-2px); box-shadow: var(--glass-ring), var(--glass-top), var(--glass-shadow-lift); }
.step__num {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent-on-glass);
}
.step__title { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ===== Услуги ===== */
.services__group {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy-400);
  margin: 8px 0 16px;
}
.cards { display: grid; gap: 16px; margin-bottom: 40px; }
.cards:last-child { margin-bottom: 0; }
.card {
  position: relative;
  overflow: hidden;
  background: var(--glass-fill);
  border: var(--glass-edge);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--glass-ring), var(--glass-top), var(--glass-shadow);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
/* Скользящий блик по верхнему левому углу — то самое «мокрое» ребро стекла. */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}
.card > * { position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--glass-ring), var(--glass-top), var(--glass-shadow-lift); }
.card__title { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ===== Доверие ===== */
.trust { display: grid; gap: 16px; }
.trust__item {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 20px;
}
.trust__value {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  margin: 0 0 4px;
  line-height: 1;
}
.trust__text { color: var(--text-muted); margin: 0; max-width: 380px; }

/* ===== Вопросы и ответы ===== */
/* Аккордеон на <details>: раскрывается без скриптов, доступен с клавиатуры,
   и весь текст ответов лежит в разметке — поисковику видно закрытые тоже. */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--glass-fill);
  border: var(--glass-edge);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-ring), var(--glass-top), var(--glass-shadow);
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
/* Убираем встроенный треугольник — рисуем свой знак, одинаковый во всех браузерах. */
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  margin: 6px 0 0 auto;
  border-right: 2px solid var(--accent-on-glass);
  border-bottom: 2px solid var(--accent-on-glass);
  transform: rotate(45deg);
  transform-origin: 60% 60%;
  transition: transform var(--dur-base) var(--ease-soft);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }

/* Раскрытие ответа. Обычный <details> открывается скачком: высоту от auto
   анимировать нельзя. Свежие браузеры это умеют — там ответ выезжает,
   в остальных остаётся прежнее мгновенное раскрытие. */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height var(--dur-base) var(--ease-soft),
                opacity var(--dur-base) var(--ease-soft),
                content-visibility var(--dur-base) allow-discrete;
  }
  .faq__item[open]::details-content { height: auto; opacity: 1; }
}
.faq__q:hover { color: var(--accent-on-glass); }
.faq__q:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.faq__a {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.faq__a p { margin: 0; max-width: 78ch; }

/* ===== Форма ===== */
/* Тёмное стекло: та же конструкция, что и на светлых секциях, только заливка
   светлая и полупрозрачная поверх тёмно-синего — панель проявляется краем. */
.section--navy > .container {
  background: var(--glass-fill-dark);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-edge-dark);
  border-radius: 28px;
  box-shadow: var(--glass-top-dark), 0 24px 60px rgba(0, 0, 0, .22);
  padding: 32px 22px 36px;
  /* Панель не должна упираться в края экрана: на телефоне оставляем поля,
     на десктопе ограничение по ширине контейнера всё равно строже. */
  width: calc(100% - 32px);
}
.form { margin-top: 8px; }
.fields { display: grid; gap: 16px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  /* Заливка полей нарочно почти непрозрачная: сквозь поле ввода не должно
     просвечивать ничего, иначе введённый текст читается хуже. Стеклянными
     здесь остаются только кромка и тень. */
  background: var(--glass-fill-strong);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 16px rgba(6, 30, 76, .10);
  transition: border-color var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 3px rgba(4, 145, 130, .18);
}
.field input:invalid.is-touched { border-color: #E4614F; }

/* ===== Поля формы заявки на тёмной секции =====
   Заливки нет: поле обозначено только линией снизу. Линия здесь —
   единственный признак поля, поэтому её яркость выбрана не на глаз:
   при 55% белого она даёт 3.47 к фону в самом светлом месте подсветки,
   а граница элемента управления должна брать 3:1. */
.section--navy .field input,
.section--navy .field select,
.section--navy .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 0;
  padding: 12px 2px;
  color: var(--white);
  caret-color: var(--white);
  box-shadow: none;
  transition: border-color var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.section--navy .field textarea { min-height: 104px; }
.section--navy .field ::placeholder { color: rgba(255, 255, 255, .78); }
/* Список вариантов рисует система: без явного цвета он может выйти
   белым по белому, потому что поле задаёт белый текст. */
.section--navy .field select option { color: var(--text); background: var(--white); }
.section--navy .field input:hover,
.section--navy .field select:hover,
.section--navy .field textarea:hover { border-bottom-color: rgba(255, 255, 255, .8); }
.section--navy .field input:focus,
.section--navy .field select:focus,
.section--navy .field textarea:focus {
  border-bottom-color: #35C6AC;
  box-shadow: 0 1px 0 #35C6AC;
}
.section--navy .field input:invalid.is-touched { border-bottom-color: #FF9C8A; }

/* Автозаполнение: браузер перекрашивает поле своим фоном и тёмным текстом.
   Здесь текст белый, поэтому подставленный адрес стал бы белым по белому.
   Цвет текста задаём через -webkit-text-fill-color, а заливку отодвигаем
   бесконечным переходом — перебить её напрямую нельзя. */
.section--navy .field input:-webkit-autofill,
.section--navy .field input:-webkit-autofill:hover,
.section--navy .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  transition: background-color 100000s ease-in-out 0s, border-color var(--dur-base) var(--ease-soft);
}
.form__note {
  margin: 14px 0 0;
  min-height: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  text-align: center;
}
.form__note.is-error { color: #FFB3A7; }
.form__note.is-success { color: #7FE3C8; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ===== Блог ===== */
.blog { padding: 48px 0 24px; }
.blog__title { font-size: 30px; letter-spacing: -.02em; margin: 12px 0 14px; }
.blog__lead { color: var(--text-muted); font-size: 17px; max-width: 60ch; margin-bottom: 8px; }

.postlist { display: flex; flex-direction: column; margin-top: 16px; }
.postcard { padding: 26px 0; border-top: 1px solid var(--border); }
.postcard:last-child { border-bottom: 1px solid var(--border); }
.postcard__date {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-400);
  margin-bottom: 8px;
}
.postcard__title { font-size: 21px; line-height: 1.25; margin-bottom: 8px; }
.postcard__title a { color: var(--navy); }
.postcard__title a:hover { color: var(--accent-strong); }
.postcard__excerpt { color: var(--text-muted); font-size: 16px; margin: 0; max-width: 62ch; }

/* ===== Пост ===== */
.post { padding: 32px 0 8px; }
.post__back { font-size: 15px; color: var(--text-muted); margin-bottom: 22px; }
.post__back a:hover { color: var(--navy); }
.post__date {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-400);
  margin-bottom: 10px;
}
.post__title { font-size: 30px; letter-spacing: -.02em; margin-bottom: 14px; }
.post__lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 62ch;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.post__body { font-size: 17px; line-height: 1.7; max-width: 68ch; }
.post__body h2 { font-size: 22px; margin: 36px 0 12px; }
.post__body h3 { font-size: 18px; margin: 28px 0 10px; }
.post__body p { margin-bottom: 16px; }
.post__body ul, .post__body ol { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li { margin-bottom: 8px; }
.post__body a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.post__body blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
}
.post__body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .92em;
  background: var(--bg-light);
  padding: 2px 5px;
  border-radius: 4px;
}
.post__body pre {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 18px;
}
.post__body pre code { background: none; padding: 0; }
.post__body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.post__body table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 15px; }
.post__body th, .post__body td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.post__body th { background: var(--bg-light); color: var(--navy); }

/* ===== Форма вопроса под постом ===== */
.ask { padding: 8px 0 64px; }
.ask__title { font-size: 22px; margin-bottom: 10px; }
.ask__lead { color: var(--text-muted); margin-bottom: 22px; max-width: 56ch; }
.ask__form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--glass-fill);
  border: var(--glass-edge);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-ring), var(--glass-top), var(--glass-shadow);
}
.ask__form .field__label { color: var(--navy); }
.ask__form input, .ask__form textarea { border-color: var(--border); }
.ask__form .form__note { color: var(--text-muted); text-align: left; }
.ask__form .form__note.is-error { color: #A3352A; }
.ask__form .form__note.is-success { color: var(--accent-strong); }
.ask__form .btn { justify-self: start; }

@media (min-width: 640px) {
  .blog { padding: 64px 0 24px; }
  .blog__title { font-size: 38px; }
  .post__title { font-size: 40px; }
  .postcard__title { font-size: 24px; }
  .ask__form { grid-template-columns: 1fr 1fr; }
  .ask__form .field--full, .ask__form .btn, .ask__form .form__note { grid-column: 1 / -1; }
}

/* ===== Баннер согласия ===== */
/* Светлая карточка того же вида, что карточки услуг: выезжает снизу слева,
   не перекрывает страницу и не мешает читать. */
.consent {
  position: fixed;
  z-index: 60;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 420px;
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--text-muted);
  border: var(--glass-edge);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-ring), var(--glass-top),
              0 2px 6px rgba(6, 30, 76, .06), 0 18px 44px rgba(6, 30, 76, .16);
  animation: consent-in .34s cubic-bezier(.22, .68, .36, 1) both;
}
@keyframes consent-in {
  from { transform: translateY(calc(100% + 24px)); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.consent__inner {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-height: min(74vh, 620px);
  overflow-y: auto;
}
.consent__title { font-size: 18px; color: var(--navy); margin: 0; }
.consent__text { font-size: 15px; line-height: 1.6; margin: 0; color: var(--text-muted); }
.consent__link {
  font-size: 14px;
  color: var(--accent-on-glass);
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}
.consent__link:hover { color: var(--navy); }

.consent__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 0 4px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}
.consent__necessary { font-size: 13.5px; color: var(--text-muted); margin: 0; }
.consent__group {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
}
.consent__box { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-strong); cursor: pointer; }
.consent__group-name { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.consent__group-note { display: block; font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }


.consent__btn {
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-quick) var(--ease-soft),
              border-color var(--dur-quick) var(--ease-soft),
              color var(--dur-quick) var(--ease-soft),
              box-shadow var(--dur-base) var(--ease-soft);
}
.consent__btn--primary {
  background: var(--btn-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--btn-ink);
  box-shadow: var(--btn-ring), var(--btn-top);
}
.consent__btn--primary:hover {
  background: var(--btn-fill-hover);
  box-shadow: var(--btn-ring), var(--btn-top), var(--btn-shadow);
}
.consent__btn--ghost {
  background: var(--glass-fill);
  color: var(--navy);
  border-color: rgba(255, 255, 255, .8);
  box-shadow: var(--glass-ring), var(--glass-top);
}
.consent__btn--ghost:hover { border-color: var(--navy-400); }
.consent__btn--quiet {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 12px 4px;
}
.consent__btn--quiet:hover { color: var(--navy); }
.consent__btn:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.consent .is-hidden { display: none !important; }

.consent__actions { display: flex; flex-direction: column; gap: 9px; margin-top: 8px; }
.consent__btn--quiet { order: 3; align-self: flex-start; padding: 4px 4px 0; }

@media (min-width: 420px) {
  .consent { left: 20px; right: auto; bottom: 20px; width: calc(100% - 40px); }
}

@media (prefers-reduced-motion: reduce) {
  .consent { animation: none; }
  .switch::before { transition: none; }
}

/* ===== Страница 404 ===== */
.notfound { padding: 64px 0 72px; }
.notfound__code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent-strong);
  margin-bottom: 12px;
}
.notfound__title { font-size: 30px; letter-spacing: -.01em; margin-bottom: 14px; }
.notfound__text { color: var(--text-muted); font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.notfound__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.notfound__links a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.notfound__links a:hover { color: var(--navy); }

/* ===== Переключатель языка ===== */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-edge);
  border-radius: 999px;
  box-shadow: var(--glass-ring), var(--glass-top);
  font-size: 13px;
  font-weight: 600;
}
.lang-switch a {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--text-muted);
}
.lang-switch a:hover { color: var(--navy); }
.lang-switch a.is-active {
  background: var(--pill-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--btn-ink);
  box-shadow: var(--pill-ring), var(--pill-top);
}

/* ===== Юридические страницы ===== */
.legal { padding: 32px 0 56px; }
.legal__back { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
.legal__back a:hover { color: var(--navy); }
.legal__title { font-size: 28px; letter-spacing: -.01em; margin-bottom: 8px; }
.legal__meta {
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal__lead { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; }
.legal h2 {
  font-size: 19px;
  margin-top: 36px;
  margin-bottom: 12px;
  padding-top: 4px;
}
.legal p { color: var(--text); font-size: 15px; margin-bottom: 14px; }
.legal a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--navy); }
.legal__back a, .legal .lang-switch a { text-decoration: none; }
.legal__list { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.legal__list li { font-size: 15px; margin-bottom: 8px; padding-left: 4px; }

.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.legal__table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.legal__table th,
.legal__table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}
.legal__table thead th { background: var(--bg-light); color: var(--navy); font-weight: 700; }
.legal__table tbody th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--navy);
  width: 40%;
}

/* Места, куда нужно вписать реальные реквизиты компании.
   После заполнения удалите класс fill — подсветка исчезнет. */
.fill {
  background: #FFF3C4;
  border-bottom: 1px dashed #C7981A;
  padding: 0 2px;
}

/* ===== Юридические ссылки в футере ===== */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 14px;
}
.footer__legal a {
  color: rgba(255, 255, 255, .86);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: 4px;
}
.footer__legal a:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

/* ===== Футер ===== */
.footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 40px 0 24px; }
.footer__inner { display: grid; gap: 24px; }
.footer__logo { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.footer__tagline { margin: 8px 0 0; font-size: 15px; max-width: 320px; }
.footer__contacts { display: grid; gap: 8px; font-size: 15px; }
.footer__contacts a {
  color: rgba(255, 255, 255, .86);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: 4px;
}
.footer__contacts a:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}
.footer__bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
}

/* ===== Планшет ===== */
@media (min-width: 640px) {
  .hero { padding: 80px 0 88px; }
  .hero__title { font-size: 44px; }
  .hero__subtitle { font-size: 18px; }
  .hero__actions { flex-direction: row; }
  .section { padding: 72px 0; }
  .section__title { font-size: 30px; }
  .panel__title { font-size: 28px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .fields { grid-template-columns: repeat(2, 1fr); }
  .field--full { grid-column: 1 / -1; }
  .btn--wide { width: auto; min-width: 320px; }
  .form > .btn--wide { display: flex; margin: 0 auto; }
  .legal { padding: 40px 0 72px; }
  .notfound { padding: 96px 0 104px; }
  .notfound__title { font-size: 38px; }
  .notfound__actions { flex-direction: row; }
  .legal__title { font-size: 34px; }
  .legal h2 { font-size: 21px; margin-top: 44px; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer__contacts { justify-items: end; text-align: right; }
}

/* ===== Десктоп ===== */
@media (min-width: 960px) {
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .hero { padding: 104px 0 112px; }
  .hero__title { font-size: 54px; }
  .section { padding: 88px 0; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .cards--two { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
  .trust__value { font-size: 44px; }
}

/* ===== Широкий десктоп ===== */
@media (min-width: 1120px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; }
}

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

/* ===== Стекло: запасные варианты =====
   Прозрачность — украшение, а не условие работы сайта. Три случая, в которых
   от неё нужно отказаться, и в каждом слои становятся плотными. */

/* 1. Браузер не умеет backdrop-filter (или он отключён флагом). Полупрозрачные
      слои без размытия дают грязный фон, поэтому делаем их непрозрачными. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header { background: rgba(255, 255, 255, .97); }
  .btn--ghost,
  .switch,
  .lang-switch,
  .benefit,
  .step,
  .card,
  .ask__form,
  .consent { background: var(--white); }
  .eyebrow { background: var(--accent-soft); }
  .switch--form { background: rgba(255, 255, 255, .12); }
  .btn--primary, .consent__btn--primary,
  .switch__btn.is-active, .lang-switch a.is-active { background: var(--accent-soft); }
  .btn--ghost { background: var(--white); }
  .section--navy .btn--primary { background: var(--accent-strong); }
  .switch--form { background: rgba(255, 255, 255, .10); }
  .switch--form .switch__btn.is-active { background: #3A4D72; box-shadow: none; }
}

/* 2. Посетитель просил систему уменьшить прозрачность — это прямое указание,
      а не предпочтение оформления. Убираем и размытие, и подсветку. */
@media (prefers-reduced-transparency: reduce) {
  .header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn--ghost,
  .switch,
  .lang-switch,
  .benefit,
  .step,
  .card,
  .ask__form,
  .consent {
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: var(--border);
  }
  .eyebrow { background: var(--accent-soft); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn--primary, .consent__btn--primary,
  .switch__btn.is-active, .lang-switch a.is-active {
    background: var(--accent-soft);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .btn--ghost { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .section--navy .btn--primary {
    background: var(--accent-strong);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .switch--form { background: rgba(255, 255, 255, .10); }
  .switch--form .switch__btn.is-active {
    background: #3A4D72;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .card::before { display: none; }
  body::before,
  .section--navy::before, .section--navy::after { display: none; }
  .section--light { background: var(--bg-light); }
}

/* 3. Режим повышенного контраста: кромка из белого блика в нём не видна,
      возвращаем сплошную границу. */
@media (prefers-contrast: more) {
  .benefit, .step, .card, .switch, .lang-switch, .ask__form, .consent, .btn--ghost {
    border-color: var(--navy-400);
  }
}

/* Карточки не двигаются, если посетитель просил убрать анимацию:
   правило * { transition: none } выше отключает переход, а этим снимаем
   и само смещение при наведении. */
@media (prefers-reduced-motion: reduce) {
  .benefit:hover, .step:hover, .card:hover { transform: none; }
}

.faq__more { margin: 12px 0 0; font-size: 15px; }
.faq__more a {
  color: var(--accent-on-glass);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq__more a:hover { color: var(--navy); }
