/* ============ ТЕМЫ ============ */
:root,
:root[data-theme="dark"] {
  --bg: #07090d;
  --bg-2: #0c1017;
  --surface: #11161f;
  --surface-2: #161c27;
  --line: rgba(160, 190, 230, .10);
  --line-strong: rgba(160, 190, 230, .20);
  --text: #e9eef6;
  --text-2: #a3aec0;
  --text-3: #6b778b;
  --accent: #3fb8ff;
  --accent-2: #8fe3ff;
  --accent-soft: rgba(63, 184, 255, .12);
  --spark: #ffc857;
  --glow: rgba(63, 184, 255, .35);
  --grid: rgba(120, 160, 210, .05);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --header-bg: rgba(7, 9, 13, .72);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f6f9;
  --bg-2: #eaeef4;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --line: rgba(20, 40, 70, .10);
  --line-strong: rgba(20, 40, 70, .18);
  --text: #0e1724;
  --text-2: #4a5568;
  --text-3: #7a8699;
  --accent: #0a7fd1;
  --accent-2: #0a5fa0;
  --accent-soft: rgba(10, 127, 209, .09);
  --spark: #e59a00;
  --glow: rgba(10, 127, 209, .22);
  --grid: rgba(20, 50, 90, .05);
  --shadow: 0 30px 70px -35px rgba(20, 40, 80, .35);
  --header-bg: rgba(244, 246, 249, .78);
  color-scheme: light;
}

:root {
  --font-head: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
  box-shadow: 0 0 8px var(--glow);
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(26px, 4.2vw, 50px); overflow-wrap: break-word; }
@media (max-width: 600px) { h2 { hyphens: auto; -webkit-hyphens: auto; } }
.hero-grid > *, .about-grid > *, .lab-grid > *, .contact-wrap > *, .cards > * { min-width: 0; }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
p { margin: 0; }
.lead { color: var(--text-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 640px; }

section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }

