/* =========================================================
   VOBLA interactive — landing
   ========================================================= */

:root {
  --c-bg: #0b0b0c;
  --c-bg-2: #121214;
  --c-surface: rgba(255, 255, 255, .035);
  --c-surface-2: rgba(255, 255, 255, .06);
  --c-line: rgba(255, 255, 255, .09);
  --c-line-2: rgba(255, 255, 255, .16);
  --c-text: #f5f5f4;
  --c-text-soft: rgba(245, 245, 244, .72);
  --c-muted: rgba(245, 245, 244, .5);
  --c-dark: #0b0b0c;
  --c-accent: #ffd600;
  --c-accent-2: #ff8e00;
  --c-accent-rgb: 255, 214, 0;

  --grad-accent: linear-gradient(120deg, #ff8e00 0%, #ffd600 55%, #fff1a0 100%);
  --grad-footer: linear-gradient(0deg, #c96500 0%, #e09f00 100%);

  --font: "Manrope", system-ui, Arial, sans-serif;
  --font-display: "Unbounded", "Manrope", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --container: 1240px;
  --gutter: 24px;
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --fs-h1: clamp(24px, 3.1vw, 46px);
  --fs-h2: clamp(28px, 3.4vw, 48px);
  --fs-body: clamp(15px, 1.15vw, 17px);
  --fs-lead: clamp(16px, 1.35vw, 19px);
  --section-py: clamp(72px, 9vw, 130px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
html { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-text);
  background-color: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
::selection { background: var(--c-accent); color: var(--c-dark); }

/* ---------- фон страницы ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--c-bg) url("../assets/img/page-bg.png") center / cover no-repeat;
}
.page-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(11,11,12,.2), rgba(11,11,12,.85) 70%);
}
.page-bg__grid {
  position: absolute; inset: -80px;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  animation: grid-move 24s linear infinite;
  z-index: 1;
}
@keyframes grid-move { to { transform: translate3d(80px, 80px, 0); } }
.page-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  z-index: 1;
  will-change: transform;
}
.page-bg__orb--1 { width: 520px; height: 520px; background: var(--c-accent); top: -160px; right: -120px; animation: orb 18s var(--ease-in-out) infinite alternate; }
.page-bg__orb--2 { width: 460px; height: 460px; background: var(--c-accent-2); bottom: -180px; left: -140px; opacity: .14; animation: orb 22s var(--ease-in-out) infinite alternate-reverse; }
@keyframes orb {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-120px, 80px, 0) scale(1.15); }
  100% { transform: translate3d(60px, 160px, 0) scale(.9); }
}

/* свечение за курсором */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--c-accent-rgb), .09), transparent 65%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* прогресс прокрутки */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%;
  background: var(--grad-accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px rgba(var(--c-accent-rgb), .7);
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(900px + var(--gutter) * 2); }

.accent { color: var(--c-accent); }
.text-grad {
  background: var(--grad-accent);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 6s ease-in-out infinite alternate;
}
@keyframes grad-shift { to { background-position: 100% 0; } }

.section { position: relative; padding: var(--section-py) 0; scroll-margin-top: calc(var(--section-py) * -1); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 60px;
}
.section-head--row .section-lead { max-width: 420px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.section-lead {
  margin-top: 22px;
  font-size: var(--fs-lead);
  color: var(--c-text-soft);
  max-width: 720px;
}
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.section-lead strong { color: var(--c-text); }

/* ---------- кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s, border-color .3s, background-color .3s;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  color: var(--c-dark);
  background: var(--grad-accent);
  background-size: 160% 100%;
  box-shadow: 0 8px 30px -8px rgba(var(--c-accent-rgb), .55), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--primary::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: left .7s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(var(--c-accent-rgb), .75), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--primary:hover::after { left: 120%; }
.btn--ghost {
  color: var(--c-text);
  border: 1px solid var(--c-line-2);
  background: rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent); transform: translateY(-2px); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn__play {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.btn__play::after {
  content: "";
  position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}

/* ---------- reveal-анимации ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--gutter) 0;
  transition: transform .5s var(--ease), padding .4s var(--ease);
}
.header.is-hidden { transform: translateY(-120%); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: calc(var(--header-h) - 14px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 14px 0 24px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.header.is-scrolled .header__inner {
  background: rgba(14, 14, 16, .62);
  border-color: var(--c-line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.header__logo img { height: 54px; width: auto; transition: transform .4s var(--ease); }
.header__logo:hover img { transform: scale(1.04); }

.nav__list { display: flex; gap: 4px; }
.nav__list a {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-soft);
  border-radius: 999px;
  transition: color .25s, background-color .25s;
}
.nav__list a:hover { color: var(--c-text); background: rgba(255,255,255,.06); }
.nav__list a.is-active { color: var(--c-accent); }
.nav__list a.is-active::after {
  content: "";
  position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 8px var(--c-accent);
}
.nav__mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--c-text-soft); transition: color .2s; }
.header__phone:hover { color: var(--c-accent); }

.burger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--c-line-2);
}
.burger span {
  position: absolute; left: 13px; width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow-x: clip;
  min-height: min(100vh, 1000px);
  min-height: min(100svh, 1000px);
  padding: calc(var(--header-h) + 60px) 0 90px;
  display: flex;
  align-items: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero__text { position: relative; z-index: 2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--c-text-soft);
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.badge__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}
.badge__dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--c-accent);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.03em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span {
  transform: translate3d(0, 110%, 0);
  transition: transform 1.1s var(--ease);
}
.js .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__title .line > span { transform: none !important; }

.hero__lead {
  margin-top: 26px;
  max-width: 540px;
  font-size: var(--fs-lead);
  color: var(--c-text-soft);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid var(--c-line);
}
.stat { padding: 22px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--c-line); }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__caption { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--c-muted); }

/* визуал */
.hero__visual { position: relative; z-index: 1; aspect-ratio: 1; }
.hero__glow {
  position: absolute;
  inset: 10% -6% -12% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 120, 255, .35), transparent);
  filter: blur(40px);
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite alternate;
}
@keyframes glow-pulse { from { opacity: .6; transform: scale(.95); } to { opacity: 1; transform: scale(1.05); } }
/* Сцена шире своей колонки; маска прячет края холста при любом угле камеры */
.hero__scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  aspect-ratio: 6 / 5;
  transform: translate(-44%, -50%);
  -webkit-mask-image: radial-gradient(ellipse 50% 53% at 50% 47%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 53% at 50% 47%, #000 70%, transparent 100%);
}
.hero__scene canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
  transition: opacity .8s var(--ease);
}
.hero__scene.is-ready canvas { opacity: 1; }
.hero__scene canvas.is-grabbing { cursor: grabbing; }
.hero__scene canvas:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -4px; }
.hero__scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.float-card {
  position: absolute;
  right: -18px; bottom: -36px;
  display: flex; align-items: center; gap: 14px;
  max-width: 330px;
  padding: 16px 20px 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--c-line-2);
  background: rgba(16, 16, 18, .72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.7);
  animation: float 6s ease-in-out infinite;
}
.float-card p { font-size: 13.5px; line-height: 1.45; color: var(--c-text-soft); }
.float-card strong { color: var(--c-text); }
.float-card__icon { flex-shrink: 0; }
@keyframes float { 50% { transform: translateY(-12px); } }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 28px;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 1.5px solid var(--c-line-2);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px;
  background: var(--c-accent);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: rgba(255,255,255,.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--c-text-soft);
}
.marquee i {
  width: 10px; height: 10px; flex-shrink: 0;
  background: var(--c-accent);
  transform: rotate(45deg);
  border-radius: 2px;
}
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* =========================================================
   SPOTLIGHT (подсветка карточек за курсором)
   ========================================================= */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--c-accent-rgb), .12), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
  pointer-events: none;
}
.spot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--c-accent-rgb), .8), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { overflow: hidden; }
.services__waves {
  position: absolute;
  top: -200px; left: 50%;
  width: 1972px;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
  opacity: .5;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .5s var(--ease), border-color .4s, opacity .9s var(--ease), filter .9s var(--ease);
}
.service:hover { transform: translateY(-8px); border-color: var(--c-line-2); }
.service__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 40px; }
.service__num { font-family: var(--font-display); font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: rgba(255,255,255,.18); transition: color .4s; }
.service:hover .service__num { color: var(--c-accent); }
.service__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--c-line-2);
  color: var(--c-text-soft);
}
.service__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 14px; }
.service__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service__link:focus-visible { outline: none; }
.service__link:focus-visible::after { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.service__text { font-size: 15px; line-height: 1.6; color: var(--c-text-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.chips li {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--c-text-soft);
}

.service--accent {
  background: var(--grad-accent);
  border-color: transparent;
  color: var(--c-dark);
}
.service--accent .service__title .service__link { color: #fff; }
.service--accent .service__title .accent-white { color: var(--c-dark); }
.service--accent .service__num { color: rgba(11,11,12,.35); }
.service--accent:hover .service__num { color: var(--c-dark); }
.service--accent .service__tag { border-color: rgba(11,11,12,.3); color: var(--c-dark); }
.service--accent .service__text { color: rgba(11,11,12,.78); }
.service--accent .chips li { background: rgba(11,11,12,.1); color: var(--c-dark); }
.service--accent.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 45%); }
.service--accent.spot::after { display: none; }

.service.service--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.5fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "top title text"
    "top chips text";
  column-gap: 36px;
  min-height: 0;
  padding: 18px 24px;
  border-color: rgba(var(--c-accent-rgb), .45);
  background:
    radial-gradient(420px circle at 50% 50%, rgba(var(--c-accent-rgb), .12), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.service.service--wide:hover { transform: none; }
.service--wide .service__num { color: var(--c-accent); }
.service--wide .service__top { grid-area: top; justify-content: flex-start; gap: 14px; margin-bottom: 0; padding-bottom: 0; align-self: start; }
.service--wide .service__title { grid-area: title; margin-bottom: 10px; }
.service--wide .service__text { grid-area: text; }
.service--wide .chips { grid-area: chips; margin-top: 0; align-self: start; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industries__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--c-line);
}
.industry {
  position: relative;
  padding: 30px 26px 10px 0;
}
.industry + .industry { padding-left: 26px; border-left: 1px solid var(--c-line); }
.industry::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .6s var(--ease);
}
.industry:hover::before { transform: scaleX(1); }
.industry__idx { font-family: var(--font-mono); font-size: 13px; color: var(--c-accent); }
.industry h3 { margin: 18px 0 12px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.industry p { font-size: 15px; color: var(--c-text-soft); }

/* =========================================================
   WEBGPU (карточки проектов + окно с iframe)
   ========================================================= */
.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.project {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  transition: transform .5s var(--ease), border-color .4s;
}
.project:hover { transform: translateY(-8px); border-color: var(--c-line-2); }
.project__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: var(--c-bg-2);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project__media img { transform: scale(1.05); }
.project__open {
  position: absolute;
  right: 16px; bottom: 16px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-accent);
  transition: transform .5s var(--ease);
}
.project__open::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--c-dark);
}
.project:hover .project__open { transform: scale(1.1); }
.project__body { display: block; padding: 22px 24px 24px; }
.project__title { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 8px; }
.project__text { display: block; font-size: 15px; line-height: 1.6; color: var(--c-text-soft); }
.project--soon { align-items: center; justify-content: center; min-height: 220px; padding: 24px; text-align: center; border-style: dashed; }
.project--soon:hover { transform: none; border-color: var(--c-line); }
.project--soon .project__title { margin-bottom: 0; color: var(--c-text-soft); }

