/* ============================================================
   RiskEvite · soxmate.com — Design System
   Dark, embossed, polished technology aesthetic
   ============================================================ */

:root {
  /* Palette */
  --bg: #05080f;
  --bg-2: #090e1a;
  --surface: #0c1322;
  --surface-2: #101a2e;
  --line: rgba(148, 180, 255, 0.10);
  --line-strong: rgba(148, 180, 255, 0.22);
  --text: #e8eefb;
  --text-2: #9fb0c9;
  --text-3: #64748b;
  --cyan: #22d3ee;
  --indigo: #818cf8;
  --violet: #c084fc;
  --gold: #fbbf24;
  --grad: linear-gradient(100deg, #22d3ee 0%, #818cf8 55%, #c084fc 100%);

  /* Emboss shadows */
  --emboss:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    0 24px 48px -12px rgba(0, 0, 0, 0.55);
  --emboss-soft:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 32px -8px rgba(0, 0, 0, 0.45);

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --nav-h: 76px;
}

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

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

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

::selection { background: rgba(34, 211, 238, 0.28); color: #fff; }

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

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

/* ---------- Ambient background ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(129, 140, 248, 0.13), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(34, 211, 238, 0.09), transparent 60%),
    radial-gradient(700px 700px at 60% 110%, rgba(192, 132, 252, 0.08), transparent 60%),
    var(--bg);
}
.ambient::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, black 30%, transparent 78%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: drift 26s ease-in-out infinite alternate;
}
.orb-a { width: 480px; height: 480px; top: -160px; right: -80px; background: rgba(129, 140, 248, 0.22); }
.orb-b { width: 420px; height: 420px; top: 40%; left: -180px; background: rgba(34, 211, 238, 0.14); animation-delay: -8s; }
.orb-c { width: 380px; height: 380px; bottom: -140px; right: 20%; background: rgba(192, 132, 252, 0.14); animation-delay: -16s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.12); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--grad); }

.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }
.section-lead { color: var(--text-2); max-width: 640px; font-size: 1.06rem; }

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

section { padding: 104px 0; position: relative; }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--grad); color: #04101a;
  box-shadow: 0 8px 28px -6px rgba(90, 160, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -6px rgba(90, 160, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03); color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss-soft);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.06); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 10, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(129, 140, 248, 0.16));
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss-soft);
}
.logo-text { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.logo-text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo-sub { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-3); margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px; border-radius: 999px; font-size: 0.92rem; font-weight: 500;
  color: var(--text-2); transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-cta { margin-left: 10px; padding: 11px 22px !important; background: var(--grad); color: #04101a !important; font-weight: 600; box-shadow: 0 6px 20px -6px rgba(90, 160, 255, 0.5); }
.nav-cta:hover { transform: translateY(-1px); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); position: relative; z-index: 110; }
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 60px) 0 60px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 28px;
  font-size: 0.82rem; font-weight: 500; color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss-soft);
  backdrop-filter: blur(8px);
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  font-weight: 700; letter-spacing: -0.03em;
  max-width: 15ch;
  margin-bottom: 26px;
}
.hero-lead { max-width: 560px; color: var(--text-2); font-size: clamp(1.02rem, 1.5vw, 1.16rem); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 70px; }

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }

/* Hero visual — orbital emblem */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.orbit-system { position: relative; width: min(420px, 80vw); aspect-ratio: 1; }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(148, 180, 255, 0.18);
  animation: spin 40s linear infinite;
}
.orbit-ring.r2 { inset: 13%; animation-duration: 30s; animation-direction: reverse; border-style: solid; border-color: rgba(148, 180, 255, 0.10); }
.orbit-ring.r3 { inset: 27%; animation-duration: 22s; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-node {
  position: absolute; top: -19px; left: calc(50% - 19px);
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss-soft), 0 0 24px rgba(34, 211, 238, 0.12);
  animation: spin 40s linear infinite reverse;
}
.orbit-ring.r2 .orbit-node { animation: spin 30s linear infinite; }
.orbit-ring.r3 .orbit-node { animation: spin 22s linear infinite reverse; }
.orbit-node svg { width: 18px; height: 18px; }

.orbit-core {
  position: absolute; inset: 36%;
  border-radius: 28%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #101a30, #0a1120);
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss), 0 0 80px rgba(129, 140, 248, 0.22);
}
.orbit-core svg { width: 52%; height: 52%; }

/* Hero stats bar */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  box-shadow: var(--emboss);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.hero-stat { padding: 28px 24px; position: relative; }
.hero-stat + .hero-stat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}
.hero-stat .num {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat .label { font-size: 0.86rem; color: var(--text-2); margin-top: 4px; }

/* ---------- Marquee ---------- */
.marquee-section { padding: 34px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; white-space: nowrap;
  color: var(--text-3); display: flex; align-items: center; gap: 56px;
}
.marquee-track span::after { content: "✦"; color: var(--cyan); opacity: 0.5; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / glass ---------- */
.glass-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--emboss);
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.glass-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }

/* ---------- EVITE pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pillar {
  padding: 34px 26px; text-align: left; position: relative; overflow: hidden;
}
.pillar::after {
  content: attr(data-letter);
  position: absolute; right: -10px; bottom: -34px;
  font-family: var(--font-display); font-size: 7rem; font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(148, 180, 255, 0.13);
  transition: -webkit-text-stroke-color 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.pillar:hover::after { -webkit-text-stroke-color: rgba(34, 211, 238, 0.45); transform: translateY(-6px); }
.pillar .p-letter {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.14), rgba(129, 140, 248, 0.14));
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss-soft);
  color: var(--cyan);
}
.pillar h3 { font-size: 1.12rem; margin-bottom: 10px; }
.pillar p { font-size: 0.9rem; color: var(--text-2); }

.evite-word {
  text-align: center; margin-bottom: 46px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--text-3);
}
.evite-word b { color: var(--cyan); font-weight: 700; }

/* ---------- Services ---------- */
.services-layout { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }

.service-tabs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: calc(var(--nav-h) + 24px); }
.service-tab {
  display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 18px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--text-2); font-weight: 500; font-size: 0.98rem;
  transition: all 0.25s ease;
}
.service-tab .idx { font-family: var(--font-display); font-size: 0.8rem; color: var(--text-3); width: 26px; }
.service-tab:hover { background: rgba(255, 255, 255, 0.035); color: var(--text); }
.service-tab.active {
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.10), rgba(129, 140, 248, 0.07));
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: var(--emboss-soft);
}
.service-tab.active .idx { color: var(--cyan); }

.service-panel { padding: 44px; display: none; animation: fadeUp 0.45s ease; }
.service-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.service-panel .s-icon {
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 24px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.14), rgba(129, 140, 248, 0.14));
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss-soft);
}
.service-panel h3 { font-size: 1.55rem; margin-bottom: 12px; }
.service-panel .s-desc { color: var(--text-2); margin-bottom: 28px; max-width: 56ch; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.service-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.93rem; color: var(--text-2);
  padding: 10px 0; border-bottom: 1px solid rgba(148, 180, 255, 0.07);
}
.service-list li::before {
  content: "→"; color: var(--cyan); font-weight: 700; flex-shrink: 0;
}