/* ============ КНОПКИ ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--font-body); letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn-primary { background: var(--accent); color: #04121d; box-shadow: 0 10px 30px -10px var(--glow); }
:root[data-theme="light"] .btn-primary { color: #fff; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--glow); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 18px; height: 18px; }

/* ============ ШАПКА ============ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  position: relative;
}
.logo-mark svg { width: 20px; height: 20px; color: var(--accent); filter: drop-shadow(0 0 6px var(--glow)); }
.logo-text { display: grid; line-height: 1.1; }
.logo-text b { font-family: var(--font-head); font-weight: 500; font-size: 15px; letter-spacing: .02em; }
.logo-text span { font-size: 11px; color: var(--text-3); letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; gap: 30px; font-size: 15px; color: var(--text-2); }
.nav a { position: relative; transition: color .25s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 600; font-size: 15px; white-space: nowrap; transition: color .25s; }
.header-phone:hover { color: var(--accent); }

.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  display: grid; place-items: center; cursor: pointer; transition: border-color .3s, color .3s, transform .5s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

@media (max-width: 980px) { .nav { display: none; } }
@media (max-width: 600px) { .header-phone { display: none; } .logo-text span { display: none; } }

/* ============ HERO ============ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 65% 45%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 45%, #000 30%, transparent 75%);
}
.hero-bg::after {
  content: ""; position: absolute; width: 900px; height: 900px; right: -250px; top: -200px;
  background: radial-gradient(circle, var(--accent-soft), transparent 60%);
  filter: blur(20px);
}
#sparks { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.8vw, 66px); margin: 26px 0 26px; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: end; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.trace { fill: none; stroke: var(--line-strong); stroke-width: 1.4; }
.pulse {
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 40 1200; stroke-dashoffset: 1240;
  filter: drop-shadow(0 0 6px var(--accent));
  animation: flow 5.5s linear infinite;
}
.pulse.p2 { animation-delay: -1.2s; animation-duration: 6.5s; }
.pulse.p3 { animation-delay: -2.6s; }
.pulse.p4 { animation-delay: -3.7s; animation-duration: 7s; }
.pulse.p5 { animation-delay: -4.4s; animation-duration: 6s; }
.pulse.p6 { animation-delay: -.6s; animation-duration: 7.5s; }
@keyframes flow { to { stroke-dashoffset: 0; } }
.node { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.4; }
.node-hot { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); animation: blink 3s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.core-ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .5; transform-origin: 260px 260px; animation: spin 40s linear infinite; stroke-dasharray: 2 10; }
.core-ring.r2 { animation-direction: reverse; animation-duration: 60s; opacity: .25; stroke-dasharray: 60 20; }
@keyframes spin { to { transform: rotate(360deg); } }
.core-box { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.4; }
.core-bolt { fill: var(--accent); filter: drop-shadow(0 0 14px var(--glow)); animation: hum 4s ease-in-out infinite; }
@keyframes hum { 0%,100% { opacity: .85; } 48% { opacity: 1; } 50% { opacity: .55; } 52% { opacity: 1; } }

.hero-stats {
  margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 26px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; }
.stat span { color: var(--text-3); font-size: 14px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { position: absolute; right: -200px; top: 40px; width: 460px; opacity: .18; z-index: -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 20px; }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 1px; height: 54px; background: var(--line-strong); overflow: hidden;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 0; top: -20px; width: 1px; height: 20px;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip { to { top: 60px; } }

/* ============ О КОМПАНИИ ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.about-text { display: grid; gap: 22px; color: var(--text-2); font-size: 18px; }
.about-text strong { color: var(--text); font-weight: 600; }
.quote {
  margin-top: 16px; padding: 28px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
  font-family: var(--font-head); font-size: 19px; line-height: 1.45; color: var(--text); letter-spacing: -.01em;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ============ КАРТОЧКИ ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 50%);
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%); opacity: 0;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; animation: sweep 1.4s var(--ease); }
@keyframes sweep { to { transform: translateX(100%); } }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 26px;
  border: 1px solid var(--line);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--text-2); font-size: 16px; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.card li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.card li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); transform: rotate(45deg); opacity: .8;
}
.card-num { position: absolute; top: 28px; right: 28px; font-family: var(--font-head); font-size: 13px; color: var(--text-3); }
.card.featured { grid-column: span 2; }
@media (max-width: 640px) { .card.featured { grid-column: auto; } }

/* ============ ЛАБОРАТОРИЯ ============ */
.lab { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.lab::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 10% 20%, var(--accent-soft), transparent 70%);
}
.lab-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
@media (max-width: 920px) { .lab-grid { grid-template-columns: 1fr; } }

.scope {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--surface); padding: 22px; box-shadow: var(--shadow);
}
.scope-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.scope-top .live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.scope-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 1.6s infinite; }
.scope-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 10% 100%,
    var(--bg);
  border: 1px solid var(--line);
}
:root[data-theme="dark"] .scope-screen { background-color: #05070a; }
.scope-screen svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave { fill: none; stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 4px var(--accent)); }
.wave.w2 { stroke: var(--spark); opacity: .7; stroke-width: 1.5; filter: none; }
.scope-readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.readout { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.readout span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.readout b { font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--text); }
.readout b.ok { color: var(--accent); }
@media (max-width: 480px) { .scope { padding: 14px; } .readout { padding: 10px; } .readout b { font-size: 12px; } .readout span { font-size: 10px; letter-spacing: .04em; } }

.lab-list { display: grid; gap: 4px; margin-top: 36px; }
.lab-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0;
  border-top: 1px solid var(--line);
}
.lab-item:last-child { border-bottom: 1px solid var(--line); }
.lab-item .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-strong); }
.lab-item .ico svg { width: 20px; height: 20px; }
.lab-item h3 { font-size: 17px; margin-bottom: 6px; }
.lab-item p { color: var(--text-2); font-size: 15.5px; }