.project-modal {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 20px;
  border: 0;
  color: var(--c-text);
  background: transparent;
}
.project-modal[open] { display: flex; align-items: center; justify-content: center; animation: fade-in .35s var(--ease); }
.project-modal::backdrop {
  background: rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.project-modal__window {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1500px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--c-line-2);
  background: var(--c-bg-2);
  animation: zoom-in .5s var(--ease);
}
.project-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  padding: 10px 10px 10px 22px;
  border-bottom: 1px solid var(--c-line);
}
.project-modal__title { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.project-modal__bar .lightbox__close { position: relative; top: auto; right: auto; flex-shrink: 0; }
.project-modal__frame { position: relative; flex: 1; min-height: 0; }
.project-modal__frame::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 3px solid var(--c-line-2);
  border-top-color: var(--c-accent);
  animation: project-spin 1s linear infinite;
}
.project-modal__frame.is-loaded::before { display: none; }
@keyframes project-spin { to { transform: rotate(360deg); } }
.project-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; }
.project-modal__frame.is-loaded iframe { opacity: 1; }

/* =========================================================
   3D КОНФИГУРАТОРЫ
   ========================================================= */
.configs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.configs__sub {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.configs__list { display: grid; gap: 14px; margin-top: 18px; counter-reset: cfg; }
.configs__list li {
  position: relative;
  padding-left: 44px;
  line-height: 1.5;
  color: var(--c-text-soft);
  counter-increment: cfg;
}
.configs__list li b { color: var(--c-text); font-weight: 600; }
.configs__list li::before {
  content: counter(cfg);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(var(--c-accent-rgb), .14);
  border: 1px solid rgba(var(--c-accent-rgb), .5);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-accent);
}

