/* ═══════════════════════════════════════════
   MS LOGISTICS — Shared Stylesheet
   Light · Clean · Ocean Blue
═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.lang-btn{
    display:none !important;
}
:root {
  /* ── Brand identity ──
     primary #16325B · secondary #227B94
     support #78B7D0 · accent #FFDC7F
     surface #EEF8FD (replaces white)          */
  --bg: #EEF8FD;
  --bg-soft: #E4F2FA;
  --bg-tint: #D9EBF6;
  --panel: #EEF8FD;
  --surface: #EEF8FD;      /* the brand "white" */
  --ink: #16325B;
  --ink-2: #2A4A78;
  --muted: #4E6C8E;
  --muted-2: #5C7A9C;
  --line: #D3E5F0;
  --line-2: #BBD6E6;

  --ocean: #16325B;        /* primary */
  --ocean-deep: #0D2140;
  --ocean-bright: #227B94; /* secondary */
  --sky: #DCEDF7;
  --teal: #78B7D0;         /* support */
  --navy: #16325B;
  --amber: #FFDC7F;        /* accent */

  --shadow-sm: 0 2px 8px rgba(22,50,91,0.06);
  --shadow: 0 12px 34px rgba(22,50,91,0.10);
  --shadow-lg: 0 24px 60px rgba(22,50,91,0.16);

  --nav-h: 76px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  /* Titles & headings → Archivo Black · everything else → Montserrat */
  --font-display: 'Archivo Black', 'Montserrat', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --font-mono: 'Montserrat', sans-serif;

  /* Brand chevron pattern — paths url() resolves relative to this stylesheet */
  --pattern: url('pattern.svg');            /* navy mark, for light surfaces */
  --pattern-light: url('pattern-light.svg'); /* surface mark, for dark surfaces */
  --pattern-size: 315px 283.5px;             /* native 317.96 × 281.8 tile ratio */
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-en);
  background-color: var(--bg);
  background-image: var(--pattern);
  background-size: var(--pattern-size);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body[dir="rtl"] { font-family: var(--font-ar); }
body[dir="rtl"] .eyebrow, body[dir="rtl"] .stat-num, body[dir="rtl"] .mono,
body[dir="rtl"] .badge-num, body[dir="rtl"] .card-num { font-family: var(--font-mono); }
::selection { background: var(--ocean); color: var(--surface); }

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.mono { font-family: var(--font-mono); }

/* ── Typographic helpers ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ocean);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--ocean); border-radius: 2px; }
body[dir="rtl"] .eyebrow { letter-spacing: 0.05em; font-family: var(--font-ar); }

/* Titles & headings — Archivo Black (single weight 400, never faux-bolded) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em; line-height: 1.14; color: var(--navy);
}
/* Archivo Black carries no Arabic glyphs → Cairo takes over in RTL */
body[dir="rtl"] h1, body[dir="rtl"] h2, body[dir="rtl"] h3,
body[dir="rtl"] h4, body[dir="rtl"] h5, body[dir="rtl"] h6 {
  font-family: var(--font-ar); font-weight: 800; letter-spacing: 0; line-height: 1.3;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.65rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
h3 { font-size: 1.18rem; }
h4 { font-size: 1rem; }

.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); line-height: 1.75; }
.text-muted { color: var(--muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 100px; text-decoration: none;
  cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.3s, background 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s; }
.btn-primary { background: var(--ocean); color: var(--surface); box-shadow: 0 8px 24px rgba(22,50,91,0.25); }
.btn-primary:hover { background: var(--ocean-deep); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(22,50,91,0.32); }
.btn-primary:hover svg { transform: translateX(4px); }
body[dir="rtl"] .btn-primary:hover svg { transform: translateX(-4px); }
body[dir="rtl"] .btn svg.arrow { transform: scaleX(-1); }
.btn-ghost { background: var(--bg); color: var(--ocean); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ocean); background: var(--sky); transform: translateY(-2px); }
.btn-white { background: var(--surface); color: var(--ocean-deep); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 300;
  display: flex; align-items: center; background: rgba(238,248,253,0.85);
  border-bottom: 1px solid rgba(238,248,253,0.12);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
/* top accent line */
.site-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--ocean), var(--teal), var(--ocean-bright)); opacity: 0.9; }
.site-header.scrolled {
  background: rgba(238,248,253,0.92); backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
/* logo: white by default (shows on dark hero); inverts to navy when header turns white */
.brand { display: flex; align-items: center; }
.brand img { height: 42px; transition: filter 0.35s;  }
.site-header.scrolled .brand img { filter: none; }

.nav { display: flex; gap: 0.3rem; list-style: none; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: 6px; text-decoration: none;
  font-size: 14.5px; font-weight: 500; 
  padding: 10px 15px; border-radius: 10px; transition: color 0.25s, background 0.25s; cursor: pointer;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--ocean); }
