/* ============ токены ============ */
:root {
  --bg: #0a0b0d;
  --bg-2: #0f1114;
  --surface: #14161a;
  --surface-2: #1b1e23;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f2f0;
  --muted: #9a9ea6;
  --dim: #6b7079;
  --accent: #ff8a2a;
  --accent-2: #ff5a1f;
  --accent-case: var(--accent);
  --ok: #3ddc97;
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --f-head: "Unbounded", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll, body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #111; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #111; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.eyebrow { font: 600 13px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-case); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.h2 { font: 600 clamp(28px, 4.2vw, 52px)/1.08 var(--f-head); letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #d6d7da; margin: 0 0 16px; }
.muted { color: var(--muted); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { color: var(--muted); }

/* ============ кнопки ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 16px; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #140a02; box-shadow: 0 10px 40px -10px rgba(255, 110, 30, .6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(255, 110, 30, .75); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent-case); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ============ шапка ============ */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(10, 11, 13, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: auto; height: 36px; flex: none; filter: drop-shadow(0 0 12px rgba(220, 16, 16, .35)); transition: transform .3s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); }
.logo__name { font: 700 17px/1 var(--f-head); letter-spacing: .06em; }
.logo__sub { display: block; font: 500 11px/1 var(--f-body); color: var(--dim); letter-spacing: .08em; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 15px; color: #c9cbcf; }
.nav a:not(.btn):hover { color: var(--text); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); content: ""; transition: transform .3s var(--ease), opacity .2s; }
.burger span { top: 50%; }
.burger span::before { top: -6px; left: 0; right: 0; }
.burger span::after { top: 6px; left: 0; right: 0; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ============ hero ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 120, 40, .22), transparent 70%); filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
}
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: #cfd1d5; background: rgba(255,255,255,.03); margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 151, .15); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }
.hero__title { font: 700 clamp(36px, 5.4vw, 78px)/1.03 var(--f-head); letter-spacing: -0.035em; margin: 0 0 28px; text-wrap: balance; }
.hero__title em { font-style: normal; background: linear-gradient(100deg, #ffb066, var(--accent) 40%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(18px, 1.7vw, 21px); color: #c4c6ca; max-width: 560px; margin: 0 0 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 32px; }
.hero__proof div { display: flex; flex-direction: column; }
.hero__proof b { font: 700 28px/1 var(--f-head); }
.hero__proof span { color: var(--muted); font-size: 14px; margin-top: 8px; }

.hero__collage { position: relative; aspect-ratio: 1 / 1; --px: 0; --py: 0; }
.hero__collage > * { position: absolute; transition: transform .6s var(--ease); }
.hc-laptop { width: 100%; left: 0; top: 16%; transform: translate(calc(var(--px) * -8px), calc(var(--py) * -8px)) rotate(-3deg); }
.hc-phone-1 { width: 34%; right: -4%; top: 0; transform: translate(calc(var(--px) * 14px), calc(var(--py) * 14px)) rotate(6deg); z-index: 2; }
.hc-phone-2 { width: 32%; left: -6%; bottom: -4%; transform: translate(calc(var(--px) * 18px), calc(var(--py) * 18px)) rotate(-7deg); z-index: 2; }
.hc-chat { right: 2%; bottom: 6%; width: 58%; z-index: 3; transform: translate(calc(var(--px) * 24px), calc(var(--py) * 24px)); display: grid; gap: 8px; }
.hc-chat .bubble { opacity: 1; transform: none; font-size: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); }
.hc-chat__tag { justify-self: start; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: rgba(79, 124, 255, .18); color: #a9bcff; border: 1px solid rgba(79,124,255,.35); backdrop-filter: blur(8px); }

/* ============ бегущая строка ============ */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font: 600 clamp(18px, 2vw, 24px)/1 var(--f-head); color: #d5d6d9; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ устройства ============ */
.dev { margin: 0; position: relative; }
.dev__screen { overflow: hidden; background: #000; }
.dev__screen img, .dev__screen video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev--laptop { border-radius: 14px; background: #1a1c20; padding: 0 0 0; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.6); overflow: hidden; }
.dev--laptop .dev__bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #18191c; border-bottom: 1px solid var(--line); }
.dev--laptop .dev__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3c41; }
.dev--laptop .dev__bar i:first-child { background: #ff5f57; } .dev--laptop .dev__bar i:nth-child(2) { background: #febc2e; } .dev--laptop .dev__bar i:nth-child(3) { background: #28c840; }
.dev--laptop .dev__screen { aspect-ratio: 16 / 9; }
.dev--phone { border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #2a2d33, #121316); border: 1px solid var(--line-2); box-shadow: 0 40px 70px -30px rgba(0,0,0,.85); }
.dev--phone .dev__screen { border-radius: 27px; aspect-ratio: 390 / 844; }
.dev--wide { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }

/* ============ кейсы на главной ============ */
.cases { display: grid; gap: clamp(72px, 10vw, 140px); }
.case-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.case-row:nth-child(even) .case-row__media { order: 2; }
.case-row__media { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); overflow: hidden; isolation: isolate; min-height: 420px; transition: border-color .4s; }
.case-row__media:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.case-row__glow { position: absolute; inset: 20% 10% -30%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent); filter: blur(30px); z-index: -1; opacity: .55; transition: opacity .5s, transform .8s var(--ease); }
.case-row__media:hover .case-row__glow { opacity: .85; transform: scale(1.08); }
.case-row__media > .dev, .case-row__media > .cover-pair, .case-row__media > .cover-mock { transition: transform .8s var(--ease); }
.case-row__media:hover > .dev, .case-row__media:hover > .cover-pair, .case-row__media:hover > .cover-mock { transform: translateY(-6px) scale(1.015); }
.case-row__media .dev--laptop, .case-row__media .dev--wide { width: 100%; }
.cover-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; width: min(100%, 440px); }
.cover-pair .dev:last-child { transform: translateY(12%); }
.cover-mock { width: min(100%, 340px); }
.cover-mock .mock-phone__body { max-height: 440px; }
.case-row__meta { display: flex; gap: 14px; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.case-row__meta .idx { font-family: var(--f-head); color: var(--accent); }
.case-row__title { font: 700 clamp(32px, 4.4vw, 56px)/1 var(--f-head); letter-spacing: -.03em; margin: 0 0 10px; }
.case-row__niche { color: var(--dim); margin: 0 0 22px; font-weight: 600; }
.case-row__tagline { font-size: clamp(18px, 1.5vw, 20px); color: #d8d9dc; margin: 0 0 24px; }
.chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.chips .ico { color: var(--accent); width: 16px; height: 16px; }
.case-row__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); margin-bottom: 26px; }
.case-row__nums b { display: block; font: 700 28px/1 var(--f-head); color: var(--text); margin-bottom: 8px; }
.case-row__nums span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }
.case-row .link-arrow { color: var(--accent); }

/* ============ цифры ============ */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.numbers > div { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); }
.numbers > div:last-child { border-right: 0; }
.numbers b { display: block; font: 700 clamp(36px, 4.6vw, 60px)/1 var(--f-head); letter-spacing: -.03em; margin-bottom: 12px; background: linear-gradient(180deg, #fff, #9a9ea6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }

/* ============ услуги ============ */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service { padding: clamp(28px, 3vw, 40px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.service:hover { border-color: var(--line-2); transform: translateY(-4px); }
.service::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,138,42,.16), transparent); }
.service__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,138,42,.1); color: var(--accent); margin-bottom: 26px; }
.service__ico .ico { width: 26px; height: 26px; }
.service h3 { font: 600 clamp(20px, 2vw, 26px)/1.2 var(--f-head); margin: 0 0 12px; }
.service p { color: var(--muted); margin: 0 0 22px; }
.service ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.service li { display: flex; gap: 10px; font-size: 15px; color: #d0d2d6; }
.service li .ico { color: var(--accent); margin-top: 3px; width: 16px; height: 16px; }
.service__ex { font-size: 14px; color: var(--dim); }
.service__ex a { color: #d0d2d6; border-bottom: 1px solid var(--line-2); }
.service__ex a:hover { color: var(--accent); border-color: var(--accent); }

/* ============ ИИ, который не врёт ============ */
.ai-block { border-radius: 32px; padding: clamp(32px, 5vw, 72px); background: radial-gradient(120% 120% at 100% 0%, rgba(79,124,255,.18), transparent 50%), radial-gradient(100% 100% at 0% 100%, rgba(255,138,42,.14), transparent 50%), var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ai-points { display: grid; gap: 14px; }
.ai-point { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-sm); background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.ai-point .ico { width: 24px; height: 24px; color: #a9bcff; margin-top: 2px; }
.ai-point h4 { margin: 0 0 4px; font-size: 17px; }
.ai-point p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ процесс ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), transparent); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font: 700 14px/1 var(--f-head); color: var(--accent); display: block; margin-bottom: 40px; }
.step h3 { font: 600 20px/1.25 var(--f-head); margin: 0 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ контакт ============ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__title { font: 700 clamp(36px, 5.6vw, 76px)/1.02 var(--f-head); letter-spacing: -.035em; margin: 0 0 24px; }
.contact__links { display: grid; gap: 12px; margin-top: 32px; }
.contact__link { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.contact__link:hover { border-color: var(--line-2); transform: translateX(4px); }
.contact__link .ico { width: 22px; height: 22px; color: var(--accent); }
.contact__link small { display: block; color: var(--dim); font-size: 13px; }
.form { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: #c9cbcf; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; min-height: 52px; transition: border-color .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { cursor: pointer; position: relative; }
.radios input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.marquee { contain: paint; }
.radios span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: all .2s; }
.radios input:checked + span { background: var(--accent); border-color: var(--accent); color: #140a02; }
.radios input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .btn { justify-content: center; width: 100%; }
.form__note { font-size: 13px; color: var(--dim); margin: 0; text-align: center; }

/* ============ подвал ============ */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--dim); font-size: 14px; }
.footer__in { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }

/* ============ страница кейса ============ */
.case-hero { padding: 120px 0 0; position: relative; overflow: hidden; isolation: isolate; }
.case-hero::before { content: ""; position: absolute; left: 50%; top: 30%; width: 90vw; height: 70vw; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-case) 28%, transparent), transparent 70%); z-index: -1; }
.back { display: inline-block; color: var(--muted); font-weight: 600; font-size: 15px; margin-bottom: 36px; }
.back:hover { color: var(--text); }
.case-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: #cfd1d5; }
.pill--accent { border-color: color-mix(in srgb, var(--accent-case) 60%, transparent); color: var(--text); background: color-mix(in srgb, var(--accent-case) 14%, transparent); }
.pill--status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.case-hero__title { font: 700 clamp(48px, 10vw, 140px)/.95 var(--f-head); letter-spacing: -.045em; margin: 0 0 24px; }
.case-hero__tagline { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; color: #d6d7da; max-width: 860px; margin: 0 0 32px; text-wrap: balance; }
.case-hero__media { margin-top: clamp(48px, 6vw, 80px); }
.case-hero__media > .dev--laptop, .case-hero__media > .dev--wide { width: 100%; }
.case-hero__media > .cover-pair { margin: 0 auto; width: min(100%, 560px); }
.mock-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: clamp(20px, 4vw, 56px); }
.mock-duo .mock-phone:nth-child(2) { margin-top: 64px; }
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 80px); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.metric b { display: block; font: 700 clamp(32px, 3.6vw, 48px)/1 var(--f-head); letter-spacing: -.03em; color: var(--accent-case); margin-bottom: 14px; }
.metric span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.feature:hover { border-color: color-mix(in srgb, var(--accent-case) 40%, transparent); background: var(--surface-2); }
.feature__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-case); background: color-mix(in srgb, var(--accent-case) 14%, transparent); margin-bottom: 20px; }
.feature__ico .ico { width: 22px; height: 22px; }
.feature h3 { font: 600 20px/1.25 var(--f-head); margin: 0 0 10px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.panel-block { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: #d0d2d6; }
.ticks .ico { color: var(--accent-case); margin-top: 4px; width: 18px; height: 18px; }
.gallery { display: grid; gap: 20px; }
.gallery--wide { grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; }
.gallery--phones { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px; }
.shot { display: block; text-align: left; cursor: zoom-in; }
.shot .dev { transition: transform .5s var(--ease); }
.shot:hover .dev { transform: translateY(-6px); }
.shot__cap { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); font-weight: 600; }
.mock-note { font-size: 13px; color: var(--dim); margin-top: -40px; }
.stack { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; padding: 32px 0; border-block: 1px solid var(--line); }
.stack .eyebrow { margin: 0; }
.stack__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack__list li { padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: #d0d2d6; }
.cta-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: radial-gradient(100% 140% at 100% 0%, color-mix(in srgb, var(--accent-case) 22%, transparent), transparent 60%), var(--surface); border: 1px solid var(--line); }
.cta-card .h2 { margin-bottom: 10px; }
.cta-card .lead { margin: 0; color: var(--muted); }
.cta-card__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.next-case { display: block; border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 110px) 0; transition: background .4s; }
.next-case:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.next-case .wrap { display: grid; gap: 8px; }
.next-case__title { font: 700 clamp(40px, 7vw, 96px)/1 var(--f-head); letter-spacing: -.04em; display: flex; align-items: center; gap: 20px; }
.next-case__title .ico { width: .7em; height: .7em; color: var(--accent); transition: transform .4s var(--ease); }
.next-case:hover .next-case__title .ico { transform: translateX(10px); }

