/* ==========================================================================
   EJADA — Consult. Empower. Recruit.
   Brand palette: #FFFFFF  #B1EFF0  #1B6E6F  #0A393F  #0F0F0F
   ========================================================================== */

:root {
  /* Brand */
  --white: #ffffff;
  --aqua: #b1eff0;
  --teal: #1b6e6f;
  --deep: #0a393f;
  --ink: #0f0f0f;

  /* Derived (tinted toward the brand hue) */
  --paper: #f5f9f9;
  --mist: #e6f1f1;
  --line: #d3e4e4;
  --deep-2: #072b30;
  --teal-soft: #2a8485;
  --text: #22383b;
  --text-muted: #4f6a6d;
  --on-dark: #e9f7f7;
  --on-dark-muted: #a9cfd0;

  /* Type */
  --font-latin: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-arabic: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --font: var(--font-latin);

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --fs-2xl: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);
  --fs-3xl: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);

  /* Space */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1200px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html[lang="ar"] { --font: var(--font-arabic); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.9; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--deep);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 {
  line-height: 1.45;
  font-weight: 600;
}
/* Letter-spacing breaks Arabic joining: never apply it there */
html[lang="ar"] * { letter-spacing: 0 !important; }

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible { outline-color: var(--aqua); }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--deep);
  color: var(--white);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--white { background: var(--white); }
.section--mist { background: var(--mist); }
.section--deep {
  background: var(--deep);
  color: var(--on-dark);
  overflow: hidden;
}
.section--deep h2, .section--deep h3 { color: var(--white); }

/* --------------------------------------------------------------------------
   Typographic helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 18px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow__num { font-variant-numeric: tabular-nums; }
.eyebrow__sep { opacity: 0.5; }
.on-dark .eyebrow, .section--deep .eyebrow { color: var(--aqua); }
html[lang="ar"] .eyebrow { font-size: var(--fs-sm); }

.title { font-size: var(--fs-2xl); max-width: 18ch; }
html[lang="ar"] .title { max-width: 22ch; }
.title--sm { font-size: var(--fs-xl); }

.lead {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 62ch;
}
.section--deep .lead { color: var(--on-dark-muted); }

.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--deep); font-weight: 600; }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 18px; }
.section-head--split {
  display: grid;
  gap: 20px 48px;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: var(--white);
  --btn-bd: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}
.btn:hover { --btn-bg: var(--deep); --btn-bd: var(--deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--deep); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--deep); --btn-bd: var(--teal); }
.btn--aqua { --btn-bg: var(--aqua); --btn-fg: var(--deep); --btn-bd: var(--aqua); }
.btn--aqua:hover { --btn-bg: var(--white); --btn-bd: var(--white); --btn-fg: var(--deep); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(177, 239, 240, 0.45); }
.btn--outline-light:hover { --btn-bg: rgba(177, 239, 240, 0.12); --btn-bd: var(--aqua); --btn-fg: var(--white); }

.arrow {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  transition: transform 0.3s var(--ease-out);
}
[dir="rtl"] .arrow { transform: scaleX(-1); }
a:hover > .arrow, .btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] a:hover > .arrow, [dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.text-link:hover { color: var(--deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Brand motifs: circles + chevron bar
   -------------------------------------------------------------------------- */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.orb--aqua { background: var(--aqua); }
.orb--teal { background: var(--teal); }
.orb--ring { border: 1.5px solid rgba(177, 239, 240, 0.25); }

.chevron-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 14px;
  color: var(--teal);
}
.chevron-bar__line { flex: 1; height: 100%; background: currentColor; }
.chevron-bar__line:first-child { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.chevron-bar__line:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%); }
.chevron-bar__mark {
  width: 22px; height: 100%;
  background: currentColor;
  clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%);
}
[dir="rtl"] .chevron-bar { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(10, 57, 63, 0.4);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--teal); background: var(--mist); }
.nav__link[aria-current="page"] { color: var(--deep); font-weight: 700; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--deep);
  transition: border-color 0.2s, background 0.2s;
}
.lang-toggle:hover { border-color: var(--teal); background: var(--mist); }
.lang-toggle svg { width: 18px; height: 18px; }
.lang-toggle__label[lang="ar"] { font-family: var(--font-arabic); }
.lang-toggle__label[lang="en"] { font-family: var(--font-latin); }

