@charset "UTF-8";
/* ============================================================
   NOVA·AI — дизайн-система лендинга
   Палитра: глубокий нави + электрический циан (из hero-фото)
   Шрифты: Unbounded (дисплей) · Inter (текст) · JetBrains Mono (метки)
   ============================================================ */

:root {
  --bg-0: #04070f;
  --bg-1: #060b18;
  --bg-2: #0a1224;
  --panel: rgba(13, 22, 42, 0.55);
  --panel-solid: #0b1426;
  --line: rgba(122, 162, 255, 0.14);
  --line-bright: rgba(84, 209, 255, 0.4);
  --text: #e9eefb;
  --muted: #93a3c4;
  --faint: #5c6a8a;
  --cyan: #54d1ff;
  --blue: #4f7cff;
  --violet: #8b7cff;
  --glow: rgba(84, 209, 255, 0.35);
  --grad: linear-gradient(100deg, #54d1ff 0%, #6d8bff 100%);
  --font-display: 'Unbounded', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --radius: 18px;
  --header-h: 76px;
  --section-pad: clamp(88px, 12vw, 148px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Плёночное зерно поверх всего — премиальная фактура */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

::selection { background: rgba(84, 209, 255, 0.28); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #1a2a4a; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #24385f; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Типографика ---------- */

.overline {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.overline::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--grad);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-top: 18px;
  text-wrap: balance;
}

.section-lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 640px;
  margin-top: 18px;
  text-wrap: pretty;
}

.accent-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.btn--primary {
  background: var(--grad);
  color: #041018;
  box-shadow: 0 0 0 1px rgba(84, 209, 255, 0.35), 0 8px 32px rgba(59, 130, 246, 0.28), 0 0 44px rgba(84, 209, 255, 0.18);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(84, 209, 255, 0.55), 0 14px 44px rgba(59, 130, 246, 0.4), 0 0 72px rgba(84, 209, 255, 0.3);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(10, 18, 36, 0.4);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--line-bright);
  box-shadow: 0 0 24px rgba(84, 209, 255, 0.12);
  transform: translateY(-2px);
}

.btn--sm { padding: 11px 20px; font-size: 14px; border-radius: 10px; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- Шапка ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(4, 7, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.logo .logo-ai {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo .logo-dot { color: var(--cyan); }

.nav { display: flex; align-items: center; gap: 34px; }

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.header-cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.burger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: rgba(4, 7, 15, 0.96);
  backdrop-filter: blur(20px);
  padding: 40px 24px;
  flex-direction: column;
  gap: 8px;
}

body.menu-open .mobile-menu { display: flex; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 10px);
  padding-bottom: 96px; /* нижняя зона зарезервирована под scroll-hint */
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 72% 38%, rgba(37, 78, 165, 0.22), transparent 65%),
    radial-gradient(900px 600px at 18% 78%, rgba(80, 60, 180, 0.12), transparent 60%),
    var(--bg-0);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero::after {
  /* нижний градиент-переход в следующую секцию */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg-0));
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 32px;
}

/* текст всегда поверх орбит — плашки процессов уходят за него, создавая глубину */
.hero-copy { position: relative; z-index: 2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(84, 209, 255, 0.25);
  background: rgba(84, 209, 255, 0.06);
  padding: 9px 16px;
  border-radius: 100px;
}

.badge .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 22px;
  text-wrap: balance;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.65;
  max-width: 540px;
  margin-top: 18px;
  text-wrap: pretty;
}

.terminal-line {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--faint);
  margin-top: 20px;
  min-height: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-line .prompt { color: var(--cyan); }

.terminal-line .cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--cyan);
  animation: blink 1.1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cta-note {
  width: 100%;
  font-size: 13.5px;
  color: var(--faint);
  margin-top: 2px;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 150px;
  line-height: 1.45;
}

