/* ETGroup — стили лендинга (палитра и шрифты из презентации) */
:root {
  --navy: #0e1b3d;
  --navy-2: #16244a;
  --navy-3: #24365f;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --blue-dd: #1e3a8a;
  --cyan: #22d3ee;
  --ink: #0e1b3d;
  --text: #3b4560;
  --muted: #6b7591;
  --line: #e3e7ef;
  --soft: #f3f5f9;
  --white: #fff;
  --wa: #25d366;

  --f-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r: 4px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--f-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--f-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Common ---------- */
.eyebrow {
  font: 600 12px/1.4 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.eyebrow--blue { color: var(--blue); }

.section { padding: 112px 0; }
.section--alt { background: var(--soft); }
.section__title { font-size: clamp(30px, 4vw, 44px); max-width: 820px; margin-bottom: 48px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  font: 600 15px/1 var(--f-body);
  text-decoration: none;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-d); }
.btn--ghost { border-color: var(--navy-3); color: var(--white); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 20px 32px; font-size: 16px; }
.ico { width: 20px; height: 20px; flex: none; }
.btn--sm .ico { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 27, 61, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-2);
}
.header__inner { display: flex; align-items: center; gap: 40px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo img { border-radius: 8px; }
.logo__text { font: 500 22px/1 var(--f-head); letter-spacing: -0.02em; }
.logo__text b { font-weight: 800; }
.logo--sm .logo__text { font-size: 18px; }

.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { color: #c9cfdd; text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--white); }

.burger { display: none; margin-left: 12px; width: 40px; height: 40px; padding: 10px 8px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--white); margin: 4px 0; transition: transform .2s, opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #c9cfdd;
  padding: 96px 0 0;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 420px at var(--gx, 80%) var(--gy, 35%), rgba(37, 99, 235, .24), transparent 70%);
  pointer-events: none;
  transition: background .2s;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .10), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift { to { transform: translate(260px, -120px) scale(1.25); } }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: center; }
