/* ============================================================
   styles.css — structural styles, no hardcoded brand colors.
   Uses tokens from theme.css only.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: #2a00ff; }
input, select, textarea { font: inherit; color: inherit; margin: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s-4);
}

.hidden { display: none !important; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding-top: 35px;
  background: transparent;
  pointer-events: none;
  transition: top .3s var(--ease), transform .35s var(--ease);
}
.nav > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}
.nav--docked {
  top: 0;
}
/* hide-on-scroll-down / show-on-scroll-up: уезжает целиком за верх экрана */
.nav--hidden {
  transform: translateY(-100%);
}
.nav--scrolled .nav-inner {
  background: rgba(13,13,13,.88);
}
.nav-inner {
  position: relative;
  display: block;
  min-height: 80px;
  width: min(1200px, calc(100vw - 48px));
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background: rgba(16,16,16,.87);
  border-radius: 20px;
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 0 14px rgba(0,127,247,.35);
  pointer-events: auto;
  transition: background .3s var(--ease), border-radius .3s var(--ease), box-shadow .3s var(--ease);
}
.nav--docked .nav-inner {
  border-radius: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  font-weight: 600;
  letter-spacing: 0;
  padding: 0;
  min-height: 0;
}
.nav-logo img {
  width: 120px;
  max-width: 120px;
  height: 49px;
  object-fit: contain;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-links {
  position: absolute;
  top: 50%;
  left: 50.8%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  gap: 26px;
  margin: 0;
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}
.nav-links > a,
.nav-links .nav-link {
  padding: 5px 0;
}
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--c-text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--c-text); }
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-right {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  padding: 0;
}
/* ============ NAV REPORT BUTTON ============ */
.nav-report-btn {
  display: none; align-items: center; gap: 8px;
  height: 48px; padding: 0 20px;
  border-radius: 16px;
  font-family: var(--font-sans);
  font-size: 18px; font-weight: 400;
  color: #fff;
  background: linear-gradient(90deg, #2092ef 0%, #1668c3 100%);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), filter .2s var(--ease);
}
.nav-report-btn:hover { color: #fff; filter: brightness(1.08); }
.nav-report-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav--has-report .nav-report-btn { display: inline-flex; opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (max-width: 820px) { .nav-report-btn { display: none; } }
@media (max-width: 820px) { .nav-logo img, .footer-logo-link img { height: 22px; } }

/* ============ HEADER SOCIALS ============ */
.nav-socials { display: inline-flex; align-items: center; gap: 15px; }
.nav-soc {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  transition: filter .15s var(--ease), transform .15s var(--ease);
}
.nav-soc-icon,
.nav-soc-icon svg {
  display: block;
  width: 36px;
  height: 36px;
}
.nav-soc:hover {
  color: #fff;
  background: transparent;
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.nav-soc:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
/* ============ BURGER ============ */
.nav-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: none; border: none; cursor: pointer;
  color: #fff; padding: 0;
}
.nav-burger:hover { color: #fff; }
.nav-burger .burger-mid { transition: opacity .2s; }
.nav--open .nav-burger .burger-top  { transform: translateY(8.5px) rotate(45deg); }
.nav--open .nav-burger .burger-mid  { opacity: 0; }
.nav--open .nav-burger .burger-bot  { transform: translateY(-8.5px) rotate(-45deg); }
.nav-burger path { transition: transform .25s var(--ease), opacity .2s; transform-box: fill-box; transform-origin: center; }

/* ============ MOBILE DRAWER ============ */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);

  z-index: 39;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.nav-overlay.is-visible { opacity: 1; pointer-events: auto; }

.nav-drawer {
  display: none;
  position: absolute; top: 84px; left: 0; right: 0;
  padding: var(--s-5) var(--s-5) var(--s-6);
  z-index: 41;
  pointer-events: auto;
}
.nav--open .nav-drawer { display: block; }
.nav-drawer-links {
  display: flex; flex-direction: column; gap: var(--s-4);
}
.nav-drawer-links a {
  font-size: 18px; color: var(--c-text-dim);
  transition: color .15s var(--ease);
}
.nav-drawer-links a:hover { color: var(--c-text); }

@media (max-width: 820px) {
  .nav {
    padding-top: 16px;
  }
  .nav > .container {
    width: 100%;
    max-width: none;
    padding: 0 16px;
  }
  .nav-inner {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
  }
  .nav--scrolled .nav-inner {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav-logo {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    padding: 0;
  }
  .nav-logo img {
    width: 118px;
    max-width: 118px;
    height: auto;
  }
  .nav-right {
    position: static;
    transform: none;
    top: auto;
    right: auto;
    margin-left: auto;
    gap: 10px;
  }
  .nav-links {
    display: none !important;
  }
  .nav-socials { display: none; }
  .nav-burger   { display: inline-flex; width: 34px; height: 34px; }
  .lang-dd {
    margin-left: 0;
  }
  .lang-dd-btn {
    padding: 0;
    min-height: 34px;
  }
  .lang-dd-btn .lang-dd-code,
  .lang-dd-caret {
    display: none;
  }
  .lang-dd-item:hover { background: transparent; }
  .nav-drawer {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 56px 16px 24px;
    background: #000;
    border-top: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav--open .nav-drawer {
    display: block;
  }
  .nav-overlay {
    background: #000;
    backdrop-filter: none;
  }
  .nav-drawer-links {
    gap: 24px;
  }
  .nav-drawer-links a {
    font-size: 18px;
    line-height: 1.25;
    color: #fff;
  }
}

@media (min-width: 821px) {
  .nav-drawer,
  .nav-overlay,
  .nav--open .nav-drawer,
  .nav-overlay.is-visible {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ============ LANGUAGE DROPDOWN ============ */
.lang-dd { position: relative; }
.lang-dd {
  margin-left: 5px;
}
.lang-dd-btn {
  display: inline-flex; align-items: center;
  min-height: auto;
  padding: 5px 9px 5px 5px;
  background: transparent; color: #b8b8b8;
  border: none; border-radius: 999px;
  font-family: "Roboto", var(--font-sans);
  font-size: 16px; font-weight: 400; letter-spacing: 0;
  cursor: pointer;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.lang-dd-btn:hover { background: transparent; color: #fff; }
.lang-dd-btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.lang-dd-flag {
  display: inline-flex;
  flex: 0 0 30px;
}
.lang-dd-flag img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 100px;
}
.lang-dd-code {
  padding-left: 10px;
  line-height: 1;
}
.lang-dd-caret {
  padding-left: 10px;
  font-size: 12px;
  line-height: 1;
  opacity: 1;
  transition: transform .15s var(--ease);
}
.lang-dd[data-open="true"] .lang-dd-caret { transform: rotate(180deg); opacity: .9; }

.lang-dd-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 110px;
  background: #171717;
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity .12s var(--ease), transform .12s var(--ease);
  z-index: 50;
  list-style: none; margin: 0;
}
.lang-dd[data-open="true"] .lang-dd-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.lang-dd-menu li { margin: 0; }
.lang-dd-item {
  display: inline-flex;
  align-items: center;
  width: 100%;
  padding: 8px 10px; border-radius: 8px;
  font-family: "Roboto", var(--font-sans);
  font-size: 14px; font-weight: 400; letter-spacing: 0;
  color: #b8b8b8;
  text-decoration: none; text-align: left;
  transition: background .1s var(--ease), color .1s var(--ease);
}
.lang-dd-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.lang-dd-item.is-current { color: #fff; background: rgba(255,255,255,.06); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 10px;
  font-weight: 500; font-size: 14px; letter-spacing: .01em;
  transition: transform .15s var(--ease), background .15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-accent); color: #ffffff; }
.btn-primary:hover { background: color-mix(in oklab, var(--c-accent) 88%, white); }
.btn-ghost { background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-line); }
.btn-ghost:hover { background: var(--c-surface-2); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}
.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-7) var(--s-5);
  max-width: 1200px;
  width: 100%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  color: var(--c-text-dim); letter-spacing: .1em;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--c-accent) 25%, transparent);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--c-accent) 25%, transparent); }
  50%      { box-shadow: 0 0 0 10px color-mix(in oklab, var(--c-accent) 0%,  transparent); }
}

.h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 100px);
  line-height: .95;
  letter-spacing: -.03em;
  margin: var(--s-5) 0 var(--s-5);
}
.h1 em { font-style: italic; color: var(--c-accent); }

.btn-hero {
  position: relative;
  padding: 0 36px;
  height: 3.5em;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .02em;
  gap: 12px;
  background: transparent;
  border: 3px ridge var(--c-accent);
  border-radius: 10px;
  color: #ffffff;
  box-shadow: none;
  overflow: visible;
  transition: box-shadow 1s var(--ease);
}
.btn-hero > * { position: relative; z-index: 1; }
.btn-hero::after {
  content: "";
  position: absolute;
  top: -10px; left: 3%;
  width: 95%; height: 40%;
  background: var(--c-bg);
  transition: transform .5s;
  transform-origin: center;
  pointer-events: none;
}
.btn-hero::before {
  content: "";
  position: absolute;
  top: 80%; left: 3%;
  width: 95%; height: 40%;
  background: var(--c-bg);
  transition: transform .5s;
  transform-origin: center;
  pointer-events: none;
}
.btn-hero:hover { transform: none; box-shadow: inset 0 0 28px var(--c-accent); }
.btn-hero:hover::before,
.btn-hero:hover::after { transform: scale(0); }
.hero-sub {
  color: #ffffff; font-size: 38px; font-weight: 300;
  max-width: 52ch; margin-top: var(--s-2); margin-bottom: var(--s-6);
}
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-points {
  display: flex; gap: var(--s-5); margin-top: var(--s-7); flex-wrap: wrap;
  color: var(--c-text-mute); font-family: var(--font-mono); font-size: 12px;
}
.hero-points span::before { content: "▸ "; color: var(--c-accent); }

/* ---- hero entrance animation ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}
#hero-title,
#hero-sub,
.hero-cta { opacity: 0; }
.hero-ready #hero-title {
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) 0s both;
}
.hero-ready #hero-sub {
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .18s both;
}
.hero-ready .hero-cta {
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .34s both;
}

/* ---- tracer card ---- */
.tracer {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: 0 30px 60px -30px color-mix(in oklab, black 50%, transparent);
}
.tracer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px 14px;
  border-bottom: 1px dashed var(--c-line);
  font-family: var(--font-mono); font-size: 11px; color: var(--c-text-dim);
  text-transform: uppercase; letter-spacing: .08em;
}
.tracer-head .dots { display: flex; gap: 6px; }
.tracer-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-line-2); display: block; }
.tracer-head .dots i:nth-child(2) { background: var(--c-warn); }
.tracer-head .dots i:nth-child(3) { background: var(--c-ok); }
.tracer-body { position: relative; aspect-ratio: 16/11; }
.tracer-body svg { width: 100%; height: 100%; }
.tracer-foot {
  display: flex; justify-content: space-between;
  padding: 12px 10px 4px;
  font-family: var(--font-mono); font-size: 11px; color: var(--c-text-mute);
  border-top: 1px dashed var(--c-line);
}
.tracer-foot b { color: var(--c-text); font-weight: 500; }
/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-2);
  overflow: hidden; white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--c-text-dim);
}
.ticker-track {
  display: inline-flex; gap: 48px; padding: 14px 0;
  animation: scroll 40s linear infinite;
}
.ticker-track span::before { content: "●"; color: var(--c-accent); margin-right: 10px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ SECTION ============ */
.section { padding: var(--s-9) 0; }
.section-head { margin-bottom: var(--s-7); }
.section-head .h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02;
  letter-spacing: -.02em; margin: var(--s-4) 0 var(--s-3);
}
.section-head p { color: var(--c-text-dim); font-size: 17px; max-width: 58ch; }

/* ============ TIMER ============ */
.timer-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-7);
  align-items: stretch;
}
.timer-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--s-6);
}
.timer-row { display: flex; justify-content: space-between; gap: var(--s-5); }
.timer-row + .timer-row { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px dashed var(--c-line); }
.timer-label { color: var(--c-text-dim); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); }
.timer-val {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -.02em;
  color: var(--c-text);
}
.timer-val small { font-size: 14px; color: var(--c-text-mute); margin-left: 6px; }
.timer-windows { display: flex; gap: 6px; margin-top: var(--s-5); flex-wrap: wrap; }
.timer-windows i {
  font-style: normal; font-family: var(--font-mono); font-size: 11px;
  padding: 6px 10px; border-radius: 999px; background: var(--c-surface-2); color: var(--c-text-dim);
  border: 1px solid var(--c-line);
}
.timer-windows i.hot { background: var(--c-accent); color: var(--c-accent-ink); border-color: transparent; }

.timer-chart {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--s-6); display: flex; min-height: 360px;
}
.timer-chart svg { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .timer-grid { grid-template-columns: 1fr; } }

/* ============ STATS ============ */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden;
}
.stat {
  background: var(--c-bg); padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-2); min-height: 180px;
}
.stat b {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.02em;
}
.stat span { color: var(--c-text); font-size: 15px; }
.stat small { color: var(--c-text-mute); font-size: 13px; margin-top: auto; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ PROCESS ============ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.process-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  min-height: 260px; position: relative;
}
.process-card .k { font-family: var(--font-mono); font-size: 12px; color: var(--c-accent); letter-spacing: .08em; }
.process-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 0; letter-spacing: -.01em; }
.process-card p { color: var(--c-text-dim); font-size: 14px; margin: 0; }
.process-card::after {
  content: ""; position: absolute; right: 18px; top: 18px; width: 18px; height: 18px;
  border: 1px solid var(--c-line-2); border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--c-accent) 30%, transparent 31%);
}
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }

/* ============ FORM ============ */
.form-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-9);
  align-items: start;
}
.form-side { position: sticky; top: 96px; }
.form-side .rln-h2 { max-width: none; margin: var(--s-4) 0 var(--s-3); }
.form-side #form-sub { color: var(--c-text-dim); font-size: 14px; line-height: 1.65; margin: 0; }
.form-side ul { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }
.form-side li {
  display: flex; align-items: center; gap: 10px;
  color: var(--c-text-dim); font-size: 14px;
}
.form-side li::before {
  content: ''; flex-shrink: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-accent);
}

.form-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  padding: 40px;
}
.form-steps {
  display: flex; gap: 4px; margin-bottom: var(--s-5);
}
.form-steps i {
  flex: 1; height: 3px; border-radius: 999px; background: var(--c-line);
  transition: background .3s var(--ease);
}
.form-steps i.active { background: var(--c-accent); }
.form-step-label { font-family: var(--font-mono); font-size: 12px; color: var(--c-text-mute); margin-bottom: var(--s-4); }

.form-row { display: grid; gap: var(--s-4); }
.form-row.two { grid-template-columns: 1fr 1fr; align-items: start; }

/* Every field has exactly: 16px label + 8px gap + 44px control = 68px tall.
   Fixed, simple, no grid magic — so rows always line up. */
.form-field { display: block; min-width: 0; }

.form-field label {
  display: block;
  height: 16px; line-height: 16px;
  font-size: 11px; color: var(--c-text-mute);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em;
  font-weight: 500;
  margin: 0 0 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.form-field {
  color-scheme: dark;
  accent-color: var(--c-accent);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  background-color: var(--c-field);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 0 14px;
  color: var(--c-text);
  font: inherit; font-size: 14px; line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.form-field textarea {
  height: auto; min-height: 96px; padding: 12px 14px; resize: vertical;
}

/* Kill native number spinners — they push layout and look awful in dark theme */
.form-field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.form-field input[type="number"]::-webkit-outer-spin-button,
.form-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}

/* Required-field asterisk */
.form-field label .req { color: rgba(255,255,255,.6); margin-left: 2px; font-weight: 400; }
.form-field.has-err label .req { color: var(--c-danger); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--c-text-mute); opacity: .7; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: color-mix(in oklab, var(--c-line) 40%, var(--c-text-mute)); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-accent) 22%, transparent);
  background-color: color-mix(in oklab, var(--c-field) 80%, var(--c-surface));
}

/* Native select — strip OS styling + inline SVG chevron.
   IMPORTANT: we use background-color (not background shorthand) on :focus,
   so the chevron image isn't wiped out. */
.form-field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%239aa29f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.form-field select:focus {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230286F4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
}
.form-field select option { background-color: var(--c-bg); color: var(--c-text); }
.form-field select.is-placeholder { color: var(--c-text-mute); }

.form-field .err { display: none; } /* legacy node, not used anymore — error shown inline in placeholder/option */
.form-field.has-err label { color: var(--c-danger); }
.form-field.has-err input,
.form-field.has-err select,
.form-field.has-err textarea { border-color: var(--c-danger); }
.form-field.has-err input::placeholder,
.form-field.has-err textarea::placeholder { color: var(--c-danger); opacity: 1; }
.form-field.has-err select.is-placeholder { color: var(--c-danger); }
.form-field.has-err input:focus,
.form-field.has-err select:focus,
.form-field.has-err textarea:focus {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-danger) 22%, transparent);
}
.form-field-err {
  display: block; margin-top: 5px;
  font-size: 12px; color: var(--c-danger); line-height: 1.4;
}
.rmodal-contact.has-err #rmodal-contact-input { border-color: var(--c-danger); }
.rmodal-contact.has-err .form-field-err { display: block; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 8px 12px; border-radius: 999px;
  background: var(--c-bg); border: 1px solid var(--c-line);
  font-family: var(--font-mono); font-size: 12px; color: var(--c-text-dim);
  cursor: pointer; transition: all .15s var(--ease);
}
.chip:hover { color: var(--c-text); border-color: var(--c-line-2); }
.chip.on { background: var(--c-accent); color: var(--c-accent-ink); border-color: transparent; }

.form-nav { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-5); }

/* Gap between step blocks (rows, standalone fields, checkboxes) — applied as
   grid gap so it only acts on DIRECT children of #form-body and does NOT
   leak into .form-row.two (where siblings are side-by-side columns). */
#form-body { display: grid; gap: var(--s-4); }

/* Checkbox row */
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.4; color: var(--c-text-dim);
  cursor: pointer; user-select: none;
}
.form-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px;
  border: 1px solid var(--c-line); border-radius: 4px;
  background: var(--c-bg); cursor: pointer; position: relative;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.form-check input[type="checkbox"]:checked {
  background: var(--c-accent); border-color: var(--c-accent);
}
.form-check input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--c-accent-ink); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-check.has-err input[type="checkbox"] { border-color: var(--c-danger); }
.form-check.is-required span::after {
  content: " *"; color: var(--c-accent);
}

/* File picker */
.form-files-hint {
  font-size: 12px; color: var(--c-text-mute); margin: -2px 0 10px; line-height: 1.45;
}
.form-files-add {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; font-size: 13px;
}
.form-files-list {
  list-style: none; padding: 0; margin: 10px 0 0;
  display: grid; gap: 6px;
}
.form-files-empty {
  font-size: 12px; color: var(--c-text-mute); font-family: var(--font-mono);
  padding: 6px 0;
}
.form-files-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--c-bg); border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 8px 10px;
  font-size: 13px;
}
.form-files-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-files-size { font-family: var(--font-mono); font-size: 11px; color: var(--c-text-mute); }
.form-files-rm {
  width: 22px; height: 22px; border-radius: 50%;
  background: transparent; border: 1px solid var(--c-line); color: var(--c-text-dim);
  cursor: pointer; display: grid; place-items: center; font-size: 14px; line-height: 1;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.form-files-rm:hover { border-color: var(--c-danger); color: var(--c-danger); }
.form-files-err {
  color: var(--c-danger); font-size: 12px; margin-top: 8px; font-family: var(--font-mono);
}
.form-files-err:empty { display: none; }

.form-done {
  text-align: center; padding: var(--s-7) var(--s-4);
}
.form-done .tick {
  width: 56px; height: 56px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink);
  display: grid; place-items: center; margin: 0 auto var(--s-4); font-size: 28px;
}
.form-done h3 { font-family: var(--font-display); font-size: 34px; margin: 0 0 var(--s-3); font-weight: 400; }
.form-done p { color: var(--c-text-dim); max-width: 44ch; margin: 0 auto var(--s-5); }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-side { position: static; }
  .form-row.two { grid-template-columns: 1fr; }
}

/* ============ SERVICES ============ */
#services { padding-top: 0; }
#services .rln-body { padding-top: 60px; }
.sec-join {
  height: 100px;
  position: relative;
}
.sec-join::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.12);
}
#recovery .rln-shell,
#services .rln-shell,
#report .rln-shell,
#contact .rln-shell {
  border: 1px solid rgba(255,255,255,.12);
  background: var(--c-bg);
}
#recovery .rln-body,
#services .rln-body,
#report .rln-body,
#contact .rln-body {
  border: 1px solid rgba(255,255,255,.07);
  background: var(--c-bg);
}

/* ============ CONTACT ============ */
.cnt-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.cnt-left { margin-top: 0; }
.cnt-left .rln-h2 { max-width: none; margin: 0 0 var(--s-5); }
.cnt-points {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.cnt-points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,.55);
}
.cnt-points li::before {
  content: ''; flex-shrink: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-accent);
}
.cnt-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 40px;
}
.cnt-canvas {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.12;
  z-index: 0;
}
#contact .rln-body { overflow: hidden; }
#contact .rln-body > *:not(.cnt-canvas) { position: relative; z-index: 1; }
.cnt-form { display: grid; gap: 24px; }
.cnt-label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.4);
}
.cnt-hint {
  margin: 0 0 14px;
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.3);
}
.cnt-radios {
  display: flex; gap: 24px;
}
.cnt-radio {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.55);
  cursor: pointer; user-select: none;
  transition: color .18s var(--ease);
}
.cnt-radio:hover { color: rgba(255,255,255,0.8); }
.cnt-radio input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; min-width: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  cursor: pointer; margin: 0;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.cnt-radio input[type="radio"]:checked {
  border-color: rgba(255,255,255,0.6);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.6);
}
.cnt-radio:has(input:checked) { color: rgba(255,255,255,0.9); }
.cnt-input {
  width: 100%; height: 48px;
  background: #080808;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 0 16px;
  color: var(--c-text); font: inherit; font-size: 14px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.cnt-input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-accent) 22%, transparent);
}
.cnt-field.has-err .cnt-input { border-color: var(--c-danger); }
.cnt-field.has-err .cnt-input::placeholder { color: var(--c-danger); opacity: 1; }
.cnt-submit {
  width: 100%; height: 52px;
  background: var(--c-accent); color: #fff;
  border-radius: 10px;
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s var(--ease);
  margin-top: 8px;
}
.cnt-submit:hover { background: var(--c-accent-2); }
.cnt-done {
  text-align: center; padding: 20px 0;
  font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.6);
}
@media (max-width: 860px) {
  .cnt-grid { grid-template-columns: 1fr; gap: 40px; }
  #contact .cnt-canvas { display: none; }
}
.srv-head { margin-bottom: 40px; }
.srv-head .rln-h2 { max-width: none; }
.srv-head-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.srv-head-top .rln-h2 { margin: 0; }
.srv-head-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.srv-head-cta:hover { color: #fff; }
.srv-head-cta svg { width: 16px; height: 16px; }
.srv-sub {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,.42); margin: 0; max-width: 560px;
}
.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
}
.srv-card {
  position: relative;
  background: rgb(10,10,10);
  padding: 36px 32px 40px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .2s;
}
.srv-card:hover { background: #0e0e0e; }
.srv-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.srv-badge svg {
  width: 26px; height: 26px;
  color: rgba(255,255,255,.6);
  transition: color .2s var(--ease);
}
.srv-badge:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
}
.srv-badge:hover svg { color: #fff; }
.srv-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.32);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; padding: 4px 12px;
}
.srv-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin: 0;
}
.srv-desc {
  font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,.42); margin: 0; flex: 1;
}
.srv-meta {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .10em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-top: 8px;
}
@media (max-width: 640px) { .srv-grid { grid-template-columns: 1fr; } }

/* ---- AML Compliance card — hero-style blob background ---- */
.srv-card--aml {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #060012 url('media/hero-poster.webp') center/cover no-repeat;
}
.srv-card--aml:hover { background: #060012 url('media/hero-poster.webp') center/cover no-repeat; }

.aml-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .5s ease-out;
}
.aml-bg.is-loaded { opacity: 1; }

.aml-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.srv-card--aml .srv-tag   { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.25); }
.srv-card--aml .srv-title { color: #fff; }
.srv-card--aml .srv-desc  { color: rgba(255,255,255,.75); }
.srv-card--aml .srv-meta  { color: rgba(255,255,255,.55); }

/* ============ CASES ============ */
.cases-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.cases-table thead th {
  text-align: left; font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-mute);
  padding: 14px 16px; border-bottom: 1px solid var(--c-line);
  font-weight: 500;
}
.cases-table tbody td {
  padding: 20px 16px; border-bottom: 1px solid var(--c-line);
}
.cases-table tbody tr { transition: background .15s var(--ease); }
.cases-table tbody tr:hover { background: var(--c-surface); }
.cases-table .y { font-family: var(--font-mono); color: var(--c-text-mute); }
.cases-table .n { font-family: var(--font-display); font-size: 20px; }
.cases-table .chain { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--c-text-mute); margin-top: 2px; }
.cases-table .c { font-family: var(--font-mono); color: var(--c-text-dim); }
.cases-table .s { font-family: var(--font-mono); font-weight: 500; }
.cases-table .r {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--c-text-dim);
}
.cases-table .r::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.cases-table .arrow { color: var(--c-text-mute); text-align: right; }
.case-link { color: inherit; text-decoration: none; transition: color .15s; }
.cases-table tr:hover .case-link { color: var(--c-accent); }
@media (max-width: 720px) {
  .cases-table .c, .cases-table thead th:nth-child(3), .cases-table thead th:nth-child(6) { display: none; }
  .cases-table tbody td:nth-child(3), .cases-table tbody td:nth-child(6) { display: none; }
}

