/* ============ Ozek — сайт-визитка (стиль: тёмная база, светлые панели, карточки) ============ */

:root {
  /* тёмная база */
  --bg: #181D1F;
  --card: #222729;
  --card-2: #2A2F31;
  --line: rgba(238, 246, 240, 0.08);
  --text: #EEF1EC;
  --muted: rgba(238, 241, 236, 0.62);

  /* светлые панели — тон совпадает с фоном иллюстраций */
  --light: #F0EFEA;
  --light-2: #E5E4DD;
  --ink: #181D1F;
  --ink-muted: rgba(24, 29, 31, 0.64);
  --light-line: rgba(24, 29, 31, 0.1);

  /* акцент бренда (логотип). Поменять палитру — здесь. */
  --accent: #FF6A2B;
  --accent-2: #FFB54A;
  --accent-ink: #181D1F;
  --grad: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  --glow: rgba(255, 106, 43, 0.28);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
  --edge: clamp(8px, 1.4vw, 16px);   /* отступ светлых панелей от краёв экрана */
  --section-y: clamp(80px, 10vw, 140px);
  --r-xl: clamp(24px, 3vw, 36px);
  --r: 20px;
  --r-sm: 12px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b { font-weight: 600; }
.ico { width: 18px; height: 18px; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Типографика ---------- */
.h1, .hero__title {
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}
.h1 b, .hero__title b, .h2 b, .h3 b { font-weight: 600; }
.h2 {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.h3 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.lead { margin-top: 20px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 60ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; margin-bottom: 22px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 0;
  background: rgba(24, 29, 31, 0.06); color: var(--ink);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pill--dark { background: rgba(238, 241, 236, 0.08); color: var(--text); }

.head { text-align: center; margin: 0 auto clamp(40px, 5vw, 64px); max-width: 880px; display: flex; flex-direction: column; align-items: center; }
.head .lead { margin-left: auto; margin-right: auto; }
.head--left { text-align: left; margin-left: 0; align-items: flex-start; }
.head--left .lead { margin-left: 0; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  font: 500 15px/1.2 var(--font);
  text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 18px 28px; font-size: 16px; border-radius: 14px; }
.btn--accent { background: var(--grad); color: var(--accent-ink); }
.btn--accent:hover { box-shadow: 0 6px 24px var(--glow); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a3033; }
.btn--soft { background: rgba(24, 29, 31, 0.07); color: var(--ink); }
.btn--soft:hover { background: rgba(24, 29, 31, 0.12); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; color: var(--text); }
.logo__svg { width: 98px; height: 31px; color: var(--text); }
.nav { display: flex; gap: 28px; margin: 0 auto; }
.nav a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav__cta-mobile { display: none; }
.burger { display: none; }

/* ---------- Панели ---------- */
.panel { position: relative; overflow: hidden; }
.panel--light { background: var(--light); color: var(--ink); border-radius: var(--r-xl); }
.panel--light .lead { color: var(--ink-muted); }
.panel--section { margin: 0 var(--edge); padding: var(--section-y) 0; }
/* сетка из тонких линий */
.panel--light::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--light-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--light-line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%);
}
.panel--light > * { position: relative; }
/* мягкое свечение снизу */
.panel--glow::after, .hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 55%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, var(--glow), transparent 70%);
}