/* =========================================================
   VIDEO
   ========================================================= */
.video__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--c-accent-rgb), .9), rgba(255,255,255,.06) 45%, rgba(var(--c-accent-rgb), .6));
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 40px -14px rgba(var(--c-accent-rgb), .4);
}
.video__poster, .video__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: calc(var(--radius) - 1px);
  overflow: hidden;
  background: #000;
}
.video__poster { position: relative; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.video__poster::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent 50%);
}
.video__poster:hover img { transform: scale(1.05); opacity: .85; }
.video__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 92px; height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: var(--c-accent);
  z-index: 1;
  transition: transform .5s var(--ease);
}
.video__play::before {
  content: "";
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(var(--c-accent-rgb), .6);
  animation: ring 2.4s var(--ease) infinite;
}
.video__play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 23px;
  border-color: transparent transparent transparent var(--c-dark);
}
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.video__poster:hover .video__play { transform: scale(1.1); }
.video__hint {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: left;
  color: rgba(255,255,255,.85);
}
.video__text { font-size: var(--fs-lead); color: var(--c-text-soft); }

.checklist { display: grid; gap: 14px; margin-top: 28px; }
.checklist li {
  position: relative;
  padding-left: 36px;
  font-weight: 600;
  line-height: 1.45;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(var(--c-accent-rgb), .14);
  border: 1px solid rgba(var(--c-accent-rgb), .5);
}
.checklist li::after {
  content: "";
  position: absolute; left: 8px; top: 5px;
  width: 5px; height: 9px;
  border: solid var(--c-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* =========================================================
   GALLERY (tabs + slider)
   ========================================================= */
.tabs {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--c-line-2);
  background: rgba(255,255,255,.03);
  flex-shrink: 0;
}
.tabs__btn {
  position: relative;
  z-index: 1;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  color: var(--c-text-soft);
  transition: color .35s;
}
.tabs__btn:hover:not(.is-active) { color: var(--c-text); }
.tabs__btn.is-active { color: var(--c-dark); }
.tabs__pill {
  position: absolute;
  top: 5px; bottom: 5px; left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--grad-accent);
  box-shadow: 0 6px 20px -6px rgba(var(--c-accent-rgb), .7);
}
.tabs__pill.is-ready { transition: transform .5s var(--ease), width .5s var(--ease); }

