/* =========================================================
   Virtual Caim — Design System
   Modern dark + gradients. Self-contained, no dependencies.
   ========================================================= */

:root {
  /* Core palette */
  --bg: #030711;
  --bg-2: #060b18;
  --surface: #0a1122;
  --surface-2: #0e1729;
  --surface-3: #142033;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #e8ecf5;
  --text-muted: #9aa3b8;
  --text-dim: #7d86a0;  /* WCAG: 5.5:1 on #06070d (QA M4) */

  /* Accents / gradients */
  --c1: #7fb7e8;   /* indigo  */
  --c2: #3fc6ea;   /* cyan    */
  --c3: #B4DAF6;   /* violet  */
  --c4: #55d0b8;   /* mint    */
  --accent: var(--c2);
  --c2-ink: var(--c2); /* teal as TEXT; darkened in light theme for contrast */

  --grad-primary: linear-gradient(135deg, #9ecdf2 0%, #4db6dd 100%);
  --grad-violet: linear-gradient(135deg, #B4DAF6 0%, #6fa3d8 100%);
  --grad-mint: linear-gradient(135deg, #4db6dd 0%, #55d0b8 100%);
  --grad-text: linear-gradient(105deg, #B4DAF6 0%, #6fc2e8 60%, #4db6dd 100%);

  /* Effects */
  --glow: 0 0 40px rgba(63, 198, 234, 0.25);
  --shadow-card: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(127, 183, 232, 0.18), transparent 60%),
    radial-gradient(50% 45% at 90% 10%, rgba(63, 198, 234, 0.14), transparent 60%),
    radial-gradient(55% 50% at 60% 100%, rgba(180, 218, 246, 0.12), transparent 65%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c2-ink);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-primary);
  color: #030711;
  box-shadow: 0 10px 30px -8px rgba(63, 198, 234, .5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(63, 198, 234, .65); }
.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 6, 10, 0.6);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.header.scrolled {
  background: rgba(5, 6, 10, 0.85);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand .logo { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { margin-left: 10px; }

/* Dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 10px 12px; border-radius: 9px; font-size: .92rem; }
.drop a strong { display: block; color: var(--text); font-weight: 600; }
.drop a span { font-size: .82rem; color: var(--text-dim); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.03em; margin-bottom: 22px; }
.hero p.lead { font-size: 1.22rem; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  font-size: .82rem; color: var(--text-muted); font-weight: 500;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c4); box-shadow: 0 0 10px var(--c4); }

/* Hero visual card */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: linear-gradient(160deg, rgba(127,183,232,.14), rgba(63,198,234,.05));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; inset: -2px;
  background: conic-gradient(from 0deg, transparent, rgba(63,198,234,.5), transparent 30%);
  animation: spin 8s linear infinite; z-index: 0; opacity: .4;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual > * { position: relative; z-index: 1; }
.scan-line { font-family: var(--mono); font-size: .82rem; color: var(--text-muted); margin-bottom: 6px; }
.scan-line .ok { color: var(--c4); }
.scan-line .num { color: var(--c2-ink); }
.meter { height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; margin: 14px 0 22px; }
.meter i { display: block; height: 100%; width: 0; background: var(--grad-mint); border-radius: 999px; animation: fill 2.2s ease forwards; }
@keyframes fill { to { width: var(--w, 92%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .n { font-size: 2.4rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: var(--text-muted); font-size: .92rem; margin-top: 4px; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(127,183,232,.2), rgba(63,198,234,.12));
  border: 1px solid var(--border);
}
.card .ic svg { width: 26px; height: 26px; stroke: var(--c2); }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--text-muted); font-size: .97rem; margin-bottom: .8rem; }
.card .link { color: var(--c2-ink); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.card .link:hover { gap: 10px; }
.card.feature::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary); opacity: 0; transition: opacity .25s;
}
.card.feature:hover::after { opacity: 1; }

/* List with checks */
.checklist li { position: relative; padding: 8px 0 8px 32px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-mint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.checklist li strong { color: var(--text); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 28px;
}
.step .num {
  counter-increment: step;
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  background: var(--grad-violet); color: #fff;
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); margin: 0; font-size: .96rem; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  background: linear-gradient(135deg, rgba(127,183,232,.18), rgba(180,218,246,.12));
  border: 1px solid var(--border-strong);
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto 26px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 70px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.breadcrumb { font-size: .85rem; color: var(--text-dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--c2-ink); }

/* ---------- Accordion (FAQ) ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-size: 1.05rem; font-weight: 600; padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q .chev { transition: transform .25s; color: var(--c2-ink); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--text-muted); margin: 0; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--c2); box-shadow: 0 0 0 3px rgba(63,198,234,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--text-dim); }
.form-success { display: none; padding: 16px; border-radius: var(--radius-sm); background: rgba(85,208,184,.1); border: 1px solid rgba(85,208,184,.3); color: var(--c4); font-weight: 600; }

/* Contact info cards */
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.info-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(127,183,232,.2), rgba(63,198,234,.12)); flex-shrink: 0; }
.info-card .ic svg { width: 22px; height: 22px; stroke: var(--c2); }
.info-card h3, .info-card h4 { margin: 0 0 4px; font-size: 1rem; }
.info-card p { margin: 0; color: var(--text-muted); font-size: .94rem; }
.info-card a { color: var(--c2-ink); }

/* ---------- Logo cloud / trust ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust-badge { padding: 12px 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text-muted); font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 9px; }
.trust-badge svg { width: 18px; height: 18px; stroke: var(--c4); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 30px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h2, .footer h3, .footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 16px; }
.footer-links a { display: block; padding: 6px 0; color: var(--text-muted); font-size: .94rem; }
.footer-links a:hover { color: var(--c2-ink); }
.footer-brand p { color: var(--text-muted); font-size: .94rem; max-width: 300px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .86rem; flex-wrap: wrap; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); transition: .2s; }
.social a:hover { border-color: var(--c2); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; stroke: var(--text-muted); }
.social a:hover svg { stroke: var(--c2); }

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

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); margin: 0; border: 0; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: rgba(63,198,234,.12); color: var(--c2-ink); border: 1px solid rgba(63,198,234,.25); }
.prose p { color: var(--text-muted); }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose h3 { margin-top: 1.6rem; font-size: 1.25rem; color: var(--text); }
.prose ul { margin: 0 0 1.2rem; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-muted); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--c2); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 14px 18px 22px;
    transform: translateY(-130%); transition: transform .3s ease;
    height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; }
  .has-drop .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Global Footprint — Interactive Network Globe
   ========================================================= */
.globe-section { position: relative; overflow: hidden; }
.globe-wrap {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  align-items: stretch;
}
.globe-stage {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(63,198,234,.10), transparent 70%),
    linear-gradient(160deg, rgba(127,183,232,.10), rgba(5,6,10,.6));
  box-shadow: var(--shadow-card);
  overflow: hidden;
  touch-action: pan-y;
}
.globe-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.globe-stage canvas:active { cursor: grabbing; }
.globe-hint {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font-size: .78rem; color: var(--text-dim);
  background: rgba(5,6,10,.5); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
  pointer-events: none;
}
.globe-loader {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 4;
  color: var(--text-muted); font-family: var(--mono); font-size: .85rem;
  transition: opacity .4s ease;
}
.globe-loader .ring {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.1); border-top-color: var(--c2);
  animation: spin 1s linear infinite; margin: 0 auto 14px;
}
.globe-loader.hide { opacity: 0; pointer-events: none; }