.nav > li.active > a { font-weight: 600; }
.nav > li.has-menu > a:hover, .nav > li.open > a { background: rgba(238,248,253,0.12); }
/* scrolled state → dark text on white */
.site-header.scrolled .nav > li > a { color: var(--ink-2); }
.site-header.scrolled .nav > li > a:hover, .site-header.scrolled .nav > li.active > a { color: var(--ocean); }
.site-header.scrolled .nav > li.has-menu > a:hover, .site-header.scrolled .nav > li.open > a { background: var(--bg-soft); }
.nav .caret { width: 13px; height: 13px; transition: transform 0.3s; opacity: 0.7; }
.nav > li.open .caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 320px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.6rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.26s, transform 0.26s, visibility 0.26s;
}
body[dir="rtl"] .mega { left: auto; right: 0; }
.nav > li.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-item { display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 12px; text-decoration: none; transition: background 0.2s; }
.mega-item:hover { background: var(--bg-soft); }
.mega-item:hover .mega-ic { background: var(--ocean); color: var(--surface); }
.mega-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--sky); color: var(--ocean); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.22s; }
.mega-ic svg { width: 19px; height: 19px; }
.mega-title { font-size: 14px; font-weight: 600; color: var(--navy); }
.mega-desc { font-size: 12px; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-btn {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
    background: rgba(238,248,253,0.1); border: 1.5px solid rgba(238,248,253,0.25);
  padding: 8px 14px; border-radius: 100px; cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 7px;
    color: var(--ink-2);
}
.lang-btn:hover { color: var(--surface); border-color: rgba(238,248,253,0.6); background: rgba(238,248,253,0.18); }
.lang-btn svg { width: 14px; height: 14px; }
body[dir="rtl"] .lang-btn { font-family: var(--font-ar); }
/* scrolled: outline style on white */
.site-header.scrolled .lang-btn { color: var(--ink-2); background: none; border-color: var(--line-2); }
.site-header.scrolled .lang-btn:hover { color: var(--ocean); border-color: var(--ocean); }
/* drawer lang button always dark-on-white */
.drawer .lang-btn { color: var(--ink-2); background: none; border-color: var(--line-2); }
.drawer .lang-btn:hover { color: var(--ocean); border-color: var(--ocean); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--surface); border-radius: 2px; transition: 0.3s; }
.site-header.scrolled .burger span { background: var(--navy); }
.burger.active span { background: var(--navy); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(88%, 370px); z-index: 310; background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); padding: calc(var(--nav-h) + 1rem) 1.4rem 2rem; overflow-y: auto; }
body[dir="rtl"] .drawer { right: auto; left: 0; transform: translateX(-100%); }
.drawer.open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; z-index: 305; background: rgba(22,50,91,0.4); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: 0.3s; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.m-item { border-bottom: 1px solid var(--line); }
.m-link { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0.4rem; text-decoration: none; color: var(--navy); font-size: 16px; font-weight: 600; cursor: pointer; }
.m-link.active { color: var(--ocean); }
.m-link .caret { width: 16px; height: 16px; transition: transform 0.3s; color: var(--muted); }
.m-item.open .m-link .caret { transform: rotate(180deg); color: var(--ocean); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.m-item.open .m-sub { max-height: 360px; }
.m-sub a { display: flex; align-items: center; gap: 10px; padding: 0.7rem 0.4rem 0.7rem 1rem; text-decoration: none; color: var(--muted); font-size: 14px; }
body[dir="rtl"] .m-sub a { padding: 0.7rem 1rem 0.7rem 0.4rem; }
.m-sub a:hover { color: var(--ocean); }
.m-sub a svg { width: 16px; height: 16px; }
.drawer-cta { display: block; text-align: center; background: var(--ocean); color: var(--surface); padding: 14px; border-radius: 12px; text-decoration: none; font-weight: 600; margin-top: 1.4rem; }

/* ═══════════ PAGE HERO (inner pages) ═══════════ */
.page-hero { padding: calc(var(--nav-h) + 4.5rem) 0 4rem; background: var(--pattern) 0 0/var(--pattern-size), linear-gradient(180deg, var(--sky), var(--bg)); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: -30%; right: -5%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(34,123,148,0.12), transparent 70%); border-radius: 50%; pointer-events: none; }
body[dir="rtl"] .page-hero::after { right: auto; left: -5%; }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { max-width: 640px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.crumbs a:hover { color: var(--ocean); }
.crumbs span { color: var(--ocean); font-weight: 600; }

/* ═══════════ SECTIONS ═══════════ */
section { position: relative; }
.sec { padding: 6.5rem 0; }
.sec-soft { background: var(--pattern) 0 0/var(--pattern-size), var(--bg-soft); }
.sec-tint { background: var(--pattern) 0 0/var(--pattern-size), var(--bg-tint); }
.sec-head { max-width: 620px; margin-bottom: 3.5rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 1rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }
/* reveal variants */
.reveal.from-left { transform: translateX(-44px); }
.reveal.from-right { transform: translateX(44px); }
.reveal.from-left.in, .reveal.from-right.in { transform: none; }
.reveal.zoom { transform: scale(0.94); }
.reveal.zoom.in { transform: none; }

/* animated gradient text underline shimmer */
.shimmer { position: relative; }
.shimmer::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 3px; width: 0; background: linear-gradient(90deg, var(--ocean), var(--teal)); border-radius: 3px; transition: width 0.8s 0.3s cubic-bezier(0.22,1,0.36,1); }
.reveal.in .shimmer::after { width: 64px; }

