:root {
  --bg: #0B0B0A;
  --bg-2: #111110;
  --surface: #171715;
  --surface-2: #1F1F1C;
  --line: #2B2B26;
  --line-2: #3D3D35;
  --ink: #F6F5EE;
  --ink-2: #BDBCB0;
  --muted: #8F8E83;
  --y: #FFD60A;
  --y-hi: #FFE55C;
  --y-deep: #C99A00;
  --y-ink: #141200;
  --y-ink-2: #4A3F00;
  --ok: #57D163;
  --err: #FF7A66;
  --display: 'Unbounded', system-ui, sans-serif;
  --text: 'Golos Text', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50 9 86 29.500V70.500L50 91 14 70.500V29.500Z' stroke='%23000' stroke-width='14' stroke-linejoin='round'/%3E%3C/svg%3E");
  --comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='146' viewBox='0 0 84 146'%3E%3Cpath d='M42 0v25L0 49v48l42 24v25M42 25l42 24v48l-42 24' fill='none' stroke='%23FFD60A' stroke-opacity='.11' stroke-width='1'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #45453C var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { flex: none; }
::selection { background: var(--y); color: var(--y-ink); }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
/* Якорь ставит заголовок раздела сразу под липкое меню: вычитаем верхний отступ секции */
section[id] { scroll-margin-top: calc(56px + 28px - clamp(64px, 9vw, 128px)); }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 12px 20px; border-radius: 999px; background: var(--y); color: var(--y-ink); font-weight: 700; }
.skip:focus { top: 16px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: 600 .8125rem/1.2 var(--display); letter-spacing: .02em; text-transform: uppercase; text-align: center;
  transition: transform .35s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .35s var(--ease);
}
.btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--y { background: var(--y); color: var(--y-ink); box-shadow: 0 14px 34px -14px rgba(255, 214, 10, .55); }
.btn--y:hover { background: var(--y-hi); box-shadow: 0 18px 40px -12px rgba(255, 214, 10, .7); }
.btn--k { background: var(--y-ink); color: var(--ink); }
.btn--k:hover { background: #000; color: var(--y); }
.btn--line { border: 1.5px solid var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--y); color: var(--y); }
.btn--line:hover svg { transform: none; }
.btn--l { min-height: 64px; padding: 0 34px; font-size: .875rem; }
.btn--s { min-height: 48px; padding: 0 22px; font-size: .75rem; }
.btn--full { width: 100%; }
.btn:disabled { background: var(--surface-2); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.btn:disabled svg { transform: none; }

/* Шапка */
.top { position: relative; z-index: 3; }
.top__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 20px; }
.brand { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; }
.brand__mark { width: 40px; height: 40px; grid-row: span 2; }
.brand__name { font: 700 1.0625rem/1.1 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.brand__name b { color: var(--y); font-weight: 700; }
.brand__desc { font-size: .75rem; line-height: 1.3; color: var(--ink-2); max-width: 24ch; }
.top__addr, .cta__addr { display: flex; align-items: center; gap: 8px; font-size: .8125rem; line-height: 1.35; color: var(--ink-2); max-width: 24ch; }
.top__addr svg, .cta__addr svg { width: 22px; height: 22px; color: var(--y); }
.top__msg { display: flex; align-items: center; gap: 8px; font-size: .8125rem; line-height: 1.35; color: var(--ink-2); }
.top__msg span { max-width: 20ch; margin-left: 4px; }
.round { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line-2); color: var(--ink); transition: background-color .2s, color .2s, border-color .2s, transform .35s var(--ease); }
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--y); border-color: var(--y); color: var(--y-ink); transform: translateY(-2px); }
.top__call { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.top__phone { font: 700 1.125rem/1.2 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .2s; }
.top__phone:hover { color: var(--y); }
.top__call button { min-height: 28px; font-size: .8125rem; color: var(--y); text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 4px; }
.top__call button:hover { color: var(--y-hi); }

.menu { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 10, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.menu__row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.menu__row::-webkit-scrollbar { display: none; }
.menu a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 16px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.menu a:hover, .menu a.is-on { color: var(--ink); border-color: var(--y); }

/* Первый экран */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 112px); isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: -160px 0 0; z-index: -1; pointer-events: none;
  background: var(--comb);
  -webkit-mask-image: radial-gradient(60% 70% at 88% 30%, #000 0, transparent 72%), radial-gradient(40% 50% at 0 100%, #000 0, transparent 70%);
  mask-image: radial-gradient(60% 70% at 88% 30%, #000 0, transparent 72%), radial-gradient(40% 50% at 0 100%, #000 0, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.4vw, 32px); }
h1 { font: 800 clamp(1.625rem, 3.45vw, 3.25rem)/1.08 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
h1 em, h2 em { font-style: normal; color: var(--y); }
.hero__lead { max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.1875rem); color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: clamp(8px, 1.4vw, 20px); border-top: 1px solid var(--line); width: 100%; }
.facts li { flex: 1 1 170px; display: flex; align-items: center; gap: 12px; font-size: .9375rem; line-height: 1.35; font-weight: 500; padding-top: 16px; }
.facts svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255, 214, 10, .12); color: var(--y); }

.hero__face { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.06; justify-self: center; }
.hero__disc {
  position: absolute; inset: 4% 6% 6%; rotate: 8deg;
  background: radial-gradient(90% 80% at 30% 15%, var(--y-hi), var(--y) 45%, var(--y-deep));
  -webkit-mask: var(--hex) center / 100% 100% no-repeat; mask: var(--hex) center / 100% 100% no-repeat;
}
.hero__face::before { content: ''; position: absolute; inset: 12%; z-index: -1; border-radius: 50%; background: var(--y); filter: blur(90px); opacity: .34; }
.hero__img {
  position: absolute; inset: 4% 6% 6%; width: 88%; height: 90%; object-fit: cover; object-position: 50% 0;
  rotate: 8deg;
  -webkit-mask: var(--hex) center / 100% 100% no-repeat; mask: var(--hex) center / 100% 100% no-repeat;
}
.plate {
  position: absolute; right: -2%; top: 9%; max-width: 220px; padding: 14px 18px; border-radius: 18px;
  background: rgba(23, 23, 21, .9); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -22px #000; rotate: 4deg;
}
.plate b { display: block; font: 700 .9375rem/1.2 var(--display); }
.plate span { display: block; margin-top: 6px; font-size: .8125rem; line-height: 1.35; color: var(--ink-2); }

/* Поток заявок */
.flow {
  position: absolute; left: -9%; bottom: 0; width: min(78%, 330px); padding: 16px 18px 14px; border-radius: 22px;
  background: linear-gradient(160deg, #24241F, #151513); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -24px #000, 0 0 70px -20px rgba(255, 214, 10, .4); rotate: -5deg;
}
.flow__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .75rem; }
.flow__live { display: inline-flex; align-items: center; gap: 8px; font: 600 .6875rem var(--display); text-transform: uppercase; letter-spacing: .04em; }
.flow__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(87, 209, 99, .6); animation: pulse 2s infinite; }
.flow__demo { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.flow__num { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 10px; margin-top: 10px; }
.flow__num b { font: 800 2.75rem/.9 var(--display); color: var(--y); font-variant-numeric: tabular-nums; }
.flow__num span { font-size: .75rem; line-height: 1.25; color: var(--ink-2); padding-bottom: 3px; }
.flow__bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.flow__bars i { flex: 1; min-width: 2px; border-radius: 2px 2px 0 0; background: #4A4A40; transition: height .6s var(--ease), background-color .6s; }
.flow__bars i:last-child { background: var(--y); }
.flow__feed { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; height: 92px; overflow: hidden; }
.flow__feed li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: .8125rem; line-height: 1.2; }
.flow__feed li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--y); }
.flow__feed b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow__feed time { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.flow__feed li.is-new { animation: drop .6s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(87, 209, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(87, 209, 99, 0); } }

/* Секции */
.sec { position: relative; padding-block: clamp(64px, 9vw, 128px); }
.sec--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 60px); }
h2 { max-width: 26em; font: 700 clamp(1.3125rem, 2.55vw, 2.375rem)/1.14 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.sec__head p { max-width: 62ch; font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--ink-2); }
.sec > .wrap > .btn { margin-top: clamp(32px, 4vw, 48px); }