/* ============ AUTHOR PROFILE (расширение «Авторы») ============ */
/* standalone-страница автора: лого + карточка + подложка, без меню/футера */
.author-standalone { margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; position: relative; overflow: hidden; padding: 80px 20px 50px; background: #000; font-family: "Montserrat", var(--font-display, sans-serif); }
.author-bg { position: fixed; inset: 0; z-index: 0; pointer-events: auto; background: #000; }
.as-logo { position: relative; z-index: 2; margin-bottom: 60px; display: inline-flex; }
.as-logo img, .as-logo svg, .as-logo-img { width: 130px; max-width: 130px; height: 55px; object-fit: contain; }
.author-standalone .author-card { position: relative; z-index: 2; }
.author-card { display: flex; gap: 0; max-width: 700px; width: 100%; background: #17191d; border: 0; border-radius: 20px; padding: 0; overflow: hidden; }
.author-card-left { flex: 0 0 35%; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 30px; gap: 10px; align-self: stretch; }
.author-card-photo { width: 150px; height: 150px; border-radius: 999px; object-fit: contain; object-position: center; margin: 0; display: block; border: 1px solid #3f4249; }
.author-card-name { margin-top: 15px; font-size: 16px; font-weight: 700; line-height: 1.4; color: #fff; }
.author-card-role { font-size: 14px; font-weight: 400; line-height: 1.4; color: #848484; margin-top: 0; }
.author-card-socials { display: flex; gap: 10px; justify-content: center; margin-top: 5px; padding-top: 25px; border-top: 1px solid #24272c; width: 100%; }
.author-card-socials a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #fff; transition: opacity .15s, transform .15s; }
.author-card-socials a:hover { background: transparent; opacity: .78; transform: translateY(-1px); }
.author-card-bio { flex: 1 1 65%; min-width: 0; color: var(--c-text-dim, #c7ccd2); line-height: 1.7; font-size: 15px; background: #1a1c21; border-radius: 0 20px 20px 0; padding: 30px; }
.author-card-bio p { margin: 0 0 16px; }
.author-card-bio p:last-child { margin-bottom: 0; }
@media (max-width: 1024px) { .author-standalone { padding: 80px 30px 50px; } }
@media (max-width: 767px) { .author-standalone { padding: 50px 20px; } .author-card { flex-direction: column; } .author-card-left { flex: none; gap: 15px; } .author-card-name { font-size: 18px; } .author-card-socials { padding-top: 10px; } .author-card-bio { border-radius: 0 0 20px 20px; padding: 30px; } }

/* ============ Сотрудники (standalone /contacts/{slug}) ============ */
.team-standalone { margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; background: radial-gradient(circle at 78% 18%, rgba(0,101,202,.18), transparent 34%), #000; padding: 50px 20px; font-family: "Montserrat", var(--font-display, sans-serif); }
.team-wrap { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.team-greeting { margin: 0; padding: 10px 0; font-size: 25px; font-weight: 700; line-height: 1.4; color: #fff; text-align: center; font-family: var(--font-display, "Montserrat", sans-serif); }
.team-card { width: 100%; background: #17191d; border-radius: 20px; padding: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.team-card--person { gap: 15px; }
.team-card-photo { width: 100px; height: 100px; border-radius: 999px; object-fit: cover; object-position: center; display: block; border: 1px solid #2e3034; }
.team-card-name { margin-top: 0; font-size: 18px; font-weight: 700; line-height: 1.4; color: #fff; }
.team-card-role { font-size: 14px; font-weight: 400; line-height: 1.45; color: #9aa0a6; max-width: 500px; }
.team-card-email { display: inline-flex; align-items: center; gap: 15px; margin-top: 0; font-size: 16px; line-height: 1.4; color: #fff; text-decoration: none; transition: color .15s; }
.team-card-email svg { color: #6b7078; flex-shrink: 0; }
.team-card-email span { word-break: break-all; }
.team-card-email:hover { color: #2094f1; }
.team-card-email:hover svg { color: #2094f1; }
.team-card-socials { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 0; }
.team-card-socials a { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #222428; color: #fff; transition: background .15s, transform .2s; }
.team-card-socials a svg { width: 30px; height: 30px; }
.team-card-socials a:hover { background: #2a2d32; transform: scale(1.04); }
.team-card--company { gap: 15px; }
.team-card--company .team-card-socials { margin-top: 0; }
.team-card-logo { width: 100px; height: 100px; border-radius: 999px; border: 1px solid #2e3034; display: inline-flex; align-items: center; justify-content: center; padding: 17px; }
.team-card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.team-card-company-label { font-size: 14px; font-weight: 400; color: #9aa0a6; }
.team-card-website { width: 50%; min-width: 210px; font-size: 15px; font-weight: 400; line-height: 1.2; color: #fff; text-decoration: none; padding: 12px 35px; border: 2px solid #0065ca; border-radius: 999px; transition: border-color .2s, color .15s; }
.team-card-website:hover { border-color: #fff; color: #fff; }
@media (max-width: 767px) { .team-wrap { max-width: 100%; } .team-greeting { font-size: 25px; } .team-card { padding: 25px; } .team-card-email { gap: 10px; font-size: 15px; } .team-card-socials { gap: 10px; } .team-card-socials a { width: 40px; height: 40px; } .team-card-socials a svg { width: 22px; height: 22px; } .team-card-website { width: 90%; } }

/* ============ Галерея ([gallery slug=...]) ============ */
.gal { display: grid; gap: 14px; margin: 28px 0 36px; }
.gal.gal-cols-1 { grid-template-columns: 1fr; }
.gal.gal-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gal.gal-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gal.gal-cols-4 { grid-template-columns: repeat(4, 1fr); }
.gal.gal-cols-5 { grid-template-columns: repeat(5, 1fr); }
.gal.gal-cols-6 { grid-template-columns: repeat(6, 1fr); }
.gal-item { margin: 0; }
.gal-link { display: block; }
.gal-item img { width: 100%; height: auto; display: block; border-radius: 10px; }
/* Grid-галерея: превью одного размера (фикс. 4:3, кроп по центру); в лайтбоксе фото целиком */
.gal-grid .gal-item, .gal-grid .gal-link { height: 100%; }
.gal-grid .gal-item img { aspect-ratio: 4 / 3; height: 100%; object-fit: cover; }
/* Широкая галерея (layout=wide): фото на всю ширину тела, одной высоты (4:3), с отступами сверху/снизу */
.gal.gal-wide { margin: 34px 0; }
.gal-wide .gal-item, .gal-wide .gal-link { height: 100%; }
.gal-wide .gal-item img { aspect-ratio: 4 / 3; height: 100%; object-fit: cover; }
/* Карусель: листание стрелками (десктоп + мобайл); видимых фото = gal-cols-N */
.gal.gal-carousel { display: block; position: relative; gap: 0; margin: 28px 0 36px; }
.gal-car-viewport { overflow: hidden; }
.gal-car-track { display: flex; gap: 14px; transition: transform .35s ease; will-change: transform; }
.gal-carousel .gal-item { flex: 0 0 calc((100% - 28px) / 3); }
.gal-carousel.gal-cols-1 .gal-item { flex-basis: 100%; }
.gal-carousel.gal-cols-2 .gal-item { flex-basis: calc((100% - 14px) / 2); }
.gal-carousel.gal-cols-3 .gal-item { flex-basis: calc((100% - 28px) / 3); }
.gal-carousel.gal-cols-4 .gal-item { flex-basis: calc((100% - 42px) / 4); }
.gal-carousel .gal-item, .gal-carousel .gal-link { height: 100%; }
.gal-carousel .gal-item img { aspect-ratio: 4 / 3; height: 100%; width: 100%; object-fit: cover; cursor: zoom-in; }
.gal-car-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.6); color: #fff; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; transition: background .15s, opacity .15s; }
.gal-car-nav:hover { background: rgba(0,0,0,.85); }
.gal-car-prev { left: 8px; }
.gal-car-next { right: 8px; }
.gal-car-nav:disabled { opacity: 0; pointer-events: none; }
.gal-item figcaption { margin-top: 8px; font-size: 13px; line-height: 1.4; color: #9aa0a6; text-align: center; }
/* Мобильная раскладка галереи (≤720px) — по настройкам gal-m-* из редактора галереи.
   Слайдер: одно фото на экран + горизонтальный свайп (scroll-snap). Сетка: N колонок. */
@media (max-width: 720px) {
  .gal.gal-m-cols-1 { grid-template-columns: 1fr; }
  .gal.gal-m-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .gal.gal-m-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .gal.gal-m-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    scrollbar-width: none;
  }
  .gal.gal-m-slider::-webkit-scrollbar { display: none; }
  .gal.gal-m-slider .gal-item { flex: 0 0 100%; scroll-snap-align: center; }
  .gal.gal-m-slider .gal-item img { aspect-ratio: 4 / 3; height: 100%; object-fit: cover; }
  /* Карусель на мобиле — НЕ нативный свайп, а те же стрелки, по 1 фото на вид */
  .gal.gal-carousel { display: block; overflow: visible; scroll-snap-type: none; }
  .gal-carousel .gal-item { flex-basis: 100% !important; }
  .gal-car-nav { width: 40px; height: 40px; font-size: 26px; }
}

/* Слайдер-лайтбокс (стиль галереи «slider» — для статей/FAQ) */
.gal-slider .gal-link { display: block; cursor: zoom-in; }
.gal-slider .gal-item img { transition: opacity .15s, transform .15s; }
.gal-slider .gal-link:hover img { opacity: .9; }
.gal-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.93); padding: 48px 64px; }
.gal-lightbox.is-open { display: flex; }
.gal-lb-stage { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gal-lb-img { max-width: min(1100px, 92vw); max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; display: block; }
.gal-lb-cap { color: #fff; font-size: 16px; line-height: 1.4; text-align: center; max-width: 720px; }
.gal-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .04em; }
.gal-lb-close { position: absolute; top: 16px; right: 22px; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; opacity: .8; }
.gal-lb-close:hover { opacity: 1; }
.gal-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 36px; line-height: 1; color: #fff; background: rgba(255,255,255,.08); border: 0; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; padding-bottom: 4px; transition: background .15s; }
.gal-lb-nav:hover { background: rgba(255,255,255,.18); }
.gal-lb-prev { left: 18px; }
.gal-lb-next { right: 18px; }
@media (max-width: 600px) { .gal-lightbox { padding: 20px; } .gal-lb-nav { width: 42px; height: 42px; font-size: 28px; } .gal-lb-prev { left: 6px; } .gal-lb-next { right: 6px; } }

/* Кнопка/ссылка вызова формы внутри контента ([report_button]) */
.report-cta { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 4px; padding: 12px 22px; background-image: linear-gradient(90deg, #2092ef 0%, #1668c3 100%); color: #fff; font-weight: 400; font-size: 18px; line-height: 1.3; border-radius: 16px; text-decoration: none; cursor: pointer; }
.report-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: linear-gradient(90deg, #1668c3 0%, #2092ef 100%); opacity: 0; transition: opacity .4s var(--ease); }
.report-cta:hover::before { opacity: 1; }
.report-cta:hover { color: #fff; }
.page-body a.report-cta { color: #fff; }
.page-body a.report-cta:hover { color: #fff; text-decoration: none; }
.report-cta:not(.report-cta--link)::after { content: ""; width: 18px; height: 18px; flex: none; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.report-cta--link { display: inline; margin: 0; padding: 0; background: none; background-image: none; color: inherit; border-radius: 0; font-weight: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
.report-cta--link::before { content: none; }
.report-cta--link:hover { background: none; color: #2094f1; }

/* ============ FAQ ============ */
#faq { padding-bottom: 300px; scroll-margin-top: 120px; }
.faq-list { margin-top: 40px; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
}
.faq-q {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-size: clamp(15px,1.5vw,19px);
  font-weight: 500; letter-spacing: -.02em;
  transition: color .2s; pointer-events: none;
}
.faq-item:hover .faq-q { color: rgba(255,255,255,.7); }
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 40px; height: 40px;
  color: rgba(255,255,255,.9);
}
.faq-icon svg {
  width: 40px; height: 40px;
  position: absolute; top: 0; left: 0;
  transition: opacity .25s var(--ease);
}
.faq-icon-minus { opacity: 0; }
.faq-item.is-open .faq-icon { color: rgba(255,255,255,.5); }
.faq-item.is-open .faq-icon-plus  { opacity: 0; }
.faq-item.is-open .faq-icon-minus { opacity: 1; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
  pointer-events: none;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; pointer-events: auto; }
.faq-a-inner { overflow: hidden; }
.faq-a-body { padding-bottom: 28px; }
.faq-a-text {
  margin: 0 0 12px;
  font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,.46);
  max-width: 64ch;
}
.faq-more {
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
  color: #317cff; font-family: var(--font-mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  cursor: pointer; pointer-events: auto;
}
.faq-more::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: #317cff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.faq-more:hover { color: #317cff; }
.faq-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============ FEATURED IN MEDIA ============ */
/* ============ FEATURED IN MEDIA ============ */
#media { padding-bottom: 270px; scroll-margin-top: 80px; }
.media-head { margin-bottom: 40px; text-align: center; }
.media-head .rln-h2 { max-width: none; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.media-grid .is-extra { display: none; }
.media-grid.is-open .is-extra { display: flex; flex-direction: column; }
.media-card {
  display: flex; flex-direction: column; gap: 22px;
  background: var(--c-surface);
  border-radius: 32px;
  padding: 20px;
  color: inherit;
  transition: background .2s var(--ease);
}
.media-card:hover { background: var(--c-bg-2); }
.media-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  background: var(--c-bg-2);
  flex-shrink: 0;
  position: relative;
}
.media-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  border-radius: inherit;
  transition: opacity .4s var(--ease);
}
.media-card:hover .media-thumb::after { opacity: 0; }
.media-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s var(--ease);
}
.media-card:hover .media-thumb img { transform: scale(1.04); }
.media-title {
  margin: 0;
  font-size: 18px; line-height: 1.4; color: var(--c-text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-foot { display: flex; justify-content: center; margin-top: 32px; }
.media-toggle {
  display: inline-flex; align-items: center;
  padding: 16px 40px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  background: transparent; color: rgba(255,255,255,.6);
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.media-toggle:hover { border-color: rgba(255,255,255,.3); color: var(--c-text); }
@media (max-width: 720px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .media-grid { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer { padding: var(--s-9) 0 var(--s-5); background: #0a0a0a; border-radius: 40px 40px 0 0; margin-top: 50px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-6);
  margin-bottom: var(--s-8);
}
.footer-brand .h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 64px); line-height: 1; margin: 0 0 var(--s-3);
  letter-spacing: -.02em;
}
.footer-brand p { color: var(--c-text-dim); max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-text-mute); margin: 0 0 var(--s-4); font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--c-text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--c-text); }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: var(--s-5);
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-family: var(--font-mono); font-size: 12px; color: var(--c-text-mute);
}
.footer-bot .status::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c-ok); margin-right: 8px; vertical-align: middle; }
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bot { flex-direction: column; }
}

/* ============ TWEAKS PANEL ============ */
.tweaks {
  position: fixed; right: 16px; bottom: 16px; z-index: 100;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--s-4); width: 260px; display: none;
  box-shadow: 0 30px 60px -20px color-mix(in oklab, black 60%, transparent);
}
.tweaks.open { display: block; }
.tweaks h4 { margin: 0 0 var(--s-3); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-dim); }
.tweaks label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 10px; }
.tweaks input[type="color"] { width: 40px; height: 28px; border: 1px solid var(--c-line); border-radius: 6px; padding: 2px; background: var(--c-bg); }
.tweaks select { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 6px; padding: 4px 8px; font-size: 12px; }

/* ============================================================
   Geist-tuned overrides (single-family, unified type)
   ============================================================ */

/* Display headings — Geist needs heavier weight than the old serif */
.h1, .h2, .section-head .h2, .footer-brand .h2,
.process-card h3, .service h3, .form-done h3,
.cases-table .n, .faq-q {
  font-weight: 500;
  letter-spacing: -0.025em;
}

/* Hero title — bigger weight for punch */
.h1 { font-weight: 600; }

/* Hero accent — replaces the old <em> italic. */
.h1 em, .h1 .h-accent {
  font-style: normal;
  font-weight: 700;
  color: var(--c-accent);
}
.hero .h1 .h-accent { color: var(--c-text); }
.hero .h1 {
  background: linear-gradient(to bottom, #ffffff 40%, #a8d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.25em;
  margin-bottom: var(--s-2);
}

/* Footer — brand + 3 cols (was 1.4 + 3×1 grid for H2 brand, now logo is compact) */
.footer-brand .footer-tag { color: var(--c-text-dim); font-size: 15px; max-width: 30ch; margin: var(--s-3) 0 0; }
.footer-logo-link { display: inline-block; }
.footer-bot { display: flex; justify-content: space-between; align-items: center; padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.06); color: var(--c-text-mute); font-family: var(--font-mono); font-size: 12px; }
.footer-bot .status::before { content: "●"; color: var(--c-ok); margin-right: 6px; }

/* Mono blocks — Geist Mono looks great a touch lighter than Inter-mono */
.tracer-head, .tracer-foot, .ticker, .form-step-label,
.form-field label, .chip, .service .tag, .service .meta,
.cases-table thead th, .cases-table .y, .cases-table .c,
.cases-table .s, .cases-table .r, .cases-table .chain,
.hero-points, .form-field .err,
.form-steps + .form-step-label {
  font-feature-settings: "tnum" 1, "ss02" 1;
}

/* ============================================================
   Footer — brand + 3 cols (admin nav_menu parent → children)
   ============================================================ */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
  align-items: start;
}
.footer-brand img { max-height: 48px; margin-bottom: var(--s-3); }
.footer-logo-link { display: inline-block; }
.footer-brand .footer-tag {
  color: var(--c-text-dim); font-size: 15px; max-width: 32ch; margin: var(--s-2) 0 0;
}
.footer-legal {
  display: grid; gap: 4px; margin: var(--s-4) 0 0;
  font-style: normal; font-size: 13px; line-height: 1.5;
  color: var(--c-text-mute); max-width: 34ch;
}
.footer-legal-name { color: var(--c-text-dim); }
.footer-partner {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px; padding: 5px 12px 5px 10px;
  border: 1px solid var(--c-line); border-radius: 100px;
  font-size: 12px; color: var(--c-text-mute); text-decoration: none;
  transition: color .2s, border-color .2s;
}
.footer-partner:hover { color: var(--c-text); border-color: var(--c-line-2); }
.footer-partner-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent); flex-shrink: 0;
}
.footer-partner strong { font-weight: 600; color: var(--c-text-dim); }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-text-mute); margin: 0 0 var(--s-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.footer-col a,
.footer-col .footer-link {
  position: relative;
  color: var(--c-text); text-decoration: none; font-size: 15px;
}
.footer-col a::after,
.footer-col .footer-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--c-text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.footer-col a:hover { color: var(--c-text); }
.footer-col a:hover::after,
.footer-col .footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-link--ico {
  display: inline-flex; align-items: center; gap: 10px;
}
.footer-link-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%;
  color: var(--c-text-dim);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.footer-link--ico:hover .footer-link-ico {
  color: var(--c-text);
}

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ============================================================
   Static page (pages/page.php) — Terms, Privacy и т.п.
   ============================================================ */
.page-page .nav-report-btn { display: none; }
.page-article {
  padding: 200px 0 100px;
  background: #000;
}
/* Страницы без героя (юр-страницы и т.п.) — тот же тёмно-синий glow в правом-верхнем
   углу, что и на остальных страницах сайта (.blog-list/faq). Вариант с героем (--with-hero)
   не трогаем: там свечение даёт сам герой сверху. */
.page-article:not(.page-article--with-hero) {
  background-color: #000;
  background-image: radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.50), transparent 27%);
  background-repeat: no-repeat;
  background-size: 100% 100vh;
}
.page-article > .container {
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
}
.page-article .breadcrumbs { display: none; }
.page-article .page-title {
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: rgba(255,255,255,.78);
  margin: 0 0 22px;
}
.page-article .page-body {
  font-family: "Montserrat", var(--font-body), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,.72);
}
.page-article .page-body p { margin: 0 0 16px; }
.page-article .page-body strong {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}
.page-article .page-body a {
  color: rgba(255,255,255,.86);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-article .page-body ul,
.page-article .page-body ol {
  margin: 15px 0;
  padding-left: 20px;
}
.page-article .page-body li { margin-bottom: 10px; }
.page-article .page-body li:last-child { margin-bottom: 0; }
/* Мобильные отступы — как у .blog-list (иначе 200px сверху давали огромный гэп на телефоне). */
@media (max-width: 820px) {
  .page-article { padding-top: 142px; padding-bottom: var(--s-7); }
  .page-article > .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 480px) {
  .page-article { padding-top: 126px; }
}

.breadcrumbs {
  font-family: var(--font-mono); font-size: 14px; color: var(--c-text-mute);
  letter-spacing: .04em;
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-2); align-items: center;
  margin-bottom: var(--s-5);
}
.breadcrumbs > * { white-space: nowrap; }
.breadcrumbs [aria-current="page"] { white-space: normal; }
.breadcrumbs a { color: var(--c-text-mute); text-decoration: none; transition: color .15s var(--ease); }
.breadcrumbs a:hover { color: var(--c-text); }
.breadcrumbs .sep { opacity: .4; }
.breadcrumbs [aria-current="page"] { color: var(--c-text-dim); }

.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-6);
}

.page-cover { margin: 0 0 var(--s-7); border-radius: 16px; overflow: hidden; }
.page-cover img { width: 100%; height: auto; display: block; }

.page-body { font-size: 16px; line-height: 1.7; color: var(--c-text-dim); }
.page-body p { margin: 0 0 var(--s-4); }
.page-body h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em;
  color: var(--c-text); margin: var(--s-7) 0 var(--s-3);
}
.page-body h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; color: var(--c-text); margin: var(--s-5) 0 var(--s-2);
}
.page-body a { color: #317cff; text-decoration: none; }
.page-body a:hover { text-decoration: underline; }
.page-body ul, .page-body ol { padding-left: 1.4em; margin: 0 0 var(--s-4); }
.page-body li { margin-bottom: var(--s-1); }
.page-body img { max-width: 100%; height: auto; border-radius: 12px; margin: var(--s-4) 0; }
.page-body blockquote {
  border-left: 3px solid var(--c-accent);
  padding: var(--s-2) var(--s-4);
  margin: var(--s-4) 0;
  color: var(--c-text-dim);
  background: var(--c-surface);
  border-radius: 0 8px 8px 0;
}

/* ============================================================
   FAQ item page (/faq/{slug}) — hero block + content
   ============================================================ */
.page-faq-item .nav-report-btn { display: none; }
.faq-hero {
  position: relative;
  min-height: 950px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 900px auto;
}
.faq-hero.has-cover { background-image: var(--faq-cover-image); }

/* FAQ default hero: общий стиль для FAQ 3-6 (картинки 1300x1150, текст слева, asset справа).
   Десктоп / планшет / мобайл — раздельные брейкпоинты, чтобы картинка не лезла на текст и H1 не резался. */
.faq-hero--style-faq_default {
  min-height: 880px;
  align-items: flex-start;
  overflow: hidden;
}

.faq-hero--style-faq_default::before {
  display: none;
}

.faq-hero--style-faq_default > .container {
  max-width: 1200px;
  width: 100%;
}

.faq-hero--style-faq_default .faq-hero-text {
  position: relative;
  z-index: 1;
  width: min(688px, 100%);
  padding-top: 400px;
  padding-bottom: 100px;
  transform: translateX(-45px);
}

.faq-hero--style-faq_default .faq-hero-title {
  width: min(688px, 100%);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.faq-hero--style-faq_default .faq-hero-lead {
  width: min(688px, 100%);
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.faq-hero--style-faq_default.has-cover {
  background-image:
    radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.5), transparent 27%),
    var(--faq-cover-image);
  background-repeat: no-repeat, no-repeat;
  background-position: right top, right 330px top 250px;
  background-size: 100% 100vh, 588px auto;
}

/* Планшет / small desktop: не даём картинке залезать на текст */
@media (min-width: 901px) and (max-width: 1180px) {
  .faq-hero--style-faq_default {
    min-height: 760px;
  }

  .faq-hero--style-faq_default > .container {
    max-width: none;
    padding: 0 32px;
  }

  .faq-hero--style-faq_default .faq-hero-text {
    width: 54%;
    padding-top: 300px;
    padding-bottom: 80px;
    transform: none;
  }

  .faq-hero--style-faq_default .faq-hero-title {
    font-size: clamp(44px, 5vw, 52px);
  }

  .faq-hero--style-faq_default .faq-hero-lead {
    font-size: 18px;
  }

  .faq-hero--style-faq_default.has-cover {
    background-position: right top, right 0 top 210px;
    background-size: 100% 100vh, clamp(460px, 46vw, 540px) auto;
  }
}

/* Планшет 768-900: ещё две колонки, но компактнее */
@media (min-width: 768px) and (max-width: 900px) {
  .faq-hero--style-faq_default {
    min-height: 720px;
    padding: 0;
  }

  .faq-hero--style-faq_default > .container {
    max-width: none;
    padding: 0 20px;
  }

  .faq-hero--style-faq_default .faq-hero-text {
    width: 58%;
    padding-top: 220px;
    padding-bottom: 80px;
    transform: none;
  }

  .faq-hero--style-faq_default .faq-hero-title {
    font-size: clamp(40px, 6vw, 48px);
  }

  .faq-hero--style-faq_default .faq-hero-lead {
    font-size: 18px;
  }

  .faq-hero--style-faq_default.has-cover {
    background-position: right top, right -10px top 250px;
    background-size: 100% 100vh, clamp(390px, 52vw, 470px) auto;
  }
}

/* Мобилка: картинка отдельным блоком под текстом */
@media (max-width: 767px) {
  .faq-hero--style-faq_default {
    min-height: auto;
    padding: 0;
  }

  .faq-hero--style-faq_default > .container {
    max-width: none;
    padding: 130px 20px 360px;
  }

  .faq-hero--style-faq_default .faq-hero-text {
    width: 100%;
    padding: 0;
    transform: none;
  }

  .faq-hero--style-faq_default .faq-hero-title {
    width: 100%;
    max-width: 100%;
    font-size: 36px;
    line-height: 1.3;
  }

  .faq-hero--style-faq_default .faq-hero-lead {
    width: 100%;
    max-width: 100%;
    font-size: 18px;
  }

  .faq-hero--style-faq_default.has-cover {
    background-position: right top, center bottom 34px;
    background-size: 100% 55vh, min(86vw, 330px) auto;
  }
}

/* Стиль обложки faq_criminal — иллюстрация справа (report-a-criminal, #7).
   H1 внизу-слева, картинка компактнее и ниже (как на лайве). */
.faq-hero--style-faq_criminal {
  min-height: 900px;
  align-items: flex-start;
  overflow: hidden;
}

.faq-hero--style-faq_criminal::before {
  display: none;
}

.faq-hero--style-faq_criminal > .container {
  max-width: 1200px;
  width: 100%;
}

.faq-hero--style-faq_criminal .faq-hero-text {
  position: relative;
  z-index: 2;
  width: min(590px, 100%);
  padding-top: 365px;
  padding-bottom: 100px;
  transform: none;
}

.faq-hero--style-faq_criminal .faq-hero-title {
  width: min(590px, 100%);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
}

.faq-hero--style-faq_criminal .faq-hero-lead {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.faq-hero--style-faq_criminal.has-cover {
  background-image:
    radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.5), transparent 27%),
    var(--faq-cover-image);
  background-repeat: no-repeat, no-repeat;
  background-position: right top, right bottom;
  background-size: 100% 100vh, auto 640px;
}

@media (min-width: 768px) and (max-width: 1180px) {
  .faq-hero--style-faq_criminal {
    min-height: 760px;
  }

  .faq-hero--style-faq_criminal > .container {
    max-width: none;
    padding: 0 20px;
  }

  .faq-hero--style-faq_criminal .faq-hero-text {
    width: 54%;
    padding-top: 250px;
    padding-bottom: 80px;
  }

  .faq-hero--style-faq_criminal .faq-hero-title {
    font-size: clamp(44px, 5.6vw, 54px);
  }

  .faq-hero--style-faq_criminal.has-cover {
    background-position: right top, right -90px bottom 15px;
    background-size: 100% 100vh, auto 520px;
  }
}

/* Выделенная часть заголовка героя FAQ — красная плашка (поле «Заголовок — выделенная часть»). */
.faq-hero-title .faq-hero-hl {
  background: #e8202a;
  color: #fff;
  padding: 0.02em 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Кнопка героя FAQ (цель задаётся в админке: форма/страница/ссылка). Outlined-стиль как на лайве. */
.faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.faq-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.faq-hero-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.60);
  color: #fff;
}
.faq-hero-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfd3da;
  font-size: 15px;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.faq-hero-tg:hover { color: #fff; }
@media (max-width: 900px) {
  .faq-hero-actions { margin-top: 24px; }
  .faq-hero-btn { padding: 13px 24px; font-size: 15px; }
}

/* Стиль обложки faq_markup_mockup — ноут-мокап справа (markup-of-criminal-addresses), по спеке GPT. */
.faq-hero--style-faq_markup_mockup {
  min-height: 910px;
  align-items: center;
}
.faq-hero--style-faq_markup_mockup::before {
  display: none;
}
.faq-hero--style-faq_markup_mockup > .container {
  max-width: 1200px;
  padding: 0;
}
.faq-hero--style-faq_markup_mockup .faq-hero-text {
  width: min(688px, 100%);
}
.faq-hero--style-faq_markup_mockup .faq-hero-title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3;
}
html[lang^="ru"] .faq-hero--style-faq_markup_mockup .faq-hero-title {
  font-size: 46px;
}
.faq-hero--style-faq_markup_mockup .faq-hero-lead {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.faq-hero--style-faq_markup_mockup.has-cover {
  background-image:
    radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.50), transparent 27%),
    var(--faq-cover-image);
  background-repeat: no-repeat, no-repeat;
  background-position: right top, right -185px top 300px;
  background-size: 100% 100vh, 900px auto;
}
@media (max-width: 900px) {
  .faq-hero--style-faq_markup_mockup {
    min-height: 720px;
    padding: 120px 0 56px;
  }
  .faq-hero--style-faq_markup_mockup.has-cover {
    background-position: right top, right -170px bottom 40px;
    background-size: 100% 100vh, 686px auto;
  }
}
@media (max-width: 560px) {
  .faq-hero.faq-hero--style-faq_markup_mockup {
    min-height: auto;
    padding: 150px 0 98vw;
    align-items: flex-start;
  }
  .faq-hero.faq-hero--style-faq_markup_mockup.has-cover {
    background-position: right top, left 0 bottom;
    background-size: 100% 60vh, 132% auto;
  }
  .faq-hero.faq-hero--style-faq_markup_mockup .faq-hero-text {
    width: 100%;
    padding-top: 50px;
  }
  .faq-hero.faq-hero--style-faq_markup_mockup .faq-hero-title {
    font-size: 36px;
    line-height: 1.3;
  }
}

.faq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(0,0,0,.71);
}
.faq-hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
}
.faq-hero-text {
  width: min(640px, 100%);
  padding-top: 0;
}
.faq-hero-text .breadcrumbs {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255,255,255,.26);
  font-size: 14px;
  line-height: 1.35;
}
.faq-hero-text .breadcrumbs a {
  color: rgba(255,255,255,.30);
  text-decoration: none;
  transition: color .15s var(--ease);
}
.faq-hero-text .breadcrumbs a:hover { color: rgba(255,255,255,.72); }
.faq-hero-text .breadcrumbs .sep { color: rgba(255,255,255,.18); }
.faq-hero-title {
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 1.15;
  letter-spacing: 0;
  color: #fff;
  margin: 0;
}
.faq-hero-lead {
  margin: 22px 0 0;
  max-width: 60ch;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.faq-content {
  padding: 100px 0 20px;
  background: #000;
}
.faq-content > .container {
  max-width: 1200px;
}
.faq-content .page-body > *:first-child { margin-top: 0; }
.faq-content .page-body {
  max-width: 100%;
  font-family: "Montserrat", var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}
.faq-content .page-body p { margin: 0 0 16px; }
.faq-content .page-body h2,
.faq-content .page-body h3 {
  font-family: "Montserrat", var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.faq-content .page-body h2 {
  font-size: 24px;
  margin: 52px 0 14px;
}
.faq-content .page-body h3 {
  font-size: 20px;
  margin: 32px 0 12px;
}
.faq-content .page-body strong { color: #fff; }
.faq-content .page-body a {
  color: rgba(255,255,255,.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-content .page-body a:hover { color: #fff; }
.faq-content .page-body a.report-cta,
.faq-content .page-body a.report-cta:hover { text-decoration: none; color: #fff; }
.faq-content .page-body ul,
.faq-content .page-body ol {
  margin: 15px 0 22px;
  padding-left: 20px;
}
.faq-content .page-body li { margin-bottom: 10px; }
.faq-content .page-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 0;
}
.faq-content .page-body .report2,
.faq-content .page-body .faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  margin: 18px 0 24px;
  padding: 0 20px;
  border-radius: 16px;
  background: linear-gradient(90deg, #2092EF 0%, #1668C3 100%);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}
.faq-content .page-body .report2:hover,
.faq-content .page-body .faq-cta:hover {
  background: linear-gradient(90deg, #1668C3 0%, #2093EF 100%);
  color: #fff;
}
.faq-content .page-body .report2::after,
.faq-content .page-body .faq-cta::after {
  content: '↗';
  font-size: 20px;
  line-height: 1;
}
.faq-content .page-body figure {
  margin: 24px 0;
}
.faq-content .page-body figure img {
  margin: 0;
}
.faq-content .page-body figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,.64);
}
.faq-content .page-body .faq-split {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  gap: 30px;
  align-items: start;
  margin: 20px 0;
}
.faq-content .page-body .faq-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.faq-content .page-body .faq-gallery img {
  width: 100%;
  margin: 0;
}

@media (max-width: 820px) {
  .faq-hero {
    min-height: 650px;
    background-position: top right;
    background-size: 700px auto;
  }
  .faq-hero > .container { padding: 0 20px; }
  .faq-hero-text {
    max-width: 520px;
    padding-top: 50px;
  }
  .faq-hero-title { font-size: 48px; }
  .faq-content { padding: 40px 0 20px; }
  .faq-content .page-body .faq-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .faq-hero {
    min-height: 420px;
    align-items: flex-start;
    background-position: top right;
    background-size: 410px auto;
    padding: 0;
  }
  .faq-hero::before { background: rgba(0,0,0,.68); }
  .faq-hero-text .breadcrumbs { font-size: 13px; }
  .faq-hero-text { padding-top: 50px; }
  .faq-hero-title {
    font-size: 38px;
    line-height: 1.3;
  }
  .faq-hero-lead { font-size: 17px; line-height: 1.35; }
  .faq-content .page-body h2 { margin-top: 38px; }
  .faq-content .page-body .faq-gallery {
    grid-template-columns: 1fr;
  }
}
/* Мобильный герой FAQ cover (стиль faq_cover, базовый герой с обложкой):
   воздух над заголовком, чтобы не лип к навбару. */
@media (max-width: 560px) {
  .faq-hero--style-faq_cover .faq-hero-text {
    padding-top: 120px;
  }
}
/* Мобильный герой faq_criminal: иллюстрация отдельным блоком под текстом.
   Высокая специфичность (.page-faq-item) — чтобы перебить общие .faq-hero мобильные правила. */
@media (max-width: 767px) {
  .page-faq-item .faq-hero.faq-hero--style-faq_criminal {
    min-height: auto;
    padding: 0;
    align-items: flex-start;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_criminal > .container {
    width: 100%;
    max-width: none;
    padding: 185px 20px 295px;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_criminal .faq-hero-text {
    width: 100%;
    max-width: 100%;
    padding: 0;
    transform: none;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_criminal .faq-hero-title {
    width: 100%;
    max-width: 100%;
    font-size: 36px;
    line-height: 1.3;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_criminal .faq-hero-lead {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.35;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_criminal.has-cover {
    background-position: right top, right -85px top 395px;
    background-size: 100% 55vh, 500px auto;
  }
}

/* FIX: мобильный faq_default должен перебить общие .faq-hero мобильные правила
   (@820 .faq-hero > .container{padding:0 20px} имеет ту же специфичность и стоит ниже).
   Поэтому усиливаем селектор .page-faq-item .faq-hero.faq-hero--style-faq_default и держим блок в самом низу FAQ-секции. */
@media (max-width: 767px) {
  .page-faq-item .faq-hero.faq-hero--style-faq_default {
    min-height: auto;
    padding: 0;
    align-items: flex-start;
    overflow: hidden;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_default > .container {
    width: 100%;
    max-width: none;
    padding: 150px 20px 365px;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_default .faq-hero-text {
    width: 100%;
    max-width: 100%;
    padding: 0;
    transform: none;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_default .faq-hero-title {
    width: 100%;
    max-width: 100%;
    font-size: 36px;
    line-height: 1.3;
    margin: 0;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_default .faq-hero-lead {
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.35;
  }

  .page-faq-item .faq-hero.faq-hero--style-faq_default.has-cover {
    background-position: right top, center bottom 34px;
    background-size: 100% 55vh, min(86vw, 330px) auto;
  }
}

/* ============================================================
   Blog list + single post
   ============================================================ */
.blog-list {
  padding-top: 220px; padding-bottom: var(--s-8);
  background-image: radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.50), transparent 27%);
  background-repeat: no-repeat;
  background-size: 100% 100vh;
}
.blog-list > .container { max-width: 1236px; }
.page-blog .nav-report-btn,
.page-blog-category .nav-report-btn { display: none; }
.blog-list .breadcrumbs { display: none; }
.blog-list .page-title {
  text-align: center;
  font-size: 39px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 24px;
}
.blog-empty { font-size: 15px; color: var(--c-text-mute); padding: var(--s-6) 0; }
.blog-cat-desc { font-size: 16px; color: var(--c-text-dim); margin: -8px auto 24px; max-width: 72ch; text-align: center; }

/* Category pills (above post grid) */
.cat-pills {
  display: flex; flex-wrap: wrap; gap: 31px;
  justify-content: center;
  margin: 0 0 38px;
}
.cat-pill {
  display: inline-flex; align-items: center; gap: 0;
  padding: 0 0 5px;
  background: transparent; border: 0; border-radius: 0;
  color: var(--c-text-dim); text-decoration: none;
  font-size: 18px; font-weight: 400;
  line-height: 1.3;
  position: relative;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.cat-pill:hover { color: var(--c-text); }
.cat-pill::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}
.cat-pill:hover::after,
.cat-pill.is-current::after { transform: scaleX(1); transform-origin: left; }
.cat-pill.is-current { background: transparent; color: var(--c-text); }
.cat-pill.is-current:hover { background: transparent; color: var(--c-text); }
.cat-pill-count {
  display: none;
}

.post-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 44px;
  grid-template-columns: repeat(3, 1fr);
}
.post-card {
  background: #17191d;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 18px;
  height: 100%;
  overflow: hidden;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.post-card:hover { background: #1d2025; transform: translateY(-2px); }
.post-card-link {
  display: flex; flex-direction: column; gap: 0;
  height: 100%;
  padding: 0;
  color: inherit; text-decoration: none;
}
.post-card-cover {
  aspect-ratio: 335 / 174;
  overflow: hidden;
  border-radius: 0;
  background: #050505;
  flex-shrink: 0;
  position: relative;
}
.post-card-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.50) 42%, rgba(0,0,0,.08) 100%);
  border-radius: inherit;
  transition: opacity .4s var(--ease);
}
.post-card:hover .post-card-cover::after { opacity: .82; }
.post-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s var(--ease);
}
.post-card:hover .post-card-cover img { transform: scale(1.04); }
.post-card-cover--empty { background: #050505; }
.post-card-cover-overlay {
  position: absolute;
  left: 20px;
  top: 50%;
  z-index: 1;
  width: min(58%, 230px);
  transform: translateY(-50%);
}
.post-card-cover-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.22;
  color: #fff;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.46);
}
.post-card-cover-sub {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255,255,255,.72);
  text-shadow: 0 2px 14px rgba(0,0,0,.46);
}
.post-card-body {
  display: flex; flex-direction: column;
  flex: 1;
  padding: 22px 25px 20px;
}
.post-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  order: 2;
  margin: auto 0 0;
}
.post-card-cat {
  display: none;
}
.post-card-date {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0;
  color: rgba(255,255,255,.45); text-transform: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.post-card-date::before {
  content: '';
  width: 13px; height: 13px; flex: 0 0 13px;
  opacity: .45;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9ZM5 6a1 1 0 0 0-1 1v1h16V7a1 1 0 0 0-1-1H5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9ZM5 6a1 1 0 0 0-1 1v1h16V7a1 1 0 0 0-1-1H5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.post-card-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; line-height: 1.42; letter-spacing: 0;
  color: var(--c-text); margin: 0 0 12px;
}
.post-card-tags {
  display: none;
}
.post-card-tag {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-text-mute);
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 820px) {
  .blog-list { padding-top: 142px; padding-bottom: var(--s-7); }
  .blog-list > .container { padding: 0 16px; }
  .blog-list .page-title {
    font-size: 34px;
    margin-bottom: 20px;
  }
  .cat-pills {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-bottom: 28px;
  }
  .cat-pill {
    flex: 0 0 auto;
    font-size: 18px;
  }
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .post-card { border-radius: 18px; }
  .post-card-body {
    padding: 18px 18px 17px;
  }
  .post-card-title {
    font-size: 16px;
    line-height: 1.34;
    margin-bottom: 12px;
  }
  .post-card-cover-overlay {
    left: 16px;
    width: min(64%, 220px);
  }
  .post-card-cover-title {
    font-size: 14px;
    -webkit-line-clamp: 4;
  }
}
@media (max-width: 480px) {
  .blog-list { padding-top: 126px; }
  .blog-list .page-title {
    font-size: 32px;
  }
  .post-grid { grid-template-columns: 1fr; gap: 22px; }
  .post-card-cover { aspect-ratio: 335 / 174; }
  .post-card-body {
    padding: 18px 18px 17px;
  }
  .post-card-cover-overlay {
    left: 18px;
    width: min(62%, 240px);
  }
  .post-card-cover-title {
    font-size: 15px;
  }
}

.pager { display: flex; gap: 6px; margin-top: var(--s-7); justify-content: center; }
.pager-btn {
  min-width: 34px; padding: 6px 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-surface); border: 0; border-radius: 8px;
  color: var(--c-text-dim); text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.pager-btn:hover { color: var(--c-text); }
.pager-btn.is-current { background: var(--c-line); color: #fff; }
.pager-btn.is-current:hover { background: var(--c-line); color: #fff; }

.page-blog-post .nav-report-btn { display: none; }
.blog-post {
  padding: 0 0 86px;
  background: #000;
}
.post-hero {
  min-height: 950px;
  padding: 190px 0 100px;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 58% auto;
}
.blog-post.has-post-cover .post-hero { background-image: var(--post-cover-image); }

/* Стили героя блога — независимый набор. */
.post-hero--style-blog_default_1 {
  position: relative;
  padding: 0 0 100px;
  display: flex;
  align-items: stretch;
  background-position: center right;
  background-size: 72% auto;
}
/* blog_default_2 — геометрия blog_default_1 + фон-картинка слоем под ассетом.
   Ассет (лого) — ФИКСИРОВАННОГО размера справа (как у FAQ default), фон — cover.
   (фон задаётся полем «Фон героя — картинка» → переменная --post-bg-image). */
.blog-post--style-blog_default_2.has-post-bg .post-hero {
  background-image: var(--post-cover-image), var(--post-bg-image);
  background-position: right max(20px, calc((100% - 1180px) / 2)) center, center;
  background-size: 480px auto, cover;
  background-repeat: no-repeat, no-repeat;
}
.blog-post--style-blog_default_2.has-post-bg:not(.has-post-cover) .post-hero {
  background-image: var(--post-bg-image);
  background-position: center;
  background-size: cover;
}
@media (max-width: 1024px) {
  .blog-post--style-blog_default_2.has-post-bg .post-hero {
    background-position: right 20px center, center;
    background-size: 340px auto, cover;
  }
}
@media (max-width: 720px) {
  .blog-post--style-blog_default_2.has-post-bg .post-hero {
    background-position: center bottom 30px, center;
    background-size: 260px auto, cover;
  }
}
/* blog_default_3 — клон FAQ-стиля «report-a-criminal» (faq_criminal): иллюстрация справа,
   H1 внизу-слева, фон-цвет + радиальная подсветка. Расположение заголовка/фото берём оттуда. */
.post-hero--style-blog_default_3 {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.post-hero--style-blog_default_3 > .container {
  max-width: 1200px;
  width: 100%;
}
.blog-post--style-blog_default_3 .post-hero-copy {
  position: relative;
  z-index: 2;
  width: min(590px, 100%);
  padding-top: 365px;
  padding-bottom: 100px;
}
.blog-post--style-blog_default_3 .page-title {
  width: min(590px, 100%);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
}
.blog-post--style-blog_default_3 .post-hero-subtitle {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.blog-post--style-blog_default_3.has-post-cover .post-hero {
  background-image:
    radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.5), transparent 27%),
    var(--post-cover-image);
  background-repeat: no-repeat, no-repeat;
  background-position: right top, right bottom;
  background-size: 100% 100vh, auto 640px;
}
@media (min-width: 768px) and (max-width: 1180px) {
  .post-hero--style-blog_default_3 { min-height: 760px; }
  .post-hero--style-blog_default_3 > .container { max-width: none; padding: 0 20px; }
  .blog-post--style-blog_default_3 .post-hero-copy { width: 54%; padding-top: 250px; padding-bottom: 80px; }
  .blog-post--style-blog_default_3 .page-title { font-size: clamp(44px, 5.6vw, 54px); }
  .blog-post--style-blog_default_3.has-post-cover .post-hero {
    background-position: right top, right -90px bottom 15px;
    background-size: 100% 100vh, auto 520px;
  }
}
@media (max-width: 767px) {
  .post-hero--style-blog_default_3 { min-height: auto; }
  .post-hero--style-blog_default_3 > .container { padding: 185px 20px 295px; }
  .blog-post--style-blog_default_3 .post-hero-copy { width: 100%; max-width: 100%; padding: 0; }
  .blog-post--style-blog_default_3 .page-title { width: 100%; max-width: 100%; font-size: 36px; line-height: 1.3; }
  .blog-post--style-blog_default_3 .post-hero-subtitle { margin-top: 18px; font-size: 18px; line-height: 1.35; }
  .blog-post--style-blog_default_3.has-post-cover .post-hero {
    background-position: right top, right -85px top 395px;
    background-size: 100% 55vh, 500px auto;
  }
}

/* Без героя (blog_none) — только заголовок + подзаголовок(и); без обложки/фона/крошек/большого блока. */
.post-hero--style-blog_none {
  min-height: auto !important;
  padding: 130px 0 8px !important;
  background: none !important;
  display: block;
}
.blog-post--style-blog_none .post-hero .breadcrumbs { margin: 0 0 18px; }
.blog-post--style-blog_none .post-hero-copy { width: 100%; max-width: none; transform: none; }
.blog-post--style-blog_none .page-title { font-size: 38px; line-height: 1.25; }
@media (max-width: 767px) {
  .post-hero--style-blog_none { padding: 100px 0 8px !important; }
  .blog-post--style-blog_none .page-title { font-size: 28px; }
}

/* ===== Frame-стили блогового героя (blog_f1..f5): 2 колонки, картинка <img> object-fit:contain (НЕ обрезается) ===== */
/* Базовые дефолты элементов Frame (общие резеты, не геометрия стиля) */
.post-hero-media { display: flex; min-width: 0; min-height: 0; }
/* Обёртка картинки — ужимается ровно по картинке (для виньетки именно на картинке, а не на колонке). */
.post-hero-imgwrap { position: relative; display: flex; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; }
.post-hero-img { display: block; max-width: 100%; height: auto; }

/* ============================================================
   СТИЛЬ 1 — blog_f1 · две колонки 55/45, картинка по центру колонки (1:1)
   Самостоятельный стиль: десктоп + ≤900 + ≤720 — всё своё.
   ============================================================ */
.post-hero--style-blog_f1 { position: relative; min-height: 520px; padding: 120px 0 0; display: block; background: none; }
.blog-post--style-blog_f1.has-post-bg .post-hero { background-image: var(--post-bg-image); background-size: cover; background-position: center; background-repeat: no-repeat; }
.post-hero--style-blog_f1 .breadcrumbs { position: absolute; top: 140px; left: max(20px, calc((100vw - 1200px) / 2)); margin: 0; z-index: 2; }
.blog-post.blog-post--style-blog_f1 .page-title { font-size: var(--hero-tt-d, 46px); line-height: 1.25; margin: 0; }
.blog-post--style-blog_f1 .post-hero-subtitle { margin-top: 12px; font-size: var(--hero-sub, 18px); }
.blog-post.blog-post--style-blog_f1 .post-hero-grid { display: flex; align-items: center; min-height: 800px; max-height: 800px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.blog-post--style-blog_f1 .post-hero-copy { flex: 0 0 55%; max-width: 55%; align-self: center; min-width: 0; margin-top: 0; padding-right: 24px; }
.blog-post--style-blog_f1 .post-hero-media { flex: 0 0 45%; max-width: 45%; align-items: center; justify-content: center; }
.blog-post--style-blog_f1 .post-hero-img { max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) {
  .post-hero.post-hero--style-blog_f1 { min-height: 0; padding-bottom: 0; overflow: hidden; }
  .blog-post.blog-post--style-blog_f1 .post-hero-grid { flex-direction: column; align-items: stretch; min-height: 0; max-height: none; max-width: none; margin: 0; padding: 0 20px; gap: 18px; }
  .blog-post--style-blog_f1 .post-hero-copy { flex: 0 0 auto; max-width: 100%; width: 100%; align-self: stretch; padding: 0; order: 1; margin-top: 20px; }
  .blog-post--style-blog_f1 .post-hero-media { flex: 0 0 auto; max-width: 100%; width: 100%; order: 2; align-items: center; justify-content: center; margin: 0; }
  .blog-post--style-blog_f1 .post-hero-img { width: 100%; max-width: 100%; height: auto; object-fit: contain; }
  .post-hero.post-hero--style-blog_f1 .breadcrumbs { position: static; left: auto; top: auto; margin: 0 0 20px; }
  .blog-post.blog-post--style-blog_f1 .page-title { font-size: var(--hero-tt-m, 28px); overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  .post-hero.post-hero--style-blog_f1 { min-height: 0; padding-bottom: 0; }
}

/* ============================================================
   СТИЛЬ 6 — blog_f6 · копия f1 (55/45) + кнопка скачивания файла под картинкой
   ============================================================ */
.post-hero--style-blog_f6 { position: relative; min-height: 520px; padding: 120px 0 0; display: block; background: none; }
.blog-post--style-blog_f6.has-post-bg .post-hero { background-image: var(--post-bg-image); background-size: cover; background-position: center; background-repeat: no-repeat; }
.post-hero--style-blog_f6 .breadcrumbs { position: absolute; top: 140px; left: max(20px, calc((100vw - 1200px) / 2)); margin: 0; z-index: 2; }
.blog-post.blog-post--style-blog_f6 .page-title { font-size: var(--hero-tt-d, 46px); line-height: 1.25; margin: 0; }
.blog-post--style-blog_f6 .post-hero-subtitle { margin-top: 12px; font-size: var(--hero-sub, 18px); }
.blog-post.blog-post--style-blog_f6 .post-hero-grid { display: flex; align-items: center; min-height: 800px; max-height: 800px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.blog-post--style-blog_f6 .post-hero-copy { flex: 0 0 55%; max-width: 55%; align-self: center; min-width: 0; margin-top: 0; padding-right: 24px; }
.blog-post--style-blog_f6 .post-hero-media { flex: 0 0 45%; max-width: 45%; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.blog-post--style-blog_f6 .post-hero-imgwrap { max-width: 300px; }
.blog-post--style-blog_f6 .post-hero-img { max-width: 300px; width: 100%; height: auto; object-fit: contain; }
.post-hero-dl { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px 12px 20px; border-radius: 16px; background-image: linear-gradient(90deg, #2092ef 0%, #1668c3 100%); color: #fff; font-size: 18px; font-weight: 400; line-height: 1.3; text-decoration: none; }
.post-hero-dl::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: linear-gradient(90deg, #1668c3 0%, #2092ef 100%); opacity: 0; transition: opacity .4s var(--ease); }
.post-hero-dl:hover::before { opacity: 1; }
.post-hero-dl:hover { color: #fff; }
.post-hero-dl svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .post-hero.post-hero--style-blog_f6 { min-height: 0; padding-bottom: 0; overflow: hidden; }
  .blog-post.blog-post--style-blog_f6 .post-hero-grid { flex-direction: column; align-items: stretch; min-height: 0; max-height: none; max-width: none; margin: 0; padding: 0 20px; gap: 18px; }
  .blog-post--style-blog_f6 .post-hero-copy { flex: 0 0 auto; max-width: 100%; width: 100%; align-self: stretch; padding: 0; order: 1; margin-top: 20px; }
  .blog-post--style-blog_f6 .post-hero-media { flex: 0 0 auto; max-width: 100%; width: 100%; order: 2; align-items: center; justify-content: center; margin: 0; }
  .blog-post--style-blog_f6 .post-hero-imgwrap { max-width: 260px; }
  .blog-post--style-blog_f6 .post-hero-img { width: 100%; max-width: 260px; height: auto; object-fit: contain; }
  .post-hero.post-hero--style-blog_f6 .breadcrumbs { position: static; left: auto; top: auto; margin: 0 0 20px; }
  .blog-post.blog-post--style-blog_f6 .page-title { font-size: var(--hero-tt-m, 28px); overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  .post-hero.post-hero--style-blog_f6 { min-height: 0; padding-bottom: 0; }
}

/* ============================================================
   СТИЛЬ 2 — blog_f2 · 50/50, картинка от центра до ПРАВОГО края экрана (16:9)
   ============================================================ */
.post-hero--style-blog_f2 { position: relative; min-height: 520px; padding: 120px 0 0; display: block; background: none; }
.blog-post--style-blog_f2.has-post-bg .post-hero { background-image: var(--post-bg-image); background-size: cover; background-position: center; background-repeat: no-repeat; }
.post-hero--style-blog_f2 .breadcrumbs { position: absolute; top: 140px; left: max(20px, calc((100vw - 1200px) / 2)); margin: 0; z-index: 2; }
.blog-post.blog-post--style-blog_f2 .page-title { font-size: var(--hero-tt-d, 46px); line-height: 1.25; margin: 0; }
.blog-post--style-blog_f2 .post-hero-subtitle { margin-top: 12px; font-size: var(--hero-sub, 18px); }
.blog-post--style-blog_f2 .post-hero > .container { max-width: none; width: 100%; padding: 0; }
.blog-post.blog-post--style-blog_f2 .post-hero-grid { display: flex; align-items: stretch; min-height: 800px; max-height: 800px; max-width: none; width: 100%; padding: 0; }
.blog-post--style-blog_f2 .post-hero-copy { flex: 0 0 50%; max-width: 50%; align-self: center; min-width: 0; margin-top: 0; padding-left: max(20px, calc((100vw - 1200px) / 2)); padding-right: 32px; }
.blog-post--style-blog_f2 .post-hero-media { flex: 0 0 50%; max-width: 50%; align-items: center; justify-content: flex-end; }
.blog-post--style-blog_f2 .post-hero-imgwrap { align-items: center; }
.blog-post--style-blog_f2 .post-hero-img { max-width: 100%; max-height: 800px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) {
  .post-hero.post-hero--style-blog_f2 { min-height: 0; padding-bottom: 0; overflow: hidden; }
  .blog-post--style-blog_f2 .post-hero > .container { padding: 0 20px; }
  .blog-post.blog-post--style-blog_f2 .post-hero-grid { flex-direction: column; align-items: stretch; min-height: 0; max-height: none; max-width: none; margin: 0; padding: 0 20px; gap: 18px; }
  .blog-post--style-blog_f2 .post-hero-copy { flex: 0 0 auto; max-width: 100%; width: 100%; align-self: stretch; padding: 0; order: 1; margin-top: 20px; }
  .blog-post--style-blog_f2 .post-hero-media { flex: 0 0 auto; max-width: 100%; width: 100%; order: 2; align-items: center; justify-content: center; margin: 0; }
  .blog-post--style-blog_f2 .post-hero-img { width: 100%; max-width: 100%; height: auto; object-fit: contain; }
  .post-hero.post-hero--style-blog_f2 .breadcrumbs { position: static; left: auto; top: auto; margin: 0 0 20px; }
  .blog-post.blog-post--style-blog_f2 .page-title { font-size: var(--hero-tt-m, 28px); overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  .post-hero.post-hero--style-blog_f2 { min-height: 0; padding-bottom: 0; }
}

/* ============================================================
   СТИЛЬ 3 — blog_f3 · 55/45, картинка прижата к НИЗУ героя (1:1)
   ============================================================ */
.post-hero--style-blog_f3 { position: relative; min-height: 520px; padding: 120px 0 0; display: block; background: none; }
.blog-post--style-blog_f3.has-post-bg .post-hero { background-image: var(--post-bg-image); background-size: cover; background-position: center; background-repeat: no-repeat; }
.post-hero--style-blog_f3 .breadcrumbs { position: absolute; top: 140px; left: max(20px, calc((100vw - 1200px) / 2)); margin: 0; z-index: 2; }
.blog-post.blog-post--style-blog_f3 .page-title { font-size: var(--hero-tt-d, 46px); line-height: 1.25; margin: 0; }
.blog-post--style-blog_f3 .post-hero-subtitle { margin-top: 12px; font-size: var(--hero-sub, 18px); }
.blog-post.blog-post--style-blog_f3 .post-hero-grid { display: flex; align-items: stretch; min-height: 800px; max-height: 800px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.blog-post--style-blog_f3 .post-hero-copy { flex: 0 0 55%; max-width: 55%; align-self: center; min-width: 0; margin-top: 0; padding-right: 24px; }
.blog-post--style-blog_f3 .post-hero-media { flex: 0 0 45%; max-width: 45%; align-items: flex-end; justify-content: center; }
.blog-post--style-blog_f3 .post-hero-img { max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) {
  .post-hero.post-hero--style-blog_f3 { min-height: 0; padding-bottom: 0; overflow: hidden; }
  .blog-post.blog-post--style-blog_f3 .post-hero-grid { flex-direction: column; align-items: stretch; min-height: 0; max-height: none; max-width: none; margin: 0; padding: 0 20px; gap: 18px; }
  .blog-post--style-blog_f3 .post-hero-copy { flex: 0 0 auto; max-width: 100%; width: 100%; align-self: stretch; padding: 0; order: 1; margin-top: 20px; }
  .blog-post--style-blog_f3 .post-hero-media { flex: 0 0 auto; max-width: 100%; width: 100%; order: 2; align-items: center; justify-content: center; margin: 0; }
  .blog-post--style-blog_f3 .post-hero-img { width: 100%; max-width: 100%; height: auto; object-fit: contain; }
  .post-hero.post-hero--style-blog_f3 .breadcrumbs { position: static; left: auto; top: auto; margin: 0 0 20px; }
  .blog-post.blog-post--style-blog_f3 .page-title { font-size: var(--hero-tt-m, 28px); overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  .post-hero.post-hero--style-blog_f3 { min-height: 0; padding-bottom: 0; }
}

/* ============================================================
   СТИЛЬ 4 — blog_f4 · 55/45, картинка до ПРАВОГО и НИЖНЕГО края (1:1 / 3:4)
   Десктоп — фикс. высота героя 800px; в мобиле высота по контенту. Картинка прижата к правому и нижнему краю без отступов.
   ============================================================ */
.post-hero--style-blog_f4 { position: relative; min-height: 520px; padding: 120px 0 0; display: block; background: none; }
.blog-post--style-blog_f4.has-post-bg .post-hero { background-image: var(--post-bg-image); background-size: cover; background-position: center; background-repeat: no-repeat; }
.post-hero--style-blog_f4 .breadcrumbs { position: absolute; top: 140px; left: max(20px, calc((100vw - 1200px) / 2)); margin: 0; z-index: 2; }
.blog-post.blog-post--style-blog_f4 .page-title { font-size: var(--hero-tt-d, 46px); line-height: 1.25; margin: 0; }
.blog-post--style-blog_f4 .post-hero-subtitle { margin-top: 12px; font-size: var(--hero-sub, 18px); }
.blog-post--style-blog_f4 .post-hero > .container { max-width: none; width: 100%; padding: 0; }
.blog-post.blog-post--style-blog_f4 .post-hero-grid { display: flex; align-items: stretch; min-height: 800px; max-height: 800px; max-width: none; width: 100%; padding: 0; }
.blog-post--style-blog_f4 .post-hero-copy { flex: 0 0 55%; max-width: 55%; align-self: center; min-width: 0; margin-top: 0; padding-left: max(20px, calc((100vw - 1200px) / 2)); padding-right: 32px; }
.blog-post--style-blog_f4 .post-hero-media { flex: 0 0 45%; max-width: 45%; align-items: flex-end; justify-content: flex-end; margin: 0; }
.blog-post--style-blog_f4 .post-hero-img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .post-hero.post-hero--style-blog_f4 { min-height: 0; padding-bottom: 0; overflow: hidden; }
  .blog-post--style-blog_f4 .post-hero > .container { padding: 0 20px; }
  .blog-post.blog-post--style-blog_f4 .post-hero-grid { flex-direction: column; align-items: stretch; min-height: 0; max-height: none; max-width: none; margin: 0; padding: 0 20px; gap: 18px; }
  .blog-post--style-blog_f4 .post-hero-copy { flex: 0 0 auto; max-width: 100%; width: 100%; align-self: stretch; padding: 0; order: 1; margin-top: 20px; }
  .blog-post--style-blog_f4 .post-hero-media { flex: 0 0 auto; max-width: 100%; width: 100%; order: 2; align-items: center; justify-content: center; margin: 0; }
  .blog-post--style-blog_f4 .post-hero-img { width: 100%; max-width: 100%; height: auto; object-fit: contain; }
  .post-hero.post-hero--style-blog_f4 .breadcrumbs { position: static; left: auto; top: auto; margin: 0 0 20px; }
  .blog-post.blog-post--style-blog_f4 .page-title { font-size: var(--hero-tt-m, 28px); overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  .post-hero.post-hero--style-blog_f4 { min-height: 0; padding-bottom: 0; }
}

/* ============================================================
   СТИЛЬ 5 — blog_f5 · без заголовка, одна колонка 70%, картинка снизу по центру (16:9)
   ============================================================ */
.post-hero--style-blog_f5 { position: relative; min-height: 520px; padding: 120px 0 0; display: block; background: none; }
.blog-post--style-blog_f5.has-post-bg .post-hero { background-image: var(--post-bg-image); background-size: cover; background-position: center; background-repeat: no-repeat; }
.blog-post--style-blog_f5 .post-hero-grid { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 800px; max-height: 800px; max-width: none; width: 100%; }
.blog-post--style-blog_f5 .post-hero-copy { display: none; }
.blog-post--style-blog_f5 .post-hero-media { width: 70%; max-width: 1100px; align-items: flex-end; justify-content: center; }
.blog-post--style-blog_f5 .post-hero-img { width: 100%; object-fit: contain; }
@media (max-width: 900px) {
  .post-hero.post-hero--style-blog_f5 { min-height: 0; padding-bottom: 0; overflow: hidden; }
  .blog-post--style-blog_f5 .post-hero-grid { min-height: 0; max-height: none; }
  .blog-post--style-blog_f5 .post-hero-media { width: 100%; }
}
@media (max-width: 720px) {
  .post-hero.post-hero--style-blog_f5 { min-height: 0; padding-bottom: 0; }
}

/* Виньетка на картинке героя (опц.): затемняет края под цвет фона — прячет неровный край AI-картинок.
   ::after на <img> не рендерится, поэтому оверлей вешаем на обёртку .post-hero-imgwrap,
   которая ужимается ровно по картинке — виньетка ложится по краям картинки, а не колонки. */
.blog-post.has-hero-vignette .post-hero-imgwrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 60px 15px var(--hero-vignette-color, #000);
}

.post-hero--style-blog_cover {
  position: relative;
  background-position: center;
  background-size: cover;
}
.post-hero--style-blog_cover::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; background: rgba(0,0,0,.71);
}
.post-hero--style-blog_cover > .container { position: relative; z-index: 1; }
.post-hero--style-blog_mockup {
  background-position: right -120px center;
  background-size: clamp(720px, 60vw, 1060px) auto;
}

/* Стиль героя «Vault» — ассет внизу-справа, крупный H1 слева. */
.post-hero--style-blog_vault {
  position: relative;
  min-height: 960px;
  padding: 0 20px 100px;
  display: flex;
  align-items: stretch;
  background-repeat: no-repeat;
  background-position: right max(20px, calc((100vw - 1200px) / 2)) bottom;
  background-size: 874px auto;
}
.post-hero--style-blog_vault > .container {
  width: 100%;
  max-width: 1200px;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-post--style-blog_vault .breadcrumbs {
  position: absolute;
  left: 0;
  top: 150px;
  margin: 0;
}
.blog-post--style-blog_vault .post-hero-copy {
  width: 75%;
  max-width: 960px;
  margin: 0;
  padding: 0 0 80px;
}
.blog-post--style-blog_vault .page-title {
  padding: 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 49px;
  font-weight: 700;
  line-height: 1.4;
}
.blog-post--style-blog_vault .post-hero-subtitle {
  margin: 10px 0 30px;
  font-family: "Montserrat", var(--font-sans), sans-serif;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-text);
}
@media (max-width: 900px) {
  .post-hero.post-hero--style-blog_vault {
    min-height: 490px;
    padding: 20px;
    background-position: right 20px bottom;
    background-size: 407px auto;
  }
  .post-hero--style-blog_vault > .container { padding: 0; }
  .blog-post--style-blog_vault .breadcrumbs { left: 0; top: 28px; }
  .blog-post--style-blog_vault .post-hero-copy {
    width: 72%;
    max-width: none;
    padding: 0 0 50px;
  }
  .blog-post--style-blog_vault .page-title { font-size: 33px; line-height: 1.4; }
  .blog-post--style-blog_vault .post-hero-subtitle { margin: 10px 0 0; font-size: 22px; line-height: 1.4; }
}
@media (max-width: 720px) {
  .post-hero.post-hero--style-blog_vault {
    min-height: 510px;
    padding: 40px 20px 20px;
    background-position: bottom center;
    background-size: 100% auto;
  }
  .blog-post--style-blog_vault .breadcrumbs { top: 18px; }
  .blog-post--style-blog_vault .post-hero-copy {
    width: 100%;
    max-width: none;
    padding: 50px 0 164px;
  }
  .blog-post--style-blog_vault .page-title { font-size: 30px; line-height: 1.4; }
  .blog-post--style-blog_vault .post-hero-subtitle { margin: 8px 0 0; font-size: 22px; line-height: 1.4; }
}

/* ── Trust Wallet hero (live-параметры из post-3234.css) ── */
.post-hero--style-blog_trustwallet {
  position: relative;
  min-height: 950px;
  padding: 50px 20px 0;
  display: flex;
  align-items: stretch;
  background-repeat: no-repeat;
  background-position: right max(20px, calc((100vw - 1200px) / 2)) bottom;
  background-size: 440px auto;
}
.post-hero--style-blog_trustwallet > .container {
  width: 100%;
  max-width: 1320px; /* как у всех статей (глобальный --maxw), было 1200 — из-за этого контент стоял иначе */
  padding: 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-post--style-blog_trustwallet .breadcrumbs {
  position: absolute;
  left: 20px; /* как у blog_default_1 (контейнер теперь padding:0 20px) */
  top: 100px; /* секция имеет padding-top:50px, поэтому 100+50=150px от верха — как крошки у blog_default_1 */
  margin: 0;
}
.blog-post--style-blog_trustwallet .post-hero-copy {
  width: 70%;
  max-width: 820px;
  margin: 0;
  padding: 0 0 80px;
}
.blog-post--style-blog_trustwallet .page-title,
.blog-post--style-blog_trustwallet .post-hero-subtitle,
.blog-post--style-blog_trustwallet .post-hero-accent {
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 52px;
  line-height: 1.4;
}
.blog-post--style-blog_trustwallet .page-title {
  padding: 0;
  font-weight: 700;
}
.blog-post--style-blog_trustwallet .post-hero-subtitle {
  margin: 0;
  font-weight: 400;
  color: var(--c-text);
}
.blog-post--style-blog_trustwallet .post-hero-accent {
  margin: 0;
  font-weight: 700;
  color: #999999;
}
@media (max-width: 900px) {
  .post-hero.post-hero--style-blog_trustwallet {
    min-height: 450px;
    padding: 20px;
    background-position: right 20px bottom;
    background-size: 233px auto;
  }
  .blog-post--style-blog_trustwallet .breadcrumbs { top: 28px; }
  .blog-post--style-blog_trustwallet .post-hero-copy {
    width: 76%;
    max-width: none;
    padding: 0;
  }
  .blog-post--style-blog_trustwallet .page-title,
  .blog-post--style-blog_trustwallet .post-hero-subtitle,
  .blog-post--style-blog_trustwallet .post-hero-accent {
    font-size: 33px;
  }
}
@media (max-width: 720px) {
  .post-hero.post-hero--style-blog_trustwallet {
    min-height: 570px;
    padding: 20px;
    background-position: bottom center;
    background-size: 201px auto;
  }
  .blog-post--style-blog_trustwallet .breadcrumbs { top: 18px; }
  .blog-post--style-blog_trustwallet .post-hero-copy {
    width: 100%;
    padding: 70px 0 164px;
  }
  .blog-post--style-blog_trustwallet .page-title,
  .blog-post--style-blog_trustwallet .post-hero-subtitle { font-size: 24px; }
  .blog-post--style-blog_trustwallet .post-hero-accent { font-size: 26px; }
}

/* Стиль героя «Хакер» — тёмный full-height экран, обложка-фон contain справа, H1 слева. */
.post-hero--style-blog_hacker {
  position: relative;
  min-height: 950px;
  padding: 0 0 100px;
  display: flex;
  align-items: stretch;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}
.blog-post--style-blog_hacker .post-content-section {
  background-color: #0a0a0a;
}
.post-hero--style-blog_hacker > .container {
  width: 100%;
  padding: 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-post--style-blog_hacker .breadcrumbs {
  position: absolute;
  left: 20px;
  top: 150px;
  margin: 0;
}
.blog-post--style-blog_hacker .post-hero-copy {
  width: 61%;
  max-width: 732px;
  margin: 0;
  padding: 0 0 75px;
}
.blog-post--style-blog_hacker .page-title {
  padding: 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.4;
}
html[lang="ru"] .blog-post--style-blog_hacker .page-title {
  font-size: 46px;
}
.blog-post--style-blog_hacker .post-hero-subtitle {
  margin: 0;
}
@media (max-width: 900px) {
  .post-hero.post-hero--style-blog_hacker {
    min-height: 450px;
    padding: 20px 0;
    background-position: bottom right;
    background-size: auto 100%;
  }
  .post-hero--style-blog_hacker > .container {
    padding: 0 20px;
  }
  .blog-post--style-blog_hacker .breadcrumbs {
    top: 28px;
  }
  .blog-post--style-blog_hacker .post-hero-copy {
    width: 77%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .blog-post--style-blog_hacker .page-title,
  html[lang="ru"] .blog-post--style-blog_hacker .page-title {
    font-size: 34px;
    line-height: 1.4;
  }
}
@media (max-width: 720px) {
  .post-hero.post-hero--style-blog_hacker {
    min-height: 580px;
    padding: 50px 0 20px;
    background-position: bottom center;
    background-size: auto 100%;
  }
  .blog-post--style-blog_hacker .breadcrumbs {
    top: 18px;
  }
  .blog-post--style-blog_hacker .post-hero-copy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 50px 0 164px;
  }
  .blog-post--style-blog_hacker .page-title,
  html[lang="ru"] .blog-post--style-blog_hacker .page-title {
    font-size: 27px;
    line-height: 1.4;
  }
}

/* Таблицы в теле статьи */
.post-body table {
  width: 100%;
  margin: 34px 0 42px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: #101010;
  color: rgba(255,255,255,.74);
  font-size: 15px;
  line-height: 1.45;
}
.post-body table td,
.post-body table th {
  padding: 16px 18px;
  vertical-align: top;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.post-body table td:last-child,
.post-body table th:last-child {
  border-right: 0;
}
.post-body table tr:last-child td {
  border-bottom: 0;
}
.post-body table tr:first-child td,
.post-body table th {
  color: #fff;
  font-weight: 700;
  background: rgba(255,255,255,.045);
}
.post-body table p {
  margin: 0;
}
@media (max-width: 720px) {
  .post-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
  }
  .post-body table tbody {
    display: table;
    width: 100%;
    min-width: 680px;
  }
  .post-body table td,
  .post-body table th {
    padding: 14px 15px;
  }
}

/* ============================================================
   Page hero (/{slug}) — независимый набор стилей героя страниц.
   Включается только при наличии обложки; иначе — обычный .page-article.
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 950px;
  display: flex;
  align-items: flex-start;
  padding: 190px 0 100px;
  overflow: hidden;
  background-color: #0d0d0d;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 58% auto;
}
.page-hero.has-cover { background-image: var(--page-cover-image); }
.page-hero > .container { position: relative; z-index: 1; width: 100%; max-width: 1200px; }
.page-hero-text { width: min(620px, 100%); margin-top: 64px; }
.page-hero .breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px;
  color: rgba(255,255,255,.26); font-size: 14px; line-height: 1.35;
}
.page-hero .breadcrumbs a { color: rgba(255,255,255,.30); text-decoration: none; transition: color .15s var(--ease); }
.page-hero .breadcrumbs a:hover { color: rgba(255,255,255,.72); }
.page-hero .breadcrumbs .sep { color: rgba(255,255,255,.18); }
.page-hero-title {
  margin: 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-weight: 800; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.15; color: #fff;
}
.page-hero--style-page_cover {
  align-items: center; padding: 120px 0;
  background-position: center; background-size: cover;
}
.page-hero--style-page_cover::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: rgba(0,0,0,.71);
}
.page-hero--style-page_mockup {
  align-items: center;
  background-position: right -120px center;
  background-size: clamp(720px, 60vw, 1060px) auto;
}

/* ── USDT-Freeze hero (ассет справа, подзаголовок + кнопка + Telegram) ── */
.page-hero.page-hero--style-page_usdtfreeze {
  align-items: flex-start;
  min-height: 950px;
  padding: 0;
  background-color: #000;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 50% auto;
}
.page-hero.page-hero--style-page_usdtfreeze.has-cover {
  background-image:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.97) 42%, rgba(0,0,0,.34) 68%, rgba(0,0,0,.58) 100%),
    var(--page-cover-image);
  background-position: center, center right;
  background-size: 100% 100%, 50% auto;
}
.page-hero.page-hero--style-page_usdtfreeze > .container {
  width: 100%;
  max-width: 1200px;
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-text {
  width: min(939px, 100%);
  margin-top: 0;
  padding: 300px 0 250px;
}
.page-hero.page-hero--style-page_usdtfreeze .breadcrumbs {
  display: none;
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-title {
  margin: 0;
  max-width: 939px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-subtitle {
  margin: 30px 0 0;
  max-width: 806px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,.86);
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  margin-top: 35px;
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 16px;
  background: linear-gradient(90deg, #2092ef 0%, #1668c3 100%);
  color: #fff;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-btn::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-btn:hover {
  background: linear-gradient(90deg, #1668c3 0%, #2092ef 100%);
  color: #fff;
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: #fff;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: color .15s var(--ease);
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-tg::before {
  content: '';
  width: 24px;
  height: 24px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 158 158'%3E%3Cpath d='M29.8444 76.1241C30.0653 76.0136 30.2862 75.9087 30.5015 75.8093C34.2445 74.0753 38.0371 72.4518 41.8243 70.8282C42.0285 70.8282 42.3707 70.5908 42.5639 70.5135C42.8565 70.3865 43.1492 70.265 43.4418 70.138C44.0049 69.895 44.568 69.6575 45.1256 69.4146C46.2518 68.9341 47.3724 68.4537 48.4986 67.9732L55.2392 65.0851C59.733 63.1634 64.2324 61.2361 68.7262 59.3144C73.22 57.3926 77.7192 55.4654 82.213 53.5436C86.7068 51.6219 91.206 49.6946 95.6998 47.7729C100.194 45.8512 104.693 43.9239 109.187 42.0022C110.186 41.5714 111.268 40.9308 112.339 40.7431C113.239 40.5829 114.117 40.2737 115.022 40.1025C116.739 39.7767 118.632 39.6442 120.278 40.3566C120.846 40.6051 121.371 40.953 121.807 41.3892C123.894 43.4545 123.601 46.8452 123.159 49.7498C120.084 69.9944 117.009 90.2444 113.929 110.489C113.509 113.267 112.935 116.315 110.743 118.071C108.889 119.556 106.25 119.722 103.959 119.093C101.668 118.458 99.6471 117.127 97.6652 115.818C89.445 110.373 81.2193 104.928 72.9991 99.4831C71.0448 98.1909 68.8698 96.5011 68.8918 94.1542C68.9029 92.7405 69.7475 91.4814 70.6087 90.3604C77.7523 81.0389 88.0593 74.6331 95.7275 65.7423C96.8095 64.4887 97.6597 62.2246 96.1747 61.5012C95.2914 61.0704 94.2755 61.6558 93.4695 62.2135C83.3336 69.2544 73.2034 76.3008 63.0676 83.3416C59.7607 85.6389 56.2938 88.0024 52.3079 88.5657C48.7416 89.0737 45.1532 88.0797 41.7028 87.0636C38.81 86.2132 35.9227 85.3407 33.0464 84.4405C31.5172 83.9656 29.9383 83.4521 28.7569 82.3752C27.5755 81.2984 26.8965 79.4871 27.6087 78.0513C28.0559 77.1512 28.9226 76.5824 29.8335 76.1185L29.8444 76.1241Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 158 158'%3E%3Cpath d='M29.8444 76.1241C30.0653 76.0136 30.2862 75.9087 30.5015 75.8093C34.2445 74.0753 38.0371 72.4518 41.8243 70.8282C42.0285 70.8282 42.3707 70.5908 42.5639 70.5135C42.8565 70.3865 43.1492 70.265 43.4418 70.138C44.0049 69.895 44.568 69.6575 45.1256 69.4146C46.2518 68.9341 47.3724 68.4537 48.4986 67.9732L55.2392 65.0851C59.733 63.1634 64.2324 61.2361 68.7262 59.3144C73.22 57.3926 77.7192 55.4654 82.213 53.5436C86.7068 51.6219 91.206 49.6946 95.6998 47.7729C100.194 45.8512 104.693 43.9239 109.187 42.0022C110.186 41.5714 111.268 40.9308 112.339 40.7431C113.239 40.5829 114.117 40.2737 115.022 40.1025C116.739 39.7767 118.632 39.6442 120.278 40.3566C120.846 40.6051 121.371 40.953 121.807 41.3892C123.894 43.4545 123.601 46.8452 123.159 49.7498C120.084 69.9944 117.009 90.2444 113.929 110.489C113.509 113.267 112.935 116.315 110.743 118.071C108.889 119.556 106.25 119.722 103.959 119.093C101.668 118.458 99.6471 117.127 97.6652 115.818C89.445 110.373 81.2193 104.928 72.9991 99.4831C71.0448 98.1909 68.8698 96.5011 68.8918 94.1542C68.9029 92.7405 69.7475 91.4814 70.6087 90.3604C77.7523 81.0389 88.0593 74.6331 95.7275 65.7423C96.8095 64.4887 97.6597 62.2246 96.1747 61.5012C95.2914 61.0704 94.2755 61.6558 93.4695 62.2135C83.3336 69.2544 73.2034 76.3008 63.0676 83.3416C59.7607 85.6389 56.2938 88.0024 52.3079 88.5657C48.7416 89.0737 45.1532 88.0797 41.7028 87.0636C38.81 86.2132 35.9227 85.3407 33.0464 84.4405C31.5172 83.9656 29.9383 83.4521 28.7569 82.3752C27.5755 81.2984 26.8965 79.4871 27.6087 78.0513C28.0559 77.1512 28.9226 76.5824 29.8335 76.1185L29.8444 76.1241Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(-2px);
}
.page-hero.page-hero--style-page_usdtfreeze .page-hero-tg:hover {
  color: #acacac;
}
.page-hero.page-hero--style-page_usdtfreeze + .page-article--with-hero {
  padding-top: 0;
}
.page-hero.page-hero--style-page_usdtfreeze + .page-sections--with-hero {
  background: #000;
}

/* Пустые <p>-артефакты WYSIWYG вокруг [section]-шорткодов на section-only страницах
   (page.php): браузер авто-закрывает <p> перед блочным <section>, остаётся пустой
   параграф с дефолтным margin — между героем и секциями вылезала серая полоса ~16px. */
.page-sections > p { margin: 0; }
.page-sections > p:empty { display: none; }

/* ── USDT-Freeze контентные секции (модули usdt_why/who/what/how) ── */
.usdt-sec {
  padding: 0 0 150px;
  background: #000;
}
.usdt-sec > .container {
  max-width: 1200px;
  padding-right: 0;
  padding-left: 0;
}
.usdt-sec-title {
  max-width: 939px;
  margin: 0 auto 40px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  color: #fff;
}
.usdt-sec-intro {
  max-width: 1000px;
  margin: 0 auto 35px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: rgba(255,255,255,.78);
}
.usdt-grid {
  display: grid;
  gap: 20px;
  margin: 0 auto;
}
.usdt-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
}
.usdt-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
}
.usdt-who .usdt-grid--3,
.usdt-what .usdt-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 30%));
  justify-content: center;
}
.usdt-card {
  min-width: 0;
  padding: 30px;
  border: 0;
  border-radius: 20px;
  background: #0e0f12;
}
.usdt-card-title {
  margin: 0 0 10px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: #fff;
}
.usdt-card-text {
  margin: 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #d1d1d1;
}
.usdt-card--ico {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 30px 30px;
}
.usdt-who .usdt-card--ico,
.usdt-what .usdt-card--ico {
  align-items: center;
}
.usdt-card--ico .usdt-card-title {
  align-self: stretch;
  margin-bottom: 0;
  font-size: 20px;
  text-align: left;
}
.usdt-card--ico .usdt-card-text {
  align-self: stretch;
  text-align: left;
  color: #d4d4d4;
}
.usdt-card-ico {
  align-self: flex-start;
  display: block;
  width: 80px;
  max-width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0;
}
.usdt-intro {
  padding-top: 150px;
  padding-bottom: 200px;
}
.usdt-why {
  padding-bottom: 200px;
}
.usdt-who {
  padding-bottom: 200px;
}
.usdt-what {
  padding-bottom: 200px;
}
.usdt-intro-body {
  max-width: 1120px;
  margin: 0 auto;
}
.usdt-intro-text {
  margin: 0 auto 20px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: rgba(255,255,255,.82);
}
.usdt-intro-text:last-child {
  margin-bottom: 0;
}
.usdt-who .usdt-sec-title,
.usdt-what .usdt-sec-title,
.usdt-how .usdt-sec-title,
.usdt-describe .usdt-sec-title {
  margin-bottom: 15px;
}
.usdt-what .usdt-sec-intro {
  max-width: 798px;
}
.usdt-how {
  padding-bottom: 250px;
}
.usdt-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 30%));
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.usdt-step {
  position: relative;
  min-width: 0;
  min-height: 260px;
  padding: 20px 20px 35px 25px;
  overflow: hidden;
  border-right: 1px solid #171717;
  border-bottom: 1px solid #171717;
}
.usdt-step:last-child {
  border-right: 0;
}
.usdt-step-num {
  position: absolute;
  right: -10px;
  bottom: -38px;
  z-index: 0;
  pointer-events: none;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 220px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,.07);
}
.usdt-step-body {
  position: relative;
  z-index: 1;
}
.usdt-step .usdt-card-title {
  font-size: 19px;
}
.usdt-note {
  display: grid;
  grid-template-columns: minmax(0, .46fr) minmax(0, .45fr);
  justify-content: space-between;
  gap: 30px;
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px;
  border: 0;
  border-radius: 20px;
  background: #0e0f12;
}
.usdt-note-title {
  margin: 0 0 14px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.usdt-note-red {
  margin: 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #ca0833;
}
.usdt-note-list {
  display: grid;
  gap: 14px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.usdt-note-list li {
  position: relative;
  padding-left: 24px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}
.usdt-note-list li::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 10px;
  height: 10px;
  background: #ca0833;
}
.usdt-describe {
  padding-bottom: 200px;
}
.usdt-describe-inner {
  max-width: 939px;
  margin: 0 auto;
  text-align: center;
}
.usdt-describe-text {
  max-width: 745px;
  margin: 0 auto 35px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
}
.usdt-describe-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-top: 0;
}
.usdt-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 16px;
  background: linear-gradient(90deg, #2092ef 0%, #1668c3 100%);
  color: #fff;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.usdt-cta-btn:hover {
  background: linear-gradient(90deg, #1668c3 0%, #2092ef 100%);
  color: #fff;
}
.usdt-cta-tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: #fff;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: color .15s var(--ease);
}
.usdt-cta-arrow {
  flex: none;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.usdt-cta-tg-ic {
  flex: 0 0 auto;
  display: block;
  transform: translateY(-2px);
}
.usdt-cta-tg,
.usdt-cta-btn { text-decoration: none; }
.usdt-cta-tg:hover {
  color: #acacac;
}
/* FAQ-аккордеон (usdt_faq) */
.usdt-faq-title { text-align: center; margin-bottom: 20px; }
.usdt-acc { max-width: 980px; margin: 0 auto; }
.usdt-acc-item { border-bottom: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.usdt-acc-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0 15px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 18px; font-weight: 700; color: #fff; line-height: 1.4;
}
.usdt-acc-ic {
  flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 0;
}
.usdt-acc-ic::before, .usdt-acc-ic::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px;
  background: #fff; transform: translate(-50%,-50%);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.usdt-acc-ic::after { transform: translate(-50%,-50%) rotate(90deg); }
.usdt-acc-item.is-open .usdt-acc-ic::after { opacity: 0; }
.usdt-acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease); }
.usdt-acc-item.is-open .usdt-acc-a { grid-template-rows: 1fr; }
.usdt-acc-a-inner { overflow: hidden; }
.usdt-acc-a-inner p {
  margin: 0; padding: 0 0 15px; max-width: 880px;
  font-size: 16px; line-height: 1.5; color: #a6a6a6;
}
/* подзаголовок формы (usdt_form) */
.saa-sub { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.6); }
.saa.usdt-form {
  padding: 0 0 126px;
}
.saa.usdt-form > .container {
  max-width: 1200px;
}
.saa.usdt-form .saa-grid {
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  gap: 30px;
  align-items: stretch;
}
.saa.usdt-form .saa-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 80px;
}
.saa.usdt-form .saa-h2 {
  max-width: none;
  font-size: 42px;
  line-height: 1.3;
}
.saa.usdt-form .saa-sub {
  max-width: 745px;
  margin-top: 20px;
  padding-right: 100px;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,.78);
}
.saa.usdt-form .saa-card {
  min-height: auto;
  padding: 30px;
  border-radius: 20px;
  background: #17191c;
}
@media (max-width: 640px) {
  .usdt-acc-q { font-size: 16px; padding: 20px 0; gap: 14px; }
}
@media (max-width: 900px) {
  .page-hero.page-hero--style-page_usdtfreeze {
    min-height: 740px;
    background-position: bottom right;
    background-size: 598px auto;
  }
  .page-hero.page-hero--style-page_usdtfreeze.has-cover {
    background-position: center, bottom right;
    background-size: 100% 100%, 598px auto;
  }
  .page-hero.page-hero--style-page_usdtfreeze > .container {
    padding-right: 20px;
    padding-left: 20px;
  }
  .page-hero.page-hero--style-page_usdtfreeze .page-hero-text {
    padding: 150px 0 250px;
  }
  .page-hero.page-hero--style-page_usdtfreeze .page-hero-title {
    font-size: 43px;
  }
  .usdt-sec > .container {
    padding-right: 20px;
    padding-left: 20px;
  }
  .usdt-sec-title {
    font-size: 40px;
  }
  .usdt-note-title {
    font-size: 24px;
  }
  .saa.usdt-form {
    padding: 20px 20px 100px;
  }
  .saa.usdt-form > .container {
    padding-right: 0;
    padding-left: 0;
  }
}
@media (max-width: 720px) {
  .page-hero.page-hero--style-page_usdtfreeze {
    min-height: 100vh;
    background-position: bottom center;
    background-size: 100% auto;
  }
  .page-hero.page-hero--style-page_usdtfreeze.has-cover {
    background-image:
      linear-gradient(180deg, #000 0%, rgba(0,0,0,.98) 42%, rgba(0,0,0,.42) 78%, rgba(0,0,0,.78) 100%),
      var(--page-cover-image);
    background-position: center, bottom center;
    background-size: 100% 100%, 100% auto;
  }
  .page-hero.page-hero--style-page_usdtfreeze .page-hero-text {
    width: 100%;
    padding: 150px 0 260px;
  }
  .page-hero.page-hero--style-page_usdtfreeze .page-hero-title {
    font-size: 27px;
  }
  .page-hero.page-hero--style-page_usdtfreeze .page-hero-subtitle {
    max-width: 100%;
    font-size: 16px;
  }
  .page-hero.page-hero--style-page_usdtfreeze .page-hero-btn {
    font-size: 16px;
  }
  .page-hero.page-hero--style-page_usdtfreeze .page-hero-tg {
    font-size: 15px;
  }
  .usdt-sec {
    padding-bottom: 150px;
  }
  .usdt-sec-title {
    font-size: 25px;
  }
  .usdt-sec-intro,
  .usdt-card-text,
  .usdt-note-red,
  .usdt-note-list li,
  .usdt-describe-text {
    font-size: 16px;
  }
  .usdt-card {
    padding: 20px;
  }
  .usdt-card--ico {
    padding: 20px 20px 30px;
  }
  .saa.usdt-form {
    padding: 0 20px 100px;
  }
  .saa.usdt-form > .container {
    padding-right: 0;
    padding-left: 0;
  }
  .saa.usdt-form .saa-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .saa.usdt-form .saa-h2 {
    font-size: 30px;
  }
  .saa.usdt-form .saa-sub {
    padding-right: 0;
    font-size: 16px;
  }
  .usdt-steps {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }
  .usdt-step {
    min-height: 220px;
    border-right: 0;
  }
  .usdt-step:last-child {
    border-bottom: 1px solid #171717;
  }
  .usdt-note {
    grid-template-columns: 1fr;
  }
  .usdt-note-title {
    font-size: 22px;
  }
}
@media (max-width: 960px) {
  .usdt-how {
    padding-bottom: 150px;
  }
  .usdt-who .usdt-grid--3,
  .usdt-what .usdt-grid--3,
  .usdt-grid--3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .usdt-grid--4,
  .usdt-grid--3 {
    grid-template-columns: 1fr;
  }
  .usdt-note {
    width: 100%;
    padding: 24px 20px;
  }
}
@media (max-width: 900px) {
  .page-hero { min-height: 650px; padding: 128px 0 82px; background-position: bottom right; background-size: 70% auto; }
  .page-hero > .container { padding: 0 16px; }
  .page-hero-text { width: min(520px, 100%); margin-top: 44px; }
  .page-hero-title { font-size: 40px; }
}
@media (max-width: 720px) {
  .page-hero { min-height: 520px; padding: 92px 0 200px; background-position: bottom center; background-size: 94% auto; }
  .page-hero-title { font-size: 34px; line-height: 1.12; }
}

.post-hero > .container,
.post-content-section > .container {
  max-width: 1200px;
}
.post-hero--style-blog_default_1 > .container {
  width: 100%;
  padding: 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-post .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255,255,255,.26);
  font-size: 14px;
  line-height: 1.35;
}
.blog-post--style-blog_default_1 .breadcrumbs {
  position: absolute;
  left: 20px;
  top: 150px;
  margin: 0;
}
.blog-post .breadcrumbs a {
  color: rgba(255,255,255,.30);
  text-decoration: none;
  transition: color .15s var(--ease);
}
.blog-post .breadcrumbs a:hover { color: rgba(255,255,255,.72); }
.blog-post .breadcrumbs .sep { color: rgba(255,255,255,.18); }
.post-hero-copy {
  max-width: 620px;
  margin-top: 64px;
}
.blog-post--style-blog_default_1 .post-hero-copy {
  width: 59%;
  max-width: 708px;
  margin: 0;
  padding: 0 0 75px;
}
.blog-post .page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--c-text);
}
.blog-post--style-blog_default_1 .page-title {
  padding: 0 0 20px;
  font-family: "Montserrat", var(--font-display), sans-serif;
}
.post-hero-subtitle {
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,.62);
}
.blog-post--style-blog_default_1 .post-hero-subtitle {
  margin: 0;
  font-family: "Montserrat", var(--font-sans), sans-serif;
  font-weight: 400;
  color: rgba(255,255,255,.86);
}
html[lang="ru"] .blog-post--style-blog_default_1 .page-title {
  font-size: 41px;
}
.post-meta-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 13px; letter-spacing: 0;
  color: rgba(255,255,255,.44); text-transform: none;
  margin: 0;
}
.post-cat-chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in oklab, var(--c-surface-2) 50%, var(--c-accent) 25%);
  color: var(--c-text); text-decoration: none;
  transition: background .15s var(--ease);
}
.post-cat-chip:hover { background: var(--c-accent); color: var(--c-accent-ink); }
.post-content-section { padding-top: 50px; }
.post-layout {
  display: block;
}
.post-main {
  min-width: 0;
  max-width: none;
}
.post-author {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--c-text);
  text-decoration: none;
}
.post-author:hover { color: var(--c-text); }
.post-author:hover .post-author-name { color: #fff; }
.post-author--plain { cursor: default; }
.post-author--plain .post-author-name { text-decoration: none; }
.post-author-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 84px;
  background: #0d0d0d;
}
.post-author-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.25;
}
.post-author-name {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-author-role {
  color: rgba(255,255,255,.46);
  font-size: 13px;
  font-weight: 400;
}
.post-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  max-width: 1200px;
  margin: 44px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.post-footer-meta .post-meta-top::before {
  content: '';
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  opacity: .55;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9ZM5 6a1 1 0 0 0-1 1v1h16V7a1 1 0 0 0-1-1H5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9ZM5 6a1 1 0 0 0-1 1v1h16V7a1 1 0 0 0-1-1H5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.post-body {
  max-width: 1200px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,.72);
}
.post-body > *:first-child { margin-top: 0; }
.post-body > *:last-child { margin-bottom: 0; }
.post-body p {
  margin: 0 0 20px;
}
.post-body h2,
.post-body h3,
.post-body h4 {
  margin: 28px 0 10px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.post-body h2 strong,
.post-body h3 strong,
.post-body h4 strong {
  font-weight: inherit;
}
.post-body h5,
.post-body h6 {
  margin: 18px 0 24px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(255,255,255,.82);
}
.post-body em {
  color: rgba(255,255,255,.82);
}
.post-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 12px;
}
/* Курсивные врезки (целиком <em>-абзац) — с левым отступом, как на лайве; первый лид-абзац остаётся без отступа */
.post-body p:not(:first-child):has(> em:only-child) {
  padding-left: 40px;
}
.post-body ul {
  margin: 0 0 20px;
  padding-left: 24px;
  list-style: disc;
}
.post-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
  list-style: decimal;
}
.post-body li {
  margin: 0 0 10px;
  padding-left: 4px;
}
.post-body li::marker { color: rgba(255,255,255,.45); }

/* Post navigation (prev/next) */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 34px 0 0;
  padding-top: 0;
  border-top: 0;
}
.post-nav-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 118px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  text-decoration: none;
  color: var(--c-text);
  background: #101010;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), transform .15s var(--ease);
}
.post-nav-link:hover { border-color: rgba(255,255,255,.16); background: #151515; transform: translateY(-2px); }
.post-nav-link--prev { text-align: left; }
.post-nav-link--next { text-align: right; grid-template-columns: auto 1fr auto; }
.post-nav-arr {
  font-size: 18px;
  line-height: 1;
  color: rgba(255,255,255,.54);
}
.post-nav-meta {
  display: block;
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.34);
  grid-column: 1 / -1;
}
.post-nav-link--prev .post-nav-meta { text-align: left; }
.post-nav-link--next .post-nav-meta { text-align: right; }
.post-nav-title {
  display: block;
  font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.86);
  grid-column: 1 / -1;
}

.post-aside {
  margin: 64px 0 0;
  background: #0a0a0a;
  border-radius: 18px;
  padding: 28px;
}
.post-aside-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; line-height: 1.25; letter-spacing: 0;
  color: var(--c-text);
  margin: 0 0 22px;
}
.post-aside-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}
.post-aside-item { border-top: 1px solid rgba(255,255,255,.06); }
.post-aside-item a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  transition: color .15s var(--ease);
}
.post-aside-cat {
  display: block;
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0;
  color: rgba(255,255,255,.28);
  margin-bottom: 7px;
}
.post-aside-link-title {
  display: block;
  font-size: 14px; line-height: 1.42;
  color: rgba(255,255,255,.58);
  transition: color .15s var(--ease);
}
.post-aside-item a:hover .post-aside-link-title { color: var(--c-text); }
@media (max-width: 900px) {
  .post-hero {
    min-height: 650px;
    padding: 128px 0 82px;
    background-position: bottom right;
    background-size: 70% auto;
  }
  .post-hero--style-blog_default_1 {
    min-height: 450px;
    padding: 20px 0;
    background-position: bottom right;
    background-size: 68% auto;
  }
  .post-hero > .container,
  .post-content-section > .container { padding: 0 16px; }
  .post-hero--style-blog_default_1 > .container {
    padding: 0 20px;
  }
  .blog-post--style-blog_default_1 .breadcrumbs {
    top: 28px;
  }
  .post-hero-copy {
    max-width: 520px;
    margin-top: 44px;
  }
  .blog-post--style-blog_default_1 .post-hero-copy {
    width: 78%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .blog-post .page-title { font-size: 40px; }
  .blog-post--style-blog_default_1 .page-title,
  html[lang="ru"] .blog-post--style-blog_default_1 .page-title {
    font-size: 27px;
    line-height: 1.4;
  }
  .post-content-section { padding-top: 44px; }
  .post-main,
  .post-body { max-width: none; }
  .post-aside-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .blog-post { padding-bottom: 60px; }
  .post-hero {
    min-height: 565px;
    padding: 92px 0 220px;
    background-position: bottom center;
    background-size: 94% auto;
  }
  .post-hero--style-blog_default_1 {
    min-height: 565px;
    padding: 50px 0 20px;
    background-position: bottom center;
    background-size: 90% auto;
  }
  .blog-post .breadcrumbs {
    font-size: 13px;
  }
  .blog-post--style-blog_default_1 .breadcrumbs {
    top: 18px;
  }
  .post-hero-copy {
    margin-top: 34px;
  }
  .blog-post--style-blog_default_1 .post-hero-copy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 50px 0 164px;
  }
  .blog-post .page-title {
    font-size: 34px;
    line-height: 1.12;
  }
  .blog-post--style-blog_default_1 .page-title {
    font-size: 27px;
    line-height: 1.4;
    padding-bottom: 15px;
  }
  html[lang="ru"] .blog-post--style-blog_default_1 .page-title {
    font-size: 27px;
  }
  .post-meta-top { font-size: 12px; }
  .post-body { font-size: 16px; line-height: 1.7; }
  .post-footer-meta {
    gap: 16px;
    margin-top: 34px;
    padding-top: 20px;
  }
  .post-aside {
    margin-top: 48px;
    padding: 22px 20px;
    border-radius: 14px;
  }
  .post-aside-title { font-size: 22px; }
  .post-nav { grid-template-columns: 1fr; gap: 14px; }
  .post-nav-link,
  .post-nav-link--next {
    min-height: 104px;
    text-align: left;
    grid-template-columns: auto 1fr;
  }
  .post-nav-link--next .post-nav-arr { display: none; }
}

.post-body a { color: var(--c-text); text-decoration: underline; text-underline-offset: 2px; }
.post-body a:hover { color: var(--c-text); text-decoration: underline; opacity: .78; }

.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s-6) 0 0; }
.post-tag {
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 10px; border-radius: 8px;
  background: var(--c-surface); border: 0;
  color: var(--c-text-mute);
}

/* ============================================================
   HERO 2 — black bg + 6 huge irregular blobs, film-grain overlay
   ============================================================ */

.h2-section {
  position: relative;
  min-height: 88vh;
  padding: 160px 24px 146px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #060012 url('media/hero-poster.webp') center/cover no-repeat;
  border-radius: 0 0 40px 40px;
}

.h2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .5s ease-out;
}
.h2-bg.is-loaded { opacity: 1; }

.h2-center {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}
.h2-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -.025em;
  color: #fff;
  margin: 0 0 40px;
}
.h2-sub {
  margin: 0 auto 44px;
  max-width: 60ch;
  color: rgba(255,255,255,.9);
  font-size: 34px;
  line-height: 1.35;
}
.h2-cta { display: flex; justify-content: center; }
.h2-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(30,30,30,.77);
  border: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(12px);

  transition: background .2s var(--ease), transform .2s var(--ease);
}
.h2-btn:hover { background: rgba(45,45,45,.85); transform: translateY(-1px); color: #fff; }
.h2-btn svg { width: 18px; height: 18px; }

.h2-badges {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(18px, 3.4vw, 44px);
  margin: 0 auto 44px;
}
.h2-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.h2-badge--partner { transition: opacity .2s var(--ease); }
.h2-badge--partner:hover { opacity: .82; color: #fff; }
.h2-badge-top {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
  white-space: nowrap;
}
.h2-badge--amount .h2-badge-top {
  font-size: clamp(38px, 4.3vw, 52px);
  font-weight: 700;
  line-height: 1;
  padding-top: 5px;
  text-box: trim-both cap alphabetic;
  -webkit-text-box: trim-both cap alphabetic;
  background: linear-gradient(to top right, #0070da, #73ccfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.h2-badge-logo {
  height: clamp(44px, 4.6vw, 56px);
  width: auto;
  display: block;
}
.h2-badge-sub {
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
  text-align: center;
}
.h2-badge--amount .h2-badge-sub {
  font-size: clamp(15px, 1.45vw, 20px);
}
.h2-badge--partner .h2-badge-sub {
  font-size: clamp(11px, .9vw, 13px);
  letter-spacing: -.005em;
}
.h2-badges-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.55);
}

.h2-partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  margin-bottom: 36px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.04);
  transition: border-color .2s, color .2s, background .2s;
}
.h2-partner:hover {
  border-color: rgba(255,255,255,.3);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.h2-partner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.82); }
}

