/* ============================================================
   Возврат Право — v4 «Хладнокровие + золото» (2026)
   Дизайн-система: чёрнильная изумрудная + золото на тёплой бумаге
   Психотип: человек в стрессе после обмана — ему нужны спокойствие,
   конкретика (статьи, сроки, цифры) и ощущение, что дело разберут.
   Шрифт: Golos Text (self-hosted variable 400–900, OFL)
   ============================================================ */

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/golos-text-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/golos-text-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/golos-text-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Display-антиква Prata (self-hosted, OFL) — премиальные заголовки */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/prata-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/prata-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/prata-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* палитра: чернильная изумрудная + золото на тёплой бумаге */
  --paper: #f7f5ef;
  --card: #ffffff;
  --ink: #14231b;
  --ink-2: #0a1a12;
  --muted: #5b6660;
  --line: #e4e0d3;
  --line-soft: #eceadd;

  --green: #0c5f3a;
  --green-dark: #094a2d;
  --green-deep: #073a22;
  --green-soft: #e7f0ea;
  --green-mid: #cfe0d3;
  --green-tint: rgb(12 95 58 / 0.06);

  --gold: #c9a24b;
  --gold-dark: #8c6516;
  --gold-bright: #e3c374;
  --gold-mid: #e0c98f;
  --gold-soft: #f7efdc;

  --amber: #d08a28;
  --amber-soft: #fbf2df;
  --amber-ink: #6d4e14;
  --red: #b3372b;
  --red-soft: #fbeeea;

  /* текст на тёмных секциях */
  --on-dark: #edf3ee;
  --on-dark-mut: #a9c0b0;

  /* типографика: гротеск для интерфейса + антиква Prata для display-заголовков */
  --font: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Prata', 'Golos Text', Georgia, 'Times New Roman', serif;
  --serif: var(--font-display);
  --sans: var(--font);

  /* шкала радиусов: 12 / 16 / 22 / pill */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --radius: var(--r-md);
  --radius-lg: var(--r-lg);
  --shadow-sm: 0 1px 2px rgb(16 28 21 / 0.05);
  --shadow: 0 1px 2px rgb(16 28 21 / 0.05), 0 10px 30px -10px rgb(10 45 29 / 0.16);
  --shadow-lift: 0 2px 4px rgb(16 28 21 / 0.06), 0 18px 40px -12px rgb(10 45 29 / 0.22);
  --ring: 0 0 0 3px rgb(12 95 58 / 0.18);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --header-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* бумажное зерно поверх всего — очень тихо */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.022;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--gold-mid); color: var(--ink-2); }

h1, h2, h3 {
  line-height: 1.1;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
/* display-антиква: контраст штриха = «дорого и по-официальному» */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.018em;
}
h1 { font-size: clamp(2.5rem, 4.9vw, 3.75rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); line-height: 1.1; }
h3 {
  font-family: var(--font);
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.3;
}
p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.how-dark :focus-visible,
.band-dark :focus-visible,
.sit-marquee :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold-bright); }

img, svg { display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
main { min-height: 60vh; }
section[id], .cat-block[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ============ Кнопки ============
   Полный матричный набор состояний:
   default / hover / active / disabled / focus-visible / loading */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease),
    transform 0.18s var(--ease), box-shadow 0.18s var(--ease), opacity 0.18s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn:disabled,
.btn.is-loading { opacity: 0.8; cursor: not-allowed; transform: none; }

/* спиннер на кнопке при отправке (добавляется классом .is-loading) */
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before {
  content: '';
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

.btn-primary {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.10), rgb(255 255 255 / 0) 46%), var(--green);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 1px 2px rgb(7 58 34 / 0.28), 0 8px 20px -8px rgb(12 95 58 / 0.5);
}
.btn-primary:hover {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.10), rgb(255 255 255 / 0) 46%), var(--green-dark);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 2px 4px rgb(7 58 34 / 0.28), 0 12px 26px -8px rgb(12 95 58 / 0.55);
}
.btn-arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.btn-arr svg { width: 11px; height: 11px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary:hover .btn-arr { transform: translateX(3px); background: rgb(255 255 255 / 0.26); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-tint); }

