/* VINPROP Tech — vpit.dev. Чертёжная тема: синий бренда — конструкция, янтарь — деньги и действия. */
:root {
  --bg: #0d1626;
  --sheet: #111d31;
  --line: #22324c;
  --line-2: #344868;
  --text: #e8edf5;
  --muted: #95a3ba;
  --blue: #3fa3e0;
  --amber: #f0b04a;
  --amber-hover: #f6c26a;
  --amber-ink: #1b1306;
  --err: #f08a78;
  --ok: #7fd1a0;
  --wrap: 1200px;
  --gut: 24px;
  --font: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 8px 12px; background: var(--amber); color: var(--amber-ink); }
.skip:focus { left: 12px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 16px/1 var(--font); padding: 16px 24px; border-radius: 8px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s;
}
.btn--amber { background: var(--amber); color: var(--amber-ink); }
.btn--amber:hover { background: var(--amber-hover); }
.btn--amber:disabled { opacity: .6; cursor: progress; }
.btn--sm { padding: 11px 16px; font-size: 14px; }
.link { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.link:hover { text-decoration-color: var(--amber); }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 22, 38, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 40px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.brand__tech { font-size: 15px; font-weight: 500; color: var(--blue); padding-left: 12px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.nav { display: flex; gap: 28px; margin-right: auto; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.top__end { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); font: 500 13px/1 var(--font); padding: 9px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--line); color: var(--text); }

/* Первый экран */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .4;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 78% 12%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 55% at 78% 12%, #000 10%, transparent 70%);
}
.hero .wrap { position: relative; }
.hero__title {
  font-weight: 600; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.024em;
}
.hero__title span { display: block; text-wrap: balance; }
.hero__lead { margin-top: 24px; max-width: 36em; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }

/* График туристов: ось X — размерная линия «12 лет». Координаты точек — проценты от области
   графика: x = (год − 2014) / 12, y = 1 − млн / 26. Линия рисуется в SVG без сохранения пропорций,
   а точки и подписи — HTML поверх, чтобы не растягивались. */
