/* =========================================================
   MADARI — International Business Linkage
   Design system
   ========================================================= */

/* Arabic typeface — Neo Sans Arabic (single weight) */
@font-face {
  font-family: "Neo Sans Arabic";
  src: url("../fonts/NeoSansArabic.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy-900: #050E36;
  --navy-800: #0A1B5C;
  --navy-700: #11297E;
  --navy-600: #1C3FA8;
  --royal: #2350D8;
  --charcoal: #1D2129;
  --ink: #0E1638;
  --ink-soft: #45506E;
  --ink-mute: #7A8394;
  --white: #FFFFFF;
  --warm-white: #FAF8F4;
  --sand-100: #F4EFE6;
  --sand-200: #E9E0D1;
  --sand-300: #D8CBB4;
  --gold: #CFA64A;
  --gold-light: #E8CC80;
  --gold-dark: #A07F2E;
  --line: rgba(10, 27, 92, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 30px 60px -30px rgba(5, 14, 54, 0.35);
  --shadow-soft: 0 12px 30px -18px rgba(5, 14, 54, 0.25);
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-body: "Neo Sans Arabic", "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --font-display: "Neo Sans Arabic", "IBM Plex Sans Arabic", sans-serif;
}

/* Neo Sans Arabic ships one weight: keep Arabic headings at the native weight */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 400; }

html[lang="en"] {
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.8;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body { line-height: 1.7; font-size: 16.5px; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 880px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.35; color: inherit; }
html[lang="en"] h1, html[lang="en"] h2 { font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
html[lang="en"] h3 { font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: -0.01em; }

.display { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.4; }
html[lang="en"] .display { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
html[lang="en"] .h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--ink-mute); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .92rem; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.on-dark .eyebrow { color: var(--gold-light); }

.gold-rule { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 28px 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-800); --fg: #fff; --bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: .98rem; line-height: 1.2; cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s, border-color .35s, box-shadow .35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn .arrow { transition: transform .35s var(--ease); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

.btn-gold { --bg: var(--gold); --bd: var(--gold); --fg: var(--navy-900); }
.btn-gold:hover { --bg: var(--gold-light); --bd: var(--gold-light); }
.btn-outline { --bg: transparent; --fg: var(--navy-800); --bd: rgba(10, 27, 92, .25); }
.btn-outline:hover { --bd: var(--navy-800); }
.on-dark .btn-outline, .btn-outline.light { --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.on-dark .btn-outline:hover, .btn-outline.light:hover { --bd: #fff; --bg: rgba(255, 255, 255, .06); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  color: var(--navy-700); border-bottom: 1px solid var(--gold); padding-bottom: 3px;
  transition: gap .3s var(--ease), color .3s;
}
.btn-link:hover { gap: 14px; color: var(--gold-dark); }
.on-dark .btn-link { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; color: #fff;
  transition: transform .5s var(--ease);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header.is-hidden { transform: translateY(-120%); }

/* top utility bar */
.topbar {
  font-size: .8rem; color: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  max-height: 44px; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .35s, border-color .35s;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 40px; }
.topbar-contact { display: flex; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.topbar a:hover { color: var(--gold-light); }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }
.topbar-slogan { color: var(--gold-light); opacity: .85; }
.site-header.scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }

/* main bar */
.nav-shell { padding: 14px 0; transition: padding .45s var(--ease); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: background .45s var(--ease), box-shadow .45s, border-color .45s, padding .45s, border-radius .45s, max-width .45s;
  border: 1px solid transparent; border-radius: 0;
}
.site-header.scrolled .nav-shell { padding: 10px 0; }
.site-header.scrolled .nav-wrap {
  max-width: calc(var(--container) - 24px);
  padding: 8px 10px 8px 10px; padding-inline-start: 16px;
  background: rgba(5, 14, 54, .78);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-color: rgba(232, 204, 128, .28);
  border-radius: 999px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.site-header.solid .nav-wrap { background: rgba(5, 14, 54, .92); }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 50px; height: 50px; transition: width .45s var(--ease), height .45s var(--ease); }
.site-header.scrolled .brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-ar { font-family: "Neo Sans Arabic", "Noto Kufi Arabic", sans-serif; font-weight: 400; font-size: 1.5rem; }
.brand-en { font-family: "Inter", sans-serif; font-size: .6rem; letter-spacing: .3em; color: var(--gold-light); margin-top: 3px; }

/* nav capsule with sliding indicator */
.main-nav {
  position: relative; display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.site-header.scrolled .main-nav { background: transparent; border-color: transparent; padding: 2px; }
.site-header.scrolled .nav-indicator { top: 2px; bottom: 2px; }
.site-header.scrolled .nav-actions .btn, .site-header.scrolled .lang-switch { height: 40px; }
.nav-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 18px -6px rgba(207, 166, 74, .7);
  transition: left .45s var(--ease), width .45s var(--ease), opacity .3s;
  opacity: 0; z-index: 0;
}
.main-nav > a, .nav-drop > button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font-size: .9rem; font-weight: 500; white-space: nowrap; color: rgba(255, 255, 255, .88);
  transition: color .3s;
}
.main-nav > a.hl, .nav-drop > button.hl { color: var(--navy-900); }
.main-nav > a:focus-visible, .nav-drop > button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.nav-drop { position: relative; }
.nav-drop .caret { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav-drop.open .caret { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 16px); inset-inline-start: 50%; transform: translate(50%, 8px);
  width: 360px; padding: 10px; border-radius: 18px;
  background: rgba(5, 14, 54, .97); border: 1px solid rgba(232, 204, 128, .25);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s;
}
html[dir="ltr"] .drop-panel { transform: translate(-50%, 8px); }
.drop-panel::before { content: ""; position: absolute; inset-inline: 0; top: -18px; height: 18px; }
.nav-drop.open .drop-panel { opacity: 1; visibility: visible; transform: translate(50%, 0); }
html[dir="ltr"] .nav-drop.open .drop-panel { transform: translate(-50%, 0); }
.drop-panel a {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 12px; border-radius: 12px; transition: background .25s;
}
.drop-panel a:hover, .drop-panel a.active { background: rgba(232, 204, 128, .1); }
.drop-panel .di { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(207, 166, 74, .14); color: var(--gold-light); }
.drop-panel .di svg { width: 22px; height: 22px; }
.drop-panel b { display: block; font-weight: 600; font-size: .95rem; }
.drop-panel small { display: block; font-size: .8rem; color: rgba(255, 255, 255, .6); line-height: 1.5; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  transition: border-color .3s, background .3s;
}
.lang-switch svg { width: 15px; height: 15px; color: var(--gold-light); }
.lang-switch:hover { border-color: var(--gold); background: rgba(207, 166, 74, .12); }
.nav-actions .btn { height: 42px; padding: 0 20px; font-size: .88rem; border-radius: 999px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(232, 204, 128, .45); background: rgba(5, 14, 54, .5); cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; border-radius: 2px;
  transition: transform .4s var(--ease), background .3s;
}
.menu-toggle span { top: 50%; }
.menu-toggle span::before { top: -6px; left: 0; right: 0; }
.menu-toggle span::after { top: 6px; left: 0; right: 4px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); right: 0; }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; z-index: 101; height: 2px; width: 100%; pointer-events: none; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-light)); opacity: 0; transition: opacity .3s; }
html[dir="rtl"] .scroll-progress { transform-origin: right; }
body.is-scrolled .scroll-progress { opacity: 1; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--navy-900); color: #fff;
  display: flex; flex-direction: column; padding: 110px 24px 30px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(35, 80, 216, .35), transparent 55%); pointer-events: none; }
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { position: relative; display: grid; gap: 2px; }
.mobile-menu nav a {
  display: flex; align-items: center; gap: 16px; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 1.25rem; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
}
.mobile-menu nav a i { font-style: normal; font-family: "Inter", sans-serif; font-size: .72rem; color: var(--gold); letter-spacing: .1em; width: 22px; }
.mobile-menu nav a.active, .mobile-menu nav a:hover { color: var(--gold-light); }
.nav-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu .mm-foot { position: relative; margin-top: auto; padding-top: 30px; display: grid; gap: 14px; }
.mobile-menu .mm-foot .btn { width: 100%; border-radius: 999px; }
.mobile-menu .mm-contact { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.nav-open .site-header .nav-wrap { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-open .site-header .topbar { max-height: 0; opacity: 0; }

@media (max-width: 1280px) {
  .main-nav > a, .nav-drop > button { padding: 9px 12px; font-size: .86rem; }
  .topbar-slogan { display: none; }
}
@media (max-width: 1120px) {
  .main-nav, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-block; }
}
@media (min-width: 1121px) { .mobile-menu { display: none; } }
@media (max-width: 640px) {
  .topbar { display: none; }
  .nav-shell { padding: 10px 0; }
  .site-header.scrolled .nav-wrap { margin-inline: 12px; }
  .lang-switch { height: 40px; padding: 0 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate;
  padding: 140px 0 110px;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 14, 54, .55) 0%, rgba(5, 14, 54, .35) 40%, rgba(5, 14, 54, .92) 100%),
    linear-gradient(90deg, rgba(5, 14, 54, .75) 0%, rgba(5, 14, 54, .2) 70%);
}
html[dir="rtl"] .hero::before {
  background:
    linear-gradient(180deg, rgba(5, 14, 54, .55) 0%, rgba(5, 14, 54, .35) 40%, rgba(5, 14, 54, .92) 100%),
    linear-gradient(270deg, rgba(5, 14, 54, .75) 0%, rgba(5, 14, 54, .2) 70%);
}
.hero-network { position: absolute; inset: 0; z-index: -1; opacity: .75; pointer-events: none; }
.hero-network svg { width: 100%; height: 100%; }
.net-arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.2; stroke-dasharray: 6 10; animation: dash 16s linear infinite; }
.net-node { fill: var(--gold-light); }
.net-pulse { fill: none; stroke: var(--gold); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite; }
@keyframes dash { to { stroke-dashoffset: -320; } }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }

.hero-content { max-width: 820px; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .accent { color: var(--gold-light); display: block; }
.hero .lead { color: rgba(255, 255, 255, .82); margin-bottom: 40px; }
.hero-tagline {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px; border: 1px solid rgba(232, 204, 128, .35); border-radius: 100px;
  font-size: .85rem; color: var(--gold-light); margin-bottom: 30px;
  background: rgba(5, 14, 54, .35); backdrop-filter: blur(6px);
}
.hero-tagline i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(207, 166, 74, .2); }
.hero-foot {
  position: absolute; bottom: 0; inset-inline: 0; border-top: 1px solid var(--line-light);
  font-size: .82rem; color: rgba(255, 255, 255, .6);
}
.hero-foot .container { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; flex-wrap: wrap; }
.hero-foot span { display: inline-flex; align-items: center; gap: 10px; }
.hero-foot b { color: var(--gold-light); font-weight: 500; }
@media (max-width: 760px) { .hero-foot { display: none; } .hero { padding-bottom: 70px; } }
.scroll-cue { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* page hero (inner pages) */
.page-hero {
  position: relative; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate;
  padding: 190px 0 110px;
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img, .page-hero .bg video { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 14, 54, .7), rgba(5, 14, 54, .88));
}
.page-hero .lead { color: rgba(255, 255, 255, .8); margin-top: 20px; }
.breadcrumb { display: flex; gap: 10px; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-sm { padding: clamp(56px, 7vw, 90px) 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand-100); }
.bg-navy { background: var(--navy-800); color: #fff; }
.bg-deep { background: var(--navy-900); color: #fff; }
.on-dark .lead, .bg-navy .lead, .bg-deep .lead { color: rgba(255, 255, 255, .72); }
.on-dark .muted { color: rgba(255, 255, 255, .55); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: 64px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.media-frame { position: relative; }
.media-frame img, .media-frame video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.media-frame.wide img, .media-frame.wide video { aspect-ratio: 16 / 11; }
.media-frame::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold);
  border-radius: var(--radius); z-index: -1; opacity: .6;
}
html[dir="rtl"] .media-frame::after { inset: 22px 22px -22px -22px; }
.media-badge {
  position: absolute; bottom: 28px; inset-inline-start: -28px; background: var(--navy-800); color: #fff;
  padding: 22px 26px; max-width: 260px; border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 2px solid var(--gold);
}
.media-badge strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 4px; }
.media-badge span { font-size: .85rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 600px) { .media-badge { inset-inline-start: 12px; bottom: 12px; } .media-frame::after { display: none; } }