@media (max-width: 980px) {
  .h2-section { min-height: 88vh; padding: 128px 24px 80px; border-radius: 0 0 24px 24px; }
  .h2-title { font-size: clamp(36px, 8vw, 64px); }
}
@media (max-width: 520px) {
  .h2-section { padding: 108px 20px 64px; border-radius: 0 0 16px 16px; }
  .h2-btn { justify-content: center; }
  .h2-sub { font-size: 22px; margin-bottom: 36px; }
}

/* ============================================================
   MATCH SYSTEMS HERO
   ============================================================ */

.ms-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.50), transparent 27%),
    #000;
  color: #fff;
  min-height: 100vh;
  padding: 120px 0 160px;
}

.ms-hero-shell {
  width: min(1200px, calc(100vw - 48px));
  max-width: 1200px;
}

.ms-hero-main {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 219px;
  text-align: center;
}

.ms-hero-title {
  max-width: 780px;
  margin: 0 auto 30px;
  font-family: var(--font-sans);
  font-size: 65px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}

.ms-hero-lead {
  margin: 0 0 40px;
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}

.ms-hero-cta {
  display: flex;
  justify-content: center;
}

.ms-hero-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-direction: row-reverse;
  padding: 12px 16px 12px 20px;
  border-radius: 16px;
  background-image: linear-gradient(90deg, #2092ef 0%, #1668c3 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

/* hover-градиент кроссфейдится через opacity (background-image не анимируется) */
.ms-hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: linear-gradient(90deg, #1668c3 0%, #2092ef 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.ms-hero-btn:hover { color: #fff; }
.ms-hero-btn:hover::before { opacity: 1; }

.ms-hero-btn-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.ms-hero-btn-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ms-hero-lower {
  margin-top: 255px;
}

.ms-hero-alert,
.ms-hero-media {
  border-radius: 20px;
}

.ms-hero-alert {
  width: min(1136px, 100%);
  max-width: 1136px;
  min-height: 170px;
  margin: 0 auto;
  padding: 50px 30px;
  background: #101010;
  position: relative;
  z-index: 2;
  text-align: center;
}

.ms-hero-alert-title {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.ms-hero-alert-sub {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: #b5b5b5;
}

.ms-hero-media {
  --hero-reveal: 1;          /* 0 = задвинуто под плашку, 1 = выехало целиком. JS скрабит на скролле */
  --hero-reveal-travel: 140px;  /* глубина захода под плашку при reveal=0 */
  --hero-reveal-out: 48px;      /* доводка вниз при reveal=1: 18px гасят margin + 30px зазор от плашки */
  width: min(880px, 100%);
  max-width: 880px;
  margin: -18px auto 0;
  min-height: 440px;
  overflow: hidden;
  background: #020813;
  position: relative;
  z-index: 1;
  transform: translate3d(0, calc(var(--hero-reveal) * var(--hero-reveal-out) - (1 - var(--hero-reveal)) * var(--hero-reveal-travel)), 0);
  will-change: transform;
}

.ms-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .ms-hero-title { font-size: 56px; }
  .ms-hero-lead { font-size: 30px; }
}

@media (max-width: 1024px) {
  .ms-hero {
    padding-top: 120px;
    padding-bottom: 110px;
  }

  .ms-hero-main {
    padding-top: 80px;
  }

  .ms-hero-title {
    font-size: 60px;
  }

  .ms-hero-lead {
    font-size: 30px;
  }

  .ms-hero-media {
    --hero-reveal-travel: 110px;
    min-height: 290px;
  }

  .ms-hero-video {
    min-height: 290px;
  }
}

@media (max-width: 767px) {
  .ms-hero {
    min-height: 0;
    padding: 0 0 72px;
  }

  .ms-hero-main {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ms-hero-title {
    margin-bottom: 20px;
    font-size: 36px;
  }

  .ms-hero-lead {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .ms-hero-btn {
    justify-content: center;
  }

  .ms-hero-alert {
    padding: 32px 20px;
  }

  .ms-hero-alert-title,
  .ms-hero-alert-sub {
    font-size: 18px;
  }

  .ms-hero-media,
  .ms-hero-video {
    min-height: 175px;
  }

  .ms-hero-media {
    --hero-reveal-travel: 70px;
  }

  .ms-hero-lower {
    margin-top: 64px;
  }
}

/* ============================================================
   MS-ASSESS — "Not sure if recovery is possible?"
   ============================================================ */

.ms-assess {
  padding: 20px 20px 300px;
  background: #000;
  text-align: center;
  font-family: "Montserrat", var(--font-display);
}

.ms-assess > .container {
  max-width: 1200px;
  padding-left: 0;
  padding-right: 0;
}

.ms-assess-title {
  width: 80%;
  max-width: 80%;
  margin: 0 auto 20px;
  font-family: "Montserrat", var(--font-display);
  font-size: 43px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}

.ms-assess-sub {
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
  font-family: "Montserrat", var(--font-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.3;
  color: #c8c8c8;
}

.ms-assess-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 40px;
}

.ms-assess-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 9px;
  padding: 12px 16px 12px 20px;
  border-radius: 16px;
  background-image: linear-gradient(90deg, #2092ef 0%, #1668c3 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

/* hover-градиент кроссфейдится через opacity (background-image не анимируется) */
.ms-assess-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: linear-gradient(90deg, #1668c3 0%, #2092ef 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.ms-assess-btn:hover { color: #fff; }
.ms-assess-btn:hover::before { opacity: 1; }

.ms-assess-tg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  font-family: "Montserrat", var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  transition: color 1s;
}

.ms-assess-tg svg { transform: translateY(-2px); }
.ms-assess-tg:hover { color: #acacac; }

@media (max-width: 767px) {
  .ms-assess#assessment {
    padding: 20px 20px 150px;
  }

  .ms-assess-title {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 34px;
  }

  .ms-assess-sub {
    width: 100%;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.5;
  }

  .ms-assess-ctas { flex-direction: column; gap: 16px; }
}

/* ============================================================
   MS-STATS — "Our Experience" + cases ticker
   ============================================================ */

.ms-stats {
  padding: 20px 0 300px;
  background: #000;
  overflow: hidden;
  font-family: "Montserrat", var(--font-display);
}

.ms-stats-head {
  text-align: center;
  margin-bottom: 0;
}

.ms-stats > .container {
  max-width: 1200px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 40px;
}

.ms-stats-eye {
  display: block;
  margin-bottom: 2px;
  font-family: "Montserrat", var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  background: linear-gradient(90deg, #2196F3 0%, #1B7BD7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2196F3;
}

.ms-stats-h2 {
  margin: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}

.ms-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
}

.ms-stats-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 0 0 22%;
  min-height: 158px;
  padding: 30px 10px 15px;
  background: #17191D;
  border: 0;
  border-radius: 18px;
  text-align: center;
}

.ms-stats-card:nth-child(2) {
  flex-basis: 30%;
  min-height: 191px;
  border: 1px solid #0C314A;
}

.ms-stats-card:nth-child(3) {
  min-height: 164px;
}

.ms-stats-val {
  font-family: "Montserrat", var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #2196F3;
  margin: 0;
}

.ms-stats-card:nth-child(2) .ms-stats-val {
  font-size: 56px;
}

.ms-stats-label {
  max-width: 140px;
  font-family: "Montserrat", var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  opacity: 1;
}

.ms-stats-card:nth-child(2) .ms-stats-label {
  max-width: 150px;
  font-size: 18px;
}

.ms-stats-card:nth-child(3) .ms-stats-label {
  max-width: 230px;
}

/* ── Cases ticker (two rows) ── */
.ms-cases {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ms-cases-wrap {
  overflow: hidden;
  position: relative;
  padding: 0;
}

.ms-cases-wrap::before,
.ms-cases-wrap::after {
  display: none;
}

.ms-cases-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: ms-cases-scroll 110s linear infinite;
}

.ms-cases-track:hover { animation-play-state: paused; }

.ms-cases-track--rev {
  animation-direction: reverse;
}

@keyframes ms-cases-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ms-cases-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  background: #17191D;
  border: 0;
  border-radius: 16px;
  flex-shrink: 0;
  width: calc((100vw - 95px) / 5);
  min-width: 220px;
  height: 100px;
}

.ms-cases-item img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .ms-stats-h2 { font-size: 38px; }
  .ms-stats-card { flex-basis: 30%; }
  .ms-stats-card:nth-child(2) { flex-basis: 40%; }
  .ms-cases-item { width: calc((100vw - 60px) / 3); }
}

@media (max-width: 768px) {
  .ms-stats {
    padding-top: 20px;
    padding-bottom: 150px;
  }

  .ms-stats > .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
    box-sizing: border-box;
  }

  .ms-stats-h2 {
    padding: 0;
    font-size: 38px;
  }

  .ms-stats-grid {
    flex-direction: column;
    gap: 0;
    max-width: none;
    padding: 30px 0;
  }

  .ms-stats-card,
  .ms-stats-card:nth-child(2),
  .ms-stats-card:nth-child(3) {
    width: 95%;
    flex: 0 0 auto;
    padding: 20px;
  }

  .ms-stats-card:first-child {
    width: 88%;
    border-radius: 18px 18px 0 0;
    margin-bottom: -18px;
    padding-top: 30px;
  }

  .ms-stats-card:nth-child(2) {
    position: relative;
    z-index: 1;
    padding-top: 30px;
  }

  .ms-stats-card:nth-child(3) {
    width: 88%;
    border-radius: 0 0 18px 18px;
    margin-top: -18px;
    padding: 35px 20px 5px;
  }

  .ms-stats-label,
  .ms-stats-card:nth-child(2) .ms-stats-label,
  .ms-stats-card:nth-child(3) .ms-stats-label {
    width: 100%;
    max-width: 100%;
  }

  .ms-cases {
    gap: 10px;
  }

  /* отступ между лого внутри полосы — вдвое меньше на мобиле (между полосами не трогаем) */
  .ms-cases-track {
    gap: 10px;
  }

  .ms-cases-item {
    width: calc((100vw - 30px) / 2);
    min-width: 150px;
    height: 70px;
  }

  .ms-cases-item img {
    max-height: 60px;
  }
}

/* ============================================================
   MS-STEPS — "What to do if crypto stolen?" 4-column process
   ============================================================ */

.ms-steps {
  padding: 20px 20px 0;
  background: #000;
  font-family: "Montserrat", var(--font-display);
}

.ms-steps > .container {
  max-width: 1200px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 300px;
}

.ms-steps-head {
  text-align: center;
  margin-bottom: 70px;
}

.ms-steps-eye {
  display: block;
  margin-bottom: 2px;
  font-family: "Montserrat", var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  background: linear-gradient(90deg, #2196F3 0%, #1B7BD7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2196F3;
}

.ms-steps-h2 {
  margin: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}

.ms-steps-nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px;
}

.ms-steps-n {
  font-family: "Montserrat", var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}

.ms-steps-bar {
  position: relative;
  width: 100%;
  height: 10px;
  min-height: 10px;
  background: #161616;
  border-radius: 999px;
  margin-bottom: 20px;
  overflow: visible;
}

.ms-steps-bar-fill {
  position: absolute;
  inset: 0;
  width: 100%;                /* финал / фолбэк без JS и при reduced-motion */
  background: #2196F3;
  border-radius: 999px;       /* полная полоса — оба конца круглые */
  filter: drop-shadow(0 0 6px rgba(33, 150, 243, 0.6));
}

/* до входа в кадр заливка пустая */
.ms-steps-bar.is-armed .ms-steps-bar-fill { width: 0; }

/* при появлении: рост 0->100% с мини-паузами на 25/50/75% (под 02/03/04) */
.ms-steps-bar.is-running .ms-steps-bar-fill {
  width: 0;
  animation: ms-steps-fill 5.1s linear forwards;
}

@keyframes ms-steps-fill {
  0%   { width: 0;    border-radius: 999px 0 0 999px; }
  15%  { width: 25%; }
  28%  { width: 25%; }                                  /* пауза 02 */
  44%  { width: 50%; }
  56%  { width: 50%; }                                  /* пауза 03 */
  72%  { width: 75%; }
  85%  { width: 75%;  border-radius: 999px 0 0 999px; } /* пауза 04: правый край ещё плоский */
  100% { width: 100%; border-radius: 999px; }           /* финиш: правый край скругляется */
}

.ms-steps-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 20px 0 50px;
}

