/* ==========================================================================
   SPBS — портфолио. Стиль «AI for Business»: тёплый серый холст, белые карточки,
   чёрные блоки, гигантские узкие заглавные, мятный и жёлтый — только акценты.
   Шрифты локальные (assets/fonts) — без запросов к иностранным серверам (152-ФЗ).
   ========================================================================== */

@font-face { font-family: "Oswald"; src: url(../fonts/oswald-cyrillic-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; src: url(../fonts/oswald-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; src: url(../fonts/oswald-cyrillic-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; src: url(../fonts/oswald-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-cyrillic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-cyrillic-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-cyrillic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }

:root {
  --canvas: #e5e5e5;
  --mist: #f3f3f3;
  --paper: #ffffff;
  --ink: #000000;
  --graphite: #2f2f2f;
  --slate: #444444;
  --smoke: #979797;
  --ash: #c6c6c6;
  --mint: #d1ffca;
  --volt: #fff100;
  --bg: var(--canvas);
  --fg: var(--ink);
  --muted: var(--slate);
  --line: rgba(0, 0, 0, .1);
  --gutter: clamp(12px, 2.4vw, 32px);
  --display: "Oswald", "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--canvas); color: var(--ink);
  font-size: 16px; line-height: 1.3; letter-spacing: -0.011em; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.intro { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--volt); color: var(--ink); }
.container { padding: 0 var(--gutter); max-width: 1680px; margin: 0 auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Типографика */
.display, .h2, .hero__title, .contact__title, .footer__logo {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  line-height: .98; letter-spacing: -0.025em;
}
.h2 { font-size: clamp(48px, 7vw, 130px); }
.h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 3.6vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.3; }
.ghost { color: var(--smoke); }               /* второй цвет в заголовках */
.serif { color: var(--smoke); }               /* совместимость со старой разметкой */
.mark { background: var(--mint); padding: 0 .12em; border-radius: .12em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: -0.03em; color: var(--slate); margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.eyebrow b { font-weight: 400; background: var(--mint); color: var(--ink); padding: 3px 10px; border-radius: 64px; }

@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none; }
}

/* ---------- Курсор ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 1000; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background .3s;
  display: grid; place-items: center;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-link { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.cursor.is-view { width: 104px; height: 104px; margin: -52px 0 0 -52px; mix-blend-mode: normal; background: var(--volt); }
.cursor__text { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-view .cursor__text { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Шапка: плавающая «таблетка» ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 8rem;
  display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter);
  transition: transform .5s var(--ease), opacity .6s var(--ease);
  pointer-events: none;
}
.header.is-hidden { transform: translateY(-100%); }
body.intro .header { opacity: 0; transform: translateY(-40%); }
.header__pill {
  pointer-events: auto; width: 100%; max-width: 1680px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--mist); border-radius: 48px; padding: 0 8px 0 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; text-transform: uppercase; }
.logo svg { width: 22px; height: 22px; }
.logo sup { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--smoke); }
.header__nav { display: flex; gap: 4px; font-size: 14px; font-weight: 500; }
.header__nav a { padding: 10px 16px; border-radius: 48px; transition: background .25s; }
.header__nav a:hover { background: var(--paper); }
.header__right { display: flex; align-items: center; gap: 8px; }
.header__cta { height: 48px; padding: 0 22px; border-radius: 48px; background: var(--ink); color: var(--paper); display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; transition: background .25s, color .25s; }
.header__cta:hover { background: var(--volt); color: var(--ink); }
.burger { display: none; height: 48px; padding: 0 18px; border-radius: 48px; background: var(--paper); align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.burger__lines { width: 18px; height: 8px; position: relative; }
.burger__lines span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger__lines span:first-child { top: 0; } .burger__lines span:last-child { top: 6px; }
body.menu-open .burger__lines span:first-child { top: 3px; transform: rotate(45deg); }
body.menu-open .burger__lines span:last-child { top: 3px; transform: rotate(-45deg); }
@media (max-width: 1000px) { .header__nav, .header__cta { display: none; } .burger { display: inline-flex; } .header { height: 6rem; } .header__pill { height: 60px; } }

/* ---------- Полноэкранное меню ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 130px var(--gutter) 32px; overflow-y: auto;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu__list { list-style: none; }
.menu__list li { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.12); }
.menu__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 8px 0;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(48px, 9vw, 120px); line-height: 1; letter-spacing: -0.03em;
  transform: translateY(105%); transition: transform .8s var(--ease), color .3s;
}
.menu__list a small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--smoke); }
.menu__list a:hover { color: var(--mint); }
body.menu-open .menu__list a { transform: none; }
body.menu-open .menu__list li:nth-child(2) a { transition-delay: .05s; }
body.menu-open .menu__list li:nth-child(3) a { transition-delay: .1s; }
body.menu-open .menu__list li:nth-child(4) a { transition-delay: .15s; }
body.menu-open .menu__list li:nth-child(5) a { transition-delay: .2s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 24px 48px; color: var(--smoke); font-size: 14px; margin-top: 48px; }
.menu__foot a { color: var(--paper); }

/* ---------- Кнопки (плоские, радиус 4–8px) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 8px; overflow: hidden; isolation: isolate;
  font-size: 16px; font-weight: 500; white-space: nowrap;
  background: var(--paper); color: var(--ink);
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; z-index: -1; inset: 0; background: var(--volt);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.btn__arrow { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }
.magnetic { display: inline-block; will-change: transform; }

.round-btn {
  position: relative; width: clamp(140px, 13vw, 180px); aspect-ratio: 1; border-radius: 50%;
  background: var(--mint); color: var(--ink); display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: .95; overflow: hidden; isolation: isolate;
}
.round-btn::before { content: ""; position: absolute; inset: 0; background: var(--volt); border-radius: 50%; transform: scale(0); transition: transform .5s var(--ease); z-index: -1; }
.round-btn:hover::before { transform: scale(1); }

.tag { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: -0.03em; text-transform: uppercase; padding: 6px 12px; border-radius: 64px; background: var(--mist); color: var(--ink); white-space: nowrap; }
.tag--mint { background: var(--mint); }
.tag--dark { background: rgba(255,255,255,.1); color: var(--paper); }

/* ---------- Появление ---------- */
.line { display: block; overflow: hidden; padding: .1em 0 .14em; margin: -.1em 0 -.14em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-in .line > span, .line.is-in > span { transform: none; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s !important; } .d2 { transition-delay: .16s !important; } .d3 { transition-delay: .24s !important; } .d4 { transition-delay: .32s !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .line > span, .reveal { transform: none; opacity: 1; }
}

/* ---------- Hero + 3D-сцена ---------- */
.hero { position: relative; padding-top: 8rem; padding-bottom: 16px; }
.hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; min-height: calc(100svh - 8rem - 16px); }
.hero__text { background: var(--paper); border-radius: 32px; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--slate); }
.hero__title { font-size: clamp(50px, 5.6vw, 120px); letter-spacing: -0.03em; }
@media (max-width: 1000px) { .hero__title { font-size: clamp(48px, 11.5vw, 110px); } }
.hero__title .line > span { transition-duration: 1.2s; }
.hero__title .line:nth-child(2) > span { transition-delay: .07s; }
.hero__title .line:nth-child(3) > span { transition-delay: .14s; }
.hero__title .line:nth-child(4) > span { transition-delay: .21s; }
.hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.hero__lead { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.25; max-width: 460px; color: var(--slate); }
.hero__lead strong { color: var(--ink); font-weight: 500; }
.hero__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hero__slot { position: relative; border-radius: 64px; background: #0a0a0a; min-height: 520px; overflow: hidden; }

.stage { position: absolute; inset: 0; overflow: hidden; background: #0a0a0a; color: var(--paper); border-radius: inherit; z-index: 1; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage.is-intro { position: fixed; inset: 0; z-index: 500; border-radius: 0; }
.stage.is-docking { position: fixed; inset: 0; z-index: 500; border-radius: 0; }
.stage.is-docking .stage__ui { opacity: 0; }
.stage__ui { transition: opacity .5s; }
.stage__ui { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 2.6vw, 36px); z-index: 2; }
.stage__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.stage__ui .label { color: rgba(255,255,255,.62); }
.stage__count { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5vw, 80px); line-height: .9; color: var(--paper); transition: opacity .5s; }
.stage.is-docked .stage__count, .stage.is-docking .stage__count { opacity: 0; }
.stage__intro-only { transition: opacity .5s; }
.stage.is-docked .stage__intro-only, .stage.is-docking .stage__intro-only { opacity: 0; }
.stage__hint { opacity: 0; transition: opacity .6s .4s; }
.stage.is-docked .stage__hint { opacity: 1; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(209,255,202,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(209,255,202,0); } }
.stage__fallback { display: none; position: absolute; inset: 0; place-items: center; }
.stage.no-webgl .stage__fallback { display: grid; }
.stage.no-webgl canvas { display: none; }
.stage__fallback svg { width: 46%; max-width: 280px; }

@media (max-width: 1000px) {
  .hero { padding-top: 6rem; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__slot { min-height: 0; aspect-ratio: 1 / 1.05; border-radius: 40px; order: 2; }
  .hero__bottom { grid-template-columns: 1fr; }
}

/* ---------- Секции ---------- */
section { position: relative; }
.section { padding: 80px 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.card { background: var(--paper); border-radius: 32px; padding: 24px; }
.block { background: var(--ink); color: var(--paper); border-radius: 64px; padding: clamp(32px, 5vw, 80px) clamp(20px, 4vw, 64px); --muted: var(--smoke); --line: rgba(255,255,255,.14); }

/* ---------- Манифест + цифры ---------- */
.manifest { background: var(--paper); border-radius: 64px; padding: clamp(32px, 5vw, 80px) clamp(20px, 4vw, 64px); }
.manifest__text { font-size: clamp(26px, 3.2vw, 52px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; max-width: 1400px; }
.manifest__text .w { opacity: .15; transition: opacity .4s; }
.manifest__text .w.on { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.stat { background: var(--paper); border-radius: 32px; padding: 24px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.stat:nth-child(2) { background: var(--ink); color: var(--paper); }
.stat:nth-child(2) .stat__label { color: var(--smoke); }
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 6vw, 110px); letter-spacing: -0.03em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .32em; vertical-align: top; position: relative; top: .3em; margin-left: 4px; background: var(--volt); color: var(--ink); padding: 2px 6px; border-radius: 6px; }
.stat__label { font-size: 14px; font-weight: 500; color: var(--slate); max-width: 260px; }
@media (max-width: 1000px) { .stats { grid-template-columns: 1fr 1fr; } .stat { min-height: 180px; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Кейсы ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 40px; padding: 0 16px; border-radius: 64px; background: var(--paper); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: -0.03em; transition: background .25s, color .25s; }
.chip:hover { background: var(--mint); }
.chip.is-active { background: var(--ink); color: var(--paper); }
.chip sup { font-size: 10px; margin-left: 4px; opacity: .6; }

.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case {
  --c-bg: var(--paper); --c-fg: var(--ink); --c-muted: var(--slate); --c-soft: var(--mist);
  display: flex; flex-direction: column; gap: 28px; background: var(--c-bg); color: var(--c-fg);
  border-radius: 32px; padding: clamp(20px, 2.4vw, 32px); transition: transform .5s var(--ease), background .3s;
}
.case--dark { --c-bg: var(--ink); --c-fg: var(--paper); --c-muted: #a9a9a9; --c-soft: rgba(255,255,255,.08); }
.case:hover { transform: translateY(-4px); }
.case.is-hidden { display: none; }
.case--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.case__main { display: flex; flex-direction: column; }
.case__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--c-muted); margin-bottom: 20px; }
.case__arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-soft); font-size: 18px; color: var(--c-fg); transition: background .3s, color .3s, transform .4s var(--ease); flex: none; }
.case:hover .case__arrow { background: var(--mint); color: var(--ink); transform: rotate(45deg); }
.case__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 3vw, 54px); line-height: 1.08; letter-spacing: -0.015em; overflow-wrap: break-word; hyphens: manual; }
.case--wide .case__title { font-size: clamp(40px, 4.4vw, 84px); line-height: 1.04; }
.case__client { margin-top: 20px; color: var(--c-muted); }
.case__desc { margin-top: 14px; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.35; opacity: .85; max-width: 560px; }
.case__side { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.case--wide .case__side { margin-top: 0; justify-content: space-between; }
.case__flow { background: var(--c-soft); border-radius: 24px; padding: 16px; }
.case__flow > .label { display: block; color: var(--c-muted); margin-bottom: 10px; }
.flow { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.flow li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.2; padding: 7px 12px 7px 7px; border-radius: 64px; background: var(--c-bg); }
.flow li span { font-family: var(--mono); font-size: 11px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c-soft); color: var(--c-muted); flex: none; }
.flow li:last-child { background: var(--mint); color: var(--ink); }
.flow li:last-child span { background: rgba(0,0,0,.08); color: var(--ink); }
.case__metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px; }
.case__metrics div { border-radius: 20px; padding: 14px 16px; background: var(--c-soft); display: flex; flex-direction: column; gap: 6px; }
.case__metrics b { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.4vw, 42px); line-height: 1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.case__metrics span { font-size: 13px; color: var(--c-muted); line-height: 1.25; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case .tag { background: var(--c-soft); color: var(--c-fg); }
@media (max-width: 1000px) { .cases { grid-template-columns: 1fr; } .case--wide { grid-template-columns: 1fr; } }

/* Модалка: схема «как работает» */
.cm__flowbox { background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(24px, 3.5vw, 48px); margin: 16px 0; --c-bg: rgba(255,255,255,.06); --c-soft: rgba(255,255,255,.1); --c-muted: #a9a9a9; }
.cm__flowbox > .label { display: block; color: #a9a9a9; margin-bottom: 20px; }
.flow--big { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.flow--big li { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 28px; border-radius: 24px; padding: 18px; min-height: 150px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.02; }
.flow--big li span { width: 34px; height: 34px; font-size: 12px; font-weight: 400; }

/* ---------- Решения (что можем сделать) ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sol { background: var(--paper); border-radius: 32px; padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 18px; min-height: 440px; transition: background .3s; }
.sol:hover { background: var(--mint); }
.sol__top { display: flex; justify-content: space-between; align-items: center; color: var(--slate); }
.sol__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; transition: background .3s; }
.sol:hover .sol__icon { background: var(--paper); }
.sol__icon svg { width: 24px; height: 24px; }
.sol h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.1vw, 38px); line-height: 1.08; letter-spacing: -0.01em; }
.sol__pain { font-size: 15px; line-height: 1.35; color: var(--slate); }
.sol__pain b { color: var(--ink); font-weight: 500; }
.sol ul { list-style: none; display: grid; gap: 8px; font-size: 15px; line-height: 1.3; }
.sol li { position: relative; padding-left: 20px; }
.sol li::before { content: ""; position: absolute; left: 0; top: .42em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.sol__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.sol:hover .sol__foot .tag { background: var(--paper); }
.sol__foot .tag--time, .sol:hover .sol__foot .tag--time { background: var(--ink); color: var(--paper); }
.solutions__note { margin-top: 16px; font-size: 13px; color: var(--slate); max-width: 760px; }
@media (max-width: 1100px) { .solutions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .solutions { grid-template-columns: 1fr; } .sol { min-height: 0; } }

/* ---------- Сайты и лендинги (чёрный блок) ---------- */
.web__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 64px); margin-top: 40px; align-items: start; }
.web__lead { color: #bdbdbd; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.35; max-width: 480px; }
.web__lead b { color: var(--paper); font-weight: 500; }
.web__types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wtype { background: rgba(255,255,255,.07); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; transition: background .3s, color .3s; }
.wtype:hover { background: var(--mint); color: var(--ink); }
.wtype:hover p, .wtype:hover .label { color: var(--slate); }
.wtype .label { color: #a9a9a9; display: flex; justify-content: space-between; gap: 8px; }
.wtype h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2vw, 34px); line-height: 1.08; }
.wtype p { color: #bdbdbd; font-size: 14px; line-height: 1.35; margin-top: auto; }
.web__incl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.web__incl .tag { background: rgba(255,255,255,.1); color: var(--paper); }
@media (max-width: 1000px) { .web__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .web__types { grid-template-columns: 1fr; } .wtype { min-height: 0; } }

/* ---------- Услуги (чёрный блок) ---------- */
.services__list { margin-top: 48px; }
.service { display: grid; grid-template-columns: 70px 1.1fr 1fr; gap: 24px; align-items: start; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.14); position: relative; transition: padding .45s var(--ease); }
.service:hover { padding-left: 16px; }
.service__num { font-family: var(--mono); font-size: 12px; color: var(--smoke); padding-top: 8px; }
.service__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 4.2vw, 80px); line-height: 1; letter-spacing: -0.025em; transition: color .3s; }
.service:hover .service__title { color: var(--mint); }
.service__text { color: #bdbdbd; font-size: 16px; line-height: 1.35; }
.service__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service .tag { background: rgba(255,255,255,.1); color: var(--paper); }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; gap: 10px; } .service__num { padding-top: 0; } }

