/* ==========================================================================
   Etesalat Innovations — Design System
   Brand colors sampled from the existing logo mark (navy + sky-blue sphere)
   plus the site's established green accent (#50a846) used for CTAs/links.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #0b1730;
  --navy-900: #0f2352;
  --navy-800: #16305f;
  --navy-700: #1c3d75;
  --navy-600: #26509a;
  --blue-500: #2fb2e6;
  --blue-400: #4fc4ee;
  --blue-300: #8fdcf4;
  --blue-100: #eaf8fd;
  --green-600: #3f8a37;
  --green-500: #50a846;
  --green-400: #6cc061;
  --green-100: #e9f6e6;

  /* Neutrals */
  --ink-900: #101828;
  --ink-700: #34405a;
  --ink-500: #667085;
  --ink-300: #c3cad9;
  --ink-100: #eef1f6;
  --white: #ffffff;
  --off-white: #f6f8fc;
  --border: #e3e8f0;

  /* Typography */
  --font-heading: 'ITC Avant Garde Gothic Pro', 'Poppins', sans-serif;
  --font-body: 'ITC Avant Garde Gothic Pro', 'Poppins', sans-serif;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.07), 0 2px 4px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 20px 40px -12px rgba(15, 35, 82, 0.18);
  --shadow-glow: 0 8px 30px rgba(47, 178, 230, 0.25);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --container: 1180px;
  --header-h: 84px;
}

html[lang="ar"] {
  --font-heading: 'Alexandria', sans-serif;
  --font-body: 'Alexandria', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--chrome-h, var(--header-h)) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 600;
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------------------------------- utilities --------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  flex-shrink: 0;
}
.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }
.section--alt { background: var(--off-white); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  color: var(--blue-100);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--ink-500); font-size: 17px; margin: 0; }
.section--navy .section-head p { color: var(--blue-100); opacity: .85; }

/* ------------------------------- video player ----------------------------- */
.video-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--navy-950);
  line-height: 0;
}
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; background: var(--navy-950); }

.text-lede { font-size: 19px; color: var(--ink-700); }
.muted { color: var(--ink-500); }
.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s ease; }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
.btn:hover svg { transform: translateX(3px); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); }
.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(80, 168, 70, .55);
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--navy-900);
}
.btn-outline:hover { border-color: var(--green-500); color: var(--green-600); transform: translateY(-2px); }
.btn-outline.is-active { background: var(--off-white); border-color: var(--navy-900); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-800);
  border-bottom: 2px solid var(--green-500);
  padding-bottom: 2px;
}
.pill-link:hover { color: var(--green-600); }

.grid { display: grid; gap: 28px; }
.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(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.tag-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--blue-500); }

/* ------------------------------ background fx --------------------------- */
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(22,48,95,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,48,95,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
  pointer-events: none;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------- header ------------------------------- */
.top-strip {
  background: var(--navy-950);
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.top-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 8px;
  gap: 16px;
}
.top-strip a { opacity: .9; }
.top-strip a:hover { color: var(--blue-300); }
.top-strip__contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.top-strip__contacts span { display: inline-flex; align-items: center; gap: 6px; }
.top-strip__contacts svg { width: 14px; height: 14px; opacity: .8; }
.top-strip__right { display: flex; align-items: center; gap: 18px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.social-row a:hover { background: var(--blue-500); }
.social-row svg { width: 13px; height: 13px; }
.lang-switch a {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.25);
}
.lang-switch a.is-active { background: var(--blue-500); border-color: var(--blue-500); color: var(--navy-950); font-weight: 700; }

header.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
header.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 53px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.main-nav a {
  padding: 10px 13px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-700);
  white-space: nowrap;
  transition: all .2s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--navy-900); background: var(--off-white); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content:''; display:block; width:20px; height:2px; background: var(--navy-900); position:relative; transition: all .2s ease; }
.nav-toggle::before { position:absolute; transform: translateY(-6px); }
.nav-toggle::after { position:absolute; transform: translateY(6px); }