/* floaty utility */
.float-anim { animation: floaty 5s ease-in-out infinite; }

/* ── grids ── */
.grid { display: grid; gap: 1.4rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4.5rem; align-items: center; }

/* ── cards ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform 0.32s cubic-bezier(0.22,1,0.36,1), box-shadow 0.32s, border-color 0.32s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--sky); color: var(--ocean); display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; transition: all 0.3s; }
.card:hover .card-ic { background: var(--ocean); color: var(--surface); transform: scale(1.06) rotate(-3deg); }
.card-ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.card-num { position: absolute; top: 1.5rem; right: 1.7rem; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--muted-2); }
body[dir="rtl"] .card-num { right: auto; left: 1.7rem; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.2rem; }
.tags span { font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 4px 11px; border-radius: 100px; background: var(--sky); color: var(--ocean-deep); }
body[dir="rtl"] .tags span { font-family: var(--font-ar); }

/* stat pills */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; }
.stat-box { text-align: center; padding: 2rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.stat-num { font-family: var(--font-mono); font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 700; line-height: 1; color: var(--ocean); }
.stat-num .suffix { color: var(--ocean-bright); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 0.5rem; }

/* ═══════════ CTA BANNER ═══════════ */
.cta-band { padding: 5rem 0; }
.cta-inner { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 4.5rem 3rem; text-align: center; background: var(--pattern-light) 0 0/var(--pattern-size), linear-gradient(130deg, var(--ocean-deep), var(--ocean) 55%, var(--ocean-bright)); color: var(--surface); }
.cta-inner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 15% 20%, rgba(238,248,253,0.12), transparent 40%), radial-gradient(circle at 85% 80%, rgba(238,248,253,0.1), transparent 45%); pointer-events: none; }
.cta-inner > * { position: relative; z-index: 2; }
.cta-inner h2 { color: var(--surface); margin-bottom: 0.8rem; }
.cta-inner p { color: rgba(238,248,253,0.85); max-width: 520px; margin: 0 auto 2rem; }

/* ═══════════ FOOTER ═══════════ */
.site-footer { background: var(--pattern-light) 0 0/var(--pattern-size), var(--navy); color: rgba(238,248,253,0.7); padding: 4rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(238,248,253,0.1); }
.footer-brand img { height: 40px; margin-bottom: 1.2rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 14px; color: rgba(238,248,253,0.55); max-width: 280px; line-height: 1.7; }
.footer-col h4 { color: var(--surface); font-size: 13.5px; font-weight: 400; margin-bottom: 1.1rem; letter-spacing: 0.02em; }
.footer-col a { display: block; text-decoration: none; color: rgba(238,248,253,0.6); font-size: 14px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; font-size: 13px; color: rgba(238,248,253,0.45); }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(238,248,253,0.08); display: flex; align-items: center; justify-content: center; color: rgba(238,248,253,0.7); transition: all 0.22s; }
.footer-social a:hover { background: var(--ocean); color: var(--surface); }
.footer-social svg { width: 18px; height: 18px; }

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.8); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 940px) {
  .nav, .lang-btn.desktop, .btn.desktop { display: none; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .container { padding: 0 1.2rem; }
  .header-inner { padding: 0 1.2rem; }
  .sec { padding: 4.5rem 0; }
  .g2, .g3, .g4, .stats-band { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-inner { padding: 3rem 1.5rem; }
}

/* ═══════════ HOMEPAGE UPGRADE SECTIONS ═══════════ */

/* who we serve — segment tiles */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.serve-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/3.4; box-shadow: var(--shadow); cursor: pointer; }
.serve-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.serve-tile:hover img { transform: scale(1.08); }
.serve-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,33,64,0.92) 5%, rgba(13,33,64,0.35) 45%, transparent 75%); }
.serve-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.8rem; color: var(--surface); }
.serve-body h3 { color: var(--surface); font-size: 1.3rem; margin-bottom: 6px; }
.serve-body p { font-size: 13.5px; color: rgba(238,248,253,0.8); line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s, opacity 0.4s, margin 0.4s; }
.serve-tile:hover .serve-body p { max-height: 120px; opacity: 1; margin-top: 6px; }
.serve-body .serve-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #78B7D0; margin-top: 10px; }
.serve-body .serve-arrow svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .serve-grid { grid-template-columns: 1fr; } .serve-body p { max-height: 120px; opacity: 1; margin-top: 6px; } }

/* ═══════════ FACILITY LOCATOR — interactive KSA map ═══════════ */
.locator { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.6rem; align-items: center; }

