/* ============================================================
   CallConnect — Professional Website
   Design System & Global Styles
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --brand-purple: #7050EA;
  --brand-purple-light: #a99cf5;
  --navy: #0a1a3f;
  --navy-800: #0f2350;
  --primary: #7050EA;
  --primary-600: #5B3FD0;
  --primary-700: #4A32B0;
  --accent: #A78BFA;
  --accent-2: #C4B5FD;

  /* Neutrals — dark theme */
  --bg: #05060c;          /* page background */
  --ink: #f1f5f9;         /* headings / strong text */
  --body: #a9b4c6;        /* body copy */
  --muted: #7f8b9d;
  --line: rgba(255,255,255,.10);
  --surface: #10131e;     /* cards, panels, inputs */
  --surface-2: #0a0d16;   /* alternate section bands */
  --surface-3: #171b29;
  --white: #ffffff;

  /* Effects */
  --gradient: linear-gradient(135deg, #7050EA 0%, #A78BFA 100%);
  --gradient-navy: linear-gradient(150deg, #0a1a3f 0%, #1A1550 55%, #2A1C66 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .40), 0 1px 3px rgba(0, 0, 0, .30);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .60);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .75);
  --ring: 0 0 0 4px rgba(112, 80, 234, .15);

  /* Layout */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1660px;
  --header-h: 70px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", var(--font);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 3.5vw, 64px); }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--surface-2); }
.section--navy { background: var(--gradient-navy); color: #cbd5e1; }
.center { text-align: center; }
.grid { display: grid; gap: 28px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gradient); border-radius: 2px; }
.eyebrow.center-eb { justify-content: center; }

.h-xl { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.h-md { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.lead { font-size: 1.12rem; color: var(--body); }
.text-grad {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { max-width: 680px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: var(--radius-pill);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap; border: 1.6px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
/* Primary: solid purple -> inverts to white with purple outline on hover */
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 12px 24px -12px rgba(112, 80, 234, .6); }
.btn-primary:hover { background: #fff; color: var(--primary); border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(15,23,42,.28); }
/* Ghost: outlined, static (no hover change) */
.btn-ghost { background: transparent; color: #fff; border-color: rgba(196,181,253,.6); }
.btn-ghost:hover { background: transparent; color: #fff; border-color: rgba(196,181,253,.6); transform: none; }
/* Outline: on light bg -> fills purple on hover */
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(112,80,234,.35); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  /* fully transparent at the top of the page */
  background: transparent; backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s, backdrop-filter .3s;
}
/* solid once scrolled */
.site-header.scrolled {
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.08);
  background: rgba(9,18,42,.92); backdrop-filter: saturate(150%);
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header .nav { position: relative; max-width: none; padding-inline: clamp(20px, 3.5vw, 48px); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.25rem; letter-spacing: -.03em; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gradient); color: #fff; box-shadow: 0 8px 18px -8px rgba(112,80,234,.8);
}
.brand .logo svg { width: 22px; height: 22px; }
.brand b { color: var(--primary); font-weight: 700; }
.brand { gap: 9px; }
.brand-icon { height: 58px; width: auto; display: block; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.36rem; letter-spacing: -.025em; color: #fff; line-height: 1; }
/* keep header controls proportionate to the bar */
.site-header .btn { padding: 8px 22px; font-size: .94rem; }
.site-header .nav-links a { padding: 8px 15px; font-size: .94rem; }
.brand-name b { color: var(--brand-purple); font-weight: 700; }
.site-footer .brand-icon { height: 56px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name b { color: var(--brand-purple); }

.nav-links { display: flex; align-items: center; gap: 6px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .96rem; color: #cbd5e1;
  padding: 9px 16px; border-radius: var(--radius-pill); transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; background: rgba(112,80,234,.28); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: #e2e8f0; font-size: .95rem; }
.nav-phone svg { width: 18px; height: 18px; color: var(--brand-purple-light); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 70px) 0 90px;
  background: var(--gradient-navy); color: #e2e8f0; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -160px;
  background: radial-gradient(circle, rgba(167,139,250,.28), transparent 62%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -180px; bottom: -220px;
  background: radial-gradient(circle, rgba(112,80,234,.35), transparent 60%); pointer-events: none;
}
.hero .eyebrow { color: var(--accent-2); }
.hero .eyebrow::before { background: var(--accent-2); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.7rem); margin: 18px 0; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #C4B5FD, #E7DAF7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.15rem; color: #dbe4f0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust .t b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: #fff; letter-spacing: -.02em; }
.hero-trust .t span { font-size: .88rem; color: #cbd5e1; }

/* ---------- Hero: full-background video ---------- */
.hero--video { min-height: 92vh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
.hero--video::before, .hero--video::after { display: none; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
/* image heroes (About): bias the crop upward so faces stay in frame */
img.hero-bg { object-position: center 28%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,8,16,.60) 0%, rgba(6,8,16,.28) 42%, transparent 72%),
    linear-gradient(180deg, transparent 38%, rgba(6,8,16,.58) 100%);
}
/* Bottom-left content (no card) */
.hero-inner {
  position: absolute; z-index: 2; text-align: left;
  left: clamp(20px, 5vw, 72px); bottom: clamp(60px, 13vh, 150px);
  width: min(560px, calc(100% - 40px));
}
.hero-inner .eyebrow { justify-content: flex-start; color: var(--accent-2); }
.hero-inner h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.22; margin: 12px 0; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.hero-inner p { font-size: 1.04rem; color: #e2e8f0; max-width: none; margin: 0 0 24px; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.hero-inner .hero-actions { justify-content: flex-start; gap: 12px; margin-top: 0; }
@media (prefers-reduced-motion: reduce) { video.hero-bg { display: none; } }

/* ---------- Feature / service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(112,80,234,.1), rgba(112,80,234,.1)); color: var(--primary);
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--body); }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--primary); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Intro strip (below hero) ---------- */
/* single line of key facts, number inline with its label */
.intro-strip {
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: clamp(16px, 2vw, 26px) 0;
}
.intro-facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: baseline; gap: 12px clamp(24px, 4vw, 56px);
}
.intro-facts div { display: inline-flex; align-items: baseline; gap: 8px; }
.intro-facts b {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; line-height: 1; color: var(--accent);
}
.intro-facts span { font-size: .92rem; color: var(--muted); }

/* ---------- Why choose us ---------- */
.why-choose { background: var(--bg); }
.why-choose .section-head { max-width: 820px; }
.wcu-grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: clamp(26px, 3.5vw, 56px); align-items: center;
}
.wcu-col { display: grid; gap: clamp(34px, 4.5vw, 62px); }
.wcu-item h3 { font-size: 1.16rem; color: var(--accent); margin-bottom: 10px; }
.wcu-item p { color: var(--body); font-size: .98rem; }
/* accent bar sits to the left of the collage, as in the reference */
.wcu-media { position: relative; padding-left: 28px; }
.wcu-media::before {
  content: ""; position: absolute; left: 0; top: 6%; height: 42%;
  width: 7px; border-radius: 999px; background: var(--gradient);
}
.wcu-media img { width: 100%; max-width: 560px; height: auto; margin-inline: auto; }

@media (max-width: 980px) {
  .wcu-grid { grid-template-columns: 1fr; gap: 40px; }
  .wcu-media { order: -1; padding-left: 0; }
  .wcu-media::before { display: none; }
  .wcu-media img { max-width: 480px; }
}

/* ---------- Services / Featured grid ---------- */
.insights {
  position: relative; overflow: clip;
  background: #070912; color: #fff;
  padding: clamp(70px, 9vw, 120px) 0;
}
.insights::before {
  content: ""; position: absolute; right: -8%; top: 28%;
  width: 560px; height: 560px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(112,80,234,.40), transparent 62%);
  filter: blur(30px);
}
.insights-wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(300px, .8fr) 1.7fr;
  gap: clamp(34px, 4.5vw, 80px); align-items: center;
}
.insights-intro { align-self: center; }
.insights-intro h2 {
  color: #fff; margin: 16px 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.16;
}
.insights-intro h2 em { font-style: normal; color: var(--accent); }
.insights-intro .ins-lead { color: #cbd5e1; font-size: 1.12rem; margin-bottom: 28px; }

.insights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ins-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; will-change: transform; }
.ins-col--a { margin-top: 120px; }
.ins-col--b { margin-top: 56px; }

.ins-card {
  position: relative; display: block; overflow: hidden;
  border-radius: 18px; aspect-ratio: 8 / 7;
  width: 100%; flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 20px 42px -26px rgba(0,0,0,.9);
}
/* all cards share one uniform size */
.ins-card--tall, .ins-card--sm, .ins-card--xl { aspect-ratio: 8 / 7; }
.ins-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.ins-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,6,14,.86) 0%, rgba(4,6,14,.78) 22%, rgba(4,6,14,.45) 58%, rgba(4,6,14,.10) 100%);
}
.ins-body { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: 38px 22px 24px; }
/* card title = main heading, description = subheading */
.ins-card h3 { font-size: 1.32rem; font-weight: 700; line-height: 1.25; color: #fff; margin: 0; }
.ins-card p { margin: 10px 0 0; font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.8); }
.ins-card:hover img { transform: scale(1.07); }

@media (max-width: 980px) {
  .insights-wrap { grid-template-columns: 1fr; }
  .insights-intro { position: static; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .ins-col { display: contents; transform: none !important; }
}
@media (max-width: 560px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* ---------- Full-width video band ---------- */
/* Scroll runway — the section pins while the video shrinks left and text is revealed */
.video-band { position: relative; height: 300vh; padding: 0; background: #05060c; }
.video-band-sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden; line-height: 0; background: #05060c;
}
/* video is anchored left; JS shrinks its width/height on scroll */
.video-band-media {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  overflow: hidden; will-change: width, height;
}
.video-band-bg { width: 100%; height: 100%; object-fit: cover; display: block; }
/* text sits in the space the video vacates */
.video-band-text {
  position: absolute; right: 0; top: 50%; width: 48%;
  padding-inline: clamp(24px, 4vw, 72px); line-height: 1.6;
  opacity: 0; transform: translateY(-50%) translateX(44px);
  will-change: opacity, transform;
}
.video-band-text .eyebrow { color: var(--accent-2); }
.video-band-text h2 {
  color: #fff; margin-top: 18px; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem); line-height: 1.28;
}

/* Small screens / reduced motion: stack it, no pinning or animation */
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .video-band { height: auto; }
  .video-band-sticky { position: static; height: auto; }
  .video-band-media { position: relative; width: 100% !important; height: 58vh !important; top: 0 !important; }
  .video-band-text {
    position: static; width: 100%; padding: 34px 24px 48px;
    opacity: 1 !important; transform: none !important;
  }
}

/* ---------- Decorative shard band (Raycast-style) ---------- */
/* The artwork is a square; only its top slice shows, so the blades
   appear to rise out of the page and get clipped at the bottom. */
.shard-band {
  position: relative; overflow: hidden;
  background: #000;
  height: clamp(180px, 24vw, 330px);
}
.shard-band img {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: clamp(560px, 58vw, 900px); height: auto;
  max-width: none; pointer-events: none;
}
/* feather the top edge so the artwork's square crop never shows a seam */
.shard-band::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 90px; z-index: 1;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
}

/* ---------- Simple centered CTA ---------- */
.cta-simple { background: #000; padding: clamp(80px, 11vw, 150px) 0; text-align: center; }
.cta-simple h2 {
  color: #fff; font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.18; letter-spacing: -.03em; margin-bottom: 34px;
}
.cta-simple-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  padding: 13px 26px; border-radius: var(--radius-pill);
  transition: background-color .25s ease, color .25s ease;
}
.cta-btn--light { background: #ededed; color: #0a0a0a; }
.cta-btn--light:hover { background: #fff; }
.cta-btn--dark { background: #212121; color: #fff; }
.cta-btn--dark:hover { background: #2e2e2e; }

/* ---------- Leadership ---------- */
.leadership { background: #000; padding: clamp(70px, 9vw, 115px) 0; }
.lead-title {
  color: #fff; font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: clamp(30px, 4vw, 56px);
}
.lead-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5.5vw, 84px); max-width: 1180px; margin-inline: auto;
}
/* each person in a dark rounded card */
.lead-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 72px 34px 30px; min-height: 430px;
  text-align: center; transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column; align-items: center;
}
.lead-card:hover { border-color: rgba(167,139,250,.45); transform: translateY(-4px); }
/* circular avatar */
.lead-photo {
  width: 168px; height: 168px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 28px; background: #000;
}
.lead-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lead-card h3 { color: #fff; font-size: 1.28rem; line-height: 1.25; }
.lead-card h3 span { color: #fff; }
.lead-card p { margin-top: 6px; color: var(--accent); font-size: .95rem; }
.lead-li {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  margin-top: auto; border-radius: 11px; color: #cbd5e1;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.lead-li svg { width: 20px; height: 20px; }
.lead-li:hover { color: #fff; background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }

@media (max-width: 860px) { .lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lead-grid { grid-template-columns: 1fr; max-width: 340px; } }

/* ---------- Orbit graphic (central badge + floating tiles) ---------- */
.orbit {
  position: relative; margin-inline: auto;
  width: 100%; max-width: 460px; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
/* soft bloom behind everything */
.orbit::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(112,80,234,.28), transparent 68%);
  filter: blur(18px);
}
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(167,139,250,.07); }
.orbit-ring--1 { inset: 0; }
.orbit-ring--2 { inset: 13%; border-style: dashed; border-color: rgba(167,139,250,.09); }
.orbit-ring--3 { inset: 26%; }

.orbit-core {
  position: relative; z-index: 2;
  width: 33%; aspect-ratio: 1 / 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; color: #fff;
  background: linear-gradient(155deg, #A78BFA 0%, #7050EA 52%, #4A32B0 100%);
  box-shadow: 0 22px 54px -18px rgba(112,80,234,.85), inset 0 1px 0 rgba(255,255,255,.28);
}
/* signal pulses radiating out of the core */
.orbit-pulse {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 33%; aspect-ratio: 1 / 1; border-radius: 50%;
  translate: -50% -50%;
  border: 1px solid rgba(167,139,250,.5);
  background: radial-gradient(circle, rgba(112,80,234,.22), transparent 70%);
  animation: orbit-signal 3.6s ease-out infinite;
}
@keyframes orbit-signal {
  0%   { transform: scale(1);   opacity: .75; }
  80%  { opacity: 0; }
  100% { transform: scale(2.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .orbit-pulse { display: none; } }
.orbit-core b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 2.3vw, 1.4rem); line-height: 1.1; letter-spacing: -.02em;
}
.orbit-core span {
  display: block; margin-top: 5px;
  font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; opacity: .88;
}

/* each tile rides an arm anchored at the centre and revolves around the badge;
   varied radius / speed / direction / phase per arm, so the motion looks random */
.orbit-arm {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3;
  animation: orbit-spin var(--dur, 26s) linear infinite;
  animation-delay: var(--delay, 0s);
  animation-direction: var(--dir, normal);
}
.orbit-tile {
  position: absolute; left: 0; top: calc(var(--r, 190px) * -1);
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; color: var(--accent);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.75);
  /* counter-rotate at the same rate/direction so the icon stays upright */
  animation: orbit-spin-rev var(--dur, 26s) linear infinite;
  animation-delay: var(--delay, 0s);
  animation-direction: var(--dir, normal);
}
.orbit-tile svg { width: 24px; height: 24px; }
/* radius, speed, direction and starting angle all differ -> no rigid formation */
.a1 { --r: 205px; --dur: 24s; --delay:  -1s; --dir: normal;  }
.a2 { --r: 168px; --dur: 31s; --delay:  -9s; --dir: reverse; }
.a3 { --r: 214px; --dur: 27s; --delay: -18s; --dir: normal;  }
.a4 { --r: 176px; --dur: 34s; --delay:  -5s; --dir: reverse; }
.a5 { --r: 198px; --dur: 22s; --delay: -14s; --dir: normal;  }
.a6 { --r: 160px; --dur: 29s; --delay: -23s; --dir: reverse; }

@keyframes orbit-spin { to { transform: rotate(1turn); } }
@keyframes orbit-spin-rev {
  from { transform: translate(-50%, -50%) rotate(0); }
  to   { transform: translate(-50%, -50%) rotate(-1turn); }
}
/* reduced-motion: pause so tiles stay in their spread-out positions */
@media (prefers-reduced-motion: reduce) {
  .orbit-arm, .orbit-tile { animation-play-state: paused; }
}
@media (max-width: 560px) {
  .orbit-tile { width: 46px; height: 46px; border-radius: 13px; }
  .orbit-tile svg { width: 20px; height: 20px; }
  .a1,.a3,.a5 { --r: 150px; } .a2,.a4,.a6 { --r: 122px; }
}

/* ---------- Services: hero + service rows pin, the next scrolls up over it (this page only) ---------- */
/* each service section sticks to the top; later sections paint over earlier ones (DOM order) */
/* hero keeps the standard hero--video height (92vh / 84vh) to match the other pages */
body.svc-snap .hero { position: sticky; top: 0; }
body.svc-snap .svc-row {
  position: sticky; top: 0;
  min-height: 100vh; min-height: 100svh;
}
/* whole page uses pure #000 so it matches the shard image's black — no seams */
body.svc-snap { background: #000; }
body.svc-snap .svc-row,
body.svc-snap .svc-row.section--alt,
body.svc-snap .cta-simple,
body.svc-snap .site-footer { background: #000; }
body.svc-snap .svc-row { display: flex; align-items: center; }
body.svc-snap .svc-row > .container { width: 100%; }
/* the CTA, shard band and footer scroll normally over the last pinned service section */
body.svc-snap main > .cta-simple,
body.svc-snap main > .shard-band { position: relative; z-index: 1; }

@media (max-width: 860px) {
  /* full-height pinned sections don't suit small screens — revert to normal flow */
  /* un-pin the hero but keep it a positioning context for its absolute bg + text */
  body.svc-snap .hero { position: relative; }
  body.svc-snap .svc-row { position: static; min-height: 0; display: block; }
}

/* ---------- Services alternating rows ---------- */
.svc-row { padding: clamp(52px, 7vw, 92px) 0; }
/* centred band so every row has equal left/right page margins */
.svc-row .svc-split { max-width: 1460px; gap: clamp(44px, 5vw, 88px); }
/* give the image column more room than the text column so images read larger */
/* normal rows: image is the first column; alt rows: image is the second */
.svc-row .svc-split { grid-template-columns: 1.25fr 0.9fr; }
.svc-row.section--alt .svc-split { grid-template-columns: 0.9fr 1.25fr; }
.svc-split .content { max-width: 620px; }
.svc-split .content p { max-width: 580px; }
/* service headings + body text */
.svc-split .content h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.svc-split .content p { font-size: clamp(.98rem, 1.05vw, 1.1rem); line-height: 1.7; }
.svc-split .content p + p { margin-top: 15px; }
/* image and text each hug the centre gap so the two halves face each other */
.svc-split > .svc-visual { display: flex; }
.svc-split > .svc-visual:first-child { justify-content: flex-end; }
.svc-split > .svc-visual:last-child  { justify-content: flex-start; }
.svc-split > .content:first-child { margin-left: auto; }
.svc-split > .content:last-child  { margin-right: auto; }
.svc-visual img {
  width: 100%; max-width: 860px; height: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
@media (max-width: 860px) {
  /* stacked rows: image on top, everything centred and full-width.
     Selectors use `.svc-row .svc-split` to out-rank the base `.split` grid + the asymmetric-column rule */
  .svc-row .svc-split { display: flex; flex-direction: column; grid-template-columns: none; }
  .svc-row.section--alt .svc-split { grid-template-columns: none; }
  .svc-row .svc-split .svc-visual { order: -1; display: block; }
  .svc-row .svc-split .svc-visual img { width: 100%; max-width: 560px; margin-inline: auto; }
  .svc-row .svc-split > .content { margin-inline: 0; max-width: none; }
  .svc-row .svc-split .content p { max-width: none; }
}

/* ---------- Feature split (image/text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .visual { position: relative; }
.feature-panel {
  background: var(--gradient-navy); border-radius: var(--radius-lg); padding: 40px; color: #cbd5e1;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.feature-panel::before { content:""; position:absolute; width:320px; height:320px; right:-120px; top:-120px; background:radial-gradient(circle, rgba(167,139,250,.25), transparent 65%); }
.feature-panel .row { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); margin-bottom: 14px; position: relative; z-index: 1; }
.feature-panel .row:last-child { margin-bottom: 0; }
.feature-panel .row .ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(167,139,250,.15); color: var(--accent-2); display: grid; place-items: center; flex-shrink: 0; }
.feature-panel .row .ic svg { width: 22px; height: 22px; }
.feature-panel .row b { color: #fff; font-family: var(--font-display); display: block; font-size: 1rem; }
.feature-panel .row span { font-size: .86rem; color: #94a3b8; }

.check-list { margin: 26px 0 34px; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.check-list li svg { width: 22px; height: 22px; color: #7050EA; flex-shrink: 0; margin-top: 2px; }
.check-list li span { font-weight: 400; color: var(--body); display: block; font-size: .95rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats .s b { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; display: block; letter-spacing: -.03em; }
.stats .s span { color: #94a3b8; font-size: .95rem; }
.stats .s .text-grad { background: linear-gradient(120deg,#C4B5FD,#E7DAF7); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step .num {
  width: 46px; height: 46px; border-radius: 13px; background: var(--gradient); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .94rem; }

/* ---------- Values grid ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.value {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s;
}
.value:hover { border-color: var(--primary); transform: translateY(-3px); }
.value .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(112,80,234,.1); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.value .ic svg { width: 20px; height: 20px; }
.value b { font-family: var(--font-display); color: var(--ink); font-size: .98rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative; transition: transform .25s, box-shadow .3s;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.quote .stars { display: flex; gap: 3px; color: #f59e0b; margin-bottom: 16px; }
.quote .stars svg { width: 18px; height: 18px; }
.quote p { color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--gradient); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.quote .who b { display: block; color: var(--ink); font-family: var(--font-display); }
.quote .who span { font-size: .86rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--gradient); color: #fff; padding: 60px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.22), transparent 40%), radial-gradient(circle at 10% 90%, rgba(255,255,255,.16), transparent 45%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 12px 24px -10px rgba(0,0,0,.35); }
.cta-band .btn-primary:hover { transform: translateY(-2px); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.6); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--gradient-navy); color: #cbd5e1; padding: calc(var(--header-h) + 64px) 0 72px; position: relative; overflow: hidden; text-align: center; }
.page-hero::before { content:""; position:absolute; width:520px; height:520px; right:-160px; top:-200px; background:radial-gradient(circle, rgba(167,139,250,.22), transparent 62%); }
.page-hero::after { content:""; position:absolute; width:480px; height:480px; left:-180px; bottom:-240px; background:radial-gradient(circle, rgba(112,80,234,.3), transparent 60%); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: 16px 0 14px; }
.page-hero p { max-width: 620px; margin-inline: auto; color: #cbd5e1; font-size: 1.12rem; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: #94a3b8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------- Who we are (image + gradient badge) ---------- */
.wwa-section {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px);
}
.wwa-section > .container { width: 100%; }
.wwa-media { position: relative; padding: 0 22px 26px 0; }
.wwa-media > img {
  width: 100%; border-radius: var(--radius-lg); display: block;
  filter: grayscale(1) contrast(1.03); box-shadow: var(--shadow-lg);
}
.wwa-badge {
  position: absolute; left: -6px; bottom: 0; max-width: 300px;
  background: var(--gradient); color: #fff; border-radius: 18px;
  padding: 24px 26px; box-shadow: 0 22px 44px -18px rgba(112,80,234,.7);
}
.wwa-badge p {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; font-size: .95rem; line-height: 1.4; color: #fff;
}
.wwa-badge-btn {
  position: absolute; right: -22px; bottom: -22px;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: #0e0f16; border: 1px solid rgba(255,255,255,.14);
  transition: transform .25s ease, background .25s ease;
}
.wwa-badge-btn svg { width: 22px; height: 22px; }
.wwa-badge-btn:hover { transform: translateY(-3px); background: #000; }
.wwa-section h2 em { color: var(--accent); font-style: normal; }

/* ---------- Why choose (arc dashed circles) ---------- */
.wca-section {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(90px, 12vw, 150px) 0 clamp(56px, 7vw, 90px);
}
.wca-head { text-align: center; color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: clamp(90px, 11vw, 170px); }
.wca-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 54px); }
/* padding shifts the text right + down; the absolutely-positioned arc stays put */
.wca-item { position: relative; padding: 40px 0 0 42px; }
/* large dashed arc (right half of a circle -> ")" ) wrapping the right of each column */
.wca-item::before {
  content: ""; position: absolute; left: 46%; top: 118px;
  width: clamp(290px, 24vw, 370px); aspect-ratio: 1; border-radius: 50%;
  border: 1.8px dashed rgba(167,139,250,.78);
  transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
  clip-path: inset(0 0 0 50%);        /* keep only the right half -> an arc, not a full ring */
}
.wca-item:nth-child(even)::before { border-color: rgba(148,163,184,.68); }
.wca-item > * { position: relative; z-index: 1; max-width: 240px; }
.wca-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.wca-icon { color: var(--accent); flex-shrink: 0; display: grid; place-items: center; }
.wca-icon svg { width: 40px; height: 40px; }
.wca-item h3 { color: #fff; font-size: 1.22rem; line-height: 1.25; }
.wca-item p { color: var(--body); font-size: 1rem; line-height: 1.65; }
@media (max-width: 900px) {
  .wca-section { min-height: 0; }
  .wca-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .wca-item::before { display: none; }
}
@media (max-width: 520px) { .wca-grid { grid-template-columns: 1fr; } }

/* ---------- Mission & Vision band ---------- */
.mv-band {
  color: #fff; padding: clamp(70px, 9vw, 120px) 0;
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(112,80,234,.12), transparent 60%),
    linear-gradient(160deg, #0b0c13 0%, #0f1017 100%);
}
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.mv-col { text-align: center; padding: clamp(18px, 3vw, 40px) clamp(24px, 4vw, 64px); }
.mv-col:first-child { border-right: 1px solid rgba(255,255,255,.10); }
.mv-col h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.mv-divider { display: block; width: 120px; height: 0; border-top: 2px dashed var(--accent); margin: 0 auto 22px; }
.mv-col p { color: #cbd5e1; max-width: 460px; margin-inline: auto; }
@media (max-width: 760px) {
  .mv-grid { grid-template-columns: 1fr; }
  .mv-col:first-child { border-right: none; border-bottom: 1px solid rgba(255,255,255,.10); padding-bottom: 40px; }
  .mv-col:last-child { padding-top: 40px; }
}

/* ---------- About media ---------- */
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; background: var(--gradient-navy); min-height: 420px; display: grid; place-items: center; padding: 40px; }
.about-media .badge-float { position:absolute; }
.mission-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mission-card { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.mission-card .ic { width: 54px; height: 54px; border-radius: 15px; background: var(--gradient); color:#fff; display: grid; place-items: center; margin-bottom: 18px; }
.mission-card .ic svg { width: 26px; height: 26px; }
.mission-card h3 { font-size: 1.25rem; margin-bottom: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .25s, transform .25s; }
.info-card:hover { border-color: var(--primary); transform: translateX(4px); }
.info-card .ic { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, rgba(112,80,234,.12), rgba(112,80,234,.12)); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card b { font-family: var(--font-display); color: var(--ink); display: block; margin-bottom: 3px; }
.info-card a, .info-card p { color: var(--body); font-size: .96rem; }
.info-card a:hover { color: var(--primary); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .82rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: #f87171; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: .94rem; color: var(--ink); background: var(--surface-2); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface-3); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 104px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.35); color: #6ee7b7; font-weight: 500; margin-bottom: 20px; align-items: center; gap: 10px; }
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Contact hero (two-column: copy + call-flow diagram) ---------- */
.contact-hero { background: var(--bg); padding: calc(var(--header-h) + 100px) 0 64px; }
.contact-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.chero-copy h1 {
  margin: 18px 0 18px; color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15;
}
.chero-copy h1 span { color: var(--accent); }
.chero-copy p { color: var(--body); font-size: 1.08rem; max-width: 460px; }
.chero-links { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; }
.chero-links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--accent);
  transition: color .2s;
}
.chero-links a svg { width: 18px; height: 18px; }
.chero-links a:hover { color: #fff; }

/* flow diagram */
.chero-flow { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 440px; margin-inline: auto; }
.cflow-card, .cflow-core {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 14px;
}
.cflow-card {
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cflow-card .ic { color: var(--accent); display: grid; place-items: center; }
.cflow-card b, .cflow-core b { display: block; font-family: var(--font-display); font-size: .9rem; color: #fff; }
.cflow-card span, .cflow-core span { font-size: .8rem; color: var(--muted); }
.cflow-card .ic svg, .cflow-core .ic svg { width: 19px; height: 19px; }
.cflow-stem { width: 2px; height: 34px; background: linear-gradient(var(--accent), rgba(167,139,250,.15)); }
.cflow-core {
  background: linear-gradient(150deg, #7050EA, #4A32B0); border: 1px solid rgba(167,139,250,.6);
  box-shadow: 0 20px 46px -18px rgba(112,80,234,.8);
}
.cflow-core .ic { color: #fff; }
.cflow-core span { color: rgba(255,255,255,.82); }

/* curved dashed connectors fanning from core to each chip */
.cflow-svg { width: 100%; height: auto; display: block; margin-top: 4px; }
.cf-mid, .cf-side { stroke-linecap: round; stroke-dasharray: 4 7; }
.cf-mid  { stroke: var(--accent); stroke-width: 2; }
.cf-side { stroke: rgba(167,139,250,.45); stroke-width: 1.7; }
/* chips in three equal columns so they line up under the connector ends */
.cflow-fan { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 2px; }
.cflow-fan .cflow-chip { justify-self: center; }
.cflow-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: #fff;
}
.cflow-chip svg { width: 18px; height: 18px; color: var(--accent); }
.cflow-chip--soft { background: rgba(112,80,234,.08); border-color: rgba(167,139,250,.25); color: var(--accent-2); }
.cflow-chip--soft svg { color: var(--accent-2); }

@media (max-width: 860px) {
  .contact-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .chero-copy p { max-width: none; }
}

/* ---------- Contact v2 (centered panel + reach block) ---------- */
/* separator line dividing the hero from the form/cards section */
.contact-v2 { padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.contact-panel {
  max-width: 720px; margin: 0 auto;
  background: #0e0f16; border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.cp-label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .84rem; color: var(--ink); margin-bottom: 12px;
}
.cp-purpose { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cp-chip {
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  color: var(--body); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 7px 14px; transition: all .2s ease; white-space: nowrap;
}
.cp-chip:hover { color: #fff; border-color: rgba(167,139,250,.5); }
.cp-chip.active { color: #fff; background: rgba(112,80,234,.22); border-color: rgba(167,139,250,.65); }
.field .opt { color: var(--muted); font-weight: 400; }
.cp-trust { margin-top: 16px; text-align: center; font-size: .86rem; color: var(--muted); }

/* two-column layout: form (left) + reach panel (right) */
.contact-layout {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(34px, 4.5vw, 64px);
  align-items: start; max-width: 1340px; margin-inline: auto;
}
.contact-layout .contact-panel { max-width: none; margin: 0; }
.reach-panel {
  background: #0e0f16; border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
}
.reach-panel h2 { font-size: 1.2rem; margin-bottom: 6px; }
.reach-list { display: block; }
.reach-row { display: block; border-bottom: 1px solid var(--line); }
.reach-row > a, .reach-row { color: inherit; }
.reach-row, .reach-row > a { display: flex; align-items: center; gap: 14px; padding: 13px 0; }
.reach-row > a { padding: 0; width: 100%; transition: opacity .2s; }
.reach-row > a:hover { opacity: .8; }
.reach-row .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--accent);
  background: rgba(112,80,234,.12);
}
.reach-row .ic svg { width: 21px; height: 21px; }
.reach-row .tx b { display: block; font-family: var(--font-display); color: #fff; font-size: .84rem; }
.reach-row .tx small { font-size: .8rem; color: var(--muted); margin-top: 2px; display: block; }
.reach-follow { display: flex; align-items: center; gap: 22px; margin-top: 14px; }
.reach-follow span { font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: .92rem; }
.reach-follow a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  color: #cbd5e1; background: rgba(255,255,255,.05); border: 1px solid var(--line);
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.reach-follow a svg { width: 20px; height: 20px; }
.reach-follow a:hover { color: #fff; background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.faq-q .chev { width: 24px; height: 24px; color: var(--primary); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--body); }

/* ---------- Footer ---------- */
.site-footer { background: #080a12; color: #94a3b8; padding: 72px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); align-items: start; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .about { font-size: .95rem; line-height: 1.7; max-width: 320px; }
.footer-socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cbd5e1; transition: background .25s, transform .25s, color .25s; }
.footer-socials a:hover { background: var(--gradient); color: #fff; transform: translateY(-3px); }
.footer-socials svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin: 16px 0 20px; }
/* one shared row rhythm so links and contact items line up across columns */
.footer-col ul { display: grid; gap: 16px; }
/* normalize every row box to the same height (.95rem * 1.4) so both columns share one pitch */
.footer-col li { font-size: .95rem; line-height: 1.4; min-height: 21px; }
.footer-col a { font-size: .95rem; line-height: 1.4; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; font-size: .95rem; line-height: 1.4; }
.footer-contact svg { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
/* keep the Address block in the same row rhythm: Address ↔ Services, address text ↔ Blogs */
.footer-col h4.footer-subhead { margin: 14px 0 10px; font-size: .95rem; line-height: 1.4; }
/* address reads as one tight block, so its two lines sit close together */
.footer-col ul.footer-address { gap: 4px; }
.footer-address li { color: #94a3b8; min-height: 0; }
/* newsletter */
.footer-news { display: grid; gap: 16px; max-width: 320px; }
.footer-news input {
  width: 100%; padding: 11px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05);
  color: #fff; font-family: inherit; font-size: .95rem;
}
.footer-news input::placeholder { color: #7f8b9d; }
.footer-news input:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.footer-news .btn { justify-self: start; padding: 9px 22px; font-size: .9rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: .9rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .links { display: flex; gap: 22px; }

/* ---------- Legal pages (Terms / Privacy) — minimal single-column ---------- */
.legal {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 96px;
  /* soft brand glow at the top, fading into the dark page */
  background: radial-gradient(120% 55% at 78% -12%, rgba(112,80,234,.22), transparent 60%), var(--bg);
}
.legal-wrap { max-width: 820px; }
/* Frontora-style centered hero: badge + title + subtitle */
.legal-head { text-align: center; margin-bottom: clamp(60px, 9vw, 120px); }
.legal-badge {
  display: inline-block; margin-bottom: 22px; padding: 7px 18px; border-radius: var(--radius-pill);
  background: rgba(112,80,234,.14); border: 1px solid rgba(167,139,250,.32);
  color: var(--accent-2); font-family: var(--font-display); font-weight: 600;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.legal-head h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--ink); line-height: 1.1; }
.legal-head .legal-sub { margin: 18px auto 0; color: var(--body); font-size: 1.08rem; line-height: 1.6; max-width: 54ch; }
.legal-body { counter-reset: sec; margin-top: 0; }
.legal-body > p { color: var(--body); line-height: 1.85; margin-bottom: 16px; }
.legal-body h2 { counter-increment: sec; font-family: var(--font-display); color: var(--ink); font-size: 1.3rem; margin: 46px 0 14px; }
.legal-body h2::before { content: counter(sec) ". "; color: var(--accent); font-weight: 600; }
.legal-body .legal-list { margin: 10px 0 20px; padding-left: 24px; list-style: disc; }
.legal-body .legal-list li { color: var(--body); line-height: 1.8; margin-bottom: 8px; }
.legal-body a { color: var(--accent); }
.legal-body a:hover { color: #fff; text-decoration: underline; }
.legal-contact-lines { margin-top: 8px; }
.legal-contact-lines p { color: var(--body); line-height: 1.9; margin-bottom: 4px; }
.legal-updated { max-width: 820px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 14px; background: var(--gradient); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero--video { min-height: 84vh; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  /* top bar shows only brand + hamburger; the CTA moves into the dropdown */
  .nav-cta > .btn-primary { display: none; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(9,18,42,.97); backdrop-filter: saturate(180%) blur(14px); padding: 16px 20px 24px; border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px -16px rgba(0,0,0,.6);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-links.open { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  /* when the menu is open, the top bar matches the dropdown so they read as one panel */
  .site-header:has(.nav-links.open) {
    background: rgba(9,18,42,.97); backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: transparent; box-shadow: none;
  }
  /* spacious, left-aligned menu items — no separators, no pill backgrounds */
  .nav-links { gap: 0; padding: 8px 22px 20px; }
  .nav-links a { display: block; padding: 18px 4px; font-size: 1.12rem; font-weight: 500; border-radius: 0; background: none; }
  .nav-links a:hover { background: none; color: #fff; }
  /* active item: purple + underlined */
  .nav-links a.active {
    background: none; color: var(--accent);
    text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .mission-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .cards, .cards.cols-3 { grid-template-columns: 1fr; }
  .steps, .testimonials, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .hero-trust { gap: 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* hero buttons: equal full-width, stacked */
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* intro facts: clean centred stack, one per row */
  .intro-facts { flex-direction: column; align-items: center; gap: 14px; }
  .intro-facts div { justify-content: center; }
}

/* ---------- Blog ---------- */
.post-card { padding: 0; overflow: hidden; }
.post-card::after { display: none; }
.post-card:hover { transform: translateY(-6px); }
.post-thumb { height: 152px; background: var(--gradient); position: relative; }
.post-thumb.v2 { background: linear-gradient(135deg, #7050EA, #A78BFA); }
.post-thumb.v3 { background: linear-gradient(135deg, #7050EA, #7050EA); }
.post-thumb.v4 { background: linear-gradient(135deg, #0a1a3f, #7050EA); }
.post-thumb.v5 { background: linear-gradient(135deg, #A78BFA, #7050EA); }
.post-thumb.v6 { background: linear-gradient(135deg, #7050EA, #7050EA); }
.post-thumb .cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92); color: #0b0d16;
  font-family: var(--font-display); font-weight: 600; font-size: .74rem;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.post-body { padding: 22px 26px 26px; }
.post-meta { display: flex; gap: 16px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; font-family: var(--font-display); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-body h3 { font-size: 1.16rem; margin-bottom: 10px; line-height: 1.35; }
.newsletter { max-width: 560px; margin: 0 auto; display: flex; gap: 12px; margin-top: 30px; }
.newsletter input { flex: 1; padding: 15px 20px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); font-family: inherit; font-size: 1rem; color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.newsletter input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
@media (max-width: 560px) { .newsletter { flex-direction: column; } }