.chart { margin-top: 64px; }
.chart__cap { display: flex; flex-direction: column; gap: 4px; margin: 0 0 64px 48px; }
.chart__title { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.chart__sub { font-size: 14px; color: var(--muted); }
.chart__body { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.chart__y { position: relative; grid-column: 1; grid-row: 1; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart__y span { position: absolute; right: 0; top: var(--y); transform: translateY(-50%); }
.chart__plot { position: relative; grid-column: 2; grid-row: 1; height: clamp(200px, 24vw, 290px); }
.chart__grid { position: absolute; left: 0; right: 0; top: var(--y); border-top: 1px solid var(--line); }
.chart__ink { position: absolute; inset: 0; }
.chart__band {
  position: absolute; left: 50%; width: 16.667%; top: 0; bottom: 0;
  background: rgba(149, 163, 186, .07); border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.chart__band span {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%);
  font-size: 13px; line-height: 1.3; color: var(--muted); text-align: center; white-space: nowrap;
  text-shadow: 0 0 4px var(--bg), 0 0 4px var(--bg);
}
.chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__area { fill: rgba(63, 163, 224, .1); }
.chart__line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart__line--exp { stroke-dasharray: 5 6; }
.pt {
  position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 2px var(--bg);
}
.pt--hi { background: var(--amber); }
.pt--exp { background: var(--bg); border: 2px solid var(--blue); }
.ann { position: absolute; left: var(--x); top: var(--y); white-space: nowrap; line-height: 1.25; text-shadow: 0 0 4px var(--bg), 0 0 4px var(--bg); }
.ann b { display: block; font-size: 17px; font-weight: 600; }
.ann span { display: block; font-size: 13px; color: var(--muted); }
.ann--below { transform: translate(-4px, 12px); }
.ann--above { transform: translate(-50%, calc(-100% - 12px)); text-align: center; }
.ann--upleft { transform: translate(calc(-100% + 6px), calc(-100% - 12px)); text-align: right; }
.ann--hi b { color: var(--amber); }
.chart__cursor { position: absolute; top: -12px; bottom: 0; left: 100%; width: 1px; background: var(--amber); opacity: 0; pointer-events: none; }
/* Слой наведения строит main.js */
.chart__hover { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); pointer-events: none; }
.chart__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid var(--text); background: var(--bg); pointer-events: none; }
.chart__tip {
  position: absolute; z-index: 1; top: -8px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 6px;
  background: var(--sheet); font-size: 13px; white-space: nowrap; pointer-events: none; transform: translate(-50%, -100%);
}
.chart__tip b { font-weight: 600; }
.chart__tip.is-l { transform: translate(-12px, -100%); }
.chart__tip.is-r { transform: translate(calc(-100% + 12px), -100%); }

/* Размерная линия «12 лет» — ось графика */
.dim { grid-column: 2; margin-top: 18px; }
.dim__line { position: relative; height: 32px; }
.dim__line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1.5px solid var(--amber);
}
.dim__ticks {
  position: absolute; left: 0; right: 0; top: calc(50% - 5px); height: 10px;
  background: linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / calc(100% / 12) 100% repeat-x;
  border-right: 1px solid var(--line-2);
}
.dim__ext { position: absolute; top: -10px; bottom: -6px; width: 1.5px; background: var(--amber); }
.dim__ext::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px;
  background: var(--amber); transform: translate(-50%, 2px) rotate(-45deg);
}
.dim__ext--start { left: 0; }
.dim__ext--end { right: 0; }
.dim__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 0 18px; background: var(--bg); color: var(--amber);
  font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; white-space: nowrap;
}
.dim__years { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dim__years span { display: flex; justify-content: center; width: 0; white-space: nowrap; }
.dim__years span:first-child { justify-content: flex-start; }
.dim__years span:last-child { justify-content: flex-end; }

/* Первый экран рисуется один раз: курсор идёт по годам, за ним проявляются линия и подписи,
   размерная линия тянется следом. Время линейное — год ≈ 0,18 с. */
/* backwards, не both: после прорисовки обрезка снимается, и точка 2026 у края видна целиком */
.chart__ink { animation: plot-reveal 2.2s linear .3s backwards; }
.chart__cursor { animation: plot-cursor 2.2s linear .3s both; }
.dim__line::before { transform-origin: left; animation: dim-draw 2.2s linear .3s both; }
.dim__label { animation: dim-fade .5s ease 2.4s both; }
.pt--hi { animation: pt-ping .9s ease-out 2.2s 2; }
@keyframes plot-reveal {
  from { clip-path: inset(-80px 100% -10px -60px); }
  to { clip-path: inset(-80px 0 -10px -60px); }
}
@keyframes plot-cursor {
  0% { left: 0; opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes dim-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dim-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pt-ping {
  from { box-shadow: 0 0 0 2px var(--bg), 0 0 0 2px rgba(240, 176, 74, .7); }
  to { box-shadow: 0 0 0 2px var(--bg), 0 0 0 16px rgba(240, 176, 74, 0); }
}

.paths { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--line); }
.path { display: block; padding: 28px 28px 4px; text-decoration: none; border-left: 1px solid var(--line); }
.path:first-child { padding-left: 0; border-left: 0; }
.path__who { display: block; font-size: 20px; font-weight: 600; transition: color .15s; }
.path__what { display: block; margin-top: 8px; max-width: 22em; font-size: 16px; color: var(--muted); }
.path:hover .path__who { color: var(--amber); }

/* Секции */
.sec { padding: 120px 0; border-top: 1px solid var(--line); }
.sec__head { max-width: 760px; margin-bottom: 56px; }
.sec__head h2, .h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.022em; text-wrap: balance; }
.sec__head p { margin-top: 20px; max-width: 38em; font-size: 18px; color: var(--muted); }
h3 { font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -.01em; }
.sec__cta { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Продукты */
.prod { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  grid-column: span 2; display: flex; flex-direction: column; overflow: hidden;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 10px;
}
.card__fig {
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(52, 72, 104, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 72, 104, .28) 1px, transparent 1px);
  background-size: 20px 20px;
}
.card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.card__body p { font-size: 16px; color: var(--muted); }
.card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--muted); }
.card__meta a { color: var(--blue); text-decoration: none; }
.card__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card--wide { grid-column: span 4; flex-direction: row; }
.card--wide .card__fig { order: 2; flex: 1.15; display: flex; align-items: center; border-bottom: 0; border-left: 1px solid var(--line); }
.card--wide .card__body { justify-content: center; padding: 32px; }
.card--wide h3 { font-size: 26px; }
.card--wide .card__body p { font-size: 17px; max-width: 24em; }
.card--strip { grid-column: span 6; flex-direction: row; }
.card--strip .card__fig { flex: 1.3; border-bottom: 0; border-right: 1px solid var(--line); }
.card--strip .card__body { justify-content: center; padding: 28px 32px; }
.card--strip .card__body p { max-width: 30em; }