/* --- Hero: портрет-божество с орбитами --- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.deity {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.halo {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(84, 209, 255, 0.5) 40deg, transparent 90deg,
    transparent 160deg, rgba(109, 139, 255, 0.4) 210deg, transparent 260deg,
    transparent 320deg, rgba(84, 209, 255, 0.3) 350deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  animation: halo-spin 22s linear infinite;
}

.halo--inner {
  inset: 3%;
  animation-duration: 30s;
  animation-direction: reverse;
  opacity: 0.7;
}

@keyframes halo-spin { to { transform: rotate(360deg); } }

.deity-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 209, 255, 0.16) 0%, rgba(59, 130, 246, 0.08) 45%, transparent 70%);
  animation: deity-breathe 7s ease-in-out infinite;
  filter: blur(6px);
}

@keyframes deity-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.portrait-wrap {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  overflow: hidden;
  animation: levitate 9s ease-in-out infinite;
}

@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 52%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 42%, #000 52%, transparent 74%);
  animation: portrait-breathe 8s ease-in-out infinite;
}

@keyframes portrait-breathe {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.018); filter: brightness(1.06); }
}

.scanline {
  position: absolute;
  left: 6%; right: 6%;
  top: -30%;
  height: 26%;
  background: linear-gradient(to bottom,
    transparent, rgba(84, 209, 255, 0.045) 40%, rgba(84, 209, 255, 0.1) 50%, rgba(84, 209, 255, 0.045) 60%, transparent);
  mix-blend-mode: screen;
  animation: scan 7.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

@keyframes scan {
  0%, 24% { top: -30%; opacity: 0; }
  30% { opacity: 1; }
  62% { top: 105%; opacity: 1; }
  63%, 100% { top: 105%; opacity: 0; }
}

/* Орбиты бизнес-процессов */

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(122, 162, 255, 0.16);
  animation: orbit-spin linear infinite;
}

.orbit--1 { inset: -7%; animation-duration: 52s; }
.orbit--2 { inset: -16%; animation-duration: 80s; animation-direction: reverse; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }

.orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(8, 14, 30, 0.82);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 13px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.orbit-node::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
}

/* контр-вращение, чтобы подписи оставались горизонтальными */
.orbit--1 .orbit-node { animation: orbit-counter-1 52s linear infinite; }
.orbit--2 .orbit-node { animation: orbit-counter-2 80s linear infinite; }

@keyframes orbit-counter-1 { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes orbit-counter-2 { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.scroll-hint {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.3s ease;
}

.scroll-hint:hover { color: var(--cyan); }

.scroll-hint .scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-drip 2.2s ease-in-out infinite;
}

/* подсказка-пасхалка видна только когда под статами есть воздух */
@media (min-height: 960px) {
  .scroll-hint { display: flex; }
}

@keyframes scroll-drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Бегущая строка «сейчас в работе» ---------- */

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(8, 14, 30, 0.5);
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}

.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before { left: 0; background: linear-gradient(to right, var(--bg-0), transparent); }
.ticker::after { right: 0; background: linear-gradient(to left, var(--bg-0), transparent); }

.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker-scroll 42s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker-scroll { to { transform: translateX(-50%); } }

.ticker-item {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}

.ticker-item::after { content: '\2726'; color: var(--cyan); font-size: 10px; }

.ticker-item b { color: var(--cyan); font-weight: 600; }

/* ---------- Секции ---------- */

.section { padding-block: var(--section-pad); position: relative; }

.section--alt {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(37, 78, 165, 0.1), transparent 60%),
    var(--bg-1);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 720px; }

.section-head--center { margin-inline: auto; text-align: center; }

.section-head--center .section-lead { margin-inline: auto; }

.section-head--center .overline { justify-content: center; }

/* ---------- Карточки (общий приём: свечение за курсором) ---------- */

.glow-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(84, 209, 255, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(84, 209, 255, 0.32);
  box-shadow: 0 18px 48px rgba(2, 6, 16, 0.55), 0 0 36px rgba(84, 209, 255, 0.07);
}

.glow-card:hover::before { opacity: 1; }

/* ---------- Блок 2: Проблема ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.problem-card { padding: 30px 30px 32px; }

.err-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #ff6b81;
  background: rgba(255, 107, 129, 0.08);
  border: 1px solid rgba(255, 107, 129, 0.22);
  display: inline-block;
  padding: 5px 11px;
  border-radius: 7px;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18.5px;
  line-height: 1.4;
  margin-top: 18px;
}

.card-text {
  color: var(--muted);
  font-size: 15.5px;
  margin-top: 12px;
}

.problem-outro {
  margin-top: 46px;
  padding: 26px 32px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(to right, rgba(84, 209, 255, 0.06), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 500;
  max-width: 780px;
  text-wrap: pretty;
}

/* ---------- Блок 3: Кто внедряет ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  margin-top: 54px;
}

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 30%, #0d1b36, var(--bg-0));
}

.about-photo img { width: 100%; height: auto; aspect-ratio: 0.95; object-fit: cover; object-position: 50% 20%; }

.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 7, 15, 0.72), transparent 45%);
}

.about-photo-caption {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  z-index: 2;
}

.about-photo-caption .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
}

.about-photo-caption .role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 5px;
}

.about-bio { color: var(--muted); font-size: 16.5px; max-width: 560px; }

.about-bio b { color: var(--text); font-weight: 600; }

.about-points { margin-top: 34px; display: grid; gap: 0; }

.point {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.point:last-child { border-bottom: 1px solid var(--line); }

.point-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  padding-top: 3px;
  flex-shrink: 0;
}

.point-title { font-weight: 600; font-size: 16.5px; }

.point-text { color: var(--muted); font-size: 15px; margin-top: 4px; }

.socials { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 100px;
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.social-link:hover {
  color: var(--cyan);
  border-color: var(--line-bright);
  box-shadow: 0 0 20px rgba(84, 209, 255, 0.12);
}

.social-link svg { width: 15px; height: 15px; }

/* ---------- Блок 4: Услуги (5 этапов) ---------- */