.btn-light {
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.18);
}
.btn-light:hover { background: #eef5f0; transform: translateY(-1px); }

.btn-lg { font-size: 1.04rem; padding: 16px 32px; }
.btn-block { width: 100%; }

/* ============ Шапка ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(247 245 239 / 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.15s ease, background-color 0.15s ease;
}
.site-header.scrolled {
  background: rgb(247 245 239 / 0.96);
  box-shadow: 0 10px 28px -18px rgb(10 26 18 / 0.45);
}

/* золотая линия прогресса чтения — 2px по низу шапки */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 2;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 400;
  letter-spacing: 0.002em;
  line-height: 1;
}
.brand-thin { color: var(--gold-dark); }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.nav-cta) {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s var(--ease);
}
.nav a:hover:not(.nav-cta) { text-decoration: none; color: var(--green-dark); }
.nav a:hover:not(.nav-cta)::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { margin-left: 6px; padding: 10px 20px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.15s var(--ease);
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 24px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 12px 0 0; width: 100%; }
}

/* ============ Hero (главная) ============ */

.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(860px 480px at 90% -10%, rgb(201 162 75 / 0.16), transparent 62%),
    radial-gradient(700px 430px at -8% 108%, rgb(12 95 58 / 0.08), transparent 60%),
    radial-gradient(980px 340px at 50% 122%, rgb(201 162 75 / 0.08), transparent 65%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid #e8d5a4;
  border-radius: 999px;
  padding: 8px 16px 8px 13px;
  margin-bottom: 22px;
}
.hero-kicker::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2.2s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.45; }
}

.hero h1 { margin-bottom: 0.5em; letter-spacing: -0.02em; }
/* «ручка»: золотой мазок под ключевыми словами — обещание, а не кликбейт */
.hero h1 .accent-word {
  color: var(--ink);
  padding-bottom: 0.08em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M2 8.5C25 4.5 62 3.5 118 6.5' fill='none' stroke='%23C9A24B' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% 0.2em;
}
.hero-sub {
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 33em;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.hero-proof li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.hero-proof li::before {
  content: '✓';
  flex: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid #e8d5a4;
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
@media (max-width: 520px) { .hero-proof { grid-template-columns: 1fr; } }

/* Документ-макет: не абстракция, а «настоящее дело» */
.hero-doc { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.hero-doc-back {
  position: absolute;
  inset: 18px -14px -16px 14px;
  background: var(--green-mid);
  border-radius: var(--radius-lg);
  transform: rotate(2.4deg);
  opacity: 0.55;
}
.hero-doc-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 30px 28px 26px;
  transform: rotate(-0.6deg);
}
/* «бланковая» золотая линейка по верху — не касается скруглений */
.hero-doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, rgb(201 162 75 / 0), var(--gold) 15%, var(--gold) 85%, rgb(201 162 75 / 0));
}
.doc-line {
  height: 9px;
  border-radius: 4px;
  background: var(--line-soft);
  margin-bottom: 11px;
}
.doc-line-head {
  height: auto;
  background: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.doc-line-sub { height: auto; background: none; font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }
.doc-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: center;
  margin: 4px 0 2px;
}
.doc-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 16px;
}
/* строки-факты: конкретика вместо абстрактных линий */
.doc-legal {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  border-radius: 8px;
  padding: 7px 11px;
  margin-bottom: 11px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--green-dark);
}
.doc-legal::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
}
.doc-legal b { color: var(--gold-dark); font-weight: 800; font-variant-numeric: tabular-nums; }
.doc-line.short { width: 55%; }
.doc-sign {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.doc-sign-line { flex: 0 0 44%; height: 1.5px; background: var(--ink); opacity: 0.55; border-radius: 2px; }
.doc-sign-name { font-size: 0.78rem; color: var(--muted); }
.doc-stamp {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--green);
  border: 2.5px solid var(--green);
  border-radius: 8px;
  padding: 4px 10px 3px 13px;
  transform: rotate(-8deg);
  opacity: 0.85;
  animation: stamp-in 0.6s var(--ease-out) 0.9s both;
}
@keyframes stamp-in {
  0% { opacity: 0; transform: rotate(-14deg) scale(1.7); }
  100% { opacity: 0.85; transform: rotate(-8deg) scale(1); }
}