.ill { width: 100%; height: auto; }
.ill .l { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ill .s { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-linecap: round; }
.ill .a { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ill .d { stroke-dasharray: 4 5; }
.ill .af { fill: var(--amber); }
.ill .aft { fill: rgba(240, 176, 74, .14); }
.ill .afm { fill: rgba(240, 176, 74, .45); }
.ill .bfill { fill: var(--blue); opacity: .55; }
.ill .dots { stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; }

/* Путь клиента */
.flow { display: grid; grid-template-columns: 1fr 64px 1.15fr 64px 1fr; gap: 8px; align-items: center; }
.flow h3 { margin-bottom: 14px; font-size: 15px; font-weight: 500; color: var(--muted); }
.flow ul { list-style: none; padding: 0; }
.flow__col li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.flow__col li:first-child { border-top: 1px solid var(--line); }
.flow__col--out .is-money { color: var(--amber); }
.flow__core { padding: 28px; border: 1.5px solid var(--blue); border-radius: 12px; background: rgba(63, 163, 224, .06); }
.flow__core h3 { margin-bottom: 12px; font-size: 24px; font-weight: 600; color: var(--blue); }
.flow__core li { position: relative; padding: 9px 0 9px 20px; }
.flow__core li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; border: 1.5px solid var(--blue); }
.flow__arrow svg { width: 100%; height: 12px; overflow: visible; }
.flow__arrow path { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.flow__dash { stroke-dasharray: 4 5; }

/* Инвестиции: рынок */
.market { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mt { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 24px; background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; }
.mt__chart { display: flex; align-items: flex-end; gap: 12px; height: 128px; padding-top: 22px; border-bottom: 1px solid var(--line-2); }
.mt__chart--six { gap: 8px; }
.bar { position: relative; width: 33%; height: var(--h); background: var(--blue); border-radius: 3px 3px 0 0; }
.mt__chart--six .bar { width: auto; flex: 1; opacity: .75; }
.mt__chart--six .bar--hi { opacity: 1; }
.bar--plan { background: none; border: 1.5px dashed var(--blue); border-bottom: 0; }
.bar--hi { background: var(--amber); }
.bar i { position: absolute; left: -12px; right: -12px; bottom: calc(100% + 4px); text-align: center; font-style: normal; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mt__x { display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.mt__x span { width: 33%; text-align: center; white-space: nowrap; }
.mt__x--ends { justify-content: space-between; }
.mt__x--ends span, .mt__x--ends span:last-child { width: auto; }
.mt figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); }
.mt figcaption b { display: block; margin-bottom: 4px; font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--text); }

/* Инвестиции: стратегии */
.strat { margin-top: 96px; }
.strat__lead { margin-top: 10px; color: var(--muted); }
.strat__axis, .srow { display: grid; grid-template-columns: minmax(220px, 300px) 1fr 96px; gap: 28px; align-items: center; }
.strat__axis { margin-top: 36px; }
.strat__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.strat__scale i { font-style: normal; width: 0; display: flex; justify-content: center; white-space: nowrap; }
.srow { padding: 18px 0; border-bottom: 1px solid var(--line); }
.srow__name b { display: block; font-size: 18px; font-weight: 600; }
.srow__name span { font-size: 15px; color: var(--muted); }
.srow__track {
  position: relative; height: 16px;
  background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100% repeat-x;
  border-right: 1px solid var(--line);
}
.srow__bar { display: block; width: var(--w); height: 100%; background: var(--amber); border-radius: 0 3px 3px 0; }
.srow__bar--more { border-radius: 0; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.srow__val { text-align: right; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.srow__val small { display: block; font-size: 12px; font-weight: 400; line-height: 1.3; color: var(--muted); }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.fact { padding: 24px 24px 0; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact dt { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.fact dd { margin-top: 6px; font-size: 15px; color: var(--muted); }

.catalog { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: end; margin-top: 88px; }
.catalog__nums { display: flex; gap: 32px; margin-top: 18px; }
.catalog__nums dt { font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.catalog__nums dd { font-size: 14px; color: var(--muted); }
.cbar { display: flex; gap: 3px; height: 44px; border-radius: 6px; overflow: hidden; }
.cbar span { flex: var(--n) 1 0; }
.c1 { background: var(--blue); }
.c2 { background: rgba(63, 163, 224, .72); }
.c3 { background: rgba(63, 163, 224, .55); }
.c4 { background: rgba(63, 163, 224, .42); }
.c5 { background: rgba(63, 163, 224, .32); }
.c6 { background: rgba(63, 163, 224, .22); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.legend i { width: 10px; height: 10px; border-radius: 2px; }

/* Агентам */
.agents { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.money {
  display: flex; align-items: baseline; gap: .12em; margin-top: 28px;
  font-size: clamp(96px, 13vw, 184px); font-weight: 600; line-height: .9; letter-spacing: -.05em;
  color: var(--amber); font-variant-numeric: tabular-nums;
}
.money__pre { font-size: .3em; font-weight: 500; letter-spacing: -.01em; }
.money__note { margin-top: 16px; max-width: 17em; font-size: 21px; line-height: 1.4; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 36px 68px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -6px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--blue); border-radius: 50%; background: var(--bg);
  font-weight: 600; color: var(--blue);
}
.steps li::after { content: ""; position: absolute; left: 22px; top: 42px; bottom: 0; border-left: 1.5px dashed var(--line-2); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::before { border-color: var(--amber); color: var(--amber); }
.steps li:last-child::after { display: none; }
.steps p { margin-top: 6px; color: var(--muted); }
.tools { display: grid; grid-template-columns: 280px 1fr; gap: 48px; margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line); }
.tools ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; padding: 0; list-style: none; }
.tools li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* Застройщикам */
.dev { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.dev__item { padding: 32px 40px 32px 0; border-bottom: 1px solid var(--line); }
.dev__item:nth-child(even) { padding: 32px 0 32px 40px; border-left: 1px solid var(--line); }
.dev__item p { margin-top: 10px; max-width: 30em; color: var(--muted); }

/* Контакты и форма */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact__lead { margin-top: 20px; max-width: 30em; font-size: 18px; color: var(--muted); }
.contacts { margin-top: 36px; padding: 0; list-style: none; }
.contacts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contacts span { color: var(--muted); }
.contacts a { text-decoration: none; }
.contacts a:hover { color: var(--amber); }
.form { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--sheet); border: 1px solid var(--line-2); border-radius: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.seg legend { margin-bottom: 10px; padding: 0; font-size: 14px; color: var(--muted); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; }
.seg input:checked + span { border-color: var(--amber); color: var(--amber); background: rgba(240, 176, 74, .08); }
.seg input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.field input {
  padding: 14px; font: 400 17px/1.4 var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px;
}
.field input::placeholder { color: #5e6d86; }
.field input:focus { border-color: var(--blue); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field__err { font-size: 13px; color: var(--err); }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { align-self: flex-start; }
.form__consent { font-size: 13px; color: var(--muted); }
.form__consent a { text-underline-offset: 3px; }
.form__status { font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }

/* Подвал */
.foot { padding: 40px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.foot__brand { display: flex; align-items: center; gap: 16px; }
.foot__brand img { height: 22px; width: auto; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--text); }

/* Графики дорисовываются, когда до них доскроллили: класс .motion ставит скрипт в <head>
   (если пользователь не просил меньше движения), .is-in — main.js при появлении блока. */
.motion .mt .bar { transform: scaleY(0); transform-origin: bottom; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.motion .mt .bar:nth-child(2) { transition-delay: .12s; }
.motion .mt .bar:nth-child(3) { transition-delay: .24s; }
.motion .mt .bar:nth-child(4) { transition-delay: .36s; }
.motion .mt .bar:nth-child(5) { transition-delay: .48s; }
.motion .mt .bar:nth-child(6) { transition-delay: .6s; }
.motion .mt.is-in .bar { transform: none; }

.motion .srow__bar { transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.motion .srow__val { opacity: 0; transition: opacity .4s; }
.motion .srow:nth-child(5) :is(.srow__bar, .srow__val) { transition-delay: .12s; }
.motion .srow:nth-child(6) :is(.srow__bar, .srow__val) { transition-delay: .24s; }
.motion .srow:nth-child(7) :is(.srow__bar, .srow__val) { transition-delay: .36s; }
.motion .srow:nth-child(8) :is(.srow__bar, .srow__val) { transition-delay: .48s; }
.motion .strat.is-in .srow__bar { transform: none; }
.motion .strat.is-in .srow__val { opacity: 1; }

.motion .cbar { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.6, 0, .2, 1); }
.motion .catalog.is-in .cbar { clip-path: inset(0); }

/* Путь клиента: источники → CRM → результат загораются по очереди, пунктир течёт к CRM */
.motion .flow > * { opacity: .2; transition: opacity .5s; }
.motion .flow > :nth-child(2) { transition-delay: .3s; }
.motion .flow > :nth-child(3) { transition-delay: .55s; }
.motion .flow > :nth-child(4) { transition-delay: .85s; }
.motion .flow > :nth-child(5) { transition-delay: 1.1s; }
.motion .flow.is-in > * { opacity: 1; }
.motion .flow__dash { animation: flow-march 1.2s linear infinite; }
@keyframes flow-march { to { stroke-dashoffset: -9; } }

/* Продукты: янтарные элементы схем — «действие» — появляются последними;
   карточка сделки в CRM переезжает со второго этапа на третий */
.motion .card .ill :is(.a, .af, .aft, .afm) { opacity: 0; transition: opacity .6s .35s; }
.motion .card.is-in .ill :is(.a, .af, .aft, .afm) { opacity: 1; }
.motion .card .mv { transform: translate(-112px, 38px); transition: transform .9s cubic-bezier(.5, 0, .2, 1) .5s; }
.motion .card.is-in .mv { transform: none; }

/* Агентам: шаги проходят сверху вниз до выплаты */
.motion .steps li { opacity: .25; transition: opacity .45s; }
.motion .steps li::after { transform: scaleY(0); transform-origin: top; transition: transform .35s linear; }
.motion .steps li:nth-child(1)::after { transition-delay: .3s; }
.motion .steps li:nth-child(2) { transition-delay: .65s; }
.motion .steps li:nth-child(2)::after { transition-delay: .95s; }
.motion .steps li:nth-child(3) { transition-delay: 1.3s; }
.motion .steps li:nth-child(3)::after { transition-delay: 1.6s; }
.motion .steps li:nth-child(4) { transition-delay: 1.95s; }
.motion .steps.is-in li { opacity: 1; }
.motion .steps.is-in li::after { transform: none; }

/* Адаптив */
@media (max-width: 1040px) {
  .nav { display: none; }
  .top__end { margin-left: auto; }
  .prod { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: span 1; }
  .card--wide, .card--strip { grid-column: span 2; }
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .flow__arrow { position: relative; width: 0; height: 44px; justify-self: center; border-left: 1.5px dashed var(--blue); }
  .flow__arrow svg { display: none; }
  .flow__arrow::after {
    content: ""; position: absolute; left: -6px; bottom: 1px; width: 9px; height: 9px;
    border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(45deg);
  }
  .agents, .contact { grid-template-columns: 1fr; gap: 56px; }
  .tools { grid-template-columns: 1fr; gap: 20px; }
  .catalog { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .hero { padding: 56px 0 56px; }
  .hero__title { text-wrap: balance; }
  .hero__title span { display: inline; }
  .chart { margin-top: 48px; }
  .chart__cap { margin: 0 0 56px; }
  .chart__body { grid-template-columns: 22px 1fr; column-gap: 8px; }
  .chart__title { font-size: 17px; }
  .chart__band span { white-space: normal; width: 5.5em; font-size: 12px; }
  .ann b { font-size: 15px; }
  .ann span { font-size: 12px; }
  .ann--upleft span { display: none; }
  .dim__years span:not(:nth-child(3n+1)) { visibility: hidden; }
  .paths { grid-template-columns: 1fr; margin-top: 40px; }
  .path, .path:first-child { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .sec { padding: 80px 0; }
  .sec__head { margin-bottom: 40px; }
  .prod { grid-template-columns: 1fr; }
  .card, .card--wide, .card--strip { grid-column: span 1; flex-direction: column; }
  .card--wide .card__fig { order: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .card--strip .card__fig { border-right: 0; border-bottom: 1px solid var(--line); }
  .card--wide .card__body, .card--strip .card__body { padding: 22px 24px 24px; }
  .card--wide h3 { font-size: 21px; }
  .market { grid-template-columns: 1fr; }
  .strat { margin-top: 72px; }
  .strat__axis { display: none; }
  .srow { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .srow__track { grid-column: 1 / -1; grid-row: 2; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact, .fact:first-child { padding: 20px 0 0; border-left: 0; }
  .catalog__nums { gap: 24px; }
  .tools ul { grid-template-columns: 1fr; }
  .dev { grid-template-columns: 1fr; }
  .dev__item, .dev__item:nth-child(even) { padding: 24px 0; border-left: 0; }
  .form { padding: 24px 20px; }
  .form .btn { align-self: stretch; }
}
@media (max-width: 420px) {
  .brand__tech { display: none; }
  .top__in { gap: 12px; }
  .brand img { height: 22px; }
  .top__end { gap: 8px; }
  .lang button { padding: 9px 9px; }
  .btn--sm { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chart__ink, .chart__cursor, .dim__line::before, .dim__label, .pt--hi { animation: none; }
  .btn, .path__who { transition: none; }
}
