/* ===== База ===== */
:root {
  --bg: #05060b;
  --bg-alt: #090b13;
  --card: rgba(255, 255, 255, .03);
  --line: rgba(255, 255, 255, .08);
  --text: #eef0f8;
  --muted: #8b93ab;
  --accent: #7c5cff;
  --accent-2: #00e5b0;
  --accent-3: #00b3ff;
  --accent-grad: linear-gradient(120deg, #7c5cff 0%, #00b3ff 50%, #00e5b0 100%);
  --radius: 20px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
  --font-display: 'Unbounded', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(124, 92, 255, .45); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#7c5cff, #00b3ff);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 900px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; }
h1, h2 { font-family: var(--font-display); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 44px); }
h3 { font-size: 19px; font-weight: 700; }

.grad-text {
  background: var(--accent-grad);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238, 240, 248, .65);
}

/* Свечение за курсором по всему сайту */
.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(124, 92, 255, .13), rgba(0, 179, 255, .05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .5s;
  will-change: transform;
}
.cursor-glow--on { opacity: 1; }

/* Прогресс скролла */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--accent-grad);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 300;
}

/* ===== Анимированная аврора на фоне ===== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .5;
  animation: auroraMove 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) {
  width: 55vw; height: 55vw;
  left: -15vw; top: -20vh;
  background: radial-gradient(circle, rgba(124, 92, 255, .5), transparent 65%);
}
.aurora i:nth-child(2) {
  width: 45vw; height: 45vw;
  right: -12vw; top: 25vh;
  background: radial-gradient(circle, rgba(0, 179, 255, .35), transparent 65%);
  animation-delay: -7s;
  animation-duration: 26s;
}
.aurora i:nth-child(3) {
  width: 40vw; height: 40vw;
  left: 25vw; bottom: -25vh;
  background: radial-gradient(circle, rgba(0, 229, 176, .28), transparent 65%);
  animation-delay: -14s;
  animation-duration: 30s;
}
@keyframes auroraMove {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, -4vh) scale(1.15); }
  100% { transform: translate(-4vw, 5vh) scale(.95); }
}

/* Лёгкий шум поверх — «плёночная» фактура */
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ===== Кнопки ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 0;
  border-radius: 14px;
  background: var(--accent-grad);
  background-size: 180% 180%;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, background-position .5s;
  box-shadow: 0 10px 34px rgba(124, 92, 255, .4);
  will-change: transform;
}
.btn:hover { background-position: 90% 50%; box-shadow: 0 14px 44px rgba(0, 179, 255, .45); }
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s;
}
.btn:hover::after { left: 130%; }
.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--accent); box-shadow: 0 0 30px rgba(124, 92, 255, .25); }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }

