/* ============================================================
   вДВижении — hero + премиум-интро
   ============================================================ */

:root {
  --bg: #04070d;
  --bg-soft: #070c16;
  --ink: #fefefe;
  --muted: #94a3b8;
  --muted-dim: #64748b;

  --brand: #12b1eb;
  --brand-2: #0594ca;
  --brand-deep: #00406e;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.045);

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 80px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.72, 0, 0.18, 1);

  --font: "Inter", "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

/* у .btn задан display: inline-flex, и он перебивает display:none от атрибута
   hidden — без этого «Показать ещё» остаётся на экране, когда её прячут */
[hidden] { display: none !important; }

html { height: 100%; }
body { min-height: 100%; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Родной скроллбар убран: справа остаётся только брендовая полоса прогресса
   (.scrollbar). Прокрутка колесом, клавишами и тачпадом работает как обычно. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   Логотип (SVG) — анимируемые группы
   ============================================================ */

.vdv-logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.vdv-inner,
.vdv-dv,
.vdv-v,
.vdv-r {
  transform-box: view-box;
  transform-origin: 0 0;
}

/* Стартовое состояние = только уменьшенная синяя группа.
   Контуры букв не трогаем: финал — исходный вектор один-в-один. */
.vdv-inner { transform: translate(2.65px, -42.75px); }
.vdv-dv    { transform-origin: 232.1px 184.44px; transform: scale(0.4798); }
.vdv-v     { transform: translateX(55.51px); }
.vdv-r     { transform: translateX(-60.81px); }

/* финальный лок-ап: «ДВ» дорастает до авторского размера, соседи расходятся */
.logo-expanded .vdv-inner { transform: translate(0, 0); }
.logo-expanded .vdv-dv    { transform: scale(1); }
.logo-expanded .vdv-v     { transform: translateX(0); }
.logo-expanded .vdv-r     { transform: translateX(0); }

.logo-animated .vdv-inner,
.logo-animated .vdv-dv,
.logo-animated .vdv-v,
.logo-animated .vdv-r {
  transition: transform 1600ms var(--ease-out);
}

/* ============================================================
   Синий акцент в заголовках
   ============================================================ */

/* Градиент шире самого текста, и мы медленно возим его из стороны в сторону.
   Буквы от этого «дышат», но никуда не бегут: 14 секунд на цикл и мягкая
   кривая — движение заметно, только если смотреть специально. */
.accent {
  /* По светлому блику глаз цепляется куда быстрее, чем по плавному переходу
     оттенка: внутри градиента есть выраженная светлая полоса, и она проходит
     по буквам за 6 секунд. Движение видно сразу, но текст не мигает. */
  background-image: linear-gradient(
    100deg,
    #2f7cf6 0%,
    #12b1eb 20%,
    #a5ecff 36%,
    #12b1eb 52%,
    #2f7cf6 74%,
    #12b1eb 88%,
    #2f7cf6 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: accentDrift 6s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}

@keyframes accentDrift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .accent { animation: none; background-position: 36% 50%; }
}

/* ============================================================
   Шапка
   ============================================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 500ms ease, backdrop-filter 500ms ease,
              border-color 500ms ease, height 300ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  height: 72px;
  background: rgba(4, 7, 13, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
}

.brand {
  display: block;
  flex: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 188px;
  position: relative;
  z-index: 60;
  will-change: transform, opacity, filter;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-inline-start: auto;
}

.nav a {
  position: relative;
  white-space: nowrap;      /* иначе «Авто в наличии» ломается на две строки */
  font-size: 15.5px;
  letter-spacing: 0.01em;
  color: var(--muted);
  padding: 6px 0;
  transition: color 220ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--brand);
  transition: right 320ms var(--ease-out);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.head-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.head-phone {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 220ms ease;
}
.head-phone:hover { color: var(--brand); }

/* ============================================================
   Кнопки
   ============================================================ */

.btn {
  --btn-bg: linear-gradient(135deg, var(--brand) 0%, #2f7cf6 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 12px;
  background: var(--btn-bg);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 32px -12px rgba(18, 177, 235, 0.85),
              inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.35) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 720ms var(--ease-out);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(18, 177, 235, 0.95); }
.btn:hover::after { transform: translateX(120%); }

.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; border-radius: 10px; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  box-shadow: none;
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: rgba(18, 177, 235, 0.55);
  background: rgba(18, 177, 235, 0.07);
  box-shadow: none;
}

.btn .ico { width: 18px; height: 18px; flex: none; }

/* ============================================================
   Герой
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 100px;
  isolation: isolate;
  overflow: hidden;
}

/* — фон — */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(18, 177, 235, 0.20) 0%, transparent 55%),
    radial-gradient(80% 70% at 8% 92%, rgba(0, 64, 110, 0.34) 0%, transparent 60%),
    linear-gradient(180deg, #05080f 0%, #04070d 45%, #060a12 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 0%, transparent 72%);
  opacity: 0.3;
}

/* — видео фоном на весь экран — */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 50%;
}