.slider { position: relative; }
.slider.is-entering { animation: panel-in .7s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
.slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  scroll-snap-align: center;
  cursor: zoom-in;
}
#tab-agr .slider__track img { object-fit: contain; }
.slider__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}
.slider__count { font-family: var(--font-mono); font-size: 14px; color: var(--c-muted); min-width: 80px; }
.slider__count b { font-weight: 500; color: var(--c-text); }
.slider__dots { display: flex; justify-content: center; gap: 8px; flex: 1; }
.slider__dots button {
  position: relative;
  width: 28px; height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
  transition: width .5s var(--ease), background-color .3s;
}
.slider__dots button::before { content: ""; position: absolute; inset: -10px 0; }
.slider__dots button:hover { background: rgba(255,255,255,.4); }
.slider__dots button.is-active { width: 56px; background: var(--c-accent); }
.slider__arrows { display: flex; gap: 10px; }
.slider__arrow {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--c-line-2);
  transition: background-color .3s, border-color .3s, transform .4s var(--ease);
}
.slider__arrow::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.slider__arrow--prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
.slider__arrow--next::after { transform: translate(-70%, -50%) rotate(45deg); }
.slider__arrow:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-dark); transform: scale(1.06); }

/* =========================================================
   ADVANTAGES (bento)
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.bento__item {
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: transform .5s var(--ease), border-color .4s, opacity .9s var(--ease), filter .9s var(--ease);
}
.bento__item:hover { transform: translateY(-6px); border-color: var(--c-line-2); }
.bento__item--wide { grid-column: span 2; }
.bento__item img {
  width: 52px; height: 52px;
  padding: 12px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(var(--c-accent-rgb), .1);
  border: 1px solid rgba(var(--c-accent-rgb), .25);
  margin-bottom: 26px;
  transition: transform .5s var(--ease);
}
.bento__item:hover img { transform: rotate(-8deg) scale(1.08); }
.bento__item h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 10px; }
.bento__item p { font-size: 15px; color: var(--c-text-soft); }
.bento__item--wide h3 { font-size: 22px; }
.bento__item--wide p { font-size: 16px; max-width: 460px; }

/* =========================================================
   STAGES (timeline)
   ========================================================= */
