/* ============================================================
   Man Power Saudia — corporate bilingual site
   ============================================================ */

:root {
  --navy-900: #0a1f3d;
  --navy-800: #102a52;
  --navy-700: #1a3a6b;
  --navy-100: #e6ecf4;

  --gold-500: #c9a55c;
  --gold-600: #b08e44;
  --gold-100: #f0e6cf;

  --cream: #f7f3ec;
  --cream-deep: #efe8da;
  --paper: #ffffff;

  --ink: #15171c;
  --ink-soft: #4a4f5a;
  --ink-mute: #8a8f9b;
  --rule: rgba(10, 31, 61, 0.12);
  --rule-soft: rgba(10, 31, 61, 0.06);

  --serif-en: "Cormorant Garamond", "Amiri", serif;
  --sans-en: "Manrope", "IBM Plex Sans Arabic", sans-serif;
  --serif-ar: "Amiri", "Cormorant Garamond", serif;
  --sans-ar: "IBM Plex Sans Arabic", "Manrope", sans-serif;

  --container: 1280px;
  --gutter: 40px;
}

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

html {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans-en);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] {
  font-family: var(--sans-ar);
}

body { overflow-x: hidden; }

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

/* ----- Layout ----- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (max-width: 720px) {
  :root { --gutter: 22px; }
}

/* ----- Type ----- */
.h-display {
  font-family: var(--serif-en);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
[dir="rtl"] .h-display { font-family: var(--serif-ar); letter-spacing: 0; line-height: 1.18; font-weight: 700; }

.h-section {
  font-family: var(--serif-en);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
[dir="rtl"] .h-section { font-family: var(--serif-ar); letter-spacing: 0; line-height: 1.25; font-weight: 700; }

.h-card {
  font-family: var(--serif-en);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
[dir="rtl"] .h-card { font-family: var(--serif-ar); font-weight: 700; line-height: 1.35; }

.eyebrow {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
[dir="rtl"] .eyebrow { font-family: var(--sans-ar); letter-spacing: 0.04em; text-transform: none; font-weight: 700; font-size: 13px; }

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}
[dir="rtl"] .lead { font-size: 18px; line-height: 1.85; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
[dir="rtl"] .btn { font-family: var(--sans-ar); font-size: 15px; letter-spacing: 0; }

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--navy-900); color: var(--gold-500); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1px solid rgba(10, 31, 61, 0.3);
}
.btn-ghost:hover { background: var(--navy-900); color: var(--cream); border-color: var(--navy-900); }

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 243, 236, 0.3);
}
.btn-ghost-light:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }

.btn .arr {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] .btn .arr { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 22, 44, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(201, 165, 92, 0.22);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 13px; }
.nav-emblem {
  height: 46px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy-900);
  color: var(--gold-500);
  display: grid;
  place-items: center;
  font-family: var(--serif-en);
  font-size: 22px;
  font-weight: 600;
  border-radius: 2px;
}
.logo-text .name.wordmark {
  font-family: var(--serif-en);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--navy-900);
  text-transform: uppercase;
}
[dir="rtl"] .logo-text .name.wordmark { font-family: var(--serif-en); }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .name {
  font-family: var(--serif-en);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}
[dir="rtl"] .logo-text .name { font-family: var(--serif-ar); font-weight: 700; font-size: 19px; }
.logo-text .est {
  font-family: var(--sans-en);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
[dir="rtl"] .logo-text .est { font-family: var(--sans-ar); letter-spacing: 0.04em; text-transform: none; font-size: 11px; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(247, 243, 236, 0.82);
  position: relative;
  padding: 6px 0;
}
[dir="rtl"] .nav-links a { font-size: 15px; }
.nav-links a:hover { color: var(--cream); }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
[dir="rtl"] .nav-links a::after { transform-origin: right; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ----- Services dropdown ----- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item.has-menu .nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-caret {
  font-size: 9px;
  line-height: 1;
  transition: transform 0.25s ease;
  color: var(--gold-600);
}
.nav-item.has-menu:hover .nav-caret,
.nav-item.has-menu:focus-within .nav-caret { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  min-width: 320px;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  box-shadow: 0 24px 60px -28px rgba(10, 31, 61, 0.4);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
[dir="rtl"] .nav-menu { left: auto; right: 0; }
/* invisible hover bridge so the cursor can cross the gap */
.nav-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-item.has-menu:hover .nav-menu,
.nav-item.has-menu:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  text-decoration: none;
}
.nav-menu-link::after { display: none !important; }
.nav-menu-link:hover { background: var(--cream); }
.nav-menu-num {
  font-family: var(--serif-en);
  font-size: 15px;
  color: var(--gold-600);
  font-weight: 600;
  min-width: 22px;
}
[dir="rtl"] .nav-menu-num { font-family: var(--serif-ar); }
.nav-menu-text { display: flex; flex-direction: column; flex: 1; }
.nav-menu-label {
  font-family: var(--serif-en);
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
}
[dir="rtl"] .nav-menu-label { font-family: var(--serif-ar); }
.nav-menu-arr {
  color: var(--gold-500);
  font-size: 15px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
[dir="rtl"] .nav-menu-arr { transform: scaleX(-1) translateX(-6px); }
.nav-menu-link:hover .nav-menu-arr { opacity: 1; transform: translateX(0); }
[dir="rtl"] .nav-menu-link:hover .nav-menu-arr { transform: scaleX(-1) translateX(0); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(247, 243, 236, 0.28);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  padding: 6px 14px;
  border-radius: 999px;
  color: rgba(247, 243, 236, 0.68);
  transition: background 0.2s, color 0.2s;
  font-family: var(--sans-en);
}
.lang-toggle button.active {
  background: var(--cream);
  color: var(--navy-900);
}
.lang-toggle button:hover:not(.active) { color: var(--cream); }

/* ----- Hamburger button (mobile only) ----- */
.nav-burger {
  display: none;
  position: relative;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 80;
}
.nav-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 10px; }
.nav-burger span:nth-child(3) { top: 20px; }
.nav-burger.is-open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ----- Mobile drawer ----- */
.nav-drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 61, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 70;
}
.nav-drawer-scrim.is-open { opacity: 1; visibility: visible; }

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(380px, 86vw);
  background: var(--paper);
  border-left: 1px solid var(--rule-soft);
  box-shadow: -30px 0 70px -30px rgba(10, 31, 61, 0.4);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 75;
  display: flex;
  flex-direction: column;
  padding: 96px 32px 32px;
  gap: 28px;
  overflow-y: auto;
}
[dir="rtl"] .nav-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--rule-soft);
  box-shadow: 30px 0 70px -30px rgba(10, 31, 61, 0.4);
  transform: translateX(-100%);
}
.nav-drawer.is-open { transform: translateX(0); }