/* затемнение: слева под текст, сверху под шапку, снизу под ленту */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0.93) 0%, rgba(4, 7, 13, 0.74) 30%, rgba(4, 7, 13, 0.24) 58%, rgba(4, 7, 13, 0.10) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(4, 7, 13, 0.55) 22%, transparent 52%),
    linear-gradient(180deg, rgba(4, 7, 13, 0.82) 0%, rgba(4, 7, 13, 0.28) 16%, transparent 34%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  width: 46vw;
  aspect-ratio: 1;
  right: 4vw;
  top: 12%;
  background: radial-gradient(circle, rgba(18, 177, 235, 0.28) 0%, transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

/* — контент — */
.hero-inner {
  position: relative;
  z-index: 2;
}

/* колонка текста прижата к левому краю страницы, в одну линию с логотипом */
.hero-inner > * { max-width: 780px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cbd7e6;
}

.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(18, 177, 235, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(18, 177, 235, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(18, 177, 235, 0.04); }
}

/* Страны — не мелкая подпись, а самостоятельный ряд: три плашки с флагами
   в едином стиле, заметно крупнее прежнего eyebrow. */
.hero-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  font-size: clamp(14px, 1.15vw, 16.5px);
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #eaf2fb;
  transition: border-color 260ms ease, background-color 260ms ease, transform 260ms var(--ease-out);
}
.hc:hover { border-color: rgba(18, 177, 235, 0.5); background: rgba(18, 177, 235, 0.10); transform: translateY(-1px); }

.hc i {
  display: block;
  width: 27px;
  flex: none;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.hc i svg { display: block; width: 100%; height: auto; }

@media (max-width: 560px) {
  .hc { padding: 7px 14px 7px 9px; font-size: 13.5px; gap: 8px; }
  .hc i { width: 22px; }
}

.hero h1 {
  margin: 22px 0 0;
  max-width: 660px;          /* чтобы вторая строка ломалась пополам, без висячего слова */
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.0;
  text-wrap: balance;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  /* см. общее правило .accent ниже — градиент там же и анимируется */
}

.hero .lead {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: clamp(16px, 1.35vw, 19.5px);
  line-height: 1.6;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--muted-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* — метрики — */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
  margin-top: clamp(22px, 2.8vw, 40px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 820px;
}

.stat .num {
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat .num i { font-style: normal; color: var(--brand); }
.stat .cap {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted-dim);
}

/* — нижняя лента — */
.hero-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(4, 7, 13, 0.6));
  backdrop-filter: blur(6px);
}

.hero-foot .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.marks {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, #000 0%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 93%, transparent);
}

.marks span {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.30);
  white-space: nowrap;
  transition: color 300ms ease;
}
.marks span:hover { color: rgba(255, 255, 255, 0.72); }

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  white-space: nowrap;
}

.scroll-hint .line {
  display: block;
  width: 1px; height: 26px;
  background: linear-gradient(180deg, var(--brand), transparent);
  animation: drop 1.9s ease-in-out infinite;
}

@keyframes drop {
  0%   { transform: translateY(-8px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ============================================================
   Интро-занавес
   ============================================================ */

.intro-veil {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #000;
  pointer-events: none;
}

.intro-veil::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% 50%, rgba(18, 177, 235, 0.10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 1200ms ease;
}

.intro-beam {
  position: absolute;
  top: -30%;
  left: -40%;
  width: 26%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(120, 205, 255, 0.16), rgba(255, 255, 255, 0.05), transparent);
  filter: blur(14px);
  transform: rotate(14deg) translateX(0);
  opacity: 0;
}

/* ============================================================
   Состояния интро
   ============================================================ */

/* до старта скрипта — прячем всё, что не логотип */
.intro-pending body { overflow: hidden; }
.intro-pending .brand-logo { opacity: 0; }
.intro-pending .nav,
.intro-pending .head-actions,
.intro-pending .hero-inner,
.intro-pending .hero-foot,
.intro-pending .hero-media { opacity: 0; }

/* логотип вынесен в центр экрана */
.intro-running .brand-logo {
  transform: translate(var(--flip-x, 0px), var(--flip-y, 0px)) scale(var(--flip-s, 1));
}

/* появление логотипа */
.intro-running .brand-logo {
  opacity: 0;
  filter: blur(16px);
}

.logo-in .brand-logo {
  opacity: 1;
  filter: blur(0);
  transition: opacity 1000ms var(--ease-out), filter 1100ms var(--ease-out);
}

.logo-shine .brand-logo {
  filter: drop-shadow(0 0 42px rgba(18, 177, 235, 0.55));
  transition: filter 900ms ease;
}

.logo-shine .intro-veil::before { opacity: 1; }

.logo-shine .intro-beam {
  opacity: 1;
  transform: rotate(14deg) translateX(520%);
  transition: transform 1500ms cubic-bezier(0.4, 0, 0.2, 1), opacity 600ms ease;
}

/* финал: логотип летит в шапку, страница открывается */
.intro-reveal .brand-logo {
  transform: translate(0, 0) scale(1);
  filter: drop-shadow(0 0 0 rgba(18, 177, 235, 0));
  transition: transform 1050ms var(--ease-inout), filter 900ms ease;
}

.intro-reveal .intro-veil {
  opacity: 0;
  transition: opacity 950ms ease 60ms;
}

.intro-reveal .nav,
.intro-reveal .head-actions,
.intro-reveal .hero-media,
.intro-reveal .hero-inner,
.intro-reveal .hero-foot { opacity: 1; }

/* пошаговое появление контента */
.intro-pending .hero-inner > *,
.intro-pending .hero-foot > * {
  opacity: 0;
  transform: translateY(26px);
}

.intro-reveal .hero-inner > *,
.intro-reveal .hero-foot > * {
  opacity: 1;
  transform: none;
  transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out);
}

.intro-reveal .hero-inner > *:nth-child(1) { transition-delay: 250ms; }
.intro-reveal .hero-inner > *:nth-child(2) { transition-delay: 340ms; }
.intro-reveal .hero-inner > *:nth-child(3) { transition-delay: 430ms; }
.intro-reveal .hero-inner > *:nth-child(4) { transition-delay: 520ms; }
.intro-reveal .hero-inner > *:nth-child(5) { transition-delay: 600ms; }
.intro-reveal .hero-inner > *:nth-child(6) { transition-delay: 680ms; }
.intro-reveal .hero-foot > * { transition-delay: 760ms; }

.intro-reveal .nav,
.intro-reveal .head-actions {
  transition: opacity 900ms ease 620ms;
}

.intro-reveal .hero-media {
  transition: opacity 1400ms ease 120ms;
}

.intro-done .intro-veil { display: none; }
.intro-done .brand-logo { will-change: auto; }

/* подсказка «пропустить» */
.intro-skip {
  position: fixed;
  z-index: 45;
  right: max(20px, 3vw);
  bottom: max(20px, 3vh);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  opacity: 0;
  transition: opacity 600ms ease, color 240ms ease;
}
.logo-in .intro-skip { opacity: 1; }
.intro-skip:hover { color: rgba(255, 255, 255, 0.7); }
.intro-reveal .intro-skip { opacity: 0; pointer-events: none; }

/* ============================================================
   Путь автомобиля
   ============================================================ */

.how {
  position: relative;
  padding: clamp(72px, 9vw, 130px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(80% 60% at 82% 0%, rgba(18, 177, 235, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, #04070d 0%, #060b14 55%, #04070d 100%);
}

.sec-head { max-width: 780px; }

.sec-head h2 {
  margin: 22px 0 0;
  max-width: 780px;   /* иначе последнее слово строки-акцента повисает отдельно */
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sec-head h2 .accent {
  /* см. общее правило .accent ниже — градиент там же и анимируется */
}

.sec-lead {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.6;
  color: var(--muted);
}

/* — линия с точками — */
.road {
  --p: 0;                       /* прогресс заливки, ставит скрипт */
  position: relative;
  margin-top: clamp(52px, 6vw, 86px);
  padding-top: 44px;
}

.road-track {
  position: absolute;
  top: 15px;
  left: calc(100% / 12);        /* центр первой колонки */
  right: calc(100% / 12);       /* центр последней */
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.10);
}

.road-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand-2) 40%, var(--brand) 100%);
  box-shadow: 0 0 20px rgba(18, 177, 235, 0.55);
  transform: scaleX(var(--p));
  transform-origin: left center;
}

.road-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 clamp(10px, 1.4vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  text-align: center;
}

.step-dot {
  position: absolute;
  top: -35px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #0b111c;
  border: 2px solid rgba(255, 255, 255, 0.22);
  transition: border-color 420ms var(--ease-out), background-color 420ms var(--ease-out),
              box-shadow 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.step-day {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  transition: color 420ms var(--ease-out);
}

.step h3 {
  margin: 10px 0 0;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  min-height: 2.5em;          /* два заголовка разной длины — описания встают по одной линии */
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.42);
  transition: color 420ms var(--ease-out);
}

.step p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted-dim);
  opacity: 0.55;
  transition: opacity 420ms var(--ease-out);
}