/* плавающие «факты» вокруг документа — только десктоп */
.hero-chip {
  position: absolute;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow);
  white-space: nowrap;
  z-index: 3;
}
.hero-chip b { color: var(--gold-dark); font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-chip-a { left: -26px; top: 16%; animation: chip-float 6.5s ease-in-out infinite; }
.hero-chip-b { right: -18px; bottom: 24%; animation: chip-float 7.5s ease-in-out 1.2s infinite; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@media (min-width: 901px) { .hero-chip { display: flex; } }

.hero-price-tag {
  position: absolute;
  left: 26px;
  bottom: -18px;
  background: var(--amber-soft);
  color: var(--amber-ink);
  border: 1px solid #f2ddb4;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero-doc-flag {
  position: absolute;
  top: -16px;
  right: -10px;
  background: var(--card);
  border: 1px solid var(--gold-mid);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-doc-flag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
@media (max-width: 900px) {
  .hero-doc { max-width: 380px; margin-top: 8px; }
  .hero-doc-flag { right: 0; }
}

/* ============ Бегущая строка ситуаций ============
   Тёмная лента-мост между hero и цифрами: живое,
   но приглушённое движение + 30 внутренних ссылок */

.sit-marquee {
  position: relative;
  background: var(--green-deep);
  padding: 14px 0;
  overflow: hidden;
}
.sit-marquee::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(201 162 75 / 0.5), transparent);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-half { display: flex; align-items: center; }
.mq-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: 38px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #b9cec1;
  white-space: nowrap;
  transition: color 0.15s var(--ease);
}
.mq-chip b { color: var(--gold-bright); font-weight: 700; font-variant-numeric: tabular-nums; }
.mq-chip:hover { color: #fff; text-decoration: none; }
.mq-dot { width: 5px; height: 5px; border-radius: 50%; background: rgb(201 162 75 / 0.75); flex: none; }

/* ============ Полоса доверия ============ */

.trust-bar {
  position: relative;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(201 162 75 / 0.55), transparent);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 28px 0;
}
.trust-item { text-align: center; }
@media (min-width: 821px) {
  .trust-item + .trust-item { border-left: 1px solid var(--line-soft); }
}
.trust-num {
  font-family: var(--font-display);
  font-size: 2.45rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
}
.trust-num em { font-style: normal; color: var(--gold-dark); }
.trust-label { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 820px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; padding: 24px 0; }
  .trust-item + .trust-item { border-left: none; }
}

/* ============ Секции ============ */

.section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-title { margin-bottom: 0.35em; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; line-height: 1.6; }
/* editorial-кикер над заголовком секции: золотой штрих + капители */
.section-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.section-kicker::before {
  content: '';
  flex: none;
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), rgb(201 162 75 / 0.2));
}
.how-dark .section-kicker,
.band-dark .section-kicker { color: var(--gold-bright); }
.how-dark .section-kicker::before {
  background: linear-gradient(90deg, var(--gold-bright), rgb(227 195 116 / 0.2));
}

/* ============ Как это работает ============ */

.how { padding: 76px 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; max-width: 560px; } }
.how-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.how-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-mid); }
.how-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  color: var(--green-dark);
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.how-step h3 { margin-bottom: 0.4em; }
.how-step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* Тёмный вариант (главная): изумрудная глубина + золотые display-номера */
.how-dark {
  position: relative;
  background:
    radial-gradient(680px 340px at 92% -10%, rgb(201 162 75 / 0.16), transparent 62%),
    radial-gradient(560px 320px at 0% 115%, rgb(255 255 255 / 0.05), transparent 60%),
    var(--green-deep);
  padding: 84px 0;
  overflow: hidden;
}
.how-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(201 162 75 / 0.5), transparent);
}
.how-dark .section-title { color: #fff; }
.how-dark .section-sub { color: var(--on-dark-mut); }
.how-dark .how-step {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.12);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.how-dark .how-step:hover {
  transform: none;
  border-color: rgb(227 195 116 / 0.5);
  background: rgb(255 255 255 / 0.07);
  box-shadow: none;
}
.how-dark .how-step h3 { color: #fff; }
.how-dark .how-step p { color: var(--on-dark-mut); }
.how-dark .how-num {
  width: auto;
  height: auto;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* ============ Каталог ситуаций ============ */

.catalog { padding: 76px 0 40px; }
.cat-block { margin-top: 52px; }
.cat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cat-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
}
.cat-icon svg { width: 22px; height: 22px; }
.cat-title {
  font-size: 1.42rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-count {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid #e8d5a4;
  border-radius: 999px;
  padding: 3px 11px;
}
.cat-link {
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
}
@media (max-width: 640px) { .cat-link { margin-left: 54px; } }

.sit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.sit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  color: var(--ink);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
/* золотая кромка слева — «это то, что нужно вам» */
.sit-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--green));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.22s var(--ease-out);
}
.sit-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  border-color: var(--green-mid);
  box-shadow: var(--shadow-lift);
}
.sit-card:hover::before { transform: scaleY(1); }
.sit-card-title {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  min-height: 2.6em;
}
.sit-card:hover .sit-card-title { color: var(--green-dark); }
.sit-card-text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sit-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.sit-price {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
}
.sit-link {
  position: relative;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green);
  padding-right: 14px;
}
.sit-link::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.18s var(--ease);
}
.sit-card:hover .sit-link { text-decoration: none; color: var(--green-dark); }
.sit-card:hover .sit-link::after { transform: translateX(4px); }