.stages__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}
.stages__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.stages__aside .btn { margin-top: 34px; }

.timeline { position: relative; }
.timeline__progress {
  position: absolute;
  top: 28px; bottom: 28px; left: 27px;
  width: 2px;
  background: var(--c-line);
  border-radius: 2px;
}
.timeline__progress span {
  position: absolute; inset: 0;
  background: var(--grad-accent);
  transform-origin: 50% 0;
  transform: scaleY(var(--tp, 0));
  box-shadow: 0 0 14px rgba(var(--c-accent-rgb), .7);
  border-radius: 2px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 26px;
  padding-bottom: 40px;
}
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-soft);
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-2);
  transition: background-color .5s var(--ease), color .5s, border-color .5s, box-shadow .5s;
}
.step.is-active .step__num {
  color: var(--c-dark);
  background: var(--c-accent);
  border-color: var(--c-accent);
  box-shadow: 0 0 0 6px rgba(var(--c-accent-rgb), .12), 0 0 24px rgba(var(--c-accent-rgb), .5);
}
.step h3 { padding-top: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; transition: color .4s; }
.step p { color: var(--c-text-soft); font-size: 15.5px; max-width: 520px; }

/* =========================================================
   FAQ (accordion)
   ========================================================= */
.accordion { display: grid; gap: 12px; }
.acc {
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  transition: border-color .4s, background-color .4s, opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.acc:hover { border-color: var(--c-line-2); }
.acc[open] { border-color: rgba(var(--c-accent-rgb), .45); background: rgba(var(--c-accent-rgb), .04); }
.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color .3s;
}
.acc__head::-webkit-details-marker { display: none; }
.acc__head:hover { color: var(--c-accent); }
.acc__icon {
  position: relative;
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--c-line-2);
  transition: background-color .4s, border-color .4s, transform .5s var(--ease);
}
.acc__icon::before, .acc__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  margin: -1px 0 0 -7px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .5s var(--ease);
}
.acc__icon::after { transform: rotate(90deg); }
.acc[open] .acc__icon { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-dark); transform: rotate(180deg); }
.acc[open] .acc__icon::after { transform: rotate(0deg); }
.acc__body {
  padding: 0 26px 26px;
  color: var(--c-text-soft);
  max-width: 780px;
  overflow: hidden;
}
.acc__body p + p { margin-top: 1em; }