.header-cta { display: none; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  align-items: center;
  justify-content: center;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1180px) {
  .header-cta { display: inline-flex; min-height: 42px; padding: 8px 20px; }
}

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--white);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s 0.3s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    padding: 18px 4px;
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--deep);
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__link:hover { background: transparent; }
  .nav__link[aria-current="page"] { color: var(--teal); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin-top: 28px; width: 100%; }
  .header-actions { margin-inline-start: auto; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .nav__cta { display: none; } }
@media (max-width: 420px) {
  .brand img { height: 36px; }
  .lang-toggle { padding: 8px 12px; }
  .lang-toggle svg { display: none; }
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--on-dark);
  padding-block: clamp(56px, 8vw, 112px) clamp(72px, 9vw, 128px);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.25fr 1fr; }
}
.hero__kicker {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 28px;
}
html[lang="ar"] .hero__kicker { font-size: var(--fs-sm); }
.hero__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--white);
}
html[lang="ar"] .hero__title { line-height: 1.35; font-weight: 700; }
.hero__word { display: block; }
.hero__word:nth-child(2) { color: var(--aqua); }
.hero__word:nth-child(3) { padding-inline-start: 0.9em; }
.hero__sub {
  margin-top: 28px;
  font-size: var(--fs-lg);
  font-weight: 300;
  font-style: italic;
  color: var(--on-dark);
  max-width: 34ch;
}
html[lang="ar"] .hero__sub { font-style: normal; }
.hero__body {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--on-dark-muted);
}
.hero .btn-row { margin-top: 36px; }

.hero__art {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  aspect-ratio: 1;
}
.hero__art .orb--aqua { inset: 8% 8% 8% 8%; }
.hero__art .orb--teal { width: 34%; aspect-ratio: 1; inset-inline-end: 0; bottom: 4%; }
.hero__art .orb--ring { inset: -6%; }
.hero__art .orb--ring + .orb--ring { inset: -18%; opacity: 0.6; }
.hero__figure {
  position: absolute;
  inset: 22% 34%;
  z-index: 1;
}
.hero__figure img { width: 100%; height: 100%; object-fit: contain; }
.hero__badge {
  position: absolute;
  z-index: 2;
  inset-inline-start: -4%;
  bottom: 10%;
  padding: 14px 18px;
  background: var(--white);
  color: var(--deep);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.5);
  font-size: var(--fs-sm);
  line-height: 1.35;
}
.hero__badge strong { display: block; font-size: var(--fs-xl); color: var(--teal); line-height: 1.1; }

.hero > .orb--teal-bg {
  width: clamp(280px, 40vw, 560px);
  aspect-ratio: 1;
  inset-inline-end: -12%;
  top: -30%;
  background: var(--teal);
  opacity: 0.55;
}
@media (max-width: 959px) {
  .hero__art { width: min(78%, 340px); order: -1; }
  .hero__badge { inset-inline-start: -10%; }
}

/* Facts strip under hero */
.facts {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.facts__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .facts__list { grid-template-columns: repeat(4, 1fr); } }
.facts__item {
  padding: 28px 20px;
  border-inline-start: 1px solid var(--line);
}
.facts__item:first-child { border-inline-start: 0; }
@media (max-width: 799px) {
  .facts__item:nth-child(3) { border-inline-start: 0; }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.facts__value { font-size: var(--fs-xl); font-weight: 700; color: var(--deep); line-height: 1.1; }
.facts__label { margin-top: 6px; font-size: var(--fs-sm); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--on-dark);
  padding-block: clamp(64px, 9vw, 120px) clamp(56px, 7vw, 96px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-2xl); color: var(--white); max-width: 16ch; }