/* ===== Шапка ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  background: rgba(5, 6, 11, .75);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo__mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, #7c5cff, #00b3ff, #00e5b0, #7c5cff);
  position: relative;
  flex: none;
  animation: spinMark 6s linear infinite;
}
@keyframes spinMark { to { transform: rotate(360deg); } }
.logo__mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
}
.logo__mark::before {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--accent-grad);
  z-index: 1;
}
.logo__text em { font-style: normal; }
.logo__text em, .grad-mark {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav__link {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.header__contacts { display: flex; align-items: center; gap: 18px; }
.header__phone { font-weight: 700; font-size: 15px; white-space: nowrap; }
.header__phone:hover { color: var(--accent-2); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 180px 0 90px;
  overflow: hidden;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .8;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 26px;
  background: rgba(0, 229, 176, .06);
  backdrop-filter: blur(8px);
}
.hero__tag::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
.hero__title {
  font-size: clamp(34px, 5.2vw, 62px);
  margin-bottom: 24px;
}

/* Построчное появление заголовка */
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
}
.hero__title .line__in {
  display: inline-block;
  transform: translateY(115%);
  animation: lineUp .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.hero__title .line:nth-child(1) .line__in { animation-delay: .15s; }
.hero__title .line:nth-child(2) .line__in { animation-delay: .3s; }
.hero__title .line:nth-child(3) .line__in { animation-delay: .45s; }
.hero__title .line:nth-child(4) .line__in { animation-delay: .6s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero__subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero__facts {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__facts span { color: var(--muted); font-size: 14px; }

/* 3D-браузер с наклоном */
.hero__card { position: relative; perspective: 1200px; }
.hero__browser {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 30, .8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
}
.hero__browser-bar {
  display: flex; gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.hero__browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hero__browser-bar i:first-child { background: #ff5f57; }
.hero__browser-bar i:nth-child(2) { background: #febc2e; }
.hero__browser-bar i:nth-child(3) { background: #28c840; }
.hero__browser-bar span {
  margin-left: 10px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, .05);
  padding: 3px 12px;
  border-radius: 6px;
}
.hero__browser-body { padding: 30px; display: grid; gap: 14px; }
.skeleton {
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.06) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
.skeleton--title {
  height: 30px; width: 78%;
  background: var(--accent-grad);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  opacity: .85;
}
.skeleton--short { width: 55%; }
.skeleton--btn {
  height: 44px; width: 48%;
  margin-top: 12px;
  background: var(--accent-grad);
  animation: none;
  box-shadow: 0 8px 24px rgba(124, 92, 255, .4);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* Орбитальные кольца за мокапом */
.hero__orbits { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__orbits i {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(124, 92, 255, .25);
  border-radius: 50%;
  animation: orbitSpin 24s linear infinite;
}
.hero__orbits i::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 14px var(--accent-2);
}
.hero__orbits i:nth-child(1) {
  width: 130%; aspect-ratio: 1;
  margin: -65% 0 0 -65%;
}
.hero__orbits i:nth-child(2) {
  width: 165%; aspect-ratio: 1;
  margin: -82.5% 0 0 -82.5%;
  border-color: rgba(0, 179, 255, .18);
  animation-duration: 38s;
  animation-direction: reverse;
}
.hero__orbits i:nth-child(2)::after { background: var(--accent-3); box-shadow: 0 0 14px var(--accent-3); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* ===== Бегущая строка ===== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.marquee__track span::after {
  content: '✦';
  color: var(--accent);
  font-size: 14px;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Секции ===== */
.section { padding: 100px 0; position: relative; }
.section--alt { background: rgba(255, 255, 255, .015); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.section__tag::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
}
.section__lead { color: var(--muted); margin-top: 16px; font-size: 17px; }

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

/* Карточки со свечением за курсором (spotlight) */
.spotlight {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(124, 92, 255, .16), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }

/* Карточки услуг */
.card {
  padding: 32px;
  transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-7px); border-color: rgba(124, 92, 255, .5); }
.card__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  font-size: 25px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 92, 255, .18), rgba(0, 179, 255, .1));
  border: 1px solid rgba(124, 92, 255, .3);
  margin-bottom: 20px;
  transition: transform .3s;
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.card__price {
  font-family: var(--font-display);
  color: var(--text) !important;
  font-weight: 700;
  margin-top: 18px !important;
}

/* Преимущества */
.feature { padding: 28px; }
.feature b {
  font-family: var(--font-display);
  font-size: 15px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature h3 { margin: 14px 0 8px; font-size: 17px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Портфолио */
.case {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .3s, box-shadow .3s;
}
.case:hover { transform: translateY(-7px); box-shadow: 0 24px 60px rgba(124, 92, 255, .18); }
.case__cover {
  position: relative;
  height: 200px;
  background-size: 300% 300%;
  animation: gradientMove 9s ease infinite;
  overflow: hidden;
}
.case__cover::after {
  content: 'Смотреть кейс →';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 6, 11, .55);
  backdrop-filter: blur(4px);
  font-weight: 700;
  font-size: 15px;
  opacity: 0;
  transition: opacity .3s;
}
.case:hover .case__cover::after { opacity: 1; }
.case__cover--1 { background-image: linear-gradient(130deg, #7c5cff, #00b3ff, #7c5cff); }
.case__cover--2 { background-image: linear-gradient(130deg, #00e5b0, #00b3ff, #00e5b0); }
.case__cover--3 { background-image: linear-gradient(130deg, #ff7a59, #7c5cff, #ff7a59); }
@keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.case__body { padding: 26px; }
.case__body p { color: var(--muted); font-size: 14px; margin: 10px 0 14px; }
.case__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Цены */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
}
.price-card--hot {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    var(--accent-grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 20px 60px rgba(124, 92, 255, .3);
}
.price-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent-grad);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(124, 92, 255, .5);
}
.price-card__sum {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin: 16px 0 22px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-card ul { display: grid; gap: 11px; margin-bottom: 30px; }
.price-card li { color: var(--muted); font-size: 15px; padding-left: 26px; position: relative; }
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.price-card .btn { margin-top: auto; }
.pricing__note { text-align: center; color: var(--muted); margin-top: 38px; }
.pricing__note a { color: var(--accent-2); font-weight: 600; }

/* Этапы */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.steps li {
  position: relative;
  padding: 30px;
  transition: transform .3s;
}
.steps li:hover { transform: translateY(-5px); }
.steps b {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-grad);
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(124, 92, 255, .35);
}
.steps p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Отзывы */
.review {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.review p { color: var(--text); font-size: 15px; }
.review p::before {
  content: '“';
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: .6;
  margin-bottom: 12px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.review footer { display: flex; flex-direction: column; }
.review footer b { font-size: 15px; }
.review footer span { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 0 26px;
  transition: border-color .3s;
}
.faq__item:hover { border-color: rgba(124, 92, 255, .4); }
.faq__item summary {
  cursor: pointer;
  padding: 22px 36px 22px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--accent-2);
  transition: transform .3s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--muted); padding-bottom: 22px; font-size: 15px; }

/* CTA + форма */
.section--cta {
  background:
    radial-gradient(800px 460px at 50% 0%, rgba(124, 92, 255, .2), transparent 65%),
    rgba(255, 255, 255, .015);
}
.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.cta__text p { color: var(--muted); margin: 18px 0 26px; }
.cta__list { display: grid; gap: 14px; }
.cta__list li { padding-left: 30px; position: relative; font-size: 15px; }
.cta__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 800;
}

.form {
  position: relative;
  background:
    linear-gradient(rgba(12, 14, 23, .96), rgba(12, 14, 23, .96)) padding-box,
    linear-gradient(140deg, rgba(124, 92, 255, .6), rgba(0, 229, 176, .35)) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}
.form__field { display: grid; gap: 8px; }
.form__field label { font-size: 14px; font-weight: 600; }
.form__field input,
.form__field textarea {
  width: 100%;
  padding: 14px 17px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, .15);
}
.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.form__consent input { margin-top: 3px; accent-color: var(--accent); }
.form__consent a { color: var(--accent-2); text-decoration: underline; }
.form__submit { width: 100%; }
.form__note { font-size: 14px; text-align: center; min-height: 20px; }
.form__note--ok { color: var(--accent-2); }
.form__note--err { color: #ff5f57; }

/* Контакты */
.contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contacts__item { padding: 30px; }
.contacts__item h3 {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.contacts__item a { font-size: 19px; font-weight: 700; }
.contacts__item a:hover { color: var(--accent-2); }
.contacts__item p { font-size: 17px; font-weight: 600; }
.contacts__item span { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* Подвал */
.footer { border-top: 1px solid var(--line); padding: 64px 0 0; background: rgba(255, 255, 255, .015); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__about { color: var(--muted); font-size: 14px; margin-top: 18px; max-width: 260px; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer__col a { display: block; color: var(--text); font-size: 14px; margin-bottom: 11px; }
.footer__col a:hover { color: var(--accent-2); }
.footer__req { color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Cookie */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  width: calc(100% - 40px);
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(12, 14, 23, .96);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--muted);
}
.cookie a { color: var(--accent-2); text-decoration: underline; }
.cookie .btn { flex: none; }

/* Анимация появления */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.98);
  transition: opacity .7s cubic-bezier(.2, .65, .3, 1), transform .7s cubic-bezier(.2, .65, .3, 1);
}
.reveal--in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__title .line__in { animation: none; transform: none; }
  .cursor-glow { display: none; }
  .case__cover, .skeleton, .aurora i, .logo__mark, .marquee__track, .hero__tag::before,
  .hero__orbits i, .grad-text {
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__card { max-width: 540px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; gap: 44px; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .header__contacts { margin-left: auto; }
  .nav--open {
    display: flex;
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 6, 11, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .nav--open .nav__link { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .grid--3 { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero { padding: 140px 0 70px; }
  .hero__orbits { display: none; }
  .cursor-glow { display: none; }
}

@media (max-width: 560px) {
  .grid--4, .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { gap: 26px; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  .form { padding: 26px; }
}
