@charset "UTF-8";
/* =============================================================
   VEXORA — نظام التصميم الأساسي
   الترتيب: المتغيرات · الأساس · المكونات المشتركة · الأقسام
   ============================================================= */

/* ── 1. المتغيرات ─────────────────────────────────────────── */
:root {
  /* الألوان الأساسية */
  --navy:         #0F4C81;
  --navy-deep:    #0A3660;
  --navy-mid:     #135E9D;
  --navy-light:   #1D70B8;

  --gold:         #E28714;
  --gold-light:   #F1A80A;
  --gold-pale:    #FFF3D9;
  --gold-dark:    #C56F0D;

  --ivory:        #FAF7F2;
  --ivory-deep:   #F2EDE3;
  --cream:        #F7F0E3;
  --white:        #FFFFFF;

  --text-dark:    #1A1A2E;
  --text-mid:     #3D4B6A;
  --text-muted:   #7A8BA0;

  --border-light: #DDD5C8;
  --border-gold:  rgba(226,135,20,0.30);

  /* الظلال — ملوّنة بلون العلامة لا بالأسود */
  --shadow-sm:    0 2px 16px rgba(15,76,129,0.10);
  --shadow-md:    0 8px 40px rgba(15,76,129,0.16);
  --shadow-lg:    0 20px 70px rgba(15,76,129,0.22);
  --shadow-gold:  0 8px 30px rgba(226,135,20,0.25);

  /* الخطوط */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Tajawal', 'Cairo', system-ui, sans-serif;
  --font-ar:      'Tajawal', system-ui, sans-serif;

  --fs-xs:        0.9rem;
  --fs-sm:        1.0625rem;
  --fs-base:      1.2rem;
  --fs-md:        1.125rem;
  --fs-lg:        1.25rem;

  /* المسافات والحواف */
  --section-pad:  100px;
  --radius:       4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --container:    1200px;

  /* الانتقالات */
  --t-fast:       all 0.2s ease;
  --t-mid:        all 0.35s ease;
  --t-slow:       all 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  /* الطبقات */
  --z-loader:     9999;
  --z-nav:        1030;
  --z-mega:       1020;
  --z-top:        1010;
}

/* ── 2. الأساس ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.9;
  color: var(--text-mid);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.rtl { direction: rtl; text-align: right; }
body.ltr { direction: ltr; text-align: left; font-family: var(--font-body); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1rem;
  text-wrap: balance;
}
body.rtl h1, body.rtl h2, body.rtl h3,
body.rtl h4, body.rtl h5, body.rtl h6 { font-family: var(--font-ar); }

p { margin: 0 0 1rem; }
a { color: var(--navy); text-decoration: none; transition: var(--t-fast); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section-pad { padding-block: var(--section-pad); }
.bg-ivory { background: var(--ivory); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }

/* ── 3. العناوين المشتركة للأقسام ─────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em;
  color: var(--gold-dark); text-transform: uppercase;
  margin-bottom: 14px;
}
.section-label::before,
.section-label::after {
  content: ''; width: 26px; height: 1px; background: var(--border-gold);
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 16px;
}
.section-title .accent { color: var(--gold); }
.section-sub {
  font-size: var(--fs-sm); color: var(--text-muted);
  max-width: 66ch; margin-inline: auto;
}

/* المعيّن الذهبي الفاصل */
.diamond {
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg); flex: 0 0 8px;
}

/* ── 4. الأزرار ───────────────────────────────────────────── */
.btn-gold,
.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700;
  border: 1px solid transparent; cursor: pointer;
  transition: var(--t-mid); text-decoration: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1A1405; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { color: #1A1405; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(226,135,20,0.36); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #1A1405; }

.btn-navy {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: var(--radius);
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: var(--fs-sm); border: 0; cursor: pointer;
  transition: var(--t-mid);
}
.btn-navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); }