/* ============ макеты переписок ============ */
.mock-phone { border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #2a2d33, #111215); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85); position: relative; font-size: 14px; line-height: 1.45; }
.mock-phone__notch { position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%); background: #000; border-radius: 999px; z-index: 2; }
.mock-phone__head { display: flex; align-items: center; gap: 10px; padding: 46px 16px 12px; border-radius: 30px 30px 0 0; background: #121418; border-bottom: 1px solid var(--line); }
.mock-phone__head b { display: block; font-size: 15px; }
.mock-phone__head small { color: var(--dim); font-size: 12px; }
.mock-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; color: #fff; }
.mock-ava--ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.mock-ava--tg { background: #2aabee; }
.mock-ava--wa { background: #c62a2a; }
.mock-phone__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 22px; border-radius: 0 0 30px 30px; min-height: 420px; overflow: hidden; }
.mock--ig .mock-phone__body { background: #000; }
.mock--tg .mock-phone__body { background: #0e1621; }
.mock--wa .mock-phone__body { background: #0b141a; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 14px 14px; }
.bubble { max-width: 86%; padding: 9px 13px; border-radius: 18px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 420ms + 200ms); }
.is-in .bubble, .is-in .mock-sys { opacity: 1; transform: none; }
.bubble ul { margin: 6px 0; padding-left: 18px; }
.bubble li { margin: 2px 0; }
.bubble--in { align-self: flex-start; background: #262629; border-bottom-left-radius: 6px; }
.bubble--out { align-self: flex-end; background: linear-gradient(135deg, #7b3cff, #4f5bff); border-bottom-right-radius: 6px; }
.mock--tg .bubble--in { background: #182533; }
.mock--tg .bubble--out { background: #2b5278; }
.mock--wa .bubble--in { background: #202c33; }
.mock--wa .bubble--out { background: #005c4b; }
.bubble--comment { font-size: 13px; background: #1c1c1f !important; border: 1px solid var(--line); border-radius: 14px; }
.bubble--comment.bubble--out { background: #1c1c1f !important; color: #c9cbcf; }
.bubble--sys { align-self: center; max-width: 92%; text-align: center; font-size: 12px; background: rgba(255,255,255,.06) !important; color: var(--muted); }
.bubble__btn { display: block; margin-top: 8px; text-align: center; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.18); font-weight: 700; }
.bubble__link { color: #53bdeb; }
.mock-sys { align-self: center; font-size: 12px; color: var(--dim); padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); opacity: 0; transition: opacity .5s; transition-delay: calc(var(--i) * 420ms); }
.voice { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.voice__play { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 11px; }
.voice__wave { flex: 1; height: 18px; background: repeating-linear-gradient(90deg, #8696a0 0 2px, transparent 2px 5px); mask: linear-gradient(90deg, #000 0 40%, rgba(0,0,0,.5) 40%); border-radius: 2px; }
.voice__text { display: block; margin-top: 6px; font-size: 12px; color: #aebac1; font-style: italic; }
.tg-card { padding: 4px 2px; }
.tg-card__title { font-weight: 800; margin-bottom: 6px; }
.tg-card__row { display: grid; grid-template-columns: 82px 1fr; gap: 8px; font-size: 13px; padding: 2px 0; }
.tg-card__row span { color: #8aa1b6; }
.tg-btns { display: grid; grid-auto-flow: column; gap: 6px; margin-top: 8px; }
.tg-btns span { text-align: center; padding: 7px 6px; border-radius: 8px; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 700; }

.mock-panel { border-radius: 18px; border: 1px solid var(--line-2); background: #0f1115; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); font-size: 14px; }
.mock-panel__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #13161b; }
.mock-panel__nav { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-panel__nav i { font-style: normal; padding: 5px 10px; border-radius: 8px; color: var(--muted); font-size: 12px; }
.mock-panel__nav i.on { background: #4f7cff; color: #fff; }
.mock-panel__body { padding: 20px 18px 22px; }
.mock-panel__h { font: 600 20px/1.2 var(--f-head); margin: 0 0 16px; }
.mock-panel__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.mock-panel__grid div { padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.mock-panel__grid small { display: block; color: var(--muted); font-size: 12px; }
.mock-panel__grid b { font: 700 28px/1.2 var(--f-head); color: #8fa8ff; }
.mock-panel__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-panel__toggles, .mock-panel__spend { padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.mock-panel__toggles { display: grid; gap: 12px; align-content: start; }
.mock-panel__toggles label { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.tgl { width: 34px; height: 20px; border-radius: 999px; background: #333; position: relative; flex: none; }
.tgl.on { background: #3ddc97; }
.tgl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.tgl.on::after { left: 17px; }
.mock-panel__spend small { color: var(--muted); font-size: 12px; }
.mock-panel__spend span { font-size: 11px; color: var(--dim); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin: 8px 0; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #8fa8ff, #4f7cff); }

/* ============ лайтбокс ============ */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 56px 16px 32px; background: rgba(5,6,8,.92); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__cap { color: var(--muted); margin: 14px 0 0; text-align: center; }
.lightbox__close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1; border: 1px solid var(--line-2); }

/* ============ появление ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ адаптив ============ */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__collage { max-width: 620px; width: 100%; margin: 0 auto; }
  .case-row, .ai-block, .contact, .panel-block, .split { grid-template-columns: 1fr; }
  .case-row:nth-child(even) .case-row__media { order: 0; }
  .numbers, .metrics, .steps { grid-template-columns: repeat(2, 1fr); }
  .numbers > div:nth-child(2) { border-right: 0; }
  .numbers > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 72px 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 32px; background: var(--bg); font-size: 22px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); }
  .nav .btn { margin-top: 24px; min-height: 54px; justify-content: center; font-size: 16px; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .burger { display: block; }
  .header.is-scrolled, .menu-open .header { background: rgba(10,11,13,.92); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero__proof { gap: 22px; }
  .hero__proof b { font-size: 22px; }
  .hc-chat { width: 72%; right: -2%; }
  .hc-chat .bubble { font-size: 12px; }
  .services, .features, .gallery--wide { grid-template-columns: 1fr; }
  .case-row__media { min-height: 300px; padding: 20px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 20px; }
  .steps { grid-template-columns: 1fr; }
  .mock-duo { grid-template-columns: minmax(0, 340px); }
  .mock-duo .mock-phone:nth-child(2) { margin-top: 0; }
  .gallery--phones { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mock-panel__row { grid-template-columns: 1fr; }
  .mock-note { margin-top: -24px; }
}
@media (max-width: 420px) {
  .numbers { grid-template-columns: 1fr; }
  .numbers > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .numbers > div:last-child { border-bottom: 0; }
  .case-row__nums { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .bubble, .mock-sys { opacity: 1; transform: none; }
}
.gallery--wide .dev--wide .dev__screen { aspect-ratio: 2 / 1; }
.gallery--wide .dev--wide .dev__screen img { object-position: center; }
.gallery--wide .dev--laptop .dev__screen img { object-position: top; }
.panel-block .h2 { font-size: clamp(26px, 3vw, 40px); }
.logo__name { white-space: nowrap; }
@media (max-width: 420px) { .logo__name { font-size: 14px; letter-spacing: .04em; } .logo__mark { height: 30px; } }