.nav-drawer-heading {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  margin-bottom: 14px;
}
[dir="rtl"] .nav-drawer-heading { letter-spacing: 0; text-transform: none; font-size: 13px; }
.nav-drawer-services { display: flex; flex-direction: column; }
.nav-drawer-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
}
.nav-drawer-num {
  font-family: var(--serif-en);
  font-size: 14px;
  color: var(--gold-600);
  font-weight: 600;
  min-width: 20px;
}
[dir="rtl"] .nav-drawer-num { font-family: var(--serif-ar); }
.nav-drawer-label {
  flex: 1;
  font-family: var(--serif-en);
  font-size: 19px;
  color: var(--ink);
}
[dir="rtl"] .nav-drawer-label { font-family: var(--serif-ar); }
.nav-drawer-arr { color: var(--gold-500); font-size: 15px; }
[dir="rtl"] .nav-drawer-arr { transform: scaleX(-1); }

.nav-drawer-links { display: flex; flex-direction: column; }
.nav-drawer-links a {
  padding: 13px 0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-drawer-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.nav-drawer-foot .btn { width: 100%; justify-content: center; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-burger { display: block; }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
[dir="rtl"] .hero-eyebrow { letter-spacing: 0.04em; text-transform: none; font-size: 14px; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--gold-500); }
.hero-eyebrow .since { color: var(--ink-mute); }

.hero h1 { margin: 0 0 28px; color: var(--navy-900); }
.hero h1 .gold { color: var(--gold-600); font-style: italic; font-weight: 500; }
[dir="rtl"] .hero h1 .gold { font-style: normal; }

.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* Hero intro (text band below the slider) */
.hero-intro { max-width: 940px; }
.hero-intro .lead { max-width: 64ch; }

/* ----- Hero slider (full-width banner) ----- */
.hero-slider {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
  padding: 0;
}
.hero-slider-stage {
  position: relative;
  height: clamp(440px, 64vh, 660px);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-slide-media {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 14px,
      rgba(255, 255, 255, 0.02) 14px 28px
    ),
    var(--navy-800);
  overflow: hidden;
}
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 7s ease;
}
.hero-slide.is-active .hero-slide-img { transform: scale(1); }
.hero-slide-ph {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: ui-monospace, "Menlo", monospace;
  color: rgba(247, 243, 236, 0.55);
}
[dir="rtl"] .hero-slide-ph { left: auto; right: 24px; }
.hero-slide-ph-label { font-size: 13px; letter-spacing: 0.04em; }
.hero-slide-ph-hint { font-size: 10px; letter-spacing: 0.06em; }
.hero-slide-media.has-photo { background: none; }
.hero-slide-media.has-photo .hero-slide-ph { display: none; }
/* Scrim so overlay text is legible over any image */
.hero-slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 19, 38, 0.86) 0%,
    rgba(7, 19, 38, 0.6) 40%,
    rgba(7, 19, 38, 0.15) 75%,
    rgba(7, 19, 38, 0.05) 100%
  );
}
[dir="rtl"] .hero-slide-media::after { transform: scaleX(-1); }

.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 88px;
}
.hero-slide-copy {
  max-width: 560px;
  transform: translateY(18px);
  opacity: 0;
}
.hero-slide.is-active .hero-slide-copy {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.6s ease 0.12s, opacity 0.6s ease 0.12s;
}
.hero-slide-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-500);
  margin-bottom: 18px;
}
[dir="rtl"] .hero-slide-eyebrow { letter-spacing: 0.02em; text-transform: none; font-size: 14px; }
.hero-slide-eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--gold-500); }
.hero-slide-title {
  font-family: var(--serif-en);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 18px;
}
[dir="rtl"] .hero-slide-title { font-family: var(--serif-ar); font-weight: 700; letter-spacing: 0; }
.hero-slide-body {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(247, 243, 236, 0.82);
  margin: 0 0 30px;
  max-width: 50ch;
}
[dir="rtl"] .hero-slide-body { font-size: 18px; }

