/* =====================================================
   ФОРТ УТИЛЬ — v3 «Архивный люкс»
   Тёмная доминанта + песочные резкие акценты
   Пара шрифтов: Unbounded (дисплей) + Golos Text (текст)
   Подписи «архива»: JetBrains Mono
   ===================================================== */

:root {
  --bg: #0e1a2b;            /* глубокий сине-графитовый — доминанта */
  --panel: #14263f;         /* карточки */
  --panel-2: #101f34;
  --line: rgba(233, 237, 242, 0.13);   /* волосяные линии */
  --text: #e9edf2;
  --muted: #92a0b0;
  --sand: #e8d28a;          /* резкий акцент */
  --sage: #8fa58b;          /* вторичный акцент */
  --navy: #1e3a5f;
  --cream: #f4f2ec;         /* для светлой «банды» в середине страницы */
  --danger: #e08a8a;

  --radius: 2px;            /* почти прямые углы — «документная» строгость */
  --font-d: "Unbounded", "Golos Text", sans-serif;
  --font-b: "Golos Text", system-ui, sans-serif;
  --font-m: "JetBrains Mono", monospace;
}


/* ============ БАЗА ============ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

::selection { background: var(--sand); color: var(--bg); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}


/* ============ ЗЕРНО: атмосферная текстура поверх всей страницы ============ */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ============ ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ (единый механизм) ============ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.8s cubic-bezier(0.16, 0.84, 0.28, 1);
  /* stagger: каждому элементу свой сдвиг через --d */
  transition-delay: calc(var(--d, 0) * 90ms);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .ticker__track { animation: none !important; }
}


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

.label {
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}

.label::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--sage);
  vertical-align: middle;
  margin-right: 12px;
}

.label--navy { color: var(--navy); }
.label--navy::before { background: var(--navy); }

.section {
  padding: 110px 0;
}

.section__title {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.section__subtitle {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
}


/* ============ КНОПКИ (прямые, строгие) ============ */

.btn {
  display: inline-block;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-m);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
}

.btn--sand { background: var(--sand); color: #1a2437; }
.btn--sand:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232, 210, 138, 0.25); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(30, 58, 95, 0.4); }

.btn--ghost { color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sand); color: var(--sand); }

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


/* ============ ШАПКА ============ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 26, 43, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo__plate {
  display: block;
  padding: 2px 7px;
  background: #fdfcf8; /* PNG лого со светлым фоном — на белой плашке это выглядит как «шильдик» */
  border-radius: 4px;
}

.logo__plate img { height: 42px; width: auto; }

.logo__text {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}

/* «ФОРТУТИЛЬ»: вторая часть — песочная, курсорный штрих задаёт характер */
.logo__text i { font-style: normal; color: var(--sand); }

.nav { display: flex; gap: 24px; margin-left: auto; }

.nav__link {
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.15s;
}

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

.header__cta { padding: 11px 24px; font-size: 11.5px; }
.nav__link--cta-m { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger__line {
  width: 26px; height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.burger.is-open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open .burger__line:nth-child(2) { opacity: 0; }
.burger.is-open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============ HERO: асимметрия + «чертёжная» подложка ============ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Слои фона: чертёжная сетка + тёплый «свет» из песочного угла */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 46% at 82% 12%, rgba(232, 210, 138, 0.14), transparent 70%),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 72px);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 55%, transparent 100%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
  min-height: calc(100vh - 220px);
}

.hero__eyebrow {
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--sage);
  text-transform: uppercase;
}

.hero__title {
  margin-top: 22px;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.hero__title .line { display: block; }

/* Акцентное слово внутри заголовка — песочным */
.hero__title em { font-style: normal; color: var(--sand); }

.hero__subtitle {
  margin-top: 22px;
  max-width: 480px;
  font-size: 17px;
  color: var(--muted);
}

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


/* --- фото в «шильдике» со смещённой рамкой (слои) --- */

.hero__media { position: relative; }

.hero__frame {
  position: relative;
  z-index: 2;
  margin-left: 44px;
  overflow: hidden;
}

.hero__frame img {
  width: 100%;
  height: clamp(320px, 46vh, 460px);
  object-fit: cover;
  border: 1px solid var(--line);
}

/* Песочная рамка-«печать», смещённая от фото */
.hero__frame::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -18px;
  bottom: -18px;
  left: 22px;
  border: 1.5px solid var(--sand);
  pointer-events: none;
  z-index: -1;
}

/* Тег со статистикой поверх фото */
.hero__tag {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: -26px;
  width: min(300px, 82%);
  padding: 20px 22px;
  background: rgba(20, 38, 63, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
}

.hero__tag-num {
  display: block;
  font-family: var(--font-d);
  font-size: 34px;
  font-weight: 800;
  color: var(--sand);
  line-height: 1;
}

.hero__tag-text {
  display: block;
  margin-top: 8px;
  font-family: var(--font-m);
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

/* Источники цифры: компактной строкой внутри тега, отделены волосяной линией */
.hero__tag-src {
  display: block;
  overflow-wrap: break-word;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-m);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
}

.hero__tag-src a { color: var(--sand); text-decoration: none; }
.hero__tag-src a:hover { text-decoration: underline; }


/* ============ БЕГУЩАЯ СТРОКА-МАНИФЕСТ ============ */

.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
}