.ms-steps-card {
  padding: 0 30px 0 0;
}

.ms-steps-card:nth-child(3) {
  padding-right: 25px;
}

.ms-steps-title {
  margin: 0 0 10px;
  font-family: "Montserrat", var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}

.ms-steps-desc {
  margin: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #a7a7a7;
}

.ms-steps-foot {
  margin: 0;
  text-align: center;
  font-family: "Montserrat", var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  color: #c8c8c8;
}

.ms-steps-foot a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s;
}

.ms-steps-foot a:hover { color: #d8d8d8; }

.ms-steps-arrow {
  font-size: 1.2em;
  line-height: 1;
}

@media (max-width: 900px) {
  .ms-steps-nums,
  .ms-steps-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
  }

  .ms-steps-n:nth-child(3),
  .ms-steps-n:nth-child(4) {
    margin-top: 48px;
  }
}

@media (max-width: 767px) {
  .ms-steps {
    padding: 20px 20px 0;
  }

  .ms-steps > .container {
    padding-bottom: 150px;
  }

  .ms-steps-head {
    margin-bottom: 20px;
  }

  .ms-steps-h2 {
    font-size: 38px;
  }

  .ms-steps-nums {
    display: none;
  }

  .ms-steps-cards {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 0 20px;
  }

  .ms-steps-bar { display: none; }

  .ms-steps-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 20px;
    background: #17191D;
    border-radius: 18px;
    z-index: 1;
  }

  .ms-steps-card::before {
    position: absolute;
    top: -10px;
    left: -5px;
    z-index: -1;
    color: #fff;
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    opacity: 0.05;
    pointer-events: none;
  }

  .ms-steps-card:nth-child(1)::before { content: "01"; }
  .ms-steps-card:nth-child(2)::before { content: "02"; }
  .ms-steps-card:nth-child(3)::before { content: "03"; }
  .ms-steps-card:nth-child(4)::before { content: "04"; }
}