/* Arrows */
.hero-slider-arrow {
  position: absolute;
  top: calc(50% - 44px);
  transform: translateY(-50%);
  z-index: 4;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(247, 243, 236, 0.35);
  background: rgba(7, 19, 38, 0.35);
  backdrop-filter: blur(2px);
  color: var(--cream);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.hero-slider-arrow:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.hero-slider-arrow.prev { left: 24px; }
.hero-slider-arrow.next { right: 24px; }

/* Footer dots */
.hero-slider-foot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  z-index: 4;
  width: 100%;
}
.hero-slider-dots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(247, 243, 236, 0.25);
  background: rgba(7, 19, 38, 0.3);
  color: rgba(247, 243, 236, 0.7);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.hero-dot:hover { border-color: rgba(247, 243, 236, 0.55); color: var(--cream); }
.hero-dot.is-active { background: var(--cream); border-color: var(--cream); color: var(--navy-900); }
.hero-dot-num { font-family: var(--serif-en); font-size: 14px; font-weight: 600; }
[dir="rtl"] .hero-dot-num { font-family: var(--serif-ar); }
.hero-dot-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .hero-slider-stage { height: clamp(420px, 70vh, 560px); }
  .hero-slide-inner { padding-bottom: 92px; }
  .hero-slider-arrow { display: none; }
  .hero-dot-label { display: none; }
  .hero-dot { padding: 0; width: 38px; height: 38px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide-img,
  .hero-slide-copy { transition: none; }
}

/* ----- Section base ----- */
section { padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 { margin: 18px 0 0; color: var(--navy-900); }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}

/* ----- Services ----- */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service {
  background: var(--paper);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 280px;
}
.service:hover { background: var(--navy-900); color: var(--cream); }
.service:hover .service-num,
.service:hover h3,
.service:hover p { color: var(--cream); }
.service:hover .service-arr { color: var(--gold-500); }

.service-num {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ink-mute);
  transition: color 0.3s;
}
[dir="rtl"] .service-num { font-family: var(--sans-ar); letter-spacing: 0; font-size: 13px; }
.service h3 {
  margin: 0;
  color: var(--navy-900);
  transition: color 0.3s;
}
.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  transition: color 0.3s;
}
[dir="rtl"] .service p { font-size: 15px; line-height: 1.85; }
.service-arr {
  margin-top: auto;
  font-size: 22px;
  color: var(--gold-500);
  align-self: flex-start;
  transition: color 0.3s, transform 0.3s;
}
.service:hover .service-arr { transform: translateX(6px); }
[dir="rtl"] .service-arr { transform: scaleX(-1); }
[dir="rtl"] .service:hover .service-arr { transform: scaleX(-1) translateX(6px); }

/* ----- Stats / impact ----- */
.impact {
  background: var(--navy-900);
  color: var(--cream);
}
.impact .h-section { color: var(--cream); }
.impact .lead { color: rgba(247, 243, 236, 0.75); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
}
@media (max-width: 820px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .impact-grid { grid-template-columns: 1fr; } }
.impact-stat {
  padding: 32px 28px;
  min-width: 0;
  border-left: 1px solid rgba(247, 243, 236, 0.14);
}
[dir="rtl"] .impact-stat { border-left: 0; border-right: 1px solid rgba(247, 243, 236, 0.14); }
.impact-stat:first-child { border-left: 0; }
[dir="rtl"] .impact-stat:first-child { border-right: 0; }
@media (max-width: 820px) {
  .impact-stat:nth-child(odd) { border-left: 0; }
  [dir="rtl"] .impact-stat:nth-child(odd) { border-right: 0; }
}
@media (max-width: 560px) {
  .impact-stat { border-left: 0; padding: 26px 0; border-top: 1px solid rgba(247, 243, 236, 0.14); }
  [dir="rtl"] .impact-stat { border-right: 0; }
  .impact-stat:first-child { border-top: 0; }
}
.impact-num {
  font-family: var(--serif-en);
  font-size: 72px;
  overflow-wrap: break-word;
  line-height: 1;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.02em;
}
[dir="rtl"] .impact-num { font-family: var(--serif-ar); font-weight: 700; line-height: 1.15; }
@media (max-width: 820px) { .impact-num { font-size: 56px; } }
@media (max-width: 560px) { .impact-num { font-size: 64px; } }
.impact-num .accent { color: var(--gold-500); }
.impact-stat-label {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.6);
  font-weight: 500;
}
[dir="rtl"] .impact-stat-label { letter-spacing: 0; text-transform: none; font-size: 14px; }

/* ----- Process ----- */
.process { background: var(--cream-deep); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 820px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--navy-900);
}
.step-num {
  font-family: var(--serif-en);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
[dir="rtl"] .step-num { font-family: var(--sans-ar); font-weight: 700; letter-spacing: 0; font-size: 14px; }
.step h4 {
  margin: 0 0 10px;
  font-family: var(--serif-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
[dir="rtl"] .step h4 { font-family: var(--serif-ar); font-weight: 700; line-height: 1.4; }
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }
[dir="rtl"] .step p { font-size: 15px; line-height: 1.8; }

/* ----- Compliance ----- */
.compliance { background: var(--cream); }
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) { .compliance-grid { grid-template-columns: 1fr; gap: 40px; } }

.compliance-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 520px) { .compliance-cards { grid-template-columns: 1fr; } }