.ticker__track span {
  display: inline-block;
  padding: 14px 0;
  font-family: var(--font-m);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--text);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}


/* ============ КАРТОЧКИ (риски): строгие панели с «уголком штампа» ============ */

.risks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.card {
  position: relative;
  padding: 26px 22px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s, border-color 0.18s;
}

/* «Уголок штампа»: песочная засечка в правом верхнем углу */
.card::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid var(--sand);
  border-right: 1.5px solid var(--sand);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 210, 138, 0.45);
}

.card__title {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.card__text {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}


/* ============ 02 / РЕШЕНИЕ: нумерованные строки-услуги ============ */

.services {
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 32px;
  margin-top: 48px;
  counter-reset: svc;
}

.service {
  counter-increment: svc;
  padding: 24px 0 26px;
  border-top: 1px solid var(--line);
  transition: border-color 0.18s;
}

.service:hover { border-top-color: var(--sand); }

/* Номер услуги моноширинным — счётчик CSS */
.service h3::before {
  content: counter(svc, decimal-leading-zero) "  ";
  font-family: var(--font-m);
  font-weight: 700;
  color: var(--sand);
}

.service h3 {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 600;
}

.service p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}


/* --- акцентный блок «Прозрачность» с крупной цифрой на фото --- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 72px;
  background: var(--panel);
}

.feature__photo { position: relative; min-height: 300px; }

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

/* Огромная «360°» — меморизующий приём */
.feature__num {
  position: absolute;
  bottom: 10px;
  left: 14px;
  font-family: var(--font-d);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  color: var(--sand);
  text-shadow: 0 4px 30px rgba(14, 26, 43, 0.8);
}

.feature__content {
  padding: 48px 44px;
  display: grid;
  align-content: center;
  gap: 16px;
  justify-items: start;
}

.feature__title {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 600;
}

.feature__text { font-size: 14.5px; color: var(--muted); }


/* ============ 03 / СОТРУДНИЧЕСТВО: три программы ============ */

.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.program {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s, border-color 0.18s;
}

/* Тот же «уголок штампа», что у карточек рисков */
.program::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid var(--sand);
  border-right: 1.5px solid var(--sand);
}

.program:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 210, 138, 0.45);
}

/* Плашка «Скоро» — пунктиром, как будущий продукт */
.program__soon {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 12px;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  border: 1px dashed rgba(232, 210, 138, 0.5);
}

.program__title {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

/* Подзаголовок карточки: моноширинный, в sage-цвете — читается как «формат» */
.program__focus {
  margin-top: 10px;
  font-family: var(--font-m);
  font-size: 12px;
  line-height: 1.65;
  color: var(--sage);
}

.program__list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}

.program__list li {
  position: relative;
  padding-left: 16px;
}

.program__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* Цена прижата к низу карточки: у всех карточек низ выровнен */
.program__price {
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--font-m);
  font-size: 14px;
  font-weight: 700;
  color: var(--sand);
}

.program__price-old {
  margin-left: 8px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: line-through;
}


/* ============ 04 / ПРОЦЕСС: светлая «банда» посреди тёмной страницы ============ */

.lightband {
  background: var(--cream);
  color: #1a2437;
  padding: 110px 0;
}

.section__title--navy { color: #1a2437; }
.section__subtitle--navy { color: #5a6573; }

.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 52px;
  list-style: none;
}

.step { display: flex; gap: 14px; }

.step__num {
  font-family: var(--font-d);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--navy); /* контурные цифры — архивный характер */
}

.step__title { font-family: var(--font-d); font-size: 15px; font-weight: 600; }

.step__text { margin-top: 8px; font-size: 13.5px; color: #5a6573; }


/* ============ 04 / ДОВЕРИЕ ============ */

.trust__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  list-style: none;
}

.stat { text-align: left; }

.stat__num {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
  color: var(--sand);
  line-height: 1.05;
}