/* ---------- Process timeline ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.process-step { padding: 34px 28px; position: relative; counter-increment: step; }
.process-step::before {
  content: "0" counter(step);
  position: absolute; top: 26px; right: 26px;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--cyan); opacity: 0.85;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.22);
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 10px; padding-right: 56px; }
.process-step p { font-size: 0.92rem; color: var(--text-2); }
.process-step .p-ico { width: 46px; height: 46px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,0.03); border: 1px solid var(--line-strong); box-shadow: var(--emboss-soft); }

/* ---------- Leadership ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { padding: 36px 26px; text-align: center; position: relative; overflow: hidden; }
.team-card::before {
  content: ""; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: var(--grad); opacity: 0; transition: opacity 0.35s ease;
}
.team-card:hover::before { opacity: 1; }
.team-avatar {
  width: 86px; height: 86px; margin: 0 auto 22px; border-radius: 26px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  background: linear-gradient(145deg, #13203a, #0b1322);
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss-soft), 0 0 32px rgba(129, 140, 248, 0.12);
  color: var(--cyan);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.team-card .creds { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; }
.team-card .creds .hl { color: var(--gold); }

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 860px; margin-inline: auto; padding: 56px; text-align: center; position: relative;
}
.testimonial .quote-mark {
  font-family: var(--font-display); font-size: 5rem; line-height: 0.6; display: block; margin-bottom: 26px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.testimonial blockquote { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 400; line-height: 1.55; letter-spacing: -0.01em; margin-bottom: 30px; }
.testimonial .who { color: var(--text-2); font-size: 0.95rem; }
.testimonial .who b { color: var(--text); display: block; font-size: 1.02rem; }
.testimonial .stars { color: var(--gold); letter-spacing: 5px; margin-bottom: 18px; font-size: 1.05rem; }

/* ---------- Insights ---------- */
.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.insight-card { overflow: hidden; display: flex; flex-direction: column; }
.insight-cover {
  height: 190px; position: relative; overflow: hidden;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.insight-cover svg { width: 74px; height: 74px; opacity: 0.9; transition: transform 0.45s ease; }
.insight-card:hover .insight-cover svg { transform: scale(1.12) rotate(-3deg); }
.insight-cover.c1 { background: radial-gradient(120% 130% at 20% 0%, rgba(34, 211, 238, 0.16), transparent 60%), linear-gradient(160deg, #0e1a2e, #0a0f1e); }
.insight-cover.c2 { background: radial-gradient(120% 130% at 80% 0%, rgba(129, 140, 248, 0.18), transparent 60%), linear-gradient(160deg, #101a34, #0a0f1e); }
.insight-cover.c3 { background: radial-gradient(120% 130% at 50% 0%, rgba(192, 132, 252, 0.16), transparent 60%), linear-gradient(160deg, #131a2e, #0a0f1e); }
.insight-cover.c4 { background: radial-gradient(120% 130% at 30% 100%, rgba(251, 191, 36, 0.10), transparent 60%), linear-gradient(160deg, #101a30, #0a0f1e); }
.insight-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.insight-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.insight-body h3 { font-size: 1.18rem; line-height: 1.35; }
.insight-body p { font-size: 0.92rem; color: var(--text-2); flex: 1; }
.insight-link { font-size: 0.9rem; font-weight: 600; color: var(--text); display: inline-flex; gap: 8px; align-items: center; }
.insight-link span { transition: transform 0.25s ease; color: var(--cyan); }
.insight-card:hover .insight-link span { transform: translateX(5px); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; padding: 72px 56px; text-align: center; overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(600px 300px at 50% -40%, rgba(129, 140, 248, 0.25), transparent 70%),
    linear-gradient(160deg, #0e1830, #090e1c);
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, black, transparent 80%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.cta-band p { color: var(--text-2); max-width: 520px; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: rgba(4, 7, 13, 0.7); backdrop-filter: blur(10px); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 72px 0 52px; }
.footer-main h4 { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; font-weight: 600; }
.footer-main ul { display: flex; flex-direction: column; gap: 12px; }
.footer-main a { color: var(--text-2); font-size: 0.93rem; transition: color 0.2s ease; }
.footer-main a:hover { color: var(--cyan); }
.footer-about p { color: var(--text-2); font-size: 0.92rem; margin-top: 18px; max-width: 34ch; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 0.92rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--text-3);
}
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 90px) 0 70px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero .crumb { font-size: 0.85rem; color: var(--text-3); margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.page-hero .crumb a { color: var(--text-2); }
.page-hero .crumb a:hover { color: var(--cyan); }

/* ---------- Prose (articles, legal) ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 16px; }
.prose h3 { font-size: 1.15rem; margin: 32px 0 12px; color: var(--text); }
.prose p { color: var(--text-2); margin-bottom: 18px; }
.prose ul { margin: 0 0 20px 4px; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { color: var(--text-2); display: flex; gap: 12px; }
.prose ul li::before { content: "→"; color: var(--cyan); font-weight: 700; flex-shrink: 0; }
.prose b, .prose strong { color: var(--text); }
.prose a { color: var(--cyan); }
.prose .divider { height: 1px; background: var(--line); margin: 40px 0; }

.article-meta { display: flex; gap: 18px; align-items: center; color: var(--text-3); font-size: 0.88rem; margin-bottom: 8px; flex-wrap: wrap; }
.article-meta .tag { color: var(--cyan); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 26px; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text);
}
.faq-q .fx {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--cyan);
  transition: transform 0.3s ease; font-weight: 400;
}
.faq-item.open .fx { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--text-2); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; align-items: start; }
.contact-info-card { padding: 38px; display: flex; flex-direction: column; gap: 26px; }
.contact-row { display: flex; gap: 18px; align-items: flex-start; }
.contact-ico {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.12), rgba(129, 140, 248, 0.12));
  border: 1px solid var(--line-strong);
  box-shadow: var(--emboss-soft);
}
.contact-row h3 { font-size: 1rem; margin-bottom: 5px; }
.contact-row p, .contact-row a { color: var(--text-2); font-size: 0.93rem; }
.contact-row a:hover { color: var(--cyan); }

.contact-form-card { padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 500; color: var(--text-2); }
.form-field input, .form-field textarea, .form-field select {
  font: inherit; color: var(--text);
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(3, 6, 12, 0.55);
  border: 1px solid var(--line);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
  outline: none; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(34, 211, 238, 0.10);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--text-3); margin-top: 14px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--emboss); margin-top: 26px; filter: grayscale(0.4) contrast(1.05); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }
body.no-js .reveal { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

@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; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { min-height: 340px; order: -1; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:last-child { grid-column: 1 / -1; }
  .services-layout { grid-template-columns: 1fr; }
  .service-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .service-tab { flex-shrink: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .container { width: calc(100% - 40px); }

  .nav-links {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 10px;
    background: rgba(5, 8, 15, 0.96); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.25rem; padding: 14px 28px; }
  .nav-toggle { display: block; }

  .hero { padding-top: calc(var(--nav-h) + 30px); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat + .hero-stat::before { display: none; }
  .hero-stat { border-top: 1px solid var(--line); }
  .hero-stat:nth-child(-n+2) { border-top: 0; }
  .hero-stat:nth-child(even) { border-left: 1px solid var(--line); }

  .pillars { grid-template-columns: 1fr; }
  .pillar:last-child { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .service-panel { padding: 28px 22px; }
  .service-list { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .testimonial { padding: 36px 24px; }
  .cta-band { padding: 52px 26px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
}