/* зажжённая точка */
.step.is-on .step-dot {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 5px rgba(18, 177, 235, 0.14), 0 0 22px rgba(18, 177, 235, 0.75);
  transform: scale(1.12);
}
.step.is-on .step-day { color: var(--brand); }
.step.is-on h3 { color: var(--ink); }
.step.is-on p { opacity: 1; }

/* — итог и кнопка — */
.how-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin-top: clamp(52px, 6vw, 84px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.how-total {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--muted);
}
.how-total b {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-inline-end: 6px;
}

/* ============================================================
   Витрина лотов
   ============================================================ */

.lots {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 9vw, 130px);
  background:
    radial-gradient(70% 50% at 15% 0%, rgba(18, 177, 235, 0.09) 0%, transparent 60%),
    linear-gradient(180deg, #04070d 0%, #05090f 60%, #04070d 100%);
}

/* — переключатель стран — */
.lots-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(34px, 4vw, 52px);
}

.lots-tab {
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease;
}
.lots-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.lots-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand) 0%, #2f7cf6 100%);
  box-shadow: 0 8px 26px -12px rgba(18, 177, 235, 0.9);
}

/* — фильтры — */
.lots-filters {
  margin-top: clamp(18px, 2vw, 26px);
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.lf-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lf { display: block; }
.lf > span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted-dim);
}
.lf input,
.lf select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 7, 13, 0.6);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.lf input::placeholder { color: #4d5c6f; }
.lf input:focus,
.lf select:focus { outline: none; border-color: var(--brand); background: rgba(18, 177, 235, 0.05); }
.lf select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 15px;
  padding-inline-end: 32px;
}
.lf select option { background: #0a0f18; }

.lf-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.lf-reset {
  border: 0;
  background: none;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0 0 1px;
  transition: color 200ms ease, border-color 200ms ease;
}
.lf-reset:hover { color: var(--ink); border-color: var(--brand); }
.lf-found { margin-inline-start: auto; font-size: 13.5px; color: var(--muted-dim); }
.lf-found b { color: var(--ink); font-weight: 650; }

/* счётчик лотов прямо на вкладке страны */
.lots-tab u {
  display: inline-block;
  margin-inline-start: 7px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.65;
}

@media (max-width: 900px) { .lf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lf-row { grid-template-columns: 1fr; } }

/* — сетка карточек — */
.lots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(26px, 3vw, 38px);
}

.lot {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  overflow: hidden;
  transition: transform 320ms var(--ease-out), border-color 320ms ease, box-shadow 320ms ease;
}
.lot:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 177, 235, 0.4);
  box-shadow: 0 22px 48px -26px rgba(0, 0, 0, 0.9);
}

.lot-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0a0f18;
  overflow: hidden;
}
.lot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease-out);
}
.lot:hover .lot-media img { transform: scale(1.04); }

/* площадка не прислала фото */
.lot-nophoto {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  justify-items: center;
  padding: 16px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted-dim);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 20px),
    #0a0f18;
}
.lot-nophoto svg { width: 26px; height: 26px; opacity: 0.5; }

.lot-badges {
  position: absolute;
  top: 10px; left: 10px; right: 74px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.lot-badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  background: rgba(4, 7, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbe6f2;
}
.lot-badge.is-rate { background: rgba(18, 177, 235, 0.9); border-color: transparent; color: #04070d; }
.lot-badge.is-lot {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-weight: 600;
  color: #b9c7d8;
}

.lot-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
}

.lot-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lot-grade {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted-dim);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lot-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.lot-specs span {
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: #b6c4d6;
  white-space: nowrap;
}

.lot-price {
  margin-top: auto;
  padding-top: 15px;
}
.lot-price .amount {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.lot-price .cur { font-size: 14px; font-weight: 600; color: var(--muted); margin-inline-start: 3px; }
.lot-price .kind { margin-top: 3px; font-size: 11.5px; color: var(--muted-dim); }

.lot-auction {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-dim);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.lot-auction b { font-weight: 600; color: #9fb0c4; }

/* — скелетоны и служебные состояния — */
.lot-skeleton {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}
.lot-skeleton .sk {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 37%, rgba(255,255,255,0.04) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
.lot-skeleton .sk-media { aspect-ratio: 4 / 3; }
.lot-skeleton .sk-line { height: 12px; margin: 14px 16px 0; border-radius: 6px; }
.lot-skeleton .sk-line.short { width: 55%; }
.lot-skeleton .sk-line.last { margin-bottom: 20px; width: 40%; height: 20px; }

@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.lots-msg {
  grid-column: 1 / -1;
  padding: 44px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
}
.lots-msg b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 17px; }
.lots-msg button { margin-top: 16px; }

.lots-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.lots-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted-dim);
  text-align: center;
}

/* ============================================================
   Карточка лота
   ============================================================ */

.lot { cursor: pointer; }

.lot-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
}
.lot-modal[hidden] { display: none; }

