/* supcore auto — лендинг
   Шрифты: Oswald (заголовки, разметка, цифры) + Golos Text (текст и интерфейс макетов).
   Макеты приложения намеренно живут на Golos и на своих скруглениях — это «продукт»,
   а страница вокруг них — жёсткая, с прямыми углами. */

/* ── Шрифты ───────────────────────────────────────────────────────── */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("assets/golos-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("assets/golos-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("assets/golos-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("assets/golos-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

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

/* ── Токены ───────────────────────────────────────────────────────── */
:root {
  --asphalt: #0a0a0b;
  --bay: #131316;
  --bay-2: #1b1b1f;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --signal: #f7c31c;
  --signal-lift: #ffd23f;
  --chalk: #ecece7;
  --mute: #8a8a84;
  --ok: #4ade80;
  --bad: #f87171;

  --display: 'Oswald', 'Golos Text', system-ui, sans-serif;
  --text: 'Golos Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --maxw: 1280px;
  --pad: clamp(16px, 4vw, 40px);
  --r: 6px;
  --rail: 96px;  /* ширина колонки с номером шага */
}

/* ── База ─────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--asphalt);
  color: var(--chalk);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--signal); color: var(--asphalt); padding: 10px 18px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.skip:focus { left: 8px; }

/* ── Типографика ──────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
.eyebrow--signal { color: var(--signal); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1; }

.h1 {
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 1.02;
  color: #fff;
  letter-spacing: 0.002em;
}
.h2 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.06;
  color: #fff;
}
.h2 em { font-style: normal; color: var(--signal); }

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--mute);
  margin: 18px 0 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.num {
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── Кнопки ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 15px; line-height: 1;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn--primary { background: var(--signal); color: var(--asphalt); }
.btn--primary:hover { background: var(--signal-lift); color: var(--asphalt); }
.btn--ghost { border-color: var(--line-2); color: #fff; }
.btn--ghost:hover { border-color: var(--signal); color: var(--signal); }
.btn--dark { background: var(--asphalt); color: var(--signal); }
.btn--dark:hover { background: #232326; }
.btn--outline-dark { border: 2px solid var(--asphalt); color: var(--asphalt); }
.btn--outline-dark:hover { background: var(--asphalt); color: var(--signal); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 11px 18px; font-size: 13px; }

/* ── Шапка ────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--asphalt) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 12px 22px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; }
.brand__name {
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.02em;
  text-transform: lowercase; color: #fff; white-space: nowrap;
}
.brand__name span { color: var(--signal); }

.nav__links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav__link {
  font-family: var(--display); font-weight: 500; font-size: 13.5px;
  text-transform: uppercase; letter-spacing: 0.1em; color: #b9b9b3;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.nav__link:hover { color: var(--signal); border-bottom-color: var(--signal); }

.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.lang button {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 500; font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px; color: var(--mute);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.lang button:hover { color: var(--chalk); }
.lang button[aria-pressed="true"] { background: var(--signal); color: var(--asphalt); font-weight: 700; }

/* ── Герой ────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 500; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal);
  border: 1px solid rgba(247, 195, 28, 0.4);
  padding: 8px 14px;
  border-radius: var(--r);
}
.badge::before { content: ""; width: 6px; height: 6px; background: var(--signal); }
.hero__h1 { margin-top: 24px; }
.hero__cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.hero__intro { padding-bottom: 26px; }
.hero__phone { justify-self: end; width: 100%; }

/* «пол бокса»: телефон и админка стоят на одной жёлтой линии разметки */
.hero__floor { height: 3px; background: var(--signal); }

/* Дашборд во всю ширину, срезанный снизу */
.hero__board {
  margin-top: clamp(20px, 2.6vw, 38px);
  position: relative;
}
.hero__board::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--asphalt));
  pointer-events: none;
}