/* ── 5. شاشة التحميل ──────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.is-done { opacity: 0; visibility: hidden; }
.loader-logo-img { width: 220px; height: auto; animation: loaderPulse 1.6s ease-in-out infinite; }
.loader-progress {
  width: min(260px, 60vw); height: 3px;
  background: var(--ivory-deep); border-radius: 999px; overflow: hidden;
}
.loader-progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 0.25s ease;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.72; transform: scale(0.97); }
}

/* ── 6. شريط التنقل ───────────────────────────────────────── */
.navbar {
  position: fixed; inset-inline: 0; top: 0; z-index: var(--z-nav);
  padding-block: 14px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--t-mid);
}
.navbar.is-scrolled {
  padding-block: 8px;
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-light);
}
.navbar > .container { display: flex; align-items: center; gap: 20px; }

.navbar-brand { display: flex; align-items: center; flex: 0 0 auto; }
.navbar-main-logo { width: auto; height: 62px; transition: var(--t-mid); }
.navbar.is-scrolled .navbar-main-logo { height: 50px; }

.navbar-collapse { display: flex; align-items: center; gap: 20px; flex: 1 1 auto; }
/* الروابط تتوسّط المساحة بين اللوجو وأزرار الإجراء */
.navbar-nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1 1 auto; justify-content: center; margin-inline: auto;
}
.nav-item { position: relative; }
.nav-link {
  display: block; margin-inline: 4px;
  padding: 12px 20px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--navy-deep);
  border: 1px solid transparent;   /* يحجز مكان الإطار فلا يقفز التخطيط عند المرور */
  border-radius: 10px; white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

/* المرور: خلفية ذهبية خفيفة وإطار باهت */
.nav-link:hover {
  background: rgba(226,135,20,0.10);
  border-color: rgba(226,135,20,0.25);
  color: var(--navy);
}

/* الصفحة الحالية: تدرّج أوضح وإطار أقوى وتوهج */
.nav-link.active {
  background: linear-gradient(180deg, rgba(226,135,20,0.20), rgba(226,135,20,0.10));
  border-color: rgba(226,135,20,0.50);
  box-shadow: 0 2px 14px rgba(226,135,20,0.18);
  color: var(--navy-deep);
}

.navbar-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.lang-switcher {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--border-light);
  color: var(--navy-deep); font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 700; cursor: pointer;
  transition: var(--t-fast);
}
.lang-switcher:hover { border-color: var(--gold); color: var(--gold-dark); }

.nav-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius); border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1A1405; font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 700;
  box-shadow: var(--shadow-gold); transition: var(--t-mid);
}
.nav-cta-btn:hover { transform: translateY(-2px); }

.navbar-toggler {
  display: none; width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--border-light);
  border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center; flex: 0 0 auto;
}
.navbar-toggler-icon {
  position: relative; display: block; width: 20px; height: 2px;
  background: var(--navy-deep); transition: var(--t-fast);
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: ''; position: absolute; inset-inline-start: 0;
  width: 20px; height: 2px; background: var(--navy-deep); transition: var(--t-fast);
}
.navbar-toggler-icon::before { top: -6px; }
.navbar-toggler-icon::after  { top: 6px; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon { background: transparent; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before { top: 0; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after  { top: 0; transform: rotate(-45deg); }

/* ── 7. القائمة الضخمة ────────────────────────────────────── */
/* العنصر الحاوي static ليصبح .navbar (الثابت) هو مرجع التموضع */
.nav-item--mega { position: static; }

.mega-menu-wrapper {
  position: absolute; inset-inline: 0; top: 100%;
  z-index: var(--z-mega);
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: 30px 0 34px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: var(--t-mid);
}
.nav-item:hover > .mega-menu-wrapper,
.nav-item:focus-within > .mega-menu-wrapper,
.mega-menu-wrapper:hover,
.mega-menu-wrapper.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-inner { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.mega-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.mega-title { font-size: var(--fs-lg); margin: 0; color: var(--navy-deep); }
.mega-view-all { font-size: var(--fs-xs); font-weight: 700; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 8px; }

.mega-services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 18px;
}
.mega-service-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--radius);
  transition: var(--t-fast);
}
.mega-service-item:hover { background: var(--ivory); }
.mega-service-item h6 {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-xs);
  font-weight: 600; color: var(--text-mid); line-height: 1.6;
}
.mega-service-item:hover h6 { color: var(--navy); }