/* =========================================================
   ORDER FORM
   ========================================================= */
.order__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  border: 1px solid var(--c-line-2);
  background:
    radial-gradient(600px circle at 0% 0%, rgba(var(--c-accent-rgb), .14), transparent 60%),
    radial-gradient(500px circle at 100% 100%, rgba(255, 142, 0, .1), transparent 60%),
    rgba(18, 18, 20, .7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.order__box::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 20% 20%, #000, transparent 60%);
  mask-image: radial-gradient(circle at 20% 20%, #000, transparent 60%);
  pointer-events: none;
}
.order__info { position: relative; }

.order__stage {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 42vw, 480px);
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: rgba(11,11,12,.6);
  overflow: hidden;
}
.order__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
/* Та же сетка в акцентном цвете, видна только вокруг курсора */
.order__grid--lit {
  background-image:
    linear-gradient(rgba(var(--c-accent-rgb), .6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--c-accent-rgb), .6) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), #000, transparent);
  mask-image: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), #000, transparent);
  opacity: 0;
  transition: opacity .4s;
}
.order__stage:hover .order__grid--lit { opacity: 1; }

.order__flare { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform, opacity; }
.order__flare--a {
  top: -25%; left: -20%;
  width: 75%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(var(--c-accent-rgb), .36), transparent);
  animation: flare-a 9s ease-in-out infinite alternate;
}
.order__flare--b {
  right: -25%; bottom: -30%;
  width: 85%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 142, 0, .36), transparent);
  animation: flare-b 12s ease-in-out infinite alternate;
}
.order__flare--streak {
  top: 40%; left: -30%;
  width: 160%; height: 110px;
  background: radial-gradient(closest-side, rgba(255, 232, 120, .42), transparent);
  opacity: 0;
  animation: flare-streak 7s ease-in-out infinite;
}
@keyframes flare-a {
  from { transform: translate3d(0, 0, 0) scale(.9); opacity: .55; }
  to   { transform: translate3d(30%, 22%, 0) scale(1.2); opacity: 1; }
}
@keyframes flare-b {
  from { transform: translate3d(0, 0, 0) scale(1.1); opacity: 1; }
  to   { transform: translate3d(-28%, -18%, 0) scale(.9); opacity: .5; }
}
@keyframes flare-streak {
  0%   { transform: translate3d(-25%, -60px, 0) rotate(-24deg); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translate3d(25%, 60px, 0) rotate(-24deg); opacity: 0; }
}

