/* ==========================================================================
   САРТЕСТ — макет главной страницы
   Палитра взята из логотипа: тёмно-синий #002060 → синий #0080F8 → голубой #00A0F8
   Структура: токены → база → компоненты → секции → адаптив
   ========================================================================== */

:root {
  --navy-950: #020A20;
  --navy-900: #041537;
  --navy-800: #07214F;
  --navy-700: #0B2F73;
  --blue-700: #0A45B8;
  --blue-600: #0B5FD6;
  --blue-500: #0A7CF5;
  --sky-400: #1FA6FF;
  --cyan-300: #6AD6FF;
  --ice-50: #F3F7FE;
  --ice-100: #E7F0FE;
  --ice-200: #D2E2FB;
  --ink: #0A1A3E;
  --ink-2: #26375E;
  --muted: #5B6B8E;
  --line: rgba(10, 40, 110, .10);
  --line-light: rgba(255, 255, 255, .12);
  --danger: #E5484D;

  --grad: linear-gradient(115deg, #0B2F8A 0%, #0A62E0 52%, #22AFFF 100%);
  --grad-btn: linear-gradient(120deg, #0A55D8 0%, #0A7CF5 45%, #1FA6FF 100%);

  --font-d: 'Unbounded', 'Arial Black', sans-serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 14px;
  --r: 24px;
  --r-lg: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --container: 1280px;
  --gutter: 24px;
  --shadow-sm: 0 4px 14px -6px rgba(8, 30, 80, .14);
  --shadow: 0 24px 60px -24px rgba(8, 30, 80, .28);
  --shadow-blue: 0 16px 40px -12px rgba(10, 124, 245, .55);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
::selection { background: var(--sky-400); color: #fff; }
:focus-visible { outline: 2px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }

.h2 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 52px);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
}
.h2--light { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 20px;
}
.eyebrow i {
  font-style: normal; font-family: var(--font-d); font-size: 11px; letter-spacing: 0;
  display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px;
  border-radius: 99px; background: var(--ice-100); color: var(--blue-600);
}
.eyebrow--light { color: var(--cyan-300); }
.eyebrow--light i { background: rgba(106, 214, 255, .12); color: var(--cyan-300); }

.grad-text {
  font-style: normal;
  background: linear-gradient(100deg, #6AD6FF 0%, #1FA6FF 30%, #ffffff 50%, #1FA6FF 70%, #6AD6FF 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gradShift 6s linear infinite;
}
@keyframes gradShift { to { background-position: -250% 0; } }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 5vw, 70px); }
.sec-head__left { max-width: 760px; }
.sec-head__text { max-width: 400px; color: var(--muted); font-size: 17px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .h2 { max-width: 820px; }

/* ---------- Кнопки: блик, магнит, ripple ---------- */
.btn {
  --pad-y: 15px; --pad-x: 26px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 14px;
  font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap;
  transition: transform .45s var(--ease), translate .5s var(--ease), box-shadow .45s var(--ease), background-color .3s, color .3s, border-color .3s, opacity .3s, background-position .6s var(--ease);
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn--sm { --pad-y: 11px; --pad-x: 18px; font-size: 14.5px; border-radius: 12px; }
.btn--lg { --pad-y: 19px; --pad-x: 32px; font-size: 17px; border-radius: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  color: #fff;
  background: var(--grad-btn);
  background-size: 160% 100%;
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary:hover { background-position: 100% 0; transform: translateY(-3px); box-shadow: 0 22px 44px -12px rgba(10, 124, 245, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--light { background: #fff; color: var(--navy-800); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .45); }
.btn--light:hover { transform: translateY(-3px); color: var(--blue-600); }
.btn--ghost {
  color: #fff; border: 1.5px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.btn--ghost-dark { color: var(--navy-800); border: 1.5px solid var(--ice-200); background: #fff; }
.btn--ghost-dark:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }

/* Блик: периодический + ускоренный при наведении */
.btn--shine::after,
.btn--shine::before {
  content: ''; position: absolute; z-index: 1; pointer-events: none;
  top: -60%; left: -80%; width: 42%; height: 220%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .15) 25%, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, .15) 75%, transparent 100%);
  transform: skewX(-24deg);
}
.btn--shine::after { animation: shine 3.8s var(--ease-in-out) infinite; }
.btn--shine::before { opacity: 0; transition: none; }
.btn--shine:hover::before { opacity: 1; left: 140%; transition: left .7s var(--ease), opacity .1s; }
.btn--light.btn--shine::after, .btn--light.btn--shine::before {
  background: linear-gradient(90deg, transparent, rgba(31, 166, 255, .08) 25%, rgba(31, 166, 255, .35) 50%, rgba(31, 166, 255, .08) 75%, transparent);
}
@keyframes shine { 0% { left: -80%; } 28%, 100% { left: 140%; } }
.btn > * { position: relative; z-index: 2; }

.btn .ripple {
  position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .7s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

.btn[disabled] { opacity: .42; cursor: not-allowed; filter: saturate(.55); box-shadow: none; pointer-events: none; transform: none; }
.btn[disabled]::after, .btn[disabled]::before { display: none; }
.submit-wrap { display: block; cursor: not-allowed; }
.submit-wrap:has(.btn:not([disabled])) { cursor: auto; }
.quiz__nav .submit-wrap { display: inline-block; }

/* ---------- Прелоадер ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #0B3A9A 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-in-out);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__shield { width: 110px; height: auto; overflow: visible; }
.preloader__shield path { fill: none; stroke: url(#plg); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pl-shield { animation: draw 1.1s var(--ease) .1s forwards; }
.pl-doc { stroke-width: 14 !important; opacity: .7; animation: draw .8s var(--ease) .45s forwards; }
.pl-check { stroke-width: 34 !important; animation: draw .6s var(--ease) .75s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__word { display: flex; gap: 4px; font-family: var(--font-d); font-weight: 800; font-size: 26px; color: #fff; letter-spacing: .04em; overflow: hidden; }
.preloader__word span { display: inline-block; transform: translateY(110%); animation: rise .7s var(--ease) forwards; }
.preloader__word span:nth-child(1) { animation-delay: .35s; } .preloader__word span:nth-child(2) { animation-delay: .4s; }
.preloader__word span:nth-child(3) { animation-delay: .45s; } .preloader__word span:nth-child(4) { animation-delay: .5s; }
.preloader__word span:nth-child(5) { animation-delay: .55s; } .preloader__word span:nth-child(6) { animation-delay: .6s; }
.preloader__word span:nth-child(7) { animation-delay: .65s; }
@keyframes rise { to { transform: none; } }
.preloader__bar { width: 160px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--sky-400), var(--cyan-300)); transform-origin: left; transform: scaleX(0); animation: bar 1.3s var(--ease-in-out) forwards; }
@keyframes bar { to { transform: scaleX(1); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-600), var(--sky-400), var(--cyan-300)); transform-origin: left; transform: scaleX(0); }

/* ---------- Шапка ---------- */
.header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; transition: transform .6s var(--ease); }
.header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.header__inner {
  display: flex; align-items: center; gap: 20px;
  height: 72px; padding: 0 12px 0 18px;
  width: calc(100% - var(--gutter) * 2); max-width: calc(var(--container) + 24px);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 20px;
  box-shadow: 0 10px 40px -12px rgba(2, 10, 32, .35);
}
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__icon { width: auto; height: 46px; }
.logo__word { width: auto; height: 34px; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a {
  position: relative; padding: 9px 14px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: color .3s, background-color .3s;
}
.nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad-btn); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--blue-600); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--blue-600); }
.header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header__phone { display: flex; align-items: center; gap: 10px; }
.header__phone svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--ice-100); color: var(--blue-600); transition: transform .4s var(--ease); }
.header__phone:hover svg { transform: rotate(-12deg) scale(1.06); }
.header__phone span { display: grid; line-height: 1.25; }
.header__phone b { font-size: 15.5px; }
.header__phone small { font-size: 12px; color: var(--muted); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; }
.mnav__bg { position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, #0B47C0, var(--navy-900) 60%, var(--navy-950)); clip-path: circle(0 at calc(100% - 50px) 50px); transition: clip-path .8s var(--ease-in-out); }
.mnav.is-open { pointer-events: auto; visibility: visible; }
.mnav.is-open .mnav__bg { clip-path: circle(150% at calc(100% - 50px) 50px); }
.mnav__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 110px var(--gutter) 40px; overflow-y: auto; }
.mnav__links { display: grid; gap: 4px; }
.mnav__links a { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-d); font-weight: 700; font-size: clamp(28px, 8vw, 44px); color: #fff; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease); }
.mnav__links a i { font-style: normal; font-size: 13px; color: var(--cyan-300); }
.mnav.is-open .mnav__links a { opacity: 1; transform: none; }
.mnav.is-open .mnav__links a:nth-child(1) { transition-delay: .25s; } .mnav.is-open .mnav__links a:nth-child(2) { transition-delay: .3s; }
.mnav.is-open .mnav__links a:nth-child(3) { transition-delay: .35s; } .mnav.is-open .mnav__links a:nth-child(4) { transition-delay: .4s; }
.mnav.is-open .mnav__links a:nth-child(5) { transition-delay: .45s; } .mnav.is-open .mnav__links a:nth-child(6) { transition-delay: .5s; }
.mnav__contacts { display: grid; gap: 6px; color: rgba(255, 255, 255, .8); font-weight: 600; opacity: 0; transition: opacity .5s .55s; }
.mnav.is-open .mnav__contacts { opacity: 1; }
.mnav .btn { align-self: flex-start; opacity: 0; transition: opacity .5s .6s; }
.mnav.is-open .btn { opacity: 1; }