/* ---------------------------------- hero --------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: var(--white);
  padding: 0;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
}
.hero .bg-blob--1 { width: 520px; height: 520px; background: var(--blue-500); top: -220px; inset-inline-end: -140px; }
.hero .bg-blob--2 { width: 420px; height: 420px; background: var(--green-500); bottom: -220px; inset-inline-start: -120px; opacity: .3; }

/* Full-bleed autoplay background video with a scrim for text legibility.
   The poster image doubles as the mobile background (video element is
   hidden below --hero-video-bp so phones aren't stuck downloading it). */
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(175deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%) center/cover no-repeat;
}
.hero-video-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(8,17,37,.93) 0%, rgba(9,20,43,.82) 32%, rgba(10,23,49,.58) 58%, rgba(9,20,43,.82) 100%),
    linear-gradient(0deg, rgba(6,13,29,.55) 0%, rgba(6,13,29,0) 26%);
}
@media (max-width: 760px) {
  .hero-video-bg video { display: none; }
  .hero-video-bg { background-image: url('../img/hero-poster.jpg'); }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 620px;
  padding-block: 96px;
}
.hero h1 { color: var(--white); font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 20px; letter-spacing: -.01em; }
.hero h1 span { color: var(--blue-400); }
.hero p.lede { font-size: 19px; color: rgba(255,255,255,.78); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 36px; }
.hero-stats strong { display: block; font-family: var(--font-heading); font-size: 28px; color: var(--white); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.6); }

.hero-visual { position: relative; z-index: 2; }
.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-panel > svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-node-group svg { pointer-events: none; }

/* Hero domain diagram — nodes/links animate on hover, driven by the
   matching .hero-chip below (see main.js for the hover -> class wiring).
   The hub and every node also drift on their own in a slow, weightless
   "anti-gravity" motion — asymmetric easing (drift up, settle back) so it
   reads as floating rather than a mechanical bob — durations/delays/
   keyframe variants are staggered so the five never move in lockstep.
   Floating pauses on hover/active so the grow + glow effect reads clean. */
.hero-hub-group {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroFloatHub 11s ease-in-out infinite;
}
.hero-hub-core {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .35s ease, filter .35s ease;
}
.hero-hub-group:hover .hero-hub-core {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(143, 220, 244, .55));
}
.hero-hub-group:hover { animation-play-state: paused; }

.hero-node-group {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroFloatA 8.5s ease-in-out infinite;
}
.hero-node-group[data-node="voice"] { animation-duration: 7.6s; animation-delay: -.6s; }
.hero-node-group[data-node="data"] { animation-name: heroFloatB; animation-duration: 9.4s; animation-delay: -3.1s; }
.hero-node-group[data-node="media"] { animation-duration: 8.4s; animation-delay: -4.8s; }
.hero-node-group[data-node="security"] { animation-name: heroFloatB; animation-duration: 10.2s; animation-delay: -1.4s; }
.hero-node-group:hover,
.hero-node-group:has(.hero-node.is-active) {
  animation-play-state: paused;
}

@keyframes heroFloatHub {
  0% { transform: translate(0, 0); }
  45% { transform: translate(2px, -5px); }
  100% { transform: translate(0, 0); }
}
@keyframes heroFloatA {
  0% { transform: translate(0, 0); }
  32% { transform: translate(3px, -8px); }
  64% { transform: translate(-2px, -3px); }
  100% { transform: translate(0, 0); }
}
@keyframes heroFloatB {
  0% { transform: translate(0, 0); }
  38% { transform: translate(-5px, -7px); }
  70% { transform: translate(2px, -2px); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-node-group, .hero-hub-group { animation: none; }
}

.hero-node {
  transform-box: fill-box;
  transform-origin: center;
  transition: r .25s ease, stroke-width .25s ease, filter .25s ease;
}
.hero-node.is-active { r: 18; stroke-width: 3.2; filter: drop-shadow(0 0 8px var(--c, #4fc4ee)); }
.hero-link { transition: opacity .25s ease, stroke-width .25s ease; }
.hero-link.is-active { opacity: 1; stroke-width: 2.6; }

.hero-chip-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.hero-chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-chip:hover, .hero-chip.is-active, .hero-chip:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-2px);
}
.hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 4px rgba(79,196,238,.18); transition: box-shadow .2s ease; }
.hero-chip:nth-child(2) .dot { background: var(--green-500); box-shadow: 0 0 0 4px rgba(80,168,70,.18); }
.hero-chip:nth-child(3) .dot { background: #f2b84b; box-shadow: 0 0 0 4px rgba(242,184,75,.18); }
.hero-chip:nth-child(4) .dot { background: #ef6f6f; box-shadow: 0 0 0 4px rgba(239,111,111,.18); }
.hero-chip:hover .dot, .hero-chip.is-active .dot { box-shadow: 0 0 0 6px rgba(255,255,255,.14); }

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 78px 0 70px;
}
.page-hero .bg-blob--1 { width: 420px; height: 420px; background: var(--blue-500); top: -180px; inset-inline-end: -100px; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--blue-300); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 640px; margin: 0; }

/* --------------------------------- process -------------------------------- */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding-inline-start: 8px; }
.process-step .num {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--white);
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  margin-bottom: 18px;
}
.process-step h4 { font-size: 17px; margin-bottom: 8px; }
.process-step p { color: var(--ink-500); font-size: 14.5px; margin: 0; }
.process-row > .process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 23px; inset-inline-start: 100%;
  width: 24px; height: 1px;
  background: repeating-linear-gradient(to right, var(--border) 0 6px, transparent 6px 10px);
  display: none;
}
@media (min-width: 900px) {
  .process-row > .process-step:not(:last-child)::after { display: block; }
}