.cred {
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold-500);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cred-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
[dir="rtl"] .cred-label { letter-spacing: 0; text-transform: none; font-size: 13px; }
.cred-name {
  font-family: var(--serif-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin-top: 4px;
}
[dir="rtl"] .cred-name { font-family: var(--serif-ar); font-weight: 700; font-size: 22px; }
.cred-id {
  margin-top: 12px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.cred-id .key { color: var(--ink-mute); }

/* ----- Logos ----- */
.logos { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.logos-inner { padding: 56px 0; }
.logos-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  text-align: center;
  margin-bottom: 36px;
}
[dir="rtl"] .logos-label { letter-spacing: 0; text-transform: none; font-size: 13px; }

/* Continuous logo marquee — ~5 brands in view, loops seamlessly, fades
   out at both edges as logos scroll behind the mask. Drop logo images at
   the paths in content.jsx (gallery/logos/*.png); until a file exists, a
   striped placeholder shows the brand + filename. */
.logos-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logos-scroll 32s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
/* Make the whole marquee LTR even in RTL: the wide max-content track then
   anchors at x=0 (like the working LTR case) so the translateX 0 → -50% loop
   stays seamless. Logos have no reading direction; only reverse the scroll so
   it moves the natural way for Arabic. */
[dir="rtl"] .logos-marquee { direction: ltr; }
[dir="rtl"] .logos-track { animation-direction: reverse; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
}
.logo-frame {
  position: relative;
  flex: 0 0 auto;
  width: 188px;
  height: 96px;
  margin-right: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}
.logo-frame:hover .logo-img {
  opacity: 1;
  transform: scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(10, 31, 61, 0.16));
}
.logo-frame.img-failed .logo-img { display: none; }
.logo-ph {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  text-align: center;
  border: 1px dashed var(--rule);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg,
      rgba(10, 31, 61, 0.06) 0 12px,
      rgba(10, 31, 61, 0.03) 12px 24px);
}
.logo-frame.img-failed .logo-ph { display: flex; }
.logo-ph-name {
  font-family: var(--serif-en);
  font-size: 20px;
  font-weight: 500;
  color: rgba(10, 31, 61, 0.55);
  line-height: 1.1;
}
[dir="rtl"] .logo-ph-name { font-family: var(--serif-ar); font-weight: 700; }
.logo-ph-hint {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  direction: ltr;
}
@media (max-width: 820px) {
  .logo-frame { width: 156px; height: 86px; margin-right: 44px; }
  .logo-ph-name { font-size: 17px; }
}

/* ----- Why choose us ----- */
.why { background: var(--cream-deep); }
.why .h-section .gold { color: var(--gold-600); font-style: italic; font-weight: 500; }
[dir="rtl"] .why .h-section .gold { font-style: normal; font-weight: 700; }

.why-tabs {
  display: flex;
  gap: 6px;
  margin-top: 44px;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.why-tab {
  appearance: none;
  background: none;
  border: none;
  padding: 15px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-mute);
  cursor: pointer;
  position: relative;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
[dir="rtl"] .why-tab { font-size: 18px; }
.why-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.why-tab:hover { color: var(--navy-900); }
.why-tab.is-active { color: var(--navy-900); }
.why-tab.is-active::after { transform: scaleX(1); }

.why-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
  animation: whyfade 0.4s ease;
}
@keyframes whyfade {
  from { transform: translateY(8px); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .why-panel { animation: none; } }
@media (max-width: 880px) { .why-panel { grid-template-columns: 1fr; gap: 32px; } }

.why-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--cream);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.why-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(10,31,61,0.05) 0 14px, rgba(10,31,61,0.03) 14px 28px);
  z-index: 0;
}
.why-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.why-media.img-failed .why-photo { display: none; }
.why-ph {
  position: relative;
  z-index: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.why-media.img-failed .why-ph { display: flex; }
.why-ph-name {
  font-family: var(--serif-en);
  font-size: 30px;
  font-weight: 500;
  color: rgba(10,31,61,0.30);
}
[dir="rtl"] .why-ph-name { font-family: var(--serif-ar); font-weight: 700; }
.why-ph-hint {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  direction: ltr;
}

.why-heading {
  font-family: var(--serif-en);
  font-size: 30px;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
[dir="rtl"] .why-heading { font-family: var(--serif-ar); font-weight: 700; font-size: 32px; }
.why-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 48ch;
}
[dir="rtl"] .why-text { font-size: 19px; line-height: 1.9; }
.why-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 3px;
  transition: gap 0.2s;
}
[dir="rtl"] .why-link { font-size: 15px; }
.why-link:hover { gap: 14px; }
.why-link .arr { color: var(--gold-500); }
[dir="rtl"] .why-link .arr { transform: scaleX(-1); }