/* ============ ПРЕИМУЩЕСТВА ============ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.adv { padding: 40px 30px; position: relative; transition: background .4s; }
.adv + .adv { border-left: 1px solid var(--line); }
.adv:hover { background: var(--surface-2); }
.adv-big {
  font-family: var(--font-head); font-size: clamp(36px, 3.6vw, 50px); font-weight: 500; letter-spacing: -.03em;
  line-height: 1; margin-bottom: 26px; color: var(--text);
}
.adv-big sup { font-size: .45em; color: var(--accent); vertical-align: top; margin-left: 2px; }
.adv h3 { font-size: 17px; margin-bottom: 10px; }
.adv p { color: var(--text-2); font-size: 15px; }
@media (max-width: 980px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv:nth-child(3) { border-left: 0; }
  .adv:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv + .adv { border-left: 0; border-top: 1px solid var(--line); }
}

/* ============ ЭТАПЫ ============ */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.steps-line { position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line-strong); overflow: hidden; }
.steps-line::after {
  content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent);
  transition: width 2.4s var(--ease) .2s;
}
.steps.in .steps-line::after { width: 100%; }
.step { position: relative; }
.step-dot {
  width: 47px; height: 47px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-strong);
  font-family: var(--font-head); font-size: 14px; color: var(--text-2); margin-bottom: 26px;
  transition: border-color .5s, color .5s, box-shadow .5s;
}
.steps.in .step-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.steps.in .step:nth-child(2) .step-dot { transition-delay: .5s; }
.steps.in .step:nth-child(3) .step-dot { transition-delay: .9s; }
.steps.in .step:nth-child(4) .step-dot { transition-delay: 1.3s; }
.steps.in .step:nth-child(5) .step-dot { transition-delay: 1.7s; }
.steps.in .step:nth-child(6) .step-dot { transition-delay: 2.1s; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .steps-line { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps-line::after { width: 1px; height: 0; transition: height 2.4s var(--ease) .2s; }
  .steps.in .steps-line::after { width: 1px; height: 100%; }
  .step { display: grid; grid-template-columns: 47px 1fr; gap: 20px; padding-bottom: 30px; }
  .step-dot { margin-bottom: 0; }
}

/* ============ КОНТАКТЫ ============ */
.contact-wrap {
  position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--surface);
  display: grid; grid-template-columns: 1.05fr .95fr; isolation: isolate;
}
.contact-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 400px at 0% 0%, var(--accent-soft), transparent 70%);
}
.contact-main { padding: clamp(36px, 5vw, 64px); display: grid; gap: 26px; align-content: start; }
.contact-main h2 { font-size: clamp(28px, 3.6vw, 44px); }
.contact-lines { display: grid; gap: 18px; margin-top: 10px; }
.cl { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.cl svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.cl span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.cl b { font-weight: 600; font-size: 17px; }
.cl a b { transition: color .25s; }
.cl a:hover b { color: var(--accent); }

.form { padding: clamp(36px, 5vw, 64px); border-left: 1px solid var(--line); display: grid; gap: 16px; align-content: start; background: var(--surface-2); }
.form h3 { margin-bottom: 6px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--text-3); }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font: 500 16px var(--font-body); outline: none; transition: border-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form .btn { justify-content: center; width: 100%; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--text-3); }
.form-ok { display: none; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--text); font-size: 15px; border: 1px solid var(--line-strong); }
.form.sent .form-ok { display: block; }
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .form { border-left: 0; border-top: 1px solid var(--line); }
}

/* ============ ПОДВАЛ ============ */
.footer { padding: 50px 0 40px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; align-items: flex-start; }
.req { display: grid; gap: 4px; }
.req b { color: var(--text-2); font-weight: 600; }

/* ============ ПОЯВЛЕНИЕ ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

.hero .reveal { transition-duration: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .steps-line::after { width: 100% !important; }
}

.divider-spark {
  position: absolute; left: 0; right: 0; top: 0; height: 1px; overflow: hidden; pointer-events: none;
}
.divider-spark::after {
  content: ""; position: absolute; top: 0; left: -20%; width: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: travel 7s linear infinite;
}
@keyframes travel { to { left: 120%; } }