/* ── 8. الهيرو ────────────────────────────────────────────── */
.hero-showcase {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,54,96,0.82) 0%, rgba(10,54,96,0.66) 55%, rgba(10,54,96,0.86) 100%);
}
.hero-center-content { position: relative; z-index: 2; width: 100%; padding-block: 120px 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px; border-radius: 999px;
  background: rgba(226,135,20,0.16); border: 1px solid var(--border-gold);
  color: var(--gold-light); font-size: var(--fs-xs); font-weight: 700;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  color: var(--white); margin-bottom: 20px; line-height: 1.32;
}
.hero-title .accent { color: var(--gold-light); }
.hero-desc {
  font-size: var(--fs-md); color: rgba(255,255,255,0.9);
  max-width: 70ch; margin-inline: auto; margin-bottom: 32px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-frame-top, .hero-frame-bottom {
  position: absolute; inset-inline: 40px; height: 1px;
  background: var(--border-gold); z-index: 2;
}
.hero-frame-top { top: 90px; } .hero-frame-bottom { bottom: 40px; }
.hero-frame-corner {
  position: absolute; width: 22px; height: 22px; z-index: 2;
  border: 1px solid var(--gold); opacity: 0.55;
}
.hero-frame-corner.tl { top: 90px; inset-inline-start: 40px; border-inline-end: 0; border-bottom: 0; }
.hero-frame-corner.tr { top: 90px; inset-inline-end: 40px; border-inline-start: 0; border-bottom: 0; }
.hero-frame-corner.bl { bottom: 40px; inset-inline-start: 40px; border-inline-end: 0; border-top: 0; }
.hero-frame-corner.br { bottom: 40px; inset-inline-end: 40px; border-inline-start: 0; border-top: 0; }

/* هيرو داخلي للصفحات الفرعية */
.page-hero {
  position: relative; padding-block: 190px 90px;
  background: var(--navy-deep); overflow: hidden;
}
.page-hero.with-bg-img::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/hero/hero2-md.webp') center/cover no-repeat;
  opacity: 0.22;
}
.page-hero > .container { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.4vw, 3rem); }
.page-hero .hero-desc { margin-bottom: 0; }
.hero-breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: var(--fs-xs); color: rgba(255,255,255,0.72); margin-top: 16px;
}
.hero-breadcrumb a { color: var(--gold-light); }
.hero-ornament {
  width: 60px; height: 1px; background: var(--border-gold);
  margin: 0 auto 18px; position: relative;
}
.hero-ornament::after {
  content: ''; position: absolute; inset-inline-start: 50%; top: -3px;
  width: 7px; height: 7px; margin-inline-start: -3.5px;
  background: var(--gold); transform: rotate(45deg);
}
.hero-stat-pill {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 14px 26px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
}
.hero-stat-pill b { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-light); line-height: 1.2; }
.hero-stat-pill span { font-size: var(--fs-xs); color: rgba(255,255,255,0.8); }