.lot-modal-back {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.78);
  backdrop-filter: blur(6px);
  animation: fadeIn 220ms ease;
}

.lot-modal-win {
  position: relative;
  width: min(980px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #070c14;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
  animation: popIn 300ms var(--ease-out);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }

.lot-modal-x {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}
.lot-modal-x:hover { background: rgba(18, 177, 235, 0.22); transform: rotate(90deg); }
.lot-modal-x svg { width: 17px; height: 17px; }

.lot-modal-body { display: grid; grid-template-columns: 1.15fr 1fr; }

/* — галерея — */
.lm-gallery { background: #05080e; padding: 16px; }
.lm-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0f18;
}
.lm-main img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lm-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 7px;
  margin-top: 10px;
}
.lm-thumbs button {
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0f18;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 200ms ease, border-color 200ms ease;
}
.lm-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-thumbs button:hover { opacity: 0.85; }
.lm-thumbs button.is-on { opacity: 1; border-color: var(--brand); }

/* — правая колонка — */
.lm-info { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; }

.lm-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.lm-title { margin: 0; font-size: clamp(21px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.lm-grade { margin: 7px 0 0; font-size: 14px; color: var(--muted); }

.lm-price { margin-top: 20px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18, 177, 235, 0.06); }
.lm-price .amount { font-size: 28px; font-weight: 780; letter-spacing: -0.02em; }
.lm-price .cur { font-size: 17px; font-weight: 600; color: var(--muted); margin-inline-start: 4px; }
.lm-price .kind { margin-top: 3px; font-size: 12.5px; color: var(--muted-dim); }
.lm-price .avg { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted-dim); }

.lm-specs { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lm-specs div { background: #070c14; padding: 11px 13px; }
.lm-specs dt { margin: 0; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-dim); }
.lm-specs dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; }

.lm-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted-dim); }
.lm-cta { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.lm-cta .btn { flex: 1 1 auto; }

/* значок проходного авто */
.lot-badge.is-benefit { background: rgba(38, 200, 130, 0.92); border-color: transparent; color: #04120b; }

/* ============================================================
   Доверие и руководитель
   ============================================================ */

.trust {
  position: relative;
  padding: clamp(76px, 9vw, 130px) 0 clamp(80px, 9vw, 130px);
  background:
    radial-gradient(65% 45% at 88% 8%, rgba(18, 177, 235, 0.10) 0%, transparent 62%),
    linear-gradient(180deg, #04070d 0%, #060b13 50%, #04070d 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: trust;
}

.trust-card {
  position: relative;
  padding: clamp(22px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  transition: transform 340ms var(--ease-out), border-color 340ms ease, background-color 340ms ease;
}
.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 177, 235, 0.34);
  background: rgba(18, 177, 235, 0.045);
}

/* номер-водяной знак */
.trust-card::after {
  counter-increment: trust;
  content: "0" counter(trust);
  position: absolute;
  top: 18px; right: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.13);
}

.trust-ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(18, 177, 235, 0.22), rgba(47, 124, 246, 0.1));
  border: 1px solid rgba(18, 177, 235, 0.28);
  color: var(--brand);
}
.trust-ico svg { width: 23px; height: 23px; }