/* ============================================================
   RECOVERY LADDER · rln-v2 (current) + rln-v3 / rln-v4 (new variants)
   ============================================================ */

.rln {
  position: relative;
  padding: 0;
  background: var(--c-bg);
  overflow: hidden;
}
.rln .container { position: relative; z-index: 1; }

.rln-head {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}
.rln-eye {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}
.rln-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  max-width: 16ch;
}
.rln-aside {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  margin: 0;
}

.rln-foot {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
}
.rln-foot a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s var(--ease);
}
.rln-foot a:hover { opacity: .65; }
.rln-foot svg { width: 18px; height: 18px; }
.rln-foot--center { justify-content: center; }

/* ─── v2: 4-col grid + watermark + two-tone icons ─── */
.rln-2-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.rln-2-col {
  position: relative;
  padding: 38px 28px 32px;
  border-left: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  isolation: isolate;
  transition: background .25s var(--ease);
}
.rln-2-col:first-child { border-left: 0; }
.rln-2-col:hover { background: rgba(255,255,255,.02); }

.rln-2-wm {
  position: absolute;
  right: -22px;
  bottom: -38px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 230px;
  line-height: .8;
  letter-spacing: -.06em;
  color: rgba(255,255,255,.035);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  transition: color .35s var(--ease);
}
.rln-2-col:hover .rln-2-wm { color: rgba(255,255,255,.07); }