.loc-map {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 760/560;
  background:
    radial-gradient(ellipse 70% 55% at 62% 38%, rgba(34,123,148,0.20), transparent 70%),
    linear-gradient(150deg, #16325B 0%, #102544 55%, #0A1B33 100%);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(120,183,208,0.14);
}
/* faint global grid behind the landmass */
.loc-map::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(120,183,208,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120,183,208,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000, transparent 78%);
}
.ksa-map { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.ksa-grid line { stroke: rgba(120,183,208,0.16); stroke-width: 1; }

/* ── map pins ── */
.mp { cursor: pointer; }
.mp-dot   { fill: var(--teal); stroke: #0A1B33; stroke-width: 2; transition: r 0.28s cubic-bezier(0.22,1,0.36,1); }
.mp-halo  { fill: var(--teal); opacity: 0.16; transition: opacity 0.28s, r 0.28s; }
.mp-ring  { fill: none; stroke: var(--teal); stroke-width: 1.5; opacity: 0.55; }
.mp.soon .mp-dot, .mp.soon .mp-halo { fill: var(--amber); }
.mp.soon .mp-ring { stroke: var(--amber); }
.mp-name { fill: var(--surface); font-family: var(--font-mono); font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.mp-meta { fill: rgba(220,237,247,0.72); font-family: var(--font-mono); font-size: 11.5px; }
body[dir="rtl"] .mp-name, body[dir="rtl"] .mp-meta { font-family: var(--font-ar); }
.mp-txt  { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.mp:hover .mp-dot, .mp.is-active .mp-dot   { r: 9; }
.mp:hover .mp-halo, .mp.is-active .mp-halo { opacity: 0.34; r: 20; }
.mp:hover .mp-name, .mp.is-active .mp-name { fill: #78B7D0; }
.mp:focus-visible { outline: none; }
.mp:focus-visible .mp-halo { opacity: 0.4; r: 22; }

/* ── legend ── */
.loc-legend {
  position: absolute; z-index: 2; right: 1.1rem; top: 1.1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 9px 14px; border-radius: 100px; font-size: 11.5px; color: rgba(238,248,253,0.82);
  background: rgba(8,22,44,0.6); border: 1px solid rgba(120,183,208,0.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
body[dir="rtl"] .loc-legend { right: auto; left: 1.1rem; font-family: var(--font-ar); }
.loc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.loc-legend i.lg { width: 8px; height: 8px; border-radius: 50%; }
.loc-legend i.lg.live { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.loc-legend i.lg.soon { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.lg-hint { color: rgba(238,248,253,0.5); }
@media (max-width: 560px) { .lg-hint { display: none; } }

/* ── list ── */
.loc-h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.loc-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.5rem; }
.loc-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.loc-item:hover, .loc-item.is-active { border-color: var(--ocean); box-shadow: var(--shadow); transform: translateX(4px); }
body[dir="rtl"] .loc-item:hover, body[dir="rtl"] .loc-item.is-active { transform: translateX(-4px); }
.loc-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.loc-dot.live { background: var(--teal); box-shadow: 0 0 0 4px rgba(120,183,208,0.15); }
.loc-dot.soon { background: var(--amber); box-shadow: 0 0 0 4px rgba(255,220,127,0.15); }
.loc-info { flex: 1; min-width: 0; }
.loc-city { display: block; font-weight: 650; font-size: 15px; color: var(--navy); }
.loc-meta { display: block; font-size: 12.5px; color: var(--muted); }
body[dir="rtl"] .loc-city, body[dir="rtl"] .loc-meta { font-family: var(--font-ar); }
.loc-cap { font-family: var(--font-mono); font-weight: 700; color: var(--ocean); font-size: 15px; flex-shrink: 0; }
.loc-go { width: 15px; height: 15px; color: var(--muted-2); flex-shrink: 0; transition: color 0.25s, transform 0.25s; }
.loc-item:hover .loc-go { color: var(--ocean); transform: translate(2px,-2px); }

.loc-total {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem;
  padding: 1.1rem 1.3rem; border-radius: var(--r);
  background: linear-gradient(120deg, rgba(22,50,91,0.09), rgba(120,183,208,0.09));
  border: 1px solid rgba(22,50,91,0.16); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
body[dir="rtl"] .loc-total { font-family: var(--font-ar); }
.loc-total strong { font-family: var(--font-mono); font-size: 1.5rem; color: var(--ocean-deep); }

@media (max-width: 980px) { .locator { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 560px) { .mp-name { font-size: 19px; } .mp-meta { font-size: 14px; } }

/* portal / tech showcase */
.portal { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--pattern-light) 0 0/var(--pattern-size), linear-gradient(135deg, var(--navy), var(--ocean-deep)); padding: 3.5rem; color: var(--surface); }
.portal::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 85% 15%, rgba(120,183,208,0.18), transparent 45%); pointer-events: none; }
.portal-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.portal h2 { color: var(--surface); }
.portal .lead { color: rgba(238,248,253,0.8); }
.portal-features { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.8rem; }
.pf { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.pf svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; }
.portal-mock { background: rgba(238,248,253,0.06); border: 1px solid rgba(238,248,253,0.14); border-radius: var(--r); padding: 1.5rem; backdrop-filter: blur(8px); }
.pm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.pm-dots { display: flex; gap: 6px; }
.pm-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(238,248,253,0.25); }
.pm-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(238,248,253,0.6); }
.pm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.2rem; }
.pm-stat { background: rgba(238,248,253,0.06); border-radius: 10px; padding: 1rem; }
.pm-stat .v { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: #78B7D0; line-height: 1; }
.pm-stat .k { font-size: 11px; color: rgba(238,248,253,0.55); margin-top: 4px; }
.pm-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.pm-bar { flex: 1; background: linear-gradient(180deg, var(--teal), var(--ocean-bright)); border-radius: 4px 4px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.portal.in .pm-bar { transform: scaleY(1); }
@media (max-width: 900px) { .portal { padding: 2.2rem; } .portal-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* comparison table */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); }
.compare th, .compare td { padding: 1.1rem 1.3rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-soft); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.03em; }
.compare thead th.us { background: var(--ocean); color: var(--surface); border-radius: 0; position: relative; }
.compare tbody td:first-child, .compare thead th:first-child { text-align: left; font-weight: 600; color: var(--navy); }
body[dir="rtl"] .compare tbody td:first-child, body[dir="rtl"] .compare thead th:first-child { text-align: right; }
.compare .yes { color: var(--teal); }
.compare .no { color: var(--muted-2); }
.compare td.us-col { background: var(--sky); font-weight: 600; }
.compare tbody tr:hover td { background: var(--bg-soft); }
.compare tbody tr:hover td.us-col { background: #D3E5F0; }
.compare svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — v2 "floating glass" redesign
   Transparent over the hero reel → detached glass pill on scroll
═══════════════════════════════════════════════════════════════ */

/* ── 1. Shell ───────────────────────────────────────────────── */
.site-header {
  height: var(--nav-h);
  background: transparent;
  border-bottom: none;
  transition: height 0.4s cubic-bezier(0.22,1,0.36,1);
}
/* scrim behind the bar so white text stays readable on any frame of the video */
.site-header::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 150%;
  background: linear-gradient(180deg, rgba(8,22,44,0.62) 0%, rgba(8,22,44,0.28) 55%, transparent 100%);
  opacity: 1; transition: opacity 0.4s ease; pointer-events: none;
}
.site-header.scrolled { background: transparent; border-bottom: none; box-shadow: none; backdrop-filter: none; }
.site-header.scrolled::before { opacity: 0; }

/* the bar itself becomes a floating capsule */
.header-inner {
  position: relative; height: 100%; max-width: 1200px; gap: 1rem;
  border: 1px solid transparent; border-radius: 0;
  transition: background 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s, border-color 0.4s,
              height 0.4s cubic-bezier(0.22,1,0.36,1), padding 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled .header-inner {
  height: 60px;
  background: rgba(238,248,253,0.90);
  backdrop-filter: blur(20px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-color: rgba(238,248,253,0.75);
  border-radius: 100px;
  box-shadow: 0 10px 34px rgba(22,50,91,0.13), inset 0 1px 0 rgba(238,248,253,0.9);
  padding: 0 0.75rem 0 1.5rem;
}
/* hairline of brand colour along the top of the capsule */
.site-header.scrolled .header-inner::before {
  content: ''; position: absolute; top: -1px; left: 12%; right: 12%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--ocean-bright), var(--teal), transparent);
  opacity: 0.85;
}

/* ── 2. Logo ────────────────────────────────────────────────── */
.brand img { height: 40px; filter: brightness(0) invert(1); transition: filter 0.4s ease, height 0.4s ease; }
.site-header.scrolled .brand img { filter: none; height: 36px; }

/* ── 3. Nav links + sliding hover pill ──────────────────────── */
.nav { position: relative; gap: 0.15rem; align-items: center; }
/* the pill that glides between items (injected by main.js) */
.nav > li.nav-ink-host { position: static; width: 0; height: 0; }
.nav-ink {
  position: absolute; top: 50%; left: 0; height: 40px; width: 0; z-index: 0;
  transform: translateY(-50%); border-radius: 12px; pointer-events: none;
  background: rgba(238,248,253,0.16);
  border: 1px solid rgba(238,248,253,0.16);
  opacity: 0;
  transition: left 0.38s cubic-bezier(0.22,1,0.36,1), width 0.38s cubic-bezier(0.22,1,0.36,1),
              opacity 0.25s ease, background 0.35s, border-color 0.35s;
}
.nav.ink-on .nav-ink { opacity: 1; }
.site-header.scrolled .nav-ink { background: var(--sky); border-color: rgba(22,50,91,0.12); }

.nav > li > a {
  position: relative; z-index: 1;
  color: var(--surface); font-size: 14.5px; font-weight: 500; letter-spacing: 0.1px;
  padding: 11px 16px; border-radius: 12px;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--surface); }
.nav > li.has-menu > a:hover, .nav > li.open > a { background: transparent; }
/* current page gets a small gradient underline instead of a colour swap */
.nav > li.active > a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ocean-bright), var(--teal));
  transform: scaleX(1); transform-origin: center;
}
.site-header.scrolled .nav > li > a { color: var(--ink-2); }
.site-header.scrolled .nav > li > a:hover,
.site-header.scrolled .nav > li.active > a,
.site-header.scrolled .nav > li.open > a { color: var(--ocean); background: transparent; }
.nav .caret { width: 12px; height: 12px; opacity: 0.65; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.25s; }
.nav > li > a:hover .caret { opacity: 1; }
.nav > li.open .caret { transform: rotate(180deg); opacity: 1; }