/* Floating tooltip over globe */
.globe-tip {
  position: absolute; z-index: 5; pointer-events: none;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-card);
  font-size: .85rem; transform: translate(-50%, -120%);
  opacity: 0; transition: opacity .15s ease; max-width: 220px;
}
.globe-tip.show { opacity: 1; }
.globe-tip strong { display: block; color: var(--text); font-size: .95rem; margin-bottom: 2px; }
.globe-tip span { color: var(--c2-ink); font-weight: 600; }

/* Detail panel */
.globe-panel {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.globe-panel-head {
  padding: 22px 24px; border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(127,183,232,.14), rgba(63,198,234,.06));
}
.globe-panel-head .flag { font-size: 1.6rem; line-height: 1; }
.globe-panel-head h3 { margin: 8px 0 2px; font-size: 1.4rem; }
.globe-panel-head .meta { color: var(--text-muted); font-size: .9rem; }
.globe-panel-body { padding: 20px 24px; }
.globe-metric { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.globe-metric .big {
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.globe-metric .lbl { color: var(--text-muted); font-size: .92rem; }
.globe-panel-body h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin: 0 0 10px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span {
  font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: rgba(63,198,234,.10); color: var(--c2-ink); border: 1px solid rgba(63,198,234,.22);
}

/* Country selector list */
.globe-list { margin-top: 16px; border-top: 1px solid var(--border); max-height: 220px; overflow-y: auto; }
.globe-list::-webkit-scrollbar { width: 8px; }
.globe-list::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; }
.globe-list button {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 11px 24px; background: none; border: 0; border-bottom: 1px solid var(--border);
  color: var(--text-muted); font-family: inherit; font-size: .92rem; cursor: pointer; transition: background .15s, color .15s;
}
.globe-list button:hover, .globe-list button.active { background: rgba(255,255,255,.04); color: var(--text); }
.globe-list button .cnt { color: var(--c2-ink); font-weight: 700; font-size: .85rem; }

/* Footprint stat strip */
.footprint-stats { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; margin-top: 40px; }
.footprint-stats .fp { text-align: center; }
.footprint-stats .fp .n { font-size: 2rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footprint-stats .fp .l { color: var(--text-muted); font-size: .88rem; }

@media (max-width: 980px) {
  .globe-wrap { grid-template-columns: 1fr; }
  .globe-stage { min-height: 420px; }
}
@media (max-width: 760px) {
  .globe-stage { min-height: 340px; }
  .globe-list { max-height: 200px; }
}

/* =========================================================
   v2 — Restructure components (9 services, new nav/footer)
   ========================================================= */

/* Footer: 5 columns */
.footer-grid.cols5 { grid-template-columns: 1.7fr 1.2fr 1fr 1fr 1.1fr; }
.footer-contact p { color: var(--text-muted); font-size: .92rem; margin: 0 0 8px; display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--c2); flex-shrink: 0; margin-top: 3px; }
.trust-badge-line {
  text-align: center; padding: 16px 0; margin-top: 40px;
  border-top: 1px solid var(--border); color: var(--text-muted);
  font-size: .9rem; font-weight: 500; letter-spacing: .02em;
}
.trust-badge-line b { color: var(--c2-ink); font-weight: 600; }
.social a.li:hover svg { stroke: #0a66c2; }
.social a.tw:hover svg { stroke: #fff; }
.social a.ig:hover svg { stroke: #e1306c; }
.social a.yt:hover svg { stroke: #ff0000; }
.social a.gm:hover svg { stroke: #ea4335; }

/* Awards / trust badges row (home) */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.award {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.award .ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(127,183,232,.2), rgba(63,198,234,.12)); }
.award .ic svg { width: 24px; height: 24px; stroke: var(--c2); }
.award .n { font-weight: 800; font-size: 1.15rem; }
.award .l { color: var(--text-muted); font-size: .85rem; }

/* Marquee text slider */
.marquee {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(127,183,232,.06), rgba(63,198,234,.06));
  padding: 16px 0; white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: 1.05rem; font-weight: 600; color: var(--text); padding: 0 8px; }
.marquee span.sep { color: var(--c2-ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Card slider (home services) */
.slider-wrap { position: relative; }
.slider {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 2px 22px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
.slide {
  scroll-snap-align: start; flex: 0 0 340px; max-width: 340px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.slide:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.slide .slide-media { position: relative; height: 170px; overflow: hidden; border-bottom: 1px solid var(--border); }
.slide .slide-media svg, .slide .slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide .slide-num { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(5,6,10,.65); backdrop-filter: blur(6px); border: 1px solid var(--border-strong);
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: var(--c2-ink); }
.slide .slide-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.slide .slide-body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.slide .slide-body .tagline { color: var(--c2-ink); font-weight: 600; font-size: .88rem; margin-bottom: 10px; }
.slide .slide-body p { color: var(--text-muted); font-size: .94rem; flex: 1; }
.slide .slide-body .link { color: var(--c2-ink); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.slide:hover .slide-body .link { gap: 10px; }
.slider-nav { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.slider-nav button {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text);
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.slider-nav button:hover { background: var(--surface-3); transform: translateY(-2px); }
.slider-nav button svg { width: 20px; height: 20px; stroke: var(--c2); }

/* Leadership team */
.team-grid { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.team-card { width: 280px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-align: center; transition: transform .25s, border-color .25s; }
.team-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.team-card .photo { height: 230px; background: linear-gradient(160deg, rgba(127,183,232,.2), rgba(63,198,234,.08)); display: grid; place-items: center; }
.team-card .photo svg { width: 110px; height: 110px; }
.team-card .info { padding: 20px 18px 24px; }
.team-card .info h3 { font-size: 1.2rem; margin-bottom: 2px; }
.team-card .info .role { color: var(--c2-ink); font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.team-card .info a.li-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-muted); font-size: .85rem; font-weight: 600; transition: .2s; }
.team-card .info a.li-btn:hover { border-color: #0a66c2; color: #fff; background: rgba(10,102,194,.15); }
.team-card .info a.li-btn svg { width: 16px; height: 16px; }

/* Split with image */
.split-img { border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-card); background: var(--surface); }
.split-img svg, .split-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Service page two-column layout ---------- */
.svc-layout { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }
.svc-sidebar { position: sticky; top: 90px; display: grid; gap: 20px; }
.svc-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.svc-widget h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin: 0 0 14px; }
.svc-search { display: flex; gap: 8px; }
.svc-search input { flex: 1; padding: 11px 13px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-family: inherit; font-size: .92rem; }
.svc-search input:focus { outline: 0; border-color: var(--c2); }
.svc-search button { width: 42px; border-radius: var(--radius-sm); border: 0; background: var(--grad-primary); cursor: pointer; display: grid; place-items: center; }
.svc-search button svg { width: 18px; height: 18px; stroke: #030711; }
.svc-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border-radius: 9px; color: var(--text-muted); font-size: .9rem; font-weight: 500; border: 1px solid transparent; transition: .18s; }
.svc-nav a:hover, .svc-nav a.active { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border); }
.svc-nav a.active { color: var(--c2-ink); }
.svc-nav a svg { width: 15px; height: 15px; stroke: currentColor; opacity: .6; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span { font-size: .78rem; padding: 6px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); }
.tag-cloud span:hover { border-color: var(--c2); color: var(--c2-ink); }
.quote-box { background: linear-gradient(150deg, rgba(127,183,232,.18), rgba(63,198,234,.08)); border: 1px solid var(--border-strong); }
.quote-box h4 { color: var(--text); font-size: 1.05rem; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.quote-box p { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }

.svc-hero-img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 26px; }
.svc-content h2 { font-size: 1.5rem; margin-top: 2rem; }
.svc-content > h1 { font-size: clamp(1.8rem,4vw,2.6rem); margin-bottom: 8px; }
.svc-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.svc-group h3 { font-size: 1.15rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); color: var(--c2-ink); }
.svc-item { margin-bottom: 18px; }
.svc-item h4 { font-size: 1rem; color: var(--text); margin: 0 0 5px; text-transform: none; letter-spacing: 0; display: flex; gap: 8px; align-items: baseline; }
.svc-item h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-mint); flex-shrink: 0; transform: translateY(-1px); }
.svc-item p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* Blog cards + newsletter */
.blog-card { overflow: hidden; padding: 0; }
.blog-card .media { height: 180px; border-bottom: 1px solid var(--border); }
.blog-card .media svg, .blog-card .media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 24px; }
.blog-card .body .meta { font-size: .8rem; color: var(--text-dim); margin-bottom: 8px; }
.blog-card .body h3 { font-size: 1.15rem; }
.newsletter { border-radius: var(--radius-lg); padding: 44px; text-align: center; background: linear-gradient(135deg, rgba(63,198,234,.12), rgba(127,183,232,.14)); border: 1px solid var(--border-strong); }
.newsletter form { display: flex; gap: 12px; max-width: 480px; margin: 22px auto 0; }
.newsletter input { flex: 1; padding: 14px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-family: inherit; }
.newsletter input:focus { outline: 0; border-color: var(--c2); }

/* Page hero with image */
.page-hero.with-img { text-align: left; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }

@media (max-width: 980px) {
  .footer-grid.cols5 { grid-template-columns: 1fr 1fr; }
  .awards { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-sidebar { position: static; order: 2; }
  .page-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .footer-grid.cols5 { grid-template-columns: 1fr; }
  .svc-groups { grid-template-columns: 1fr; }
  .slide { flex-basis: 80vw; max-width: 80vw; }
  .newsletter form { flex-direction: column; }
  .newsletter { padding: 30px 22px; }
}

/* Wide services mega-dropdown */
.drop-wide { min-width: 340px; }
.drop-wide a { padding: 9px 12px; }
.drop-wide a strong { font-weight: 600; }
@media (max-width: 760px) {
  .drop-wide { min-width: 0; }
  .has-drop .drop-wide { padding-left: 12px; }
}

/* =========================================================
   v3 — Light/Dark themes, real logo, photos, capabilities
   ========================================================= */

/* ---- Theme variables: LIGHT ---- */
html.light {
  --bg: #f5f8fc;
  --bg-2: #eef2f9;
  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --surface-3: #e8eef7;
  --border: rgba(13, 25, 48, 0.10);
  --border-strong: rgba(13, 25, 48, 0.18);
  --text: #0e1828;
  --text-muted: #4a5874;
  --text-dim: #5f6c86;  /* WCAG: 4.96:1 on #f5f8fc (QA M4) */
  --c2-ink: #097597; /* 4.6-5.3:1 on light surfaces (QA M4) */
  --grad-text: linear-gradient(105deg, #0c5c8f 0%, #1379b4 60%, #2b93c9 100%);
  --shadow-card: 0 18px 44px -24px rgba(20, 35, 70, 0.30);
  --glow: 0 0 40px rgba(63, 198, 234, 0.18);
}
html { transition: none; }
body, .header, .card, .slide, .btn, .footer { transition: background .3s ease, color .3s ease, border-color .3s ease; }

/* Ambient background per theme */
html.light body::before {
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(127,183,232,0.10), transparent 60%),
    radial-gradient(50% 45% at 90% 10%, rgba(63,198,234,0.10), transparent 60%),
    radial-gradient(55% 50% at 60% 100%, rgba(180,218,246,0.07), transparent 65%);
}
html.light body::after {
  background-image:
    linear-gradient(rgba(13,25,48,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,25,48,0.035) 1px, transparent 1px);
}

/* Header / nav per theme */
.header { background: var(--header-bg, rgba(5,6,10,0.6)); }
.header.scrolled { background: var(--header-bg-scrolled, rgba(5,6,10,0.85)); }
html.light .header { --header-bg: rgba(255,255,255,0.72); }
html.light .header.scrolled { --header-bg-scrolled: rgba(255,255,255,0.9); }
html.light .nav-links a:hover, html.light .nav-links a.active { background: rgba(13,25,48,0.05); }
html.light .btn-ghost { background: rgba(13,25,48,0.04); }
html.light .btn-ghost:hover { background: rgba(13,25,48,0.08); }
html.light .pill { background: rgba(13,25,48,0.04); }
html.light .slider-nav button:hover { background: var(--surface-3); }
html.light .tag-cloud span:hover { color: var(--c1); border-color: var(--c1); }
html.light .eyebrow, html.light .card .link, html.light .slide .slide-body .link { color: #0f6fa6; }

/* ---- Real logo (theme-swapped) ---- */
.brand .logo-full { height: 40px; width: auto; display: block; }
.brand { gap: 0; font-size: 0; }            /* hide old text node spacing */
.brand .logo-on-light, .brand .logo-full.logo-on-light { display: none; }
html.light .logo-on-light { display: block; }
html.light .logo-on-dark { display: none; }
.footer .brand .logo-full { height: 44px; }

/* ---- Theme toggle button ---- */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 11px; cursor: pointer; flex-shrink: 0;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--text); transition: background .2s, transform .2s; margin-left: 6px;
}
html.light .theme-toggle { background: rgba(13,25,48,.04); }
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle svg { width: 19px; height: 19px; stroke: var(--c2); }
.theme-toggle .i-moon { display: none; }
html.light .theme-toggle .i-sun { display: none; }
html.light .theme-toggle .i-moon { display: block; }

/* ---- Photo frames (Unsplash) ---- */
.photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); background: var(--surface-2); }
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-frame.tint::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,8,16,0) 40%, rgba(5,8,16,.45)), linear-gradient(120deg, rgba(63,198,234,.10), rgba(127,183,232,.10));
}
.split-img img { min-height: 320px; }
.svc-hero-img { display: block; }
.slide .slide-media img { transition: transform .4s ease; }
.slide:hover .slide-media img { transform: scale(1.06); }