/* ---------- Бегущая строка ---------- */
.marquee { overflow: hidden; padding: 56px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 32px; padding-right: 32px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 8vw, 150px); line-height: .9; letter-spacing: -0.03em; white-space: nowrap; }
.marquee__item:nth-child(even) { color: var(--smoke); }
.marquee__item i { width: .28em; height: .28em; border-radius: 50%; background: var(--volt); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Процесс ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--paper); border-radius: 32px; padding: 24px; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; transition: background .35s; }
.step:hover { background: var(--mint); }
.step__n { font-family: var(--display); font-weight: 700; font-size: 80px; line-height: .9; color: var(--ash); transition: color .3s; }
.step:hover .step__n { color: var(--ink); }
.step h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 40px; line-height: 1; letter-spacing: -0.015em; margin-bottom: 14px; }
.step p { color: var(--slate); font-size: 15px; line-height: 1.35; }
.step__time { font-family: var(--mono); font-size: 12px; text-transform: uppercase; margin-top: 16px; display: inline-block; padding: 6px 12px; border-radius: 64px; background: var(--mist); }
@media (max-width: 1100px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } .step { min-height: 0; gap: 40px; } }

/* ---------- Принципы ---------- */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.principles__intro { background: var(--paper); border-radius: 32px; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.principles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.principle { background: var(--paper); border-radius: 32px; padding: 24px; display: flex; flex-direction: column; gap: 32px; justify-content: space-between; min-height: 240px; }
.principle svg { width: 32px; height: 32px; color: var(--ink); background: var(--mint); border-radius: 50%; padding: 6px; box-sizing: content-box; }
.principle h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; margin-bottom: 8px; line-height: 1.15; }
.principle p { color: var(--slate); font-size: 15px; line-height: 1.35; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 1000px) { .principles { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .principles__grid { grid-template-columns: 1fr; } .principle { min-height: 0; } }

/* ---------- Контакты (чёрный блок) ---------- */
.contact { padding: 16px 0 0; }
.contact .block { --fg: var(--paper); --bg: var(--ink); }
.contact__title { font-size: clamp(60px, 10vw, 190px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 100px); margin-top: 56px; align-items: start; }
.contact__side p { color: #bdbdbd; max-width: 420px; margin-bottom: 32px; line-height: 1.35; }
.contact__links { display: grid; gap: 14px; font-size: 22px; font-weight: 500; }
.contact__links a { width: fit-content; }
.contact__links a span { background-image: linear-gradient(var(--volt), var(--volt)); background-size: 0 100%; background-repeat: no-repeat; transition: background-size .4s var(--ease), color .3s; }
.contact__links a:hover span { background-size: 100% 100%; color: var(--ink); }
.contact__links small { display: block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--smoke); margin-bottom: 2px; font-weight: 400; }

.form { display: grid; }
.field { position: relative; border-bottom: 1px solid rgba(255,255,255,.2); }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; outline: 0; color: var(--paper);
  font: inherit; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.02em; padding: 36px 0 14px; resize: none;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { color: #111; }
.field label { position: absolute; left: 0; top: 32px; color: var(--smoke); font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.02em; pointer-events: none; transition: transform .35s var(--ease), font-size .35s; transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-22px); font-size: 12px; font-family: var(--mono); text-transform: uppercase; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.has-error::after { transform: scaleX(1); background: var(--volt); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; margin-top: 22px; font-size: 14px; color: #bdbdbd; line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(255,255,255,.35); margin-top: 1px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check input:checked { background: var(--mint); border-color: var(--mint); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check.has-error input { border-color: var(--volt); }
.check a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--smoke); max-width: 360px; }
.form__status { margin-top: 16px; font-size: 15px; min-height: 22px; }
.form__status.ok { color: var(--mint); }
.form__status.err { color: var(--volt); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .block { border-radius: 40px; } }

/* ---------- Подвал ---------- */
.footer { padding: 16px 0 24px; font-size: 14px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding: 40px 0 24px; }
.footer__logo { font-size: clamp(100px, 24vw, 460px); line-height: .78; letter-spacing: -0.04em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.footer__grid > div { background: var(--paper); border-radius: 32px; padding: 24px; }
.footer h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; text-transform: uppercase; color: var(--smoke); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { transition: background .2s; }
.footer ul a:hover, .req a:hover { background: var(--mint); }
.req { display: grid; gap: 4px; color: var(--slate); }
.req b { color: var(--ink); font-weight: 500; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--slate); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Модальное окно кейса ---------- */
.modal { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .6s var(--ease); }
.modal__panel {
  position: absolute; left: 8px; right: 8px; bottom: 0; top: 24px; background: var(--canvas); color: var(--ink);
  border-radius: 32px 32px 0 0; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(105%); transition: transform .85s var(--ease-io);
}
.modal.is-open { pointer-events: auto; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 3; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--volt); color: var(--ink); }
.modal__close svg { width: 20px; height: 20px; }
.cm { padding: 24px var(--gutter) 64px; max-width: 1500px; margin: 0 auto; }
.cm__hero { background: var(--paper); border-radius: 32px; padding: clamp(24px, 4vw, 56px); }
.cm__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.cm__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 6vw, 112px); line-height: .98; letter-spacing: -0.025em; max-width: 1300px; }
.cm__lead { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.3; letter-spacing: -0.015em; max-width: 920px; margin-top: 28px; color: var(--slate); }
.cm__media { border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 8; margin: 16px 0; background: var(--c1); position: relative; }
.cm__media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cm__nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 16px; }
.cm__nums div { background: var(--paper); border-radius: 32px; padding: 24px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.cm__nums div:first-child { background: var(--ink); color: var(--paper); }
.cm__nums div:first-child span { color: var(--smoke); }
.cm__nums b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4.4vw, 76px); letter-spacing: -0.03em; line-height: .9; }
.cm__nums span { color: var(--slate); font-size: 14px; font-weight: 500; display: block; }
.cm__cols { background: var(--paper); border-radius: 32px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: 240px 1fr; gap: 28px clamp(32px, 5vw, 80px); }
.cm__cols h3 { font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; color: var(--smoke); padding-top: 6px; }
.cm__cols p, .cm__cols li { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.4; letter-spacing: -0.01em; }
.cm__cols ul { list-style: none; display: grid; gap: 12px; }
.cm__cols li { position: relative; padding-left: 26px; }
.cm__cols li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cm__sep { grid-column: 1 / -1; height: 1px; background: var(--line); }
.cm__next { margin-top: 16px; background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(24px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cm__next button { text-align: left; color: var(--paper); }
.cm__next small { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--smoke); display: block; margin-bottom: 8px; }
.cm__next b { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 60px); line-height: 1; letter-spacing: -0.02em; transition: color .3s; }
.cm__next button:hover b { color: var(--mint); }
@media (max-width: 900px) { .cm__cols { grid-template-columns: 1fr; gap: 12px; } .cm__cols h3 { padding-top: 16px; } }
body.modal-open { overflow: hidden; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; max-width: 540px;
  background: var(--paper); color: var(--ink); border-radius: 24px; padding: 20px 20px 20px 24px;
  outline: 1px solid rgba(0,0,0,.08);
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; font-size: 14px; line-height: 1.4;
  transform: translateY(150%); transition: transform .7s var(--ease);
}
.cookie.is-shown { transform: none; }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie button { height: 44px; padding: 0 20px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; transition: background .25s, color .25s; }
.cookie button:hover { background: var(--volt); color: var(--ink); }
@media (max-width: 520px) { .cookie { grid-template-columns: 1fr; } .cookie button { width: 100%; } }