html[lang="ar"] .page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 20px; color: var(--on-dark-muted); }
.page-hero .orb--aqua {
  width: clamp(180px, 26vw, 360px);
  aspect-ratio: 1;
  inset-inline-end: -4%;
  bottom: -38%;
}
.page-hero .orb--teal {
  width: clamp(240px, 34vw, 480px);
  aspect-ratio: 1;
  inset-inline-end: 12%;
  top: -55%;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Intro / split layouts
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: 40px 64px;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.3fr 1fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--rev > :first-child { order: 2; }
}

.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--teal);
  color: var(--on-dark);
}
.panel h3 { color: var(--white); font-size: var(--fs-lg); margin-bottom: 16px; }
.panel p { color: var(--on-dark); }
.panel p + p { margin-top: 1em; }
.panel--deep { background: var(--deep); }
.panel .orb--aqua {
  width: 140px; aspect-ratio: 1;
  inset-inline-end: -50px; bottom: -50px;
  opacity: 0.9;
}
.panel > *:not(.orb) { position: relative; z-index: 1; }

.quote {
  margin: 0;
  padding-inline-start: 28px;
  position: relative;
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--deep);
}
html[lang="ar"] .quote { line-height: 1.6; }
.quote::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.2em; bottom: 0.2em;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(var(--teal), var(--aqua));
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-size: var(--fs-sm);
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Service index (home) — rows, not cards
   -------------------------------------------------------------------------- */
.service-index { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 28px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease-out), padding 0.35s var(--ease-out);
}
.service-row__num {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  width: 3ch;
}
.service-row__title { font-size: var(--fs-lg); font-weight: 600; color: var(--deep); line-height: 1.3; }
.service-row__desc { grid-column: 2; color: var(--text-muted); font-size: var(--fs-sm); max-width: 60ch; }
.service-row__go {
  grid-row: 1 / span 2;
  grid-column: 3;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--teal);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.service-row__go .arrow { width: 20px; height: 20px; }
.service-row:hover { background: var(--white); padding-inline: 20px; }
.service-row:hover .service-row__go { background: var(--teal); border-color: var(--teal); color: var(--white); }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 4ch minmax(0, 1fr) minmax(0, 1.2fr) auto; }
  .service-row__desc { grid-column: 3; grid-row: 1; }
  .service-row__go { grid-column: 4; grid-row: 1; }
}

/* --------------------------------------------------------------------------
   Approach steps
   -------------------------------------------------------------------------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  position: relative;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-content: start;
  gap: 4px 20px;
  padding-bottom: 32px;
}
.step::before {
  /* connector */
  content: "";
  position: absolute;
  inset-inline-start: 27px;
  top: 56px; bottom: 0;
  width: 2px;
  background: rgba(177, 239, 240, 0.25);
}
.step:last-child::before { display: none; }
.step__num {
  grid-row: span 2;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--deep);
  font-weight: 700;
  font-size: var(--fs-md);
  position: relative;
  z-index: 1;
}
.step__title { font-size: var(--fs-md); font-weight: 600; color: var(--white); padding-top: 12px; }
.step__text { color: var(--on-dark-muted); font-size: var(--fs-sm); }

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step__num { grid-row: auto; margin-bottom: 16px; }
  .step::before {
    inset-inline-start: 64px;
    inset-inline-end: -24px;
    top: 27px; bottom: auto;
    width: auto; height: 2px;
  }
  .step__title { padding-top: 0; }
}