.services-list { margin-top: 54px; display: grid; gap: 16px; }

.service-card {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px 34px;
}

.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(84, 209, 255, 0.45);
  line-height: 1;
}

.service-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
}

.service-desc { color: var(--muted); font-size: 15.5px; margin-top: 10px; max-width: 640px; }

.service-terms {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.term-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(8, 14, 30, 0.6);
  padding: 6px 12px;
  border-radius: 7px;
  white-space: nowrap;
}

.term-chip b { color: var(--cyan); font-weight: 600; }

.services-note {
  margin-top: 34px;
  color: var(--muted);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.services-note .arrow { color: var(--cyan); }

/* ---------- Блок 5: Плитки автоматизации ---------- */

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.tile { padding: 26px 24px; display: flex; flex-direction: column; }

.tile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(84, 209, 255, 0.08);
  border: 1px solid rgba(84, 209, 255, 0.18);
  color: var(--cyan);
  margin-bottom: 18px;
}

.tile-icon svg { width: 22px; height: 22px; }

.tile-name { font-weight: 600; font-size: 16px; line-height: 1.4; }

.tile-text { color: var(--muted); font-size: 14px; margin-top: 9px; flex-grow: 1; }

.tile-metric {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.tiles-note { margin-top: 34px; color: var(--faint); font-size: 15px; text-align: center; }

/* ---------- Блок 6: Процесс (таймлайн) ---------- */

.timeline {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 3%; right: 3%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(122, 162, 255, 0.35) 12%, rgba(122, 162, 255, 0.35) 88%, transparent);
}

.tl-step { position: relative; padding-top: 30px; }

.tl-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 12px rgba(84, 209, 255, 0.5);
}

.tl-step:first-child .tl-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(84, 209, 255, 0.5);
  animation: tl-ping 2.6s ease-out infinite;
}

@keyframes tl-ping {
  0% { transform: scale(0.6); opacity: 1; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

.tl-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.tl-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.5px;
  margin-top: 8px;
  line-height: 1.4;
}

.tl-text { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

.process-note {
  margin-top: 56px;
  text-align: center;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 500;
  color: var(--text);
  max-width: 680px;
  margin-inline: auto;
  text-wrap: balance;
}

.process-note .accent-text { font-weight: 600; }

/* ---------- Блок 7: Кейсы ---------- */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.case-card { padding: 30px 28px; display: flex; flex-direction: column; }

.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.case-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 100px;
}

.case-tag--hl { color: var(--cyan); border-color: rgba(84, 209, 255, 0.3); }

.case-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  margin-top: 20px;
}

.case-task { color: var(--muted); font-size: 14.5px; margin-top: 12px; }

.case-results { margin-top: 22px; display: grid; gap: 10px; flex-grow: 1; align-content: start; }

.case-result {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14.5px;
}

.case-result b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.case-result span { color: var(--muted); }

.case-stack {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--faint);
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  letter-spacing: 0.03em;
  line-height: 1.7;
}

/* ---------- Блок 9: FAQ ---------- */

.faq-list { margin-top: 54px; max-width: 820px; margin-inline: auto; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 24px 4px;
  font-weight: 600;
  font-size: clamp(15.5px, 1.7vw, 17.5px);
  transition: color 0.25s ease;
}

.faq-q:hover { color: var(--cyan); }

.faq-q .faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.faq-q .faq-icon::before,
.faq-q .faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s ease;
}

.faq-q .faq-icon::before { width: 10px; height: 1.5px; }
.faq-q .faq-icon::after { width: 1.5px; height: 10px; }