.trust-card h3 {
  margin: 16px 0 0;
  font-size: clamp(16.5px, 1.4vw, 19px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  padding-inline-end: 26px;
}

.trust-card p {
  margin: 9px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* — руководитель — */
.boss {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 52px);
  align-items: center;
  margin: clamp(52px, 6vw, 90px) 0 0;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(70% 90% at 0% 50%, rgba(18, 177, 235, 0.09) 0%, transparent 70%),
    rgba(255, 255, 255, 0.025);
}

.boss-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #080d16;
  border: 1px solid var(--line);
}
.boss-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* заглушка под реальный портрет */
.boss-stub {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: var(--muted-dim);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.022) 0 12px, transparent 12px 24px),
    #080d16;
}
.boss-stub svg { width: 46px; height: 46px; opacity: 0.45; }
.boss-stub span { font-size: 14px; font-weight: 600; color: #8fa0b5; }
.boss-stub small { font-size: 12px; color: var(--muted-dim); }

.boss-label {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid rgba(18, 177, 235, 0.3);
  border-radius: 999px;
  background: rgba(18, 177, 235, 0.09);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6fd0ff;
}

.boss blockquote {
  margin: 20px 0 0;
  font-size: clamp(19px, 1.9vw, 27px);
  line-height: 1.34;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.boss-who { margin-top: 22px; }
.boss-who b { display: block; font-size: 17px; font-weight: 700; }
.boss-who span { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }

.boss-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.boss-facts li { font-size: 13.5px; line-height: 1.4; color: var(--muted-dim); }
.boss-facts b { display: block; margin-bottom: 2px; font-size: 15px; color: var(--ink); font-weight: 700; }

/* незаполненные места видно и в вёрстке, и на странице */
[data-placeholder] { outline: 1px dashed rgba(255, 190, 90, 0.42); outline-offset: 3px; }

/* — появление по скроллу — */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 750ms var(--ease-out), transform 850ms var(--ease-out);
}
.trust-card:nth-child(2) { transition-delay: 60ms; }
.trust-card:nth-child(3) { transition-delay: 120ms; }
.trust-card:nth-child(5) { transition-delay: 60ms; }
.trust-card:nth-child(6) { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Подвал
   ============================================================ */

.foot {
  padding: clamp(56px, 6vw, 84px) 0 clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
  background: #03060b;
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
}

.foot-claim {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.foot-phone {
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: color 220ms ease;
}
.foot-phone:hover { color: var(--brand); }

.foot-hours {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.foot-hours b { color: var(--ink); font-weight: 650; }

.foot-nav-title {
  display: block;
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.foot-nav { display: flex; flex-direction: column; gap: 11px; }
.foot-nav a { font-size: 14.5px; color: var(--muted); transition: color 200ms ease; }
.foot-nav a:hover { color: var(--brand); }

.foot-legal dl { margin: 0; display: grid; gap: 12px; }
.foot-legal dt {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.foot-legal dd { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: #b9c7d8; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.foot-bottom p { margin: 0; font-size: 13.5px; color: var(--muted-dim); }
.foot-docs a {
  font-size: 13.5px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 200ms ease, border-color 200ms ease;
}
.foot-docs a:hover { color: var(--brand); border-color: var(--brand); }

/* подпись разработчика — в самом низу, тише всего остального */
.foot-dev {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(22px, 2.6vw, 32px);
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.62;
  transition: opacity 260ms ease, border-color 260ms ease, transform 260ms var(--ease-out);
}
.foot-dev:hover {
  opacity: 1;
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.foot-dev img {
  width: 132px;
  height: auto;
  display: block;
  flex: none;
}
.foot-dev span {
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted-dim);
  white-space: nowrap;
}
.foot-dev b { font-weight: 650; color: #c3d0e0; }

@media (max-width: 560px) {
  .foot-dev { gap: 10px; padding: 9px 13px 9px 10px; }
  .foot-dev img { width: 104px; }
  .foot-dev span { font-size: 11.5px; white-space: normal; }
}

.foot-note {
  margin: 20px 0 0;
  max-width: 900px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #5c6b7e;
}

/* портрет владельца: студийный белый фон гасим к низу, чтобы кадр сел в карточку */
.boss-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 13, 0.55));
  pointer-events: none;
}

/* ============================================================
   Документы (политика и т.п.)
   ============================================================ */

.doc-page { background: #04070d; }

.doc-head { padding: 26px 0; border-bottom: 1px solid var(--line); }
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 200ms ease;
}
.doc-back:hover { color: var(--brand); }
.doc-back svg { width: 18px; height: 18px; }

.doc {
  max-width: 820px;
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.doc h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.doc-meta { margin: 12px 0 0; font-size: 13.5px; color: var(--muted-dim); }

.doc h2 {
  margin: clamp(30px, 3.4vw, 46px) 0 0;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.doc p { margin: 13px 0 0; font-size: 15.5px; line-height: 1.65; color: #b9c7d8; }
.doc p b { color: var(--ink); font-weight: 650; }

.doc ul { margin: 13px 0 0; padding-inline-start: 20px; }
.doc li { margin-top: 7px; font-size: 15.5px; line-height: 1.6; color: #b9c7d8; }
.doc li::marker { color: var(--brand); }

.doc-foot { padding: 24px 0 34px; border-top: 1px solid var(--line); }
.doc-foot p { margin: 0; font-size: 13.5px; color: var(--muted-dim); }
.doc-foot a { color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.16); }
.doc-foot a:hover { color: var(--brand); }

/* ============================================================
   Заявка на расчёт
   ============================================================ */

.calc {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(76px, 9vw, 124px);
  background:
    radial-gradient(60% 45% at 12% 5%, rgba(18, 177, 235, 0.10) 0%, transparent 62%),
    linear-gradient(180deg, #04070d 0%, #05090f 55%, #04070d 100%);
}

.calc-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(38px, 4.6vw, 62px);
  align-items: start;
}

.calc-form {
  padding: clamp(22px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.028);
}

/* — привязка к лоту — */
.calc-lot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 13px 15px;
  border: 1px solid rgba(18, 177, 235, 0.34);
  border-radius: 12px;
  background: rgba(18, 177, 235, 0.08);
}
.calc-lot > div { flex: 1; min-width: 0; }
.calc-lot-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6fd0ff;
}
.calc-lot b {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calc-lot button {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease;
}
.calc-lot button:hover { color: var(--ink); border-color: var(--brand); }
.calc-lot button svg { width: 13px; height: 13px; }

/* — поля — */
.calc-countries { margin: 0 0 20px; padding: 0; border: 0; }
.calc-countries legend,
.field > span {
  display: block;
  margin-bottom: 9px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.field > span i { color: var(--brand); font-style: normal; }

.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-chips label { position: relative; cursor: pointer; }
.calc-chips input { position: absolute; opacity: 0; pointer-events: none; }
.calc-chips span {
  display: block;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  font-size: 14.5px;
  color: var(--muted);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
.calc-chips label:hover span { color: var(--ink); border-color: var(--line-strong); }
.calc-chips input:checked + span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand) 0%, #2f7cf6 100%);
}
.calc-chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 16px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(4, 7, 13, 0.6);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder,
.field textarea::placeholder { color: #4d5c6f; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(18, 177, 235, 0.05);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-inline-end: 40px;
}
.field select option { background: #0a0f18; color: var(--ink); }

/* поле не прошло проверку */
.field.is-bad input,
.field.is-bad select { border-color: #e2564d; background: rgba(226, 86, 77, 0.06); }
.field-error { display: block; margin-top: 6px; font-size: 12.5px; color: #ff8a80; }

.calc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.calc-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 4px 0 22px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.calc-consent input {
  flex: none;
  width: 19px; height: 19px;
  margin-top: 1px;
  accent-color: var(--brand);
  cursor: pointer;
}
.calc-consent a { color: var(--brand); border-bottom: 1px solid rgba(18, 177, 235, 0.4); }
.calc-consent i { color: var(--brand); font-style: normal; }
.calc-consent.is-bad { color: #ff8a80; }

.calc-submit { width: 100%; }
.calc-submit[disabled] { opacity: 0.6; pointer-events: none; }

.calc-status { margin: 14px 0 0; font-size: 14px; line-height: 1.5; text-align: center; }
.calc-status.is-ok { color: #47d18f; }
.calc-status.is-bad { color: #ff8a80; }

/* — что входит — */
.calc-side {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(18, 177, 235, 0.10) 0%, transparent 60%),
    rgba(255, 255, 255, 0.02);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.calc-side h3 {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.calc-included { margin: 0; padding: 0; list-style: none; }
.calc-included li {
  position: relative;
  padding: 0 0 14px 28px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.calc-included li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.calc-included li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(18, 177, 235, 0.16);
  border: 1px solid rgba(18, 177, 235, 0.5);
}
.calc-included li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 6px; height: 3px;
  border-left: 1.6px solid var(--brand);
  border-bottom: 1.6px solid var(--brand);
  transform: rotate(-45deg);
}
.calc-included b { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.35; }
.calc-included span { display: block; margin-top: 3px; font-size: 13px; color: var(--muted-dim); }

.calc-side-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-dim);
}

/* ============================================================
   Отзывы 2ГИС
   ============================================================ */

.revs {
  position: relative;
  padding: clamp(72px, 9vw, 118px) 0 clamp(72px, 9vw, 118px);
  background:
    radial-gradient(60% 45% at 85% 10%, rgba(18, 177, 235, 0.09) 0%, transparent 62%),
    linear-gradient(180deg, #04070d 0%, #060b13 50%, #04070d 100%);
}

.revs-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.revs-score { display: flex; align-items: center; gap: 16px; }
.revs-score > b {
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.revs-score span { display: block; margin-top: 5px; font-size: 13.5px; color: var(--muted-dim); }

.revs-stars { display: flex; gap: 3px; }
.revs-stars i,
.rev-head i {
  width: 15px; height: 15px;
  background: rgba(255, 255, 255, 0.16);
  /* звезда рисуется clip-path — отдельная иконка не нужна */
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.revs-stars i.is-on,
.rev-head i.is-on { background: #ffc53d; }

.revs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(26px, 3vw, 36px);
  align-items: start;
}

.rev {
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  transition: border-color 300ms ease, transform 300ms var(--ease-out);
}
.rev:hover { border-color: rgba(18, 177, 235, 0.3); transform: translateY(-2px); }

.rev-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.rev-head b { display: block; font-size: 15px; font-weight: 650; }
.rev-head span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted-dim); }
.rev-head > div:last-child { display: flex; gap: 2px; flex: none; padding-top: 3px; }

.rev-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #b9c7d8;
  white-space: pre-line;      /* в отзывах бывают переносы строк */
  overflow-wrap: anywhere;    /* и ссылки без пробелов */
}

.rev-more {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  border-bottom: 1px solid rgba(18, 177, 235, 0.4);
}
.rev-more:hover { color: #5ad2ff; }

.rev-answer {
  margin-top: 15px;
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(18, 177, 235, 0.07);
  border: 1px solid rgba(18, 177, 235, 0.2);
}
.rev-answer span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6fd0ff;
}
.rev-answer p {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* ============================================================
   Индикатор прокрутки
   ============================================================ */

/* Родной скроллбар оставлен как есть (он нужен для перетаскивания),
   а поверх правого края идёт брендовая полоса, которая заполняется
   сверху вниз по мере прокрутки страницы. */
.scrollbar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 70;
  width: 3px;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.scrollbar span {
  display: block;
  width: 100%;
  height: var(--scrolled, 0%);
  background: linear-gradient(180deg, #7fe0ff 0%, var(--brand) 45%, #2f7cf6 100%);
  box-shadow: 0 0 12px rgba(18, 177, 235, 0.65);
  transition: height 120ms linear;
}

/* ============================================================
   Звёзды в блоке отзывов
   ============================================================ */

.revs { overflow: hidden; }            /* звёзды стартуют за краем экрана */

.revs-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.revs-fly {
  position: absolute;
  top: clamp(120px, 17vw, 230px);
  right: clamp(40px, 7vw, 120px);
  display: flex;
  gap: clamp(6px, 0.9vw, 14px);
}

.revs-fly i {
  display: block;
  width: clamp(38px, 4.4vw, 64px);
  aspect-ratio: 1;
  background: currentColor;
  color: #f1c40e;
  /* звезда — маска из svg, так она красится и светится как обычный элемент */
  -webkit-mask: url("../img/star.svg") no-repeat center / contain;
  mask: url("../img/star.svg") no-repeat center / contain;
  filter: drop-shadow(0 0 14px rgba(241, 196, 14, 0.45));

  /* стартовое положение: далеко справа за экраном, боком и мельче */
  opacity: 0;
  transform: translate3d(90vw, -14vh, 0) rotate(140deg) scale(0.35);
}

/* когда секция доехала до экрана — звёзды прилетают на место */
.revs-stage.is-in .revs-fly i {
  opacity: 1;
  transform: none;
  transition:
    transform 1150ms cubic-bezier(0.18, 0.9, 0.24, 1),
    opacity 500ms ease;
}

/* каждая следующая стартует чуть позже — получается выстраивание в линию */
.revs-stage.is-in .revs-fly i:nth-child(1) { transition-delay: 0ms; }
.revs-stage.is-in .revs-fly i:nth-child(2) { transition-delay: 110ms; }
.revs-stage.is-in .revs-fly i:nth-child(3) { transition-delay: 220ms; }
.revs-stage.is-in .revs-fly i:nth-child(4) { transition-delay: 330ms; }
.revs-stage.is-in .revs-fly i:nth-child(5) { transition-delay: 440ms; }

/* лёгкое покачивание уже после прилёта */
.revs-stage.is-done .revs-fly i {
  animation: starBreath 4.5s ease-in-out infinite;
}
.revs-stage.is-done .revs-fly i:nth-child(2) { animation-delay: 0.5s; }
.revs-stage.is-done .revs-fly i:nth-child(3) { animation-delay: 1.0s; }
.revs-stage.is-done .revs-fly i:nth-child(4) { animation-delay: 1.5s; }
.revs-stage.is-done .revs-fly i:nth-child(5) { animation-delay: 2.0s; }

@keyframes starBreath {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 14px rgba(241, 196, 14, 0.40)); }
  50%      { transform: translateY(-5px) scale(1.02); filter: drop-shadow(0 0 20px rgba(241, 196, 14, 0.62)); }
}

/* — мерцающие частицы — */
.revs-spark { position: absolute; inset: 0; }
.revs-spark b {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #f5d76e;
  opacity: 0;
  /* только opacity и transform — эти свойства браузер считает на видеокарте
     и не пересчитывает раскладку, поэтому частицы почти ничего не стоят */
  animation: sparkle var(--dur, 5s) ease-in-out var(--delay, 0s) infinite;
  will-change: opacity, transform;
}

@keyframes sparkle {
  0%, 100%  { opacity: 0; transform: scale(0.6); }
  12%       { opacity: 0.75; transform: scale(1); }
  30%       { opacity: 0; transform: scale(0.7); }
}

@media (max-width: 900px) {
  /* Звёзды тоже переезжают под заголовок: справа от него места нет, а прятать
     анимацию целиком жалко — на телефоне она видна не хуже. */
  .revs-stage { position: static; order: 2; }
  .revs-fly {
    position: static;
    justify-content: center;
    margin: 24px auto 6px;
    gap: 7px;
  }
  .revs-fly i { width: clamp(30px, 9vw, 44px); }
  .revs-spark { display: none; }   /* частицам без абсолютной сцены негде жить */
}

@media (prefers-reduced-motion: reduce) {
  .revs-fly i { opacity: 1; transform: none; transition: none; animation: none; }
  .revs-spark { display: none; }
  .scrollbar span { transition: none; }
}

/* ============================================================
   Соцсети
   ============================================================ */

/* — иконки в шапке — */
.head-social { display: flex; gap: 6px; }
.head-social a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
.head-social a:hover { color: var(--ink); border-color: var(--line-strong); background: var(--glass); }
.head-social svg { width: 18px; height: 18px; }
.head-social a[aria-label="MAX"] svg { width: 16px; height: 16px; }

/* — секция — */
.social { padding: clamp(56px, 6vw, 86px) 0; background: #04070d; }

.social-box {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(70% 90% at 0% 50%, rgba(18, 177, 235, 0.10) 0%, transparent 68%),
    rgba(255, 255, 255, 0.025);
}

/* Заголовок переливается цветами самих сетей: WhatsApp -> Telegram -> MAX ->
   Instagram, по четыре секунды на каждый. Градиент шире текста и одновременно
   едет вбок, поэтому переход между цветами читается как перетекание, а не как
   переключение. */
.social-title {
  background-image: linear-gradient(100deg,
    var(--soc-a) 0%, var(--soc-b) 45%, var(--soc-a) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: socHue 16s linear infinite, socDrift 8s ease-in-out infinite alternate;
}

/* цвета держим в переменных — так их анимирует одна кривая, без мигания */
@property --soc-a { syntax: "<color>"; inherits: false; initial-value: #45d354; }
@property --soc-b { syntax: "<color>"; inherits: false; initial-value: #1da851; }

@keyframes socHue {
  0%,  100% { --soc-a: #45d354; --soc-b: #1da851; }   /* WhatsApp */
  25%       { --soc-a: #37bbfe; --soc-b: #007dbb; }   /* Telegram */
  50%       { --soc-a: #a97bff; --soc-b: #5b2ee5; }   /* MAX */
  75%       { --soc-a: #f9ce34; --soc-b: #ee2a7b; }   /* Instagram */
}

@keyframes socDrift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .social-title { animation: none; color: var(--ink); }
}

.social-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.social-head p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.soc {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 260ms var(--ease-out), border-color 260ms ease, background-color 260ms ease;
}
.soc:hover { transform: translateY(-2px); }

.soc-ico {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: #fff;
}
.soc-ico svg { width: 21px; height: 21px; }
.soc-max .soc-ico svg { width: 19px; height: 19px; }

.soc b { font-size: 15.5px; font-weight: 650; line-height: 1.2; }
.soc-sub { font-size: 12.5px; color: var(--muted-dim); }

/* у каждой сети свой фирменный цвет — так иконки узнаются мгновенно */
.soc-max .soc-ico { background: linear-gradient(140deg, #8f5bff, #5b2ee5); }
.soc-tg  .soc-ico { background: linear-gradient(140deg, #37bbfe, #007dbb); }
.soc-wa  .soc-ico { background: linear-gradient(140deg, #45d354, #1da851); }
.soc-ig  .soc-ico { background: linear-gradient(140deg, #f9ce34, #ee2a7b 55%, #6228d7); }

.soc-max:hover { border-color: rgba(143, 91, 255, 0.5); background: rgba(143, 91, 255, 0.08); }
.soc-tg:hover  { border-color: rgba(55, 187, 254, 0.5); background: rgba(55, 187, 254, 0.08); }
.soc-wa:hover  { border-color: rgba(69, 211, 84, 0.5);  background: rgba(69, 211, 84, 0.08); }
.soc-ig:hover  { border-color: rgba(238, 42, 123, 0.5); background: rgba(238, 42, 123, 0.08); }

@media (max-width: 900px) {
  .social-box { grid-template-columns: 1fr; }
  .head-social { display: none; }        /* в узкой шапке места нет */
}

@media (max-width: 560px) {
  .social-links { grid-template-columns: 1fr; }
}

/* ============================================================
   Украшения секций
   ============================================================ */

/* Каждая секция получает картинку или рисунок напротив заголовка: он занимает
   левую половину, справа остаётся пустое место — туда и выезжает украшение. */
.how, .lots, .calc, .trust { position: relative; overflow: hidden; }
.how .container, .lots .container, .calc .container, .trust .container { position: relative; }

.sec-art {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(70%, 0, 0);
  transition: transform 1100ms cubic-bezier(0.2, 0.9, 0.25, 1),
              opacity 800ms ease;
}
.sec-art.is-in { opacity: 1; transform: none; }

/* заголовок и текст всегда выше украшения */
.sec-head, .lots-tabs, .lots-filters, .road, .calc-body, .how-foot,
.trust-grid, .boss { position: relative; z-index: 1; }

/* — молоток аукциониста в витрине — */
.art-gavel {
  top: clamp(60px, 7vw, 120px);
  right: clamp(-30px, -1vw, 10px);
  width: clamp(190px, 22vw, 330px);
  height: auto;
  transform: translate3d(70%, 0, 0) rotate(8deg);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.6));
}
.art-gavel.is-in { transform: rotate(-5deg); opacity: 0.95; }

/* — калькулятор в блоке расчёта — */
/* Держим выше остальных украшений: под заголовком секции сразу начинаются
   карточки формы, и на прежней высоте нижний угол калькулятора наезжал на
   список «Что входит в цену под ключ». */
.art-calc {
  top: clamp(-12px, 3.1vw - 44px, 20px);
  right: clamp(20px, 6vw, 130px);
  width: clamp(140px, 15vw, 215px);
  height: auto;
  transform: translate3d(70%, 0, 0) rotate(12deg);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.6));
}
.art-calc.is-in { transform: rotate(-7deg); opacity: 0.95; }

/* — рукопожатие в блоке доверия — */
.art-hands {
  top: clamp(40px, 5vw, 90px);
  right: clamp(0px, 3vw, 70px);
  width: clamp(180px, 20vw, 300px);
  height: auto;
  transform: translate3d(70%, 0, 0) rotate(-9deg);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.6));
}
.art-hands.is-in { transform: rotate(4deg); opacity: 0.95; }

/* — дорога в «Пути автомобиля» — */
.art-road {
  top: clamp(30px, 4vw, 70px);
  right: clamp(-40px, -2vw, 0px);
  width: clamp(300px, 34vw, 470px);
  height: auto;
}

/* Пунктир «прочерчивается»: длина штрихов задана в разметке, а сдвиг гоним
   анимацией — получается ощущение движения по дороге. */
.art-road path {
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1800ms cubic-bezier(0.25, 0.8, 0.3, 1);
}
.art-road.is-in .road-line-1 { stroke-dashoffset: 0; animation: roadRun 2.6s linear 1.9s infinite; }
.art-road.is-in .road-line-2 { stroke-dashoffset: 0; animation: roadRun 3.4s linear 2.1s infinite; transition-delay: 180ms; }

@keyframes roadRun {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -60; }
}

@media (max-width: 900px) {
  /* На узком экране заголовок занимает всю ширину, и справа места нет.
     Поэтому украшение перестаёт быть фоном и становится обычной картинкой
     между текстом секции и её содержимым — это читается как задумано,
     а не как обрезанная декорация в углу. */
  .how .container,
  .lots .container,
  .calc .container,
  .trust .container,
  .revs .container { display: flex; flex-direction: column; }

  .sec-head { order: 1; }
  .sec-art  { order: 2; }
  .how .container > *:not(.sec-head):not(.sec-art),
  .lots .container > *:not(.sec-head):not(.sec-art),
  .calc .container > *:not(.sec-head):not(.sec-art),
  .trust .container > *:not(.sec-head):not(.sec-art),
  .revs .container > *:not(.sec-head):not(.revs-stage) { order: 3; }

  .sec-art {
    position: static;
    display: block;
    width: clamp(140px, 42vw, 210px);
    height: auto;
    margin: 26px auto 4px;
    transform: translate3d(50%, 0, 0);
  }
  .art-gavel.is-in,
  .art-calc.is-in,
  .art-hands.is-in { transform: rotate(-4deg); }

  .art-road { width: min(360px, 88%); margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .sec-art { opacity: 1; transform: none; transition: none; }
  .art-gavel.is-in { transform: rotate(-5deg); }
  .art-calc.is-in { transform: rotate(-7deg); }
  .art-hands.is-in { transform: rotate(4deg); }
  .art-road path { stroke-dashoffset: 0; animation: none; transition: none; }
}

/* ============================================================
   Адаптив
   ============================================================ */

/* Ниже 1520 меню, иконки соцсетей, телефон и кнопка вместе не помещаются:
   сжимаем шрифты и просветы, вместо того чтобы ронять пункты на вторую строку */
@media (max-width: 1520px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14.5px; }
  .head-phone { font-size: 14px; }
  .header-inner { gap: 20px; }
}

@media (max-width: 1260px) {
  .head-phone { display: none; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .head-phone { display: block; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .brand-logo { width: 148px; }
  .head-phone { display: none; }

  .hero {
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 120px;
  }

  .hero-media video,
  .hero-media img { object-position: 62% 50%; }

  .hero-scrim {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(4, 7, 13, 0.72) 26%, rgba(4, 7, 13, 0.55) 58%, rgba(4, 7, 13, 0.82) 100%),
      linear-gradient(180deg, rgba(4, 7, 13, 0.9) 0%, rgba(4, 7, 13, 0.4) 20%, transparent 40%);
  }

  .hero-inner { max-width: 100%; }

  .lots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .revs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-body { grid-template-columns: 1fr; }
  .calc-side { position: static; }
  .boss { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .boss-photo { max-width: 300px; aspect-ratio: 1 / 1; }
  .boss-facts { grid-template-columns: 1fr 1fr; }
  .lot-modal-body { grid-template-columns: 1fr; }
  .lm-specs { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .hero-foot .container { height: 64px; }
  .scroll-hint { display: none; }

  /* линия разворачивается вертикально слева */
  .road { padding-top: 0; padding-left: 34px; }

  .road-track {
    top: 8px;
    bottom: 8px;
    left: 6px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .road-fill {
    transform: scaleY(var(--p));
    transform-origin: center top;
    background: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-2) 40%, var(--brand) 100%);
  }

  .road-steps { grid-template-columns: 1fr; gap: 30px 0; }
  .step { text-align: left; }
  .step h3 { min-height: 0; }
  .step-dot { top: 2px; left: -34px; margin-left: 0; }
  .step p { max-width: 46ch; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .lots-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .revs-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; gap: 0; }
  .lots-tab { height: 40px; padding: 0 16px; font-size: 14px; }
  .hero .lead { font-size: 15px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .marks span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