/* Light variant of steps */
.steps--light .step::before { background: var(--line); }
.steps--light .step__num { background: var(--teal); color: var(--white); }
.steps--light .step__title { color: var(--deep); }
.steps--light .step__text { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Vision / mission / values
   -------------------------------------------------------------------------- */
.vm { display: grid; gap: 20px; }
.vm__item {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.vm__item h3 { font-size: var(--fs-lg); margin-bottom: 12px; }
.vm__item p { color: var(--text-muted); }

.values { display: grid; gap: 0; }
.value {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 18px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(177, 239, 240, 0.18);
}
.value:last-child { border-bottom: 0; }
.value__num {
  grid-row: span 2;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--deep);
  font-weight: 700;
  font-size: var(--fs-sm);
}
.value__title { font-weight: 600; color: var(--white); font-size: var(--fs-md); }
.value__text { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.values--compact .value { align-items: center; padding-block: 12px; }
.values--compact .value__num { grid-row: auto; }
.prose + .vm { margin-top: 32px; }

/* --------------------------------------------------------------------------
   Goals — oversized outline numerals
   -------------------------------------------------------------------------- */
.goals { display: grid; gap: 40px 32px; }
@media (min-width: 860px) { .goals { grid-template-columns: repeat(3, 1fr); } }
.goal { padding-top: 24px; border-top: 2px solid var(--teal); }
.goal__num {
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal);
  margin-bottom: 16px;
  font-family: var(--font-latin);
}
.goal h3 { font-size: var(--fs-lg); margin-bottom: 16px; }
.bullets li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--text-muted);
}
.bullets li + li { margin-top: 10px; }
.bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: inset 0 0 0 2px var(--teal);
}
.on-dark .bullets li, .panel .bullets li { color: var(--on-dark); }
.panel .bullets li::before { background: var(--aqua); box-shadow: none; }

/* --------------------------------------------------------------------------
   Differentiators
   -------------------------------------------------------------------------- */
.diff { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 700px) { .diff { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .diff { grid-template-columns: repeat(3, 1fr); } }
.diff__item {
  background: var(--white);
  padding: clamp(24px, 3vw, 36px);
  transition: background 0.3s;
}
.diff__item:hover { background: var(--paper); }
.diff__num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--aqua);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 18px;
}
.diff__item h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.diff__item p { color: var(--text-muted); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   Services detail page
   -------------------------------------------------------------------------- */
.svc-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.svc-nav__list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 10px;
}
.svc-nav__list::-webkit-scrollbar { display: none; }
.svc-nav__link {
  flex: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.svc-nav__link:hover { color: var(--deep); background: var(--mist); }
.svc-nav__link.is-active { background: var(--deep); color: var(--white); }

html { scroll-padding-top: calc(var(--header-h) + 80px); }

.svc {
  display: grid;
  gap: 32px 64px;
  padding-block: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.svc:last-child { border-bottom: 0; }
@media (min-width: 960px) { .svc { grid-template-columns: 0.9fr 1.1fr; } }
.svc__head { position: relative; }
@media (min-width: 960px) {
  .svc__head { position: sticky; top: calc(var(--header-h) + 100px); align-self: start; }
}
.svc__num {
  display: block;
  font-size: clamp(4rem, 3rem + 4vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--aqua);
  -webkit-text-stroke: 1.5px var(--teal);
  margin-bottom: 20px;
  font-family: var(--font-latin);
}
.svc__head h2 { font-size: var(--fs-xl); max-width: 16ch; }
.svc__tag { margin-top: 14px; color: var(--teal); font-weight: 500; font-style: italic; }
html[lang="ar"] .svc__tag { font-style: normal; }
.svc__list {
  display: grid;
  gap: 0;
  counter-reset: item;
}
.svc__list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-md);
  color: var(--text);
}
.svc__list li:first-child { border-top: 1px solid var(--line); }
.svc__list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--teal);
  font-family: var(--font-latin);
  min-width: 2.4ch;
}
.svc__note {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--deep);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Training domains
   -------------------------------------------------------------------------- */