/* ---- Capabilities & platforms (service pages) ---- */
.cap-section { margin-top: 2rem; }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; }
.cap-grid li { position: relative; padding: 8px 0 8px 26px; color: var(--text-muted); font-size: .93rem; border-bottom: 1px solid var(--border); }
.cap-grid li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-mint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; }
.platform-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.platform-chips span { font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }

/* Related industries / services chips */
.related-box { margin-top: 2.2rem; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(150deg, rgba(127,183,232,.10), rgba(63,198,234,.05)); }
.related-box h3 { font-size: 1.1rem; margin-bottom: 6px; }
.related-box p { color: var(--text-muted); font-size: .92rem; margin-bottom: 14px; }
.chip-links { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); transition: .2s; }
.chip-links a:hover { border-color: var(--c2); color: var(--c2-ink); transform: translateY(-2px); }
.chip-links a svg { width: 15px; height: 15px; stroke: var(--c2); }

/* Industry hero with image */
.ind-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.ind-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-hero .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,16,.30), rgba(5,8,16,.85)); }
.ind-hero .ic { position: relative; padding: 34px; color: #fff; }
.ind-hero .ic h1 { color: #fff; }

@media (max-width: 760px) {
  .cap-grid { grid-template-columns: 1fr; }
  .brand .logo-full { height: 34px; }
}

/* Trigger mobile nav earlier (more nav items in v3) */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 18px 22px;
    transform: translateY(-130%); transition: transform .3s ease; height: auto; max-height: 84vh; overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; }
  .has-drop .drop, .has-drop .drop-wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 12px; min-width: 0; }
}