.checklist { display: grid; gap: 12px; margin-top: 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 6px; border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px);
}
.checklist.cols { grid-template-columns: 1fr 1fr; gap: 12px 30px; }
@media (max-width: 600px) { .checklist.cols { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.service-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 440px; padding: 34px; color: #fff; overflow: hidden; border-radius: var(--radius);
  isolation: isolate; background: var(--navy-800);
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 14, 54, .15) 0%, rgba(5, 14, 54, .55) 45%, rgba(5, 14, 54, .95) 100%);
  transition: background .5s;
}
.service-card:hover img { transform: scale(1.06); }
.service-card:hover::before { background: linear-gradient(180deg, rgba(5, 14, 54, .3) 0%, rgba(5, 14, 54, .75) 40%, rgba(5, 14, 54, .97) 100%); }
.service-card .num { font-family: "Inter", sans-serif; font-size: .8rem; letter-spacing: .2em; color: var(--gold-light); margin-bottom: auto; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-card p { color: rgba(255, 255, 255, .78); font-size: .95rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.service-card:hover p, .service-card:focus-within p { max-height: 200px; opacity: 1; margin-bottom: 18px; }
.service-card .card-link { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--gold-light); }
.service-card .line { width: 40px; height: 1px; background: var(--gold); margin-bottom: 18px; transition: width .5s var(--ease); }
.service-card:hover .line { width: 80px; }
@media (hover: none) { .service-card p { max-height: none; opacity: 1; margin-bottom: 18px; } }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; counter-reset: step; }
.process::before {
  content: ""; position: absolute; top: 31px; inset-inline: 7%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  opacity: .5;
}
.process .progress-line {
  position: absolute; top: 31px; inset-inline-start: 7%; height: 1px; width: 0; background: var(--gold-light);
  transition: width 2.4s var(--ease);
}
.process.in-view .progress-line { width: 86%; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step .dot {
  position: relative; width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-family: "Inter", sans-serif; font-weight: 600; font-size: .95rem;
  background: var(--navy-800); color: var(--gold-light); border: 1px solid rgba(207, 166, 74, .5);
  transition: background .5s, color .5s, transform .5s var(--ease);
}
.bg-navy .step .dot { background: var(--navy-700); }
.step:hover .dot { background: var(--gold); color: var(--navy-900); transform: translateY(-4px); }
.step h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
.step p { font-size: .85rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 1000px) {
  .process { grid-template-columns: 1fr; gap: 26px; }
  .process::before, .process .progress-line { display: none; }
  .step { display: grid; grid-template-columns: 62px 1fr; gap: 20px; text-align: start; align-items: center; }
  .step .dot { margin: 0; }
}

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.feature { padding: 40px 36px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background .4s; }
.feature:hover { background: var(--white); }
.feature .ico { width: 48px; height: 48px; color: var(--gold-dark); margin-bottom: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature { padding: 30px 24px; } }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 16px; }
.sector { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; isolation: isolate; display: flex; align-items: flex-end; padding: 26px; }
.sector.tall { grid-row: span 2; }
.sector.wide { grid-column: span 2; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(5, 14, 54, .9)); }
.sector:hover img { transform: scale(1.07); filter: saturate(1); }
.sector h3 { font-size: 1.2rem; }
.sector small { display: block; font-size: .78rem; color: var(--gold-light); letter-spacing: .1em; font-family: "Inter", sans-serif; margin-bottom: 4px; text-transform: uppercase; }
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } .sector.tall { grid-row: span 1; } .sector.wide { grid-column: span 1; } }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1150px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .packages { grid-template-columns: 1fr; } }
.package {
  position: relative; display: flex; flex-direction: column; padding: 38px 30px 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.package:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(207, 166, 74, .5); }