.rln-2-icon {
  position: relative; z-index: 1;
  width: 40px; height: 40px;
  margin-bottom: 22px;
}
.rln-2-icon svg { width: 100%; height: 100%; display: block; }
.rln-2-icon svg .fg { stroke: rgba(255,255,255,.92); }
.rln-2-icon svg .bg { stroke: rgba(255,255,255,.42); }

.rln-2-col h3 {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-weight: 500; font-size: 20px;
  line-height: 1.25; letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 12px;
  min-height: 50px;
}
.rln-2-col p {
  position: relative; z-index: 1;
  margin: 0 0 28px;
  font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,.55);
}
.rln-2-tag {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* ─── v3: 4 horizontal tiles — nested card ─── */
.rln-v3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.rln-v3-outer {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  padding: 10px;
  transition: border-color .25s var(--ease);
}
.rln-v3-outer:hover { border-color: rgba(255,255,255,.13); }

.rln-v3-inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgb(10,10,10);
  padding: 28px 22px 26px;
  height: 100%;
}
/* top-surface glow — dome of soft light from above */
.rln-v3-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 85% 75% at -5% -5%, rgba(255,255,255,.085) 0%, transparent 65%);
}
/* bottom vignette — gentle depth */
.rln-v3-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 90% 50% at 50% 115%, rgba(0,0,0,.45) 0%, transparent 70%);
}

/* watermark digit */
.rln-v3-wm {
  position: absolute;
  right: -10px;
  bottom: -28px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 150px;
  line-height: .8;
  letter-spacing: -.06em;
  color: rgba(255,255,255,.032);
  user-select: none;
  pointer-events: none;
}

.rln-v3-icon {
  position: relative; z-index: 2;
  width: 38px; height: 38px;
  margin-bottom: 20px;
}
.rln-v3-icon svg { width: 100%; height: 100%; display: block; }
.rln-v3-icon svg .fg { stroke: rgba(255,255,255,.90); }
.rln-v3-icon svg .bg { stroke: rgba(255,255,255,.38); }
.rln-v3-inner h3 {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-weight: 500; font-size: 24px;
  line-height: 1.2; letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 10px;
}
.rln-v3-inner p {
  position: relative; z-index: 2;
  margin: 0 0 22px;
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.52);
}
.rln-v3-tag {
  position: relative; z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.32);
}

/* crypto tiles — убираем серый фон, паттерн определяет визуал */
.cpt-tiles .rln-v3-inner {
  background: transparent;
}

/* ─── inline SVG + canvas crypto decorations ─── */
.cpt-bg, .cpt-canvas {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  display: block;
  overflow: visible;
}
.cpt-canvas { background: rgb(4,4,4); border-radius: 16px; }

/* circuit traces */
.ct  { stroke: rgba(255,255,255,.09); stroke-width: .9; fill: none; }
.ct2 { stroke: rgba(255,255,255,.05); stroke-width: .7; fill: none; }
.cp  { fill: rgba(255,255,255,.18); }
.cp2 { fill: rgba(255,255,255,.10); }

/* network graph */
.ce  { stroke: rgba(255,255,255,.07); stroke-width: .7; }
.cn  { fill: rgba(255,255,255,.14); animation: cptNode 2.5s ease-in-out infinite; animation-delay: var(--d,0s); }
@keyframes cptNode {
  0%,100% { fill: rgba(255,255,255,.10); }
  50%      { fill: rgba(255,255,255,.46); }
}

/* hex / hash data stream */
.ch  { font-family: 'Geist Mono', monospace; font-size: 9px; fill: rgba(255,255,255,.09); }
.ch--a { animation: cptHx 4s ease-in-out infinite; }
.ch--b { animation: cptHx 4s ease-in-out 1.4s infinite; }
.ch--c { animation: cptHx 4s ease-in-out 2.7s infinite; }
@keyframes cptHx {
  0%,100% { fill: rgba(255,255,255,.06); }
  50%      { fill: rgba(255,255,255,.24); }
}

/* waveform */
.cw  { fill: none; }
.cw1 { stroke: rgba(255,255,255,.11); stroke-width: .9; }
.cw2 { stroke: rgba(255,255,255,.07); stroke-width: .8; }
.cw3 { stroke: rgba(255,255,255,.04); stroke-width: .7; }
.cscan { stroke: rgba(255,255,255,.18); stroke-width: 1; }

/* blockchain blocks */
.cblk  { stroke: rgba(255,255,255,.11); stroke-width: .9; fill: rgba(255,255,255,.03); }
.carro { stroke: rgba(255,255,255,.10); stroke-width: .8; fill: none; stroke-dasharray: 3 2; }
.carh  { fill: rgba(255,255,255,.14); }
.cbht  { font-family: 'Geist Mono', monospace; font-size: 7px; fill: rgba(255,255,255,.22); text-anchor: middle; }
.cbhn  { font-family: 'Geist Mono', monospace; font-size: 7px; fill: rgba(255,255,255,.35); text-anchor: middle; font-weight: 600; }

/* binary field */
.cbi  { font-family: 'Geist Mono', monospace; font-size: 8px; letter-spacing: .05em; }
.cbi--a { fill: rgba(255,255,255,.07); animation: cptBi 3.5s ease-in-out infinite; }
.cbi--b { fill: rgba(255,255,255,.05); animation: cptBi 3.5s ease-in-out 1.2s infinite; }
.cbi--c { fill: rgba(255,255,255,.07); animation: cptBi 3.5s ease-in-out 2.3s infinite; }
@keyframes cptBi {
  0%,100% { fill: rgba(255,255,255,.05); }
  50%      { fill: rgba(255,255,255,.18); }
}

/* 6-col variant for crypto pattern section */
.rln-v3-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

/* 1-col variant: single full-width tile */
.rln-v3-grid--1 { grid-template-columns: 1fr; }

/* 3-col variant: track record stats */
.rln-v3-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* ─── stat card numbers ─── */
.axn-stat-num {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.axn-stat-suf {
  font-size: .42em;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,.45);
  margin-left: 2px;
}
.axn-stat-rule {
  position: relative; z-index: 2;
  width: 28px; height: 1px;
  background: rgba(255,255,255,.14);
  margin: 20px 0 18px;
}

/* ─── lift: recovery section overlaps hero by 50 px ─── */
.rln--lift {
  margin-top: -50px;
  position: relative;
  z-index: 2;
  background: transparent;
  overflow: visible;
  padding-top: 0;
}

/* outer shell — full container-width rounded card.
   Gradient border technique: transparent real border + two-layer background.
   Layer 1 (padding-box) = dark fill; Layer 2 (border-box) = gradient that
   shows through the transparent border — corners render correctly at any radius. */
.rln-shell {
  position: relative;
  border-radius: 40px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--c-bg), var(--c-bg)) padding-box,
    linear-gradient(to bottom,
      rgba(255,255,255,.14) 0%,
      rgba(255,255,255,.07) 44%,
      transparent 70%) border-box;
  padding: 10px;
}

/* inner card — same border technique, slightly dimmer */
.rln-body {
  position: relative;
  border-radius: 35px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--c-bg), var(--c-bg)) padding-box,
    linear-gradient(to bottom,
      rgba(255,255,255,.09) 0%,
      rgba(255,255,255,.04) 44%,
      transparent 68%) border-box;
  padding: clamp(44px,6vh,72px) clamp(24px,3vw,48px);
}

/* rln V3 — three columns, vertical dividers only, no boxes */
.rln3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 48px;
}
.rln3-col {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.rln3-col:last-child { border-right: 0; }
.rln3-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 12px;
}
.rln3-lab {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
@media (max-width: 600px) {
  .rln3-cols { grid-template-columns: 1fr; }
  .rln3-col { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 28px 0; }
  .rln3-col:last-child { border-bottom: 0; }
}

/* rln V2 — single card-bg container, centered header */
.rln2-wrap {
  position: relative;
  overflow: hidden;
  background: rgb(10,10,10);
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.07);
  padding: clamp(44px,6vh,72px) clamp(24px,3vw,48px);
}
.rln2-wrap > *:not(.rln2-canvas):not(.rln2-waves) { position: relative; z-index: 1; }
.rln2-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 140%;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
}
@media (max-width: 480px) { .rln2-canvas { display: none; } }
.rln2-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 340px;
  pointer-events: none;
  opacity: 0.14;
  z-index: 0;
}
@media (max-width: 480px) { .rln2-waves { height: 200px; } }
.rln2-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.rln2-head .rln-eye { display: block; margin-bottom: 14px; }
.rln2-head .rln-h2  { margin: 0 auto 16px; max-width: none; }
.rln2-sub {
  margin: 0;
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,.42);
}

/* ── Assessment partner ticker ── */
.rln-ticker {
  overflow: hidden;
  margin-top: 20px;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.rln-ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: rln-scroll 32s linear infinite;
}
.rln-ticker-item {
  display: inline-block;
  padding: 8px 20px;
  margin-right: 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes rln-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .rln-ticker-track { animation: none; }
}

/* Responsive — rln */
@media (max-width: 820px) {
  .rln { padding: 80px 0 64px; }
  .rln--lift { margin-top: -32px; padding-top: 0; }
  .rln-shell { border-radius: 28px; }
  .rln-body  { border-radius: 23px; padding: 32px 20px; }
  .rln-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }
  .rln-aside { font-size: 13px; }
  .rln-foot { margin-top: 32px; }
  .rln-foot a { font-size: 14px; }
  .rln-v3-grid { grid-template-columns: 1fr 1fr; }
  .rln-v3-grid--3 { grid-template-columns: 1fr 1fr; }
  .rln-v3-grid--6 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .rln--lift { margin-top: -24px; }
  .rln-shell { border-radius: 20px; }
  .rln-body  { border-radius: 16px; padding: 28px 16px; }
  #contact .rln-body { padding-bottom: 16px; }
  .rln-v3-grid,
  .rln-v3-grid--3,
  .rln-v3-grid--6 { grid-template-columns: 1fr; }
}

/* ============================================================
   TRACK RECORD V2 — poster / cinematic
   One dominant number at ~140px. Two supporting stats below.
   No boxes, no borders. Pure typographic hierarchy.
   ============================================================ */
.pst { padding: 96px 0 80px; }
.pst-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 56px;
}
.pst-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: 13px;
  transition: color .2s;
}
.pst-cta:hover { color: #fff; }
.pst-cta svg { width: 14px; height: 14px; }
.pst-hero {
  margin-bottom: 52px;
}
.pst-hero-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 13vw, 160px);
  line-height: .9;
  letter-spacing: -.05em;
  color: #fff;
}
.pst-hero-sup {
  font-size: .38em;
  font-weight: 500;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.45);
  vertical-align: super;
}
.pst-hero-lab {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.pst-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 40px;
}
.pst-item {
  flex: 1;
}
.pst-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,.08);
  margin: 4px 48px 0;
  flex-shrink: 0;
}
.pst-item-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 10px;
}
.pst-item-sup {
  font-size: .44em; font-weight: 500;
  color: rgba(255,255,255,.4);
  letter-spacing: 0;
  vertical-align: super;
}
.pst-item-lab {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
  display: flex; flex-direction: column; gap: 4px;
}
.pst-item-sub {
  color: rgba(255,255,255,.22);
  letter-spacing: .06em;
}
@media (max-width: 700px) {
  .pst { padding: 64px 0; }
  .pst-top { margin-bottom: 40px; }
  .pst-hero { margin-bottom: 36px; }
  .pst-row { flex-direction: column; gap: 28px; }
  .pst-divider { display: none; }
}

/* ============================================================
   TRACK RECORD V3 — audit ledger
   Three rows like a verified financial statement.
   Label left, dotted leader, number right. All mono.
   ============================================================ */
.ldg { padding: 80px 0; }
.ldg-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 40px;
}
.ldg-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: 13px;
  transition: color .2s;
}
.ldg-cta:hover { color: #fff; }
.ldg-cta svg { width: 14px; height: 14px; }
.ldg-table {
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.ldg-stamp {
  position: absolute;
  top: -11px; right: 0;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  background: var(--c-bg);
  padding: 0 0 0 16px;
}
.ldg-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: baseline;
  gap: 0 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ldg-label {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
  padding-right: 16px;
}
.ldg-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255,255,255,.12);
  margin-bottom: 4px;
  min-width: 40px;
  align-self: end;
}
.ldg-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -.03em;
  color: #fff;
  white-space: nowrap;
}
.ldg-since {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  white-space: nowrap;
  min-width: 120px;
  text-align: right;
}
@media (max-width: 700px) {
  .ldg { padding: 56px 0; }
  .ldg-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    padding: 20px 0;
  }
  .ldg-label { grid-column: 1; grid-row: 1; }
  .ldg-since { grid-column: 1; grid-row: 2; text-align: left; }
  .ldg-dots { display: none; }
  .ldg-num { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}

/* ============================================================
   ASSESSMENT · NEW — 2 variants on review.
   No numeration, no watermarks, no blue text. Heading positions
   intentionally differ from .rln-head (recovery sits right above).
   Restrained type sizes, harmonious.
   ============================================================ */

.axn {
  position: relative;
  padding: 96px 0;
  background: var(--c-bg);
  overflow: hidden;
  color: #fff;
}
.axn .container { position: relative; z-index: 1; }

.axn .suf {
  font-size: .42em;
  font-weight: 500;
  letter-spacing: -.005em;
  opacity: .85;
  margin-left: 2px;
}

/* Inline text-link CTA shared between variants */
.axn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s var(--ease);
}
.axn-link:hover { opacity: .65; }
.axn-link svg { width: 16px; height: 16px; }
/* ─── A — Centered restrained ─── */
.axn-a-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.axn-a-eye {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.axn-a-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
}

.axn-a-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
  max-width: 920px;
  margin: 0 auto 56px;
}
.axn-a-cell {
  text-align: center;
  padding: 0 8px;
}
.axn-a-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  display: inline-flex; align-items: baseline;
  margin-bottom: 12px;
}
.axn-a-lab {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.axn-a-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
.axn-a-cta p {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,.65);
}

/* Responsive */
@media (max-width: 820px) {
  .axn { padding: 64px 0; }
  .axn-a-head { margin-bottom: 40px; }
  .axn-a-stats {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }
}

/* ============================================================
   MOBILE LAYOUT FIXES
   All rules below are additive — desktop styles are untouched.
   ============================================================ */

/* ── Extra-narrow devices (320px tier) ── */
@media (max-width: 359px) {
  .container { padding: 0 16px; }
}

/* ── Hero subtitle — scale down on tiny screens ── */
@media (max-width: 400px) {
  .h2-sub { font-size: 18px; margin-bottom: 28px; }
}

/* ── Services — cards layout + stacked head ── */
@media (max-width: 640px) {
  .srv-card { padding: 24px 20px 28px; }
  .srv-head-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  #services .srv-head .rln-eye { margin-bottom: 20px; }
  .srv-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .srv-foot .srv-badge {
    position: static;
    flex-shrink: 0;
  }
}

/* ── Contact card — reduce padding inside nested containers ── */
@media (max-width: 640px) {
  .cnt-card { padding: 24px 10px; }
}

/* ── Assessment footer — stack and center on narrow ── */
@media (max-width: 520px) {
  .rln-foot--center {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
}

/* ── Mobile nav drawer — socials block ── */
.nav-drawer-socials {
  display: flex;
  gap: 8px;
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}

/* ── Hero — more breathing room on mobile ── */
@media (max-width: 980px) {
  .h2-section { padding-top: 168px; padding-bottom: 120px; }
  .h2-title { font-size: clamp(48px, 9vw, 78px); font-weight: 600; line-height: 1.2; }
  html[lang="ru"] .h2-title { font-size: clamp(44px, 8.2vw, 72px); }
}
@media (max-width: 520px) {
  .h2-section { padding-top: 148px; padding-bottom: 108px; }
  .h2-title { font-size: clamp(44px, 11vw, 62px); font-weight: 600; line-height: 1.2; }
  html[lang="ru"] .h2-title { font-size: clamp(40px, 10vw, 56px); }
}

/* ── Section vertical rhythm — tighter on mobile ── */
@media (max-width: 820px) {
  /* Reduce .rln section padding for all except recovery (which has lift/overlap logic) */
  .rln:not(.rln--lift) { padding-top: 56px; padding-bottom: 48px; }
  /* Recovery → Assessment: zero gap between adjacent cards, same as desktop */
  .rln--lift  { padding-bottom: 0; }
  #assessment { padding-top: 0; }
  /* Flush services bottom + faq top so sec-join line connects the two cards */
  #services { padding-bottom: 0; }
  #faq      { padding-top: 0; padding-bottom: 150px; }
  #media    { padding-bottom: 100px; }
  /* Sec-join connector height matches the tighter rhythm */
  .sec-join { height: 56px; }
}
@media (max-width: 480px) {
  .rln:not(.rln--lift) { padding-top: 48px; padding-bottom: 40px; }
  #faq   { padding-bottom: 150px; }
  #media { padding-bottom: 100px; }
  .sec-join { height: 78px; }
}

/* ── Services card — reduce inner top padding to match Recovery ── */
@media (max-width: 820px) {
  #services .rln-body { padding-top: 32px; }
}

/* ── Contact card — reset negative margin that kills top spacing on mobile ── */
@media (max-width: 820px) {
  .cnt-left { margin-top: 0; }
}

/* ── Footer — less top air, wider side padding ── */
@media (max-width: 820px) {
  .footer { padding-top: var(--s-7); }
  .footer .container { padding-left: var(--s-6); padding-right: var(--s-6); }
}


/* ── Sticky CTA bar (mobile only) ── */
.sticky-cta {
  display: none;
}
@media (max-width: 820px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(18px);
    padding: 12px 16px;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform .3s var(--ease);
    pointer-events: none;
  }
  .sticky-cta.is-visible {
    transform: translateY(0);
    pointer-events: auto;
  }
  .sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-accent-ink);
    text-decoration: none;
    white-space: nowrap;
    background: var(--c-accent-2);
    border: none;
    transition: background .2s var(--ease);
  }
  .sticky-cta-btn:hover { color: var(--c-accent-ink); background: var(--c-accent); }
  .sticky-cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
}


/* ============================================================
   REPORT MODAL
   ============================================================ */
.rmodal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.rmodal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.modal-open { overflow: hidden; }

.rmodal-box {
  position: relative;
  width: min(650px, calc(100vw - 48px));
  max-width: 650px;
  min-height: 486px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
  background: #191c20;
  border: 0;
  border-radius: 16px;
  padding: 38px 40px 32px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
  transform: translateY(14px);
  transition: transform .3s var(--ease);
}
.rmodal.is-open .rmodal-box { transform: translateY(0); }
.rmodal-box::-webkit-scrollbar { width: 4px; }
.rmodal-box::-webkit-scrollbar-track { background: transparent; }
.rmodal-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 999px; }
.rmodal-box::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.28); }

.rmodal-close {
  position: absolute;
  top: 22px; right: 20px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none; border-radius: 0;
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.rmodal-close:hover { background: transparent; color: #fff; opacity: .82; }
.rmodal-close svg { width: 27px; height: 27px; stroke-width: 2.35; }

.rmodal-title {
  font-size: 26px; font-weight: 700;
  color: var(--c-text);
  margin: 0 0 24px;
  line-height: 1.2;
  padding-right: 44px;
}
.rmodal-sub {
  font-size: 14px;
  color: var(--c-text-dim);
  margin: 0 0 28px;
  line-height: 1.6;
}
.rmodal-form { display: flex; flex-direction: column; gap: 12px; }
.rmodal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.rmodal-req { font-weight: 400; color: rgba(255,255,255,.6); }

.rmodal-contact { display: flex; flex-direction: column; gap: 10px; }
.rmodal-contact-label { font-size: 13px; font-weight: 600; color: var(--c-text); margin: 0; }
.rmodal-contact-tabs { display: flex; gap: 20px; }
.rmodal-contact-tab {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 16px;
  color: rgba(255,255,255,0.9);
  transition: color .18s var(--ease);
  user-select: none;
}
.rmodal-contact-tab:hover { color: rgba(255,255,255,0.8); }
.rmodal-contact-tab input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; min-width: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  background: #fff;
  cursor: pointer; margin: 0;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.rmodal-contact-tab input[type="radio"]:checked {
  border-color: #2196F3;
  box-shadow: inset 0 0 0 4px #fff;
  background: #2196F3;
}
.rmodal-contact-tab:has(input:checked) { color: rgba(255,255,255,0.9); }

.rmodal-form .form-field label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.8);
  height: auto;
}
.rmodal-form .form-field input,
.rmodal-form .form-field select,
.rmodal-form .form-field textarea {
  appearance: none;
  -webkit-appearance: none;
  background-color: #090909;
  border-color: rgba(255,255,255,0.12);
  border-radius: 10px;
}
.rmodal-form .form-field input:focus,
.rmodal-form .form-field select:focus,
.rmodal-form .form-field textarea:focus { background-color: #090909; }
.rmodal-form .form-field textarea {
  min-height: 64px;
  height: 64px;
  resize: vertical;
  overflow-y: hidden;
}
.rmodal-privacy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin: 2px 0 0;
}

/* Amount input with embedded currency selector */
.rmodal-amount {
  display: flex;
  align-items: stretch;
  background-color: #090909;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  transition: border-color .15s var(--ease);
  overflow: hidden;
}
.rmodal-form .form-field .rmodal-amount input {
  border: 0 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}
.rmodal-form .form-field .rmodal-amount input[name="amount"] {
  flex: 1 1 auto; min-width: 0; padding-right: 8px;
}
.rmodal-form .form-field .rmodal-amount input.rmodal-amount-cur {
  flex: 0 0 110px;
  width: 110px;
  border-left: 1px solid rgba(255,255,255,0.22) !important;
  padding-left: 12px;
  padding-right: 32px;
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%239aa29f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 8px !important;
}
.rmodal-form .form-field .rmodal-amount input.rmodal-amount-cur:hover {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>") !important;
}
/* Hide native datalist indicator (Chromium shows extra arrow otherwise) */
.rmodal-form .form-field .rmodal-amount input.rmodal-amount-cur::-webkit-calendar-picker-indicator {
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  width: 0 !important;
}
.rmodal-form .form-field .rmodal-amount input.rmodal-amount-cur::-webkit-list-button {
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Modal-scoped: keep select chevron neutral (grey default, white on hover) — no blue focus parrot */
.rmodal-form .form-field select:focus {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%239aa29f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
}
.rmodal-form .form-field select:hover {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
}

/* Drag-and-drop file zone — explicit overrides for global .form-field label rules */
.rmodal-form .form-field .rmodal-dropzone {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  height: auto;
  line-height: 1.3;
  margin: 0;
  border-radius: 10px;
  background-color: #090909;
  border: 1px dashed rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}
.rmodal-form .form-field .rmodal-dropzone:hover { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.8); }
.rmodal-form .form-field .rmodal-dropzone.is-drag {
  border-color: var(--c-accent-2);
  background-color: color-mix(in oklab, #090909 85%, var(--c-accent-2));
  color: rgba(255,255,255,0.95);
}
.rmodal-form .form-field .rmodal-dropzone svg { flex: 0 0 auto; color: rgba(255,255,255,0.5); }
.rmodal-form .form-field .rmodal-dropzone-title {
  font-size: 13px;
  font-weight: 500;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rmodal-form .form-field .rmodal-dropzone-title u { text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 2px; }
.rmodal-form .form-field .rmodal-dropzone-title .dz-meta {
  font-weight: 400;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.rmodal-form .form-field .rmodal-dropzone .dz-desktop { display: inline; }
.rmodal-form .form-field .rmodal-dropzone .dz-mobile  { display: none; }
@media (max-width: 820px) {
  .rmodal-form .form-field .rmodal-dropzone .dz-desktop { display: none; }
  .rmodal-form .form-field .rmodal-dropzone .dz-mobile  { display: inline; }
}

.rmodal-file-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rmodal-file-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.04);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.rmodal-file-list li .name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rmodal-file-list li .size { flex: 0 0 auto; font-size: 11px; color: rgba(255,255,255,0.45); }
.rmodal-file-list li .rm {
  flex: 0 0 auto; cursor: pointer;
  background: transparent; border: 0;
  color: rgba(255,255,255,0.5);
  padding: 2px 4px; line-height: 1;
  transition: color .15s var(--ease);
}
.rmodal-file-list li .rm:hover { color: var(--c-danger); }

.rmodal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  user-select: none;
  margin-top: 4px;
}
.rmodal-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.rmodal-consent-mark {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.25);
  background: #090909;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s var(--ease), background .15s var(--ease);
  margin-top: 1px;
}
.rmodal-consent:hover .rmodal-consent-mark { border-color: rgba(255,255,255,0.45); }
.rmodal-consent input:checked ~ .rmodal-consent-mark {
  background: var(--c-accent-2);
  border-color: var(--c-accent-2);
}
.rmodal-consent input:checked ~ .rmodal-consent-mark::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  border: solid var(--c-accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.rmodal-consent input:focus-visible ~ .rmodal-consent-mark {
  outline: 2px solid var(--c-accent-2);
  outline-offset: 2px;
}
.rmodal-consent-text { flex: 1 1 auto; }
.rmodal-consent.has-err .rmodal-consent-mark { border-color: var(--c-danger); }
.rmodal-consent.has-err .rmodal-consent-text { color: var(--c-danger); }

.rmodal-submit {
  width: 100%; height: 52px;
  border-radius: 999px;
  background: var(--c-accent-2);
  color: var(--c-accent-ink);
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background .2s var(--ease);
  margin-top: 20px;
}
.rmodal-submit:hover { background: var(--c-accent); color: var(--c-accent-ink); }
.rmodal-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.rmodal-success {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 32px 8px 16px; gap: 20px;
  animation: rmodal-fadein 0.4s ease;
}
@keyframes rmodal-fadein { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.rmodal-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,212,168,0.18) 0%, rgba(43,212,168,0.04) 100%);
  border: 1.5px solid rgba(43,212,168,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ok);
  box-shadow: 0 0 32px rgba(43,212,168,0.12);
}
.rmodal-success-ref {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-ok); opacity: 0.8;
}
.rmodal-success h3 { font-size: 24px; font-weight: 700; color: var(--c-text); margin: 0; line-height: 1.2; }
.rmodal-success p { font-size: 14px; color: var(--c-text-dim); margin: 0; line-height: 1.7; max-width: 360px; }
.rmodal-success-steps {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; max-width: 360px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 16px 20px; text-align: left;
}
.rmodal-success-step {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; color: var(--c-text-dim); line-height: 1.5;
}
.rmodal-success-step-num {
  min-width: 22px; height: 22px; border-radius: 50%;
  background: rgba(43,212,168,0.12); border: 1px solid rgba(43,212,168,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--c-ok); flex-shrink: 0;
}