/* ── 4. Mega menu ───────────────────────────────────────────── */
.mega {
  top: calc(100% + 10px); left: -8px; min-width: 340px;
  padding: 12px; border-radius: 22px;
  border: 1px solid rgba(187,214,230,0.95);
  background: var(--surface);
  box-shadow: 0 28px 64px rgba(22,50,91,0.18), 0 2px 6px rgba(22,50,91,0.06);
  transform: translateY(14px) scale(0.97); transform-origin: top left;
  transition: opacity 0.3s cubic-bezier(0.22,1,0.36,1), transform 0.36s cubic-bezier(0.22,1,0.36,1), visibility 0.3s;
}
body[dir="rtl"] .mega { left: auto; right: -8px; transform-origin: top right; }
.nav > li.open .mega { transform: translateY(0) scale(1); }
/* little notch pointing at the trigger */
.mega::before {
  content: ''; position: absolute; top: -7px; left: 34px; width: 13px; height: 13px;
  background: inherit; border-left: 1px solid rgba(187,214,230,0.9); border-top: 1px solid rgba(187,214,230,0.9);
  transform: rotate(45deg); border-radius: 3px 0 0 0;
}
body[dir="rtl"] .mega::before { left: auto; right: 34px; }
/* invisible bridge so the pointer can travel from link → panel */
.nav > li.has-menu::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }

/* two-column layout for the larger panel */
.mega.mega-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 620px; }
.mega.mega-1col { display: grid; grid-template-columns: 1fr; gap: 2px; min-width: 350px; }

.mega-item {
  position: relative; align-items: center; gap: 14px; padding: 12px 40px 12px 12px; border-radius: 14px;
  transition: background 0.24s ease, transform 0.24s cubic-bezier(0.22,1,0.36,1);
}
body[dir="rtl"] .mega-item { padding: 12px 12px 12px 40px; }
.mega-item:hover { background: linear-gradient(120deg, var(--sky), rgba(232,245,253,0.35)); transform: translateX(2px); }
body[dir="rtl"] .mega-item:hover { transform: translateX(-2px); }
/* arrow that slides in on hover */
.mega-item::after {
  content: ''; position: absolute; right: 15px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: currentColor; color: var(--ocean); opacity: 0; transform: translateX(-6px);
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.22,1,0.36,1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;
}
body[dir="rtl"] .mega-item::after { right: auto; left: 15px; transform: translateX(6px) scaleX(-1); }
.mega-item:hover::after { opacity: 1; transform: translateX(0); }
body[dir="rtl"] .mega-item:hover::after { transform: translateX(0) scaleX(-1); }

.mega-ic {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(140deg, var(--surface), var(--sky));
  border: 1px solid var(--line); color: var(--ocean);
  box-shadow: inset 0 1px 0 var(--surface);
  transition: background 0.26s, color 0.26s, transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.26s;
}
.mega-item:hover .mega-ic {
  background: linear-gradient(140deg, var(--ocean-bright), var(--ocean));
  border-color: transparent; color: var(--surface); transform: scale(1.07) rotate(-3deg);
  box-shadow: 0 10px 22px rgba(22,50,91,0.34);
}
.mega-ic svg { width: 20px; height: 20px; }
.mega-title { font-size: 14.5px; font-weight: 650; color: var(--navy); display: block; }
.mega-desc { font-size: 12.5px; color: var(--muted); display: block; margin-top: 2px; }
body[dir="rtl"] .mega-title, body[dir="rtl"] .mega-desc { font-family: var(--font-ar); }

/* staggered entrance for the panel items */
.mega-item, .mega-foot { opacity: 0; transform: translateY(8px); }
.nav > li.open .mega-item, .nav > li.open .mega-foot { animation: megaItemIn 0.42s cubic-bezier(0.22,1,0.36,1) forwards; }
.nav > li.open .mega-item:nth-child(1) { animation-delay: 0.04s; }
.nav > li.open .mega-item:nth-child(2) { animation-delay: 0.09s; }
.nav > li.open .mega-item:nth-child(3) { animation-delay: 0.14s; }
.nav > li.open .mega-item:nth-child(4) { animation-delay: 0.19s; }
.nav > li.open .mega-item:nth-child(5) { animation-delay: 0.24s; }
.nav > li.open .mega-item:nth-child(6) { animation-delay: 0.29s; }
.nav > li.open .mega-item:nth-child(7) { animation-delay: 0.33s; }
.nav > li.open .mega-item:nth-child(8) { animation-delay: 0.37s; }
.nav > li.open .mega-foot { animation-delay: 0.42s; }
@keyframes megaItemIn { to { opacity: 1; transform: none; } }