.package.featured { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.package .tag {
  position: absolute; top: -12px; inset-inline-start: 30px; background: var(--gold); color: var(--navy-900);
  font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 100px;
}
.package .pkg-num { font-family: "Inter", sans-serif; font-size: .78rem; letter-spacing: .2em; color: var(--gold-dark); }
.package.featured .pkg-num { color: var(--gold-light); }
.package h3 { font-size: 1.3rem; margin: 10px 0 18px; min-height: 2.7em; }
.price { font-family: "Inter", sans-serif; font-weight: 600; font-size: 1.55rem; letter-spacing: -.01em; line-height: 1.2; }
.price small { display: block; font-family: var(--font-body); font-size: .85rem; font-weight: 400; color: var(--ink-mute); margin-top: 6px; }
.package.featured .price small { color: rgba(255, 255, 255, .6); }
.package .desc { font-size: .92rem; color: var(--ink-soft); margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.package.featured .desc { color: rgba(255, 255, 255, .72); border-color: var(--line-light); }
.package .checklist { font-size: .92rem; gap: 8px; margin: 22px 0 30px; }
.package .checklist li::before { width: 16px; height: 16px; margin-top: 5px; }
.package .btn { margin-top: auto; width: 100%; }
.package.featured .btn-outline { --fg: #fff; --bd: rgba(255, 255, 255, .35); }

.note-box {
  margin-top: 44px; padding: 30px 34px; border: 1px solid rgba(207, 166, 74, .45);
  border-inline-start: 3px solid var(--gold); background: rgba(207, 166, 74, .06); border-radius: var(--radius);
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
}
.note-box svg { width: 28px; height: 28px; color: var(--gold-dark); }
.note-box h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 6px; }
.note-box p { font-size: .94rem; color: var(--ink-soft); }
.note-box p + p { margin-top: 8px; }

/* ---------- Audience icons ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud {
  display: flex; gap: 16px; align-items: center; padding: 22px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .4s, transform .4s var(--ease);
}
.aud:hover { border-color: var(--gold); transform: translateY(-3px); }
.aud .ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-100); color: var(--gold-dark); }
.aud .ico svg { width: 22px; height: 22px; }
.aud span { font-weight: 500; font-size: .95rem; line-height: 1.5; }
@media (max-width: 1000px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Dual (foreign / saudi) ---------- */
.dual { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.dual-panel { position: relative; color: #fff; padding: clamp(50px, 7vw, 90px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.dual-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.dual-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 14, 54, .35), rgba(5, 14, 54, .94) 70%); }
.dual-panel:hover > img { transform: scale(1.05); }
.dual-panel h2 { margin-bottom: 18px; }
.dual-panel p { color: rgba(255, 255, 255, .78); max-width: 52ch; margin-bottom: 20px; }
.dual-panel .checklist { grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-bottom: 34px; font-size: .95rem; }
.dual-panel .flag { font-family: "Inter", sans-serif; font-size: .75rem; letter-spacing: .22em; color: var(--gold-light); margin-bottom: 14px; text-transform: uppercase; }
@media (max-width: 900px) { .dual { grid-template-columns: 1fr; } .dual-panel { min-height: 560px; } }
@media (max-width: 500px) { .dual-panel .checklist { grid-template-columns: 1fr; } }

/* ---------- Timeline (exhibitions) ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.phase { padding: 34px 30px; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255, 255, 255, .03); position: relative; }
.phase .when { font-family: "Inter", sans-serif; font-size: .78rem; letter-spacing: .2em; color: var(--gold-light); text-transform: uppercase; margin-bottom: 10px; }
html[lang="ar"] .phase .when { font-family: var(--font-body); letter-spacing: 0; font-size: .9rem; }
.phase h3 { font-size: 1.3rem; margin-bottom: 16px; }
.phase ol { list-style: none; display: grid; gap: 10px; counter-reset: ph; }
.phase ol li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .78); font-size: .95rem; counter-increment: ph; }
.phase ol li::before { content: counter(ph, decimal-leading-zero); font-family: "Inter", sans-serif; font-size: .72rem; color: var(--gold); border: 1px solid rgba(207, 166, 74, .4); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; }
.phase:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: -16px; width: 12px; height: 12px;
  border-top: 1px solid var(--gold); border-inline-end: 1px solid var(--gold); transform: translateY(-50%) rotate(45deg);
}
html[dir="rtl"] .phase:not(:last-child)::after { transform: translateY(-50%) rotate(-135deg); }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } .phase:not(:last-child)::after { display: none; } }

/* ---------- KPI ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kpi { background: var(--warm-white); padding: 28px 26px; display: flex; gap: 16px; align-items: flex-start; transition: background .4s; }
.kpi:hover { background: var(--white); }
.kpi b { font-family: "Inter", sans-serif; font-weight: 500; font-size: .8rem; color: var(--gold-dark); letter-spacing: .12em; padding-top: 3px; }
.kpi span { font-weight: 500; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }

/* ---------- Jewelry pilot ---------- */
.pilot-gallery { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 560px; }
.pilot-gallery > * { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.pilot-gallery > :first-child { grid-row: span 2; }
@media (max-width: 700px) { .pilot-gallery { height: 440px; } }

/* ---------- Trust (coming soon) ---------- */
.trust-soon {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 40px; border: 1px dashed rgba(10, 27, 92, .2); border-radius: var(--radius-lg);
}
.trust-soon .slots { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-soon .slots i { width: 110px; height: 54px; border-radius: var(--radius); background: repeating-linear-gradient(135deg, var(--sand-100) 0 8px, var(--sand-200) 8px 9px); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 130px) 0; background: var(--navy-900); }
.cta-band > img, .cta-band > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 14, 54, .95), rgba(5, 14, 54, .6)); }
html[dir="rtl"] .cta-band::before { background: linear-gradient(270deg, rgba(5, 14, 54, .95), rgba(5, 14, 54, .6)); }
.cta-band .inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .inner { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 90px); }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card { background: var(--white); padding: clamp(28px, 4vw, 50px); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--sand-300); border-radius: var(--radius);
  background: var(--warm-white); transition: border-color .3s, background .3s, box-shadow .3s; font-size: .96rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(207, 166, 74, .15); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239C7A3C' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; padding-left: 40px; }
html[dir="ltr"] .field select { background-position: right 16px center; padding-left: 16px; padding-right: 40px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.form-actions small { color: var(--ink-mute); font-size: .82rem; }
.form-status { margin-top: 20px; padding: 18px 22px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: rgba(46, 125, 91, .08); border: 1px solid rgba(46, 125, 91, .3); color: #1F5E43; }
.form-status.err { display: block; background: rgba(170, 60, 60, .07); border: 1px solid rgba(170, 60, 60, .3); color: #8A2D2D; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success svg { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--gold); }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }

.contact-list { display: grid; gap: 4px; margin-top: 34px; }
.contact-item { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item .ico { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(207, 166, 74, .5); display: grid; place-items: center; color: var(--gold-dark); flex-shrink: 0; }
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: .78rem; color: var(--ink-mute); }
.contact-item a, .contact-item b { font-weight: 600; direction: ltr; unicode-bidi: embed; }
.contact-item a:hover { color: var(--gold-dark); }

/* ---------- Detail blocks (services page) ---------- */
.detail { display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 6vw, 80px); padding: 80px 0; border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail-aside { position: sticky; top: 110px; align-self: start; }
.detail-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.detail-aside .num { font-family: "Inter", sans-serif; font-size: .8rem; letter-spacing: .2em; color: var(--gold-dark); }
.detail-aside h2 { font-size: 1.7rem; margin: 8px 0 14px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 44px; }
.detail-grid .full { grid-column: 1 / -1; }
.detail-grid h4 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; font-weight: 700; }
html[lang="ar"] .detail-grid h4 { letter-spacing: 0; font-size: .95rem; }
.detail-grid p, .detail-grid li { color: var(--ink-soft); font-size: .96rem; }
.detail-grid .checklist { margin-top: 0; gap: 8px; }
.steps-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.steps-inline li { padding: 6px 14px; border: 1px solid var(--sand-300); border-radius: 100px; font-size: .88rem; background: var(--white); }
.not-included li::before { background: none; border-color: var(--ink-mute); content: "–"; display: grid; place-items: center; font-size: 12px; line-height: 1; color: var(--ink-mute); }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .detail-aside { position: static; } }
@media (max-width: 600px) { .detail-grid { grid-template-columns: 1fr; } }

.sub-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.sub-nav a { padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 100px; font-size: .88rem; transition: background .3s, border-color .3s; }
.sub-nav a:hover { border-color: var(--gold); background: rgba(207, 166, 74, .12); }

/* sector detail */
.sector-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-soft); }
.sector-row img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.sector-row .txt { padding: clamp(30px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.sector-row:nth-child(even) img { order: 2; }
.sector-row h2 { font-size: 1.7rem; margin-bottom: 14px; }
.sector-row p { color: var(--ink-soft); }
@media (max-width: 800px) { .sector-row { grid-template-columns: 1fr; } .sector-row:nth-child(even) img { order: 0; } .sector-row img { min-height: 240px; } }

/* legal */
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-inline-start: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 90px 0 0; font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-brand .brand { color: #fff; margin-bottom: 22px; }
.footer-brand p { max-width: 38ch; }
.footer-brand .parent { margin-top: 18px; font-size: .86rem; color: rgba(255, 255, 255, .5); }
.footer-brand .parent b { color: var(--gold-light); font-weight: 500; display: block; }
.footer-slogan { font-family: var(--font-display); color: #fff; font-size: 1.1rem; margin-top: 22px; line-height: 1.6; }
.site-footer h4 { font-family: var(--font-body); color: #fff; font-size: .92rem; font-weight: 600; margin-bottom: 20px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ltr { direction: ltr; unicode-bidi: embed; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; bottom: 16px; inset-inline: 16px; z-index: 90; display: none;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { width: 100%; box-shadow: 0 16px 40px -10px rgba(5, 14, 54, .6); padding: 16px; }
.mobile-cta .wa { flex: 0 0 56px; padding: 0; }
.mobile-cta .wrap { display: flex; gap: 10px; }
@media (max-width: 760px) { .mobile-cta { display: block; } .site-footer { padding-bottom: 80px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.center { text-align: center; }
.mt-2 { margin-top: 20px; } .mt-4 { margin-top: 40px; } .mb-2 { margin-bottom: 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* =========================================================
   Globe, maps & ribbons
   ========================================================= */
.map-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.map-bg canvas { width: 100%; height: 100%; display: block; }
.has-map > .container, .map-bg ~ .container { position: relative; z-index: 1; }
.page-hero .map-bg { z-index: -1; opacity: .8; }
.hero .map-bg { z-index: -1; opacity: .9; }

.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; margin-inline: auto; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; }
.globe-wrap .globe-label {
  position: absolute; bottom: 8%; inset-inline-start: 50%; transform: translateX(-50%);
  font-family: "Inter", sans-serif; font-size: .72rem; letter-spacing: .3em; color: var(--gold-light); white-space: nowrap;
}
html[dir="rtl"] .globe-wrap .globe-label { transform: translateX(50%); }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
.hero-grid .globe-wrap { max-width: 540px; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .hero-grid .globe-wrap { max-width: 380px; margin-top: -10px; } }

/* moving ribbons */
.ribbons { position: relative; overflow: hidden; padding: 46px 0; background: var(--navy-900); }
.ribbon { position: relative; overflow: hidden; white-space: nowrap; direction: ltr; padding: 16px 0; }
.ribbon + .ribbon { margin-top: -6px; }
.ribbon.gold { background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark)); color: var(--navy-900); transform: rotate(-1.6deg) scale(1.04); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); z-index: 2; }
.ribbon.royal { background: var(--royal); color: #fff; transform: rotate(1.4deg) scale(1.04); z-index: 1; }
.ribbon.outline { background: transparent; color: rgba(255,255,255,.85); border-block: 1px solid rgba(232, 204, 128, .3); }
.ribbon-track { display: inline-flex; animation: ribbon 60s linear infinite; }
.ribbon.reverse .ribbon-track { animation-direction: reverse; }
.ribbon.slow .ribbon-track { animation-duration: 80s; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-item { display: inline-flex; align-items: center; gap: 18px; padding: 0 26px; font-weight: 600; font-size: 1.05rem; }
.ribbon-item .sep { width: 8px; height: 8px; transform: rotate(45deg); background: currentColor; opacity: .55; }
.ribbon-item .x { font-family: "Inter", sans-serif; font-weight: 400; opacity: .75; }
.ribbon-item .ar { font-family: "Neo Sans Arabic", "Noto Kufi Arabic", sans-serif; }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* subtle map watermark on light sections */
.map-light { position: relative; overflow: hidden; }
.map-light > .map-bg { opacity: .9; }

/* hero stats line under globe */
.orbit-ring { position: absolute; inset: 6%; border: 1px dashed rgba(232, 204, 128, .22); border-radius: 50%; animation: spin 90s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.section-globe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .section-globe { grid-template-columns: 1fr; } }

/* keyboard: skip straight to the page content */
.skip-link { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 10005; padding: 10px 18px; border-radius: 999px; background: var(--gold); color: var(--navy-900); font-weight: 600; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; outline: 2px solid #fff; outline-offset: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* =========================================================
   Mobile polish (review 2026-09-27)
   ========================================================= */
/* text links placed on dark photos/heroes */
.hero .btn-link, .page-hero .btn-link, .dual-panel .btn-link, .cta-band .btn-link, .bg-deep .btn-link, .bg-navy .btn-link { color: #fff; }
.hero .btn-link:hover, .page-hero .btn-link:hover { color: var(--gold-light); }

/* comfortable tap targets for small links */
.contact-item a, .contact-item b { display: inline-block; padding-block: 6px; }
.site-footer ul a, .footer-bottom nav a { display: inline-block; padding-block: 6px; }

@media (max-width: 760px) {
  /* about badge sits under the photo instead of covering it */
  .media-badge { position: relative; inset: auto; bottom: auto; margin: -34px 16px 0; max-width: none; }

  /* service cards: shorter, text always visible */
  .service-card { min-height: 330px; padding: 26px; }
  .service-card h3 { font-size: 1.25rem; }

  /* sectors: two columns */
  .sectors { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
  .sector.tall { grid-row: span 1; }
  .sector.wide { grid-column: span 2; }
  .sector { padding: 16px; }
  .sector h3 { font-size: 1rem; line-height: 1.45; }
  .sector small { font-size: .66rem; letter-spacing: .06em; }

  /* footer link groups side by side */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand, .footer-top > div:last-child { grid-column: 1 / -1; }

  /* ribbons slightly smaller */
  .ribbon-item { font-size: .92rem; padding: 0 18px; }

  /* comfortable section rhythm */
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 34px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
/* hero-foot keeps its own room on short laptop screens */
@media (min-width: 761px) { .hero { padding-bottom: 150px; } }
@media (min-width: 761px) and (max-height: 780px) { .hero { padding-top: 120px; } .hero h1 { margin-bottom: 18px; } .hero .lead { margin-bottom: 28px; } .slide-caption { display: none; } }

/* =========================================================
   Interactive Experiences page (reuses the site design system)
   ========================================================= */
.process.steps-5 { grid-template-columns: repeat(5, 1fr); }
.process.steps-5 .step h4 small { display: block; font-family: "Inter", sans-serif; font-size: .72rem; letter-spacing: .14em; color: var(--gold-light); font-weight: 500; margin-top: 2px; }
@media (max-width: 1000px) { .process.steps-5 { grid-template-columns: 1fr; } }

.en-label { display: block; font-family: "Inter", sans-serif; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.on-dark .en-label, .bg-navy .en-label, .bg-deep .en-label { color: var(--gold-light); }

/* solution blocks */
.solution { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 26px; }
.solution:nth-child(even) .solution-media { order: 2; }
.solution-media { position: relative; min-height: 360px; background: var(--navy-800); }
.solution-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.solution-media .sol-num { position: absolute; top: 22px; inset-inline-start: 22px; z-index: 2; font-family: "Inter", sans-serif; font-weight: 600; font-size: 2.4rem; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.solution-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,14,54,.35), rgba(5,14,54,.05) 45%, rgba(5,14,54,.45)); }
.solution-body { padding: clamp(28px, 4vw, 52px); }
.solution-body h3 { font-size: 1.55rem; margin-bottom: 12px; }
.solution-body > p { color: var(--ink-soft); margin-bottom: 22px; }
.sol-list { display: grid; gap: 16px; }
.sol-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--warm-white); border-inline-start: 3px solid var(--gold); }
.sol-list b { display: block; font-weight: 600; }
.sol-list i { display: block; font-style: normal; font-family: "Inter", sans-serif; font-size: .76rem; color: var(--gold-dark); letter-spacing: .04em; margin: 2px 0 6px; }
.sol-list span { color: var(--ink-soft); font-size: .93rem; }
@media (max-width: 860px) { .solution { grid-template-columns: 1fr; } .solution:nth-child(even) .solution-media { order: 0; } .solution-media { min-height: 260px; } }

/* integration path */
.chain { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 10px 0 34px; }
.chain .node { padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(232,204,128,.4); background: rgba(255,255,255,.04); font-family: "Inter", sans-serif; font-size: .9rem; color: #fff; white-space: nowrap; }
.chain .node.hot { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-900); border-color: transparent; font-weight: 600; }
.chain .arr { color: var(--gold); font-size: 1.1rem; }
html[dir="rtl"] .chain { direction: ltr; }
.example-box { max-width: 880px; margin-inline: auto; padding: 26px 30px; border-radius: var(--radius-lg); border: 1px dashed rgba(232,204,128,.4); color: rgba(255,255,255,.82); }
.example-box b { color: var(--gold-light); }

/* before / after booth */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.compare .side { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); background: var(--white); }
.compare .side.after { background: var(--navy-800); color: #fff; border-color: var(--navy-800); position: relative; overflow: hidden; }
.compare .side.after::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 0%, rgba(35,80,216,.45), transparent 60%); pointer-events: none; }
.compare .side > * { position: relative; }
.compare h3 { font-size: 1.3rem; margin-bottom: 18px; }
.compare .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.compare .tags span { padding: 8px 14px; border-radius: 999px; font-size: .9rem; border: 1px solid var(--sand-300); background: var(--warm-white); color: var(--ink-soft); }
.compare .after .tags span { border-color: rgba(232,204,128,.45); background: rgba(255,255,255,.06); color: #fff; }
.compare .mid { display: grid; place-items: center; }
.compare .mid span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); font-size: 1.4rem; box-shadow: 0 10px 30px -10px rgba(207,166,74,.8); }
html[dir="rtl"] .compare .mid span { transform: scaleX(-1); }
.compare .booth-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-top: 22px; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .compare .mid span { transform: rotate(90deg); } html[dir="rtl"] .compare .mid span { transform: rotate(90deg); } }

/* value chips */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { display: flex; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .4s, transform .4s var(--ease); }
.value:hover { border-color: var(--gold); transform: translateY(-3px); }
.value .ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--sand-100); color: var(--gold-dark); }
.value .ico svg { width: 22px; height: 22px; }
.value b { display: block; font-weight: 600; }
.value small { font-family: "Inter", sans-serif; color: var(--ink-mute); font-size: .78rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* gallery of real screens */
.ix-gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; height: 460px; }
.ix-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .ix-gallery { grid-template-columns: 1fr 1fr; height: auto; } .ix-gallery img { height: 240px; } .ix-gallery img:first-child { grid-column: 1 / -1; } }