/* ── 9. شريط الخدمات العائم ───────────────────────────────── */
.floating-services-wrap { position: relative; margin-top: -70px; z-index: 5; }
.floating-services {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.floating-service {
  background: var(--white); padding: 26px 20px; text-align: center;
  transition: var(--t-mid);
}
.floating-service:hover { background: var(--ivory); transform: translateY(-4px); }
.floating-service i { font-size: 1.7rem; color: var(--gold); margin-bottom: 12px; display: block; }
.floating-service h5 {
  font-family: var(--font-body); font-size: var(--fs-sm);
  font-weight: 700; color: var(--navy-deep); margin: 0 0 6px;
}
.floating-service p { font-size: var(--fs-xs); color: var(--text-muted); margin: 0; }

/* ── 10. بطاقات الخدمات ───────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.service-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); overflow: hidden;
  transition: var(--t-mid); display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }
.service-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--t-slow); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-badge {
  position: absolute; inset-block-start: 12px; inset-inline-start: 12px;
  padding: 5px 12px; border-radius: var(--radius);
  background: rgba(10,54,96,0.88); color: var(--gold-light);
  font-size: 0.78rem; font-weight: 700;
}
.service-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h5 {
  font-family: var(--font-body); font-size: var(--fs-md);
  font-weight: 700; color: var(--navy-deep); margin-bottom: 10px;
}
.service-card-body p { font-size: var(--fs-xs); color: var(--text-muted); flex: 1; }
.service-card-price {
  font-size: var(--fs-xs); font-weight: 700; color: var(--gold-dark);
  padding-top: 12px; margin-top: 12px; border-top: 1px dashed var(--border-light);
}
.service-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 700; color: var(--navy);
  margin-top: 12px;
}
.service-card-link:hover { color: var(--gold); gap: 12px; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.service-tag {
  padding: 3px 10px; border-radius: 999px;
  background: var(--ivory-deep); color: var(--text-mid);
  font-size: 0.78rem; font-weight: 600;
}

/* ── 11. لماذا نحن ────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  text-align: center; padding: 32px 22px;
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  background: var(--white); transition: var(--t-mid);
}
.why-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.why-icon {
  width: 62px; height: 62px; margin: 0 auto 16px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold-dark); font-size: 1.4rem;
}
.why-card h5 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: var(--fs-xs); color: var(--text-muted); margin: 0; }

/* العدّادات */
.counters-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.counter-item { text-align: center; }
.counter-value {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800; color: var(--gold); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.counter-label { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; }

/* ── 12. دعوة الإجراء ─────────────────────────────────────── */
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg); padding: 56px 40px; text-align: center;
}
.cta-box::before {
  content: ''; position: absolute; inset: 14px;
  border: 1px solid rgba(226,135,20,0.28); border-radius: var(--radius-md);
  pointer-events: none;
}
.cta-box h2 { color: var(--white); position: relative; }
.cta-box p { color: rgba(255,255,255,0.86); max-width: 62ch; margin-inline: auto; position: relative; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; position: relative; }

/* ── 13. التذييل ──────────────────────────────────────────── */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255,255,255,0.78); }
.footer-main { padding-block: 64px 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px;
}
.footer-logo { width: 170px; margin-bottom: 18px; }
.footer-col-title {
  font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700;
  color: var(--white); margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer-col-title::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 34px; height: 2px; background: var(--gold);
}
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,0.74); font-size: var(--fs-xs); }
.footer-links a:hover { color: var(--gold-light); padding-inline-start: 5px; }
.footer-about { font-size: var(--fs-xs); line-height: 2; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-icon {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: rgba(226,135,20,0.14); color: var(--gold-light); font-size: 0.9rem;
}
.footer-contact-text { font-size: var(--fs-xs); line-height: 1.8; }
.footer-contact-text a { color: rgba(255,255,255,0.82); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8);
  transition: var(--t-fast);
}
.footer-social a:hover { background: var(--gold); color: #1A1405; }

.footer-col-toggle { display: none; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 20px; font-size: var(--fs-xs);
}
.footer-bar-inner {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal-links a { color: rgba(255,255,255,0.66); }
.footer-legal-links a:hover { color: var(--gold-light); }

/* ── 14. زر العودة لأعلى ──────────────────────────────────── */
.scroll-top {
  position: fixed; inset-block-end: 26px; inset-inline-end: 26px;
  z-index: var(--z-top);
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: #1A1405;
  display: grid; place-items: center;
  box-shadow: var(--shadow-gold);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: var(--t-mid);
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ── 15. النموذج المنبثق والنماذج ─────────────────────────── */
.z-modal {
  position: fixed; inset: 0; z-index: 1055;
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(10,54,96,0.62); backdrop-filter: blur(3px);
}
.z-modal.is-open { display: flex; }
.z-modal-dialog {
  width: min(980px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); position: relative;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
}
.z-modal-side {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: rgba(255,255,255,0.85); padding: 34px 30px;
  border-start-start-radius: var(--radius-lg); border-end-start-radius: var(--radius-lg);
}
.z-modal-side h3 { color: var(--white); font-size: var(--fs-lg); }
.z-modal-side ul { margin-top: 20px; }
.z-modal-side li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); margin-bottom: 12px; }
.z-modal-side li i { color: var(--gold-light); }
.z-modal-body { padding: 30px; }
.z-modal-close {
  position: absolute; inset-block-start: 12px; inset-inline-end: 14px;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ivory-deep); color: var(--navy-deep); font-size: 1rem;
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: var(--fs-xs); font-weight: 700; color: var(--navy-deep); }
.form-control, .form-select {
  width: 100%; padding: 12px 15px;
  font-family: var(--font-body); font-size: var(--fs-xs); color: var(--text-dark);
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); transition: var(--t-fast);
}
.form-control:focus, .form-select:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226,135,20,0.14);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 130px; resize: vertical; }