/* footer row of the panel */
.mega-foot {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 8px; padding: 12px 14px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(120deg, rgba(22,50,91,0.07), rgba(120,183,208,0.07));
  border: 1px solid rgba(22,50,91,0.12);
  font-size: 13px; font-weight: 650; color: var(--ocean-deep);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.mega-foot:hover { background: linear-gradient(120deg, rgba(22,50,91,0.14), rgba(120,183,208,0.14)); border-color: rgba(22,50,91,0.28); }
.mega-foot svg { width: 15px; height: 15px; transition: transform 0.3s; }
.mega-foot:hover svg { transform: translateX(4px); }
body[dir="rtl"] .mega-foot { font-family: var(--font-ar); }
body[dir="rtl"] .mega-foot svg { transform: scaleX(-1); }
body[dir="rtl"] .mega-foot:hover svg { transform: scaleX(-1) translateX(4px); }

/* ── 5. Header actions ──────────────────────────────────────── */
.header-actions { gap: 0.6rem; }
.lang-btn {
  color: var(--surface); border: 1px solid rgba(238,248,253,0.28); background: rgba(238,248,253,0.10);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 100px; padding: 9px 15px; font-size: 13px; font-weight: 600;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s;
}
.lang-btn:hover { background: rgba(238,248,253,0.2); border-color: rgba(238,248,253,0.55); transform: translateY(-1px); }
.site-header.scrolled .lang-btn { color: var(--ink-2); background: rgba(22,50,91,0.06); border-color: rgba(22,50,91,0.16); }
.site-header.scrolled .lang-btn:hover { color: var(--ocean); background: var(--sky); border-color: rgba(22,50,91,0.35); }

/* header CTA — gradient capsule with a light sweep */
.header-actions .btn.btn-primary {
  position: relative; overflow: hidden; border-radius: 100px;
  background: linear-gradient(120deg, var(--ocean-bright), var(--ocean) 55%, var(--ocean-deep));
  box-shadow: 0 8px 22px rgba(22,50,91,0.35);
  font-weight: 650;
}
.header-actions .btn.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(238,248,253,0.45), transparent);
  transform: skewX(-18deg); transition: left 0.65s cubic-bezier(0.22,1,0.36,1);
}
.header-actions .btn.btn-primary:hover::after { left: 120%; }
.header-actions .btn.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22,50,91,0.42); }

/* burger → animated capsule */
.burger { width: 44px; height: 44px; border-radius: 100px; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid rgba(238,248,253,0.24); background: rgba(238,248,253,0.10); transition: background 0.3s, border-color 0.3s; }
.burger span { width: 20px; }
.site-header.scrolled .burger { border-color: rgba(22,50,91,0.18); background: rgba(22,50,91,0.06); }
.burger.active { background: var(--sky); border-color: rgba(22,50,91,0.3); }