.badge-hot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid #e8d5a4;
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 10px;
}

/* ============ Тёмная лента (CTA на калькулятор) ============ */

.band-dark {
  position: relative;
  background:
    radial-gradient(640px 320px at 100% 0%, rgb(201 162 75 / 0.13), transparent 60%),
    radial-gradient(560px 300px at 0% 100%, rgb(255 255 255 / 0.06), transparent 55%),
    var(--green-deep);
  color: #fff;
  padding: 58px 0;
  overflow: hidden;
}
.band-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(201 162 75 / 0.5), transparent);
}
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.band-dark h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin-bottom: 8px;
  max-width: 20em;
}
.band-dark p {
  color: var(--on-dark-mut);
  margin: 0;
  max-width: 36em;
  font-size: 1rem;
}

/* ============ FAQ ============ */

.faq { padding: 76px 0 40px; }
.faq-list {
  max-width: 780px;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.faq-item[open] { border-color: var(--gold-mid); box-shadow: var(--shadow-sm); }
.faq-item.important {
  border-left: 4px solid var(--amber);
  background: var(--amber-soft);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s var(--ease);
}
.faq-item summary:hover { color: var(--green-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--muted);
  transition: transform 0.22s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.faq-a {
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.66;
  font-size: 0.96rem;
}

/* ============ Финальный CTA ============ */

.final-cta {
  text-align: center;
  padding: 56px 0 96px;
}
.final-cta h2 { max-width: 18em; margin: 0 auto 10px; }
.final-cta p { color: var(--muted); margin: 0 auto 26px; max-width: 34em; }

/* ============ Подвал ============ */

.site-footer {
  position: relative;
  background: var(--ink-2);
  color: #a9b8ac;
  padding: 56px 0 36px;
  font-size: 0.92rem;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(201 162 75 / 0.4), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.002em;
  margin-bottom: 12px;
}
.footer-brand img { width: 30px; height: 30px; }
.footer-thin { color: var(--gold-mid); font-weight: 400; }
.footer-about {
  max-width: 30em;
  line-height: 1.6;
  color: #8ba191;
  font-size: 0.88rem;
}
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: #a9b8ac;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: color 0.15s var(--ease);
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.fineprint {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.8rem;
  color: #71806f;
  line-height: 1.6;
}

/* ============ Хлебные крошки ============ */

.breadcrumbs {
  padding-top: 28px;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); transition: color 0.15s var(--ease); }
.breadcrumbs a:hover { color: var(--green-dark); text-decoration: none; }
.crumb-sep { margin: 0 8px; opacity: 0.5; }
.crumb-current { color: var(--ink); font-weight: 500; }

/* ============ Страница ситуации ============ */

.sit-hero { padding: 26px 0 18px; }
.sit-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.sit-hero h1 {
  max-width: 22em;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 14px;
}
.sit-lead {
  font-size: 1.1rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 46em;
  margin: 0;
}

/* «паспорт ситуации»: плитки-факты вместо строки с иконками */
.sit-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 0 10px;
}
.sit-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.15s var(--ease);
}
.sit-meta-item:hover { border-color: var(--green-mid); }
.sit-meta-item svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 1px; }
.sit-meta-item b { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 1020px) { .sit-meta { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .sit-meta { grid-template-columns: 1fr; } }

.sit-layout {
  display: grid;
  grid-template-columns: 1fr 384px;
  gap: 52px;
  /* только вертикаль: горизонтальные отступы даёт .wrap (padding: 0 24px) */
  padding-top: 30px;
  padding-bottom: 80px;
}
@media (max-width: 1020px) {
  .sit-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 24px; padding-bottom: 60px; }
}