/* FAQ */
.faq { max-width: 900px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s; }
.faq details[open] { border-color: var(--gold); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-dark); font-family: "Inter", sans-serif; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); }
.results-note { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--ink-mute); }
.features.cols-4 { grid-template-columns: repeat(4, 1fr); }
.packages.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .features.cols-4 { grid-template-columns: 1fr 1fr; } .packages.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features.cols-4, .packages.cols-3 { grid-template-columns: 1fr; } }
.aud .en-label { font-size: .68rem; }

/* 7th service: full-width feature card */
.service-card--wide { grid-column: 1 / -1; min-height: 380px; }
.service-card--wide h3 { font-size: 1.7rem; max-width: 30ch; }
.service-card--wide p { max-width: 62ch; }
.service-card--wide img { object-position: center 35%; }
@media (max-width: 640px) { .service-card--wide { min-height: 330px; } .service-card--wide h3 { font-size: 1.3rem; } }

/* floating header capsule fits the screen on phones (width 100% + side margins overflowed) */
@media (max-width: 760px) {
  .site-header.scrolled .nav-wrap { width: auto; margin-inline: 12px; padding: 6px 8px; padding-inline-start: 14px; }
}

/* =========================================================
   Typography alignment: justified body text across the site
   ========================================================= */
main p, main .lead, .footer-brand p, .detail-grid li, .prose li, .sol-list span {
  text-align: justify;
  text-justify: inter-word;
  text-wrap: pretty;
  hyphens: none;
}
/* keep centered/short text centered */
main .center p, main .center .lead, .section-head.center .lead, main p[style*="center"],
main .step p, main .results-note, main .form-success p, main .hero-tagline, main .footer-slogan,
main .media-badge span, main .tags span, main .phase li {
  text-align: center;
}
@media (max-width: 1000px) { main .step p { text-align: start; } }
/* headings: balanced lines, no single-word last line */
h1, h2, h3, .display, .h2 { text-wrap: balance; }
.lead { text-wrap: pretty; }
/* hero tagline: slightly larger and bolder */
.hero-tagline { font-size: .95rem; font-weight: 700; letter-spacing: .01em; padding: 9px 18px; }
@media (max-width: 640px) { .hero-tagline { font-size: .88rem; } }