.domains {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.domain {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  transition: background 0.3s, transform 0.4s var(--ease-out);
}
.domain::after {
  content: "";
  position: absolute;
  width: 90px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--aqua);
  inset-inline-end: -45px;
  bottom: -45px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s, transform 0.45s var(--ease-out);
}
.domain:hover { background: #1f7c7d; transform: translateY(-3px); }
.domain:hover::after { opacity: 0.9; transform: scale(1); }
.domain__num {
  flex: none;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--aqua);
  font-family: var(--font-latin);
  font-variant-numeric: tabular-nums;
}
.domain__name { position: relative; z-index: 1; }

.feature-cols { display: grid; gap: 40px; }
@media (min-width: 900px) { .feature-cols { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.feature-cols h3 { font-size: var(--fs-lg); margin-bottom: 18px; }
.feature-cols .feature__num {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
  font-family: var(--font-latin);
}

/* --------------------------------------------------------------------------
   Clients
   -------------------------------------------------------------------------- */
.logo-wall {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
}
.logo-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.logo-tile img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}
.logo-tile:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -22px rgba(10, 57, 63, 0.5);
}
.logo-tile:hover img { transform: scale(1.05); }
.fine-print { margin-top: 24px; font-size: var(--fs-xs); color: var(--text-muted); }

/* Marquee (home) */
.marquee {
  --gap: 56px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { margin-top: 28px; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 60s; }
.marquee__set {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-inline-end: var(--gap);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}
.marquee__track img:hover { transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--on-dark);
  padding-block: clamp(64px, 9vw, 120px);
}
.cta .container { position: relative; z-index: 1; }
.cta__inner {
  display: grid;
  gap: 32px;
  align-items: end;
}
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.4fr auto; } }
.cta h2 { font-size: var(--fs-2xl); color: var(--white); }
.cta p { margin-top: 16px; font-size: var(--fs-md); font-style: italic; color: var(--on-dark-muted); font-weight: 300; }
html[lang="ar"] .cta p { font-style: normal; }
.cta .orb--aqua {
  width: clamp(200px, 26vw, 380px);
  aspect-ratio: 1;
  inset-inline-end: -6%;
  bottom: -45%;
}
.cta .orb--teal {
  width: clamp(260px, 32vw, 460px);
  aspect-ratio: 1;
  inset-inline-end: 8%;
  top: -60%;
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }

.contact-list { display: grid; gap: 0; }
.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 2px 18px;
  align-items: center;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item__icon {
  grid-row: span 2;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal);
}
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-item__value { font-weight: 600; color: var(--deep); font-size: var(--fs-md); }
.contact-item__value a:hover { color: var(--teal); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.socials { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.social {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--deep);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.social svg { width: 20px; height: 20px; }
.social:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

.form-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.form-card h2 { font-size: var(--fs-xl); margin-bottom: 8px; }
.form-card > p { color: var(--text-muted); margin-bottom: 28px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--deep);
}
.field .req { color: var(--teal); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231b6e6f' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-inline-end: 40px;
}
[dir="rtl"] .field select { background-position: left 16px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b7d3d3; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(27, 110, 111, 0.14);
}
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #b3261e; background: #fdf6f5; }
.field__error {
  display: none;
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: #b3261e;
}
.field.has-error .field__error { display: block; }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-actions small { color: var(--text-muted); font-size: var(--fs-xs); }

.form-success {
  display: none;
  text-align: center;
  padding-block: 32px;
}
.form-success__icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--deep);
}
.form-success__icon svg { width: 34px; height: 34px; }
.form-success h3 { font-size: var(--fs-xl); margin-bottom: 10px; }
.form-success p { color: var(--text-muted); max-width: 42ch; margin-inline: auto; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }
.form-card.is-sent > h2, .form-card.is-sent > p { display: none; }

.offices { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 560px) { .offices { grid-template-columns: 1fr 1fr; } }
.office {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--on-dark);
}
.office__city { font-size: var(--fs-lg); font-weight: 700; color: var(--white); }
.office__country { color: var(--aqua); font-size: var(--fs-sm); }
.office .orb--aqua { width: 90px; aspect-ratio: 1; inset-inline-end: -30px; bottom: -40px; opacity: 0.85; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--deep-2);
  color: var(--on-dark-muted);
  padding-top: clamp(56px, 7vw, 88px);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-brand img { height: 92px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 34ch; }
