/* ==========================================================================
   Коробок — стили сайта
   Токены взяты из дизайн-системы макета. Брейкпоинты:
   десктоп > 1100 · планшет ≤ 1100 · узкий ≤ 900 · мобильный ≤ 767
   ========================================================================== */

:root {
  --bg: #F6F5F2;
  --surface: #FFFFFF;
  --surface-2: #F1EFEA;
  --chip: #ECE9E3;
  --sand: #E9E6DF;
  --line: #E2E0DA;
  --line-strong: #D4D1C9;
  --muted: #5B5B63;
  --text-2: #3F3F46;
  --text-3: #27272A;
  --text: #18181B;
  --dark: #121214;
  --dark-2: #1E1E22;
  --dark-3: #2A2A30;
  --dark-line: #3A3A40;
  --dark-muted: #A1A1AA;
  --dark-text-2: #D4D4D8;
  --on-dark: #F6F5F2;

  --accent: #C83800;
  --accent-hover: #B03100;
  --accent-press: #962A00;
  --link-hover: #A82F00;
  --spark: #FF5A1F;
  --soft: #FFE4D6;
  --error: #B42318;
  --error-bg: #FFF7F6;
  --error-soft: #FDECEA;
  --error-text: #8A1C12;

  --f-display: 'Unbounded', 'Arial Black', sans-serif;
  --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --gutter: clamp(20px, 4vw, 60px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 88px;
}

[data-palette="electric"] {
  --accent: #2440E6; --accent-hover: #1E36C4; --accent-press: #1A30B0;
  --link-hover: #1E36C4; --spark: #6B85FF; --soft: #E1E6FF;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; caret-color: var(--accent);
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--link-hover); }
.dark a:not(.btn):hover, .mmenu a:not(.btn):hover { color: var(--spark); }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .mmenu :focus-visible, .site-footer :focus-visible { outline-color: var(--spark); }
::selection { background: var(--soft); color: var(--text); }
.dark ::selection, .site-footer ::selection, .mmenu ::selection { background: var(--spark); color: var(--dark); }
html { scrollbar-color: var(--line-strong) var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #A8A49B; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.spark-12 { width: 12px; height: 12px; color: var(--spark); flex-shrink: 0; }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px;
  background: var(--text); color: #fff; text-decoration: none; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus, .skip-link:hover { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.dark { background: var(--dark); color: var(--on-dark); }

/* ---------- Типографика ---------- */
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex-shrink: 0; }
.h-display { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 6.8vw, 108px); line-height: 0.96; letter-spacing: -0.05em; text-wrap: balance; }
.h-page { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 6.4vw, 104px); line-height: 0.96; letter-spacing: -0.05em; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.h2--md { font-size: clamp(32px, 3.6vw, 52px); }
.h-cta { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.05em; text-wrap: balance; }
.accent { color: var(--accent); }
.spark { color: var(--spark); }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--text-2); max-width: 560px; }
.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-family: var(--f-body); font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), filter .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); transition-duration: .1s; }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; transform: none; opacity: .45; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--accent:active { background: var(--accent-press); }
.btn--outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn--outline:hover { background: var(--text); color: #fff; }
.btn--dark { background: var(--text); color: #fff; }
.btn--dark:hover { background: #2C2C31; color: #fff; }
.btn--white { background: #fff; color: var(--text); }
.btn--white:hover { background: var(--bg); color: var(--text); }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn--xl { min-height: 58px; font-size: 17px; }
.btn--xxl { min-height: 64px; padding: 0 34px; font-size: 18px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 16px; color: var(--text); text-decoration: none; border-bottom: 1.5px solid currentColor;
}
.link-arrow .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

.tag { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); font-family: var(--f-mono); font-size: 13px; color: var(--text-2); }
.tag--dark { background: var(--text); color: #fff; }
.tag--outline { background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: flex-start; gap: 3px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.logo:hover { color: var(--text); }
.logo__word { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; line-height: 1; transition: font-size .25s var(--ease); }
.logo__spark { width: 12px; height: 12px; margin-top: -4px; color: var(--accent); transition: transform .6s var(--ease); }
.logo:hover .logo__spark { transform: rotate(90deg) scale(1.15); }
.logo--light, .logo--light:hover { color: var(--on-dark); }
.logo--light .logo__spark { color: var(--spark); }
.logo--xl { gap: 4px; }
.logo--xl .logo__word { font-size: 44px; letter-spacing: -0.045em; }
.logo--xl .logo__spark { width: 20px; height: 20px; margin-top: -6px; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 245, 242, 0.94); border-bottom: 1px solid var(--line);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-compact { background: rgba(246, 245, 242, 0.82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px -24px rgba(18, 18, 20, .5); }
.site-header__inner { display: flex; align-items: center; gap: 28px; padding-block: 22px; transition: padding .25s var(--ease); }
.site-header.is-compact .site-header__inner { padding-block: 10px; }
.site-header.is-compact .logo__word { font-size: 22px; }
.nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav__link { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text); padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .2s ease, color .2s ease; }
.nav__link:hover { color: var(--text); border-color: var(--line-strong); }
.nav__link.is-current { border-color: var(--accent); }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.lang a { text-decoration: none; padding: 6px 10px; border-radius: 999px; color: var(--text); transition: background-color .2s ease; }
.lang a:hover { background: var(--chip); color: var(--text); }
.lang a.is-on { background: var(--text); color: var(--on-dark); }
.lang-short { display: none; margin-left: auto; font-family: var(--f-mono); font-size: 14px; font-weight: 500; text-decoration: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: 999px; }
.lang-short:hover { background: var(--chip); color: var(--text); }
.site-header__cta { min-height: 44px; padding: 0 22px; font-size: 15px; transition: background-color .2s ease, transform .2s var(--ease), min-height .25s var(--ease), padding .25s var(--ease); }
.site-header.is-compact .site-header__cta { padding: 0 18px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--text); background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; transition: background-color .2s ease, color .2s ease; }
.burger:hover { background: var(--text); color: #fff; }
.burger .i { width: 22px; height: 22px; }

/* ---------- Мобильное меню ---------- */
.mmenu { position: fixed; inset: 0; z-index: 70; background: var(--dark); color: var(--on-dark); overflow-y: auto; opacity: 0; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mmenu.is-open { opacity: 1; transform: none; }
.mmenu__inner { min-height: 100%; min-height: 100dvh; display: flex; flex-direction: column; padding: 12px 16px calc(24px + env(safe-area-inset-bottom)) 20px; max-width: 720px; margin-inline: auto; }
.mmenu__top { display: flex; align-items: center; min-height: 44px; }
.mmenu__top .logo__word { font-size: 21px; }
.mmenu__top .logo__spark { width: 10px; height: 10px; }
.mmenu__close { margin-left: auto; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--on-dark); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mmenu__list { margin-top: 40px; }
.mmenu__list li { border-bottom: 1px solid var(--dark-3); opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); transition-delay: calc(var(--i) * 40ms + 60ms); }
.mmenu.is-open .mmenu__list li { opacity: 1; transform: none; }
.mmenu__list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; text-decoration: none; color: var(--on-dark); font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 9vw, 40px); letter-spacing: -0.04em; }
.mmenu__list a:hover, .mmenu__list a[aria-current] { color: var(--spark); }
.mmenu__list .mono { font-size: 13px; font-weight: 500; color: var(--dark-muted); letter-spacing: 0; }
.mmenu__lang { margin-top: 28px; display: flex; gap: 8px; font-family: var(--f-mono); font-size: 14px; }
.mmenu__lang a { min-width: 56px; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--dark-line); color: var(--on-dark); text-decoration: none; }
.mmenu__lang a.is-on { background: var(--on-dark); color: var(--text); box-shadow: none; }
.mmenu__bottom { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.mmenu__social { display: flex; gap: 8px; }
.mmenu__social a { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--dark-line); color: var(--on-dark); text-decoration: none; font-size: 14px; font-weight: 600; }
.mmenu__social a:hover { background: var(--dark-2); color: #fff; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); border-top: 1px solid var(--dark-3); }
.site-footer__inner { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; align-items: flex-start; }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 420px; }
.site-footer__brand p { font-size: 17px; line-height: 1.5; color: var(--dark-muted); }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.site-footer__col .label { color: var(--dark-muted); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer__col a:hover { color: var(--spark); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; border-top: 1px solid var(--dark-3); padding-top: 24px; font-size: 14px; color: var(--dark-muted); }
.site-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.site-footer__made { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 13px; color: var(--on-dark); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer__legal a { color: var(--dark-muted); text-decoration: underline; }
.site-footer__legal a:hover { color: var(--on-dark); }

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

/* ---------- Карточки (ховер) ---------- */
.lift { transition: transform .3s var(--ease), box-shadow .3s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(18, 18, 20, .45); }
.cover-in { transition: transform .4s var(--ease); }
.lift:hover .cover-in { transform: scale(1.04) translateY(-6px); }
.js .reveal.lift.is-in { transition: opacity .4s var(--ease), transform .3s var(--ease), box-shadow .3s ease; }

/* ==========================================================================
   Главная
   ========================================================================== */
.hero { padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.hero__spark { display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.08em; vertical-align: top; color: var(--accent); animation: spark-pulse 4s var(--ease) infinite; }
@keyframes spark-pulse { 0%, 80%, 100% { transform: scale(1) rotate(0); } 88% { transform: scale(1.18) rotate(45deg); } }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; align-items: end; }
.hero__left { display: flex; flex-direction: column; gap: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pipeline { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 13px; color: var(--text-2); }
.pipeline li { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; }
.pipeline li.pipeline__arrow { border: 0; padding: 8px 4px; color: var(--muted); }

.timer { background: var(--dark); color: var(--on-dark); border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "clock" "bar" "stages" "note"; gap: 24px; }
.timer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.timer__top > span:first-child { color: var(--dark-muted); }
.timer__stage { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--dark-line); color: var(--spark); }
.timer__stage::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--spark); animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.timer__row { display: contents; }
.timer__top { grid-area: top; } .timer__clock { grid-area: clock; } .timer__bar { grid-area: bar; } .timer__stages { grid-area: stages; } .timer__note { grid-area: note; }
.timer__clock { font-family: var(--f-mono); font-weight: 500; font-size: clamp(64px, 7.4vw, 120px); line-height: 0.9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.timer__bar { height: 6px; border-radius: 999px; background: var(--dark-3); overflow: hidden; }
.timer__bar span { display: block; height: 100%; width: 0; background: var(--spark); border-radius: 999px; transition: width .1s linear; }
.timer__stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: #8A8A93; }
.timer__stages span { transition: color .25s ease; }
.timer__stages .is-done { color: var(--on-dark); }
.timer__stages .is-cur { color: var(--spark); }
.timer__note { font-size: 15px; line-height: 1.5; color: var(--dark-muted); }

.marquee { background: var(--accent); color: #fff; overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; white-space: nowrap; }
.marquee__item svg { width: 18px; height: 18px; color: #fff; }

.stats { padding: 104px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 48px 32px; }
.stats__grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; }
.stat { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--dark-line); padding-top: 24px; }
.stat--spark { border-top: 2px solid var(--spark); padding-top: 23px; }
.stat__row { display: flex; align-items: baseline; gap: 12px; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(72px, 7vw, 112px); line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat--spark .stat__num { color: var(--spark); }
.stat__unit { font-family: var(--f-mono); font-size: 18px; color: var(--dark-muted); }
.stat__label { font-size: 17px; color: var(--dark-text-2); }

.section { padding-top: 100px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 48px; }
.section--first { padding-top: 120px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head__titles { display: flex; flex-direction: column; gap: 16px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.svc-card { display: flex; flex-direction: column; gap: 14px; min-height: 220px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.svc-card:hover { color: var(--text); }
button.svc-card { appearance: none; font-family: var(--f-body); text-align: left; cursor: pointer; width: 100%; }
.svc-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.svc-card__name { font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.svc-card__head .i { width: 22px; height: 22px; color: var(--muted); transition: transform .3s var(--ease), color .2s ease; }
.svc-card:hover .svc-card__head .i { color: var(--accent); transform: translate(2px, -2px); }
.svc-card__desc { font-size: 16px; line-height: 1.45; color: var(--muted); }
.svc-card__meta { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-family: var(--f-mono); font-size: 14px; }
.svc-card__meta span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.svc-card__meta .i { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.2; }
.svc-card__meta span:last-child { color: var(--text-2); }

/* Кейсы — карточки и обложки */
.cases-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.case-card { display: flex; flex-direction: column; gap: 20px; padding: 16px 16px 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.case-card:hover { color: var(--text); }
.case-card--4 { grid-column: span 4; } .case-card--5 { grid-column: span 5; } .case-card--7 { grid-column: span 7; }
.case-card--8 { grid-column: span 8; } .case-card--12 { grid-column: span 12; }
.case-card--wide { flex-direction: row; flex-wrap: wrap; gap: 32px; align-items: center; padding: 16px; }
.case-card--wide .case-cover { flex: 7 1 520px; }
.case-card__body { display: flex; flex-direction: column; gap: 12px; padding: 0 12px; }
.case-card--wide .case-card__body { flex: 5 1 320px; gap: 16px; padding: 12px 20px; }
.case-card__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.case-card__title { font-family: var(--f-display); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.case-card--4 .case-card__title { font-size: 24px; }
.case-card--wide .case-card__title { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; }
.case-card__text { font-size: 17px; line-height: 1.5; color: var(--muted); }
.case-card__result { font-family: var(--f-mono); font-size: 18px; font-weight: 600; color: var(--accent); }

.case-cover { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.case-cover--fill { aspect-ratio: auto; flex: 1; min-height: 260px; }
.case-cover--soft { background: var(--soft); }
.case-cover--ink { background: var(--text); gap: 8%; }
.case-cover--night { background: var(--dark); }
.case-cover--sand { background: var(--sand); align-items: flex-end; }
.case-cover--stone { background: #DCD8CF; }

/* мокапы — абстрактные схемы интерфейсов */
.mk { display: block; border-radius: 4px; }
.mk-window { width: 80%; height: 74%; background: #fff; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(24, 24, 27, .35); display: flex; flex-direction: column; overflow: hidden; }
.mk-bar { height: 30px; flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid #EEECE7; }
.mk-bar i { width: 9px; height: 9px; border-radius: 999px; background: var(--line); }
.mk-bar b { margin-left: 12px; height: 12px; width: 40%; border-radius: 6px; background: var(--surface-2); }
.mk-booking { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; padding: 20px; }
.mk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-content: start; }
.mk-cal i { aspect-ratio: 1; border-radius: 6px; background: var(--chip); }
.mk-cal i.w { background: var(--bg); } .mk-cal i.a { background: var(--accent); } .mk-cal i.k { background: var(--text); }
.mk-col { display: flex; flex-direction: column; gap: 8px; }
.mk-col i { height: 28px; border-radius: 8px; background: var(--surface-2); }
.mk-col i.t { height: 12px; width: 60%; border-radius: 4px; background: var(--text); }
.mk-col i.a { background: var(--accent); }
.mk-phone { height: 78%; min-height: 200px; aspect-ratio: 9 / 18; border: 2px solid var(--dark-line); border-radius: 26px; padding: 10px; display: flex; flex-direction: column; gap: 8px; background: var(--dark-2); }
.mk-phone i { border-radius: 4px; }
.mk-phone .n { height: 6px; width: 36%; align-self: center; background: var(--dark-line); }
.mk-phone .s { height: 34%; border-radius: 14px; background: var(--spark); }
.mk-phone .l1 { height: 9px; width: 70%; background: var(--on-dark); }
.mk-phone .l2 { height: 9px; width: 50%; background: var(--muted); }
.mk-phone .g { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mk-phone .g i { height: 34px; border-radius: 10px; background: var(--dark-3); }
.mk-record { display: flex; flex-direction: column; gap: 8px; }
.mk-record b { font-family: var(--f-mono); font-size: clamp(26px, 2.8vw, 44px); font-weight: 500; color: var(--on-dark); letter-spacing: -0.04em; }
.mk-record span { font-family: var(--f-mono); font-size: 12px; color: var(--spark); text-transform: uppercase; letter-spacing: 0.08em; }
.mk-dash { width: 84%; height: 80%; background: #fff; border-radius: 14px 14px 0 0; display: flex; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(24, 24, 27, .35); }
.mk-side { width: 22%; background: var(--text); padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.mk-side i { height: 8px; border-radius: 4px; background: var(--dark-line); }
.mk-side i.s { height: 10px; width: 60%; background: var(--spark); }
.mk-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mk-main .t { height: 14px; width: 40%; border-radius: 4px; background: var(--text); }
.mk-prog { display: flex; align-items: center; gap: 10px; }
.mk-prog i { width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); flex-shrink: 0; }
.mk-prog b { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; position: relative; }
.mk-prog b::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c, var(--text)); }
.mk-bars { flex: 1; min-height: 60px; display: flex; align-items: flex-end; gap: 8px; }
.mk-bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--line); }
.mk-bars i:last-child { background: var(--accent); }
.mk-site { width: 82%; height: 76%; border: 1px solid var(--dark-line); border-radius: 14px; background: var(--text); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mk-site .top { display: flex; align-items: center; gap: 8px; }
.mk-site .top i { height: 8px; width: 12%; border-radius: 4px; background: var(--dark-line); }
.mk-site .top i:first-child { height: 10px; width: 22%; background: var(--spark); margin-right: auto; }
.mk-site .h { height: 18px; border-radius: 4px; background: var(--on-dark); }
.mk-site .g { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-site .g i { height: 40px; border-radius: 8px; background: var(--dark-3); }
.mk-lab { width: 84%; height: 76%; background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(24, 24, 27, .4); }
.mk-lab .bar { height: 30px; flex-shrink: 0; background: var(--surface-2); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.mk-lab .bar i { width: 9px; height: 9px; border-radius: 999px; background: var(--line-strong); }
.mk-lab .body { flex: 1; display: flex; min-height: 0; }
.mk-lab .side { width: 24%; border-right: 1px solid #EEECE7; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mk-lab .side i { height: 8px; border-radius: 4px; background: var(--line); }
.mk-lab .side i:first-child { height: 10px; width: 70%; background: var(--text); }
.mk-lab .side i:nth-child(2) { height: 24px; border-radius: 6px; background: var(--soft); }
.mk-lab .rows { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.mk-lab .row { display: grid; grid-template-columns: 2fr 1fr 1fr 60px; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 6px; }
.mk-lab .row:nth-child(even) { background: #FAF9F6; }
.mk-lab .row.hl { background: var(--soft); }
.mk-lab .row i { height: 8px; border-radius: 4px; background: var(--line-strong); }
.mk-lab .row i:first-child { background: var(--muted); }
.mk-lab .row i:last-child { height: 14px; border-radius: 999px; background: var(--line-strong); }
.mk-lab .row.hl i:last-child { background: var(--accent); }
.mk-lab .row.k i:last-child { background: var(--text); }

/* Подход */
.fast { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: start; }
.fast__left { display: flex; flex-direction: column; gap: 24px; }
.fast__left p { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 520px; }
.equation { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 12px; font-family: var(--f-display); font-weight: 700; font-size: 22px; }
.equation span { padding: 16px 22px; border-radius: 18px; }
.equation .e-ai { background: var(--text); color: var(--on-dark); }
.equation .e-team { box-shadow: inset 0 0 0 1.5px var(--text); }
.equation .e-res { background: var(--accent); color: #fff; }
.equation .op { padding: 0; color: var(--muted); }
.fast-list li { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.fast-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.ico-box { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; background: var(--soft); color: var(--text); display: flex; align-items: center; justify-content: center; }
.ico-box .i { width: 26px; height: 26px; }
.fast-list h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.fast-list p { font-size: 17px; line-height: 1.55; color: var(--muted); margin-top: 8px; }

/* Процесс */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 18px; padding-right: 20px; }
.step__rail { display: flex; align-items: center; }
.step__dot { width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; background: var(--text); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-weight: 600; font-size: 15px; }
.step:first-child .step__dot { background: var(--accent); }
.step__line { flex: 1; height: 2px; background: var(--line-strong); }
.step__body { display: flex; flex-direction: column; gap: 18px; }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.step dl { display: flex; flex-direction: column; gap: 18px; }
.step dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.step dd { font-size: 16px; line-height: 1.5; margin-top: 4px; }
.note-dashed { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 18px; border: 1.5px dashed var(--text); font-size: 17px; line-height: 1.45; align-self: flex-start; }
.note-dashed .i { width: 22px; height: 22px; }

/* Отрасли */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.industry-card { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); min-height: 260px; text-align: left; color: var(--text); }
.industry-card .i { width: 40px; height: 40px; stroke-width: 1.8; color: var(--accent); }
.industry-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
.industry-card p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.industry-card--add { appearance: none; cursor: pointer; font-family: var(--f-body); background: transparent; border: 1.5px dashed var(--text); }
.industry-card--add .i { color: var(--text); transition: transform .3s var(--ease); }
.industry-card--add:hover .i { transform: rotate(90deg); }

/* Отзывы */
.slider-ctrl { display: flex; align-items: center; gap: 12px; }
.slider-ctrl__count { font-family: var(--f-mono); font-size: 15px; color: var(--text-2); min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.round-btn { width: 56px; height: 56px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--text); background: transparent; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s ease, color .2s ease, transform .2s var(--ease); }
.round-btn:hover { background: var(--text); color: #fff; }
.round-btn:active { transform: scale(.96); }
.round-btn--dark { background: var(--text); color: #fff; box-shadow: none; }
.round-btn--dark:hover { background: var(--accent); }
.round-btn .i { width: 22px; height: 22px; }
.review { display: flex; flex-direction: column; gap: 40px; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.review__slide { display: flex; flex-direction: column; gap: 40px; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.review__slide.is-out { opacity: 0; transform: translateX(var(--dir, 24px)); }
.review__slide.is-pre { opacity: 0; transform: translateX(calc(var(--dir, 24px) * -1)); transition: none; }
.review blockquote { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -0.02em; text-wrap: pretty; }
.review figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; }
.person { display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 999px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: 20px; flex-shrink: 0; }
.person__name { font-weight: 600; font-size: 18px; display: block; }
.person__role { font-size: 15px; color: var(--muted); display: block; margin-top: 4px; }
.dots { display: flex; gap: 6px; align-items: center; }
.dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--line-strong); transition: width .3s var(--ease), background-color .3s ease; }
.dots span.is-on { width: 24px; background: var(--text); }
.review-mobile-ctrl { display: none; }

/* FAQ / аккордеон */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq__aside { display: flex; flex-direction: column; gap: 20px; }
.faq__aside p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.faq__aside .btn { align-self: flex-start; }
.accordion { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-btn { appearance: none; width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; background: transparent; border: 0; cursor: pointer; text-align: left; font-family: var(--f-body); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--text); }
.acc-btn:hover .acc-icon { background: var(--line-strong); }
.acc-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--chip); color: var(--text); display: flex; align-items: center; justify-content: center; transition: transform .25s var(--ease), background-color .25s ease, color .25s ease; }
.acc-icon .i { width: 18px; height: 18px; stroke-width: 2.2; }
.acc-btn[aria-expanded="true"] .acc-icon, .acc-btn[aria-expanded="true"]:hover .acc-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease); }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 64px 26px 0; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 70ch; }

/* Финальный призыв */
.cta-final { padding: 120px 0; }
.cta-final__inner { display: flex; flex-direction: column; gap: 56px; }
.cta-final h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 6vw, 96px); line-height: 0.98; letter-spacing: -0.05em; max-width: 15ch; }
.cta-final__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; }
.cta-final__col { display: flex; flex-direction: column; gap: 12px; }
.cta-final__col .label { color: var(--dark-muted); font-size: 13px; }
.cta-final__hint { font-size: 15px; color: var(--dark-muted); padding-top: 8px; }
.messengers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.msg { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 0 24px; border-radius: 20px; background: var(--dark-2); border: 1px solid var(--dark-line); color: var(--on-dark); text-decoration: none; font-size: 18px; font-weight: 600; transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease); }
.msg:hover { background: #26262B; border-color: var(--spark); color: #fff; transform: translateY(-1px); }
.msg .i { transition: transform .2s var(--ease); }
.msg:hover .i { transform: translate(2px, -2px); color: var(--spark); }
.cta-final__mobile-btn { display: none; }

.mini { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.mini__form { display: flex; flex-direction: column; gap: 16px; }
.mini__title { font-family: var(--f-display); font-weight: 600; font-size: 22px; }
.mini label { font-size: 14px; font-weight: 600; color: var(--dark-text-2); }
.mini .field { gap: 8px; }
.mini input[type="text"], .mini input[type="email"] { height: 54px; border-radius: 14px; border: 1.5px solid var(--dark-line); background: var(--dark); color: var(--on-dark); padding: 0 16px; font-family: var(--f-body); font-size: 16px; width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.mini input::placeholder { color: #8A8A93; }
.mini input[type="text"]:hover { border-color: #55555C; }
.mini input[type="text"]:focus { outline: none; border-color: var(--spark); box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); }
.mini input[aria-invalid="true"] { border-color: #F97066; }
.mini .consent { color: var(--dark-muted); padding-top: 4px; font-weight: 400; }
.mini .consent a { color: var(--on-dark); }
.mini .consent input[type="checkbox"] { background: var(--dark); border-color: var(--dark-line); }
.mini .consent input[type="checkbox"]:hover { border-color: #55555C; }
.mini .consent input[type="checkbox"]:checked { background: var(--dark-muted); border-color: var(--dark-muted); }
.mini .consent input[type="checkbox"]::before { background: var(--dark); }
.mini .consent input[type="checkbox"]:focus-visible { outline-color: var(--spark); }
.mini .consent input[aria-invalid="true"] { border-color: #F97066; background: var(--dark); }
.mini .field__err { color: #FDA29B; }
.mini__done { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; }
.mini__done b { font-family: var(--f-display); font-weight: 700; font-size: 26px; }
.mini__done span { font-size: 16px; color: var(--dark-muted); }

/* Липкая кнопка на мобильном */
.sticky-cta { display: none; }

/* ==========================================================================
   Форма заявки
   ========================================================================== */
.lf { position: relative; width: 100%; max-width: 600px; background: var(--surface); border-radius: 28px; padding: 36px; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(18, 18, 20, .45); color: var(--text); }
.lf__body { display: flex; flex-direction: column; gap: 24px; }
.lf__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 1; transition: background-color .2s ease, transform .2s var(--ease); }
.lf__close:hover { background: var(--surface-2); transform: rotate(90deg); }
.lf__head { display: flex; flex-direction: column; gap: 8px; padding-right: 48px; }
.lf__title { font-family: var(--f-display); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; }
.lf__sub { font-size: 16px; line-height: 1.5; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf__alert { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--error-soft); color: var(--error-text); font-size: 15px; font-weight: 500; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field__label { font-size: 14px; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--muted); }
.field__err { font-size: 14px; color: var(--error); font-weight: 500; }
.field__err--indent { padding-left: 34px; }
.lf input[type="text"], .lf input[type="email"], .lf textarea {
  width: 100%; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff;
  font-family: var(--f-body); font-size: 16px; color: var(--text); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.lf input[type="text"], .lf input[type="email"] { height: 52px; padding: 0 16px; }
.lf textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; min-height: 104px; }
.lf input::placeholder, .lf textarea::placeholder { color: #6E6E76; }
.lf input[type="text"]:hover, .lf textarea:hover { border-color: #A8A49B; }
.lf input[type="text"]:focus, .lf textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px var(--soft); }
.lf input[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.lf input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px var(--error-soft); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--text); font-family: var(--f-body); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.chip--soft { padding: 0 14px; }
.chip:hover { border-color: var(--text); }
.chip.is-on { background: var(--text); border-color: var(--text); color: #fff; }
.chip--soft[aria-pressed="true"] { background: var(--soft); border-color: var(--accent); color: var(--text); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; flex-shrink: 0; cursor: pointer; display: grid; place-content: center; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--surface-2); transition: background-color .15s ease, border-color .15s ease; }
.consent input[type="checkbox"]::before { content: ''; width: 12px; height: 12px; background: #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); transform: scale(0); transition: transform .15s var(--ease); }
.consent input[type="checkbox"]:hover { border-color: #A8A49B; }
.consent input[type="checkbox"]:checked { background: var(--muted); border-color: var(--muted); }
.consent input[type="checkbox"]:checked::before { transform: scale(1); }
.consent input[type="checkbox"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent input[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.lf__submit { gap: 12px; }
.lf__submit .spinner { display: none; width: 20px; height: 20px; fill: none; stroke-width: 3; stroke-linecap: round; animation: spin .8s linear infinite; }
.lf__submit .spinner circle { stroke: rgba(255, 255, 255, .35); }
.lf__submit .spinner path { stroke: #fff; }
.lf.is-sending .lf__submit { background: var(--text-2); cursor: progress; transform: none; }
.lf.is-sending .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.lf__success { display: flex; flex-direction: column; gap: 20px; padding: 24px 0 8px; animation: rise .35s var(--ease) both; }
.lf__badge { width: 72px; height: 72px; border-radius: 999px; background: var(--soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.lf__badge .i { width: 36px; height: 36px; stroke-width: 2.4; }
.lf__success .lf__sub { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.lf__actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.lf__actions .btn { min-height: 48px; padding: 0 22px; font-size: 15px; }
.lf--dense { padding: 20px; border: 0; box-shadow: none; border-radius: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Модальное окно */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; overscroll-behavior: contain; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(18, 18, 20, .62); opacity: 0; transition: opacity .2s ease; }
.modal__dialog { position: relative; width: 100%; max-width: 600px; margin-block: auto; opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__grip { display: none; }

/* Лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(18, 18, 20, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px; opacity: 0; transition: opacity .25s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox__close { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--dark-line); background: var(--text); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__close:hover { background: var(--dark-3); }
.lightbox__stage { width: min(1100px, 100%); display: flex; justify-content: center; }
.lightbox__stage > * { animation: rise .35s var(--ease) both; }
.lightbox__ctrl { display: flex; align-items: center; gap: 16px; color: var(--on-dark); font-family: var(--f-mono); font-size: 15px; }
.lightbox__ctrl .round-btn { width: 48px; height: 48px; color: #fff; box-shadow: inset 0 0 0 1px var(--dark-line); }
.lightbox__ctrl .round-btn:hover { background: var(--dark-3); }

/* ==========================================================================
   Внутренние страницы
   ========================================================================== */
.page-hero { padding-top: 72px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.page-hero__titles { display: flex; flex-direction: column; gap: 20px; }
.page-hero p { max-width: 480px; font-size: 19px; line-height: 1.55; color: var(--text-2); }

/* Услуги */
.svc-list { display: flex; flex-direction: column; gap: 16px; padding-bottom: 100px; }
.svc-row { display: flex; flex-wrap: wrap; gap: 32px 48px; padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s ease, box-shadow .25s ease; scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-row:hover { border-color: var(--text); box-shadow: 0 24px 48px -36px rgba(18, 18, 20, .45); }
.svc-row__main { flex: 5 1 340px; display: flex; flex-direction: column; gap: 14px; }
.svc-row__num { font-family: var(--f-mono); font-size: 14px; color: var(--muted); }
.svc-row h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.03em; }
.svc-row__who { font-size: 17px; line-height: 1.55; color: var(--muted); }
.svc-row__who b { color: var(--text); font-weight: 600; }
.svc-row__inc { flex: 4 1 280px; display: flex; flex-direction: column; gap: 12px; }
.svc-row__inc .label { letter-spacing: 0.06em; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.checks .i { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.4; margin-top: 2px; }
.svc-row__buy { flex: 3 1 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.price { display: flex; flex-direction: column; gap: 10px; font-family: var(--f-mono); }
.price div { display: flex; justify-content: space-between; gap: 12px; }
.price div:first-child { padding-bottom: 10px; border-bottom: 1px dashed var(--line-strong); }
.price span { font-size: 13px; color: var(--muted); }
.price b { font-size: 17px; font-weight: 600; }
.svc-row__buy .btn { min-height: 54px; }
.band { padding: 104px 0; }
.band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; }
.band__text { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.band__text h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.05em; }
.band__text p { font-size: 18px; line-height: 1.55; color: var(--dark-muted); }
.band--96 { padding: 96px 0; }
.faq-block { padding-top: 104px; padding-bottom: 120px; }

/* Портфолио */
.cases-section { padding-bottom: 120px; }

/* Кейс */
.case-top { padding-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.case-top__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; }
.back-link .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.back-link:hover .i { transform: translateX(-3px); }
.stamp { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--muted); color: var(--text-2); }
.case-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 6vw, 96px); line-height: 0.98; letter-spacing: -0.05em; max-width: 16ch; }
.case-hero { border-radius: 32px; overflow: hidden; background: var(--soft); min-height: 560px; display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding: 64px 40px 0; }
.laptop { width: 62%; display: flex; flex-direction: column; align-items: center; }
.laptop__screen { width: 100%; aspect-ratio: 16 / 10; background: var(--text); border-radius: 18px 18px 0 0; padding: 14px 14px 0; }
.laptop__ui { width: 100%; height: 100%; background: #fff; border-radius: 8px 8px 0 0; overflow: hidden; display: flex; flex-direction: column; }
.laptop__nav { height: 44px; flex-shrink: 0; display: flex; align-items: center; gap: 16px; padding: 0 20px; border-bottom: 1px solid #EEECE7; }
.laptop__nav i { height: 8px; width: 60px; border-radius: 4px; background: var(--line); }
.laptop__nav i:first-child { height: 12px; width: 90px; background: var(--text); margin-right: auto; }
.laptop__nav i:last-child { height: 26px; width: 96px; border-radius: 999px; background: var(--accent); }
.laptop__content { flex: 1; display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding: 24px; min-height: 0; }
.laptop__text { display: flex; flex-direction: column; gap: 12px; }
.laptop__text i { height: 8px; border-radius: 4px; background: var(--line); }
.laptop__text i.h { height: 18px; background: var(--text); }
.laptop__text i.b { height: 40px; border-radius: 10px; background: var(--surface-2); }
.laptop__base { width: 112%; height: 18px; background: var(--dark-3); border-radius: 0 0 14px 14px; }
.phone { width: 17%; min-width: 150px; aspect-ratio: 9 / 19; background: var(--text); border-radius: 34px 34px 0 0; padding: 10px 10px 0; align-self: flex-end; }
.phone__ui { width: 100%; height: 100%; background: #fff; border-radius: 26px 26px 0 0; padding: 22px 14px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone__ui i { height: 40px; border-radius: 10px; background: var(--surface-2); flex-shrink: 0; }
.phone__ui i.t { height: 12px; width: 60%; border-radius: 4px; background: var(--text); }
.phone__ui i.a { height: 90px; border-radius: 14px; background: var(--accent); }

.case-hero--ink { background: var(--dark); }
.case-hero--sand { background: var(--sand); }
.phone--dark { background: var(--dark-3); }
.phone__ui i.s { height: 90px; border-radius: 14px; background: var(--spark); }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex-shrink: 0; }
.phone__grid i { height: 64px; }
.phone__grid i.a { background: var(--accent); }
.hero-record { align-self: center; display: flex; flex-direction: column; gap: 10px; color: var(--on-dark); padding: 0 2%; }
.hero-record b { font-family: var(--f-mono); font-weight: 500; font-size: clamp(32px, 4.4vw, 64px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hero-record span { font-family: var(--f-mono); font-size: 12px; color: var(--spark); text-transform: uppercase; letter-spacing: 0.08em; }
.laptop--wide { width: 78%; }
.laptop__ui--app { flex-direction: row; }
.laptop__ui--app .mk-side { width: 20%; flex-shrink: 0; }
.kanban { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 20px; align-items: start; }
.kanban > span { display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); border-radius: 10px; padding: 10px; }
.kanban b { height: 8px; width: 50%; border-radius: 4px; background: var(--text); margin-bottom: 4px; }
.kanban i { height: 38px; border-radius: 8px; background: #fff; }
.kanban i.a { background: var(--soft); box-shadow: inset 0 0 0 2px var(--accent); }
.kanban i.k { background: var(--text); }
.passport { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.passport > div { flex: 1 1 200px; padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); justify-content: center; }
.passport > div:nth-child(2) { flex-basis: 220px; }
.passport > div:nth-child(3) { flex: 2 1 320px; }
.passport > div:last-child { border-right: 0; flex: 1 1 220px; }
.passport .label { letter-spacing: 0.06em; }
.passport b { font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.passport strong { font-size: 18px; font-weight: 600; }
.two-col, .two-col--7-5, .two-col--5-7 { display: grid; }
.two-col { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.two-col--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.two-col--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.two-col__head { display: flex; flex-direction: column; gap: 14px; }
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 20px; line-height: 1.6; color: var(--text-3); max-width: 70ch; }
.feature h3 { font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.feature p { font-size: 18px; line-height: 1.6; color: var(--text-2); margin-top: 14px; }
.case-section { padding-top: 120px; }
.case-section--stack { display: flex; flex-direction: column; gap: 64px; }
.shot { aspect-ratio: 16 / 10; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.shot--light { background: var(--surface); border: 1px solid var(--line); }
.shot--dark { background: var(--dark); gap: 10px; justify-content: center; }
.shot__tabs { display: flex; gap: 8px; }
.shot__tabs i { flex: 1; height: 44px; border-radius: 12px; background: var(--surface-2); }
.shot__tabs i:first-child { background: var(--text); }
.shot__cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot__cards i { border-radius: 14px; background: var(--surface-2); }
.shot__cards i:nth-child(2) { background: var(--soft); box-shadow: inset 0 0 0 2px var(--accent); }
.slot { display: grid; grid-template-columns: 80px 1fr 90px; gap: 14px; align-items: center; }
.slot span { font-family: var(--f-mono); font-size: 14px; color: var(--dark-muted); }
.slot i { height: 30px; border-radius: 8px; background: var(--dark-line); }
.slot:nth-child(even) i { background: var(--dark-3); }
.slot.hl i { background: var(--spark); }
.slot b { height: 10px; border-radius: 4px; background: var(--dark-line); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.gal { appearance: none; cursor: zoom-in; border: 0; padding: 40px; border-radius: 28px; display: flex; align-items: center; justify-content: center; transition: transform .3s ease; }
.gal:hover { transform: scale(1.02); }
.gal--8 { grid-column: span 8; background: var(--sand); }
.gal--4 { grid-column: span 4; background: var(--dark); }
.gal--6 { grid-column: span 6; background: var(--sand); }
.gal--dark { background: var(--dark); }
.gal--12 { grid-column: span 12; background: var(--surface); border: 1px solid var(--line); padding: 48px; }
.scr-desk { width: 100%; aspect-ratio: 16 / 10; background: var(--text); border-radius: 14px; padding: 10px; display: flex; }
.scr-desk > span { flex: 1; background: #fff; border-radius: 6px; display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.scr-desk i { height: 8px; width: 70%; border-radius: 4px; background: var(--line); }
.scr-desk i.t { height: 16px; width: 50%; background: var(--text); }
.scr-desk i.f { flex: 1; width: auto; border-radius: 10px; background: var(--soft); }
.scr-phone { width: 64%; aspect-ratio: 9 / 19; background: var(--dark-3); border-radius: 28px; padding: 8px; display: flex; }
.scr-phone > span { flex: 1; background: #fff; border-radius: 22px; display: flex; flex-direction: column; gap: 10px; padding: 18px 12px; }
.scr-phone i { height: 30px; border-radius: 8px; background: var(--surface-2); }
.scr-phone i.t { height: 10px; width: 60%; border-radius: 4px; background: var(--text); }
.scr-phone i.a { height: 70px; border-radius: 12px; background: var(--accent); }
.scr-admin { width: 80%; aspect-ratio: 21 / 9; background: var(--bg); border-radius: 14px; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 3fr; overflow: hidden; }
.scr-admin > i { background: var(--text); }
.scr-admin > span { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 20px; }
.scr-admin > span i { border-radius: 8px; background: var(--line); min-height: 40px; }
.scr-admin > span i.k { background: var(--text); } .scr-admin > span i.a { background: var(--accent); }
.results { margin-top: 120px; padding: 104px 0; }
.results__inner { display: flex; flex-direction: column; gap: 56px; }
.results .stat__num { font-size: clamp(64px, 6vw, 104px); }
.results .stat__label { font-size: 18px; }
.quote { display: flex; flex-direction: column; gap: 36px; max-width: 1080px; }
.quote > svg { width: 56px; height: 56px; color: var(--accent); }
.quote blockquote { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 3vw, 44px); line-height: 1.25; letter-spacing: -0.03em; text-wrap: pretty; }
.next { display: flex; flex-direction: column; gap: 24px; }
.next-card { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 20px; border-radius: 32px; background: var(--text); color: var(--on-dark); text-decoration: none; }
.next-card:hover { color: var(--on-dark); }
.next-card__cover { flex: 1 1 420px; aspect-ratio: 16 / 10; max-height: 320px; border-radius: 22px; background: var(--dark); display: flex; align-items: center; justify-content: center; gap: 8%; }
.next-card__cover .mk-phone { min-height: 0; }
.next-card__cover > b { font-family: var(--f-mono); font-weight: 400; font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.04em; }
.next-card__body { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; padding: 12px; }
.next-card__body .mono { font-size: 13px; color: var(--dark-muted); }
.next-card__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.04em; }
.next-card__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--spark); }
.next-card:hover .next-card__more .i { transform: translateX(4px); }
.next-card__more .i { transition: transform .2s var(--ease); }
.next .btn { align-self: center; }
.cta-box { border-radius: 36px; background: var(--accent); color: #fff; padding: clamp(36px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-box h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.05em; max-width: 14ch; }
.case-end { padding-top: 120px; padding-bottom: 120px; }

/* О студии */
.manifesto { padding-top: 72px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 40px; }
.manifesto h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5.6vw, 92px); line-height: 1; letter-spacing: -0.05em; text-wrap: balance; }
.theses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.theses p { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.3; letter-spacing: -0.02em; padding-top: 24px; border-top: 2px solid var(--text); }
.stats--96 { padding: 96px 0; }
.stats--96 .stat__num { font-size: clamp(72px, 7vw, 120px); }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.principle { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); min-height: 240px; }
.principle .mono { font-size: 14px; color: var(--accent); font-weight: 600; }
.principle h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.principle p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.ind-band { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding: 40px; border-radius: 28px; background: var(--soft); }
.ind-band h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: #fff; font-size: 18px; font-weight: 600; }
.pill .i { width: 22px; height: 22px; color: var(--accent); }
.pill--dashed { background: transparent; border: 1.5px dashed var(--text); }
.section--56 { padding-top: 56px; padding-bottom: 56px; }
.section--about-first { padding-top: 112px; padding-bottom: 56px; }
.section--rev { padding-top: 56px; padding-bottom: 104px; gap: 32px; }
.review--simple { gap: 32px; }
.review--simple .review__slide { gap: 32px; }
.review--simple figcaption { justify-content: flex-start; padding-top: 24px; }

/* Контакты */
.contacts { padding-top: 72px; padding-bottom: 120px; }
.contacts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 56px; align-items: start; }
.contacts__info { display: flex; flex-direction: column; gap: 40px; }
.contacts h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 5.6vw, 88px); line-height: 0.98; letter-spacing: -0.05em; }
.email-big { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.03em; color: var(--text); text-decoration: none; border-bottom: 3px solid var(--accent); align-self: flex-start; padding-bottom: 6px; overflow-wrap: anywhere; }
.email-big:hover { color: var(--accent); }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.channel { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 140px; padding: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .2s var(--ease), border-color .2s ease, background-color .2s ease; }
.channel:hover { transform: translateY(-2px); border-color: var(--text); color: var(--text); }
.channel--dark { background: var(--text); color: #fff; border-color: var(--text); }
.channel--dark:hover { color: #fff; background: #2C2C31; }
.channel .i { width: 26px; height: 26px; }
.channel b { font-size: 20px; display: block; }
.channel .mono { font-size: 13px; color: var(--muted); display: block; margin-top: 4px; overflow-wrap: anywhere; }
.channel--dark .mono { color: var(--dark-muted); }
.info-list { border-top: 1px solid var(--line-strong); }
.info-list div { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.info-list dt { color: var(--muted); }
.info-list dd { font-weight: 600; text-align: right; }
.contacts__form { display: flex; justify-content: center; }

/* Юридическая */
.legal { padding-top: 72px; padding-bottom: 120px; }
.legal__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.toc .label { padding-bottom: 12px; }
.toc a { font-size: 15px; padding: 8px 0 8px 14px; text-decoration: none; color: var(--text-2); border-left: 2px solid var(--line); transition: border-color .2s ease, color .2s ease; }
.toc a:hover { color: var(--text); border-color: var(--line-strong); }
.toc a.is-on { color: var(--text); border-color: var(--accent); font-weight: 600; }
.legal-doc { display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 12px; font-family: var(--f-mono); font-size: 13px; }
.doc-tabs button { appearance: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-family: inherit; font-size: inherit; min-height: 36px; }
.doc-tabs button:hover { border-color: var(--text); }
.doc-tabs button[aria-selected="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.legal-doc h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.legal-doc .rev { font-family: var(--f-mono); font-size: 14px; color: var(--muted); }
.legal-doc hr { border: 0; height: 1px; background: var(--line-strong); margin: 0; }
.legal-doc h2 { margin-top: 16px; font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-doc p, .legal-doc li { font-size: 18px; line-height: 1.7; color: var(--text-3); max-width: 70ch; }
.legal-doc ul { padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 10px; }
.legal-doc li { line-height: 1.6; }
.legal-doc li::marker { color: var(--accent); }
.doc-panel { display: flex; flex-direction: column; gap: 28px; }

/* 404 */
.nf { min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 80px 20px 120px; text-align: center; }
.nf__code { display: flex; align-items: center; gap: 0.04em; font-family: var(--f-display); font-weight: 800; font-size: clamp(104px, 28vw, 320px); line-height: 0.9; letter-spacing: -0.06em; }
.nf__o { position: relative; display: inline-block; width: 0.7em; height: 0.7em; border-radius: 999px; background: var(--accent); }
.nf__o svg { position: absolute; top: -0.12em; right: -0.12em; width: 0.32em; height: 0.32em; color: var(--spark); animation: spark-pulse 3s var(--ease) infinite; }
.nf h1 { max-width: 18ch; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.04em; text-wrap: balance; }
.nf p { font-size: 18px; color: var(--muted); }
.nf__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --header-h: 84px; }
  .nav, .lang { display: none; }
  .lang-short, .burger { display: inline-flex; }
  .site-header__inner { gap: 12px; padding-block: 18px; }
  .site-header__cta { min-height: 48px; padding: 0 20px; }
  .logo__word { font-size: 24px; }

  .hero { padding-top: 56px; padding-bottom: 72px; gap: 32px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .pipeline { display: none; }
  .timer { padding: 32px; gap: 20px; }
  .timer { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top top" "clock note" "bar bar"; align-items: end; }
  .timer__clock { font-size: clamp(64px, 13vw, 104px); }
  .timer__note { max-width: 220px; padding-bottom: 6px; }
  .timer__stages { display: none; }
  .marquee { padding: 18px 0; }
  .marquee__item { font-size: 22px; gap: 22px; padding-right: 22px; }
  .marquee__item svg { width: 14px; height: 14px; }
  .stats { padding: 72px 0; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .stat__num { font-size: 88px; }
  .section { padding-top: 72px; padding-bottom: 40px; gap: 32px; }

  .case-card--7, .case-card--12, .case-card--8 { grid-column: span 12; }
  .case-card--5, .case-card--4 { grid-column: span 6; }
  .cases-grid--home .case-card--wide { grid-column: span 6; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; padding: 16px 16px 28px; }
  .cases-grid--home .case-card--wide .case-cover { flex: none; }
  .cases-grid--home .case-card--wide .case-card__body { flex: none; padding: 0 12px; gap: 12px; }
  .cases-grid--home .case-card--wide .case-card__title { font-size: 26px; }
  .cases-grid--home .case-card--wide .case-card__text { display: none; }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 0; }
  .step__rail { flex-direction: column; }
  .step__line { width: 2px; height: auto; min-height: 20px; }
  .step:last-child .step__line { display: none; }
  .step__body { gap: 10px; padding: 8px 0 28px; }
  .step dl { flex-direction: row; flex-wrap: wrap; gap: 8px 28px; }
  .step dl > div { flex: 1 1 220px; }

  .legal__grid { gap: 40px; }
}

@media (max-width: 900px) {
  .faq, .two-col, .two-col--7-5, .two-col--5-7, .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .faq { gap: 32px; }
  .two-col { gap: 24px; }
  .two-col--5-7 > .feature { order: 2; }
  .toc { display: none; }
  .cases-grid:not(.cases-grid--home) .case-card--5, .cases-grid:not(.cases-grid--home) .case-card--4 { grid-column: span 12; }
  .gal--8, .gal--4 { grid-column: span 6; }
  .case-hero { min-height: 420px; padding: 48px 24px 0; }
  .phone { min-width: 110px; }
  .passport > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .passport > div:last-child { border-bottom: 0; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 69px; }
  body { font-size: 16px; }
  .site-header__inner { padding: 12px 16px 12px 20px; gap: 8px; }
  .site-header.is-compact .site-header__inner { padding-block: 12px; }
  .site-header__cta { display: none; }
  .logo__word, .site-header.is-compact .logo__word { font-size: 21px; }
  .logo__spark { width: 10px; height: 10px; }
  .burger { width: 44px; height: 44px; background: var(--text); color: #fff; box-shadow: none; }
  .burger .i { width: 20px; height: 20px; }
  .logo--xl .logo__word { font-size: 40px; }
  .logo--xl .logo__spark { width: 18px; height: 18px; }

  .eyebrow { font-size: 12px; letter-spacing: 0.06em; gap: 8px; }
  .eyebrow::before { width: 7px; height: 7px; }
  .h-display { font-size: clamp(34px, 10.6vw, 44px); line-height: 1; }
  .h-page { font-size: clamp(34px, 10.6vw, 44px); line-height: 1; }
  .h2 { font-size: 30px; line-height: 1.05; }
  .h2--md { font-size: 28px; }
  .h-cta { font-size: 30px; line-height: 1.04; }
  .lead { font-size: 17px; }

  .hero { padding-top: 36px; padding-bottom: 48px; gap: 24px; }
  .hero__grid, .hero__left { gap: 24px; }
  .hero__actions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero__actions .btn { min-height: 58px; }
  .timer { padding: 22px; gap: 16px; border-radius: 24px; }
  .timer__top { font-size: 11px; letter-spacing: 0.06em; }
  .timer__stage { padding: 5px 10px; gap: 6px; }
  .timer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "clock" "bar" "note"; }
  .timer__clock { font-size: clamp(56px, 20vw, 76px); }
  .timer__bar { height: 5px; }
  .timer__note { max-width: none; font-size: 14px; padding: 0; }
  .marquee { padding: 14px 0; }
  .marquee__item { font-size: 18px; gap: 16px; padding-right: 16px; }
  .marquee__item svg { width: 12px; height: 12px; }
  .stats { padding: 48px 0; }
  .stats__grid, .stats__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .stats__grid--3 .stat--spark { grid-column: span 2; }
  .stat { gap: 8px; padding-top: 14px; }
  .stat--spark { padding-top: 13px; }
  .stat__row { gap: 6px; }
  .stat__num, .stats--96 .stat__num { font-size: 56px; }
  .stat__unit { font-size: 13px; }
  .stat__label { font-size: 14px; }

  .section, .section--first { padding-top: 48px; padding-bottom: 24px; gap: 22px; }
  .section-head { gap: 16px; }
  .section-head__titles { gap: 10px; }
  .section-head .link-arrow, .section-head > .btn { display: none; }
  .section-more { display: flex; }

  /* горизонтальные слайдеры на мобильном */
  .m-slider {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: var(--slide, 270px);
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .m-slider::-webkit-scrollbar { display: none; }
  .m-slider > * { scroll-snap-align: start; grid-column: auto !important; }
  .m-dots { display: flex; }

  .svc-card { min-height: 190px; padding: 22px; border-radius: 22px; gap: 10px; }
  .svc-card__name { font-size: 19px; }
  .svc-card__desc { font-size: 15px; }
  .svc-card__meta { font-size: 13px; padding-top: 12px; }
  .svc-card__head .i { display: none; }

  .cases-grid--home { --slide: 300px; }
  .cases-grid--home .case-card, .cases-grid--home .case-card--wide { flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 10px 10px 18px; gap: 14px; border-radius: 22px; }
  .cases-grid--home .case-cover, .cases-grid--home .case-card--wide .case-cover { flex: none; aspect-ratio: 16 / 10; min-height: 0; border-radius: 14px; }
  .cases-grid--home .case-card__body, .cases-grid--home .case-card--wide .case-card__body { padding: 0 8px; gap: 6px; }
  .cases-grid--home .case-card__title, .cases-grid--home .case-card--wide .case-card__title { font-size: 19px; }
  .cases-grid--home .case-card__result { font-size: 15px; }
  .cases-grid--home .tags { gap: 6px; }
  .cases-grid--home .tag { font-size: 12px; padding: 3px 8px; }
  .cases-grid--home .mk-phone { min-height: 0; border-radius: 14px; padding: 5px; gap: 4px; }
  .cases-grid--home .mk-phone .g, .cases-grid--home .mk-phone .n, .cases-grid--home .mk-phone .l2 { display: none; }
  .cases-grid--home .mk-record b { font-size: 24px; }
  .cases-grid--home .mk-record span { display: none; }
  .cases-grid--home .mk-booking { padding: 10px; gap: 8px; }
  .cases-grid--home .mk-cal { gap: 3px; }
  .cases-grid--home .mk-cal i { border-radius: 3px; }
  .cases-grid--home .mk-col { gap: 5px; }
  .cases-grid--home .mk-col i { height: 14px; border-radius: 5px; }
  .cases-grid--home .mk-bar { height: 18px; padding: 0 8px; gap: 4px; }
  .cases-grid--home .mk-bar i { width: 6px; height: 6px; }
  .cases-grid--home .mk-main { padding: 10px; gap: 8px; }
  .cases-grid--home .mk-side { padding: 8px 6px; gap: 6px; }
  .cases-grid--home .mk-prog i { width: 14px; height: 14px; border-radius: 4px; }

  .fast { gap: 18px; }
  .fast__left { gap: 18px; }
  .fast__left p { font-size: 16px; }
  .equation { display: none; }
  .fast-list { display: flex; flex-direction: column; gap: 10px; }
  .fast-list li, .fast-list li:last-child { gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
  .ico-box { width: 44px; height: 44px; border-radius: 12px; }
  .ico-box .i { width: 22px; height: 22px; }
  .fast-list h3 { font-family: var(--f-body); font-weight: 700; font-size: 16px; letter-spacing: 0; }
  .fast-list p { font-size: 14px; line-height: 1.45; margin-top: 4px; }

  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .step__dot { width: 40px; height: 40px; font-size: 13px; }
  .step h3 { font-size: 18px; }
  .step__body { padding: 6px 0 22px; gap: 6px; }
  .step dl { flex-direction: column; gap: 4px; }
  .step dl > div { flex: none; display: block; font-size: 15px; line-height: 1.45; }
  .step dt, .step dd { display: inline; }
  .step dt::after { content: ": "; }
  .step dt { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 15px; }
  .step dd { margin: 0; font-size: 15px; line-height: 1.45; }
  .note-dashed { padding: 16px 18px; border-radius: 16px; font-size: 15px; align-self: stretch; }

  .industry-grid { --slide: 220px; gap: 10px; }
  .industry-card { min-height: 0; padding: 22px; border-radius: 20px; gap: 10px; }
  .industry-card .i { display: none; }
  .industry-card h3 { font-size: 19px; }
  .industry-card p { font-size: 14px; line-height: 1.45; }

  .slider-ctrl--desk { display: none; }
  .review-mobile-ctrl { display: flex; justify-content: space-between; align-items: center; }
  .review-mobile-ctrl .round-btn { width: 48px; height: 48px; }
  .review-mobile-ctrl .round-btn .i { width: 18px; height: 18px; }
  .review-mobile-ctrl > div:last-child { display: flex; gap: 10px; }
  .review { padding: 24px; border-radius: 22px; gap: 18px; }
  .review__slide { gap: 18px; }
  .review blockquote { font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; }
  .review figcaption { border-top: 0; padding-top: 0; }
  .review .avatar, .review .link-arrow { display: none; }
  .person__name { font-size: 15px; }
  .person__role { font-size: 14px; margin-top: 2px; }

  .faq__aside p, .faq__aside .btn { display: none; }
  .acc-btn { font-size: 17px; gap: 14px; padding: 18px 0; min-height: 56px; }
  .acc-icon { width: 36px; height: 36px; }
  .acc-icon .i { width: 16px; height: 16px; }
  .acc-panel p { padding: 0 0 18px; font-size: 15px; }

  .cta-final { padding: 56px 0 64px; }
  .cta-final__inner { gap: 24px; }
  .cta-final h2 { font-size: 34px; line-height: 1.02; }
  .cta-final__grid { gap: 16px; }
  .cta-final__col .label, .cta-final__hint { display: none; }
  .messengers { gap: 10px; }
  .msg { min-height: 60px; padding: 0 18px; border-radius: 16px; font-size: 16px; }
  .msg .i { display: none; }
  .mini { display: none; }
  .cta-final__mobile-btn { display: flex; }

  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(246, 245, 242, 1) 60%, rgba(246, 245, 242, 0)); transform: translateY(110%); transition: transform .3s var(--ease); pointer-events: none; }
  .sticky-cta.is-on { transform: none; pointer-events: auto; }
  .sticky-cta .btn { min-height: 56px; box-shadow: 0 16px 32px -12px rgba(18, 18, 20, .5); }

  .site-footer__inner { padding-top: 48px; padding-bottom: 32px; gap: 40px; }
  .site-footer__top { gap: 32px; }
  .site-footer__brand p { font-size: 15px; }
  .site-footer__col { flex: 1 1 140px; }
  .site-footer__bottom { flex-direction: column; }
  .site-footer__legal { flex-direction: column; gap: 10px; }

  /* форма на мобильном — нижняя шторка */
  .modal { padding: 0; align-items: flex-end; overflow: hidden; }
  .modal__dialog { max-width: none; margin: 0; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 28px 28px 0 0; padding-top: 10px; transform: translateY(100%); transition: transform .35s var(--ease), opacity .2s ease; opacity: 1; }
  .modal.is-open .modal__dialog { transform: none; }
  .modal__grip { display: block; width: 44px; height: 5px; border-radius: 999px; background: var(--line-strong); margin: 4px auto 6px; }
  .modal .lf { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); border: 0; box-shadow: none; border-radius: 0; max-width: none; }
  .modal .lf__close { top: -6px; right: 12px; }
  .lf { padding: 24px 20px; border-radius: 24px; }
  .lf__title { font-size: 26px; }
  .lf__body { gap: 20px; }
  .lightbox { padding: 72px 16px 24px; }
  .lightbox__close { top: 12px; right: 12px; width: 48px; height: 48px; }

  /* внутренние страницы */
  .page-hero { padding-top: 36px; padding-bottom: 24px; gap: 14px; }
  .page-hero__titles { gap: 14px; }
  .page-hero p { font-size: 16px; }
  .svc-list { gap: 12px; padding-bottom: 40px; }
  .svc-row { padding: 22px; border-radius: 22px; gap: 14px; }
  .svc-row__main { gap: 10px; }
  .svc-row__num { order: -1; font-size: 12px; }
  .svc-row h2 { font-size: 22px; }
  .svc-row__who { font-size: 15px; }
  .svc-row__inc .label { display: none; }
  .checks li { font-size: 15px; }
  .checks .i { width: 16px; height: 16px; }
  .price { flex-direction: row; justify-content: space-between; padding: 12px 0; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
  .price div, .price div:first-child { padding: 0; border: 0; gap: 8px; }
  .price span { display: none; }
  .price b { font-size: 14px; }
  .svc-row__buy { gap: 14px; }
  .svc-row__buy .btn { min-height: 52px; }
  .band, .band--96 { padding: 48px 0; }
  .band__inner { gap: 18px; }
  .band__text h2 { font-size: 30px; line-height: 1.04; }
  .band__text p { font-size: 16px; }
  .band .btn { width: 100%; min-height: 58px; }
  .faq-block { padding-top: 48px; padding-bottom: 56px; }
  .cases-section { padding-bottom: 48px; }
  .cases-grid { gap: 12px; }
  .case-card, .case-card--wide { padding: 10px 10px 20px; border-radius: 22px; gap: 14px; }
  .case-card--wide .case-cover { flex: 1 1 100%; }
  .case-card--wide .case-card__body { padding: 0 8px; gap: 8px; }
  .case-card__body { padding: 0 8px; gap: 8px; }
  .case-card__title, .case-card--4 .case-card__title, .case-card--wide .case-card__title { font-size: 21px; }
  .case-card__text { font-size: 15px; }
  .case-card__result { font-size: 15px; }
  .case-cover--fill { min-height: 220px; }
  .tag { font-size: 12px; }
  .mk-booking { padding: 12px; gap: 10px; }
  .mk-cal { gap: 4px; }
  .mk-col i { height: 18px; }
  .mk-main { padding: 12px; gap: 10px; }
  .mk-side { padding: 10px 8px; }
  .mk-lab .rows { padding: 8px; gap: 3px; }
  .mk-lab .row { padding: 4px 6px; gap: 6px; grid-template-columns: 2fr 1fr 1fr 30px; }
  .mk-lab .side { padding: 8px; gap: 6px; }
  .mk-lab .side i:nth-child(2) { height: 14px; }
  .mk-phone { min-height: 150px; border-radius: 20px; }

  .case-top { padding-top: 20px; gap: 18px; }
  .case-title { font-size: 34px; line-height: 1.02; }
  .case-hero { min-height: 260px; padding: 32px 16px 0; border-radius: 22px; gap: 3%; }
  .laptop { width: 70%; }
  .laptop__screen { padding: 6px 6px 0; border-radius: 10px 10px 0 0; }
  .laptop__nav { height: 20px; padding: 0 8px; gap: 6px; }
  .laptop__nav i { height: 4px; width: 20px; }
  .laptop__nav i:first-child { height: 6px; width: 34px; }
  .laptop__nav i:last-child { height: 10px; width: 34px; }
  .laptop__content { padding: 8px; gap: 8px; }
  .laptop__text { gap: 5px; }
  .laptop__text i { height: 4px; }
  .laptop__text i.h { height: 7px; }
  .laptop__text i.b { height: 14px; border-radius: 4px; }
  .laptop__base { height: 8px; }
  .laptop .mk-cal { gap: 2px; }
  .laptop .mk-cal i { border-radius: 2px; }
  .phone { width: 24%; min-width: 0; border-radius: 16px 16px 0 0; padding: 4px 4px 0; }
  .phone__ui { border-radius: 12px 12px 0 0; padding: 10px 6px 0; gap: 5px; }
  .phone__ui i { height: 16px; border-radius: 4px; }
  .phone__ui i.t { height: 5px; }
  .phone__ui i.a { height: 36px; border-radius: 6px; }
  .passport > div { padding: 16px 20px; }
  .passport b { font-size: 22px; }
  .passport strong { font-size: 16px; }
  .case-section { padding-top: 56px; }
  .case-section--stack { gap: 32px; }
  .prose { font-size: 17px; gap: 14px; }
  .feature h3 { font-size: 20px; }
  .feature p { font-size: 16px; margin-top: 8px; }
  .shot { padding: 16px; border-radius: 18px; gap: 8px; }
  .shot--dark { gap: 6px; }
  .shot__tabs i { height: 26px; border-radius: 8px; }
  .slot { grid-template-columns: 52px 1fr 40px; gap: 8px; }
  .slot span { font-size: 11px; }
  .slot i { height: 16px; border-radius: 5px; }
  .slot b { height: 6px; }
  .gallery { --slide: 280px; }
  .gal, .gal--12 { padding: 20px; border-radius: 22px; height: 300px; }
  .gal--12 .scr-admin { width: 100%; aspect-ratio: 4 / 3; }
  .gal--8 .scr-desk, .gal--6 .scr-desk { aspect-ratio: 4 / 5; }
  .hero-record b { font-size: 22px; }
  .hero-record span { font-size: 9px; }
  .case-hero--ink .phone { width: 28%; }
  .phone__ui i.s { height: 36px; border-radius: 6px; }
  .phone__grid { gap: 3px; }
  .phone__grid i { height: 24px; }
  .laptop--wide { width: 94%; }
  .kanban { padding: 6px; gap: 4px; }
  .kanban > span { padding: 4px; gap: 3px; border-radius: 5px; }
  .kanban b { height: 4px; margin-bottom: 1px; }
  .kanban i { height: 12px; border-radius: 3px; }
  .gal--4 .scr-phone { width: auto; height: 100%; }
  .results { margin-top: 56px; padding: 48px 0; }
  .results__inner { gap: 28px; }
  .results .stats__grid--3 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .results .stats__grid--3 .stat--spark { grid-column: auto; }
  .results .stat__num { font-size: 56px; }
  .results .stat__label { font-size: 15px; }
  .quote { gap: 20px; }
  .quote > svg { width: 40px; height: 40px; }
  .quote blockquote { font-size: 22px; line-height: 1.3; }
  .next-card { padding: 12px; border-radius: 24px; gap: 16px; }
  .next-card__cover { flex: 1 1 100%; max-height: none; }
  .next-card__cover .mk-phone { min-height: 0; border-radius: 16px; padding: 6px; }
  .next-card__body { padding: 4px 8px 12px; gap: 10px; flex: 1 1 100%; }
  .next-card__title { font-size: 26px; }
  .next .btn { align-self: stretch; }
  .cta-box { border-radius: 24px; padding: 28px 22px; gap: 20px; }
  .cta-box h2 { font-size: 30px; }
  .cta-box .btn { width: 100%; min-height: 58px; font-size: 17px; }
  .case-end { padding-top: 56px; padding-bottom: 56px; }

  .manifesto { padding-top: 36px; padding-bottom: 48px; gap: 22px; }
  .manifesto h1 { font-size: 36px; line-height: 1.02; }
  .theses { gap: 22px; }
  .theses p { font-size: 19px; line-height: 1.35; padding-top: 18px; }
  .stats--96 { padding: 44px 0; }
  .section--about-first { padding-top: 48px; padding-bottom: 24px; }
  .principles { --slide: 240px; gap: 10px; }
  .principle { min-height: 200px; padding: 22px; border-radius: 20px; gap: 12px; }
  .principle .mono { font-size: 13px; }
  .principle h3 { font-size: 19px; }
  .principle p { font-size: 14px; }
  .section--56 { padding-top: 24px; padding-bottom: 24px; }
  .ind-band { padding: 24px; border-radius: 22px; gap: 14px; flex-direction: column; align-items: flex-start; }
  .ind-band h2 { font-size: 22px; }
  .pills { gap: 8px; }
  .pill { padding: 10px 14px; font-size: 16px; }
  .pill .i { display: none; }
  .section--rev { padding-top: 24px; padding-bottom: 48px; gap: 16px; }

  .contacts { padding-top: 36px; padding-bottom: 56px; }
  .contacts__grid { gap: 40px; }
  .contacts__info { gap: 28px; }
  .contacts h1 { font-size: 40px; line-height: 1; }
  .email-big { font-size: clamp(17px, 5.6vw, 24px); }
  .channels { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .channel { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 18px 20px; border-radius: 18px; }
  .channel b { font-size: 17px; }
  .info-list div { flex-direction: column; gap: 4px; padding: 14px 0; }
  .info-list dt { font-size: 14px; }
  .info-list dd { text-align: left; }

  .legal { padding-top: 36px; padding-bottom: 56px; }
  .legal-doc { gap: 20px; }
  .legal-doc h1 { font-size: clamp(24px, 7.4vw, 30px); hyphens: manual; }
  .legal-doc h2 { font-size: 21px; margin-top: 8px; }
  .legal-doc p, .legal-doc li { font-size: 16px; }

  .nf { padding: 48px 20px 72px; gap: 24px; }
  .nf h1 { font-size: 26px; }
  .nf p { font-size: 16px; }
  .nf__actions { flex-direction: column; align-self: stretch; }
  .nf__actions .btn { width: 100%; }
}

@media (max-width: 340px) {
  .messengers { grid-template-columns: minmax(0, 1fr); }
  .stat__num, .stats--96 .stat__num { font-size: 48px; }
}

/* Элементы, видимые только на мобильном */
.section-more, .m-dots { display: none; }
@media (max-width: 767px) {
  .section-more { display: flex; }
  .m-dots { display: flex; }
}

@media (hover: none) {
  .lift:hover, .btn:hover, .gal:hover, .channel:hover, .msg:hover { transform: none; }
  .lift:hover { box-shadow: none; }
  .lift:hover .cover-in { transform: none; }
}

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

@media print {
  .site-header, .sticky-cta, .mmenu, .modal, .marquee { display: none !important; }
  body { background: #fff; }
}