/* large lead on narrow screens: justify would open wide gaps between words */
@media (max-width: 640px) { main .hero .lead, main .page-hero .lead, main .dual-panel p, main .cta-band .lead { text-align: start; } .hero-tagline { border-radius: 18px; text-align: center; } }

/* feature icons: fixed size (the <i> wrapper is inline, so its width was ignored and the SVG filled the card) */
.feature .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sand-100); margin-bottom: 20px; }
.feature .ico svg { width: 26px; height: 26px; }
.bg-white .feature .ico { background: var(--sand-100); }

/* Why MADARI: compact layout (icon beside the title, tighter spacing) */
#why.section { padding-block: clamp(64px, 8vw, 100px); }
#why .section-head { margin-bottom: 40px; }
#why .feature { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; padding: 26px 26px; }
#why .feature .ico { grid-row: span 2; margin-bottom: 0; }
#why .feature h3 { font-size: 1.12rem; margin: 2px 0 6px; align-self: center; }
#why .feature p { grid-column: 2; font-size: .93rem; line-height: 1.75; }
@media (max-width: 600px) {
  #why.section { padding-block: 56px; }
  #why .feature { padding: 20px 18px; grid-template-columns: 44px 1fr; column-gap: 14px; }
  #why .feature .ico { width: 44px; height: 44px; }
  #why .feature .ico svg { width: 22px; height: 22px; }
  #why .feature .ico { grid-row: auto; }
  #why .feature p { grid-column: 1 / -1; margin-top: 8px; text-align: start; }
}