/* ---------- Hero ---------- */
.hero-wrap { padding: 8px var(--edge) 0; }
.hero { padding: clamp(40px, 6vw, 88px) 0 0; }
.hero__grid {
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: center;
}
.hero__text { position: relative; z-index: 1; }
.hero__title { max-width: 11ch; }
.hero__lead { margin-top: 26px; max-width: 32em; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero__note { margin-top: 12px; font-size: 13px; color: var(--ink-muted); }
/* Макет экрана системы вместо иллюстрации */
.mock {
  position: relative; z-index: 1;
  background: #fff; border-radius: 18px;
  box-shadow: 0 1px 0 rgba(24,29,31,.04), 0 30px 80px -30px rgba(24,29,31,.35);
  border: 1px solid var(--light-line);
  overflow: hidden; max-width: 560px; justify-self: end; width: 100%;
  transform: rotate(-1.2deg);
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--light-line); background: #FAFAF7; }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(24,29,31,.12); }
.mock__bar p { margin-left: 10px; font-size: 13px; font-weight: 600; }
.mock__body { padding: 18px; display: grid; gap: 14px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { padding: 12px; border-radius: 12px; background: #F5F4EF; }
.mock__kpis p { font-size: 12px; color: var(--ink-muted); }
.mock__kpis b { display: block; margin-top: 4px; font-size: 16px; letter-spacing: -0.02em; }
.mock__kpis i { display: inline-block; margin-top: 8px; font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: rgba(24,29,31,.06); color: var(--ink-muted); }
.mock__kpis i.up { background: rgba(255,106,43,.12); color: #C9481A; }
.mock__chart { padding: 14px; border-radius: 12px; background: #F5F4EF; }
.mock__title { font-size: 12px; color: var(--ink-muted); }
.mock__bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 12px; }
.mock__bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: rgba(24,29,31,.85); }
.mock__bars span.is-now { background: var(--grad); }
.mock__sources { display: flex; flex-wrap: wrap; gap: 8px; }
.mock__sources li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--light-line); font-size: 12.5px; font-weight: 500; }
.mock__sources i { width: 7px; height: 7px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 3px rgba(43,182,115,.15); }

.hero__stats {
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: clamp(24px, 4vw, 48px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  position: relative; z-index: 1;
}
.hero__stats > div { display: flex; align-items: center; gap: 16px; }
.hero__stats dt { font-size: clamp(36px, 4vw, 56px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.hero__stats dt span { font-size: 0.42em; letter-spacing: -0.02em; font-weight: 500; }
.hero__stats dd { font-size: 14px; color: var(--ink-muted); max-width: 18ch; line-height: 1.35; }

/* Логотипы клиентов */
.clients {
  position: relative; z-index: 1;
  margin-top: clamp(32px, 5vw, 56px);
  padding: 22px 0 26px var(--gutter);
  border-top: 1px solid var(--light-line);
  background: rgba(255, 255, 255, 0.35);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.clients__label { font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
/* бегущая строка: два одинаковых списка едут влево на 100% своей ширины */
.clients__marquee {
  --gap: clamp(40px, 5vw, 72px);
  flex: 1; min-width: 0; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients__list { flex: none; display: flex; align-items: center; gap: var(--gap); padding-right: var(--gap); }
.js .clients__list { animation: marquee 32s linear infinite; }
.clients__marquee:hover .clients__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .js .clients__list { animation: none; } }
.clients__list li { display: flex; align-items: center; height: 40px; }
.clients__list img {
  height: 30px; width: auto;
  filter: brightness(0); opacity: 0.62;
  transition: opacity .2s;
}
.clients__list img.is-kpmg { height: 26px; }
.clients__list li:hover img, .clients__list li:hover .clients__wordmark { opacity: 1; }
.clients__wordmark {
  font-size: 21px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); opacity: 0.62;
  transition: opacity .2s; white-space: nowrap;
}
.clients__wordmark b { font-weight: 800; }
.clients__wordmark--caps { text-transform: uppercase; font-size: 17px; letter-spacing: 0.04em; }

/* ---------- Секции ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding-top: calc(var(--section-y) * 0.4); }
.panel--section + .section, .hero-wrap + .section { padding-top: var(--section-y); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 32px);
}
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.note { margin: clamp(32px, 4vw, 48px) auto 0; max-width: 760px; text-align: center; font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -0.02em; }

/* ---------- 02 · Чек-лист ---------- */
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.checks label {
  display: flex; align-items: flex-start; gap: 16px; height: 100%;
  padding: 24px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
  cursor: pointer; user-select: none; font-size: 17px; line-height: 1.4;
  transition: border-color .2s, background .2s;
}
.checks label:hover { background: var(--card-2); }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks__box {
  flex: none; width: 28px; height: 28px; border-radius: 9px;
  border: 1.5px solid rgba(238, 241, 236, 0.28);
  display: grid; place-items: center; color: var(--accent-ink);
  transition: background .2s, border-color .2s;
}
.checks__box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.checks input:checked + .checks__box { background: var(--grad); border-color: transparent; }
.checks input:checked + .checks__box svg { opacity: 1; transform: none; }
.checks label:has(input:checked) { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.checks input:focus-visible + .checks__box { outline: 2px solid var(--accent); outline-offset: 3px; }

.score { margin-top: 16px; display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.score__num { flex: none; font-size: clamp(56px, 7vw, 88px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; min-width: 2.6ch; }
.score__text { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; max-width: 46ch; letter-spacing: -0.01em; }

/* ---------- 03 · Коробка ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(28px, 4vw, 56px); }
.why__text > p:not(.pill):not(.why__callout) { margin-top: 18px; color: var(--muted); }
.why__text .h3 { margin-bottom: 8px; }
.why__callout { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-sm); background: rgba(255, 106, 43, 0.1); border: 1px solid rgba(255, 106, 43, 0.25); font-weight: 500; }
.boxviz { display: grid; gap: 22px; align-content: center; }
.boxviz__box { background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.boxviz__label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.boxviz__label--accent { color: var(--accent); }
.boxviz__cells { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.boxviz__cells li { background: rgba(238, 241, 236, 0.05); border-radius: 10px; padding: 14px 8px; text-align: center; font-size: 14px; color: var(--muted); }
.boxviz__tags { display: flex; flex-wrap: wrap; gap: 12px 10px; justify-content: center; }
.boxviz__tags li {
  background: var(--grad); color: var(--accent-ink);
  font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 10px;
  transform: rotate(var(--r, 0deg)); transition: transform .25s;
}
.boxviz__tags li:hover { transform: rotate(0) translateY(-2px); }
.boxviz__sink { border: 1.5px dashed rgba(238, 241, 236, 0.25); border-radius: 16px; padding: 16px 18px; }
.boxviz__sink p:last-child { margin-top: 6px; font-weight: 500; }

/* ---------- 04 · Три пути ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto repeat(5, auto); gap: 0 16px; }
.path {
  display: grid; grid-row: span 6; grid-template-rows: subgrid;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 8px 24px 12px;
}
.path > header { padding: 18px 0 16px; }
.path__num { font-size: 13px; color: var(--muted); }
.path h3 { margin-top: 4px; font-size: 22px; }
.path > p { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.path > p b { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(238, 241, 236, 0.4); }
.path--ozek {
  background: linear-gradient(180deg, rgba(255, 106, 43, 0.14), rgba(255, 106, 43, 0.02) 60%), var(--card);
  border-color: rgba(255, 106, 43, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 106, 43, 0.15), 0 24px 60px -30px var(--glow);
}
.path--ozek .path__num { color: var(--accent); }
.path--ozek > p { color: var(--text); }
.path--ozek > p span { display: flex; gap: 8px; align-items: flex-start; }
.path--ozek .ico { color: var(--accent); margin-top: 3px; }

/* ---------- 05 · Цена ручной работы ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fact { background: rgba(255, 255, 255, 0.6); border: 1px solid var(--light-line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.fact__num { font-size: clamp(48px, 5vw, 68px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.fact__text { margin-top: 16px; color: var(--ink-muted); flex: 1; }
.fact__src { margin-top: 20px; font-size: 12.5px; color: rgba(24, 29, 31, 0.45); }

.calc { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--text); }
.calc__inputs { padding: clamp(24px, 3vw, 40px); display: grid; gap: 24px; align-content: start; }
.calc__label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.calc__result { padding: clamp(24px, 3vw, 40px); background: var(--grad); color: var(--accent-ink); display: flex; flex-direction: column; justify-content: center; }
.calc__big { font-size: clamp(48px, 6vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__big small { font-size: 0.3em; letter-spacing: -0.01em; font-weight: 600; }
.calc__sub { margin-top: 14px; font-size: 18px; max-width: 30ch; }

.range { display: grid; gap: 10px; }
.range__head { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--muted); }
.range output { font-size: 18px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), rgba(238,241,236,.14) var(--p, 50%)); }
.range input::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(238,241,236,.14); }
.range input::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,106,43,.35); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,106,43,.35); }

/* ---------- 06 · Подход ---------- */
.flow {
  display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1.2fr) 80px minmax(0, 1fr);
  align-items: center; margin-bottom: 16px; padding: clamp(24px, 3vw, 40px);
  background: radial-gradient(ellipse 40% 80% at 50% 50%, rgba(255,106,43,.12), transparent 70%), var(--card);
}
.flow__col { display: grid; gap: 10px; }
.flow__col li { padding: 14px 18px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); font-weight: 500; text-align: center; }
.flow__col--out li { background: rgba(255,106,43,.1); border-color: rgba(255,106,43,.35); color: var(--text); }
.flow__lines { display: grid; gap: 22px; padding: 0 6px; }
.flow__lines span { height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(238,241,236,.12), var(--accent)); position: relative; overflow: hidden; }
.flow__lines span::after { content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: rgba(255,255,255,.8); filter: blur(1px); animation: flow 2.4s linear infinite; }
.flow__lines span:nth-child(2)::after { animation-delay: .6s; } .flow__lines span:nth-child(3)::after { animation-delay: 1.2s; } .flow__lines span:nth-child(4)::after { animation-delay: 1.8s; }
@keyframes flow { to { left: 100%; } }
.flow__core { text-align: center; padding: 28px 20px; border-radius: 18px; background: var(--bg); border: 1px solid rgba(255,106,43,.45); box-shadow: 0 0 60px -20px var(--glow); }
.flow__logo { width: 110px; height: 35px; color: var(--text); }
.flow__core > p { margin-top: 10px; font-weight: 600; }
.flow__core ul { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.flow__core ul li { font-size: 12.5px; padding: 4px 9px; border-radius: 6px; background: rgba(238,241,236,.07); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .flow__lines span::after { animation: none; display: none; } }
.step h3 { margin-top: 6px; }
.step > p:last-child { margin-top: 10px; color: var(--muted); font-size: 16px; }
.step__icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px;
  border-radius: 12px; background: rgba(238, 241, 236, 0.07);
  font-weight: 600; font-size: 16px;
}
.step__icon svg { width: 20px; height: 20px; }
.step__kicker { font-size: 13px; color: var(--muted); }
.step--final { border-color: rgba(255, 106, 43, 0.45); background: linear-gradient(180deg, rgba(255, 106, 43, 0.12), transparent 70%), var(--card); }
.step--final .step__icon { background: var(--grad); color: var(--accent-ink); }

/* ---------- 07 · Таймлайн ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tl { position: relative; display: flex; flex-direction: column; }
.tl__dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(238,241,236,.3); margin-bottom: 20px; }
.tl.is-done .tl__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(255,106,43,.18); }
.tl__step { font-size: 13px; color: var(--muted); }
.tl h3 { margin-top: 4px; }
.tag { align-self: flex-start; display: inline-block; margin-top: 12px; padding: 5px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; background: rgba(238,241,236,.08); color: var(--text); }
.tag--accent { background: rgba(255,106,43,.14); color: var(--accent-2); }
.tl > p:not(.tl__step):not(.tl__get) { margin-top: 14px; color: var(--muted); font-size: 15.5px; flex: 1; }
.tl__get { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tl__get b { color: var(--text); }

/* ---------- 08 · Кейсы ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case { background: rgba(255, 255, 255, 0.6); border: 1px solid var(--light-line); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.case__tag { display: inline-block; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(24,29,31,.06); }
.case__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.case__nums div { display: grid; gap: 8px; align-content: start; }
.case__num { font-size: clamp(72px, 8vw, 112px); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case__nums div span:last-child { font-weight: 500; max-width: 18ch; }
.case__ba { display: grid; gap: 10px; margin-top: 32px; }
.case__ba > div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(24,29,31,.04); }
.case__ba dt { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.case__ba dd { color: var(--ink-muted); }
.case__ba .is-after { background: var(--ink); }
.case__ba .is-after dt { color: var(--accent); }
.case__ba .is-after dd { color: var(--text); }
.cases__common { margin-top: 24px; max-width: 760px; font-size: clamp(17px, 1.7vw, 21px); letter-spacing: -0.015em; }

/* ---------- 09 · Команда ---------- */
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.person, .duo { padding: 16px; display: flex; flex-direction: column; }
.person__photo, .duo__photo { position: relative; border-radius: 14px; overflow: hidden; }
.person__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); }
.duo__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.duo__photo figcaption span {
  position: absolute; bottom: 12px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(24, 29, 31, 0.78); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; color: #fff;
}
.duo__photo figcaption span:first-child { left: 12px; }
.duo__photo figcaption span:last-child { right: 12px; }
.person__body { padding: 20px 8px 8px; }
.person__name { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.person__role { margin-top: 4px; font-size: 14px; color: var(--accent); font-weight: 500; }
.person__lead { margin-top: 14px; color: var(--muted); font-size: 16px; }
.career { margin-top: 20px; border-top: 1px solid var(--line); }
.career li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.career li span:first-child { color: rgba(238,241,236,.42); white-space: nowrap; }
.career b { color: var(--text); font-weight: 600; }
.duo__people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 8px 8px; }
.duo__people p:last-child { margin-top: 14px; color: var(--muted); font-size: 16px; }

.about {
  margin-top: 16px; padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
}
.about__years { display: flex; align-items: baseline; gap: 12px; font-weight: 500; font-size: 17px; color: var(--ink-muted); margin-bottom: 18px; }
.about__years .grad { font-size: clamp(64px, 8vw, 104px); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; }
.about .h3 { max-width: 22ch; }
.about__list { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about__list li { display: flex; gap: 12px; color: var(--ink-muted); padding: 18px; border-radius: 14px; background: rgba(255,255,255,.6); border: 1px solid var(--light-line); }
.about__list .ico { color: var(--accent); margin-top: 3px; }
.about__list b { color: var(--ink); }

/* ---------- 10 · FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.faq details { padding: 0; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 24px;
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: rgba(238,241,236,.07); font-size: 20px; font-weight: 400;
  transition: transform .2s, background .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad); color: var(--accent-ink); }
.faq details p { padding: 0 24px 24px; color: var(--muted); max-width: 54ch; }

/* ---------- 11 · Контакты ---------- */
.contact { margin-bottom: var(--edge); }
.contact .h1 { max-width: 14ch; }
.contact__label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 16px; }
.deliv { background: rgba(255,255,255,.6); border: 1px solid var(--light-line); border-radius: var(--r); padding: 26px; }
.deliv__num { font-size: 13px; font-weight: 600; color: var(--accent); }
.deliv h3 { margin-top: 10px; }
.deliv p { margin-top: 8px; color: var(--ink-muted); font-size: 16px; }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(36px, 5vw, 56px); }

/* ---------- Подвал ---------- */
.footer { color: var(--muted); }
.footer__inner { display: flex; align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 40px; font-size: 14px; }
.footer .logo__svg { width: 86px; height: 27px; }
.footer__inner p:last-child { margin-left: auto; }

/* ---------- Появление при скролле ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.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; }
}

/* ============ Адаптив ============ */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .header__cta { display: none; }
  .burger {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: auto; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .25s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
  .nav .nav__cta-mobile { display: flex; margin-top: 20px; border: 0; padding: 16px; color: var(--accent-ink); }

  .hero__grid { grid-template-columns: 1fr; }
  .mock { justify-self: stretch; max-width: none; margin-top: 16px; transform: none; }
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow__lines { display: none; }
  .flow__col { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: 1fr; gap: 14px; }

  .why { grid-template-columns: 1fr; }

  .paths { grid-template-columns: 1fr; grid-template-rows: none; gap: 16px; }
  .path { grid-row: auto; display: block; }

  .facts, .grid3 { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .person__photo img { aspect-ratio: 4 / 3.4; }
  .about__list { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .clients { flex-direction: column; gap: 14px; padding-left: 0; }
  .clients__marquee { width: 100%; --gap: 36px; }
  .clients__list img { height: 24px; }
  .clients__list img.is-kpmg { height: 20px; }
  .clients__wordmark { font-size: 18px; }
  .clients__wordmark--caps { font-size: 15px; }
  .checks { grid-template-columns: 1fr; gap: 10px; }
  .mock__body { padding: 12px; }
  .mock__kpis { gap: 6px; }
  .mock__kpis div { padding: 10px 8px; }
  .mock__kpis b { font-size: 13.5px; }
  .mock__kpis i { display: none; }
  .mock__bars { height: 96px; gap: 6px; }
  .checks label { padding: 18px; font-size: 16px; }
  .score { flex-direction: column; align-items: flex-start; gap: 8px; }
  .boxviz__cells li { padding: 10px 4px; font-size: 12.5px; }
  .boxviz__tags li { font-size: 13px; padding: 8px 11px; }
  .timeline { grid-template-columns: 1fr; }
  .case__ba > div { grid-template-columns: 1fr; gap: 2px; }
  .duo__people { grid-template-columns: 1fr; }
  .career li { grid-template-columns: 1fr; gap: 0; }
  .contact__links .btn { flex: 1 1 100%; }
  .footer__inner { flex-wrap: wrap; gap: 10px 20px; }
  .footer__inner p:nth-child(2) { order: 3; flex-basis: 100%; }
}

/* =====================================================================
   Слой «как на Awwwards»: движение, свет, типографика, микровзаимодействия
   ===================================================================== */

/* Полоса прогресса чтения */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

/* Плёночное зерно поверх всей страницы */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 10% { transform: translate(-5%, -10%); } 30% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); } 70% { transform: translate(9%, 4%); } 90% { transform: translate(-1%, 7%); }
}

/* Шапка прячется при прокрутке вниз */
.header { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .2s; }
.header.is-hidden { transform: translateY(-100%); }

/* Живое свечение в hero, тянется за курсором */
.hero__blob {
  position: absolute; z-index: 0; pointer-events: none;
  width: 620px; height: 620px; border-radius: 50%;
  left: var(--bx, 70%); top: var(--by, 40%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,106,43,.32), rgba(255,181,74,.12) 40%, transparent 68%);
  filter: blur(20px);
  transition: left 1.2s cubic-bezier(.2,.7,.2,1), top 1.2s cubic-bezier(.2,.7,.2,1);
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob { 0% { scale: 1; } 50% { scale: 1.18; } 100% { scale: .9; } }
.hero__grid, .hero__stats, .clients { position: relative; z-index: 1; }

/* Заголовки появляются по словам */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w__i { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.75,.1,1); transition-delay: calc(var(--d, 0) * 55ms); }
.split.is-split.is-in .w__i { transform: none; }
.js .split.reveal { opacity: 1; transform: none; }