/* Шаги */
.steps { counter-reset: step; padding-bottom: 8px; }
.steps-title { margin-bottom: 24px; font-size: 1.5rem; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding-bottom: 18px;
}
.step::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 52px;
  bottom: -2px;
  border-left: 1.5px dashed var(--line);
}
.step:last-child::before { display: none; }
.step-num {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--green-mid);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.step:hover .step-num { background: var(--green); border-color: var(--green); color: #fff; }
.step-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.step-body:hover { border-color: var(--green-mid); box-shadow: var(--shadow-sm); }
.step-body h3 { margin-bottom: 0.35em; font-size: 1.08rem; }
.step-body p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 560px) {
  .step { grid-template-columns: 40px 1fr; gap: 12px; }
  .step::before { left: 19px; top: 46px; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; }
  .step-body { padding: 15px 16px; }
}

/* FAQ внутри ситуации */
.sit-faq { margin-top: 44px; }
.sit-faq h2 { margin-bottom: 18px; font-size: 1.5rem; }

.important-note {
  display: flex;
  gap: 10px;
  background: var(--amber-soft);
  border: 1px solid #f2ddb4;
  border-left: 4px solid var(--amber);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5c4513;
  margin: 0 0 22px;
}

/* Похожие ситуации */
.sit-related { margin-top: 52px; }
.sit-related h2 { margin-bottom: 18px; font-size: 1.5rem; }
.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.rel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  color: var(--ink);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.rel-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--green-mid);
  box-shadow: var(--shadow-sm);
}
.rel-card span { font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.rel-card b {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-dark);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Карточка покупки */
.sit-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
@media (max-width: 1020px) { .sit-aside { position: static; } }

.buy-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 26px 26px;
}
/* золотой шов сверху — «это официальный документ» */
.buy-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, rgb(201 162 75 / 0.8), transparent);
}
.buy-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.buy-doc {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 14px;
}
.buy-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.buy-price {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.buy-price-note { font-size: 0.8rem; color: var(--muted); }
.buy-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.buy-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
}
.buy-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  color: var(--green-dark);
  font-size: 0.66rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.buy-divider { height: 1px; background: var(--line-soft); margin: 20px 0; }