/* ----- Contact ----- */
.contact { background: var(--navy-900); color: var(--cream); }
.contact .h-section { color: var(--cream); }
.contact .lead { color: rgba(247, 243, 236, 0.75); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}
[dir="rtl"] .contact-info-item .label { letter-spacing: 0; text-transform: none; font-size: 13px; }
.contact-info-item .value {
  font-family: var(--serif-en);
  font-size: 22px;
  overflow-wrap: break-word;
  word-break: break-word;
  margin-top: 8px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.005em;
}
[dir="rtl"] .contact-info-item .value { font-family: var(--serif-ar); font-weight: 700; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-width: 0;
}
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; gap: 22px; }
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.6);
  font-weight: 600;
}
[dir="rtl"] .field label { letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.25);
  padding: 12px 0;
  color: var(--cream);
  font-family: var(--sans-en);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
[dir="rtl"] .field input, [dir="rtl"] .field select, [dir="rtl"] .field textarea {
  font-family: var(--sans-ar); font-size: 15px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(247, 243, 236, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-500); }
.field select { appearance: none; cursor: pointer; }
.field select option { color: var(--ink); background: var(--cream); }
.field textarea { resize: vertical; min-height: 80px; }

/* Custom sector dropdown (themed to match the dark contact section) */
.sector-select { position: relative; width: 100%; }
.sector-trigger {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.25);
  padding: 12px 0;
  color: rgba(247, 243, 236, 0.35);
  font-family: var(--sans-en);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
[dir="rtl"] .sector-trigger { font-family: var(--sans-ar); text-align: right; }
.sector-trigger.has-value { color: var(--cream); }
.sector-select.open .sector-trigger,
.sector-trigger:focus-visible { border-color: var(--gold-500); }
.sector-caret {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--gold-500);
  border-bottom: 1.5px solid var(--gold-500);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.sector-select.open .sector-caret { transform: rotate(-135deg) translateY(-1px); }
.sector-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--navy-800);
  border: 1px solid rgba(201, 165, 92, 0.35);
  box-shadow: 0 18px 40px rgba(5, 14, 28, 0.55);
  max-height: 280px;
  overflow-y: auto;
}
.sector-option {
  padding: 11px 12px;
  color: rgba(247, 243, 236, 0.82);
  font-family: var(--sans-en);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
[dir="rtl"] .sector-option { font-family: var(--sans-ar); }
.sector-option:hover { background: rgba(201, 165, 92, 0.14); color: var(--cream); }
.sector-option.selected {
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
}

.form-actions {
  grid-column: 1 / -1;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.form-fineprint {
  font-size: 12px;
  color: rgba(247, 243, 236, 0.5);
  max-width: 36ch;
}
[dir="rtl"] .form-fineprint { font-size: 13px; }

.form-success {
  grid-column: 1 / -1;
  padding: 20px 24px;
  border: 1px solid var(--gold-500);
  background: rgba(201, 165, 92, 0.08);
  font-size: 14px;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 14px;
}
.form-success .check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.form-error {
  grid-column: 1 / -1;
  padding: 16px 24px;
  border: 1px solid rgba(214, 120, 110, 0.6);
  background: rgba(214, 120, 110, 0.1);
  font-size: 14px;
  color: var(--cream);
}

/* ----- Footer ----- */
footer { background: #061328; color: rgba(247, 243, 236, 0.7); padding: 60px 0 32px; font-size: 13px; }
[dir="rtl"] footer { font-size: 14px; }
.footer-brandband {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.1);
  flex-wrap: wrap;
}
.footer-tagline {
  margin: 0;
  max-width: 42ch;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.6);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.1);
}
@media (max-width: 820px) {
  .footer-brandband { gap: 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.1);
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 18px;
}
[dir="rtl"] .footer-col-title { letter-spacing: 0; text-transform: none; font-size: 13px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(247, 243, 236, 0.5);
}
[dir="rtl"] .footer-bottom { font-size: 13px; }
.footer-copy { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.footer-credit {
  color: rgba(247, 243, 236, 0.4);
}
.footer-credit a {
  color: rgba(247, 243, 236, 0.7);
  font-weight: 600;
  transition: color 0.2s;
}
.footer-credit a:hover { color: var(--gold-500); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.footer-legal a { color: rgba(247, 243, 236, 0.5); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-500); }
.footer-legal a:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: rgba(247, 243, 236, 0.3);
}

.footer-brand .name {
  font-family: var(--serif-en);
  font-size: 22px;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 8px;
}
.footer-logo-full {
  height: 168px;
  width: auto;
  max-width: 100%;
  display: block;
}
.footer-logo-stack { display: none; }
[dir="rtl"] .footer-logo-full { margin-left: auto; }
@media (max-width: 760px) {
  .footer-logo-full {
    display: block;
    height: auto;
    width: 100%;
    max-width: 440px;
  }
  .footer-logo-stack { display: none; }
  [dir="rtl"] .footer-logo-full { margin-left: auto; }
}
[dir="rtl"] .footer-brand .name { font-family: var(--serif-ar); font-weight: 700; }
.footer-brand p { margin: 0; line-height: 1.6; max-width: 32ch; }

/* RTL flip for arrows in nav-links */
[dir="rtl"] body { text-align: right; }

/* ============================================================
   Brand lockup (vector emblem + live text)
   ============================================================ */