.faq-item.open .faq-icon { border-color: var(--line-bright); background: rgba(84, 209, 255, 0.08); transform: rotate(180deg); }
.faq-item.open .faq-icon::after { transform: scaleY(0); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner { overflow: hidden; }

.faq-a-inner p {
  color: var(--muted);
  font-size: 15.5px;
  padding: 0 4px 26px;
  max-width: 700px;
}

/* ---------- Блок 10: Контакт + форма ---------- */

.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 20% 20%, rgba(37, 78, 165, 0.16), transparent 60%),
    radial-gradient(700px 460px at 85% 85%, rgba(80, 60, 180, 0.12), transparent 60%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 10px;
}

.contact-info .section-title { max-width: 480px; }

.contact-channels { margin-top: 40px; display: grid; gap: 14px; max-width: 380px; }

.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 14, 30, 0.5);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.channel:hover {
  border-color: var(--line-bright);
  transform: translateX(6px);
  box-shadow: 0 0 24px rgba(84, 209, 255, 0.08);
}

.channel-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(84, 209, 255, 0.08);
  border: 1px solid rgba(84, 209, 255, 0.18);
  color: var(--cyan);
  flex-shrink: 0;
}

.channel-icon svg { width: 19px; height: 19px; }

.channel-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.channel-value { font-weight: 600; font-size: 15.5px; margin-top: 2px; }

.lead-form {
  position: relative;
  padding: 38px 36px 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 80px rgba(2, 6, 16, 0.6);
}

.lead-form::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 23px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(84, 209, 255, 0.4), transparent 30%, transparent 70%, rgba(109, 124, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-title { font-family: var(--font-display); font-weight: 500; font-size: 21px; }

.form-sub { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }

.field { display: flex; flex-direction: column; gap: 7px; }

.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.field label .req { color: var(--cyan); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(4, 7, 15, 0.6);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 88px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2354d1ff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field select:invalid { color: var(--faint); }

.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--line-bright);
  box-shadow: 0 0 0 3px rgba(84, 209, 255, 0.12);
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--faint);
  cursor: pointer;
  line-height: 1.5;
}

.consent input {
  accent-color: var(--cyan);
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.consent a:hover { color: var(--cyan); }

.lead-form .btn { width: 100%; margin-top: 22px; }

.form-status {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.form-status.ok { color: #5ee8a4; }
.form-status.err { color: #ff6b81; }

/* ---------- Футер ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--bg-1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand .logo { font-size: 17px; }

.footer-tagline { color: var(--faint); font-size: 13.5px; margin-top: 12px; max-width: 300px; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}

.footer-links { display: grid; gap: 10px; }

.footer-links a { color: var(--muted); font-size: 14.5px; transition: color 0.2s ease; }

.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 13px;
}

.footer-bottom a { color: var(--faint); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom a:hover { color: var(--muted); }

/* ---------- Внутренние страницы (политика, блог, 404) ---------- */

.inner-page { padding: calc(var(--header-h) + 60px) 0 110px; min-height: 70vh; }

.page-article .section-head { margin-bottom: 42px; }

.entry-content { color: var(--muted); max-width: 760px; font-size: 16.5px; }

.entry-content h2, .entry-content h3 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 500;
  margin: 40px 0 14px;
  line-height: 1.35;
}

.entry-content h2 { font-size: 24px; }
.entry-content h3 { font-size: 19px; }
.entry-content p { margin: 14px 0; }
.entry-content ul, .entry-content ol { margin: 14px 0 14px 24px; }
.entry-content li { margin: 7px 0; }
.entry-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong { color: var(--text); }

.posts-list { display: grid; gap: 18px; margin-top: 44px; }
.post-card { padding: 28px 30px; }
.post-card .card-title { margin-top: 0; }
.post-card a { color: inherit; }
.post-card a:hover { color: var(--cyan); }

/* ---------- Появление при скролле ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero { padding-bottom: 90px; }
  .hero-visual { min-height: 0; order: -1; margin-top: -12px; }
  .deity { width: min(72vw, 380px); }
  .orbit--2 { display: none; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .terminal-line { justify-content: center; }
  .stat-label { max-width: 130px; }
  .tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .timeline::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 56px 1fr; }
  .service-terms { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; text-align: left; margin-top: 4px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .problem-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .tiles-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 20px 16px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .form-fields { grid-template-columns: 1fr; }
  .lead-form { padding: 28px 22px 32px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .service-card { padding: 24px 22px; grid-template-columns: 1fr; gap: 14px; }
  .service-num { font-size: 24px; }
  .service-terms { grid-column: 1; }
  .deity { width: min(84vw, 340px); }
  .scroll-hint { display: none !important; }
  .orbit-node { font-size: 9.5px; padding: 5px 10px; gap: 5px; }
}

@media (max-width: 460px) {
  .tiles-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}

/* ---------- Доступность: отключение движения ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-canvas { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