@media (max-width: 640px) {
  .rmodal { padding: 0; align-items: flex-start; }
  .rmodal-box {
    width: 100%; max-width: 100%;
    height: 100vh; height: 100dvh;
    max-height: none; border-radius: 0;
    padding: 72px 20px 40px;
  }
  .rmodal-row { grid-template-columns: 1fr; }
}

/* ============ CONTACT INLINE (blog & faq pages) ============ */
#contact-inline { padding: 80px 0; overflow-x: clip; }
#contact-inline .rln-shell {
  border: 1px solid rgba(255,255,255,.12);
  background: var(--c-bg);
}
#contact-inline .rln-body {
  border: 1px solid rgba(255,255,255,.07);
  background: var(--c-bg);
  overflow: hidden;
  position: relative;
  padding: 60px;
}
#contact-inline .rln-body > *:not(.cnt-canvas) { position: relative; z-index: 1; }
#contact-inline .cnt-grid {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  min-width: 0;
}
#contact-inline .cnt-left { margin-top: 0; padding-top: 0; min-width: 0; }
#contact-inline .cnt-left .rln-h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
#contact-inline .cnt-card--form { padding: 32px; min-width: 0; }
#contact-inline .cnt-card--form .rmodal-form { gap: 12px; min-width: 0; }
@media (max-width: 960px) {
  #contact-inline { padding: 56px 0; }
  #contact-inline .rln-body { padding: 28px 16px; }
  #contact-inline .cnt-grid { grid-template-columns: 1fr; gap: 28px; }
  #contact-inline .cnt-card--form { padding: 20px 16px; }
  #contact-inline .cnt-canvas { display: none; }
  #contact-inline .rmodal-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  #contact-inline .rln-body { padding: 22px 12px; }
  #contact-inline .cnt-card--form { padding: 18px 14px; }
  #contact-inline .cnt-left .rln-h2 { font-size: 30px; }
}

/* Mobile overflow safety for contact sections */
@media (max-width: 860px) {
  #contact, #contact-inline { overflow-x: clip; }
  #contact .cnt-grid, #contact-inline .cnt-grid { min-width: 0; }
  #contact .cnt-left, #contact-inline .cnt-left { min-width: 0; }
  #contact .cnt-card,
  #contact .cnt-card--form,
  #contact-inline .cnt-card,
  #contact-inline .cnt-card--form { min-width: 0; max-width: 100%; }
  #contact .cnt-left .rln-h2,
  #contact-inline .cnt-left .rln-h2 {
    overflow-wrap: anywhere; word-break: break-word;
  }
  #contact .form-field, #contact-inline .form-field { min-width: 0; }
  #contact .rmodal-amount, #contact-inline .rmodal-amount { min-width: 0; }
  #contact .rln-body { padding-inline: 14px; }
}
@media (max-width: 480px) {
  #contact .rln-body { padding-inline: 10px; }
}

/* ============================================================
   MS-FAQ — список вопросов-ссылок (↗) на детальные страницы
   ============================================================ */
.ms-faq {
  padding: 40px 20px 120px;
  background: #000;
  font-family: "Montserrat", var(--font-display);
}