/* --------------------------------- solution cards ------------------------- */
.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
}
.solution-card > * { position: relative; z-index: 1; }
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.solution-card:hover::before { opacity: 1; }
.solution-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-100);
  color: var(--navy-800);
  margin-bottom: 22px;
  transition: all .25s ease;
}
.solution-card .icon-wrap svg { width: 28px; height: 28px; }
.solution-card:hover .icon-wrap { background: rgba(255,255,255,.12); color: var(--blue-300); }
.solution-card h3 { font-size: 19px; margin-bottom: 10px; transition: color .25s ease; }
.solution-card:hover h3 { color: var(--white); }
.solution-card p { color: var(--ink-500); font-size: 14.5px; margin: 0; transition: color .25s ease; }
.solution-card:hover p { color: rgba(255,255,255,.75); }

/* --------------------------------- accordion (Solutions page) ------------- */
.domain-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--white);
}
.domain-head {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 30px;
  cursor: pointer;
  background: var(--white);
  transition: background .2s ease;
  border: none; width: 100%; text-align: start;
}
.domain-head:hover { background: var(--off-white); }
.domain-head .icon-wrap {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--white);
}
.domain-head .icon-wrap svg { width: 24px; height: 24px; }
.domain-head .titles { flex: 1; }
.domain-head h3 { margin: 0 0 4px; font-size: 19px; }
.domain-head p { margin: 0; color: var(--ink-500); font-size: 14px; }
.domain-head .chevron { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s ease; }
.domain-head .chevron svg { width: 14px; height: 14px; }
.domain-block.is-open .domain-head .chevron { transform: rotate(180deg); background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.domain-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.domain-block.is-open .domain-body { max-height: 2200px; }
.domain-body-inner { padding: 4px 30px 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sub-item { padding: 20px; border-radius: var(--radius-md); background: var(--off-white); border: 1px solid var(--border); }
.sub-item h5 { margin: 0 0 6px; font-size: 15.5px; color: var(--navy-900); }
.sub-item p { margin: 0; font-size: 13.8px; color: var(--ink-500); }

/* --------------------------------- values / vision cards ------------------ */
.value-card { text-align: center; padding: 40px 28px; }
.value-card .icon-wrap {
  width: 60px; height: 60px; margin-inline: auto 0; margin-inline-end: auto;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--white);
  margin-bottom: 20px;
}
.value-card .icon-wrap svg { width: 28px; height: 28px; }

/* --------------------------------- timeline -------------------------------- */
.timeline { position: relative; padding-inline-start: 28px; border-inline-start: 2px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; inset-inline-start: -34px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px var(--green-100);
}
.timeline-item .date { font-size: 13px; font-weight: 700; color: var(--green-600); text-transform: uppercase; letter-spacing: .05em; }
.timeline-item h4 { margin: 6px 0 4px; font-size: 16.5px; }
.timeline-item p { margin: 0; color: var(--ink-500); font-size: 14.5px; }

/* --------------------------------- stats strip ------------------------------ */
.stats-strip { background: var(--navy-950); }
.stats-strip .grid-4 { gap: 0; }
.stat-item { text-align: center; padding: 46px 20px; border-inline-end: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-inline-end: none; }
.stat-item strong { display: block; font-family: var(--font-heading); font-size: 34px; color: var(--white); margin-bottom: 6px; }
.stat-item span { font-size: 13.5px; color: rgba(255,255,255,.55); }

/* --------------------------------- logo marquee ------------------------------ */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll-x 46s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: scroll-x-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-x-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.logo-tile {
  flex-shrink: 0;
  width: 168px; height: 92px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.logo-tile img { max-height: 46px; width: auto; max-width: 100%; filter: grayscale(1) opacity(.75); transition: filter .25s ease; }
.logo-tile:hover img { filter: grayscale(0) opacity(1); }

.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-grid .logo-tile { width: 100%; }

/* --------------------------------- CTA band ------------------------------ */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; font-size: 27px; }
.cta-band p { color: rgba(255,255,255,.72); margin: 0; max-width: 460px; }
.cta-band .bg-blob--1 { width: 320px; height: 320px; background: var(--blue-500); top: -140px; inset-inline-end: -60px; }

/* --------------------------------- office / contact cards ------------------ */
.office-card { padding: 0; overflow: hidden; }
.office-card__head {
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  display: flex; align-items: center; gap: 14px;
}
.office-card__head .icon-wrap { width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; flex-shrink: 0;}
.office-card__head .icon-wrap svg { width: 20px; height: 20px; }
.office-card__head h3 { color: var(--white); margin: 0; font-size: 18px; }
.office-card__head span { font-size: 13px; color: var(--blue-300); }
.office-card__body { padding: 26px 30px 30px; }
.office-row { display: flex; gap: 14px; padding-block: 12px; border-bottom: 1px dashed var(--border); }
.office-row:last-child { border-bottom: none; }
.office-row svg { width: 18px; height: 18px; color: var(--green-500); flex-shrink: 0; margin-top: 3px; }
.office-row div { font-size: 14.5px; color: var(--ink-700); }
.office-row .label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-500); margin-bottom: 2px; }
.map-embed { border: 0; width: 100%; height: 220px; border-radius: var(--radius-md); filter: grayscale(.25); }