/* ---------- Анимации появления ---------- */
[data-anim] { opacity: 0; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-anim="fade-up"] { transform: translateY(34px); }
[data-anim="rise"] { transform: translateY(70px) scale(.96) rotateX(8deg); transform-origin: 50% 100%; }
[data-anim].is-in { opacity: 1; transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
[data-split].is-in .split-w > span { transform: none; }

/* ---------- Герой ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 120px;
  color: #fff;
  background: radial-gradient(120% 90% at 75% 35%, #0B3FA8 0%, var(--navy-900) 48%, var(--navy-950) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -20% 0 0;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aurora::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: blob 18s ease-in-out infinite alternate; }
.aurora--1 { width: 46vw; height: 46vw; right: -8vw; top: -12vw; background: radial-gradient(circle, #0A7CF5, transparent 65%); }
.aurora--2 { width: 38vw; height: 38vw; left: -12vw; bottom: -16vw; background: radial-gradient(circle, #1A3FD8, transparent 65%); opacity: .6; }
.aurora--3 { width: 26vw; height: 26vw; right: 26vw; bottom: 4vw; background: radial-gradient(circle, #22C3FF, transparent 65%); opacity: .35; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, -3vw) scale(1.15); } 100% { transform: translate(-3vw, 2vw) scale(.92); } }
.hero__noise { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero__inner { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 40px; }
.hero__content { position: relative; z-index: 2; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 99px; font-size: 14px; font-weight: 600;
}
.chip--glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); }
.chip__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #35E3A0; box-shadow: 0 0 0 0 rgba(53, 227, 160, .6); animation: dot 2s infinite; }
@keyframes dot { 0% { box-shadow: 0 0 0 0 rgba(53, 227, 160, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(53, 227, 160, 0); } }

.hero__title {
  margin: 26px 0 22px;
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(32px, 4.35vw, 64px);
  letter-spacing: -.03em; line-height: 1.02;
}
.hl { display: block; overflow: hidden; padding-bottom: .06em; }
.hl > span { display: inline-block; transform: translateY(110%) skewY(6deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); }
.hl:nth-child(2) > span { transition-delay: .1s; }
.hl:nth-child(3) > span { transition-delay: .2s; }
body.is-ready .hl > span { transform: none; }

body:not(.is-ready) .hero [data-anim] { opacity: 0 !important; }

.hero__rotator { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; color: rgba(255, 255, 255, .85); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.rotator { position: relative; display: inline-grid; color: var(--cyan-300); font-weight: 800; perspective: 400px; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(70%) rotateX(-80deg); transform-origin: 50% 0; transition: transform .8s var(--ease), opacity .5s; white-space: nowrap; }
.rotator > span.is-active { opacity: 1; transform: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-70%) rotateX(80deg); transform-origin: 50% 100%; }
.rotator::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan-300), transparent); }

.hero__lead { margin-top: 20px; max-width: 560px; font-size: 17px; color: rgba(255, 255, 255, .72); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats { display: flex; gap: 0; margin-top: 48px; }
.hero__stats li { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: center; gap: 12px; }
.hero__stats li:first-child { padding-left: 0; border-left: 0; }
.hero__stats b { font-family: var(--font-d); font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; background: linear-gradient(180deg, #fff, #9FDFFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats small { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .6); }

/* Визуал героя */
.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: end; }
.hv { position: absolute; inset: 0; will-change: transform; }
.hv__rings { position: absolute; inset: 0; }
.hv__rings svg { width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke-linecap: round; transform-origin: 300px 300px; }
.ring--1 { stroke: rgba(106, 214, 255, .22); stroke-width: 1; stroke-dasharray: 2 10; animation: spin 80s linear infinite; }
.ring--2 { stroke: rgba(31, 166, 255, .35); stroke-width: 1.5; stroke-dasharray: 180 60 20 60; animation: spin 40s linear infinite reverse; }
.ring--3 { stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.hv__glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(31, 166, 255, .45), transparent 70%); filter: blur(30px); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.15); opacity: .7; } }
.hv__canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.hv__orbit { position: absolute; inset: 0; }
.orb {
  position: absolute; left: 50%; top: 50%;
  padding: 8px 14px; border-radius: 99px;
  font-family: var(--font-d); font-size: 13px; font-weight: 600; white-space: nowrap;
  color: #fff; background: rgba(8, 30, 80, .55); border: 1px solid rgba(106, 214, 255, .35);
  backdrop-filter: blur(8px); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
  will-change: transform, opacity;
}
.hv-doc { position: absolute; width: 22%; will-change: transform; }
.hv-doc img { border-radius: 8px; box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .7); border: 3px solid #fff; animation: floatY 7s ease-in-out infinite; }
.hv-doc--1 { left: -4%; top: 8%; }
.hv-doc--1 img { transform: rotate(-12deg); --r: -12deg; }
.hv-doc--2 { right: -2%; bottom: 10%; width: 19%; }
.hv-doc--2 img { --r: 10deg; transform: rotate(10deg); animation-delay: -3s; }
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-16px) rotate(calc(var(--r) * .7)); } }
.toast {
  position: absolute; left: 4%; bottom: 3%;
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px;
  width: 250px; padding: 12px 14px 16px; border-radius: 16px; overflow: hidden;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55);
}
.toast__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #12C98A, #35E3A0); }
.toast__icon svg { width: 20px; height: 20px; }
.toast.is-pop .toast__icon { animation: pop .6s var(--ease); }
@keyframes pop { 40% { transform: scale(1.25) rotate(-8deg); } }
.toast__txt { display: grid; line-height: 1.25; }
.toast__txt small { font-size: 12px; color: var(--muted); }
.toast__txt b { font-size: 15px; transition: opacity .3s; }
.toast__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ice-100); }
.toast__bar i { display: block; height: 100%; background: var(--grad-btn); transform-origin: left; transform: scaleX(0); }
.toast.is-pop .toast__bar i { animation: bar 2.8s linear forwards; }

.hero__scroll { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); z-index: 3; }
.mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 14px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan-300); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Бегущая строка ---------- */
.ticker { position: relative; z-index: 5; margin-top: -70px; padding: 22px 0 10px; overflow: hidden; pointer-events: none; }
.ticker__row { white-space: nowrap; padding: 16px 0; box-shadow: 0 20px 50px -20px rgba(2, 10, 32, .5); }
.ticker__row--a { background: var(--grad); color: #fff; transform: rotate(-2.2deg) scale(1.04); }
.ticker__row--b { background: #fff; color: var(--navy-800); transform: rotate(1.6deg) scale(1.04); margin-top: -18px; border-top: 1px solid var(--ice-200); border-bottom: 1px solid var(--ice-200); }
.ticker__track { display: inline-flex; will-change: transform; }
.ticker__track span { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; font-family: var(--font-d); font-weight: 600; font-size: clamp(14px, 1.35vw, 18px); }
.ticker__track span em { font-family: var(--font); font-style: normal; font-weight: 600; opacity: .7; }
.ticker__track span::after { content: '✦'; margin-left: 22px; font-size: .85em; color: var(--cyan-300); }
.ticker__row--b .ticker__track span::after { color: var(--blue-500); }

/* ---------- Услуги ---------- */
.services { background: var(--ice-50); margin-top: -40px; padding-top: calc(clamp(80px, 11vw, 150px) + 20px); }
.services::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(10, 60, 160, .12) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
.bento { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; perspective: 1400px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  grid-column: span 4;
  display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: box-shadow .5s var(--ease), border-color .5s;
}
.card[data-anim].is-in { transition: opacity .9s var(--ease), transform .6s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 1; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(31, 166, 255, .9), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s;
}
.card__spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(31, 166, 255, .12), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before, .card:hover .card__spot { opacity: 1; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.card__num { font-family: var(--font-d); font-weight: 600; font-size: 14px; color: var(--muted); }
.card__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); box-shadow: var(--shadow-blue); transition: transform .6s var(--ease); }
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { transform: rotate(-10deg) scale(1.08) translateZ(30px); }
.card__title { font-family: var(--font-d); font-weight: 600; font-size: 21px; letter-spacing: -.01em; margin-bottom: 18px; }
.card__text { color: var(--muted); margin-bottom: 20px; }
.ticks { display: grid; gap: 10px; margin-bottom: 24px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 7px;
  background: var(--ice-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l3.8 3.8L18 8' fill='none' stroke='%230A7CF5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 700; color: var(--blue-600); padding: 8px 0; }
.card__cta svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.card__cta:hover svg { transform: translateX(6px); }
.card__cta::after { content: ''; position: absolute; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.bento--home > .card:nth-child(1) { grid-column: span 7; }
.bento--home > .card:nth-child(2) { grid-column: span 5; }
.card--dark { color: #fff; border-color: transparent; background: radial-gradient(120% 120% at 100% 0%, #0B47C0 0%, var(--navy-800) 45%, var(--navy-900) 100%); }
.card--dark::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 360px; z-index: -1; opacity: .08; background: url("../img/logo-icon-white.png") center / contain no-repeat; }
.card--dark .card__num, .card--accent .card__num { color: rgba(255, 255, 255, .6); }
.card--dark .card__text { color: rgba(255, 255, 255, .7); }
.card--accent .card__text { color: rgba(255, 255, 255, .88); }
.card--dark .card__icon { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); box-shadow: none; }
.card--accent { color: #fff; border-color: transparent; background: linear-gradient(145deg, #0A55D8 0%, #0A7CF5 55%, #22B4FF 100%); }
.card--accent .card__icon { background: #fff; color: var(--blue-600); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35); }
.card--accent .ticks li { color: #fff; }
.card--accent .ticks li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l3.8 3.8L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.card--accent::after { content: ''; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); z-index: -1; }

.reglist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 26px; }
.reglist li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .85); padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .3s, transform .4s var(--ease); }
.reglist li:hover { background: rgba(255, 255, 255, .1); transform: translateX(3px); }
.reglist b { flex: none; font-family: var(--font-d); font-size: 12.5px; font-weight: 600; color: var(--cyan-300); min-width: 66px; }
.reglist .is-more { display: none; }
.card.is-open .reglist .is-more { display: flex; animation: fadeIn .5s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cyan-300); }
.link-more svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.card.is-open .link-more svg { transform: rotate(45deg); }