.ms-faq > .container {
  max-width: 1000px;
  padding-left: 0;
  padding-right: 0;
}
.ms-faq-head {
  text-align: center;
  margin-bottom: 50px;
}
.ms-faq-eye {
  display: block;
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(90deg, #2196F3 0%, #1B7BD7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2196F3;
}
.ms-faq-h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.ms-faq-list {
  display: flex;
  flex-direction: column;
}
.ms-faq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.ms-faq-q {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  transition: transform .2s;
}
.ms-faq-arrow {
  flex-shrink: 0;
  display: inline-flex;
  color: #fff;
  transition: transform .2s;
}
a.ms-faq-row:hover { color: #fff; }
a.ms-faq-row:hover .ms-faq-q { transform: translateX(6px); }
a.ms-faq-row:hover .ms-faq-arrow { transform: scale(0.85); }

@media (max-width: 767px) {
  .ms-faq { padding: 40px 20px 80px; }
  .ms-faq-head { margin-bottom: 24px; }
  .ms-faq-h2 { font-size: 38px; }
  .ms-faq-row { padding: 20px 0; }
  .ms-faq-q { font-size: 16px; }
}

/* ============================================================
   MS-CLIENTS — Already work with us (табы + ленты лого галерей)
   ============================================================ */
.ms-clients {
  padding: 20px 0 0;
  background: #000;
  font-family: "Montserrat", var(--font-display);
}
.ms-clients > .container {
  max-width: 1200px;
}
.ms-clients-head { text-align: center; }
.ms-clients-eye {
  display: block;
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(90deg, #2196F3 0%, #1B7BD7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2196F3;
}
.ms-clients-h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.ms-clients-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}
.ms-clients-tab {
  background: none;
  border: 0;
  padding: 0;
  color: #cecece;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.ms-clients-tab:hover { color: #fff; }
.ms-clients-tab.is-active {
  color: #fff;
  font-weight: 700;
  border-bottom-color: #fff;
}
.ms-clients-panel { margin-top: 50px; }
.ms-clients-panel.is-hidden { display: none; }

@media (max-width: 767px) {
  .ms-clients { padding: 20px 0 0; }
  .ms-clients-h2 { font-size: 38px; }
  .ms-clients-tabs {
    gap: 14px 26px;
    margin-top: 30px;
    padding: 0 20px;
  }
  .ms-clients-tab { font-size: 18px; }
  .ms-clients-panel { margin-top: 30px; }
}

/* ============================================================
   MS-HELP — How We Can Help With That (Projects/Regulators)
   ============================================================ */
.ms-help {
  position: relative;
  padding: 300px 0 300px;
  background: #000;
  overflow: hidden;
  font-family: "Montserrat", var(--font-display);
}
.ms-help-bg {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 175px;
  width: min(1526px, 100vw);
  height: 316px;
  transform: translateX(-50%);
  background: url("media/bg4852.png") bottom center / contain no-repeat;
  opacity: 1;
  pointer-events: none;
}
.ms-help > .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}
.ms-help-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  margin-bottom: 0;
}
.ms-help-h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.ms-help-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0;
  margin-top: 5px;
  background: transparent;
  border-radius: 0;
}
.ms-help-tab {
  min-height: 42px;
  padding: 12px 20px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #176CE4;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.ms-help-tab.is-active {
  background: linear-gradient(90deg, #2090EC 0%, #176BC6 100%);
  color: #fff;
}
.ms-help-panel {
  padding: 40px 0 0;
}
.ms-help-panel.is-hidden { display: none; }
.ms-help-grid {
  display: grid;
  grid-template-columns: 1.34fr 1fr 1fr;
  grid-template-rows: 150px 180px;
  column-gap: 20px;
  row-gap: 20px;
  align-items: stretch;
}
.ms-help-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 20px;
  background: #17191D;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}
.ms-help-card--featured {
  grid-row: span 2;
  justify-content: flex-start;
  min-height: 0;
  padding: 35px;
  background: #17191D;
  text-align: left;
}
.ms-help-tag {
  display: none;
}
.ms-help-arrow {
  display: none;
}
.ms-help-card--featured .ms-help-arrow {
  position: absolute;
  top: 35px;
  right: 35px;
  display: block;
  width: 40px;
  height: 40px;
  background: url("media/ico-nxt-012.svg") center / contain no-repeat;
}
.ms-help-card--featured .ms-help-arrow svg {
  display: none;
}
.ms-help-card-title {
  margin: 0 0 13px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.ms-help-card--featured .ms-help-card-title {
  max-width: calc(100% - 58px);
  margin-bottom: 20px;
  font-size: 25px;
  line-height: 1.3;
}
.ms-help-card-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  color: #9f9f9f;
}
.ms-help-card--featured .ms-help-card-desc {
  max-width: 330px;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
}
.ms-help-card-meta {
  margin: 20px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.ms-help-grid--reg {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 165px 165px;
  column-gap: 25px;
  row-gap: 20px;
}
.ms-help-grid--reg .ms-help-card {
  min-height: 165px;
}
.ms-help-grid--reg .ms-help-card:nth-child(2) {
  order: 3;
}
.ms-help-grid--reg .ms-help-card:nth-child(3) {
  order: 2;
}

@media (max-width: 900px) {
  .ms-help {
    padding: 150px 20px 150px;
  }
  .ms-help-bg {
    width: 120%;
    height: 190px;
    bottom: 100px;
    background-size: contain;
  }
  .ms-help > .container {
    max-width: 100%;
    padding: 0;
  }
  .ms-help-head {
    display: block;
    margin-bottom: 30px;
  }
  .ms-help-h2 {
    max-width: 420px;
    font-size: 38px;
    line-height: 1.3;
  }
  .ms-help-tabs {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 24px;
  }
  .ms-help-tab {
    min-width: 0;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 18px;
  }
  .ms-help-panel {
    padding: 20px 0 0;
  }
  .ms-help-grid,
  .ms-help-grid--reg {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }
  .ms-help-card,
  .ms-help-grid--reg .ms-help-card {
    min-height: 123px;
    padding: 20px;
    border-radius: 20px;
  }
  .ms-help-card--featured {
    grid-row: auto;
    min-height: 176px;
    padding: 20px;
  }
  .ms-help-card-title {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.25;
  }
  .ms-help-card--featured .ms-help-card-title {
    max-width: calc(100% - 58px);
    margin-bottom: 0;
    font-size: 22px;
  }
  .ms-help-card-desc {
    font-size: 16px;
    line-height: 1.3;
  }
  .ms-help-card--featured .ms-help-card-desc {
    max-width: 300px;
    font-size: 18px;
  }
  .ms-help-card-meta {
    margin-top: 14px;
    font-size: 18px;
  }
}

/* ============================================================
   MS-MEDIA — Featured in media (карусель статей + лого СМИ)
   ============================================================ */
.ms-media {
  padding: 40px 0 120px;
  background: #000;
  overflow: hidden;
  font-family: "Montserrat", var(--font-display);
}
.ms-media-head { text-align: center; margin-bottom: 25px; }
.ms-media-eye {
  display: block;
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(90deg, #2196F3 0%, #1B7BD7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2196F3;
}
.ms-media-h2 { margin: 0; font-size: 48px; font-weight: 700; line-height: 1.3; color: #fff; }
.ms-media-carousel {
  overflow: hidden;
  padding: 10px 20px;         /* full-bleed: карточки от края вьюпорта; верт. паддинг — запас под hover-scale */
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-inline: contain;
  touch-action: pan-y;
  user-select: none;
}
.ms-media-carousel.is-grabbing { cursor: grabbing; }
.ms-media-carousel.is-grabbing .ms-media-card { user-select: none; }
.ms-media-card,
.ms-media-card img {
  -webkit-user-drag: none;
  user-select: none;
}
.ms-media-carousel::-webkit-scrollbar { display: none; }
.ms-media-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}
.ms-media-card {
  flex: 0 0 360px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  background: #17191D;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: transform .25s var(--ease);
}
.ms-media-card:hover { transform: scale(1.02); }
.ms-media-thumb { aspect-ratio: 4 / 3; background: #0d0f12; overflow: hidden; }
.ms-media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-media-title { margin: 0; padding: 18px 20px 22px; font-size: 17px; font-weight: 400; line-height: 1.35; color: #fff; transition: color .2s; }
a.ms-media-card:hover .ms-media-title { color: #fff; }
.ms-media-press { margin-top: 5px; }
/* лого СМИ — бегущая строка без карточек, ч/б (поверх компонента .ms-cases) */
.ms-media-press .ms-cases { margin-top: 0; }
.ms-media-press .ms-cases-track {
  gap: 20px;
}
.ms-media-press .ms-cases-item.ms-media-press-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  width: calc((100vw - 120px) / 7);
  min-width: 190px;
  height: 100px;
  padding: 0;
}
.ms-media-press .ms-media-press-item img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
}

@media (max-width: 767px) {
  .ms-media { padding: 40px 0 80px; }
  .ms-media-h2 { font-size: 38px; }
  .ms-media-card { flex-basis: 280px; max-width: 280px; }
  .ms-media-press { margin-top: 28px; }
  .ms-media-press .ms-cases-track { gap: 10px; }
  .ms-media-press .ms-cases-item.ms-media-press-item {
    width: calc((100vw - 10px) / 2);
    min-width: 0;
    height: 70px;
  }
}

/* ============================================================
   SAA — Submit an application (простая форма заявки)
   ============================================================ */
.saa {
  padding: 0 0 126px;
  background: #000;
  font-family: "Montserrat", var(--font-display);
}
.saa > .container {
  max-width: 1260px;
  padding-left: 0;
  padding-right: 0;
}
.saa-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 552px;
  gap: 128px;
  align-items: center;
}
.saa-left { padding-right: 0; }
.saa-h2 {
  margin: 0;
  max-width: 390px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
}
.saa-card {
  background: #17191D;
  border-radius: 20px;
  padding: 32px;
  min-height: 432px;
}
.saa-card-title {
  margin: 0 0 23px;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.saa-field { margin-bottom: 24px; }
.saa-field > label,
.saa-contact-q {
  display: block;
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.saa-req { color: rgba(255,255,255,.6); font-weight: 400; }
.saa-hint {
  max-width: 430px;
  margin: -2px 0 14px;
  font-size: 16px;
  line-height: 1.35;
  color: #96999f;
}
.saa-field input[type=text],
.saa-field input[type=email] {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  background: #333;
  border: 0;
  border-radius: 8px;
  color: #e8e8e8;
  font-size: 16px;
  font-family: inherit;
  transition: box-shadow .2s;
}
.saa-field input::placeholder { color: #777; }
.saa-field input:focus {
  outline: none;
  box-shadow: 0 0 0 1px #2196F3;
}
/* Чекбокс согласия (usdt-форма) */
.saa-consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.45; cursor: pointer; }
.saa-consent input { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; accent-color: #2196F3; cursor: pointer; }
.saa-methods { display: flex; gap: 24px; }
.saa-method {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
}
.saa-method input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: #fff;
  cursor: pointer;
}
.saa-method input:checked {
  border-color: #2196F3;
  box-shadow: inset 0 0 0 4px #fff;
  background: #2196F3;
}
.saa-method:has(input:checked) {
  color: #fff;
}
.saa-submit {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 50px;
  margin-top: 2px;
  border: 0;
  border-radius: 16px;
  background-image: linear-gradient(90deg, #2092ef 0%, #1668c3 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
}
.saa-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: linear-gradient(90deg, #1668c3 0%, #2092ef 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.saa-submit:hover { color: #fff; }
.saa-submit:hover::before { opacity: 1; }
.saa-submit:disabled { opacity: .6; cursor: default; }
.saa-form-err {
  margin: 0 0 12px;
  font-size: 14px;
  color: #ff6b6b;
}
.saa-success {
  min-height: 312px;
  text-align: center;
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.saa-success[hidden] { display: none; }
.saa-success-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: #fff; }
.saa-success-text { margin: 0; font-size: 15px; line-height: 1.5; color: #8a9099; }

@media (max-width: 900px) {
  .saa { padding: 0 0 78px; }
  .saa > .container { padding-left: 16px; padding-right: 16px; }
  .saa-grid { grid-template-columns: 1fr; gap: 30px; }
  .saa-left { padding-right: 0; }
  .saa-h2 { max-width: 100%; font-size: 38px; }
  .saa-card { min-height: auto; padding: 24px 20px; }
  .saa-success { min-height: 220px; }
  .saa-card-title { font-size: 24px; }
  .saa-field > label,
  .saa-contact-q,
  .saa-method { font-size: 16px; }
  .saa-hint { font-size: 14px; }
}

/* ============================================================
   RWIZ — пошаговый визард формы в герое (модалка)
   ============================================================ */
.rwiz {
  min-height: 405px;
  display: flex;
  flex-direction: column;
}
.rwiz[hidden] { display: none; }
.rwiz-head { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; padding-right: 8px; }
.rwiz-pct { font-size: 13px; font-weight: 600; color: #d8dadd; min-width: 36px; }
.rwiz-bar { flex: 1; height: 7px; border-radius: 999px; background: #737373; overflow: hidden; }
.rwiz-bar-fill { display: block; height: 100%; width: 0; border-radius: 999px;
  background: #2196F3; transition: width .35s ease; }

.rwiz-steps { position: relative; min-height: 246px; }
.rwiz-step { display: none; }
.rwiz-step.is-active { display: block; animation: rwiz-fade .25s ease; }
@keyframes rwiz-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.rwiz-q { display: block; margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.3; color: #fff; }
.rwiz-q--sm { margin-top: 20px; margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.rwiz-hint { margin: 0 0 10px; font-size: 15px; line-height: 1.42; color: #8f9297; }
.rwiz-input {
  width: 100%;
  height: 42px;
  padding: 9px 12px;
  background: #333;
  border: 0;
  border-radius: 8px;
  color: #e8e8e8;
  font-size: 16px;
  font-family: inherit;
  transition: box-shadow .2s;
}
textarea.rwiz-input { resize: none; min-height: 142px; height: 142px; padding: 13px 14px; }
.rwiz-input::placeholder { color: #777; }
.rwiz-input:focus { outline: none; box-shadow: 0 0 0 1px #2196F3; }

.rwiz-err { margin: 14px 0 0; font-size: 14px; color: #ff6b6b; }

.rwiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.rwiz-btn {
  height: 48px; padding: 0 27px; border: 0; border-radius: 12px; font-size: 16px; font-weight: 400;
  font-family: inherit; cursor: pointer; transition: opacity .2s, background .2s;
}
.rwiz-prev { background: transparent; color: #d8d8d8; padding-left: 16px; }
.rwiz-prev:hover { color: #fff; }
.rwiz-next, .rwiz-send {
  position: relative; isolation: isolate;
  margin-left: auto; min-width: 102px;
  border-radius: 16px;
  background-image: linear-gradient(90deg, #2092ef 0%, #1668c3 100%); color: #fff;
}
.rwiz-next::before, .rwiz-send::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background-image: linear-gradient(90deg, #1668c3 0%, #2092ef 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.rwiz-send { width: 100%; height: 50px; }
.rwiz-nav:has(.rwiz-send:not([hidden])) { flex-wrap: wrap; row-gap: 14px; }
.rwiz-nav:has(.rwiz-send:not([hidden])) .rwiz-prev { flex: 0 0 100%; }
.rwiz-send:not([hidden]) { flex: 0 0 100%; }
.rwiz-next:hover, .rwiz-send:hover { color: #fff; }
.rwiz-next:hover::before, .rwiz-send:hover::before { opacity: 1; }
.rwiz-btn:disabled { opacity: .6; cursor: default; }

/* экран успеха */
.rwiz-success { text-align: center; padding: 24px 8px 8px; animation: rwiz-fade .3s ease; }
.rwiz-success-ic { display: inline-block; margin-bottom: 18px; color: #2196F3; }
.rwiz-sc-circle { stroke: #2196F3; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: rwiz-circle .5s ease forwards; }
.rwiz-sc-check { stroke: #2196F3; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40; animation: rwiz-check .35s .45s ease forwards; }
@keyframes rwiz-circle { to { stroke-dashoffset: 0; } }
@keyframes rwiz-check  { to { stroke-dashoffset: 0; } }
.rwiz-success-title { margin: 0 0 10px; font-size: 24px; font-weight: 700; color: #fff; }
.rwiz-success-text  { margin: 0 auto; max-width: 420px; font-size: 15px; line-height: 1.55; color: #9aa0a8; }

@media (max-width: 560px) {
  .rwiz-q { font-size: 17px; }
  .rwiz-nav { flex-wrap: wrap; }
}
/* список выбранных файлов в визарде */
.rmodal-file-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rmodal-file-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; background: #0d0f12; border: 1px solid #2a2e35; border-radius: 10px; font-size: 13px; color: #cfd3d8; }
.rmodal-file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rmodal-file-rm { flex: 0 0 auto; width: 22px; height: 22px; border: 0; border-radius: 6px; background: #2a2e35;
  color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.rmodal-file-rm:hover { background: #ff6b6b; }
.rwiz .rmodal-dropzone {
  min-height: 122px;
  margin-top: 6px;
  border: 1px dashed rgba(255,255,255,0.6);
  border-radius: 0;
  background: transparent;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  text-align: center;
}
.rwiz .rmodal-dropzone svg { width: 28px; height: 28px; stroke-width: 2.3; color: #fff; }
.rwiz .rmodal-dropzone-title { font-size: 15px; font-weight: 400; line-height: 1.35; }
.rwiz .rmodal-dropzone-title u { font-weight: 700; color: #fff; text-decoration-color: #fff; text-underline-offset: 2px; }
.rmodal-dropzone.is-drag { border-color: #2196F3; background: rgba(33,150,243,0.06); }

@media (max-width: 640px) {
  .rmodal {
    align-items: center;
    padding: 14px;
  }
  .rmodal-box {
    width: 100%;
    max-width: calc(100vw - 28px);
    height: auto;
    min-height: auto;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    border-radius: 16px;
    padding: 30px 20px 24px;
  }
  .rmodal-close {
    top: 16px;
    right: 14px;
  }
  .rmodal-close svg {
    width: 24px;
    height: 24px;
  }
  .rwiz {
    min-height: min(430px, calc(100dvh - 86px));
  }
  .rwiz-head {
    margin-bottom: 28px;
    padding-right: 24px;
  }
  .rwiz-pct {
    min-width: 34px;
    font-size: 12px;
  }
  .rwiz-steps {
    min-height: 225px;
  }
  .rwiz-q {
    font-size: 17px;
  }
  .rwiz-hint {
    font-size: 14px;
  }
  .rwiz-input {
    height: 42px;
    font-size: 16px;
  }
  textarea.rwiz-input {
    min-height: 136px;
    height: 136px;
  }
  .rwiz-prev {
    padding-left: 0;
  }
  .rwiz .rmodal-dropzone {
    min-height: 116px;
  }
}

/* анимированная галочка успеха в простой форме (переиспользует rwiz-sc-*) */
.saa-success-ic { display: inline-block; margin-bottom: 14px; color: #2196F3; line-height: 0; }

/* inline-форма заявки на страницах блога/FAQ */
.saa--inline { padding: 100px 0 0; }
.saa--inline > .container {
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
}
.saa-inline-grid {
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  gap: 30px;
  align-items: center;
}
.saa--inline .saa-h2 {
  max-width: 390px;
}
.saa--inline .saa-card {
  min-height: 0;
}
@media (max-width: 900px) {
  .saa--inline {
    padding: 60px 0 0;
  }
  .saa-inline-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   MS-FOOTER — футер (как на matchsystems.com)
   ============================================================ */
.ms-footer { padding: 0; background: #000; font-family: "Montserrat", var(--font-display); }
.ms-footer > .container {
  max-width: 1260px;
  padding-left: 0;
  padding-right: 0;
}
.ms-footer-card { background: #17191D; border-radius: 20px 20px 0 0; padding: 40px 40px 38px; }
.ms-footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.ms-footer-legal { margin: 0 0 18px; font-size: 16px; font-weight: 500; color: #fff; }
.ms-footer-contacts { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-bottom: 14px; }
.ms-footer-contact { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: #fff; text-decoration: none; }
.ms-footer-contact:hover { color: #fff; }
.ms-footer-ctext { position: relative; }
.ms-footer-ctext::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.ms-footer-contact:hover .ms-footer-ctext::after { transform: scaleX(1); }
.ms-footer-addr { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 16px; line-height: 1.5; color: #e7e9ed; }
.ms-footer-ci { flex: 0 0 auto; display: inline-flex; color: #8f949b; margin-top: 1px; }
.ms-footer-ci svg { width: 28px; height: 28px; stroke-width: 1.45; }
.ms-footer-contact .ms-footer-ci svg { width: 28px; height: 28px; }
/* иконка контакта остаётся нейтральной на ховере (без синего) */
.ms-footer-socials { display: flex; gap: 13px; flex-shrink: 0; margin-top: 45px; }
.ms-footer-soc { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: #2a2c31; color: #fff; transition: transform .2s var(--ease); }
.ms-footer-soc svg { width: 20px; height: 20px; }
.ms-footer-soc:hover { transform: scale(1.12); color: #fff; }
.ms-footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 28px; padding-top: 28px; border-top: 1px solid #303238; }
.ms-footer-policies { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.ms-footer-policies a { position: relative; font-size: 16px; color: #e7e9ed; text-decoration: none; }
.ms-footer-policies a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.ms-footer-policies a:hover::after { transform: scaleX(1); }
.ms-footer-copy { font-size: 16px; color: #62666d; white-space: nowrap; }
@media (max-width: 768px) {
  .ms-footer { padding-bottom: 0; }
  .ms-footer > .container { padding-left: 0; padding-right: 0; }
  .ms-footer-card { padding: 34px 32px; }
  .ms-footer-top { flex-direction: column; }
  .ms-footer-legal { font-size: 16px; }
  .ms-footer-contact,
  .ms-footer-addr { font-size: 16px; }
  .ms-footer-ci svg,
  .ms-footer-contact .ms-footer-ci svg { width: 22px; height: 22px; }
  .ms-footer-socials { margin-top: 4px; }
  .ms-footer-bot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ms-footer-policies { gap: 10px 18px; }
  .ms-footer-policies a,
  .ms-footer-copy { font-size: 16px; }
}

/* ===================== AML page (/aml/) ===================== */
.page-hero.page-hero--style-page_aml {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.50), transparent 27%),
    #000;
}
.page-hero.page-hero--style-page_aml > .container {
  width: 100%;
  max-width: 1200px;
}
.page-hero.page-hero--style-page_aml .page-hero-text {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 0;
  text-align: center;
}
.page-hero.page-hero--style-page_aml .breadcrumbs {
  display: none;
}
.page-hero.page-hero--style-page_aml .page-hero-title {
  margin: 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 65px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.page-hero.page-hero--style-page_aml .page-hero-subtitle {
  margin: 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.page-hero.page-hero--style-page_aml + .page-sections--with-hero {
  background: #000;
}

/* ── Герой главной (page_home) — на основе СЕКЦИИ героя (.ms-hero), не AML ── */
.page-hero.page-hero--style-page_home {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.50), transparent 27%),
    #000;
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero.page-hero--style-page_home > .container {
  width: min(1200px, calc(100vw - 48px));
  max-width: 1200px;
}
.page-hero.page-hero--style-page_home .page-hero-text {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 0;
  text-align: center;
}
.page-hero.page-hero--style-page_home .breadcrumbs { display: none; }
.page-hero.page-hero--style-page_home .page-hero-title {
  max-width: 780px;
  margin: 0 auto 30px;
  font-family: var(--font-sans);
  font-size: 65px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.page-hero.page-hero--style-page_home .page-hero-subtitle {
  margin: 0 0 40px;
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.page-hero.page-hero--style-page_home .page-hero-actions {
  display: flex;
  justify-content: center;
}
.page-hero.page-hero--style-page_home .page-hero-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px 12px 20px;
  border-radius: 16px;
  background-image: linear-gradient(90deg, #2092ef 0%, #1668c3 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}
.page-hero.page-hero--style-page_home .page-hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: linear-gradient(90deg, #1668c3 0%, #2092ef 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.page-hero.page-hero--style-page_home .page-hero-btn:hover::before { opacity: 1; }
.page-hero.page-hero--style-page_home .page-hero-btn::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-hero.page-hero--style-page_home + .page-sections--with-hero { background: #000; }

/* «Don't wait» — продолжение героя главной (как было в едином .ms-hero): чёрный фон,
   без 100vh, стык 255px как в исходнике. Ширины частей берутся из .ms-hero-alert/.ms-hero-media. */
.ms-hero.ms-hero--dont-wait {
  min-height: auto;
  padding: 0 0 350px;
  background: #000;
}
.ms-hero.ms-hero--dont-wait .ms-hero-lower { margin-top: 0; }

/* Мобилка героя главной (перенос из .ms-hero media-queries). dont_wait использует .ms-hero-* — его мобилка уже работает; правим только стык. */
@media (max-width: 1200px) {
  .page-hero.page-hero--style-page_home .page-hero-title { font-size: 56px; }
  .page-hero.page-hero--style-page_home .page-hero-subtitle { font-size: 30px; }
}
@media (max-width: 1024px) {
  .page-hero.page-hero--style-page_home .page-hero-title { font-size: 60px; }
  .page-hero.page-hero--style-page_home .page-hero-subtitle { font-size: 30px; }
}
@media (max-width: 767px) {
  .page-hero.page-hero--style-page_home .page-hero-title { margin-bottom: 20px; font-size: 36px; }
  .page-hero.page-hero--style-page_home .page-hero-subtitle { margin-bottom: 24px; font-size: 18px; }
  .ms-hero.ms-hero--dont-wait { padding: 0 0 160px; }
}

.aml-sec {
  background: #000;
  color: #fff;
}
.aml-sec > .container {
  max-width: 1200px;
}
.aml-sec-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 80px;
  text-align: center;
}
.aml-sec-eyebrow {
  display: block;
  margin: 0 0 2px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #2092ef;
  background: linear-gradient(90deg, #2196f3 0%, #1b7bd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aml-sec-title {
  margin: 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.aml-sec-intro {
  max-width: 99%;
  margin: 30px auto 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.aml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.aml-btn--primary {
  background: linear-gradient(90deg, #2092ef 0%, #1668c3 100%);
}
.aml-btn--primary:hover {
  background: linear-gradient(90deg, #1668c3 0%, #2093ef 100%);
  color: #fff;
}
.aml-btn--ghost {
  background: #17191d;
  border-color: #133750;
  color: #fff;
}
.aml-btn--ghost:hover {
  background: linear-gradient(90deg, #1668c3 0%, #2093ef 100%);
  border-color: transparent;
  color: #fff;
}
.aml-btn-arrow {
  width: 18px;
  height: 18px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.aml-plan-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  max-width: 440px;
}
.aml-plan-block {
  width: 100%;
}
.aml-plan-label {
  display: block;
  margin: 0 0 20px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.aml-plan-row {
  display: block;
}
.aml-plan-row-name {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  position: relative;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.aml-plan-row-name::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill-rule='evenodd' d='M436 172.2h-28.4v-15.8c0-34.5-28-62.5-62.5-62.5h-28.4V78c0-34.5-28-62.5-62.5-62.5H66c-34.5 0-62.5 28-62.5 62.5v188.3c0 34.5 28 62.5 62.5 62.5h28.4v15.9c0 34.5 28 62.5 62.5 62.5h28.4V423c0 34.5 28 62.5 62.5 62.5H436c34.5 0 62.5-28 62.5-62.5V234.7c0-34.6-28-62.5-62.5-62.5M94.4 156.3v143.5H66c-18.5 0-33.4-15-33.5-33.5V78c0-18.5 15-33.4 33.5-33.5h188.3c18.5 0 33.4 15 33.5 33.5v15.8h-131c-34.5.1-62.4 28-62.4 62.5m90.8 78.4v143.5h-28.4c-18.5 0-33.4-15-33.5-33.5V156.3c0-18.5 15-33.4 33.5-33.5h188.3c18.5 0 33.4 15 33.5 33.5v15.8h-131c-34.4.1-62.4 28-62.4 62.6M469.5 423c0 18.5-15 33.4-33.5 33.5H247.7c-18.5 0-33.4-15-33.5-33.5V234.7c0-18.5 15-33.4 33.5-33.5H436c18.5 0 33.4 15 33.5 33.5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill-rule='evenodd' d='M436 172.2h-28.4v-15.8c0-34.5-28-62.5-62.5-62.5h-28.4V78c0-34.5-28-62.5-62.5-62.5H66c-34.5 0-62.5 28-62.5 62.5v188.3c0 34.5 28 62.5 62.5 62.5h28.4v15.9c0 34.5 28 62.5 62.5 62.5h28.4V423c0 34.5 28 62.5 62.5 62.5H436c34.5 0 62.5-28 62.5-62.5V234.7c0-34.6-28-62.5-62.5-62.5M94.4 156.3v143.5H66c-18.5 0-33.4-15-33.5-33.5V78c0-18.5 15-33.4 33.5-33.5h188.3c18.5 0 33.4 15 33.5 33.5v15.8h-131c-34.5.1-62.4 28-62.4 62.5m90.8 78.4v143.5h-28.4c-18.5 0-33.4-15-33.5-33.5V156.3c0-18.5 15-33.4 33.5-33.5h188.3c18.5 0 33.4 15 33.5 33.5v15.8h-131c-34.4.1-62.4 28-62.4 62.6M469.5 423c0 18.5-15 33.4-33.5 33.5H247.7c-18.5 0-33.4-15-33.5-33.5V234.7c0-18.5 15-33.4 33.5-33.5H436c18.5 0 33.4 15 33.5 33.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.aml-plan-verif .aml-plan-row-name::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill-rule='evenodd' d='M493.7 463.5c-40.6-41.8-123.2-123.8-123.2-123.8 4.4-5.3 5.9-7.6 5.5-8a209 209 0 0 0 39.4-148.4 204.4 204.4 0 0 0-205-180.6c-78.1 0-154 48.8-187.2 119.7a207 207 0 0 0 0 174 212 212 0 0 0 185.9 119.7h2.7a210 210 0 0 0 127.3-45.5l2.3-1.6c.1.1 87 88.7 123.8 124.4 17.2 15.7 42.6-14.7 28.5-29.9m-282.2-81.9h-2.2c-79.4-.8-153.5-62.2-168.2-140.9a175 175 0 0 1 50.1-155 175 175 0 0 1 184.9-35.4 177 177 0 0 1 105.2 137.3 174 174 0 0 1-47.9 141.8 174 174 0 0 1-121.9 52.2'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill-rule='evenodd' d='M493.7 463.5c-40.6-41.8-123.2-123.8-123.2-123.8 4.4-5.3 5.9-7.6 5.5-8a209 209 0 0 0 39.4-148.4 204.4 204.4 0 0 0-205-180.6c-78.1 0-154 48.8-187.2 119.7a207 207 0 0 0 0 174 212 212 0 0 0 185.9 119.7h2.7a210 210 0 0 0 127.3-45.5l2.3-1.6c.1.1 87 88.7 123.8 124.4 17.2 15.7 42.6-14.7 28.5-29.9m-282.2-81.9h-2.2c-79.4-.8-153.5-62.2-168.2-140.9a175 175 0 0 1 50.1-155 175 175 0 0 1 184.9-35.4 177 177 0 0 1 105.2 137.3 174 174 0 0 1-47.9 141.8 174 174 0 0 1-121.9 52.2'/%3E%3C/svg%3E");
}
.aml-plan-verif .aml-plan-row-name::after {
  content: none;
}
.aml-plan-bar {
  display: block;
  width: 80%;
  height: 10px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
}
.aml-plan-bar i {
  display: block;
  height: 100%;
  width: var(--fill, 0);
  border-radius: 999px 0 0 999px;
}
/* Анимация заливки: JS вешает .is-anim (мгновенно в 0, без перехода), при попадании
   в зону видимости — .is-filled (плавно до --fill). Без JS полоса сразу заполнена. */
.aml-plan-bar.is-anim i { width: 0; transition: none; }
.aml-plan-bar.is-anim.is-filled i {
  width: var(--fill, 0);
  transition: width 1.4s cubic-bezier(.22, .61, .36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .aml-plan-bar.is-anim.is-filled i { transition: none; }
}
.aml-plan-bar--green {
  --fill: 90%;
  background: #0c341d;
}
.aml-plan-bar--green i {
  background: #27ae60;
}
.aml-plan-bar--orange {
  --fill: 65%;
  background: #492e16;
}
.aml-plan-bar--orange i {
  background: #f2994a;
}
.aml-plan-bar--red {
  --fill: 32%;
  background: #4b2430;
}
.aml-plan-bar--red i {
  background: #eb5757;
}
.aml-plan-cost {
  padding-top: 25px;
}
.aml-plan-cost-val {
  display: block;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.aml-plan-cost-val strong {
  font-weight: 700;
}
.aml-plan-cost-note {
  display: block;
  margin-top: 8px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #9c9c9c;
}
.aml-plan-info .aml-btn {
  margin-top: 0;
}

.aml-monitoring {
  overflow: hidden;
}
.aml-monitoring-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  gap: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 40px 0 250px;
}
.aml-monitoring-grid > .aml-plan-info {
  max-width: none;
  width: 100%;
  margin-top: 30px;
  padding-left: max(20px, calc((100vw - 1200px) / 2));
}
.aml-monitoring-grid > .aml-plan-info .aml-plan-block,
.aml-monitoring-grid > .aml-plan-info .aml-btn {
  width: min(440px, calc(100vw - 40px));
}
.aml-monitoring-grid > .aml-plan-info .aml-btn {
  width: auto;
  margin-top: 0;
}
.aml-monitoring-media {
  position: relative;
  align-self: start;
  overflow: hidden;
}
.aml-monitoring-shot {
  position: relative;
  display: block;
  width: min(53vw, 1060px);
  max-width: none;
  border: 0;
  border-radius: 20px;
}
.aml-monitoring-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, #000 100%);
}

.aml-officer .aml-sec-head {
  padding-top: 20px;
  padding-right: 0;
  padding-bottom: 80px;
  padding-left: 0;
}
.aml-officer-grid {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 300px;
  align-items: start;
}
.aml-officer-duties {
  min-width: 0;
}
.aml-officer-list {
  width: 77%;
  margin: 0 0 0 20px;
  padding: 0;
  list-style: none;
}
.aml-officer-list li {
  position: relative;
  padding-left: 16px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.aml-officer-list li + li {
  margin-top: 14px;
}
.aml-officer-list li::before {
  content: "";
  position: absolute;
  top: calc(.55em - 3px);
  left: 0;
  width: 8px;
  height: 8px;
  background: #fff;
}
.aml-officer-grid > .aml-plan-info {
  max-width: 440px;
}
.aml-database {
  padding-bottom: 250px;
}
.aml-database-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "head c2 ev"
    "c1 c3 ev";
  gap: 35px;
}
.aml-database-head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 175px;
  margin: 0;
  padding: 0;
  text-align: left;
}
.aml-database-head .aml-sec-eyebrow {
  margin-bottom: 0;
  color: #fff;
  background: linear-gradient(90deg, #2196f3 0%, #1b7bd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aml-database-head .aml-sec-title {
  font-size: 42px;
}
.aml-db-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 0;
  border-radius: 20px;
  background: #17191d;
}
.aml-db-card--c1 {
  grid-area: c1;
  min-height: 261px;
}
.aml-db-card--c2 {
  grid-area: c2;
  min-height: 175px;
}
.aml-db-card--c3 {
  grid-area: c3;
  min-height: 261px;
}
.aml-db-card--evidence {
  grid-area: ev;
  min-height: 469px;
}
.aml-db-card-title {
  margin: 0 0 12px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.aml-db-card-text {
  margin: 0;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #9c9c9c;
}
.aml-db-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}
.aml-db-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid #bd092c;
  border-radius: 99px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.aml-db-evidence-img {
  display: block;
  width: 100%;
  max-width: 596px;
  margin: auto auto 0;
  border-radius: 0;
}

.aml-partners {
  padding: 20px 0 300px;
  background: #000;
}
.aml-partners .ms-clients-head {
  margin-bottom: 80px;
}
.aml-partners .ms-clients-eye {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  background: linear-gradient(90deg, #2196f3 0%, #1b7bd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aml-partners .ms-clients-h2 {
  font-size: 48px;
  line-height: 1.3;
}
.aml-partners-cta {
  margin-top: 40px;
  text-align: center;
}

.aml-cta {
  padding: 20px 0 300px;
}
.aml-cta-inner {
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}
.aml-cta-title {
  font-size: 43px;
}
.aml-cta-text {
  max-width: 100%;
  margin: 20px auto 0;
  font-size: 27px;
}
.aml-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.aml-cta-tg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  color: #fff;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.aml-cta-tg::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 158 158'%3E%3Cpath d='M29.8444 76.1241C30.0653 76.0136 30.2862 75.9087 30.5015 75.8093C34.2445 74.0753 38.0371 72.4518 41.8243 70.8282C42.0285 70.8282 42.3707 70.5908 42.5639 70.5135C42.8565 70.3865 43.1492 70.265 43.4418 70.138C44.0049 69.895 44.568 69.6575 45.1256 69.4146C46.2518 68.9341 47.3724 68.4537 48.4986 67.9732L55.2392 65.0851C59.733 63.1634 64.2324 61.2361 68.7262 59.3144C73.22 57.3926 77.7192 55.4654 82.213 53.5436C86.7068 51.6219 91.206 49.6946 95.6998 47.7729C100.194 45.8512 104.693 43.9239 109.187 42.0022C110.186 41.5714 111.268 40.9308 112.339 40.7431C113.239 40.5829 114.117 40.2737 115.022 40.1025C116.739 39.7767 118.632 39.6442 120.278 40.3566C120.846 40.6051 121.371 40.953 121.807 41.3892C123.894 43.4545 123.601 46.8452 123.159 49.7498C120.084 69.9944 117.009 90.2444 113.929 110.489C113.509 113.267 112.935 116.315 110.743 118.071C108.889 119.556 106.25 119.722 103.959 119.093C101.668 118.458 99.6471 117.127 97.6652 115.818C89.445 110.373 81.2193 104.928 72.9991 99.4831C71.0448 98.1909 68.8698 96.5011 68.8918 94.1542C68.9029 92.7405 69.7475 91.4814 70.6087 90.3604C77.7523 81.0389 88.0593 74.6331 95.7275 65.7423C96.8095 64.4887 97.6597 62.2246 96.1747 61.5012C95.2914 61.0704 94.2755 61.6558 93.4695 62.2135C83.3336 69.2544 73.2034 76.3008 63.0676 83.3416C59.7607 85.6389 56.2938 88.0024 52.3079 88.5657C48.7416 89.0737 45.1532 88.0797 41.7028 87.0636C38.81 86.2132 35.9227 85.3407 33.0464 84.4405C31.5172 83.9656 29.9383 83.4521 28.7569 82.3752C27.5755 81.2984 26.8965 79.4871 27.6087 78.0513C28.0559 77.1512 28.9226 76.5824 29.8335 76.1185L29.8444 76.1241Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 158 158'%3E%3Cpath d='M29.8444 76.1241C30.0653 76.0136 30.2862 75.9087 30.5015 75.8093C34.2445 74.0753 38.0371 72.4518 41.8243 70.8282C42.0285 70.8282 42.3707 70.5908 42.5639 70.5135C42.8565 70.3865 43.1492 70.265 43.4418 70.138C44.0049 69.895 44.568 69.6575 45.1256 69.4146C46.2518 68.9341 47.3724 68.4537 48.4986 67.9732L55.2392 65.0851C59.733 63.1634 64.2324 61.2361 68.7262 59.3144C73.22 57.3926 77.7192 55.4654 82.213 53.5436C86.7068 51.6219 91.206 49.6946 95.6998 47.7729C100.194 45.8512 104.693 43.9239 109.187 42.0022C110.186 41.5714 111.268 40.9308 112.339 40.7431C113.239 40.5829 114.117 40.2737 115.022 40.1025C116.739 39.7767 118.632 39.6442 120.278 40.3566C120.846 40.6051 121.371 40.953 121.807 41.3892C123.894 43.4545 123.601 46.8452 123.159 49.7498C120.084 69.9944 117.009 90.2444 113.929 110.489C113.509 113.267 112.935 116.315 110.743 118.071C108.889 119.556 106.25 119.722 103.959 119.093C101.668 118.458 99.6471 117.127 97.6652 115.818C89.445 110.373 81.2193 104.928 72.9991 99.4831C71.0448 98.1909 68.8698 96.5011 68.8918 94.1542C68.9029 92.7405 69.7475 91.4814 70.6087 90.3604C77.7523 81.0389 88.0593 74.6331 95.7275 65.7423C96.8095 64.4887 97.6597 62.2246 96.1747 61.5012C95.2914 61.0704 94.2755 61.6558 93.4695 62.2135C83.3336 69.2544 73.2034 76.3008 63.0676 83.3416C59.7607 85.6389 56.2938 88.0024 52.3079 88.5657C48.7416 89.0737 45.1532 88.0797 41.7028 87.0636C38.81 86.2132 35.9227 85.3407 33.0464 84.4405C31.5172 83.9656 29.9383 83.4521 28.7569 82.3752C27.5755 81.2984 26.8965 79.4871 27.6087 78.0513C28.0559 77.1512 28.9226 76.5824 29.8335 76.1185L29.8444 76.1241Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(-2px);
}
.aml-cta-tg:hover {
  color: #acacac;
}

@media (max-width: 1024px) {
  .page-hero.page-hero--style-page_aml .page-hero-text {
    padding-top: 0;
  }
  .page-hero.page-hero--style-page_aml .page-hero-title {
    font-size: 60px;
  }
  .page-hero.page-hero--style-page_aml .page-hero-subtitle {
    font-size: 30px;
  }
  .aml-sec-title,
  .aml-partners .ms-clients-h2 {
    font-size: 38px;
  }
  .aml-sec-intro {
    font-size: 18px;
  }
  .aml-monitoring-grid,
  .aml-officer-grid {
    grid-template-columns: 1fr;
    padding-right: 20px;
    padding-left: 20px;
  }
  .aml-monitoring-grid {
    width: auto;
    margin-left: 0;
    padding-top: 0;
    padding-bottom: 250px;
  }
  .aml-monitoring-grid > .aml-plan-info {
    margin-top: 0;
    padding-left: 0;
  }
  .aml-monitoring-grid > .aml-plan-info .aml-plan-block {
    width: 100%;
  }
  .aml-monitoring-media {
    margin-top: 40px;
  }
  .aml-monitoring-shot {
    position: relative;
    width: min(100%, 760px);
  }
  .aml-officer-grid {
    padding-bottom: 300px;
  }
  .aml-officer-list {
    width: 85%;
  }
  .aml-plan-info,
  .aml-officer-grid > .aml-plan-info {
    max-width: none;
  }
  .aml-plan-bar,
  .aml-officer-grid .aml-plan-bar {
    width: 90%;
  }
  .aml-database-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "c1" "c2" "c3" "ev";
    gap: 20px;
  }
  .aml-db-card--c1,
  .aml-db-card--c2 {
    min-height: 180px;
  }
  .aml-db-card--c3 {
    min-height: 354px;
  }
  .aml-db-card--evidence {
    min-height: 555px;
  }
}
@media (max-width: 767px) {
  .page-hero.page-hero--style-page_aml {
    min-height: 100vh;
    min-height: 100dvh;
  }
  .page-hero.page-hero--style-page_aml .page-hero-text {
    padding-top: 0;
  }
  .page-hero.page-hero--style-page_aml .page-hero-title {
    font-size: 36px;
  }
  .page-hero.page-hero--style-page_aml .page-hero-subtitle {
    font-size: 18px;
  }
  .aml-sec-head {
    padding: 20px 20px 0;
  }
  .aml-officer .aml-sec-head {
    padding-bottom: 0;
  }
  .aml-sec-eyebrow,
  .aml-partners .ms-clients-eye {
    font-size: 20px;
  }
  .aml-sec-title,
  .aml-database-head .aml-sec-title {
    font-size: 36px;
  }
  .aml-sec-intro {
    font-size: 16px;
  }
  .aml-monitoring > .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .aml-monitoring .aml-sec-head {
    padding-left: 0;
    padding-right: 0;
  }
  .aml-monitoring-grid {
    padding: 50px 0 150px;
  }
  .aml-monitoring-media {
    min-height: auto;
    margin: 40px 0 0;
  }
  .aml-monitoring-shot {
    width: 100%;
  }
  .aml-plan-label {
    font-size: 24px;
  }
  .aml-officer > .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .aml-officer-grid {
    padding: 40px 0 150px;
  }
  .aml-officer-list {
    width: 100%;
    margin-left: 0;
    margin-bottom: 30px;
  }
  .aml-database {
    padding: 0 0 150px;
  }
  .aml-database > .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .aml-database-head {
    min-height: auto;
    padding: 20px 0 0;
  }
  .aml-db-card,
  .aml-db-card--c1,
  .aml-db-card--c2,
  .aml-db-card--c3,
  .aml-db-card--evidence {
    min-height: auto;
    padding: 15px;
  }
  .aml-db-card-title {
    font-size: 22px;
  }
  .aml-partners {
    padding: 20px 0 150px;
  }
  .aml-partners .ms-clients-head {
    margin-bottom: 30px;
  }
  .aml-partners .ms-clients-h2 {
    font-size: 34px;
  }
  .aml-cta {
    padding: 20px 20px 150px;
  }
  .aml-cta-inner {
    max-width: 100%;
  }
  .aml-cta-title {
    font-size: 34px;
  }
  .aml-cta-text {
    font-size: 18px;
    line-height: 1.5;
  }
  .aml-cta-actions {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .aml-btn {
    max-width: 100%;
    white-space: normal;
  }
  .aml-plan-bar,
  .aml-officer-grid .aml-plan-bar {
    width: 100%;
  }
}
/* =================== /AML page =================== */

/* ===== Модалки форм (реестр «Формы») ===== */
body.modal-open { overflow: hidden; }
.form-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; background: rgba(0,0,0,.72); overflow-y: auto; }
.form-modal.is-open { display: flex; }
.form-modal-box { position: relative; width: 100%; max-width: 720px; margin: auto; background: #15161a; border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 46px 54px; }
.form-modal-close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: rgba(255,255,255,.85); cursor: pointer; padding: 4px; line-height: 0; transition: color .15s; }
.form-modal-close:hover { color: #fff; }
.aml-rform .aml-rform-title { text-align: center; font-size: 30px; font-weight: 700; color: #fff; margin: 0 0 26px; }
@media (max-width: 640px) { .form-modal-box { padding: 38px 22px; } .aml-rform .aml-rform-title { font-size: 24px; } }
/* ===== /AML модалки ===== */

/* ============================================================
   Incident page (/incident/)
   ============================================================ */
/* ── Герой page_incident — как AML (центр, тёмный фон, синий glow) + кнопка + подпись ── */
.page-hero.page-hero--style-page_incident {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(10, 56, 118, 0.50), transparent 27%),
    #000;
}
.page-hero.page-hero--style-page_incident > .container {
  width: 100%;
  max-width: 1200px;
}
.page-hero.page-hero--style-page_incident .page-hero-text {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
}
.page-hero.page-hero--style-page_incident .breadcrumbs { display: none; }
.page-hero.page-hero--style-page_incident .page-hero-title {
  margin: 0 0 26px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 65px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.page-hero.page-hero--style-page_incident .page-hero-subtitle {
  margin: 0 0 38px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.page-hero.page-hero--style-page_incident .page-hero-actions {
  display: flex;
  justify-content: center;
}
.page-hero.page-hero--style-page_incident .page-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 16px;
  background-image: linear-gradient(90deg, #2092ef 0%, #1668c3 100%);
  color: #fff;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: filter .15s var(--ease);
}
.page-hero.page-hero--style-page_incident .page-hero-btn:hover { filter: brightness(1.08); color: #fff; }
.page-hero.page-hero--style-page_incident .page-hero-btn::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 7H5.8Q4.6 7 4.5 5.8c-.1-1.2.5-1.3 1.3-1.3h12.5l.5.1.4.2q.2.1.3.4l.1.5v12.5q0 1.2-1.2 1.2c-1.2 0-1.4-.4-1.4-1.2V8.8L6.6 19.1q-.8.8-1.8 0-.8-.9 0-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-hero.page-hero--style-page_incident .page-hero-note {
  margin-top: 16px;
  font-family: "Montserrat", var(--font-display), sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255,255,255,.55);
}
.page-hero.page-hero--style-page_incident + .page-sections--with-hero { background: #000; }

/* ── Секция шагов incident_steps — СВОИ классы (.incident-steps*); стили скопированы
   со секции recovery (.ms-steps), но независимы: правка одной не заденет другую. ── */
.incident-steps {
  padding: 20px 20px 0;
  background: #000;
  font-family: "Montserrat", var(--font-display);
}
.incident-steps > .container {
  max-width: 1200px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 300px;
}
.incident-steps-head {
  text-align: center;
  margin-bottom: 70px;
}
.incident-steps-eye {
  display: block;
  margin-bottom: 2px;
  font-family: "Montserrat", var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  background: linear-gradient(90deg, #2196F3 0%, #1B7BD7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2196F3;
}
.incident-steps-h2 {
  margin: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.incident-steps-nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px;
}
.incident-steps-n {
  font-family: "Montserrat", var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.incident-steps-bar {
  position: relative;
  width: 100%;
  height: 10px;
  min-height: 10px;
  background: #161616;
  border-radius: 999px;
  margin-bottom: 20px;
  overflow: visible;
}
.incident-steps-bar-fill {
  position: absolute;
  inset: 0;
  width: 100%;                /* финал / фолбэк без JS и при reduced-motion */
  background: #2196F3;
  border-radius: 999px;
  filter: drop-shadow(0 0 6px rgba(33, 150, 243, 0.6));
}
.incident-steps-bar.is-armed .incident-steps-bar-fill { width: 0; }
.incident-steps-bar.is-running .incident-steps-bar-fill {
  width: 0;
  animation: incident-steps-fill 5.1s linear forwards;
}
@keyframes incident-steps-fill {
  0%   { width: 0;    border-radius: 999px 0 0 999px; }
  15%  { width: 25%; }
  28%  { width: 25%; }
  44%  { width: 50%; }
  56%  { width: 50%; }
  72%  { width: 75%; }
  85%  { width: 75%;  border-radius: 999px 0 0 999px; }
  100% { width: 100%; border-radius: 999px; }
}
.incident-steps-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 20px 0 50px;
}
.incident-steps-card {
  padding: 0 30px 0 0;
}
.incident-steps-card:nth-child(3) {
  padding-right: 25px;
}
.incident-steps-title {
  margin: 0 0 10px;
  font-family: "Montserrat", var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.incident-steps-desc {
  margin: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #a7a7a7;
}

@media (max-width: 900px) {
  .incident-steps-nums,
  .incident-steps-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
  }
  .incident-steps-n:nth-child(3),
  .incident-steps-n:nth-child(4) {
    margin-top: 48px;
  }
}
@media (max-width: 767px) {
  .incident-steps {
    padding: 20px 20px 0;
  }
  .incident-steps > .container {
    padding-bottom: 150px;
  }
  .incident-steps-head {
    margin-bottom: 20px;
  }
  .incident-steps-h2 {
    font-size: 38px;
  }
  .incident-steps-nums {
    display: none;
  }
  .incident-steps-cards {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 0 20px;
  }
  .incident-steps-bar { display: none; }
  .incident-steps-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 20px;
    background: #17191D;
    border-radius: 18px;
    z-index: 1;
  }
  .incident-steps-card::before {
    position: absolute;
    top: -10px;
    left: -5px;
    z-index: -1;
    color: #fff;
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    opacity: 0.05;
    pointer-events: none;
  }
  .incident-steps-card:nth-child(1)::before { content: "01"; }
  .incident-steps-card:nth-child(2)::before { content: "02"; }
  .incident-steps-card:nth-child(3)::before { content: "03"; }
  .incident-steps-card:nth-child(4)::before { content: "04"; }
}

/* Герой page_incident — мобильные */
@media (max-width: 820px) {
  .page-hero.page-hero--style-page_incident .page-hero-text { padding-top: 0; padding-bottom: 0; }
  .page-hero.page-hero--style-page_incident .page-hero-title { font-size: 40px; }
  .page-hero.page-hero--style-page_incident .page-hero-subtitle { font-size: 22px; }
}
@media (max-width: 560px) {
  .page-hero.page-hero--style-page_incident .page-hero-title { font-size: 34px; }
}
/* ===== /Incident page ===== */

/* ===== Листинги людей (/authors, /contacts) ===== */
.people-sec { padding: 140px 0 90px; min-height: 60vh; }
.people-wrap { max-width: 720px; }
.people-title { font-size: 34px; font-weight: 700; margin: 0 0 30px; text-align: center; }
.people-list { display: flex; flex-direction: column; gap: 22px; }
.person-card { background: #16181d; border: 1px solid rgba(255,255,255,.06); border-radius: 18px; padding: 24px 28px; }
.person-head { display: flex; align-items: center; gap: 18px; }
.person-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 64px; }
.person-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.person-name { font-weight: 700; font-size: 17px; color: #fff; }
.person-role { color: #9aa0a6; font-size: 14px; line-height: 1.35; }
.person-btn { display: block; text-align: center; margin-top: 20px; padding: 13px; border-radius: 40px; border: 1px solid #2196F3; color: #fff; text-decoration: none; font-weight: 500; transition: background .15s; }
.person-btn:hover { background: rgba(33,150,243,.12); }
@media (max-width: 600px) { .people-sec { padding: 110px 0 60px; } .person-card { padding: 20px; } }
/* ===== /Листинги людей ===== */