.form-card { padding: 40px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-900);
  background: var(--off-white);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue-500); background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--ink-500); margin-top: 14px; }
.form-success {
  display: none;
  align-items: center; gap: 10px;
  background: var(--green-100); color: var(--green-600);
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; margin-top: 16px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --------------------------------- footer -------------------------------- */
footer.site-footer { background: var(--navy-950); color: rgba(255,255,255,.65); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-chip { display: inline-flex; align-items: center; background: var(--white); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 18px; }
.footer-brand .logo-chip img { height: 34px; display: block; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); max-width: 300px; }
footer h5 { color: var(--white); font-size: 14.5px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,.6); transition: color .2s ease; }
.footer-links a:hover { color: var(--blue-300); }
.footer-contact li { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 14px; display: flex; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--blue-400); }
.newsletter-form { display: flex; gap: 0; margin-top: 6px; border-radius: var(--radius-full); overflow: hidden; border: 1px solid rgba(255,255,255,.18); }
.newsletter-form input { flex: 1; border: none; background: transparent; padding: 13px 18px; color: var(--white); font-size: 14px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { border: none; background: var(--green-500); color: var(--white); padding: 0 20px; font-weight: 600; font-size: 14px; }
.newsletter-form button:hover { background: var(--green-600); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 26px; font-size: 13.5px; flex-wrap: wrap; gap: 14px; }
.footer-bottom .social-row a { background: rgba(255,255,255,.08); }

.scroll-top {
  position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all .25s ease;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top svg { width: 18px; height: 18px; }
.scroll-top:hover { background: var(--green-500); }

/* --------------------------------- misc pages ------------------------------ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list li { display: flex; gap: 12px; padding-block: 9px; font-size: 15px; color: var(--ink-700); }
.check-list svg { width: 20px; height: 20px; color: var(--green-500); flex-shrink: 0; margin-top: 2px; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.badge {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 7px 14px; border-radius: var(--radius-full);
  background: var(--blue-100); color: var(--navy-800);
}
.split-panel { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); padding: 44px; color: var(--white); position: relative; }
.highlight-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.highlight-strip .logo-tile { width: 140px; height: 76px; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 18px; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--white);
  font-size: 13.5px; font-weight: 600; color: var(--ink-700);
}
.filter-btn.is-active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* ----------------------------------- responsive --------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .domain-body-inner { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
}
/* The nav has 6 links plus a longer "Technology Partners" / "Success
   Stories" label, so it needs more room than the general tablet breakpoint
   below — switch to the hamburger menu earlier to guarantee the remaining
   links always sit on a single line rather than wrapping mid-label. */
@media (max-width: 1220px) {
  .main-nav, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-inline-end: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .two-col { grid-template-columns: 1fr; }
  .top-strip .container { flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .section { padding: 64px 0; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: repeat(3, auto); gap: 20px; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: var(--chrome-h, var(--header-h)) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a { display: block; padding: 16px 4px; font-size: 18px; font-weight: 600; color: var(--navy-900); border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 24px; }