.footer-title {
  margin-bottom: 18px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--aqua);
}
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: var(--on-dark); transition: color 0.2s; }
.footer-links a:hover { color: var(--aqua); }
.site-footer .social { border-color: rgba(177, 239, 240, 0.25); color: var(--on-dark); }
.site-footer .social:hover { background: var(--aqua); border-color: var(--aqua); color: var(--deep); }
.site-footer .socials { margin-top: 20px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-block: 24px;
  border-top: 1px solid rgba(177, 239, 240, 0.14);
  font-size: var(--fs-xs);
}
.site-footer .chevron-bar { color: var(--teal); }

/* ==========================================================================
   Motion layer — aurora, spotlight, bento, statement, progress, transitions
   ========================================================================== */

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Scroll progress bar (bottom edge of header) */
.scroll-progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
}
[dir="rtl"] .scroll-progress span { transform-origin: right; background: linear-gradient(-90deg, var(--teal), var(--aqua)); }

/* Page transition veil */
.js body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--deep);
  pointer-events: none;
  transform-origin: top;
  animation: veil-out 0.6s var(--ease-out) 0.05s both;
}
.js body.is-leaving::after {
  transform-origin: bottom;
  animation: veil-in 0.42s cubic-bezier(0.65, 0, 0.35, 1) both;
}
@keyframes veil-out { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes veil-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Magnetic buttons */
.magnetic { transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease-out); will-change: transform; }

/* Aurora background (soft drifting colour fields in brand teal/aqua) */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora span {
  position: absolute;
  width: 55vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora span:nth-child(1) {
  background: radial-gradient(circle, var(--teal) 0%, transparent 65%);
  top: -25%; inset-inline-start: -15%;
  animation: drift-a 22s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  background: radial-gradient(circle, rgba(177, 239, 240, 0.55) 0%, transparent 60%);
  bottom: -40%; inset-inline-end: -20%;
  animation: drift-b 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) {
  background: radial-gradient(circle, #2a8f90 0%, transparent 60%);
  top: 20%; inset-inline-start: 35%;
  width: 40vmax;
  opacity: 0.35;
  animation: drift-c 30s ease-in-out infinite alternate;
}
.aurora--soft span { opacity: 0.32; }
@keyframes drift-a { to { transform: translate(18%, 22%) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-22%, -16%) scale(0.9); } }
@keyframes drift-c { to { transform: translate(-30%, 12%) scale(1.2); } }

.dot-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(177, 239, 240, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}

/* Hero refinements */
.hero { min-height: min(calc(100svh - var(--header-h)), 920px); display: flex; align-items: center; }
.hero .container { width: 100%; }
.hero__art .orb--aqua { box-shadow: 0 40px 120px -30px rgba(177, 239, 240, 0.45); }
.hero__figure, .hero__badge { transition: translate 0.6s var(--ease-out); }

.spin-text {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  z-index: 1;
  transform-origin: 50% 50%;
  animation: spin 18s linear infinite;
  will-change: transform;
  pointer-events: none;
}
.spin-text svg { width: 100%; height: 100%; overflow: visible; }
.spin-text text {
  font-family: var(--font-latin);
  font-size: 9.4px;
  font-weight: 600;
  letter-spacing: 0.32em;
  fill: var(--aqua);
}
html[lang="ar"] .spin-text text { letter-spacing: 0.32em !important; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(177, 239, 240, 0.5);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--aqua);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}
@media (max-width: 959px), (max-height: 620px) { .scroll-cue { display: none; } }