/* =========================================================
   v4 — page-hero alignment fix, capability guide articles
   ========================================================= */
/* Balance interior page heroes so heading + lead align nicely */
.page-hero .container { max-width: 980px; }
.page-hero h1 { margin-left: auto; margin-right: auto; }
.page-hero .lead { max-width: 760px; }
.page-hero .breadcrumb { text-align: center; }

/* Capability guide (knowledge base) article */
.kb-hero { position: relative; min-height: 300px; display: flex; align-items: flex-end; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: 34px; }
.kb-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kb-hero .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,16,.35), rgba(5,8,16,.85)); }
.kb-hero .inner { position: relative; padding: 30px 34px; color: #fff; }
.kb-hero .inner h1 { color: #fff; font-size: clamp(1.7rem,3.6vw,2.6rem); margin-bottom: 8px; }
.kb-hero .inner .sub { color: #cfe9ff; font-size: .95rem; }
.kb-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.kb-main { min-width: 0; }
.kb-main h2 { font-size: 1.4rem; margin-top: 2rem; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.kb-main h2:first-child { margin-top: 0; }
.kb-main p { color: var(--text-muted); }
.kb-main ul { margin: 0 0 1.2rem; }
.kb-main ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-muted); }
.kb-main ul li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-mint); }
.kb-steps { counter-reset: kbs; display: grid; gap: 12px; margin: 0 0 1.2rem; }
.kb-steps li { list-style: none; position: relative; padding: 14px 16px 14px 56px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); }
.kb-steps li::before { counter-increment: kbs; content: counter(kbs); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 8px; background: var(--grad-violet); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.kb-side { position: sticky; top: 90px; display: grid; gap: 18px; }
.kb-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.kb-card h3, .kb-card h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin: 0 0 12px; }
.kb-card .platform-chips span { font-size: .8rem; }
.kb-related a { display: block; padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: .9rem; }
.kb-related a:last-child { border-bottom: 0; }
.kb-related a:hover { color: var(--c2-ink); }
/* Make capability list items look clickable on service pages */
.cap-grid li a { color: var(--text-muted); }
.cap-grid li a:hover { color: var(--c2-ink); }
@media (max-width: 900px){ .kb-layout { grid-template-columns: 1fr; } .kb-side { position: static; } }