/* 3D-наклон макета */
.mock-stage { perspective: 1200px; justify-self: end; width: 100%; max-width: 560px; }
.mock { transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg)) rotate(-1deg); max-width: none; }
.mock__bars span { transform-origin: 50% 100%; animation: grow 1.2s cubic-bezier(.2,.75,.1,1) both; animation-delay: calc(.5s + var(--n, 0) * 80ms); }
@keyframes grow { from { transform: scaleY(0); } }
.mock__sources i { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(43,182,115,0); } }

/* Свет под курсором на карточках */
.card, .fact, .case, .deliv, .checks label, .path { position: relative; isolation: isolate; }
.card::after, .fact::after, .case::after, .deliv::after, .checks label::after, .path::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(255,140,70,.12), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::after, .fact:hover::after, .case:hover::after, .deliv:hover::after, .checks label:hover::after, .path:hover::after { opacity: 1; }
.card, .fact, .case, .deliv, .path { transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.card:hover, .fact:hover, .case:hover, .deliv:hover { border-color: rgba(255,140,70,.28); }

/* Анимированная рамка у карточки Ozek */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.path--ozek { border-color: transparent; }
.path--ozek::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle), rgba(255,106,43,.15), var(--accent), var(--accent-2), rgba(255,106,43,.15) 40%, rgba(255,106,43,.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }

/* Магнитные кнопки */
.btn { will-change: transform; }
.btn.is-magnet { transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s, box-shadow .2s; }

/* Большая бегущая строка */
.band { overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; border-block: 1px solid var(--line); margin-top: var(--section-y); }
.band + .section { padding-top: var(--section-y); }
.band__track { display: flex; width: max-content; align-items: center; gap: clamp(24px, 3vw, 48px); animation: band 38s linear infinite; }
.band--reverse .band__track { animation-direction: reverse; }
.band__track > * { flex: none; }
.band span { font-size: clamp(44px, 7.5vw, 112px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.band__outline { color: transparent; -webkit-text-stroke: 1.5px rgba(238,241,236,.5); }
.band i { font-style: normal; font-size: clamp(24px, 3vw, 44px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band:hover .band__track { animation-play-state: paused; }
@keyframes band { to { transform: translateX(-50%); } }

/* Шаги работы: заголовок держится слева, карточки складываются стопкой */
.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.process__head { position: sticky; top: 120px; margin: 0; text-align: left; }
.process .timeline { display: flex; flex-direction: column; gap: 24px; }
.process .tl {
  position: sticky; top: calc(110px + var(--i) * 26px);
  min-height: 300px; padding: clamp(28px, 3vw, 40px);
  background: linear-gradient(180deg, #262B2D, var(--card));
  box-shadow: 0 -20px 50px -20px rgba(0,0,0,.6);
}
.process .tl h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; }
.process .tl__step { font-size: 14px; }
.process .tl::before {
  content: ""; position: absolute; right: 28px; top: 18px;
  font-size: clamp(64px, 7vw, 104px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: rgba(238,241,236,.05);
}
.process .tl:nth-child(1)::before { content: "01"; } .process .tl:nth-child(2)::before { content: "02"; }
.process .tl:nth-child(3)::before { content: "03"; } .process .tl:nth-child(4)::before { content: "04"; }

/* Огромный логотип в подвале */
.footer__giant { padding: 0 var(--edge) var(--edge); overflow: hidden; }
.footer__giant { --logo-bar: rgba(232, 137, 43, 0.28); }
.footer__giant svg { display: block; width: 100%; height: auto; aspect-ratio: 1030 / 326; color: #22282A; }

/* Ховер на логотипах клиентов */
.clients__list li { transition: transform .3s; }
.clients__list li:hover { transform: translateY(-2px); }

@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .process .tl { position: relative; top: auto; min-height: 0; box-shadow: none; }
  .mock-stage { max-width: none; perspective: none; }
  .mock { transform: none; }
  .hero__blob { width: 420px; height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .hero__blob, .band__track, .path--ozek::before, .mock__bars span, .mock__sources i { animation: none; }
  .split .w__i { transform: none; transition: none; }
  .header.is-hidden { transform: none; }
}