.stat__label {
  display: block;
  margin-top: 10px;
  max-width: 260px;
  font-family: var(--font-m);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.trust__split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.trust__photo {
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.trust__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.trust__principles { display: grid; gap: 0; }

.trust__principles .principle {
  padding: 22px 0 22px 24px;
  border-left: 2px solid var(--sage);
}

.trust__principles .principle + .principle { border-top: 1px solid var(--line); }

.principle h3 { font-family: var(--font-d); font-size: 16px; font-weight: 600; color: var(--sage); }
.principle p { margin-top: 8px; font-size: 14px; color: var(--muted); }


/* ============ 05 / ПЕСОЧНАЯ ПОЛОСА: резкий световой акцент ============ */

.sandband {
  background: var(--sand);
  color: #1a2437;
  padding: 88px 0;
}

.sandband__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.sandband__slogan {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.25;
}

.sandband__text { margin: 14px 0 26px; opacity: 0.8; }

.sandband__photo {
  display: block;
  width: min(100%, 420px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: 0 0 26px;
  border: 1px solid rgba(26, 36, 55, 0.35);
  box-shadow: 0 18px 40px rgba(26, 36, 55, 0.18);
}

.sandband__values-label {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.65;
}

.sandband__value-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.sandband__value {
  padding: 16px 20px;
  border-left: 3px solid #1a2437;
  background: rgba(255, 255, 255, 0.4);
}

.sandband__value-title {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.sandband__value-text { font-size: 14px; line-height: 1.55; opacity: 0.75; }


/* ============ 06 / CTA ============ */

.cta { background: var(--bg); }

.cta__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  padding: 56px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta__title { text-align: left; }
.cta__text { margin-top: 16px; color: var(--muted); }

.cta__points {
  margin-top: 22px;
  list-style: none;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
}

.cta__points li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cta__points li::before { content: "— "; color: var(--sand); font-weight: 700; }

.cta__photo { margin-top: 26px; overflow: hidden; border: 1px solid var(--line); }
.cta__photo img { width: 100%; height: 210px; object-fit: cover; }


/* ============ ФОРМА ============ */

.form { display: grid; gap: 16px; }

.form__field { display: grid; gap: 7px; }

.form__field label {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.form__optional { font-weight: 400; letter-spacing: 0.1em; color: #6b7887; }

.form input,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}

.form input::placeholder,
.form textarea::placeholder { color: #6b7887; }

.form input:focus,
.form textarea:focus { outline: none; border-color: var(--sand); }

.form__field.has-error input { border-color: var(--danger); background: rgba(224, 138, 138, 0.06); }

.form__error { min-height: 18px; font-size: 12.5px; color: var(--danger); }

.form__note { font-size: 11.5px; color: #6b7887; }
.form__note a { color: var(--sand); text-decoration: underline; text-underline-offset: 2px; }
.form__note a:hover { color: #fff; }

.form__success {
  padding: 16px;
  border: 1px solid var(--sage);
  background: rgba(143, 165, 139, 0.12);
  font-size: 14px;
}

.form__fail {
  padding: 16px;
  border: 1px solid var(--danger);
  background: rgba(224, 138, 138, 0.08);
  font-size: 14px;
}

.form__fail a { color: var(--sand); text-decoration: underline; text-underline-offset: 2px; }
.form__fail a:hover { color: #fff; }

.form button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}


/* ============ ЭКО-ПОЛОСА ============ */

.eco {
  position: relative;
  min-height: 320px;
  display: grid;
  border-top: 1px solid var(--line);
}

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

.eco__overlay {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 32px;
  text-align: center;
  color: #fff;
}

.eco__overlay::before {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  background: rgba(14, 26, 43, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.eco__title { font-family: var(--font-d); font-weight: 800; font-size: clamp(22px, 3vw, 32px); }
.eco__text { margin-top: 12px; font-family: var(--font-m); font-size: 12.5px; letter-spacing: 0.08em; opacity: 0.9; }


/* ============ ФУТЕР ============ */

.footer {
  border-top: 1px solid var(--line);
  background: var(--panel-2);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer__brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer__col { display: grid; align-content: start; gap: 10px; font-size: 14px; }

.footer__col a { color: var(--muted); text-decoration: none; }
.footer__col a:hover { color: var(--sand); }

.footer__title {
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--muted);
}

.footer__bottom a { color: var(--sand); }


/* ============ АДАПТИВ ============ */

@media (max-width: 900px) {
  .section, .lightband { padding: 72px 0; }

  .hero__grid {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 96px;
  }

  .hero__frame { margin-left: 24px; }

  .risks__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
  .programs__grid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: repeat(2, 1fr); }

  .feature,
  .trust__split,
  .sandband__inner,
  .cta__box { grid-template-columns: 1fr; }

  .trust__stats { grid-template-columns: 1fr; }
  .stat__num { font-size: 44px; }
}

@media (max-width: 600px) {
  .header__cta { display: none; }
  .burger { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;

    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .nav.is-open { visibility: visible; opacity: 1; transform: none; }

  .nav__link {
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__link--cta-m { display: block; color: var(--sand); }

  .risks__grid,
  .services__grid,
  .programs__grid,
  .steps__list { grid-template-columns: 1fr; }

  .hero__tag { position: relative; left: 0; bottom: 0; margin-top: -12px; width: 100%; }
  .hero__frame { margin-left: 0; }
  .hero__frame img { height: 260px; }
  .hero__frame::after { right: -10px; bottom: -10px; }

  .cta__box { padding: 28px 20px; }
  .feature__content { padding: 28px 22px; }
  .sandband { padding: 64px 0; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}