/* Spotlight hover (cursor-following glow) */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(27, 110, 111, 0.12), transparent 45%);
  transition: opacity 0.4s;
}
.spotlight:hover::before { opacity: 1; }
.panel.spotlight::before,
.domain.spotlight::before,
.office.spotlight::before,
.bento__card--feature.spotlight::before,
.bento__card--teal.spotlight::before {
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(177, 239, 240, 0.22), transparent 45%);
}

/* Statement (scroll-lit words) */
.statement {
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--deep);
  max-width: 26ch;
}
html[lang="ar"] .statement { line-height: 1.6; max-width: 30ch; }
.statement--light { color: var(--white); font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); max-width: 40ch; }
.statement-foot { margin-top: clamp(40px, 6vw, 72px); align-items: end; }

/* Bento services grid */
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--feature { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(230px, auto); }
  .bento__card--feature { grid-column: 1; grid-row: span 2; }
}
.bento__card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s, opacity 0.9s var(--ease-out);
}
.bento__card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 110, 111, 0.4);
  box-shadow: 0 30px 60px -36px rgba(10, 57, 63, 0.45);
}
.bento__card h3 { font-size: var(--fs-lg); max-width: 24ch; position: relative; z-index: 1; }
.bento__card p { color: var(--text-muted); font-size: var(--fs-sm); max-width: 46ch; position: relative; z-index: 1; }
.bento__num {
  font-family: var(--font-latin);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--teal);
  position: relative; z-index: 1;
}
.bento__go {
  margin-top: auto;
  align-self: flex-start;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--teal);
  position: relative; z-index: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.bento__card:hover .bento__go { background: var(--teal); color: var(--white); border-color: var(--teal); }

.bento__card--feature { background: var(--deep); border-color: var(--deep); }
.bento__card--feature h3 { color: var(--white); font-size: var(--fs-xl); }
.bento__card--feature p { color: var(--on-dark-muted); font-size: var(--fs-md); }
.bento__card--feature .bento__num { color: var(--aqua); }
.bento__card--feature .bento__go { border-color: rgba(177, 239, 240, 0.35); color: var(--aqua); }
.bento__card--feature:hover .bento__go { background: var(--aqua); color: var(--deep); border-color: var(--aqua); }
.bento__card--feature .orb--aqua {
  width: 260px; aspect-ratio: 1;
  inset-inline-end: -90px; bottom: -110px;
  opacity: 0.9;
  transition: transform 0.8s var(--ease-out);
}
.bento__card--feature:hover .orb--aqua { transform: scale(1.12); }

.bento__card--teal { background: var(--teal); border-color: var(--teal); }
.bento__card--teal h3 { color: var(--white); }
.bento__card--teal p { color: var(--on-dark); }
.bento__card--teal .bento__num { color: var(--aqua); }
.bento__card--teal .bento__go { border-color: rgba(177, 239, 240, 0.4); color: var(--aqua); }
.bento__card--teal:hover .bento__go { background: var(--aqua); color: var(--deep); border-color: var(--aqua); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 8px 16px;
  position: relative; z-index: 1;
  max-width: 85%;
}
.chips li {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--on-dark);
  border: 1px solid rgba(177, 239, 240, 0.28);
  background: rgba(10, 57, 63, 0.4);
}
html[lang="ar"] .chips li { font-size: var(--fs-sm); }

/* Approach progress line */
.steps__progress {
  --p: 0;
  position: absolute;
  z-index: 0;
  background: var(--aqua);
  pointer-events: none;
  display: none;
}
@media (min-width: 1000px) {
  .steps__progress {
    display: block;
    top: 27px;
    inset-inline: 28px calc((100% - 96px) / 5 - 28px);
    width: auto;
    height: 2px;
    transform: scaleX(var(--p));
    transform-origin: left;
  }
  [dir="rtl"] .steps__progress { transform-origin: right; }
}
.step__num { transition: box-shadow 0.4s, transform 0.5s var(--ease-out); }
.step:hover .step__num { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(177, 239, 240, 0.12); }