.ee-eastern,
.ee-edge { font-family: "Cinzel", serif; display: block; white-space: nowrap; }
.ee-edge { color: var(--gold-600); }

/* --- Navbar mark --- */
.brandmark {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy-900);
}
.brandmark-emblem { display: flex; }
.brandmark-words { display: flex; flex-direction: column; line-height: 1; }
.brandmark .ee-eastern {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: currentColor;
}
.brandmark .ee-edge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.36em;
  margin-top: 4px;
}

/* --- Full lockup --- */
.ee-lockup {
  display: flex;
  align-items: center;
  gap: calc(30px * var(--ee-scale, 1));
  color: var(--navy-900);
}
.ee-lockup--light { color: var(--cream); }

.ee-lockup-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(12px * var(--ee-scale, 1));
}
.ee-lockup-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.ee-lockup-wordmark .ee-eastern {
  font-size: calc(30px * var(--ee-scale, 1));
  font-weight: 700;
  letter-spacing: 0.14em;
  color: currentColor;
}
.ee-lockup-wordmark .ee-edge {
  font-size: calc(15px * var(--ee-scale, 1));
  font-weight: 600;
  letter-spacing: 0.38em;
  margin-top: calc(6px * var(--ee-scale, 1));
}

.ee-divider {
  width: 1px;
  align-self: stretch;
  min-height: calc(118px * var(--ee-scale, 1));
  background: linear-gradient(
    to bottom,
    transparent,
    currentColor 18%,
    currentColor 82%,
    transparent
  );
  opacity: 0.45;
  position: relative;
}
.ee-divider::before,
.ee-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  width: calc(7px * var(--ee-scale, 1));
  height: calc(7px * var(--ee-scale, 1));
  background: var(--gold-500);
  transform: translateX(-50%) rotate(45deg);
}
.ee-divider::before { top: calc(14px * var(--ee-scale, 1)); }
.ee-divider::after { bottom: calc(14px * var(--ee-scale, 1)); }

.ee-lockup-right { text-align: left; }
[dir="rtl"] .ee-lockup-right { text-align: right; }
.ee-name-en {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: calc(22px * var(--ee-scale, 1));
  letter-spacing: 0.02em;
  color: currentColor;
  line-height: 1.1;
}
.ee-sub-en {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: calc(11px * var(--ee-scale, 1));
  letter-spacing: 0.22em;
  color: currentColor;
  opacity: 0.72;
  margin-top: calc(5px * var(--ee-scale, 1));
}
.ee-rule {
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  margin: calc(13px * var(--ee-scale, 1)) 0;
  position: relative;
}
.ee-rule .ee-diamond {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(7px * var(--ee-scale, 1));
  height: calc(7px * var(--ee-scale, 1));
  background: var(--gold-500);
  transform: translate(-50%, -50%) rotate(45deg);
}
.ee-name-ar {
  font-family: "Cairo", "IBM Plex Sans Arabic", sans-serif;
  font-weight: 700;
  font-size: calc(21px * var(--ee-scale, 1));
  color: currentColor;
  line-height: 1.2;
  direction: rtl;
}
.ee-sub-ar {
  font-family: "Cairo", "IBM Plex Sans Arabic", sans-serif;
  font-weight: 700;
  font-size: calc(15px * var(--ee-scale, 1));
  color: var(--gold-500);
  margin-top: calc(2px * var(--ee-scale, 1));
  direction: rtl;
}

@media (max-width: 600px) {
  .ee-lockup { gap: calc(20px * var(--ee-scale, 1)); }
}

/* --- Nav logo (full lockup, matches footer) --- */
.nav-inner { padding: 8px 0; }
.nav-logo { display: flex; align-items: center; }
.nav-lockup-full { height: 138px; width: auto; display: block; }
.ee-navlock { display: none; }
@media (max-width: 1140px) {
  .nav-lockup-full { height: 118px; }
}
@media (max-width: 980px) {
  .nav-lockup-full { height: auto; width: auto; max-height: 96px; max-width: calc(100vw - 96px); display: block; }
}
@media (max-width: 480px) {
  .nav-lockup-full { max-height: 84px; max-width: calc(100vw - 84px); }
}

/* ============================================================
   Three-up clickable service cards (home)
   ============================================================ */
.services-grid--three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .services-grid--three { grid-template-columns: 1fr; } }

/* Four-up clickable service cards (home) */
.services-grid--four {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1040px) { .services-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid--four { grid-template-columns: 1fr; } }