/* ---------- Правовые страницы ---------- */
.legal { padding: 8rem 0 64px; }
.legal__wrap { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
.legal__nav { position: sticky; top: 8rem; display: grid; gap: 4px; background: var(--paper); border-radius: 32px; padding: 16px; font-size: 14px; font-weight: 500; }
.legal__nav a { padding: 10px 14px; border-radius: 48px; color: var(--slate); transition: background .2s, color .2s; }
.legal__nav a:hover { background: var(--mist); color: var(--ink); }
.legal__nav a.is-current { background: var(--ink); color: var(--paper); }
.legal__body { background: var(--paper); border-radius: 32px; padding: clamp(24px, 4vw, 64px); max-width: 1000px; }
.legal h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 6vw, 110px); line-height: .98; letter-spacing: -0.025em; margin-bottom: 20px; }
.legal__date { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--smoke); margin-bottom: 40px; }
.legal__body h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.02; letter-spacing: -0.015em; margin: 44px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal__body p, .legal__body li { color: #222; margin-bottom: 12px; font-size: 16px; line-height: 1.6; letter-spacing: -0.005em; }
.legal__body ul, .legal__body ol { padding-left: 22px; margin-bottom: 12px; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }
.legal__body table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.legal__body td, .legal__body th { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__body th { font-weight: 500; color: var(--slate); }
.note { background: var(--mint); border-radius: 24px; padding: 20px 24px; margin: 20px 0; font-size: 15px; line-height: 1.5; }
.header--simple .header__pill { justify-content: space-between; }
.header--simple .header__pill > a:last-child { height: 48px; padding: 0 20px; border-radius: 48px; background: var(--paper); display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; }
@media (max-width: 900px) { .legal { padding-top: 6rem; } .legal__wrap { grid-template-columns: 1fr; } .legal__nav { position: static; grid-auto-flow: column; overflow-x: auto; white-space: nowrap; } .legal__body { overflow-x: auto; } }
@media print { .header, .cursor, .cookie, .footer, .legal__nav { display: none !important; } .legal { padding: 0; } .legal__body { padding: 0; } }

/* =====================================================================
   Монохромные акценты: вместо мятного и жёлтого — инверсия чёрное/белое
   ===================================================================== */
:root { --mint: #ffffff; --volt: #ffffff; --hover-dark: #2a2a2a; --err: #ff5a4e; }
::selection { background: var(--ink); color: var(--paper); }
.mark, .eyebrow b, .tag--mint { background: var(--ink); color: var(--paper); }
.cursor.is-view { background: var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.cursor.is-view .cursor__text { color: var(--ink); }

/* Кнопки: заливка чёрным снизу, на тёмном фоне — графитом */
.btn::before { background: var(--ink); }
.btn:hover { color: var(--paper); }
.btn--solid::before, .block .btn::before, .cm__next .btn::before { background: var(--hover-dark); }
.header__cta:hover, .cookie button:hover { background: var(--hover-dark); color: var(--paper); }
.round-btn { background: var(--ink); color: var(--paper); }
.round-btn::before { background: var(--hover-dark); }
.modal__close:hover { background: var(--hover-dark); color: var(--paper); }

/* Меню и ссылки */
.menu__list:hover a { color: #6f6f6f; }
.menu__list a:hover { color: var(--paper); }
.contact__links a:hover span { color: var(--ink); }
.footer ul a:hover, .req a:hover { background: var(--mist); }

/* Индикатор «принимаем проекты» */
.live::before { background: currentColor; box-shadow: 0 0 0 4px rgba(128,128,128,.25); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(128,128,128,0); } }

/* Цифры, фильтры, кейсы */
.stat__num sup { background: var(--ink); color: var(--paper); }
.stat:nth-child(2) .stat__num sup { background: var(--paper); color: var(--ink); }
.chip:hover { background: var(--ash); }
.chip.is-active:hover { background: var(--ink); }
.case:hover .case__arrow { background: var(--c-fg); color: var(--c-bg); }
.flow li:last-child { background: var(--c-fg); color: var(--c-bg); }
.flow li:last-child span { background: rgba(128,128,128,.3); color: inherit; }
.cm__flowbox .flow li:last-child { background: var(--paper); color: var(--ink); }
.cm__cols li::before { background: var(--ink); box-shadow: none; }
.cm__next button:hover b { color: #8a8a8a; }

/* Решения: карточка инвертируется в чёрную */
.sol { transition: background .3s, color .3s; }
.sol:hover { background: var(--ink); color: var(--paper); }
.sol:hover .sol__top, .sol:hover .sol__pain { color: #a9a9a9; }
.sol:hover .sol__pain b { color: var(--paper); }
.sol:hover li::before { background: var(--paper); }
.sol:hover .sol__icon { background: rgba(255,255,255,.12); }
.sol:hover .sol__foot .tag { background: rgba(255,255,255,.12); color: var(--paper); }
.sol:hover .sol__foot .tag--time { background: var(--paper); color: var(--ink); }

/* Сайты: карточка становится белой (на чёрном блоке) — через --mint: #fff */

/* Услуги: остальные строки гаснут, наведённая остаётся белой */
.services__list:hover .service__title { color: #5a5a5a; }
.services__list .service:hover .service__title { color: var(--paper); }

/* Бегущая строка, процесс, принципы */
.marquee__item i { background: var(--ink); }
.step { transition: background .35s, color .35s; }
.step:hover { background: var(--ink); color: var(--paper); }
.step:hover .step__n { color: var(--paper); }
.step:hover p { color: #a9a9a9; }
.step:hover .step__time { background: rgba(255,255,255,.12); }
.principle svg { background: var(--ink); color: var(--paper); }
.note { background: var(--paper); box-shadow: inset 0 0 0 1px var(--ash); }

/* Ошибки формы — функциональный красный, не декор */
.field.has-error::after { background: var(--err); }
.check.has-error input { border-color: var(--err); }
.form__status.err { color: var(--err); }
.round-btn { transition: color .4s var(--ease); }
.block .round-btn { background: var(--paper); color: var(--ink); }
.block .round-btn:hover { color: var(--paper); }