.order__contacts {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 4vw, 48px);
}
.order__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-soft);
  transition: color .2s;
}
.order__icon {
  position: relative;
  display: block;
  color: var(--c-accent);
  border-radius: 50%;
  background: #0b0b0c; /* закрывает вырезы значка, иначе в них виден фон */
  box-shadow: 0 0 14px rgba(var(--c-accent-rgb), .6), 0 0 40px rgba(var(--c-accent-rgb), .35);
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(var(--s, 1));
  transition: transform .3s var(--ease), box-shadow .3s;
}
/* Расходящиеся кольца: у второй кнопки смещены, чтобы кнопки пульсировали по очереди */
.order__icon::before, .order__icon::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 2px solid var(--c-accent);
  animation: ring 2.4s ease-out infinite;
  pointer-events: none;
}
.order__icon::after { animation-delay: 1.2s; }
.order__contacts li:nth-child(2) .order__icon::before { animation-delay: .6s; }
.order__contacts li:nth-child(2) .order__icon::after { animation-delay: 1.8s; }
.order__icon svg {
  display: block;
  width: clamp(88px, 12vw, 128px);
  height: auto;
  animation: order-nudge 4s ease-in-out infinite;
}
.order__contacts li:nth-child(2) .order__icon svg { animation-delay: 2s; }
@keyframes order-nudge {
  0%, 78%, 100% { transform: none; }
  82% { transform: rotate(-12deg) scale(1.06); }
  86% { transform: rotate(10deg) scale(1.06); }
  90% { transform: rotate(-6deg); }
  94% { transform: rotate(4deg); }
}
.order__cta:hover, .order__cta:focus-visible { color: var(--c-accent); }
.order__cta:hover .order__icon, .order__cta:focus-visible .order__icon {
  --s: 1.08;
  box-shadow: 0 0 20px rgba(var(--c-accent-rgb), .85), 0 0 64px rgba(var(--c-accent-rgb), .55);
}
.order__cta:hover svg, .order__cta:focus-visible svg { animation: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  background: var(--grad-footer);
  color: #000;
  padding: 56px 0 36px;
  overflow: hidden;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.footer__slogan { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: -.01em; max-width: 520px; line-height: 1.25; text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { display: block; color: #000; transition: transform .4s var(--ease), opacity .2s; }
.socials a:hover { transform: translateY(-4px) rotate(-6deg); opacity: .8; }
.socials svg { display: block; }
.footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.09) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, #000 30%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, #000 30%, transparent 90%);
  pointer-events: none;
}
.footer::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-60deg, rgba(0,0,0,.07) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.footer > .container { position: relative; z-index: 1; }
.footer__logo { display: block; width: min(380px, 100%); margin-inline: auto; }
.footer__logo img { width: 100%; transition: transform .8s var(--ease); }
.footer__logo:hover img { transform: scale(1.015); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,.2);
  font-weight: 600;
}
.footer__bottom a { transition: opacity .2s; }
.footer__bottom a:hover { opacity: .65; }

/* =========================================================
   TO TOP + LIGHTBOX
   ========================================================= */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(16,16,18,.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .4s, transform .4s var(--ease), visibility .4s, background-color .3s;
}
.to-top svg { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.to-top__ring {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 144.5;
  stroke-dashoffset: calc(144.5 - 144.5 * var(--p, 0));
}
.to-top::after {
  content: "";
  position: absolute;
  top: 56%; left: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.to-top:hover { background: var(--c-accent); }
.to-top:hover::after { border-color: var(--c-dark); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fade-in .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; animation: zoom-in .5s var(--ease); }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.94); } }
.lightbox__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .4s var(--ease), background-color .3s;
}
.lightbox__close:hover { transform: rotate(90deg); background: rgba(255,255,255,.1); }
.lightbox__close::before, .lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 2px;
  margin: -1px 0 0 -10px;
  background: #fff;
  transform: rotate(45deg);
}
.lightbox__close::after { transform: rotate(-45deg); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .header__phone { display: none; }
  .nav__list a { padding: 8px 10px; }
}

@media (max-width: 1100px) {
  .header__logo { flex-shrink: 0; }
  .nav__list { gap: 0; }
  .nav__list a { padding: 8px 7px; font-size: 14px; }
}