/* Full-width row, flush INSIDE the services grid (broader, not-yet-linked service) */
.service-row {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 56px;
  min-height: auto;
  padding: 38px 32px;
}
.service-row-head { display: flex; flex-direction: column; gap: 14px; flex: 0 0 300px; }
.service-row > p { flex: 1; margin: 0; font-size: 15px; line-height: 1.7; max-width: 58ch; }
.service-tag {
  align-self: flex-start;
  font-family: var(--sans-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  border: 1px solid var(--gold-500);
  padding: 4px 9px;
  white-space: nowrap;
}
[dir="rtl"] .service-tag { font-family: var(--sans-ar); letter-spacing: 0; font-size: 12px; }

/* Navy emphasis — kept stable on hover since the row is not interactive */
.service-row--navy,
.service-row--navy:hover { background: var(--navy-900); color: var(--cream); cursor: default; }
.service-row--navy .service-num,
.service-row--navy:hover .service-num { color: var(--gold-500); }
.service-row--navy h3,
.service-row--navy:hover h3 { color: var(--cream); }
.service-row--navy > p,
.service-row--navy:hover > p { color: rgba(247, 243, 236, 0.78); }
.service-row--navy .service-tag,
.service-row--navy:hover .service-tag { color: var(--gold-500); border-color: rgba(201, 165, 92, 0.5); }
[dir="rtl"] .service-row p { font-size: 15.5px; line-height: 1.9; }
@media (max-width: 760px) {
  .service-row { flex-direction: column; align-items: flex-start; gap: 18px; padding: 32px 24px; }
  .service-row-head { flex: none; }
}

a.service { text-decoration: none; cursor: pointer; }
.service-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-600);
  transition: color 0.3s, gap 0.25s;
}
[dir="rtl"] .service-cta { font-family: var(--sans-ar); letter-spacing: 0; font-size: 14px; }
.service:hover .service-cta { color: var(--gold-500); gap: 16px; }
.service-cta .service-arr { margin-top: 0; font-size: 18px; }
[dir="rtl"] .service-cta .service-arr { transform: scaleX(-1); }

/* ============================================================
   Service detail pages
   ============================================================ */
.detail-hero {
  background: var(--cream);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 40px;
  transition: color 0.2s, gap 0.2s;
}
.detail-back:hover { color: var(--navy-900); gap: 12px; }
.detail-back .back-arr { font-size: 18px; line-height: 1; }
[dir="rtl"] .detail-back .back-arr { transform: scaleX(-1); }

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: end;
}
@media (max-width: 900px) { .detail-hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.detail-title { color: var(--navy-900); margin: 18px 0 0; }
.detail-intro { margin: 0; max-width: 60ch; }

.detail-body { background: var(--cream); padding: 80px 0 100px; }
.detail-offer-head { margin-bottom: 44px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 760px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-block {
  background: var(--paper);
  padding: 36px 32px 40px;
}
.cat-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--navy-900);
}
.cat-index {
  font-family: var(--serif-en);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: 0.08em;
}
[dir="rtl"] .cat-index { font-family: var(--sans-ar); }
.cat-title h3 {
  margin: 0;
  font-family: var(--serif-en);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
[dir="rtl"] .cat-title h3 { font-family: var(--serif-ar); font-weight: 700; }

.cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 28px;
}
@media (max-width: 480px) { .cat-list { columns: 1; } }
.cat-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  break-inside: avoid;
}
[dir="rtl"] .cat-list li { font-size: 15px; }
.cat-list .li-mark {
  width: 5px; height: 5px;
  flex-shrink: 0;
  background: var(--gold-500);
  transform: rotate(45deg);
}

/* ============================================================
   Scrollable gallery
   ============================================================ */
.gallery {
  background: var(--cream-deep);
  padding: 80px 0 88px;
}
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.gallery-head h2 { margin: 0; color: var(--navy-900); }
.gallery-controls { display: flex; gap: 12px; }
.gal-btn {
  width: 52px; height: 52px;
  border: 1px solid rgba(10,31,61,0.25);
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 26px;
  line-height: 1;
  color: var(--navy-900);
  background: var(--paper);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gal-btn:hover { background: var(--navy-900); color: var(--gold-500); border-color: var(--navy-900); }

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gutter) * 2 - 24px * 3) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) transparent;
}
.gallery-track::-webkit-scrollbar { height: 6px; }
.gallery-track::-webkit-scrollbar-thumb { background: var(--gold-500); border-radius: 999px; }
.gallery-track::-webkit-scrollbar-track { background: rgba(10,31,61,0.08); }
@media (max-width: 1080px) { .gallery-track { grid-auto-columns: calc((100% - var(--gutter) * 2 - 24px * 2) / 3); } }
@media (max-width: 760px) { .gallery-track { grid-auto-columns: calc((100% - var(--gutter) * 2 - 24px) / 2); } }
@media (max-width: 520px) { .gallery-track { grid-auto-columns: 78%; } }

.gal-card { margin: 0; scroll-snap-align: start; }
.gal-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--cream);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.gal-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(10,31,61,0.05) 0 14px, rgba(10,31,61,0.03) 14px 28px);
  z-index: 0;
}
.gal-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.gal-photo.is-missing { display: none; }
.gal-ph {
  position: relative;
  font-family: var(--serif-en);
  font-size: 30px;
  font-weight: 500;
  color: rgba(10,31,61,0.30);
  z-index: 0;
}
.gal-cap {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
}
[dir="rtl"] .gal-cap { font-size: 15px; }
.gallery-note {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--ink-mute);
  font-style: italic;
}
[dir="rtl"] .gallery-note { font-size: 13.5px; }

/* ----- Detail CTA band ----- */
.detail-cta {
  background: var(--navy-900);
  padding: 72px 0;
}
.detail-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.detail-cta .h-section { color: var(--cream); margin: 0; }

/* ----- Service request band ----- */
.request-band {
  background: var(--navy-900);
  color: var(--cream);
  padding: 80px 0;
}
.request-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 980px) { .request-grid { grid-template-columns: 1fr; gap: 44px; } }