/* ---------- Документы: горизонтальный скролл ---------- */
.docs { position: relative; background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, #06204F 100%); color: #fff; }
.docs__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); padding: 90px 0 40px; }
.docs__bgword { text-transform: uppercase; position: absolute; left: 0; bottom: 4vh; font-family: var(--font-d); font-weight: 800; font-size: 19vw; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(106, 214, 255, .12); pointer-events: none; will-change: transform; }
.docs::before { content: ''; position: absolute; width: 60vw; height: 60vw; left: 20vw; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(10, 124, 245, .25), transparent 60%); filter: blur(40px); pointer-events: none; }
.docs__head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.docs__head .eyebrow { margin-bottom: 14px; }
.docs__progress { display: flex; align-items: center; gap: 14px; font-family: var(--font-d); font-size: 14px; color: rgba(255, 255, 255, .6); }
.docs__progress i { width: 160px; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.docs__progress b { display: block; height: 100%; background: linear-gradient(90deg, var(--sky-400), var(--cyan-300)); transform-origin: left; transform: scaleX(0); }
.docs__progress span:first-child { color: #fff; }
.docs__viewport { position: relative; }
.docs__track { display: flex; gap: clamp(22px, 3vw, 44px); padding: 10px max(var(--gutter), calc((100vw - var(--container)) / 2)); will-change: transform; }
.doc { --h: min(46vh, 440px); flex: none; width: calc(var(--h) * .72); perspective: 1000px; }
.doc__paper {
  position: relative; height: var(--h); border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: rotateY(var(--ry, -10deg)) rotateX(4deg); transform-style: preserve-3d;
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.doc__paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.doc__paper::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .5) 48%, rgba(255, 255, 255, 0) 60%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.1s var(--ease); pointer-events: none; }
.doc:hover .doc__paper { transform: rotateY(0) rotateX(0) translateY(-10px); box-shadow: 0 50px 80px -30px rgba(10, 124, 245, .6), 0 0 0 1px rgba(106, 214, 255, .4); }
.doc:hover .doc__paper::after { background-position: -40% 0; }
.doc:hover .doc__paper img { transform: scale(1.04); }
.doc__body { padding-top: 22px; }
.doc__tag { display: inline-block; margin-bottom: 10px; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--cyan-300); background: rgba(106, 214, 255, .1); border: 1px solid rgba(106, 214, 255, .2); }
.doc__body h3 { font-family: var(--font-d); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.doc__body p { font-size: 14.5px; color: rgba(255, 255, 255, .65); line-height: 1.5; }
.doc--cta { align-self: flex-start; height: var(--h); width: calc(var(--h) * .8); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 32px; border-radius: 22px; background: var(--grad); box-shadow: 0 40px 70px -30px rgba(10, 124, 245, .7); position: relative; overflow: hidden; }
.doc--cta::before { content: ''; position: absolute; top: -40px; right: -40px; width: 220px; height: 240px; background: url("../img/logo-icon-white.png") center / contain no-repeat; opacity: .15; }
.doc--cta h3 { font-family: var(--font-d); font-size: 24px; font-weight: 700; }
.doc--cta p { color: rgba(255, 255, 255, .85); }
.doc--cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Знаки ---------- */
.marks { background: #fff; overflow: hidden; }
.marks__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.mark { margin: 0; padding: 26px 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; transition: box-shadow .5s var(--ease), border-color .5s; }
.mark__img { height: 110px; margin-bottom: 18px; }
.mark__img img { height: 100%; width: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.mark:hover { box-shadow: 0 30px 60px -28px rgba(10, 124, 245, .45); border-color: rgba(31, 166, 255, .45); }
.mark:hover .mark__img img { transform: scale(1.1) rotate(-3deg); }
.mark figcaption { font-weight: 700; font-size: 15px; line-height: 1.3; }
.mark figcaption small { display: block; margin-top: 6px; font-weight: 500; font-size: 13px; color: var(--muted); }

/* ---------- Преимущества: стек карточек ---------- */
.adv { color: #fff; background: radial-gradient(90% 70% at 10% 20%, #0B3FA8 0%, var(--navy-900) 50%, var(--navy-950) 100%); overflow: clip; }
.adv::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.adv__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.adv__aside { position: sticky; top: 120px; }
.adv__lead { margin: 22px 0 10px; max-width: 460px; color: rgba(255, 255, 255, .7); font-size: 17px; }
.adv__shield { width: min(230px, 50%); margin: 26px 0 30px; }
.adv__shield svg { overflow: visible; }
.adv__shield path { fill: none; stroke: url(#adg); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--p, 1); }
.adv__shield .d1 { stroke-width: 20; }
.adv__shield .d2 { stroke-width: 4; opacity: .5; stroke-dashoffset: calc(var(--p, 1) * -1); }
.adv__shield .d3 { stroke-width: 34; stroke-dashoffset: var(--p3, 1); filter: drop-shadow(0 0 18px rgba(106, 214, 255, .6)); }
.stack { display: grid; gap: 28px; padding-bottom: 40px; }
.stack__card {
  position: sticky; top: calc(120px + var(--i) * 26px);
  min-height: 300px; padding: 38px; border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; column-gap: 20px;
  color: var(--ink); background: linear-gradient(160deg, #fff 0%, #EEF4FF 100%);
  box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .35), 0 30px 60px -30px rgba(0, 0, 0, .6);
  transform-origin: 50% 0; will-change: transform;
}
.stack__card:nth-child(even) { color: #fff; background: linear-gradient(150deg, #0A55D8 0%, #0A7CF5 60%, #22B4FF 100%); }
.stack__num { font-family: var(--font-d); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack__card:nth-child(even) .stack__num { background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .5)); -webkit-background-clip: text; background-clip: text; }
.stack__icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--ice-100); color: var(--blue-600); }
.stack__card:nth-child(even) .stack__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.stack__icon svg { width: 28px; height: 28px; }
.stack__card h3 { grid-column: 1 / -1; align-self: end; margin-top: 40px; font-family: var(--font-d); font-weight: 600; font-size: clamp(20px, 2vw, 26px); }
.stack__card p { grid-column: 1 / -1; margin-top: 12px; font-size: 16.5px; color: var(--muted); max-width: 520px; }
.stack__card:nth-child(even) p { color: rgba(255, 255, 255, .85); }

/* ---------- Этапы ---------- */
.process { background: #fff; overflow: hidden; }
.steps { position: relative; padding-top: 10px; }
.steps__line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.steps__line path { fill: none; stroke-linecap: round; }
.steps__path-bg { stroke: var(--ice-200); stroke-width: 2; stroke-dasharray: 6 8; }
.steps__path { stroke: var(--blue-500); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 4px 8px rgba(10, 124, 245, .45)); }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 20px; }
.step { position: relative; padding-top: 0; }
.step:nth-child(even) { margin-top: 90px; }
.step__dot {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%;
  font-family: var(--font-d); font-weight: 700; font-size: 20px; color: var(--blue-600);
  background: #fff; border: 2px solid var(--ice-200);
  transition: color .5s, background .5s, border-color .5s, transform .6s var(--ease), box-shadow .6s;
}
.step__dot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid rgba(31, 166, 255, .4); opacity: 0; transform: scale(.8); transition: .6s var(--ease); }
.step.is-on .step__dot { color: #fff; background: var(--grad-btn); border-color: transparent; transform: scale(1.06); box-shadow: var(--shadow-blue); }
.step.is-on .step__dot::after { opacity: 1; transform: none; animation: ringPulse 2.4s infinite; }
@keyframes ringPulse { 50% { transform: scale(1.12); opacity: .4; } }
.step h3 { font-family: var(--font-d); font-weight: 600; font-size: 18px; margin-bottom: 8px; transition: color .5s; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.step.is-on h3 { color: var(--blue-600); }

/* ---------- Квиз ---------- */
.quiz-sec { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 140px) 0; color: #fff; background: linear-gradient(125deg, #0A3FB0 0%, #0A6CEB 50%, #1FA6FF 100%); }
.quiz-sec__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.qs-shape { position: absolute; border-radius: 50%; will-change: transform; }
.qs-shape--1 { width: 620px; height: 620px; left: -220px; top: -260px; border: 70px solid rgba(255, 255, 255, .06); }
.qs-shape--2 { width: 420px; height: 460px; right: -80px; bottom: -160px; border-radius: 0; background: url("../img/logo-icon-white.png") center / contain no-repeat; opacity: .08; }
.qs-shape--3 { width: 220px; height: 220px; left: 42%; top: 12%; background: radial-gradient(circle, rgba(106, 214, 255, .5), transparent 70%); filter: blur(10px); }
.quiz-sec__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.quiz-sec__intro p { margin-top: 20px; font-size: 17px; color: rgba(255, 255, 255, .85); max-width: 460px; }
.quiz-sec__intro .eyebrow--light { color: #fff; }
.quiz-sec__intro .eyebrow--light i { background: rgba(255, 255, 255, .18); color: #fff; }
.quiz-sec__points { margin-top: 30px; display: grid; gap: 14px; }
.quiz-sec__points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.quiz-sec__points svg { width: 28px; height: 28px; padding: 5px; border-radius: 9px; background: rgba(255, 255, 255, .18); }

.quiz, .cform, .mform { position: relative; color: var(--ink); }
.quiz { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: #fff; box-shadow: 0 50px 100px -40px rgba(2, 10, 32, .6); min-height: 480px; display: flex; flex-direction: column; }
.quiz__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.quiz__step-label { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.quiz__step-label b { color: var(--blue-600); }
.quiz__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--ice-100); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 33.33%; border-radius: inherit; background: var(--grad-btn); transition: width .7s var(--ease); }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: stepIn .6s var(--ease) both; }
.quiz__step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-40px); } }
.quiz__step legend { font-family: var(--font-d); font-weight: 600; font-size: clamp(19px, 1.8vw, 24px); margin-bottom: 20px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt--wide { grid-column: 1 / -1; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--ice-200);
  font-weight: 600; font-size: 15px; line-height: 1.3;
  transition: border-color .3s, background-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.opt span::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ice-200); transition: .3s; background: #fff; }
.opt:hover span { border-color: var(--sky-400); transform: translateY(-2px); }
.opt input:checked + span { border-color: var(--blue-500); background: var(--ice-50); box-shadow: 0 10px 24px -14px rgba(10, 124, 245, .6); }
.opt input:checked + span::before { border-color: var(--blue-500); border-width: 6px; }
.opt input:focus-visible + span { outline: 2px solid var(--sky-400); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.quiz__nav [data-quiz-next], .quiz__nav .submit-wrap { margin-left: auto; }

/* ---------- Поля и согласие ---------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.field { position: relative; display: block; margin-bottom: 12px; }
.fields .field { margin-bottom: 0; }
.field input, .field textarea, .field select {
  width: 100%; padding: 24px 16px 9px; border-radius: 14px;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  background: var(--ice-50); border: 1.5px solid var(--ice-200); outline: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235B6B8E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 42px; }
.field > span { position: absolute; left: 17px; top: 17px; font-size: 15.5px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, top .3s, color .3s; transform-origin: left; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(10, 124, 245, .12); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field--select > span { top: 7px; font-size: 12px; color: var(--blue-600); font-weight: 600; }
.field.is-error input { border-color: var(--danger); background: #FFF6F6; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; cursor: pointer; user-select: none; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 2px solid #A9BCDD; background: #fff; display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.consent__box svg { width: 16px; height: 16px; color: #fff; transform: scale(0); transition: transform .35s var(--ease); }
.consent input:checked + .consent__box { background: var(--grad-btn); border-color: transparent; }
.consent input:checked + .consent__box svg { transform: scale(1); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--sky-400); outline-offset: 2px; }
.consent:hover .consent__box { border-color: var(--blue-500); }
.consent__txt { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.consent__txt a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent.is-error .consent__box { border-color: var(--danger); background: #FFF0F0; animation: shake .45s; }
.consent.is-error .consent__txt { color: var(--danger); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.form-success {
  position: absolute; inset: 0; z-index: 5; border-radius: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 30px;
  background: #fff; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.form-success svg { width: 86px; height: 86px; margin-bottom: 8px; }
.form-success circle { fill: none; stroke: var(--ice-200); stroke-width: 2; }
.form-success path { fill: none; stroke: var(--blue-500); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-success h3 { font-family: var(--font-d); font-size: 22px; }
.form-success p { color: var(--muted); }
.is-sent .form-success { opacity: 1; visibility: visible; }
.is-sent .form-success path { transition: stroke-dashoffset .8s var(--ease) .25s; stroke-dashoffset: 0; }
.is-sent .form-success circle { stroke: var(--blue-500); transition: stroke .5s; }

/* ---------- FAQ ---------- */
.faq { background: var(--ice-50); }
.faq__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__aside { position: sticky; top: 120px; }
.faq__aside p { margin-top: 22px; color: var(--muted); font-size: 17px; max-width: 400px; }
.faq__aside a { color: var(--blue-600); font-weight: 700; white-space: nowrap; }
.acc { display: grid; gap: 12px; }
.acc__item { border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.acc__item[open] { border-color: rgba(31, 166, 255, .4); box-shadow: 0 24px 50px -30px rgba(10, 124, 245, .5); }
.acc__item summary { position: relative; list-style: none; cursor: pointer; padding: 24px 70px 24px 28px; font-weight: 700; font-size: 17px; line-height: 1.4; transition: color .3s; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover { color: var(--blue-600); }
.acc__item summary i { position: absolute; right: 22px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--ice-100); transition: transform .5s var(--ease), background .4s; }
.acc__item summary i::before, .acc__item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--blue-600); transition: background .4s; }
.acc__item summary i::after { transform: rotate(90deg); }
.acc__item[open] summary i { transform: rotate(135deg); background: var(--grad-btn); }
.acc__item[open] summary i::before, .acc__item[open] summary i::after { background: #fff; }
.acc__body { padding: 0 28px 26px; color: var(--ink-2); }
.acc__body a { color: var(--blue-600); font-weight: 700; }

/* ---------- Контакты и карта ---------- */
.contacts { background: #fff; padding-bottom: clamp(60px, 8vw, 110px); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.cinfo { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg); color: #fff; background: radial-gradient(120% 100% at 100% 0%, #0B47C0 0%, var(--navy-800) 50%, var(--navy-900) 100%); display: flex; flex-direction: column; }
.cinfo::after { content: ''; position: absolute; right: -60px; bottom: -70px; width: 300px; height: 320px; z-index: -1; opacity: .07; background: url("../img/logo-icon-white.png") center / contain no-repeat; }
.cinfo__list { display: grid; gap: 24px; margin-bottom: 32px; }
.cinfo__list li { display: flex; gap: 16px; align-items: flex-start; }
.cinfo__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: var(--cyan-300); }
.cinfo__ic svg { width: 24px; height: 24px; }
.cinfo__list div { display: grid; gap: 2px; }
.cinfo__list small { font-size: 13px; color: rgba(255, 255, 255, .55); }
.cinfo__list b { font-size: 17px; line-height: 1.35; }
.cinfo__list span { color: rgba(255, 255, 255, .7); font-size: 15px; }
.cinfo__list a { transition: color .3s; }
.cinfo__list a:hover { color: var(--cyan-300); }
.cinfo__btns { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.cinfo__btns .btn svg { width: 18px; height: 18px; }

/* ---------- Группы в мессенджерах ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.cinfo__list .socials { display: flex; margin-top: 6px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.social svg { flex: none; width: 18px; height: 18px; color: var(--cyan-300); }
.social:hover { background: rgba(255, 255, 255, .16); border-color: rgba(106, 214, 255, .55); transform: translateY(-2px); }
.cinfo__list .social:hover { color: #fff; }
.footer__col .socials { margin-top: 6px; }
.footer__col .social { transition: background .3s, border-color .3s, transform .4s var(--ease); }
.footer__col .social:hover { color: #fff; transform: translateY(-2px); }
.socials--mnav { margin-top: 10px; }
.cform { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cform h3 { font-family: var(--font-d); font-weight: 600; font-size: 24px; margin-bottom: 6px; }
.cform > p { color: var(--muted); margin-bottom: 22px; }

.map { position: relative; border-radius: var(--r-lg); overflow: hidden; height: clamp(360px, 42vw, 500px); background: var(--ice-100); box-shadow: var(--shadow); }
.map__frame { position: absolute; inset: 0; }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; color: var(--muted); font-weight: 600; background: repeating-linear-gradient(45deg, var(--ice-50) 0 14px, var(--ice-100) 14px 28px); }
.map__pulse { width: 18px; height: 18px; border-radius: 50%; background: var(--blue-500); animation: dot 1.6s infinite; box-shadow: 0 0 0 0 rgba(10, 124, 245, .6); }
.map__badge { position: absolute; left: 20px; top: 20px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); box-shadow: var(--shadow); pointer-events: none; }
.map__badge img { width: 40px; height: auto; }
.map__badge div { display: grid; line-height: 1.3; }
.map__badge b { font-family: var(--font-d); font-size: 15px; color: var(--navy-800); }
.map__badge span { font-size: 13px; color: var(--muted); }

/* Карта OpenStreetMap (Leaflet) в фирменных цветах */
.map__leaflet { position: absolute; inset: 0; z-index: 1; font: inherit; background: var(--ice-100); }
.map__leaflet .leaflet-tile-pane { filter: grayscale(1) sepia(.2) hue-rotate(180deg) saturate(2.1) brightness(1.03) contrast(.95); }
.map__leaflet .leaflet-control-container .leaflet-bottom.leaflet-right .leaflet-control { margin: 0 20px 20px 0; }
.map__leaflet .leaflet-bar { border: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.map__leaflet .leaflet-bar a { width: 42px; height: 42px; line-height: 42px; font-size: 22px; font-weight: 500; color: var(--navy-800); background: #fff; border-bottom: 1px solid var(--line); transition: background .25s, color .25s; }
.map__leaflet .leaflet-bar a:last-child { border-bottom: 0; }
.map__leaflet .leaflet-bar a:hover { color: var(--blue-500); background: var(--ice-50); }
.map__leaflet .leaflet-control-attribution { margin: 0; padding: 3px 10px; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, .82); border-radius: 0 10px 0 0; }
.map__leaflet .leaflet-control-attribution a { color: var(--blue-600); }
.map-pin__body { position: absolute; left: 6px; top: 0; width: 52px; height: 52px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); background: var(--grad-btn); box-shadow: 0 12px 26px rgba(10, 124, 245, .45); }
.map__leaflet .leaflet-marker-pane .map-pin__body img { width: 24px; height: auto; transform: rotate(45deg); }
.map-pin__pulse { position: absolute; left: 50%; top: 58px; width: 20px; height: 10px; margin-left: -10px; border-radius: 50%; background: rgba(10, 124, 245, .35); animation: pinPulse 2.2s var(--ease) infinite; }
@keyframes pinPulse { 0% { box-shadow: 0 0 0 0 rgba(10, 124, 245, .5); } 100% { box-shadow: 0 0 0 26px rgba(10, 124, 245, 0); } }

/* ---------- Подвал ---------- */
.footer { position: relative; overflow: hidden; color: rgba(255, 255, 255, .7); background: var(--navy-950); padding: 90px 0 30px; }
.footer__word { position: absolute; left: 0; right: 0; bottom: -2vw; text-align: center; font-family: var(--font-d); font-weight: 800; font-size: 15vw; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(106, 214, 255, .09); pointer-events: none; }
.footer .container { position: relative; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer__brand p { margin: 22px 0 26px; max-width: 360px; font-size: 15px; }
.logo--white .logo__icon { height: 52px; }
.logo--white .logo__word { height: 38px; }
.footer__col { display: grid; align-content: start; gap: 10px; font-size: 15px; }
.footer__col h4 { font-family: var(--font-d); font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 8px; }
.footer__col a { transition: color .3s, transform .4s var(--ease); justify-self: start; }
.footer__col a:hover { color: var(--cyan-300); transform: translateX(4px); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a, .footer__legal button { color: rgba(255, 255, 255, .7); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .25); transition: color .3s; }
.footer__legal a:hover, .footer__legal button:hover { color: #fff; }

/* ---------- Плавающие кнопки ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: none; place-items: center; color: #fff; background: var(--grad-btn); box-shadow: var(--shadow-blue); }
.fab svg { width: 26px; height: 26px; position: relative; z-index: 1; animation: ring 3s infinite; }
.fab__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sky-400); animation: fabRing 2.4s var(--ease) infinite; }
.fab__ring--2 { animation-delay: 1.2s; }
@keyframes fabRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 64%, 72%, 80% { transform: rotate(-14deg); } 68%, 76%, 84% { transform: rotate(14deg); } }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--navy-800); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background .3s; }
.to-top svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue-600); }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__overlay { position: absolute; inset: 0; background: rgba(2, 10, 32, .6); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: .8fr 1.2fr; border-radius: var(--r-lg); background: #fff; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(40px) scale(.96); clip-path: inset(10% 10% 10% 10% round 32px); transition: opacity .5s, transform .7s var(--ease), clip-path .8s var(--ease); }
.modal.is-open .modal__box { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 32px); }
.modal__close { position: absolute; right: 16px; top: 16px; z-index: 6; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ice-100); color: var(--navy-800); transition: transform .5s var(--ease), background .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--ice-200); }
.modal__close svg { width: 20px; height: 20px; }
.modal__side { position: relative; overflow: hidden; padding: 40px 32px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--grad); }
.modal__side img { width: 90px; }
.modal__side p { font-size: 16px; color: rgba(255, 255, 255, .85); }
.modal__side::after { content: ''; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -120px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .08); }
.mform { padding: 44px 40px 36px; }
.mform h3 { font-family: var(--font-d); font-weight: 700; font-size: 26px; margin-bottom: 8px; padding-right: 40px; }
.mform > p { color: var(--muted); margin-bottom: 22px; font-size: 15px; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 250;
  width: min(440px, calc(100% - 40px));
  display: flex; gap: 16px; padding: 22px; border-radius: 22px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -20px rgba(2, 10, 32, .45);
  transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform .8s var(--ease), opacity .5s, visibility .8s;
}
.cookie.is-on { transform: none; opacity: 1; visibility: visible; }
.cookie__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); }
.cookie__ic svg { width: 26px; height: 26px; }
.cookie.is-on .cookie__ic svg { animation: wobble 1.2s var(--ease) .4s; }
@keyframes wobble { 25% { transform: rotate(-18deg); } 50% { transform: rotate(12deg); } 75% { transform: rotate(-6deg); } }
.cookie__body b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.cookie__body p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.cookie__body a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Страница политики ---------- */
.legal-hero { position: relative; overflow: hidden; padding: 150px 0 70px; color: #fff; background: radial-gradient(100% 120% at 85% 0%, #0B47C0 0%, var(--navy-900) 50%, var(--navy-950) 100%); }
.legal-hero::after { content: ''; position: absolute; right: -40px; bottom: -120px; width: 380px; height: 400px; opacity: .06; background: url("../img/logo-icon-white.png") center / contain no-repeat; }
.legal-hero h1 { font-family: var(--font-d); font-weight: 700; font-size: clamp(30px, 4.4vw, 58px); letter-spacing: -.02em; margin: 22px 0 16px; }
.legal-hero p { max-width: 640px; color: rgba(255, 255, 255, .72); font-size: 17px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cyan-300); }
.legal-back svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .4s var(--ease); }
.legal-back:hover svg { transform: rotate(180deg) translateX(4px); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.legal-meta li { display: grid; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.legal-meta small { font-size: 12px; color: rgba(255, 255, 255, .55); }
.legal-meta b { font-size: 15px; }
.legal { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 5vw, 80px); padding-top: 60px; padding-bottom: 100px; align-items: start; }
.legal__toc { position: sticky; top: 110px; padding: 24px; border-radius: var(--r); background: var(--ice-50); border: 1px solid var(--line); }
.legal__toc b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.legal__toc nav { display: grid; gap: 2px; }
.legal__toc a { padding: 7px 10px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .3s, color .3s; }
.legal__toc a:hover, .legal__toc a.is-active { background: #fff; color: var(--blue-600); }
.legal__body { max-width: 820px; color: var(--ink-2); font-size: 16.5px; }
.legal__body section { padding: 8px 0 34px; margin-bottom: 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal__body section:last-child { border-bottom: 0; }
.legal__body h2 { font-family: var(--font-d); font-weight: 600; font-size: clamp(20px, 2vw, 26px); color: var(--ink); margin-bottom: 18px; }
.legal__body p { margin-bottom: 12px; }
.legal__body ul, .legal__body ol { margin: 6px 0 16px; display: grid; gap: 8px; }
.legal__body ul li { position: relative; padding-left: 22px; }
.legal__body ul li::before { content: ''; position: absolute; left: 4px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-btn); }
.legal__body ol { counter-reset: n; }
.legal__body ol li { position: relative; padding-left: 38px; counter-increment: n; }
.legal__body ol li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: var(--grad-btn); }
.legal__body a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal__body code { font-size: 13.5px; padding: 2px 6px; border-radius: 6px; background: var(--ice-100); color: var(--navy-700); }
.legal__terms { display: grid; grid-template-columns: 220px 1fr; gap: 12px 24px; margin: 0; }
.legal__terms dt { font-weight: 800; color: var(--ink); }
.legal__terms dd { margin: 0; }
.legal__card { padding: 26px; border-radius: var(--r); background: var(--ice-50); border: 1px solid var(--line); }
.legal__card dl { display: grid; grid-template-columns: 240px 1fr; gap: 12px 20px; margin: 0; }
.legal__card dt { color: var(--muted); font-weight: 600; }
.legal__card dd { margin: 0; font-weight: 700; color: var(--ink); }
.legal__table { overflow-x: auto; margin: 10px 0 18px; border-radius: 18px; border: 1px solid var(--line); }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.legal__table th { text-align: left; padding: 14px 18px; background: var(--navy-800); color: #fff; font-weight: 700; }
.legal__table td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.legal__table tr:nth-child(even) td { background: var(--ice-50); }
.legal__consent { padding: 30px !important; border-radius: var(--r); background: linear-gradient(160deg, #fff, var(--ice-50)); border: 1.5px solid var(--ice-200) !important; box-shadow: var(--shadow-sm); }
mark.todo { background: #FFF1B8; color: #7A4B00; padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.footer--compact { padding: 10px 0 30px; }
.footer--compact .footer__bottom { border-top: 0; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: relative; top: 0; }
  .legal__terms, .legal__card dl { grid-template-columns: 1fr; gap: 4px; }
  .legal__terms dd, .legal__card dd { margin-bottom: 10px; }
}
@media (max-width: 640px) {
  .legal-hero { padding: 120px 0 50px; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1360px) {
  .header__phone small { display: none; }
}
@media (max-width: 1280px) {
  .nav a { padding: 9px 10px; font-size: 14.5px; }
  .nav a::after { left: 10px; right: 10px; }
}
@media (max-width: 1140px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 10px; }
  .hero { padding-top: 120px; }
  .hero__visual { justify-self: center; width: min(560px, 100%); margin-top: 10px; }
  .hero__scroll { display: none; }
  .bento--home > .card:nth-child(1), .bento--home > .card:nth-child(2) { grid-column: span 12; }
  .card { grid-column: span 6; }
  .marks__grid { grid-template-columns: repeat(3, 1fr); }
  .adv__inner, .faq__inner, .quiz-sec__inner { grid-template-columns: 1fr; }
  .adv__aside, .faq__aside { position: relative; top: 0; }
  .adv__shield { display: none; }
  .steps__list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .step:nth-child(even) { margin-top: 0; }
  .steps__line { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sec-head--center { align-items: center; }
  .contacts__grid { grid-template-columns: 1fr; }
  .fab { display: grid; }
  .to-top { display: none; }
  /* документы: без пина — нативный горизонтальный свайп */
  .docs { height: auto !important; }
  .docs__pin { position: relative; height: auto; padding: 90px 0 70px; }
  .docs__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .docs__viewport::-webkit-scrollbar { display: none; }
  .docs__track { transform: none !important; padding-bottom: 20px; }
  .doc { scroll-snap-align: center; --h: 380px; }
  .docs__progress { display: none; }
  .docs__bgword { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .header { top: 8px; }
  .header__inner { height: 62px; padding: 0 8px 0 12px; border-radius: 16px; gap: 10px; }
  .logo__icon { height: 38px; }
  .logo__word { height: 26px; }
  .header__phone span, .header__actions > .btn { display: none; }
  .header__phone svg { width: 46px; height: 46px; padding: 12px; }
  .header__actions { gap: 8px; }
  .hero { padding: 100px 0 110px; }
  .hero__title { margin-top: 20px; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 36px; }
  .hero__stats li { padding: 0 14px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero__stats b { font-size: 26px; }
  .hero__stats small { font-size: 12px; }
  .hero__stats small br { display: none; }
  .toast { width: 220px; left: 0; }
  .hv-doc--1 { left: 0; }
  .orb { font-size: 11px; padding: 6px 10px; }
  .ticker { margin-top: -60px; }
  .card { grid-column: span 12; padding: 26px; }
  .reglist { grid-template-columns: 1fr; }
  .marks__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mark { padding: 20px 12px 18px; }
  .mark__img { height: 80px; }
  .stack__card { min-height: 0; padding: 28px; top: calc(90px + var(--i) * 16px); }
  .stack__num { font-size: 48px; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .opts, .fields { grid-template-columns: 1fr; }
  .quiz { min-height: 0; }
  .quiz__nav { flex-wrap: wrap; }
  .acc__item summary { padding: 20px 60px 20px 20px; font-size: 16px; }
  .acc__body { padding: 0 20px 22px; }
  .map__badge { left: 12px; right: 12px; top: 12px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .modal { padding: 10px; align-items: end; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__side { display: none; }
  .mform { padding: 34px 22px 24px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px; }
  .cookie__ic { display: none; }
}
@media (max-width: 400px) {
  .steps__list { grid-template-columns: 1fr; }
  .logo__word { height: 22px; }
}

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-anim], .split-w > span, .hl > span { opacity: 1 !important; transform: none !important; }
  .btn--shine::after { display: none; }
}

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ: мега-меню, герой страницы, услуги, документы, о компании, контакты
   ========================================================================== */

/* ---------- Мега-меню «Услуги» ---------- */
.nav { align-items: center; }
.nav__dd { position: relative; }
.nav__dd > a { display: inline-flex; align-items: center; gap: 6px; }
.nav__dd > a svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.nav__dd:hover > a svg, .nav__dd:focus-within > a svg, .nav__dd.is-open > a svg { transform: rotate(180deg); }
.nav a.is-current { color: var(--blue-600); }
.nav a.is-current::after { transform: scaleX(1); }
.mega {
  position: absolute; top: calc(100% + 20px); left: -120px; z-index: 5;
  width: 900px; padding: 14px; border-radius: 24px;
  display: grid; grid-template-columns: 1fr 1fr 220px; gap: 4px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(2, 10, 32, .45);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: 20% 0;
  transition: opacity .35s, transform .5s var(--ease), visibility .5s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav__dd:hover .mega, .nav__dd:focus-within .mega, .nav__dd.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__item { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; transition: background-color .3s, transform .4s var(--ease); }
.mega__item::after { display: none; }
.nav .mega__item { padding: 10px 12px; }
.nav .mega__item::after { display: none; }
.mega__item:hover { background: var(--ice-50); transform: translateX(3px); }
.mega__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); box-shadow: 0 8px 18px -8px rgba(10, 124, 245, .6); }
.mega__ic svg { width: 22px; height: 22px; }
.mega__item b { display: block; font-size: 14.5px; line-height: 1.25; color: var(--ink); }
.mega__item small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--muted); }
.mega__promo { grid-column: 3; grid-row: 1 / span 4; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px; border-radius: 18px; color: #fff; background: var(--grad); }
.mega__promo::before { content: ''; position: absolute; top: -30px; right: -30px; width: 160px; height: 170px; background: url("../img/logo-icon-white.png") center / contain no-repeat; opacity: .15; }
.mega__promo b { font-family: var(--font-d); font-weight: 600; font-size: 17px; line-height: 1.25; }
.mega__promo p { font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.nav .mega__promo a { padding: 0; color: #fff; }
.nav .mega__promo a::after { display: none; }
.mega__promo .btn { align-self: flex-start; margin-top: 4px; }
.mega__all { grid-column: 1 / 3; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 14px 14px 6px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--blue-600); }
.nav .mega__all { padding: 14px 14px 6px; border-radius: 0; }
.nav .mega__all::after { display: none; }
.mega__all svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.mega__all:hover svg { transform: translateX(5px); }

/* Мобильное меню: подпункты услуг */
.mnav__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 4px 0 12px 42px; }
.mnav__sub a { font-family: var(--font); font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .72); opacity: 0; transition: opacity .5s .45s, color .3s; }
.mnav.is-open .mnav__sub a { opacity: 1; }
.mnav__sub a:hover { color: var(--cyan-300); }

/* ---------- Герой внутренней страницы ---------- */
.phero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: 150px 0 120px; min-height: 660px;
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 90% at 75% 30%, #0B3FA8 0%, var(--navy-900) 50%, var(--navy-950) 100%);
}
.phero--compact { min-height: 0; padding-bottom: 100px; }
.phero .hero__visual { max-width: 480px; justify-self: center; }
.phero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.phero__content { position: relative; z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.crumbs a { color: rgba(255, 255, 255, .8); transition: color .3s; }
.crumbs a:hover { color: var(--cyan-300); }
.crumbs span[aria-hidden] { opacity: .5; }
.phero__title { font-family: var(--font-d); font-weight: 700; font-size: clamp(30px, 3.9vw, 56px); letter-spacing: -.02em; line-height: 1.08; margin: 18px 0 20px; }
.phero__lead { max-width: 620px; font-size: 17.5px; color: rgba(255, 255, 255, .75); }
.phero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.phero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.phero__chips li { padding: 8px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .88); }
.phero__chips li::before { content: '✓'; margin-right: 7px; color: var(--cyan-300); font-weight: 800; }

.pvis { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; justify-self: center; }
.pvis .hv__rings { position: absolute; inset: 0; }
.pvis__core {
  position: absolute; inset: 31%; z-index: 2; border-radius: 34%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, rgba(31, 166, 255, .9), rgba(10, 69, 184, .9));
  box-shadow: 0 30px 70px -20px rgba(10, 124, 245, .8), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -20px 40px rgba(2, 10, 32, .25);
  animation: coreFloat 6s ease-in-out infinite;
}
.pvis__core::before { content: ''; position: absolute; inset: -14px; border-radius: 38%; border: 1px solid rgba(106, 214, 255, .35); animation: spin 30s linear infinite; border-style: dashed; }
.pvis__core svg { width: 46%; height: 46%; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .3)); }
@keyframes coreFloat { 50% { transform: translateY(-10px) rotate(-3deg); } }
.pvis .hv-doc { width: 28%; }
.pvis .hv-doc--1 { left: -6%; top: 6%; }
.pvis .hv-doc--2 { right: -6%; bottom: 4%; width: 25%; }
.pvis__mark { position: absolute; right: -2%; top: 6%; width: 26%; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); animation: floatY 7s ease-in-out infinite; --r: 6deg; }

/* ---------- Подменю страницы ---------- */
.subnav { position: sticky; top: 98px; z-index: 60; margin-top: -30px; transition: top .6s var(--ease); }
body.hdr-hidden .subnav { top: 12px; }
.subnav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 7px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(2, 10, 32, .35); }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 10px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; transition: background-color .3s, color .3s; }
.subnav a:hover { background: var(--ice-50); color: var(--blue-600); }
.subnav a.is-active { color: #fff; background: var(--grad-btn); box-shadow: 0 8px 18px -8px rgba(10, 124, 245, .7); }

.section--ice { background: var(--ice-50); }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.sec-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-600); white-space: nowrap; }
.sec-link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.sec-link:hover svg { transform: translateX(5px); }

/* ---------- Блоки подуслуг ---------- */
.sblocks { display: grid; gap: 24px; }
.sblock {
  position: relative; overflow: hidden; isolation: isolate; scroll-margin-top: 180px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 60px);
  padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.sblock::after { content: attr(data-num); position: absolute; right: 24px; top: -10px; z-index: -1; font-family: var(--font-d); font-weight: 800; font-size: 150px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(10, 124, 245, .12); }
.sblock--dark { color: #fff; border-color: transparent; background: radial-gradient(120% 120% at 100% 0%, #0B47C0 0%, var(--navy-800) 45%, var(--navy-900) 100%); }
.sblock--dark::after { -webkit-text-stroke-color: rgba(106, 214, 255, .16); }
.sblock__tag { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.sblock--dark .sblock__tag { color: var(--cyan-300); }
.sblock h3 { font-family: var(--font-d); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.01em; margin-bottom: 16px; }
.sblock__text { font-size: 16.5px; color: var(--ink-2); }
.sblock--dark .sblock__text { color: rgba(255, 255, 255, .78); }
.sblock__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sblock__lists { display: grid; gap: 22px; align-content: start; }
.sblock__lists h4 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.sblock--dark .sblock__lists h4 { color: rgba(255, 255, 255, .55); }
.sblock--dark .ticks li { color: rgba(255, 255, 255, .88); }
.sblock--dark .ticks li::before { background-color: rgba(106, 214, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l3.8 3.8L18 8' fill='none' stroke='%236AD6FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.gets { display: grid; gap: 8px; }
.gets li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--ice-50); border: 1px solid var(--line); font-weight: 600; font-size: 15px; line-height: 1.35; }
.gets li svg { flex: none; width: 22px; height: 22px; color: var(--blue-500); }
.sblock--dark .gets li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
.sblock--dark .gets li svg { color: var(--cyan-300); }
.ticks--plain { margin-bottom: 0; }

/* ---------- Декларация vs сертификат ---------- */
.compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__vs { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-d); font-weight: 800; font-size: 15px; color: #fff; background: var(--grad-btn); box-shadow: 0 0 0 8px var(--ice-50), var(--shadow-blue); }
.ccard { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ccard--accent { color: #fff; border-color: transparent; background: linear-gradient(145deg, #0A55D8 0%, #0A7CF5 55%, #22B4FF 100%); }
.ccard__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.ccard__head img { width: 64px; height: 84px; object-fit: cover; object-position: top; border-radius: 8px; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); transform: rotate(-6deg); }
.ccard h3 { font-family: var(--font-d); font-weight: 600; font-size: 22px; }
.ccard--accent .ticks li { color: #fff; }
.ccard--accent .ticks li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l3.8 3.8L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Сетка регламентов ---------- */
.regs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reg { --mx: 50%; --my: 50%; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.reg:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 124, 245, .55); border-color: rgba(31, 166, 255, .45); }
.reg__code { font-family: var(--font-d); font-weight: 700; font-size: 15px; color: var(--blue-600); }
.reg__code small { display: block; font-family: var(--font); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.reg h3 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.reg p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.reg--cta { justify-content: flex-end; color: #fff; border-color: transparent; background: var(--grad); }
.reg--cta h3 { font-family: var(--font-d); font-weight: 600; font-size: 18px; }
.reg--cta p { color: rgba(255, 255, 255, .85); }
.reg--cta .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Таймлайн этапов ---------- */
.tl { position: relative; }
.tl__line { position: absolute; left: 32px; right: 32px; top: 31px; height: 3px; border-radius: 3px; background: var(--ice-200); overflow: hidden; }
.tl__line i { display: block; height: 100%; background: var(--grad-btn); transform-origin: left; transform: scaleX(var(--p, 0)); }
.tl__list { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 20px; }
.tl__dot { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; font-family: var(--font-d); font-weight: 700; font-size: 17px; color: var(--blue-600); background: #fff; border: 2px solid var(--ice-200); transition: color .5s, background .5s, border-color .5s, box-shadow .6s, transform .6s var(--ease); }
.tl__step.is-on .tl__dot { color: #fff; background: var(--grad-btn); border-color: transparent; box-shadow: var(--shadow-blue); transform: scale(1.06); }
.tl__step h3 { font-family: var(--font-d); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.tl__step p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.section--dark .tl__line { background: rgba(255, 255, 255, .12); }
.section--dark .tl__dot { background: var(--navy-800); border-color: rgba(255, 255, 255, .15); color: var(--cyan-300); }
.section--dark .tl__step p { color: rgba(255, 255, 255, .65); }
.section--dark { color: #fff; background: radial-gradient(90% 80% at 10% 10%, #0B3FA8 0%, var(--navy-900) 50%, var(--navy-950) 100%); }
.section--dark .h2 { color: #fff; }
.section--dark .sec-head__text { color: rgba(255, 255, 255, .7); }

/* ---------- Что понадобится ---------- */
.need { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.checklist { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.checklist h3 { font-family: var(--font-d); font-weight: 600; font-size: 22px; margin-bottom: 22px; }
.checklist ol { display: grid; gap: 12px; counter-reset: c; }
.checklist li { position: relative; padding: 14px 16px 14px 60px; border-radius: 14px; background: var(--ice-50); font-weight: 600; line-height: 1.4; counter-increment: c; }
.checklist li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-d); font-size: 12px; font-weight: 700; color: #fff; background: var(--grad-btn); }
.helpcard { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg); color: #fff; background: var(--grad); box-shadow: var(--shadow); }
.helpcard::after { content: ''; position: absolute; right: -50px; bottom: -60px; width: 240px; height: 260px; background: url("../img/logo-icon-white.png") center / contain no-repeat; opacity: .12; }
.helpcard h3 { font-family: var(--font-d); font-weight: 600; font-size: 22px; line-height: 1.25; }
.helpcard p { color: rgba(255, 255, 255, .85); margin-top: 12px; }
.helpcard__phone { display: flex; align-items: center; gap: 12px; font-family: var(--font-d); font-weight: 600; font-size: 20px; }
.helpcard__phone svg { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: rgba(255, 255, 255, .16); }
.helpcard .btn { align-self: flex-start; position: relative; z-index: 1; }

/* ---------- Заявка на странице услуги ---------- */
.order { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 130px) 0; color: #fff; background: linear-gradient(125deg, #0A3FB0 0%, #0A6CEB 50%, #1FA6FF 100%); }
.order__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.order__intro p { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .85); max-width: 460px; }
.order__intro .eyebrow--light { color: #fff; }
.order__intro .eyebrow--light i { background: rgba(255, 255, 255, .18); color: #fff; }
.order__contacts { display: grid; gap: 10px; margin-top: 28px; font-weight: 700; font-size: 18px; }
.order__contacts a { display: inline-flex; align-items: center; gap: 12px; }
.order__contacts svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.order .cform { box-shadow: 0 50px 100px -40px rgba(2, 10, 32, .6); border: 0; }

/* ---------- Смежные услуги ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rcard { position: relative; overflow: hidden; display: grid; grid-template-columns: 56px 1fr 24px; gap: 16px; align-items: center; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.rcard:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(10, 124, 245, .55); border-color: rgba(31, 166, 255, .45); }
.rcard__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); box-shadow: var(--shadow-blue); }
.rcard__ic svg { width: 26px; height: 26px; }
.rcard b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 16px; line-height: 1.25; }
.rcard small { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.rcard > svg { width: 22px; height: 22px; color: var(--blue-600); transition: transform .45s var(--ease); }
.rcard:hover > svg { transform: translateX(5px); }

/* ---------- Каталог услуг ---------- */
.card__title a { transition: color .3s; }
.card__title a:hover { color: var(--blue-600); }
.card--dark .card__title a:hover, .card--accent .card__title a:hover { color: var(--cyan-300); }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.card__more svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.card__more:hover svg { transform: translateX(5px); }
.card--dark .card__more, .card--accent .card__more { color: #fff; }
.bento--half .card { grid-column: span 6; }
.sublinks { display: grid; gap: 6px; margin-bottom: 26px; }
.sublinks a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; background: var(--ice-50); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.sublinks a svg { flex: none; width: 16px; height: 16px; color: var(--blue-500); transition: transform .4s var(--ease); }
.sublinks a:hover { background: var(--ice-100); color: var(--blue-600); transform: translateX(3px); }
.sublinks a:hover svg { transform: translateX(3px); }
.card--dark .sublinks a, .card--accent .sublinks a { background: rgba(255, 255, 255, .08); color: #fff; }
.card--dark .sublinks a svg, .card--accent .sublinks a svg { color: var(--cyan-300); }
.card--accent .sublinks a svg { color: #fff; }
.card--dark .sublinks a:hover, .card--accent .sublinks a:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- CTA-полоса ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); color: #fff; background: var(--grad); box-shadow: var(--shadow); }
.cta-band::before { content: ''; position: absolute; right: 12%; top: -60px; width: 260px; height: 280px; z-index: -1; background: url("../img/logo-icon-white.png") center / contain no-repeat; opacity: .1; }
.cta-band::after { content: ''; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -260px; z-index: -1; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); }
.cta-band h2 { font-family: var(--font-d); font-weight: 700; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.15; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .85); max-width: 560px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- О компании ---------- */
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-intro__text p { margin-top: 18px; font-size: 17.5px; color: var(--ink-2); }
.about-intro__text p.big { font-family: var(--font-d); font-weight: 500; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--ink); }
.about-intro__text p.big b { color: var(--blue-600); font-weight: 700; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { position: relative; overflow: hidden; padding: 28px 24px; border-radius: 24px; background: var(--ice-50); border: 1px solid var(--line); }
.stat:nth-child(2), .stat:nth-child(3) { background: var(--navy-900); color: #fff; border-color: transparent; }
.stat b { display: block; font-family: var(--font-d); font-weight: 700; font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(2) b, .stat:nth-child(3) b { background: linear-gradient(180deg, #fff, #7FDCFF); -webkit-background-clip: text; background-clip: text; }
.stat > span { display: block; margin-top: 10px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.stat:nth-child(2) > span, .stat:nth-child(3) > span { color: rgba(255, 255, 255, .7); }

.values { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.vcard { --mx: 50%; --my: 50%; grid-column: span 2; position: relative; overflow: hidden; isolation: isolate; padding: 32px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .4s, transform .5s var(--ease); }
.vcard:nth-child(4), .vcard:nth-child(5) { grid-column: span 3; }
.vcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(31, 166, 255, .22), transparent 45%); opacity: 0; transition: opacity .4s; }
.vcard:hover { border-color: rgba(106, 214, 255, .4); transform: translateY(-4px); }
.vcard:hover::before { opacity: 1; }
.vcard__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 26px; color: #fff; background: var(--grad-btn); box-shadow: var(--shadow-blue); }
.vcard__ic svg { width: 28px; height: 28px; }
.vcard h3 { font-family: var(--font-d); font-weight: 600; font-size: 20px; margin-bottom: 10px; }
.vcard p { color: rgba(255, 255, 255, .72); }

.flow { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 36px; counter-reset: f; }
.flow__node { position: relative; padding: 28px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); counter-increment: f; }
.flow__node--main { color: #fff; border-color: transparent; background: var(--grad); box-shadow: var(--shadow-blue); }
.flow__node:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; left: 100%; width: 36px; height: 3px; margin-top: -1.5px; z-index: 2;
  background: repeating-linear-gradient(90deg, var(--blue-500) 0 6px, transparent 6px 11px); background-size: 22px 3px;
  animation: flowDash .9s linear infinite;
}
@keyframes flowDash { to { background-position: 22px 0; } }
.flow__node:not(:last-child)::before { content: ''; position: absolute; top: 50%; left: calc(100% + 30px); z-index: 3; width: 10px; height: 10px; margin-top: -5px; border-top: 3px solid var(--blue-500); border-right: 3px solid var(--blue-500); transform: rotate(45deg); }
.flow__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: var(--blue-600); background: var(--ice-100); }
.flow__node--main .flow__ic { color: #fff; background: rgba(255, 255, 255, .18); }
.flow__ic svg { width: 26px; height: 26px; }
.flow__ic img { width: 30px; }
.flow__node h3 { font-family: var(--font-d); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.flow__node p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.flow__node--main p { color: rgba(255, 255, 255, .85); }

.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud__item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.aud__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.aud__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); }
.aud__ic svg { width: 26px; height: 26px; }
.aud__item h3 { font-family: var(--font-d); font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.aud__item p { font-size: 15px; color: var(--muted); line-height: 1.5; }

.office { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.office .cinfo__list { margin-bottom: 26px; }
.office .map { height: auto; min-height: 380px; }

/* ---------- Документы ---------- */
.dfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.dfilter button { padding: 11px 18px; border-radius: 99px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); background: #fff; border: 1.5px solid var(--ice-200); transition: color .3s, background-color .3s, border-color .3s, transform .4s var(--ease); }
.dfilter button:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.dfilter button.is-active { color: #fff; border-color: transparent; background: var(--grad-btn); box-shadow: 0 10px 22px -10px rgba(10, 124, 245, .7); }
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dcard { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.dcard.is-show { animation: dIn .6s var(--ease) both; }
@keyframes dIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.dcard:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.dcard__img { position: relative; display: block; width: 100%; height: 300px; padding: 26px 26px 0; overflow: hidden; background: linear-gradient(160deg, var(--ice-100), var(--ice-50)); cursor: zoom-in; }
.dcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px 10px 0 0; box-shadow: 0 20px 40px -18px rgba(8, 30, 80, .45); transition: transform .9s var(--ease); }
.dcard:hover .dcard__img img { transform: translateY(-8px) scale(1.02); }
.dcard__zoom { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-btn); box-shadow: var(--shadow-blue); transform: scale(.7); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.dcard__zoom svg { width: 22px; height: 22px; }
.dcard:hover .dcard__zoom { transform: none; opacity: 1; }
.dcard__body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.dcard__body .doc__tag { align-self: flex-start; color: var(--blue-600); background: var(--ice-100); border-color: var(--ice-200); }
.dcard__body h3 { font-family: var(--font-d); font-weight: 600; font-size: 19px; line-height: 1.25; margin-bottom: 10px; }
.dcard__body > p { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; }
.dmeta { display: grid; gap: 8px; margin: 0 0 22px; font-size: 14px; }
.dmeta div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-top: 8px; border-top: 1px dashed var(--ice-200); }
.dmeta dt { color: var(--muted); font-weight: 600; }
.dmeta dd { margin: 0; font-weight: 700; }
.dcard__body .card__cta { margin-top: auto; }
.verify { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--navy-900); color: #fff; }
.verify__ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--grad-btn); box-shadow: var(--shadow-blue); }
.verify__ic svg { width: 34px; height: 34px; }
.verify h3 { font-family: var(--font-d); font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.verify p { color: rgba(255, 255, 255, .75); }
.verify code { color: var(--cyan-300); font-family: var(--font); font-weight: 700; }

/* Лайтбокс */
.lb { position: fixed; inset: 0; z-index: 320; display: grid; place-items: center; padding: 30px 90px; visibility: hidden; pointer-events: none; }
.lb.is-open { visibility: visible; pointer-events: auto; }
.lb__overlay { position: absolute; inset: 0; background: rgba(2, 10, 32, .88); backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s; }
.lb.is-open .lb__overlay { opacity: 1; }
.lb__fig { position: relative; margin: 0; display: grid; justify-items: center; gap: 16px; max-height: 100%; opacity: 0; transform: scale(.94) translateY(20px); transition: opacity .45s, transform .6s var(--ease); }
.lb.is-open .lb__fig { opacity: 1; transform: none; }
.lb__fig img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; border-radius: 10px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); background: #fff; }
.lb__fig figcaption { color: #fff; font-family: var(--font-d); font-weight: 600; font-size: 17px; text-align: center; }
.lb__fig figcaption small { display: block; font-family: var(--font); font-weight: 500; font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 4px; }
.lb__btn { position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); transition: background-color .3s, transform .4s var(--ease); }
.lb__btn:hover { background: var(--blue-500); }
.lb__btn svg { width: 24px; height: 24px; }
.lb__close { top: 20px; right: 20px; }
.lb__close:hover { transform: rotate(90deg); }
.lb__prev { left: 20px; top: 50%; margin-top: -27px; }
.lb__prev svg { transform: rotate(180deg); }
.lb__next { right: 20px; top: 50%; margin-top: -27px; }

/* ---------- Контакты ---------- */
.ctiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.ctile { position: relative; overflow: hidden; display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
a.ctile:hover { background: rgba(255, 255, 255, .13); border-color: rgba(106, 214, 255, .5); transform: translateY(-5px); }
.ctile svg { width: 46px; height: 46px; padding: 11px; margin-bottom: 12px; border-radius: 14px; color: #fff; background: var(--grad-btn); box-shadow: var(--shadow-blue); }
.ctile small { font-size: 13px; color: rgba(255, 255, 255, .6); }
.ctile b { font-size: 17px; line-height: 1.35; }
.ctile span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.map--tall { height: clamp(420px, 48vw, 600px); }

/* ---------- Адаптив внутренних страниц ---------- */
@media (max-width: 1140px) {
  .mega { display: none; }
  .phero__inner { grid-template-columns: 1fr; }
  .pvis { max-width: 380px; margin-top: 10px; }
  .regs { grid-template-columns: repeat(3, 1fr); }
  .values .vcard, .values .vcard:nth-child(4), .values .vcard:nth-child(5) { grid-column: span 3; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow__node:nth-child(2)::after, .flow__node:nth-child(2)::before { display: none; }
  .aud, .related { grid-template-columns: 1fr 1fr; }
  .dgrid { grid-template-columns: 1fr 1fr; }
  .ctiles { grid-template-columns: 1fr 1fr; }
  .bento--half .card { grid-column: span 12; }
}
@media (max-width: 900px) {
  .sblock, .need, .order__inner, .about-intro, .office, .compare { grid-template-columns: 1fr; }
  .compare__vs { position: relative; left: auto; top: auto; transform: none; margin: -38px auto; }
  .tl__line { left: 31px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .tl__line i { width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .tl__list { grid-template-columns: 1fr; gap: 26px; }
  .tl__step { position: relative; padding-left: 88px; min-height: 64px; }
  .tl__dot { position: absolute; left: 0; top: 0; margin: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .verify { grid-template-columns: 1fr; }
  .lb { padding: 70px 12px 90px; }
  .lb__prev, .lb__next { top: auto; bottom: 18px; margin-top: 0; }
  .lb__prev { left: calc(50% - 64px); }
  .lb__next { right: calc(50% - 64px); }
  .sblock::after { font-size: 100px; }
  .subnav { top: 84px; }
}
@media (max-width: 640px) {
  .phero { padding: 104px 0 90px; min-height: 0; }
  .phero__cta .btn { width: 100%; }
  .pvis { max-width: 300px; }
  .regs, .aud, .related, .dgrid, .values { grid-template-columns: 1fr; }
  .values .vcard, .values .vcard:nth-child(4), .values .vcard:nth-child(5) { grid-column: auto; }
  .flow { grid-template-columns: 1fr; gap: 36px; }
  .flow__node:not(:last-child)::after { top: 100%; left: 50%; width: 3px; height: 36px; margin: 0 0 0 -1.5px; background: repeating-linear-gradient(180deg, var(--blue-500) 0 6px, transparent 6px 11px); background-size: 3px 22px; animation-name: flowDashV; }
  .flow__node:not(:last-child)::before { top: calc(100% + 26px); left: 50%; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .flow__node:nth-child(2)::after, .flow__node:nth-child(2)::before { display: block; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 22px 18px; }
  .dmeta div { grid-template-columns: 1fr; gap: 2px; }
  .ctiles { grid-template-columns: 1fr; }
  .subnav { top: 76px; margin-top: -24px; }
  body.hdr-hidden .subnav { top: 8px; }
  .dcard__img { height: 260px; }
  .mnav__sub { margin-left: 0; }
}
@keyframes flowDashV { to { background-position: 0 22px; } }


/* ==========================================================================
   WordPress: служебные стили темы
   ========================================================================== */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #FFF0F0; color: var(--danger); font-size: 14px; font-weight: 600; }
.is-busy [type="submit"] { opacity: .6; cursor: progress; }
.is-busy [type="submit"]::after { display: none; }
.card__foot .card__more { margin-right: auto; }
.docs__bgword { text-transform: uppercase; }

/* Политика: заголовки из редактора вместо секций */
.legal__body h2 { margin: 44px 0 18px; padding-top: 34px; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.legal__body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body .legal__consent { margin: 34px 0; border-top: 0; }
.legal__body .legal__consent h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body dl { margin: 0; }
.legal__body table { width: 100%; border-collapse: collapse; }

/* Текст из редактора WordPress */
.entry-content { max-width: 860px; font-size: 17px; color: var(--ink-2); }
.entry-content > * + * { margin-top: 16px; }
.entry-content h2 { font-family: var(--font-d); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); color: var(--ink); margin-top: 36px; }
.entry-content h3 { font-family: var(--font-d); font-weight: 600; font-size: 20px; color: var(--ink); margin-top: 28px; }
.entry-content a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 22px; list-style: revert; }
.entry-content li + li { margin-top: 6px; }
.entry-content img { border-radius: 14px; }
.entry-content blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--blue-500); background: var(--ice-50); border-radius: 0 14px 14px 0; }
.entry-content .alignleft { float: left; margin: 0 24px 16px 0; }
.entry-content .alignright { float: right; margin: 0 0 16px 24px; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.legal__body.entry-content ul, .legal__body.entry-content ol { list-style: none; padding-left: 0; }
.legal__body.entry-content > * + * { margin-top: 0; }