@media (max-width: 1199px) {
  .hero__grid { grid-template-columns: 1fr; gap: 70px; }
  .hero__text { max-width: 720px; }
  .hero__visual { max-width: 760px; width: 100%; margin-inline: auto; aspect-ratio: 6 / 5; }
  .hero__scene { width: 125%; transform: translate(-50%, -50%); }
  .float-card { right: 16px; }

  .service { min-height: 340px; }

  .industries__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry:nth-child(3) { padding-left: 0; border-left: 0; }
  .industry:nth-child(n+3) { border-top: 1px solid var(--c-line); margin-top: 24px; }

  .video__grid { grid-template-columns: 1fr; gap: 36px; }
  .configs__grid { grid-template-columns: 1fr; gap: 36px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .stages__grid { grid-template-columns: 1fr; gap: 50px; }
  .stages__aside { position: static; }

  .order__box { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 959px) {
  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service__top { padding-bottom: 28px; }
  .service.service--wide { display: flex; padding: 26px 24px 24px; }
  .service--wide .service__top { padding-bottom: 28px; align-self: stretch; }
  .service--wide .service__title { margin-bottom: 14px; }
  .service--wide .chips { margin-top: 22px; }

  :root { --header-h: 76px; }
  .header { padding-top: 10px; }
  .header__inner { padding: 0 10px 0 18px; }
  .header__logo img { height: 46px; }
  .burger { display: block; z-index: 2; }
  .header__actions { margin-left: auto; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    padding: calc(var(--header-h) + 30px) var(--gutter) 40px;
    background: rgba(11, 11, 12, .96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    overflow-y: auto;
    clip-path: circle(0 at calc(100% - 46px) 46px);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility .7s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    padding: 14px 0;
    font-family: var(--font-display);
    font-size: clamp(26px, 7vw, 38px);
    font-weight: 500;
    color: var(--c-text);
    border-radius: 0;
    border-bottom: 1px solid var(--c-line);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
  }
  .nav__list a:hover { background: none; color: var(--c-accent); }
  .nav__list a.is-active::after { display: none; }
  .nav.is-open .nav__list a { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(1) a { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(2) a { transition-delay: .17s; }
  .nav.is-open .nav__list li:nth-child(3) a { transition-delay: .22s; }
  .nav.is-open .nav__list li:nth-child(4) a { transition-delay: .27s; }
  .nav.is-open .nav__list li:nth-child(5) a { transition-delay: .32s; }
  .nav.is-open .nav__list li:nth-child(6) a { transition-delay: .37s; }
  .nav.is-open .nav__list li:nth-child(7) a { transition-delay: .42s; }
  .nav__mobile { display: grid; gap: 10px; }
  .nav__phone { font-size: 20px; font-weight: 700; color: var(--c-accent); margin-bottom: 14px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header__inner { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .hero { min-height: 0; padding-top: calc(var(--header-h) + 50px); }
  .scroll-hint { display: none; }

  .section-head--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 639px) {
  :root { --header-h: 68px; --gutter: 16px; --radius: 18px; }
  .header__cta { display: none; }
  .header__logo img { height: 42px; }

  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: 1fr; border-top: 0; margin-top: 40px; }
  .stat, .stat + .stat { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-left: 0; border-top: 1px solid var(--c-line); }
  .stat__value { min-width: 120px; }
  .stat__caption { margin-top: 0; }
  .hero__visual { aspect-ratio: auto; }
  .hero__scene { position: relative; top: auto; transform: translateX(-50%); }
  .float-card { position: relative; right: auto; bottom: auto; margin: -30px 12px 0; max-width: none; }

  .bento, .projects { grid-template-columns: 1fr; }
  .project-modal { padding: 0; }
  .project-modal__window { border: 0; border-radius: 0; }
  .bento__item--wide { grid-column: auto; }

  .industries__list { grid-template-columns: 1fr; border-top: 0; }
  .industry, .industry + .industry { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--c-line); margin-top: 0; }
  .industry:nth-child(n+2) { margin-top: 24px; }

  .video__play { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
  .video__play::after { border-width: 11px 0 11px 18px; }
  .video__hint { display: none; }

  .tabs { width: 100%; }
  .tabs__btn { flex: 1 1 auto; padding: 11px 10px; white-space: nowrap; }
  .slider__track img { aspect-ratio: 4 / 3; }
  .slider__dots { display: none; }
  .slider__arrow { width: 46px; height: 46px; }

  .step { grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding-bottom: 30px; }
  .step__num { width: 46px; height: 46px; font-size: 13px; }
  .timeline__progress { left: 22px; top: 23px; bottom: 23px; }
  .step h3 { padding-top: 8px; font-size: 18px; }

  .acc__head { padding: 18px; gap: 14px; }
  .acc__icon { width: 34px; height: 34px; }
  .acc__body { padding: 0 18px 20px; }

  .order__box { border-radius: 24px; padding: 22px; }

  .footer { padding: 40px 0 26px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- уменьшенное движение ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .js .hero__title .line > span { transform: none; }
  .cursor-glow { display: none; }
}