/* v5 — blog post video embeds */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; margin: 1.6rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body { max-width: 760px; }
.post-body img { border-radius: var(--radius); margin: 1.4rem 0; border: 1px solid var(--border); }

/* =========================================================
   v5 — trust bar, clients, partner tiers, quick-intent,
   compliance, case studies, datasheets
   ========================================================= */
/* Accreditation / trust strip */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding: 22px 0; }
.trust-strip .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.accr { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); font-weight: 600; font-size: .9rem; }
.accr svg { width: 22px; height: 22px; stroke: var(--c4); }
.accr .b { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border:1px solid var(--border); border-radius:10px; background:var(--surface-2); }
/* Rating badges */
.ratings { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.rating-badge { display:flex; align-items:center; gap:10px; padding:10px 16px; border:1px solid var(--border); border-radius:12px; background:var(--surface); }
.rating-badge .stars { color:#ffc englishial; color:#ffcá; }
.rating-badge .stars { color:#ffc93c; letter-spacing:2px; font-size:.9rem; }
.rating-badge .n { font-weight:800; }
.rating-badge .p { font-size:.78rem; color:var(--text-dim); }
/* Client logo strip (placeholder tiles) */
.logo-strip { display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.logo-tile { height:74px; border:1px solid var(--border); border-radius:12px; background:var(--surface); display:grid; place-items:center; color:var(--text-dim); font-weight:700; letter-spacing:.03em; font-size:.85rem; text-align:center; padding:8px; }
.logo-tile.dim { opacity:.75; }
/* Partner tiers */
.tier { margin-bottom:30px; }
.tier h3 { display:flex; align-items:center; gap:10px; font-size:1.15rem; margin-bottom:16px; }
.tier h3 .tag { font-size:.72rem; }
/* Quick-intent selector */
.intent { background: linear-gradient(150deg, rgba(127,183,232,.14), rgba(63,198,234,.06)); border:1px solid var(--border-strong); border-radius:var(--radius-lg); padding:30px; }
.intent h2 { font-size:clamp(1.4rem,3vw,2rem); margin-bottom:6px; }
.intent p { color:var(--text-muted); margin-bottom:18px; }
.intent-box { display:flex; gap:12px; flex-wrap:wrap; }
.intent-field { position:relative; flex:1; min-width:260px; }
.intent-field input { width:100%; padding:15px 18px; border-radius:999px; background:var(--surface-2); border:1px solid var(--border-strong); color:var(--text); font-family:inherit; font-size:1rem; }
.intent-field input:focus { outline:0; border-color:var(--c2); }
.intent-suggest { position:absolute; top:calc(100% + 8px); left:0; right:0; background:var(--surface-2); border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow-card); z-index:20; overflow:hidden; display:none; }
.intent-suggest.show { display:block; }
.intent-suggest a { display:flex; justify-content:space-between; gap:10px; padding:12px 16px; color:var(--text-muted); font-size:.93rem; border-bottom:1px solid var(--border); }
.intent-suggest a:last-child { border-bottom:0; }
.intent-suggest a:hover, .intent-suggest a.active { background:rgba(255,255,255,.05); color:var(--text); }
.intent-suggest a small { color:var(--c2-ink); font-weight:600; }
.intent-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.intent-chips button { background:var(--surface); border:1px solid var(--border); color:var(--text-muted); border-radius:999px; padding:7px 14px; font-size:.82rem; cursor:pointer; font-family:inherit; }
.intent-chips button:hover { border-color:var(--c2); color:var(--c2-ink); }
/* Compliance grid cards */
.comp-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.comp-card { display:block; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:22px; transition:.25s; }
.comp-card:hover { transform:translateY(-5px); border-color:var(--border-strong); box-shadow:var(--shadow-card); }
.comp-card .code { font-family:var(--mono); font-size:.78rem; color:var(--c2-ink); }
.comp-card h3 { font-size:1.08rem; margin:6px 0 6px; }
.comp-card p { color:var(--text-muted); font-size:.9rem; margin:0; }
/* Case study */
.cs-hero { position:relative; min-height:280px; display:flex; align-items:flex-end; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border); margin-bottom:30px; }
.cs-hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cs-hero .ov { position:absolute; inset:0; background:linear-gradient(180deg,rgba(5,8,16,.3),rgba(5,8,16,.85)); }
.cs-hero .inner { position:relative; padding:30px 34px; color:#fff; }
.cs-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:26px 0; }
.cs-metric { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:22px; text-align:center; }
.cs-metric .n { font-size:2rem; font-weight:800; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.cs-metric .l { color:var(--text-muted); font-size:.85rem; }
.cs-block { background:var(--surface); border:1px solid var(--border); border-left:3px solid var(--c2); border-radius:var(--radius); padding:22px 24px; margin-bottom:16px; }
.cs-block h3 { font-size:1.1rem; margin-bottom:6px; }
.cs-block p { color:var(--text-muted); margin:0; }
/* Datasheet download cards */
.dl-card { display:flex; gap:16px; align-items:center; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:20px; transition:.2s; }
.dl-card:hover { border-color:var(--c2); }
.dl-card .ic { width:46px; height:46px; border-radius:12px; flex-shrink:0; display:grid; place-items:center; background:linear-gradient(135deg,rgba(127,183,232,.2),rgba(63,198,234,.12)); }
.dl-card .ic svg { width:24px; height:24px; stroke:var(--c2); }
.dl-card h3, .dl-card h4 { margin:0 0 3px; font-size:1rem; }
.dl-card p { margin:0; font-size:.85rem; color:var(--text-dim); }
.dl-card .dl-body { flex:1; min-width:0; }
.dl-card .dl-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
.dl-card .dl-actions .btn { justify-content:center; padding:10px 14px; font-size:.9rem; min-height:44px; }
@media (max-width:480px){ .dl-card { align-items:flex-start; padding:16px; } .dl-card .ic { width:40px; height:40px; } .dl-card .dl-actions { grid-template-columns:1fr; } }
/* breach button in header */
.breach-btn { display:inline-flex; align-items:center; gap:7px; padding:9px 15px; border-radius:999px; font-size:.85rem; font-weight:700; color:#fff; background:linear-gradient(135deg,#ff3b5c,#b7128a); margin-right:6px; white-space:nowrap; }
.breach-btn:hover { filter:brightness(1.1); }
.breach-btn .pulse { width:8px; height:8px; border-radius:50%; background:#fff; box-shadow:0 0 0 0 rgba(255,255,255,.7); animation:pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.6)} 70%{box-shadow:0 0 0 8px rgba(255,255,255,0)} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0)} }
@media (max-width:1080px){ .breach-btn{ margin:8px 14px } }
@media (max-width:760px){ .logo-strip{ grid-template-columns:repeat(3,1fr) } .comp-grid,.cs-metrics{ grid-template-columns:1fr } .intent-box{ flex-direction:column } }

/* v5: nav has more items — switch to mobile menu earlier */
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 18px 22px;
    transform: translateY(-130%); transition: transform .3s ease; height: auto; max-height: 84vh; overflow-y: auto; }
  .nav-links.open { transform: translateY(0); }
  .has-drop .drop, .has-drop .drop-wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 12px; min-width: 0; }
}

/* v6 — logo prominence + smoother 2-column mega menus */
.brand .logo-full { height: 44px; }
.footer .brand .logo-full { height: 46px; }
.drop-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; min-width: 460px; }
.drop-2col a { break-inside: avoid; }
.nav-links { gap: 2px; }
.nav-links > a, .has-drop > a { padding: 9px 12px; }
@media (max-width: 1240px){ .drop-2col { grid-template-columns: 1fr; min-width: 0; } }

/* =========================================================
   v7 — LUXURY DESIGN SYSTEM (scalable token refinement)
   Overrides & elevates: type scale, spacing, motion, glass,
   components, focus/accessibility. Single source of truth.
   ========================================================= */
:root{
  /* Motion tokens */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-lux: cubic-bezier(.16,1,.3,1);
  --dur-1: .18s; --dur-2: .32s; --dur-3: .6s;
  /* Spacing scale (8pt) */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px; --sp-6:32px; --sp-7:48px; --sp-8:64px; --sp-9:96px;
  /* Fluid type scale */
  --fs-display: clamp(2.6rem, 5.4vw, 4.4rem);
  --fs-h1: clamp(2rem, 4.4vw, 3.1rem);
  --fs-h2: clamp(1.6rem, 3.4vw, 2.4rem);
  --fs-h3: 1.2rem;
  /* Refined surfaces & borders (deeper, more sophisticated) */
  --bg:#06070d; --bg-2:#090b13; --surface:#0f1320; --surface-2:#151a29; --surface-3:#1c2233;
  --border:rgba(255,255,255,.065); --border-strong:rgba(255,255,255,.13);
  --shadow-card:0 24px 60px -28px rgba(0,0,0,.85);
  --shadow-soft:0 10px 30px -18px rgba(0,0,0,.7);
  --glass-bg:rgba(11,14,22,.55); --glass-brd:rgba(255,255,255,.10);
}
html.light{ --shadow-card:0 24px 56px -30px rgba(20,35,70,.34); --glass-bg:rgba(255,255,255,.62); --glass-brd:rgba(13,25,48,.10); }

/* Refined typography rhythm */
h1,h2,h3,h4{ letter-spacing:-.025em; }
.section-title{ font-size:var(--fs-h2); letter-spacing:-.03em; }
.hero h1{ font-size:var(--fs-display); letter-spacing:-.04em; line-height:1.04; }
.page-hero h1{ font-size:var(--fs-h1); }
.lead{ letter-spacing:-.01em; }
::selection{ background:rgba(63,198,234,.28); color:#fff; }

/* Premium glass header + smooth reveal on scroll */
.header{ backdrop-filter:blur(20px) saturate(140%); -webkit-backdrop-filter:blur(20px) saturate(140%); background:var(--glass-bg); transition:background var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.header.scrolled{ box-shadow:0 12px 40px -24px rgba(0,0,0,.7); border-bottom-color:var(--border); }
.nav-links a{ transition:color var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }

/* Glass dropdowns with refined easing */
.drop,.drop-wide{ background:var(--glass-bg); backdrop-filter:blur(20px) saturate(140%); -webkit-backdrop-filter:blur(20px) saturate(140%); border-color:var(--glass-brd); box-shadow:var(--shadow-card); transition:opacity var(--dur-2) var(--ease-lux), transform var(--dur-2) var(--ease-lux), visibility var(--dur-2); }
.has-drop:hover .drop, .has-drop:hover .drop-wide, .has-drop:focus-within .drop, .has-drop:focus-within .drop-wide{ transform:translateY(0); }

/* Premium buttons */
.btn{ transition:transform var(--dur-1) var(--ease-lux), box-shadow var(--dur-2) var(--ease), background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); letter-spacing:.005em; }
.btn-primary{ box-shadow:0 8px 24px -10px rgba(63,198,234,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 38px -12px rgba(63,198,234,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost{ backdrop-filter:blur(6px); }

/* Premium cards — hairline top highlight, refined lift */
.card,.slide,.comp-card,.team-card,.blog-card{ transition:transform var(--dur-2) var(--ease-lux), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.card{ position:relative; }
.card::after{ content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; background:linear-gradient(180deg,rgba(255,255,255,.14),transparent 40%); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:0; transition:opacity var(--dur-2) var(--ease); pointer-events:none; }
.card:hover::after{ opacity:1; }
.card:hover,.comp-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-card); }

/* Forms — premium focus */
.field input,.field select,.field textarea,.svc-search input,.intent-field input,.newsletter input{ transition:border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }

/* Accessibility — consistent visible focus ring for keyboard users */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.btn:focus-visible{ outline:2px solid var(--c2); outline-offset:3px; border-radius:6px; }
:focus:not(:focus-visible){ outline:none; }
/* Skip link */
.skip-link{ position:absolute; left:-999px; top:8px; z-index:200; background:var(--c2); color:#030711; padding:10px 16px; border-radius:8px; font-weight:700; }
.skip-link:focus{ left:12px; }

/* Refined custom scrollbar (desktop) */
@media (pointer:fine){ *{ scrollbar-width:thin; scrollbar-color:var(--surface-3) transparent; } ::-webkit-scrollbar{ width:11px; height:11px; } ::-webkit-scrollbar-thumb{ background:var(--surface-3); border-radius:20px; border:3px solid transparent; background-clip:content-box; } ::-webkit-scrollbar-thumb:hover{ background:#2b3348; background-clip:content-box; } }

/* Cookie consent banner */
.cookie{ position:fixed; left:16px; right:16px; bottom:16px; z-index:300; max-width:560px; margin:0 auto; background:var(--glass-bg); backdrop-filter:blur(18px) saturate(140%); -webkit-backdrop-filter:blur(18px) saturate(140%); border:1px solid var(--glass-brd); border-radius:16px; box-shadow:var(--shadow-card); padding:18px 20px; display:none; }
.cookie.show{ display:block; animation:cookieUp .5s var(--ease-lux); }
@keyframes cookieUp{ from{ transform:translateY(20px); opacity:0 } to{ transform:none; opacity:1 } }
.cookie p{ font-size:.9rem; color:var(--text-muted); margin:0 0 12px }
.cookie p a{ color:var(--c2-ink) }
.cookie .row{ display:flex; gap:10px; flex-wrap:wrap }
.cookie .btn{ padding:10px 20px; font-size:.88rem }

@media (prefers-reduced-motion: reduce){ .cookie.show{ animation:none } }

/* =========================================================
   APPENDED — Globe section re-theme (globe.js rework)
   Dark stylized network globe. Do not merge into rules above.
   ========================================================= */
.globe-stage {
  background:
    radial-gradient(85% 85% at 50% 38%, rgba(63, 198, 234, 0.10), transparent 62%),
    radial-gradient(120% 90% at 50% 115%, rgba(180, 218, 246, 0.06), transparent 60%),
    linear-gradient(165deg, #081124 0%, #030711 58%, #02060f 100%);
  border-color: rgba(180, 218, 246, 0.14);
}
.globe-stage::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 90px rgba(2, 6, 15, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* The globe stays a dark framed card in BOTH themes (premium pattern):
   keep stage-internal chrome dark regardless of html.light overrides. */
html.light .globe-stage {
  background:
    radial-gradient(85% 85% at 50% 38%, rgba(63, 198, 234, 0.10), transparent 62%),
    radial-gradient(120% 90% at 50% 115%, rgba(180, 218, 246, 0.06), transparent 60%),
    linear-gradient(165deg, #081124 0%, #030711 58%, #02060f 100%);
  border-color: rgba(13, 25, 48, 0.28);
  box-shadow: 0 24px 56px -30px rgba(20, 35, 70, 0.45);
}
.globe-hint,
html.light .globe-hint {
  color: #9fb4cf;
  background: rgba(3, 7, 17, 0.55);
  border-color: rgba(180, 218, 246, 0.16);
}
.globe-loader,
html.light .globe-loader { color: #9fb4cf; }
.globe-loader .ring,
html.light .globe-loader .ring {
  border-color: rgba(180, 218, 246, 0.15);
  border-top-color: #3fc6ea;
}

/* Tooltip floats over the dark stage — keep it dark in both themes */
.globe-tip,
html.light .globe-tip {
  background: #0e1729;
  border-color: rgba(180, 218, 246, 0.22);
}
.globe-tip strong,
html.light .globe-tip strong { color: #e9f0fa; }
.globe-tip span,
html.light .globe-tip span { color: var(--c2-ink); font-weight: 600; font-size: .78rem; }

/* Panel additions */
.globe-note {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 16px;
}
.globe-list button .go {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1;
  transition: color .15s, transform .15s;
}
.globe-list button:hover .go,
.globe-list button.active .go { color: var(--c2-ink); transform: translateX(2px); }

/* a11y/SEO utility: visually hidden headings */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
