/* ============================================================
   Simple IT Solutions — лендинг ІТ-інтегратора
   Темна тема, рожево-маджентова палітра, динамічні reveal-ефекти
   ============================================================ */

:root {
  --bg-0: #0a0e1a;
  --bg-1: #0e1525;
  --bg-2: #131b30;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hov: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --text-dim: #b4b4c2;
  --text-muted: #7a7a8a;
  --accent: #22d3ee;
  --accent-2: #0ea5e9;
  --accent-3: #3b82f6;
  --grad: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  --grad-soft: linear-gradient(135deg, rgba(14, 165, 233, 0.18) 0%, rgba(59, 130, 246, 0.18) 100%);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 20px 60px -10px rgba(59, 130, 246, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --gap: 24px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-0);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(14, 165, 233, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(59, 130, 246, 0.10), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ── Базова типографіка ──────────────────────────── */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0; }

.kicker, .section-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.section-kicker {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

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

/* ── Утиліти ──────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -9999px; top: -9999px;
  padding: 10px 14px; background: #fff; color: #000;
  border-radius: 6px; z-index: 10000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Прогрес-бар прокрутки ─────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--grad);
  z-index: 9999;
  transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

/* ── HEADER ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 24px; max-width: var(--container); margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; letter-spacing: -0.01em;
}
.brand-glyph svg { display: block; }
.brand-text strong { font-weight: 800; }

.site-nav {
  display: flex; gap: 28px;
  font-size: 0.95rem; color: var(--text-dim);
}
.site-nav a { transition: color 0.2s ease; position: relative; }
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--grad); border-radius: 2px;
}

/* ── Кнопки ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(59, 130, 246, 0.75);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-card-hov);
  border-color: rgba(59, 130, 246, 0.5);
}
.btn-cta-nav {
  background: var(--bg-card);
  border-color: var(--border-strong);
  color: var(--text);
  padding: 10px 18px; font-size: 0.9rem;
}
.btn-cta-nav:hover {
  background: var(--grad);
  border-color: transparent;
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-inner { position: relative; z-index: 2; max-width: 920px; }
.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px 36px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-meta div { display: inline-flex; align-items: center; gap: 10px; }
.meta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}
.meta-dot-pulse {
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

/* Декоративний фон hero */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.orb-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.55), transparent 65%);
  top: -120px; right: -100px;
  animation: float1 18s ease-in-out infinite;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 65%);
  bottom: -160px; left: -80px;
  animation: float2 22s ease-in-out infinite;
}
.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.32), transparent 65%);
  top: 40%; left: 50%;
  animation: float3 26s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,30px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,-40px)} }
@keyframes float3 { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.15)} }

.grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, transparent, var(--accent-3));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── MARQUEE ──────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.06), rgba(59, 130, 246, 0.06));
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 28px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: marquee 36s linear infinite;
  padding-left: 28px;
}
.marquee-track .dot { color: var(--accent-3); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── STATS ──────────────────────────────────────── */
.stats { padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.stat-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.stat-card:hover::before { opacity: 1; }
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 3.6vw, 2.8rem);
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}
.stat-suf { font-size: 0.6em; opacity: 0.85; }
.stat-label { color: var(--text-dim); font-size: 0.93rem; line-height: 1.45; }

/* ── SECTIONS ──────────────────────────────────────── */
.services, .why, .process, .clients, .contact { padding: 100px 0; }
.section-lede {
  font-size: 1.1rem; color: var(--text-dim);
  max-width: 760px; margin: 18px 0 56px;
}
.services > .container > h2,
.why > .container > h2,
.process > .container > h2,
.clients > .container > h2 { margin-bottom: 14px; max-width: 800px; }

.section-foot {
  margin-top: 48px;
  text-align: center;
  font-size: 1rem;
  color: var(--text-dim);
}
.section-foot a {
  color: var(--text); border-bottom: 1px solid var(--accent-3);
  padding-bottom: 1px; transition: color 0.2s ease;
}
.section-foot a:hover { color: var(--accent-3); }

/* ── СЕРВІСИ ──────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.service-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-mid {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), rgba(59, 130, 246, 0.04));
  border-color: rgba(59, 130, 246, 0.2);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-3);
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 10px; }
.service-blurb {
  color: var(--text-dim);
  margin-bottom: 22px;
  font-size: 0.97rem;
}
.service-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.service-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.service-list li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 12px; height: 8px;
  background: var(--accent-3);
  clip-path: polygon(0 50%, 30% 100%, 100% 0, 80% 0, 30% 70%, 15% 50%);
}

/* ── ЧОМУ МИ ──────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 40px;
}
.why-card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}
.why-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-3);
  letter-spacing: 0.12em;
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.06);
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ── ПРОЦЕС ──────────────────────────────────────── */
.process-steps {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.process-step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.6rem; font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.process-step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }

/* ── ТЕСТИМОНІАЛИ ──────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 40px;
}
.testimonial {
  margin: 0;
  padding: 32px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}
.testimonial::before {
  content: "\201C";
  position: absolute; top: 12px; right: 24px;
  font-family: Georgia, serif;
  font-size: 5rem; line-height: 1;
  color: rgba(59, 130, 246, 0.18);
  pointer-events: none;
}
.t-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.t-quote {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 22px;
}
.t-author {
  font-size: 0.9rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.t-author strong { color: var(--text); }
.t-company {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── CTA BANNER ──────────────────────────────────────── */
.cta-banner { padding: 60px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--grad);
  position: relative; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(59, 130, 246, 0.5);
}
.cta-inner::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12), transparent 40%);
  pointer-events: none;
}
.cta-text { position: relative; z-index: 1; max-width: 660px; }
.cta-text h2 { color: #fff; margin-bottom: 8px; }
.cta-text p { color: rgba(255, 255, 255, 0.9); font-size: 1rem; }
.cta-banner .btn-primary {
  position: relative; z-index: 1;
  background: #fff;
  color: var(--accent-2);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
}

/* ── КОНТАКТИ ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { margin: 14px 0 16px; }
.contact-lede { color: var(--text-dim); margin-bottom: 32px; }
.contact-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.contact-list li:hover { border-color: rgba(59, 130, 246, 0.3); background: var(--bg-card-hov); }
.ci-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: center;
}
.ci-value {
  color: var(--text);
  font-weight: 500;
}
a.ci-value:hover { color: var(--accent-3); }
.ci-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 18px;
}
.contact-form h3 { font-size: 1.4rem; }
.form-lede { color: var(--text-dim); font-size: 0.95rem; margin-top: -8px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.contact-form label span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-3);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-foot {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Honeypot — невидиме поле для ловлі ботів */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* Turnstile-віджет */
.cf-turnstile {
  margin-top: 4px;
  min-height: 65px;
  display: flex; justify-content: center;
}
.cf-turnstile:empty::before {
  content: "Завантажується перевірка…";
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  align-self: center;
}

/* Статус відправлення форми */
.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.form-status:empty { display: none; }
.form-status[data-kind="ok"] {
  background: rgba(74, 222, 128, 0.10);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.form-status[data-kind="err"] {
  background: rgba(239, 68, 68, 0.10);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.form-status a { color: inherit; text-decoration: underline; }

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Лого як <img> */
.brand-glyph {
  width: 34px; height: 34px;
  display: block; flex-shrink: 0;
}
.footer-brand .brand-glyph { width: 30px; height: 30px; }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.05));
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.footer-brand {
  display: flex; align-items: flex-start; gap: 14px;
  color: var(--text-dim); font-size: 0.95rem;
}
.footer-brand p { margin-top: 4px; }
.footer-brand strong { color: var(--text); }
.footer-nav {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 0.92rem; color: var(--text-dim);
}
.footer-nav a:hover { color: var(--accent-3); }
.footer-meta {
  font-size: 0.88rem; color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex; flex-direction: column; gap: 8px;
  text-align: right;
}
.footer-copy { color: var(--text-muted); }

/* ── ІЛЮСТРАЦІЇ (декоративні SVG) ──────────────────────────── */

/* Hero — мережева топологія справа від тексту */
.hero-illustration {
  position: absolute;
  top: 50%;
  right: -80px;
  width: 560px;
  max-width: 50%;
  height: auto;
  transform: translateY(-50%);
  z-index: 1; /* над orbs (z-index: 0), під .hero-inner (z-index: 2) */
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 20px 60px rgba(14, 165, 233, 0.25));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
}
@media (min-width: 1280px) {
  .hero-illustration { width: 620px; opacity: 0.8; }
}

/* Service-card — фонова ілюстрація знизу справа */
.service-card { position: relative; }
.service-illustration {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  opacity: 0.75;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: saturate(1.1);
  transition: opacity 0.4s ease, transform 0.6s ease;
}
.service-card:hover .service-illustration {
  opacity: 1;
  transform: scale(1.04);
}
.service-illustration-pulse {
  width: 240px;
  height: 180px;
  bottom: -30px;
  right: -30px;
}
/* Усе, що під ілюстрацією, має бути над нею */
.service-card .service-icon,
.service-card h3,
.service-card .service-blurb,
.service-card .service-list { position: relative; z-index: 1; }

/* Процес — горизонтальна ілюстрація-«рейка» позаду заголовка */
.process { position: relative; overflow: hidden; }
.process-illustration {
  position: absolute;
  top: 60px;
  left: 50%;
  width: min(1280px, 110%);
  transform: translateX(-50%);
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.process > .container { position: relative; z-index: 1; }

/* CTA banner — patterns поверх градієнта, нижче тексту */
.cta-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.cta-text, .cta-banner .btn-primary { position: relative; z-index: 2; }

/* На мобільному — приховуємо/спрощуємо ілюстрації (див. також блок @media 720) */
@media (max-width: 1024px) {
  .hero-illustration {
    right: -120px;
    width: 520px;
    opacity: 0.85;
  }
  .service-illustration { width: 180px; height: 180px; }
}

/* Reduced motion — глушимо SMIL-анімації всередині наших SVG */
@media (prefers-reduced-motion: reduce) {
  .hero-illustration,
  .process-illustration,
  .service-illustration,
  .cta-illustration {
    animation: none !important;
  }
}

/* ── REVEAL АНІМАЦІЇ ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PREFERS REDUCED MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track, .scroll-line, .meta-dot-pulse, .orb { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { text-align: left; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-inner { padding: 14px 20px; }
  .hero { padding: 80px 0 70px; }
  .hero-meta { gap: 14px 24px; font-size: 0.78rem; }
  .stats { padding: 60px 0; }
  .services, .why, .process, .clients, .contact { padding: 70px 0; }
  .stats-grid, .why-grid, .process-steps { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 6px; }
  .ci-label { font-size: 0.72rem; }
  .testimonial { padding: 26px 22px; }
  .cta-inner { padding: 28px; }
  .scroll-hint { display: none; }

  /* Декоративні ілюстрації — спростити на мобільному */
  .hero-illustration { display: none; }
  .service-illustration { width: 160px; height: 160px; opacity: 0.65; }
  .service-illustration-pulse { width: 160px; height: 120px; }
  .process-illustration { opacity: 0.7; top: 30px; }
  .cta-illustration { opacity: 0.5; }
}