/* Связка */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: c; padding-block: 12px; }
.chain li {
  position: relative; counter-increment: c; min-height: 260px; padding: 26px 24px 28px; border-radius: 26px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  background: linear-gradient(165deg, #22221E, #141412); border: 1px solid var(--line-2);
  box-shadow: 0 30px 50px -30px #000;
  transition: rotate .5s var(--ease), translate .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.chain li:nth-child(1) { rotate: -3deg; }
.chain li:nth-child(2) { rotate: 2deg; translate: 0 14px; }
.chain li:nth-child(3) { rotate: -2deg; }
.chain li:nth-child(4) { rotate: 3deg; translate: 0 14px; background: linear-gradient(165deg, var(--y-hi), var(--y) 50%, #EDBE00); border-color: transparent; color: var(--y-ink); box-shadow: 0 30px 70px -26px rgba(255, 214, 10, .55); }
.chain li:hover { rotate: 0deg; translate: 0 -8px; border-color: var(--y); }
.chain li::before { content: '0' counter(c); position: absolute; left: 24px; top: 22px; font: 800 2.5rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.chain li:nth-child(4)::before { -webkit-text-stroke-color: rgba(20, 18, 0, .35); }
.chain li:not(:last-child)::after {
  content: '+'; position: absolute; right: -31px; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--y); color: var(--y-ink); font: 700 1.5rem/1 var(--display); box-shadow: 0 0 0 6px var(--bg);
}
.chain h3 { font: 700 1.0625rem/1.2 var(--display); text-transform: uppercase; }
.chain p { font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.chain li:nth-child(4) p { color: var(--y-ink-2); }

/* Кейсы */
.swipe { display: none; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 14px 14px 20px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); transition: translate .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.card:hover { translate: 0 -8px; border-color: var(--line-2); box-shadow: 0 34px 60px -34px #000, 0 0 80px -40px rgba(255, 214, 10, .5); }
.card__shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: #000; }
.card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale .8s var(--ease); }
.card:hover .card__shot img { scale: 1.05; }
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--y); color: var(--y-ink); font-size: .8125rem; font-weight: 600; }
.tag svg { width: 16px; height: 16px; }
.card__shot .tag { position: absolute; left: 12px; bottom: 12px; }
.tag--line { background: none; border: 1px solid var(--line-2); color: var(--ink-2); }
.card h3 { min-height: 2.4em; padding-inline: 8px; font: 700 1.0625rem/1.2 var(--display); text-transform: uppercase; }
.rows { display: flex; flex-direction: column; padding-inline: 8px; flex-grow: 1; }
.rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.rows dt { color: var(--ink-2); font-size: .9375rem; }
.rows dd { font-weight: 700; color: var(--y); font-variant-numeric: tabular-nums; white-space: nowrap; }

.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: 20px; padding: clamp(22px, 3.4vw, 48px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.case__info { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.case h3 { font: 700 clamp(1.125rem, 2vw, 1.75rem)/1.18 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.case h3 b { color: var(--y); font-weight: 800; }
.nums { display: flex; flex-wrap: wrap; gap: 16px 32px; width: 100%; padding-block: 20px; border-block: 1px solid var(--line); }
.nums div { display: flex; flex-direction: column-reverse; gap: 4px; }
.nums dd { font: 700 clamp(1.25rem, 2vw, 1.75rem)/1.1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nums small { font: 500 .8125rem var(--text); color: var(--muted); }
.nums dt { font-size: .8125rem; color: var(--ink-2); max-width: 16ch; line-height: 1.3; }
.done h4 { font: 600 .8125rem var(--display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.done ul { display: flex; flex-wrap: wrap; gap: 8px; }
.done li { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .875rem; color: var(--ink-2); }
.case__media { position: relative; padding-bottom: 12%; }
.win { --vh: clamp(260px, 30vw, 420px); border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 40px 70px -40px #000; }
.win__bar { display: flex; gap: 6px; padding: 12px 14px; background: #24241F; }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #55554B; }
.win__bar i:first-child { background: var(--y); }
.win__view { height: var(--vh); overflow: hidden; }
.win__view img { width: 100%; transition: transform 1.2s var(--ease); }
.win:hover .win__view img, .win:focus-visible .win__view img { transform: translateY(calc(-100% + var(--vh))); transition: transform 14s linear; }
.case__chart { position: absolute; left: -6%; bottom: 0; width: 62%; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 30px 60px -20px #000, 0 0 60px -20px rgba(255, 214, 10, .45); rotate: -4deg; }

/* Жёлтая плашка */
.offer {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px clamp(24px, 4vw, 56px);
  margin-top: 20px; padding: clamp(24px, 3.4vw, 44px); border-radius: 30px;
  background: linear-gradient(120deg, var(--y-hi), var(--y) 40%, #F2C200); color: var(--y-ink);
  box-shadow: 0 40px 90px -50px rgba(255, 214, 10, .8);
}
.offer__text { font: 700 clamp(1.0625rem, 1.75vw, 1.5rem)/1.25 var(--display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.offer__text span { font-weight: 500; }
.offer ::selection { background: var(--y-ink); color: var(--y); }
.offer :focus-visible { outline-color: var(--y-ink); }

/* Формы */
.lead { display: flex; flex-direction: column; gap: 14px; }
.lead__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.lead__row .field { flex: 1 1 220px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.field input {
  width: 100%; height: 56px; padding: 0 20px; border-radius: 999px;
  background: var(--bg); border: 1.5px solid var(--line-2); color: var(--ink); caret-color: var(--y);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--muted); }
.field input:hover { border-color: #5C5C50; }
.field input:focus { outline: none; border-color: var(--y); box-shadow: 0 0 0 4px rgba(255, 214, 10, .18); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field__err { font-size: .8125rem; color: var(--err); padding-left: 20px; }
.offer .field input { background: #fff; border-color: transparent; color: var(--y-ink); caret-color: var(--y-ink); }
.offer .field input::placeholder { color: #77745F; }
.offer .field input:focus { border-color: var(--y-ink); box-shadow: 0 0 0 4px rgba(20, 18, 0, .16); }
.offer .field input[aria-invalid="true"] { border-color: #B3260F; }
.offer .field__err { color: #8A1C0A; font-weight: 600; }
.consent { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.consent button { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.consent button:hover { color: var(--y); }
.offer .consent { color: var(--y-ink-2); }
.offer .consent button:hover { color: var(--y-ink); }
.lead__done { display: flex; align-items: flex-start; gap: 14px; padding: 6px 0; }
.lead__done svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--y); color: var(--y-ink); }
.offer .lead__done svg { background: var(--y-ink); color: var(--y); }
.lead__done b { display: block; font: 700 1rem/1.25 var(--display); text-transform: uppercase; }
.lead__done span { display: block; margin-top: 6px; font-size: .9375rem; }
.demo-note { font-size: .8125rem; color: var(--muted); }
.offer .demo-note { color: var(--y-ink-2); }
.lead--card { position: relative; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 0 120px -50px rgba(255, 214, 10, .6); }
.lead__who { display: flex; align-items: center; gap: 14px; font-size: .9375rem; line-height: 1.35; color: var(--ink-2); }
.lead__who b { color: var(--ink); }
.lead__who img, .manager__who img {
  width: 68px; height: 74px; flex: none; object-fit: cover; object-position: 50% 8%; background: var(--y);
  -webkit-mask: var(--hex) center / 100% 100% no-repeat; mask: var(--hex) center / 100% 100% no-repeat;
}

/* Квиз */
.quizwrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: stretch; }
.quiz { display: flex; flex-direction: column; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.quiz__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px clamp(20px, 3vw, 36px); font-size: .875rem; color: var(--ink-2); }
.quiz__count { font-weight: 600; color: var(--y); font-variant-numeric: tabular-nums; }
.quiz__bar { height: 4px; background: var(--line); }
.quiz__bar i { display: block; height: 100%; width: 0; background: var(--y); border-radius: 0 4px 4px 0; transition: width .6s var(--ease); }
.quiz__body { flex-grow: 1; padding: clamp(22px, 3vw, 36px); min-height: 330px; }
.quiz legend { margin-bottom: 22px; font: 700 clamp(1.0625rem, 1.8vw, 1.4375rem)/1.2 var(--display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.quiz fieldset:not([hidden]) { animation: step .5s var(--ease); }
@keyframes step { from { opacity: 0; transform: translateX(18px); } }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 20px; border-radius: 18px; border: 1.5px solid var(--line-2); cursor: pointer; font-weight: 500; transition: border-color .2s, background-color .2s, translate .35s var(--ease); }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt:not(.opt--pic)::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.opt:hover { border-color: #6A6A5C; translate: 0 -2px; }
.opt:has(input:checked) { border-color: var(--y); background: rgba(255, 214, 10, .09); }
.opt:has(input:checked)::before { border-color: var(--y); background: var(--y); box-shadow: inset 0 0 0 4px var(--surface); }
.opt:has(input:focus-visible) { outline: 2px solid var(--y); outline-offset: 3px; }
.opts--pics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt--pic { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 6px 12px; text-align: center; }
.opt--pic img { width: 100%; aspect-ratio: 5 / 3.4; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.quiz .field input { max-width: 520px; }
.quiz__hint { margin: -10px 0 22px; color: var(--ink-2); }
.quiz__final { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 16px; }
.quiz__nav { display: flex; justify-content: flex-end; gap: 10px; padding: 0 clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px); }
.quiz__nav [data-q-back] { margin-right: auto; }
.quiz__done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.quiz__done svg { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--y); color: var(--y-ink); }
.quiz__done h3 { font: 700 1.5rem/1.2 var(--display); text-transform: uppercase; }

.manager { display: flex; flex-direction: column; gap: 20px; padding: 26px 24px; border-radius: 30px; background: linear-gradient(170deg, #22221E, #131311); border: 1px solid var(--line-2); }
.manager__who { display: flex; align-items: center; gap: 14px; }
.manager__who div { display: flex; flex-direction: column; gap: 3px; font-size: .8125rem; color: var(--ink-2); }
.manager__who b { font: 700 .9375rem/1.2 var(--display); color: var(--ink); }
.online { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-weight: 600; }
.online i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.manager__say { position: relative; padding: 16px 18px; border-radius: 4px 18px 18px 18px; background: rgba(255, 255, 255, .06); font-size: .9375rem; line-height: 1.45; }
.manager__gift { margin-top: auto; padding: 14px 18px 18px; border-radius: 22px; background: var(--y); color: var(--y-ink); font-size: .9375rem; line-height: 1.35; }
.manager__gift img { width: 78%; margin: -34px auto 4px; rotate: -4deg; filter: drop-shadow(0 16px 18px rgba(20, 18, 0, .35)); }
.manager__gift b { display: block; font: 700 .8125rem var(--display); text-transform: uppercase; margin-bottom: 2px; }

/* Преимущества */
.adv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.adv div { padding: 28px 0 30px; border-top: 1px solid var(--line-2); transition: border-color .3s; }
.adv div:hover { border-color: var(--y); }
.adv dt { max-width: 22em; font: 700 clamp(1rem, 1.5vw, 1.25rem)/1.25 var(--display); text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.adv dd { margin-top: 12px; max-width: 58ch; color: var(--ink-2); }

/* Обращение руководителя */
.why { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.why__photo { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1.08; justify-self: center; }
.why__photo::before { content: ''; position: absolute; inset: 14%; z-index: -1; border-radius: 50%; background: var(--y); filter: blur(90px); opacity: .3; }
.why__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; rotate: -6deg;
  background: radial-gradient(90% 80% at 70% 15%, var(--y-hi), var(--y) 45%, var(--y-deep));
  -webkit-mask: var(--hex) center / 100% 100% no-repeat; mask: var(--hex) center / 100% 100% no-repeat;
}
.why__photo figcaption { position: absolute; left: -2%; bottom: 8%; max-width: 240px; padding: 14px 18px; border-radius: 18px; background: rgba(23, 23, 21, .92); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -22px #000; rotate: -3deg; }
.why__photo b { display: block; font: 700 .9375rem/1.2 var(--display); }
.why__photo span { display: block; margin-top: 6px; font-size: .8125rem; line-height: 1.35; color: var(--ink-2); }
.why__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.why__copy h2 { margin-bottom: 10px; font-size: clamp(1.25rem, 2.1vw, 1.9375rem); }
.why__copy p { max-width: 58ch; font-size: 1.0625rem; color: var(--ink-2); }
.why__copy .btn { margin-top: 14px; }

/* Этапы */
.stages__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.stages__tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 20px; border-radius: 20px; border: 1.5px solid var(--line-2); text-align: left; font: 600 .875rem/1.2 var(--display); text-transform: uppercase; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s; }
.stages__tabs small { font: 500 .8125rem var(--text); text-transform: none; color: var(--muted); transition: color .2s; }
.stages__tabs button:hover { border-color: #6A6A5C; color: var(--ink); }
.stages__tabs button[aria-selected="true"] { background: var(--y); border-color: var(--y); color: var(--y-ink); }
.stages__tabs button[aria-selected="true"] small { color: var(--y-ink-2); }
.stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(22px, 3.4vw, 48px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.stage:not([hidden]) { animation: step .5s var(--ease); }
.stage h3 { margin-bottom: 24px; font: 700 clamp(1.125rem, 2vw, 1.625rem)/1.2 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.stage img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 22px; }
.steps { counter-reset: s; display: flex; flex-direction: column; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--y); color: var(--y); font: 700 .875rem var(--display); }

/* Отзывы */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quotes li { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.8vw, 34px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.stars { display: flex; gap: 3px; color: var(--y); }
.stars svg { width: 18px; height: 18px; }
.quotes blockquote { flex-grow: 1; max-width: 62ch; font-size: 1.0625rem; line-height: 1.55; }
.quotes footer { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.quotes b { display: block; font: 700 .9375rem/1.2 var(--display); }
.quotes footer span { display: block; margin-top: 4px; font-size: .875rem; color: var(--ink-2); }
.quotes footer button { min-height: 32px; font-size: .875rem; color: var(--y); text-decoration: underline; text-underline-offset: 4px; text-align: left; }
.quotes footer button:hover { color: var(--y-hi); }

/* Вопросы */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq .sec__head { position: sticky; top: 96px; margin: 0; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 clamp(.9375rem, 1.3vw, 1.0625rem)/1.3 var(--display); text-transform: uppercase; letter-spacing: -.005em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: rotate .4s var(--ease), background-color .2s, color .2s, border-color .2s; }
.faq summary:hover { color: var(--y); }
.faq details[open] summary svg { rotate: 45deg; background: var(--y); border-color: var(--y); color: var(--y-ink); }
.faq details > div { padding: 0 60px 26px 0; max-width: 68ch; color: var(--ink-2); display: flex; flex-direction: column; gap: 12px; }

/* Контакты */
.cta { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cta__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta__msg { display: flex; flex-wrap: wrap; gap: 10px; }
.cta__phone { display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }
.cta__phone a { font: 800 clamp(1.5rem, 3vw, 2.5rem)/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; transition: color .2s; }
.cta__phone a:hover { color: var(--y); }
.cta__addr { max-width: none; font-size: .9375rem; }

/* Подвал */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: .9375rem; color: var(--ink-2); }
.foot__nav a { display: inline-flex; align-items: center; min-height: 40px; transition: color .2s; }
.foot__nav a:hover { color: var(--y); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.foot__legal p { max-width: 80ch; }
.foot__legal button { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.foot__legal button:hover { color: var(--y); }

/* Окна */
.modal { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: 30px; background: var(--surface); color: var(--ink); box-shadow: 0 60px 120px -40px #000, 0 0 140px -50px rgba(255, 214, 10, .55); overflow: auto; }
.modal::backdrop { background: rgba(5, 5, 4, .78); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal h2 { padding-right: 44px; font-size: clamp(1.125rem, 2.4vw, 1.5rem); }
.modal__lead { margin: 12px 0 22px; color: var(--ink-2); }
.modal__x { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--line-2); transition: background-color .2s, color .2s, border-color .2s, rotate .4s var(--ease); }
.modal__x svg { width: 18px; height: 18px; }
.modal__x:hover { background: var(--y); border-color: var(--y); color: var(--y-ink); rotate: 90deg; }
.modal--text { width: min(720px, calc(100vw - 24px)); }
.modal--text p { margin-top: 14px; color: var(--ink-2); max-width: 70ch; }
.modal--zoom { width: auto; padding: 12px; background: #fff; }
.modal--zoom img { max-height: calc(100dvh - 60px); width: auto; border-radius: 18px; }
.modal--zoom .modal__x { background: var(--surface); }

/* Появление первого экрана */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s var(--ease) backwards; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__disc, .hero__img { animation: hex 1.1s var(--ease) backwards .1s; }
  .plate { animation: rise .9s var(--ease) backwards .5s; }
  .flow { animation: rise .9s var(--ease) backwards .65s; }
}
@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@keyframes hex { from { opacity: 0; scale: .86; rotate: -14deg; } }

/* Адаптив */
@media (max-width: 1080px) {
  .top__addr { display: none; }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .chain li { min-height: 220px; }
  .chain li:nth-child(2)::after { display: none; }
  .quizwrap { grid-template-columns: 1fr; }
  .manager { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .manager__say { flex: 1 1 260px; }
  .manager__gift { flex: 1 1 220px; margin-top: 24px; }
}
@media (max-width: 900px) {
  .hero__grid, .case, .offer, .why, .stage, .faq, .cta { grid-template-columns: 1fr; }
  .hero__face { width: min(88%, 420px); margin-top: 8px; }
  .faq .sec__head { position: static; }
  .swipe { display: block; font-size: .875rem !important; color: var(--muted) !important; }
  .cards { display: flex; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 min(82vw, 340px); scroll-snap-align: center; }
  .card:hover { translate: none; }
  .case__media { order: -1; }
  .quotes { grid-template-columns: 1fr; }
  .stages__tabs { display: flex; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .stages__tabs::-webkit-scrollbar { display: none; }
  .stages__tabs button { flex: 0 0 auto; }
  .stage img { max-height: 260px; order: -1; }
  .why__photo { width: min(84%, 380px); }
}
@media (max-width: 640px) {
  .top__msg span, .brand__desc { display: none; }
  .top__row { padding-block: 14px; gap: 10px 14px; }
  .top__phone { font-size: .9375rem; }
  .brand__name { font-size: .9375rem; }
  .brand__mark { width: 36px; height: 36px; grid-row: auto; }
  .top__msg { order: 3; }
  .top__call { order: 2; }
  .menu a { flex: 0 0 auto; min-height: 48px; padding: 0 12px; font-size: .875rem; }
  .btn--l { width: 100%; min-height: 60px; padding: 0 20px; font-size: .75rem; }
  .facts li { flex-basis: 100%; padding-top: 10px; }
  .chain { grid-template-columns: 1fr; gap: 30px; }
  .chain li, .chain li:nth-child(n) { min-height: 0; padding-top: 76px; translate: none; }
  .chain li:nth-child(odd) { rotate: -1.5deg; }
  .chain li:nth-child(even) { rotate: 1.5deg; }
  .chain li:not(:last-child)::after, .chain li:nth-child(2)::after { display: flex; right: auto; left: 50%; top: auto; bottom: -37px; margin: 0 0 0 -22px; }
  .opts--pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz__nav { flex-wrap: wrap; }
  .quiz__nav .btn { flex: 1 1 auto; }
  .adv { grid-template-columns: 1fr; }
  .faq details > div { padding-right: 0; }
  .hero__face { width: 100%; margin-bottom: 38%; }
  .plate { right: -2%; top: auto; bottom: 16%; max-width: 180px; padding: 10px 14px; }
  .plate span { font-size: .75rem; }
  .flow { left: 0; bottom: -36%; width: 80%; rotate: -3deg; }
  .foot__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