.request-intro .h-section { color: var(--cream); margin: 14px 0 0; }
.request-sub {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(247, 243, 236, 0.72);
  max-width: 34ch;
}
[dir="rtl"] .request-sub { font-size: 17px; }

.request-alt {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 243, 236, 0.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.request-alt-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
  font-weight: 600;
}
[dir="rtl"] .request-alt-label { letter-spacing: 0; text-transform: none; font-size: 13px; }
.request-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--gold-500);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: gap 0.2s;
}
.request-alt-link:hover { gap: 14px; }
[dir="rtl"] .request-alt-link .arr { transform: scaleX(-1); }

/* Locked, pre-filled service field */
.request-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--gold-500);
  background: rgba(201, 165, 92, 0.08);
  color: var(--cream);
  font-family: var(--serif-en);
  font-size: 17px;
  line-height: 1.2;
}
[dir="rtl"] .request-service-pill { font-family: var(--serif-ar); }
.request-service-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold-500);
  flex-shrink: 0;
}

/* ============================================================
   Info pages (About / Compliance / HSE)
   ============================================================ */
.page-body { background: var(--cream); }
.page-section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.page-block-head { margin-bottom: 44px; }
.page-block-head .h-section { color: var(--navy-900); margin: 12px 0 0; }

/* Split: text + image placeholder */
.split-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.split.flip .split-text { order: 2; }
.split.flip .ph-frame { order: 1; }
[dir="rtl"] .split.flip .split-text { order: 1; }
[dir="rtl"] .split.flip .ph-frame { order: 2; }
@media (max-width: 900px) {
  .split-inner { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-text, .split.flip .ph-frame { order: 0; }
}
.split-heading { color: var(--navy-900); margin: 14px 0 24px; }
.split-para {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 56ch;
}
[dir="rtl"] .split-para { font-size: 17px; line-height: 1.95; }
.split-para:last-child { margin-bottom: 0; }

/* Image placeholder frame */
.ph-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--cream);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.ph-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(10,31,61,0.05) 0 14px, rgba(10,31,61,0.03) 14px 28px);
  z-index: 0;
}
.ph-label {
  position: relative;
  z-index: 1;
  max-width: 60%;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(10,31,61,0.4);
  line-height: 1.5;
}
.ph-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.ph-photo.is-missing { display: none; }

/* Stat band reuse — add vertical rhythm */
.page-stats { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.page-stats .impact-grid { margin-top: 0; }

/* Sectors band — reuses navy .impact band with monochrome line icons */
.page-sectors { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.page-sectors .page-block-head { margin-bottom: 52px; }
.page-sectors .eyebrow { color: var(--gold-500); }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(247, 243, 236, 0.14);
  border: 1px solid rgba(247, 243, 236, 0.14);
}
@media (max-width: 820px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .sectors-grid { grid-template-columns: 1fr; } }
.sector-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 48px 24px;
  background: var(--navy-900);
  text-align: center;
}
.sector-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-500);
}
.sector-label {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream);
}
[dir="rtl"] .sector-label { letter-spacing: 0; text-transform: none; font-size: 16px; }

/* Legal clauses (Privacy / Terms / Anti-trafficking) */
.clauses-inner { max-width: 860px; margin: 0 auto; }
.clauses-inner .page-block-head { margin-bottom: 40px; }
.clause-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 40px; }
.clause {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 640px) { .clause { grid-template-columns: 1fr; gap: 12px; } }
.clause-num {
  font-family: var(--serif-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-500);
  line-height: 1.3;
  padding-top: 2px;
  border-top: 2px solid var(--gold-500);
}
[dir="rtl"] .clause-num { font-family: var(--serif-ar); font-weight: 700; }
.clause-title {
  font-family: var(--serif-en);
  font-size: 23px;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
[dir="rtl"] .clause-title { font-family: var(--serif-ar); font-weight: 700; font-size: 25px; }
.clause-para { margin: 0 0 14px; color: var(--ink); line-height: 1.7; max-width: 64ch; }
.clause-para:last-child { margin-bottom: 0; }
[dir="rtl"] .clause-para { font-size: 16px; line-height: 1.9; }
.clause-bullets { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.clause-bullets li { display: flex; align-items: baseline; gap: 12px; color: var(--ink); line-height: 1.6; }
.clause-bullets .li-mark {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--gold-500);
  transform: translateY(-2px);
}

/* Reference note */
.page-note-wrap { padding: 56px 0; border-bottom: 1px solid var(--rule); }
.page-note {
  margin: 0 auto;
  max-width: 70ch;
  text-align: center;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--navy-900);
}
[dir="rtl"] .page-note { font-family: var(--serif-ar); font-style: normal; font-size: 20px; line-height: 1.9; }

/* Closing CTA band */
.page-cta { background: var(--navy-900); color: var(--cream); padding: 72px 0; }
.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.page-cta .h-section { color: var(--cream); margin: 0; max-width: 24ch; }

.compliance-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-600);
  text-decoration: none;
  transition: gap 0.2s;
}
.compliance-more:hover { gap: 15px; }
[dir="rtl"] .compliance-more { letter-spacing: 0; font-size: 15px; }
[dir="rtl"] .compliance-more .arr { transform: scaleX(-1); }