.hero__title { color: var(--white); font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 24px; }
.hero__lead { font-size: 19px; line-height: 1.6; max-width: 600px; margin-bottom: 28px; }
.hero__lead mark { background: none; color: var(--cyan); font-weight: 600; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tags li {
  font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 12px; border: 1px solid var(--navy-3); color: #c9cfdd;
}
.tags li:first-child { border-color: var(--cyan); color: var(--cyan); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Board */
.board { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: end; padding: 0 0 24px 24px; }
.board__grid { position: absolute; top: 0; right: 0; bottom: 24px; left: 24px; display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid var(--navy-3); }
.board__grid i { background: #101e41; }
.board__grid i.odd { background: var(--navy-2); }
.board__grid i.hl { position: relative; }
.board__grid i.hl::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18%; height: 18%; border-radius: 50%; transform: translate(-50%, -50%); background: var(--cyan); }
.hl--1 { background: var(--blue-dd) !important; }
.hl--2 { background: var(--blue-d) !important; }
.hl--3 { background: var(--blue) !important; }
.hl--top { background: var(--cyan) !important; animation: pulse 2.4s ease-in-out infinite; }
.hl--top::after { background: var(--navy) !important; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, .15), 0 0 40px rgba(34, 211, 238, .5); } }
.board__path { position: absolute; top: 0; right: 0; bottom: 24px; left: 24px; width: calc(100% - 24px); height: calc(100% - 24px); pointer-events: none; }
.board__path { z-index: 1; }
.board__path polyline { fill: none; stroke: var(--cyan); stroke-width: 4; opacity: .85;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.board__ranks { position: absolute; left: 0; top: 0; bottom: 24px; width: 24px; display: grid; grid-template-rows: repeat(8, 1fr); }
.board__files { position: absolute; left: 24px; right: 0; bottom: 0; height: 24px; display: grid; grid-template-columns: repeat(8, 1fr); }
.board__ranks span, .board__files span { display: grid; place-items: center; font: 500 10px var(--f-mono); color: #4b5a80; }

.hero__stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 88px;
  border-top: 1px solid var(--navy-3);
}
.hero__stats > div { padding: 32px 24px 40px 0; }
.hero__stats > div + div { padding-left: 24px; border-left: 1px solid var(--navy-3); }
.hero__stats dt { font: 800 clamp(28px, 3vw, 40px)/1 var(--f-head); color: var(--white); letter-spacing: -0.02em; margin-bottom: 10px; }
.hero__stats dd { font-size: 14px; line-height: 1.5; }

/* ---------- About ---------- */
.about__text { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; font-size: 17px; margin-bottom: 48px; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.num { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 32px; background: var(--soft); min-height: 150px; }
.num b { font: 800 clamp(36px, 4.4vw, 56px)/1 var(--f-head); color: var(--ink); letter-spacing: -0.03em; }
.num span { max-width: 200px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.num strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.num--dark { background: var(--navy); }
.num--dark b, .num--dark strong { color: var(--white); }
.num--dark span { color: #9aa4bf; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: svc; }
.services li { background: var(--white); padding: 28px 24px 32px; counter-increment: svc; position: relative; transition: background .2s; }
.services li::before { content: counter(svc, decimal-leading-zero); display: block; font: 600 12px var(--f-mono); color: var(--blue); margin-bottom: 40px; }
.services li::after { content: ""; position: absolute; top: 28px; right: 24px; width: 10px; height: 10px; background: var(--line); transition: background .2s; }
.services li:hover::after { background: var(--cyan); }
.services h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.01em; }
.services p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.note { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 15px; color: var(--ink); font-weight: 500; }
.dot { width: 8px; height: 8px; background: var(--cyan); flex: none; }

/* ---------- Cases ---------- */
.case { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 56px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case--rev .case__info { order: 2; }
.case__cat { font: 600 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.case__title { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.case__info > p:not(.case__cat) { margin-bottom: 20px; }
.checks { display: grid; gap: 8px; margin-bottom: 28px; font-size: 15px; }
.checks li { position: relative; padding-left: 20px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--blue); }
.case__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.case__kpis div { background: var(--soft); padding: 18px 16px; }
.case__kpis b { display: block; font: 800 22px/1.1 var(--f-head); color: var(--ink); letter-spacing: -0.02em; margin-bottom: 6px; }
.case__kpis span { display: block; font-size: 12px; line-height: 1.4; color: var(--muted); }
.queries { border-top: 1px solid var(--line); }
.queries li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.queries li span::before { content: "⌕"; color: var(--muted); margin-right: 8px; }
.pos { font: 600 12px/1 var(--f-mono); font-style: normal; padding: 6px 9px; background: var(--soft); color: var(--ink); white-space: nowrap; }
.pos::after { content: " место"; }
.pos--1 { background: var(--cyan); color: var(--navy); }

.case__metric { background: var(--navy); color: #c9cfdd; padding: 32px; display: flex; flex-direction: column; min-height: 440px; align-self: start; position: sticky; top: 96px; }
.case__label { font: 600 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.case__big { font: 800 clamp(48px, 6vw, 72px)/1 var(--f-head); color: var(--white); letter-spacing: -0.03em; margin-bottom: 28px; }
.bars { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-height: 240px; }
.bar { display: grid; grid-template-rows: 1fr auto; text-align: center; }
.bar__col { display: flex; flex-direction: column; justify-content: flex-end; border-bottom: 1px solid var(--navy-3); }
.bar span { font: 600 13px var(--f-mono); color: var(--white); margin-bottom: 8px; }
.bar i { display: block; background: var(--blue); }
.bar--before i { height: var(--a); background: var(--navy-3); }
.bar--after i { flex: 1; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.bar small { padding-top: 10px; font: 500 11px var(--f-mono); color: #9aa4bf; }
.case__src { margin-top: 24px; font: 500 11px var(--f-mono); color: #6b7591; }

.disclaimer { margin-top: 24px; font-size: 13px; color: var(--muted); max-width: 820px; }

/* ---------- Contacts ---------- */
.contacts { background: var(--navy); color: #c9cfdd; padding: 112px 0; position: relative; overflow: hidden; }
.contacts::before {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 420px; height: 420px; opacity: .5;
  background: repeating-conic-gradient(var(--navy-2) 0 25%, transparent 0 50%) 0 0 / 104px 104px;
  -webkit-mask: radial-gradient(circle at 70% 70%, #000 30%, transparent 70%);
          mask: radial-gradient(circle at 70% 70%, #000 30%, transparent 70%);
}
.contacts__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.contacts__title { color: var(--white); font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 20px; }
.contacts__lead { font-size: 18px; margin-bottom: 36px; max-width: 520px; }
.contacts__list > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--navy-3); }
.contacts__list > div:first-child { border-top: 1px solid var(--navy-3); }
.contacts__list dt { font: 600 11px/1.9 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #8390b0; }
.contacts__list dd { color: var(--white); font-weight: 600; }
.contacts__list a { text-decoration: none; transition: color .2s; }
.contacts__list a:hover { color: var(--cyan); }

/* ---------- Footer ---------- */
.footer { background: #0a1530; color: #6b7591; font-size: 13px; padding: 28px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--wa); color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.wa-float .ico { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .board { justify-self: start; max-width: 380px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .case, .contacts__inner { grid-template-columns: 1fr; }
  .case--rev .case__info { order: 0; }
  .case__metric { position: static; min-height: 380px; }
  .contacts__inner { gap: 48px; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 24px;
    background: var(--navy); border-bottom: 1px solid var(--navy-2);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--navy-2); font-size: 17px; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats > div:nth-child(n+3) { border-top: 1px solid var(--navy-3); }
  .about__text, .numbers { grid-template-columns: 1fr; gap: 12px; }
  .about__text { gap: 16px; }
}

@media (max-width: 560px) {
  .section, .contacts { padding: 72px 0; }
  .hero { padding-top: 56px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .wa-float { display: grid; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .board { display: none; }
  .hero__stats { margin-top: 56px; }
  .hero__stats dt { font-size: 24px; }
  .hero__stats > div { padding: 24px 12px 28px 0; }
  .hero__stats > div + div { padding-left: 12px; }
  .hero__stats > div:nth-child(3) { padding-left: 0; }
  .services { grid-template-columns: 1fr; }
  .services li::before { margin-bottom: 20px; }
  .num { flex-direction: column; align-items: flex-start; min-height: 0; padding: 28px 24px; }
  .case { padding: 48px 0; gap: 28px; }
  .case__kpis { grid-template-columns: 1fr; }
  .case__metric { padding: 24px; }
  .contacts__list > div { grid-template-columns: 1fr; gap: 4px; }
  .btn--lg { width: 100%; }
}

/* =====================================================
   АНИМАЦИИ И ХОВЕРЫ
   ===================================================== */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

/* Прогресс прокрутки */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: 0 50%;
  box-shadow: 0 0 12px rgba(34, 211, 238, .6);
}

/* Шапка при прокрутке */
.header__inner { transition: height .3s var(--ease); }
.header { transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(10, 21, 48, .96); box-shadow: 0 10px 30px rgba(5, 12, 30, .35); }
.header.is-scrolled .header__inner { height: 62px; }
.logo img { transition: transform .5s var(--ease); }
.logo:hover img { transform: rotate(-8deg) scale(1.08); }

/* Меню: подчёркивание */
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav a.is-active { color: var(--white); }

/* Кнопки: блик и свечение */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 10px 30px rgba(37, 99, 235, .45), 0 0 0 1px rgba(34, 211, 238, .35); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: rotate(-12deg) scale(1.12); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(34, 211, 238, .08);
  transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease);
}
.btn--ghost:hover::before { transform: scaleY(1); }

/* Hero: появление при загрузке */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes cellIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.js .hero__content > * { animation: fadeUp .9s var(--ease) both; }
.js .hero__content > :nth-child(1) { animation-delay: .05s; }
.js .hero__content > :nth-child(2) { animation-delay: .15s; }
.js .hero__content > :nth-child(3) { animation-delay: .3s; }
.js .hero__content > :nth-child(4) { animation-delay: .42s; }
.js .hero__content > :nth-child(5) { animation-delay: .54s; }
.js .hero__stats > div { animation: fadeUp .9s var(--ease) both; }
.js .hero__stats > div:nth-child(1) { animation-delay: .6s; }
.js .hero__stats > div:nth-child(2) { animation-delay: .72s; }
.js .hero__stats > div:nth-child(3) { animation-delay: .84s; }
.js .hero__stats > div:nth-child(4) { animation-delay: .96s; }
.hero__stats dt, .num b, .case__big, .case__kpis b, .bar span { font-variant-numeric: tabular-nums; }

/* Hero: статистика — ховер */
.hero__stats > div { position: relative; transition: background .3s; }
.hero__stats > div::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.hero__stats > div:hover::after { transform: scaleX(1); }
.hero__stats dt { transition: color .3s, transform .4s var(--ease); }
.hero__stats > div:hover dt { color: var(--cyan); transform: translateX(4px); }

/* Теги */
.tags li { transition: border-color .25s, color .25s, background .25s, transform .25s var(--ease); cursor: default; }
.tags li:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(34, 211, 238, .06); transform: translateY(-2px); }

/* Доска: 3D, волна появления, ховер клеток */
.board { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); transform-style: preserve-3d; }
.js .board__grid i { animation: cellIn .5s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 250ms); }
.js .board__grid i.hl--top { animation: cellIn .5s var(--ease) both, pulse 2.4s ease-in-out 2s infinite; animation-delay: calc(var(--i) * 55ms + 250ms), 2s; }
.board__grid i { transition: background .6s, box-shadow .6s; }
.board__grid i:not(.hl):hover { background: var(--blue-dd); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .5); transition: background 0s, box-shadow 0s; }
.board__path polyline { animation-delay: 1.3s; }
.board__grid i.hl::after { transition: transform .4s var(--ease); }
.board__grid i.hl:hover::after { transform: translate(-50%, -50%) scale(1.8); }

/* Появление при прокрутке */
.js .reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), background .3s, box-shadow .3s, color .3s;
  transition-delay: var(--d, 0ms);
}
.js .reveal--zoom { transform: translateY(40px) scale(.95); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Прожектор под курсором */
.spot.spot { background-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(37, 99, 235, .10), transparent 65%); }
.num--dark.spot, .case__metric.spot, .contacts__list > .spot { background-image: radial-gradient(300px circle at var(--mx, -999px) var(--my, -999px), rgba(34, 211, 238, .12), transparent 65%); }

/* Карточки-цифры */
.num { transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease); }
.js .num.reveal.is-in:hover, .num:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(14, 27, 61, .45); }
.num b { transition: letter-spacing .5s var(--ease); }
.num:hover b { letter-spacing: -0.01em; }

/* Услуги */
.services li { transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease); }
.services li::before { transition: color .3s, transform .4s var(--ease); }
.services li::after { transition: background .3s, transform .5s var(--ease); }
.services h3 { transition: color .3s; }
.js .services li.reveal.is-in:hover, .services li:hover {
  transform: translateY(-6px); z-index: 2;
  box-shadow: 0 24px 48px -20px rgba(14, 27, 61, .35), inset 0 -3px 0 var(--blue);
}
.services li:hover::before { color: var(--cyan); transform: translateX(4px); }
.services li:hover::after { transform: rotate(45deg) scale(1.3); }
.services li:hover h3 { color: var(--blue); }

.note .dot { animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; transform: scale(.7); } }

/* Кейсы */
.checks li::before { transition: transform .4s var(--ease), background .3s; }
.checks li:hover::before { transform: rotate(45deg) scale(1.2); background: var(--cyan); }
.case__kpis div { transition: background .35s, transform .35s var(--ease), opacity .9s var(--ease); cursor: default; }
.case__kpis b, .case__kpis span { transition: color .35s; }
.js .case__kpis div.reveal.is-in:hover, .case__kpis div:hover { background-color: var(--navy); transform: translateY(-4px); }
.case__kpis div:hover b { color: var(--cyan); }
.case__kpis div:hover span { color: #c9cfdd; }
.queries li { transition: padding .35s var(--ease), background .3s, opacity .9s var(--ease), transform .9s var(--ease); }
.queries li:hover { padding-left: 12px; padding-right: 8px; background: var(--soft); }
.pos { transition: transform .3s var(--ease); }
.queries li:hover .pos { transform: scale(1.08); }

.case__title { transition: color .3s, opacity .9s var(--ease), transform .9s var(--ease); }
.case:hover .case__title { color: var(--blue-dd); }

.case__metric { overflow: hidden; }
.case__metric::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: translateX(-100%); animation: scan 4s linear infinite;
}
@keyframes scan { to { transform: translateX(100%); } }
.js .case .bar i { transform: scaleY(0); transform-origin: 50% 100%; transition: transform 1.3s var(--ease), filter .3s; }
.js .case .bar--after i { transition-delay: .25s; }
.js .case.is-in .bar i { transform: none; }
.bar span { transition: transform .3s var(--ease), color .3s; }
.bar:hover span { transform: translateY(-4px); color: var(--cyan); }
.bar:hover i { filter: brightness(1.25) saturate(1.2); }

/* Контакты */
.contacts__list > div { transition: padding .35s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); }
.contacts__list > div:hover { padding-left: 12px; }
.contacts__list dt { transition: color .3s; }
.contacts__list > div:hover dt { color: var(--cyan); }
.contacts::before { animation: floatBoard 18s ease-in-out infinite alternate; }
@keyframes floatBoard { to { transform: translate(-40px, -30px) rotate(6deg); } }

/* WhatsApp: пульсирующее кольцо */
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ring 2.2s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .case .bar i { transform: none; }
  .board { transform: none; }
  html { scroll-behavior: auto; }
  .board__path polyline { animation: none; stroke-dashoffset: 0; }
  .hl--top { animation: none; }
}