/* ── 6. Mobile drawer ───────────────────────────────────────── */
.drawer {
  border-radius: 26px 0 0 26px; padding: 1.6rem 1.3rem 2.2rem;
  background: linear-gradient(180deg, var(--surface) 0%, #F5FBFE 100%);
  box-shadow: -30px 0 70px rgba(22,50,91,0.22);
}
body[dir="rtl"] .drawer { border-radius: 0 26px 26px 0; box-shadow: 30px 0 70px rgba(22,50,91,0.22); }
.drawer::before {
  content: ''; display: block; height: 3px; width: 46px; border-radius: 3px; margin: 0 0 1.4rem;
  background: linear-gradient(90deg, var(--ocean), var(--teal));
}
.m-item { border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(18px); }
body[dir="rtl"] .m-item { transform: translateX(-18px); }
.drawer.open .m-item { animation: mItemIn 0.45s cubic-bezier(0.22,1,0.36,1) forwards; }
.drawer.open .m-item:nth-child(1) { animation-delay: 0.06s; }
.drawer.open .m-item:nth-child(2) { animation-delay: 0.11s; }
.drawer.open .m-item:nth-child(3) { animation-delay: 0.16s; }
.drawer.open .m-item:nth-child(4) { animation-delay: 0.21s; }
.drawer.open .m-item:nth-child(5) { animation-delay: 0.26s; }
@keyframes mItemIn { to { opacity: 1; transform: none; } }
.m-link { padding: 1.05rem 0.2rem; font-size: 16.5px; font-weight: 650; }
.m-link.active { color: var(--ocean); }
.m-sub a {
  gap: 12px; padding: 0.65rem 0.9rem; margin-bottom: 4px; border-radius: 12px;
  color: var(--ink-2); font-size: 14px; font-weight: 500; background: var(--bg-soft);
  transition: background 0.22s, color 0.22s, transform 0.22s;
}
body[dir="rtl"] .m-sub a { padding: 0.65rem 0.9rem; }
.m-sub a svg { width: 17px; height: 17px; color: var(--ocean); flex-shrink: 0; }
.m-sub a:hover { background: var(--sky); color: var(--ocean); transform: translateX(3px); }
body[dir="rtl"] .m-sub a:hover { transform: translateX(-3px); }
.m-item.open .m-sub { max-height: 720px; padding-bottom: 0.6rem; }
.drawer-cta {
  border-radius: 100px; padding: 15px; font-weight: 650; letter-spacing: 0.2px;
  background: linear-gradient(120deg, var(--ocean-bright), var(--ocean) 55%, var(--ocean-deep));
  box-shadow: 0 10px 26px rgba(22,50,91,0.34);
}
.drawer-overlay { background: rgba(13,33,64,0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ── 7. Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) { .mega.mega-2col { min-width: 540px; } }
@media (max-width: 940px) {
  .site-header.scrolled .header-inner { height: 56px; border-radius: 20px; padding: 0 0.55rem 0 1rem; }
}
@media (max-width: 600px) {
  .site-header.scrolled .header-inner { border-radius: 18px; }
  .brand img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .mega-item, .mega-foot, .m-item { opacity: 1 !important; transform: none !important; }
}

/* ── 8. Inner pages (no video hero) start solid — no white-on-white flash ── */
body:not(:has(.video-hero)) .site-header::before { opacity: 0; }
body:not(:has(.video-hero)) .header-inner {
  height: 60px;
  background: rgba(238,248,253,0.90);
  backdrop-filter: blur(20px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-color: rgba(238,248,253,0.75);
  border-radius: 100px;
  box-shadow: 0 10px 34px rgba(22,50,91,0.13), inset 0 1px 0 rgba(238,248,253,0.9);
  padding: 0 0.75rem 0 1.5rem;
}
body:not(:has(.video-hero)) .brand img { filter: none; height: 36px; }
body:not(:has(.video-hero)) .nav > li > a { color: var(--ink-2); }
body:not(:has(.video-hero)) .nav-ink { background: var(--sky); border-color: rgba(22,50,91,0.12); }
body:not(:has(.video-hero)) .lang-btn { color: var(--ink-2); background: rgba(22,50,91,0.06); border-color: rgba(22,50,91,0.16); }
body:not(:has(.video-hero)) .burger { border-color: rgba(22,50,91,0.18); background: rgba(22,50,91,0.06); }

/* ═══════════ WHY MS LOGISTICS — proof block ═══════════ */
.proof-block { max-width: 940px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.proof-row { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; align-items: center; padding: 1.5rem 2rem; border-bottom: 1px solid var(--line); transition: background 0.25s; }
.proof-row:last-child { border-bottom: none; }
.proof-row:hover { background: var(--bg-soft); }
.proof-fig { font-family: var(--font-mono); font-size: 1.55rem; font-weight: 700; color: var(--ocean-deep); letter-spacing: -0.5px; line-height: 1.2; }
.proof-txt { font-size: 1rem; color: var(--ink-2); line-height: 1.6; }
body[dir="rtl"] .proof-txt { font-family: var(--font-ar); }
@media (max-width: 760px) {
  .proof-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.3rem 1.4rem; }
  .proof-fig { font-size: 1.3rem; }
}

/* value cards now carry the Master File meaning text */
.value-card { text-align: left; }
body[dir="rtl"] .value-card { text-align: right; }
.vc-desc { margin-top: 0.6rem; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
body[dir="rtl"] .vc-desc { font-family: var(--font-ar); }

/* ═══════════ CEO MESSAGE ═══════════ */
.ceo-sec { background: var(--pattern) 0 0/var(--pattern-size), linear-gradient(180deg, var(--bg), var(--sky)); }
.ceo-quote { position: relative; max-width: 840px; margin: 0 auto; padding: 2.6rem 2.8rem; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.ceo-quote::before { content: '"'; position: absolute; top: -0.35em; left: 24px; font-family: var(--font-display);
  font-size: 7rem; line-height: 1; color: var(--ocean); opacity: 0.14; pointer-events: none; }
body[dir="rtl"] .ceo-quote::before { left: auto; right: 24px; }
.ceo-quote p { position: relative; color: var(--ink-2); line-height: 1.8; margin-bottom: 1.1rem; font-size: 1.02rem; }
body[dir="rtl"] .ceo-quote p { font-family: var(--font-ar); }
.ceo-quote p:last-of-type { margin-bottom: 1.8rem; }
.ceo-sign { display: flex; flex-direction: column; gap: 2px; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.ceo-name { font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.ceo-role { font-size: 13.5px; color: var(--muted); }
body[dir="rtl"] .ceo-name, body[dir="rtl"] .ceo-role { font-family: var(--font-ar); }
@media (max-width: 700px) { .ceo-quote { padding: 2rem 1.5rem; } }