/* Форма оплаты */
.pay-form { margin-top: 18px; text-align: left; }
.pay-form .field { margin-bottom: 13px; }
.field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field-label .req { color: var(--red); }
.field-label em { font-style: normal; font-weight: 400; color: var(--muted); }
.pay-form input,
.pay-form select {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  font-family: var(--font);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  appearance: none;
}
.pay-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%235c6470' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.pay-form input:focus,
.pay-form select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: var(--ring);
}
.pay-form input::placeholder { color: #a3a9b3; }
.pay-error {
  background: var(--red-soft);
  border: 1px solid #eccfc9;
  color: #8f2a20;
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.buy-assure {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}
.buy-assure span { display: flex; align-items: center; justify-content: center; gap: 7px; }
.buy-assure svg { width: 15px; height: 15px; color: var(--green); flex: none; }

/* Платёжные методы */
.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.pay-badge svg { display: block; flex: none; }
.pay-badge .pb-visa { font-style: italic; font-weight: 800; color: #1a1f71; letter-spacing: 0.02em; font-size: 0.78rem; }
.pay-badges.hero-pay-badges { margin-top: 20px; justify-content: flex-start; }

/* Плавающая кнопка на мобильных (страница ситуации) */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -8px 24px rgb(23 26 30 / 0.08);
}
.mobile-cta .mc-label { font-size: 0.75rem; color: var(--muted); }
.mobile-cta .mc-price {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.mobile-cta .btn { padding: 13px 20px; }
@media (max-width: 1020px) {
  .mobile-cta { display: flex; }
  body.has-cta-bar main { padding-bottom: 76px; }
}

/* Мобильные отступы страницы ситуации: боковые держит .wrap (24px),
   здесь только сжимаем вертикальный ритм и внутренние отступы карточек */
@media (max-width: 560px) {
  .sit-hero { padding-top: 20px; }
  .sit-meta { padding-top: 16px; }
  .sit-faq { margin-top: 32px; }
  .sit-faq h2 { margin-bottom: 14px; font-size: 1.35rem; }
  .sit-related { margin-top: 38px; }
  .sit-related h2 { margin-bottom: 14px; font-size: 1.35rem; }
  .steps-title { margin-bottom: 18px; font-size: 1.35rem; }
  .faq-item summary { padding: 15px 16px; gap: 12px; font-size: 0.98rem; }
  .faq-a { padding: 0 16px 16px; font-size: 0.94rem; }
  .important-note { padding: 13px 14px; margin-bottom: 18px; }
  .buy-card { padding: 24px 20px 22px; }
  .buy-price { font-size: 1.8rem; }
}

/* ============ Оплата ============ */

.pay-section { padding: 56px 0 80px; }
.pay-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px 40px;
  text-align: center;
}
@media (max-width: 560px) { .pay-card { padding: 32px 22px; } }
.pay-status h1 { font-size: 1.7rem; margin-bottom: 0.4em; }
.pay-status p { color: var(--muted); max-width: 30em; margin: 0 auto 22px; }
.pay-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 3.5px solid var(--line-soft);
  border-top-color: var(--green);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pay-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 700;
}
.pay-icon.ok { background: var(--green-soft); color: var(--green-dark); border: 1.5px solid var(--green-mid); }
.pay-icon.warn { background: var(--amber-soft); color: var(--amber-ink); border: 1.5px solid #f2ddb4; }
.pay-wait-hint {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 12px 16px;
}
.pay-note { font-size: 0.86rem; color: var(--muted); margin-top: 16px !important; }

/* ============ Калькулятор ============ */

.calc-hero { padding: 44px 0 10px; }
.calc-hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 42em;
}
.calc-section { padding: 36px 0 40px; }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-form,
.calc-result {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.calc-form .field { margin-bottom: 16px; }
.calc-form input,
.calc-form select {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  font-family: var(--font);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  appearance: none;
}
.calc-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%235c6470' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.calc-form input:focus,
.calc-form select:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.calc-note { font-size: 0.83rem; color: var(--muted); line-height: 1.55; margin: 14px 0 0; }
.calc-result[hidden] { display: none; }
.calc-result-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  color: var(--muted);
}
.calc-result-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-result-big {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  padding: 20px 0 6px;
  letter-spacing: -0.01em;
}
.calc-result-big span {
  color: var(--green-dark);
  font-size: 2.3rem;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.calc-result .btn { margin-top: 18px; }

/* ============ Юридические страницы ============ */

.legal { padding: 48px 0 80px; }
.legal-inner { max-width: 780px; }
.legal h1 { margin-bottom: 0.6em; }
.legal p { color: var(--ink); line-height: 1.72; font-size: 0.99rem; }

/* ============ 404 ============ */

.nf { text-align: center; padding: 90px 0 110px; }
.nf-mark { width: 84px; height: 84px; margin: 0 auto 28px; }
.nf-code {
  font-family: var(--font);
  font-size: 5.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.nf-rule {
  width: 56px;
  height: 3px;
  border-radius: 2px;
  margin: 0 auto 26px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}
.nf h1 { font-size: 1.6rem; margin-bottom: 10px; }
.nf p { color: var(--muted); max-width: 30em; margin: 0 auto 26px; }

/* ============ Движение ============ */

/* Появление секций: один раз, мягко, только opacity/transform */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].revealed { opacity: 1; transform: none; }

/* FAQ: плавное открытие (закрытие мгновенное — нативные details) */
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.js .faq-item[open] .faq-a {
  animation: faq-in 200ms var(--ease-out) both;
}

/* Hero: документ мягко «дышит» (только десктоп) */
@keyframes doc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (min-width: 901px) {
  .hero-doc { animation: doc-float 7s ease-in-out infinite; }
}

/* Редкие категории: 1 карточка — во всю ширину, 2 — по половине */
.sit-grid-1 { grid-template-columns: 1fr; }
.sit-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .sit-grid-2 { grid-template-columns: 1fr; }
}

/* ============ Доступность и печать ============ */

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .faq-item[open] .faq-a { animation: none !important; }
  .hero-doc { animation: none !important; }
  .marquee-track { animation: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .mq-dup { display: none; }
  .scroll-progress { display: none; }
}
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