.is-invalid { border-color: #B3261E !important; }
.invalid-feedback { display: none; font-size: 0.82rem; color: #B3261E; }
.is-invalid ~ .invalid-feedback { display: block; }

.form-success, .form-alert {
  display: none; padding: 13px 16px; border-radius: var(--radius);
  font-size: var(--fs-xs); font-weight: 600; margin-top: 14px;
}
.form-success { background: #E7F4ED; color: #1B5E3F; border: 1px solid #B7DFC9; }
.form-alert   { background: #FDECEA; color: #9F2B22; border: 1px solid #F3C2BC; }
.form-success.is-shown, .form-alert.is-shown { display: block; }

.contact-form-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm);
}

/* ── 16. أدوات مساعدة ─────────────────────────────────────── */
.row-center { display: flex; justify-content: center; }
.mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 3rem; }
.is-cms-hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── 17. قسم من نحن ───────────────────────────────────────── */
.about-layout {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 46px; align-items: center;
}
.about-media img { width: 100%; border-radius: var(--radius-lg); }
.about-points { margin-top: 22px; }
.about-points li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: var(--fs-sm); margin-bottom: 11px;
}
.about-points li i {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 4px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold-dark); font-size: 0.7rem;
}

/* ── 18. آلية العمل ───────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step { position: relative; padding: 30px 22px; text-align: center; }
.process-num {
  width: 54px; height: 54px; margin: 0 auto 16px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
}
.process-step h5 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: var(--fs-xs); color: var(--text-muted); margin: 0; }

/* ── 19. تصنيفات الخدمات ──────────────────────────────────── */
.cat-block { margin-bottom: 58px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.cat-head .diamond { flex: 0 0 8px; }
.cat-head h3 { margin: 0; font-size: var(--fs-lg); color: var(--navy-deep); }
.cat-head::after { content: ''; flex: 1; height: 1px; background: var(--border-light); }

/* ── 20. القيم والخط الزمني ───────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  padding: 30px 24px; border: 1px solid var(--border-light);
  border-radius: var(--radius-md); background: var(--white); text-align: center;
}
.value-card i { font-size: 1.5rem; color: var(--gold); margin-bottom: 14px; display: block; }
.value-card h5 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; margin-bottom: 7px; }
.value-card p { font-size: var(--fs-xs); color: var(--text-muted); margin: 0; }

.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-block: 10px; }
.timeline::before {
  content: ''; position: absolute; inset-block: 0; inset-inline-start: 50%;
  width: 1px; background: var(--border-light);
}
.timeline-item { position: relative; width: 50%; padding: 0 34px 34px; }
.timeline-item:nth-child(odd) { margin-inline-start: 0; text-align: end; }
.timeline-item:nth-child(even) { margin-inline-start: 50%; text-align: start; }
.timeline-dot {
  position: absolute; top: 6px; width: 13px; height: 13px;
  background: var(--gold); transform: rotate(45deg);
}
.timeline-item:nth-child(odd) .timeline-dot { inset-inline-end: -7px; }
.timeline-item:nth-child(even) .timeline-dot { inset-inline-start: -7px; }
.timeline-year { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); font-weight: 700; }
.timeline-item p { font-size: var(--fs-xs); color: var(--text-muted); margin: 4px 0 0; }

/* ── 21. الشركاء ──────────────────────────────────────────── */
.partners-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.partner-item {
  display: grid; place-items: center; padding: 22px 16px;
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); transition: var(--t-mid);
}
.partner-item:hover { border-color: var(--border-gold); box-shadow: var(--shadow-sm); }
.partner-item img { max-height: 62px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: var(--t-mid); }
.partner-item:hover img { filter: none; opacity: 1; }