/* Decorative corner orb for deep sections */
.orb--corner {
  width: clamp(260px, 36vw, 520px);
  aspect-ratio: 1;
  inset-inline-end: -12%;
  top: -22%;
  opacity: 0.45;
}
.section--deep > .container { position: relative; z-index: 1; }

/* Inner page polish */
.page-hero { min-height: clamp(360px, 48vh, 520px); display: flex; align-items: flex-end; }
.page-hero .container { width: 100%; }
.page-hero .eyebrow { animation: rise 0.9s var(--ease-out) both 0.35s; }
.page-hero__title { animation: rise 1s var(--ease-out) both 0.45s; }
.page-hero .lead { animation: rise 1s var(--ease-out) both 0.6s; }

.vm__label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
html[lang="ar"] .vm__label { font-size: var(--fs-sm); }
.vm__item p { font-size: var(--fs-md); color: var(--text); }
.vm__item { overflow: hidden; transition: border-color 0.3s, transform 0.5s var(--ease-out), opacity 0.9s var(--ease-out); }
.vm__item:hover { border-color: var(--teal); }

.apart {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid rgba(177, 239, 240, 0.2);
}
.apart h3 {
  margin-bottom: 20px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--aqua);
}
html[lang="ar"] .apart h3 { font-size: var(--fs-md); }
.apart__foot { margin-top: 24px; font-size: var(--fs-md); font-style: italic; color: var(--aqua); }
html[lang="ar"] .apart__foot { font-style: normal; }

.diff__num { transition: transform 0.5s var(--ease-out), background 0.3s; }
.diff__item:hover .diff__num { transform: rotate(-8deg) scale(1.1); background: var(--teal); }

.svc__more { margin-top: 28px; }
.svc__list li:hover { color: var(--deep); }

/* Footer wordmark */
.site-footer { position: relative; overflow: hidden; }
.footer-mega {
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: clamp(5rem, 22vw, 20rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(177, 239, 240, 0.18);
  margin-bottom: -0.12em;
  user-select: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .svc__list li,
.js .step {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .svc__list li.is-visible,
.js .step.is-visible { opacity: 1; transform: none; }

.js .hero__word {
  opacity: 0;
  transform: translateY(0.4em);
  animation: word-in 1s var(--ease-out) forwards;
}
.js .hero__word:nth-child(1) { animation-delay: 0.4s; }
.js .hero__word:nth-child(2) { animation-delay: 0.55s; }
.js .hero__word:nth-child(3) { animation-delay: 0.7s; }
.js .hero__kicker, .js .hero__sub, .js .hero__body, .js .hero__actions { animation: rise 1s var(--ease-out) both; }
.js .hero__kicker { animation-delay: 0.3s; }
.js .hero__sub { animation-delay: 0.85s; }
.js .hero__body { animation-delay: 0.95s; }
.js .hero__actions { animation-delay: 1.05s; }
@keyframes word-in { to { opacity: 1; transform: none; } }

.js .hero__art .orb--aqua { animation: grow 1.4s var(--ease-out) both 0.4s; }
.js .hero__figure { animation: rise 1.2s var(--ease-out) both 0.8s; }
/* EJADA icon: one full turn per page load */
.js .hero__figure img { animation: spin-once 1.6s cubic-bezier(0.65, 0, 0.35, 1) both 0.9s; }
@keyframes spin-once { from { rotate: 0deg; } to { rotate: 360deg; } }
.js .hero__badge { animation: rise 1s var(--ease-out) both 1.2s; }
@keyframes grow { from { transform: scale(0.6); opacity: 0; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal, .js .svc__list li, .js .step { opacity: 1; transform: none; }
  .marquee__track { animation: none; width: auto; justify-content: center; }
  .marquee__set { flex-wrap: wrap; justify-content: center; row-gap: 24px; padding-inline: var(--gutter); }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__set[aria-hidden="true"] { display: none; }
  .aurora span, .spin-text { animation: none !important; }
  body::after { display: none; }
}