/* ── Полоса сфер ──────────────────────────────────────────────────── */
.spheres { border-block: 1px solid var(--line); background: var(--bay); margin-top: -1px; }
.spheres__in { display: flex; align-items: center; gap: 14px 26px; padding-block: 22px; flex-wrap: wrap; }
.spheres__label { flex-shrink: 0; }
.spheres__list { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.spheres__list li {
  font-family: var(--display); font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid var(--line-2); padding: 7px 13px; color: var(--chalk);
}

/* ── Секции ───────────────────────────────────────────────────────── */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section__head { max-width: 62ch; }
.section__head .h2 { margin-top: 14px; }

/* ── Маршрут: лента процесса ──────────────────────────────────────── */
.route { margin-top: clamp(40px, 5vw, 72px); }

.stage {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 clamp(20px, 3vw, 44px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
.stage:last-of-type { padding-bottom: clamp(24px, 3vw, 36px); }

/* колонка с номером + вертикальная «дорожная разметка» */
.stage__rail { position: relative; }
.stage__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 5vw, 62px); line-height: 0.8;
  color: rgba(247, 195, 28, 0.08);
  -webkit-text-stroke: 1.2px rgba(247, 195, 28, 0.78);
  font-variant-numeric: tabular-nums;
}
.stage__rail::after {
  content: ""; position: absolute;
  left: 4px; top: calc(clamp(40px, 5vw, 62px) * 0.8 + 14px); bottom: -6px; width: 3px;
  background: repeating-linear-gradient(to bottom,
    rgba(247, 195, 28, 0.62) 0 12px, transparent 12px 22px);
}
.stage:last-of-type .stage__rail::after { display: none; }

.stage__name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.12;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff;
  padding-top: 4px;
}
.stage__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 400px));
  justify-content: start;
  gap: 14px;
  margin-top: 18px;
}