/* ── 22. شبكة الأعمال ─────────────────────────────────────── */
.projects-filter { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 34px; }
.filter-btn {
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--border-light);
  color: var(--text-mid); font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 600; transition: var(--t-fast);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.project-item {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--radius-md); background: var(--ivory-deep);
}
.project-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--t-slow); }
.project-item:hover img { transform: scale(1.07); }
.project-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: 16px; opacity: 0; transition: var(--t-mid);
  background: linear-gradient(180deg, rgba(10,54,96,0) 40%, rgba(10,54,96,0.88) 100%);
}
.project-item:hover .project-overlay { opacity: 1; }
.project-overlay span { color: var(--white); font-size: var(--fs-xs); font-weight: 600; }
.project-item.is-hidden { display: none; }

/* ── 23. قنوات التواصل والخريطة ───────────────────────────── */
.channels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.channel-card {
  text-align: center; padding: 30px 20px; background: var(--white);
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  transition: var(--t-mid);
}
.channel-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.channel-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--gold-light); font-size: 1.15rem;
}
.channel-card h5 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; margin-bottom: 6px; }
.channel-card p, .channel-card a { font-size: var(--fs-xs); color: var(--text-muted); margin: 0; }
.channel-card a:hover { color: var(--gold-dark); }

.map-frame {
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  overflow: hidden; height: 420px; box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── 24. المحتوى القانوني ─────────────────────────────────── */
.legal-body { max-width: 76ch; margin-inline: auto; }
.legal-body h2 { font-size: 1.45rem; margin-top: 38px; }
.legal-body h3 { font-family: var(--font-body); font-size: var(--fs-md); margin-top: 26px; }
.legal-body ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 16px; }
.legal-body li { margin-bottom: 8px; }
.legal-updated { font-size: var(--fs-xs); color: var(--text-muted); padding-bottom: 18px; border-bottom: 1px solid var(--border-light); }

/* استجابة الأقسام الإضافية */
@media (max-width: 991.98px) {
  .about-layout { grid-template-columns: 1fr; gap: 30px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid  { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { inset-inline-start: 8px; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%; margin-inline-start: 0; text-align: start;
    padding-inline: 32px 0;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { inset-inline-start: 2px; }
}
@media (max-width: 575.98px) {
  .process-grid, .values-grid, .channels-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .map-frame { height: 300px; }
}

/* ── 25. صفحة تفاصيل الخدمة ───────────────────────────────── */
.srv-detail-layout { display: grid; grid-template-columns: 1.6fr 0.8fr; gap: 38px; align-items: start; }
.srv-detail-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 24px; }
.srv-detail-desc { font-size: var(--fs-md); line-height: 2; }
.srv-detail-price { font-size: var(--fs-md); font-weight: 700; color: var(--gold-dark); margin-top: 14px; }
.srv-detail-side {
  background: var(--ivory); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 24px; position: sticky; top: 110px;
}
.srv-detail-side h3 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; margin-bottom: 14px; }
.srv-detail-list li { border-bottom: 1px dashed var(--border-light); }
.srv-detail-list li:last-child { border-bottom: 0; }
.srv-detail-list a { display: block; padding: 9px 0; font-size: var(--fs-xs); color: var(--text-mid); }
.srv-detail-list a:hover { color: var(--gold-dark); padding-inline-start: 5px; }
.srv-detail-list li.is-current a { color: var(--navy); font-weight: 700; }
.srv-gallery-wrap .section-title { font-size: 1.5rem; margin-bottom: 22px; }

@media (max-width: 991.98px) {
  .srv-detail-layout { grid-template-columns: 1fr; }
  .srv-detail-side { position: static; }
}

/* ── 26. انعكاس الأيقونات الاتجاهية في الوضع الإنجليزي ──── */
body.ltr .fa-arrow-left,
body.ltr .fa-angle-left,
body.ltr .fa-arrow-right { transform: scaleX(-1); }
body.ltr .footer-links a:hover,
body.ltr .srv-detail-list a:hover { padding-inline-start: 5px; }

/* ── 27. سطر المصمّم في التذييل ─────────────────────────── */
.footer-credit {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-xs); color: rgba(255,255,255,0.6);
}
.footer-credit-link {
  color: var(--gold-light); font-weight: 700;
  font-family: var(--font-display); letter-spacing: 0.06em;
  border-bottom: 1px solid transparent; transition: var(--t-fast);
}
.footer-credit-link[href]:hover { border-bottom-color: var(--gold-light); }
.footer-credit-link[aria-disabled] { cursor: default; color: rgba(255,255,255,0.82); }