.card {
  background: var(--bay);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(18px, 2vw, 24px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.card:hover { border-color: rgba(247, 195, 28, 0.45); background: var(--bay-2); }
.card__icon { width: 25px; height: 25px; color: var(--signal); }
.card__title {
  font-family: var(--display); font-weight: 700; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.03em; color: #fff;
  line-height: 1.14;
  margin-top: 14px;
  text-wrap: pretty;
}
.card__desc { font-size: 14.5px; line-height: 1.6; color: var(--mute); margin-top: 8px; text-wrap: pretty; }

/* сквозная возможность — идёт поперёк всей ленты */
.across {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 clamp(20px, 3vw, 44px);
  border-top: 3px solid rgba(247, 195, 28, 0.55);
  padding-top: 22px;
}
.across__label { padding-top: 2px; }
.across__body { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.across__body .card { flex: 1 1 320px; }

/* ── Экраны ───────────────────────────────────────────────────────── */
.screens__group { margin-top: clamp(30px, 4vw, 52px); }
.screens__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.screens__kicker::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.shots { display: grid; gap: 16px; }
.shots--mobile { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
/* два макета в ряд только когда каждому хватает ширины остаться читаемым,
   иначе один столбец во всю ширину — так лучше, чем два сжатых */
.shots--admin { grid-template-columns: repeat(auto-fit, minmax(min(560px, 100%), 1fr)); align-items: start; }

.shot {
  background: var(--bay);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 22px 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.shot--admin { padding-bottom: 22px; }
.shot__title {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: 0.03em; color: #fff;
  line-height: 1.14;
  text-wrap: pretty;
}
.shot__desc { font-size: 13.5px; line-height: 1.5; color: var(--mute); margin-top: 6px; text-wrap: pretty; }
.shot__frame { margin-top: auto; padding-top: 20px; }
.shot--admin .shot__frame { margin-top: 0; padding-top: 18px; }

/* подсказка о прокрутке — только там, где прокрутка реально включается */
.shot__hint {
  display: none;
  font-family: var(--display); font-weight: 500; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--signal);
  margin: 10px 0 0;
}
.shot__hint::after { content: " \2192"; }

/* ── Кому подходит ────────────────────────────────────────────────── */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; }
.aud {
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  background: var(--bay);
}
.aud--signal { background: var(--signal); border-color: var(--signal); color: var(--asphalt); }
.aud__kicker {
  font-family: var(--display); font-weight: 500; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute);
}
.aud--signal .aud__kicker { color: rgba(11, 11, 12, 0.62); }
.aud__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(21px, 2.6vw, 30px); line-height: 1.12;
  text-transform: uppercase; letter-spacing: 0.02em;
  margin-top: 12px; color: #fff; text-wrap: balance;
}
.aud--signal .aud__title { color: var(--asphalt); }
.aud__list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.aud__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; font-weight: 500; color: #c9c9c3; }
.aud--signal .aud__list li { color: var(--asphalt); font-weight: 600; }
.aud__list li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 4px;
  background: var(--signal);
  clip-path: polygon(14% 46%, 0 60%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
}
.aud--signal .aud__list li::before { background: var(--asphalt); }

/* ── Контакты ─────────────────────────────────────────────────────── */
.contact {
  background: var(--signal);
  border-radius: var(--r);
  padding: clamp(30px, 5vw, 64px);
  color: var(--asphalt);
  position: relative;
  overflow: hidden;
}
.contact__mark {
  position: absolute; right: -90px; top: 50%; transform: translateY(-50%);
  width: 360px; height: 360px; opacity: 0.13; filter: brightness(0);
  pointer-events: none;
}
.contact__in { position: relative; max-width: 62ch; }
.contact .h2 { color: var(--asphalt); text-transform: uppercase; letter-spacing: 0.01em; }
.contact__sub {
  font-size: clamp(15px, 1.6vw, 18px); font-weight: 500; line-height: 1.55;
  color: rgba(11, 11, 12, 0.72); margin: 16px 0 0; text-wrap: pretty;
}
.contact__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.contact__mail { margin-top: 20px; font-size: 14.5px; font-weight: 600; color: rgba(11, 11, 12, 0.68); }
.contact__mail a { text-decoration: underline; text-underline-offset: 3px; }
.contact__mail a:hover { color: #000; }

/* ── Подвал ───────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); }
.footer__in { display: flex; align-items: center; gap: 14px 24px; padding-block: 26px; flex-wrap: wrap; }
.footer__copy { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--mute); font-size: 13.5px; }
.footer a { color: var(--mute); font-size: 13.5px; white-space: nowrap; }
.footer a:hover { color: var(--signal); }

/* ── Появление при скролле ────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ── Адаптив ──────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__phone { justify-self: start; width: min(320px, 100%); margin-top: 8px; }
  .nav__links { gap: 16px; }
}

@media (max-width: 720px) {
  :root { --rail: 52px; }

  /* Макеты админки не сжимаем до нечитаемого: отдаём в натуральную ширину
     с прокруткой вбок внутри карточки. Прокрутка бледит за паддинг карточки,
     чтобы контент не обрывался посреди пустого поля. */
  .shot--admin .shot__frame {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    margin-inline: -22px;
    padding-inline: 22px;
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 195, 28, 0.5) transparent;
  }
  .shot--admin .shot__frame > * { min-width: 580px; }
  .shot--admin .shot__frame::-webkit-scrollbar { height: 5px; }
  .shot--admin .shot__frame::-webkit-scrollbar-thumb {
    background: rgba(247, 195, 28, 0.5); border-radius: 3px;
  }
  .shot__hint { display: block; }
  .nav__in { padding-block: 12px; }
  .nav__link { display: none; }
  .nav__links { margin-left: auto; }
  .stage__num { font-size: 34px; }
  .stage__rail::after { left: 2px; top: 42px; }
  .hero__h1 { max-width: none; }
  .lang button { padding: 9px 11px; }
}

@media (max-width: 480px) {
  .hero__cta .btn, .contact__cta .btn { width: 100%; }
}
