/* ============================================================
   رواف القابضة للاستثمار — نظام التصميم
   أساس كريمي فاتح فاخر · لمسة ذهبية · الكحلي لمسةً لا خلفيةً للموقع
   مبني على نظام تصميم darredc.com الحيّ ومكيَّف على هوية القابضة.
   قاعدة إلزامية: لا letter-spacing موجب على العربي · لا خط مائل.
   ============================================================ */

:root {
  /* ---------- الأسطح الفاتحة (أساس هوية المجموعة — غير قابل للتفاوض) ---------- */
  --white:   #FFFFFF;
  --cream:   #FCFAF4;   /* أساس الصفحة */
  --cream-2: #F7F3EC;   /* كريمي ناعم */
  --sand:    #F0E9DC;   /* رملي دافئ */
  --sand-2:  #E5DBC8;

  /* ---------- الذهبي (لون العلامة) ---------- */
  --gold:       #C0A065;
  --gold-2:     #D7BE8A;
  --gold-deep:  #997A39;
  --gold-ink:   #876A30;   /* أدكن درجة — يحقّق تباين AA للنص الصغير على الكريمي */
  --gold-soft:  rgba(192, 160, 101, 0.10);
  --gold-soft2: rgba(192, 160, 101, 0.18);
  --gold-line:  rgba(192, 160, 101, 0.30);

  /* ---------- الكحلي (ثانوي — الهيرو والعناوين وسطح داكن واحد كحدّ أقصى) ---------- */
  --navy:    #1C2E4A;
  --navy-2:  #16253C;
  --navy-3:  #0F1B2C;
  --navy-up: #263D61;

  /* ---------- النصوص والخطوط الفاصلة ---------- */
  --ink:      #1C2E4A;
  --ink-2:    #3B4A61;
  --ink-soft: #5C6A80;
  --line:     rgba(28, 46, 74, 0.10);
  --line-2:   rgba(28, 46, 74, 0.06);

  /* ---------- الظلال ---------- */
  --shadow-xs: 0 1px 3px rgba(28, 46, 74, 0.05);
  --shadow-sm: 0 6px 24px -10px rgba(28, 46, 74, 0.16);
  --shadow:    0 24px 60px -24px rgba(28, 46, 74, 0.24);
  --shadow-lg: 0 44px 90px -34px rgba(28, 46, 74, 0.32);
  --shadow-gold: 0 20px 46px -20px rgba(192, 160, 101, 0.55);

  /* ---------- القياسات ---------- */
  --container:  1260px;
  --gutter:     clamp(20px, 5vw, 60px);
  --radius:     22px;
  --radius-sm:  14px;
  --radius-lg:  32px;
  --arch: 50% 50% 14px 14px / 38% 38% 14px 14px;   /* قوس معماري علوي */

  --font-serif: "Thmanyah Serif", "Times New Roman", serif;
  --font-sans:  "Thmanyah Sans", system-ui, "Segoe UI", Tahoma, sans-serif;

  --accent: var(--gold);
  --accent-soft: var(--gold-soft);
  --accent-deep: var(--gold-deep);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   إعادة الضبط
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink-2);
  line-height: 1.85;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -0.01em;   /* سالب فقط وعلى العناوين — لا تباعد موجب على العربي */
}
h4, h5 { letter-spacing: 0; }
strong, b { font-weight: 700; }
/* ممنوع الخط المائل نهائياً (قرار عميل) */
i, em, address, cite, dfn, var { font-style: normal; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-block-start: -70px; inset-inline-start: 18px; z-index: 300;
  background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 0 0 14px 14px;
  font-weight: 700; transition: inset-block-start .3s var(--ease);
}
.skip-link:focus { inset-block-start: 0; }

/* أرقام لاتينية داخل نص عربي (هواتف، سنوات، مؤشرات) */
.num-lat { direction: ltr; unicode-bidi: isolate; font-feature-settings: "tnum"; }

/* ============================================================
   المساعدات والتخطيط
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding-block: clamp(68px, 8.5vw, 132px); position: relative; }
.section--tight { padding-block: clamp(44px, 5vw, 74px); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--soft  { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.section--sand  { background: linear-gradient(180deg, var(--cream-2), var(--sand)); }
/* السطح الداكن الوحيد المسموح في الصفحة (شريط مؤشرات مثلاً) */
.section--navy, .section--darker {
  background: linear-gradient(160deg, var(--navy-up), var(--navy) 55%, var(--navy-2));
  color: rgba(255, 255, 255, 0.86);
}
.section--navy h2, .section--navy h3, .section--navy .sec-head__title,
.section--darker h2, .section--darker h3, .section--darker .sec-head__title { color: #fff; }
.section--navy p, .section--navy .sec-head__lead,
.section--darker p, .section--darker .sec-head__lead { color: rgba(255, 255, 255, 0.78); }
.rule-top { border-block-start: 1px solid var(--line); }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.9vw, 26px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* زخارف ناعمة */
.orb {
  position: absolute; border-radius: 50%; filter: blur(64px); opacity: .5; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(192, 160, 101, .45), transparent 70%);
}
.dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--gold-line) 1.2px, transparent 1.2px);
  background-size: 30px 30px; opacity: .5;
}

/* ============================================================
   رأس القسم — eyebrow ذهبي بخطين + عنوان سيريف ضخم + فقرة
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  color: var(--gold-ink); margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: clamp(24px, 4.5vw, 46px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center::after,
.sec-head--center .eyebrow::after,
.page-hero--center .eyebrow::after {
  content: ""; width: clamp(24px, 4.5vw, 46px); height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.sec-head { margin-bottom: clamp(38px, 5vw, 68px); }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .sec-head__lead { margin-inline: auto; }
.sec-head--center .ornament-divider { margin-inline: auto; }
.sec-head__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px;
}
.sec-head__title .accent { color: var(--gold); }
.sec-head__lead {
  max-width: 66ch; color: var(--ink-2);
  font-size: clamp(16px, 1.9vw, 19px); line-height: 1.95;
}
.sec-head__action { margin-top: 20px; display: inline-flex; }
.sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.sec-head--split .sec-head__action { margin-top: 0; }

/* توافق مع تسميات المرجع */
.section-head { margin-bottom: clamp(38px, 5vw, 68px); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-family: var(--font-serif); font-size: clamp(30px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.section-title .accent { color: var(--gold); }
.section-lead { max-width: 66ch; color: var(--ink-2); font-size: clamp(16px, 1.9vw, 19px); line-height: 1.95; }

/* ============================================================
   الزخرفة الماسية والفواصل
   ============================================================ */
.ornament-divider { display: flex; align-items: center; justify-content: center; margin: 26px 0; }
.ornament-divider::before, .ornament-divider::after {
  content: ""; height: 1px; width: clamp(52px, 11vw, 104px);
  background: linear-gradient(90deg, transparent, var(--gold-line));
}
.ornament-divider::after { background: linear-gradient(90deg, var(--gold-line), transparent); }
.ornament-icon { color: var(--gold); margin: 0 18px; display: flex; }
.ornament-icon svg { width: 13px; height: 13px; }
.ornament-divider--light::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4)); }
.ornament-divider--light::after  { background: linear-gradient(90deg, rgba(255, 255, 255, .4), transparent); }
.ornament-divider--light .ornament-icon { color: var(--gold-2); }

/* ============================================================
   الأزرار
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15.5px;
  padding: 16px 34px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; overflow: hidden; white-space: nowrap; z-index: 1;
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease),
              transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn .ic { width: 18px; height: 18px; position: relative; z-index: 1; transition: transform .4s var(--ease); }
.btn > span, .btn > svg { position: relative; z-index: 1; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease);
}
.btn:hover .ic { transform: translateX(-5px); }

.btn-primary, .btn--gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: #fff; box-shadow: var(--shadow-gold);
}
.btn-primary::after, .btn--gold::after { background: linear-gradient(120deg, var(--gold-deep), var(--gold-ink)); }
.btn-primary:hover, .btn--gold:hover { transform: translateY(-3px); box-shadow: 0 28px 60px -22px rgba(192, 160, 101, .68); }
.btn-primary:hover::after, .btn--gold:hover::after { transform: scaleX(1); }

.btn-outline, .btn--outline { background: transparent; color: var(--ink); border-color: var(--gold-line); }
.btn-outline::after, .btn--outline::after { background: var(--gold); }
.btn-outline:hover, .btn--outline:hover { color: #fff; border-color: var(--gold); transform: translateY(-3px); }
.btn-outline:hover::after, .btn--outline:hover::after { transform: scaleX(1); }

.btn-navy, .btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy::after, .btn--navy::after { background: var(--gold); }
.btn-navy:hover, .btn--navy:hover { color: #fff; border-color: var(--gold); transform: translateY(-3px); }
.btn-navy:hover::after, .btn--navy:hover::after { transform: scaleX(1); }

.btn-ghost, .btn--ghost { background: var(--gold-soft); color: var(--gold-ink); }
.btn-ghost::after, .btn--ghost::after { background: var(--gold); }
.btn-ghost:hover, .btn--ghost:hover { color: #fff; }
.btn-ghost:hover::after, .btn--ghost:hover::after { transform: scaleX(1); }

.btn-light, .btn--light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light::after, .btn--light::after { background: var(--gold); }
.btn-light:hover, .btn--light:hover { color: #fff; transform: translateY(-3px); }
.btn-light:hover::after, .btn--light:hover::after { transform: scaleX(1); }

/* زر outline أبيض — للأسطح الكحلية فقط (هيرو الشركة) */
.btn-on-dark, .btn--on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-on-dark::after, .btn--on-dark::after { background: #fff; }
.btn-on-dark:hover, .btn--on-dark:hover { color: var(--navy); border-color: #fff; transform: translateY(-3px); }
.btn-on-dark:hover::after, .btn--on-dark:hover::after { transform: scaleX(1); }

/* على الأسطح الكحلية الداكنة يتحوّل زر outline تلقائياً إلى الصيغة البيضاء */
.hero .btn-outline, .hero .btn--outline,
.section--navy .btn-outline, .section--navy .btn--outline,
.section--darker .btn-outline, .section--darker .btn--outline,
.section--dark .btn-outline, .section--dark .btn--outline {
  color: #fff; border-color: rgba(255, 255, 255, .45);
}
.hero .btn-outline::after, .hero .btn--outline::after,
.section--navy .btn-outline::after, .section--navy .btn--outline::after,
.section--darker .btn-outline::after, .section--darker .btn--outline::after,
.section--dark .btn-outline::after, .section--dark .btn--outline::after { background: #fff; }
.hero .btn-outline:hover, .hero .btn--outline:hover,
.section--navy .btn-outline:hover, .section--navy .btn--outline:hover,
.section--darker .btn-outline:hover, .section--darker .btn--outline:hover,
.section--dark .btn-outline:hover, .section--dark .btn--outline:hover { color: var(--navy); border-color: #fff; }

.btn-sm, .btn--sm { padding: 12px 24px; font-size: 14.5px; }
.btn-lg, .btn--lg { padding: 19px 42px; font-size: 16.5px; }
.btn-block, .btn--block { width: 100%; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

.link-arrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--gold-ink); }
.link-arrow .ic { width: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--gold-deep); }
.link-arrow:hover .ic { transform: translateX(-6px); }

/* ============================================================
   الترويسة — كبسولة زجاجية عائمة
   ============================================================ */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  padding: 18px var(--gutter); transition: padding .45s var(--ease);
}
.site-header.scrolled { padding-block: 10px; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: var(--container); margin-inline: auto; width: 100%;
  padding-block: 9px; padding-inline-start: 24px; padding-inline-end: 11px;
  /* كريمي شبه شفاف: يبقى زجاجياً فوق الأسطح الفاتحة ويظلّ مقروءاً فوق الهيرو الكحلي */
  background: rgba(252, 250, 244, 0.86);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: 0 14px 44px -28px rgba(28, 46, 74, 0.45);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled .site-header__inner {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--gold-line);
  box-shadow: 0 18px 52px -26px rgba(28, 46, 74, 0.5);
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { height: 58px; width: auto; object-fit: contain; transition: height .4s var(--ease); }
.site-header.scrolled .brand__logo { height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 18px; color: var(--navy); }
.brand__tag { font-size: 12.5px; color: var(--gold-ink); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link {
  font-weight: 500; font-size: 15.5px; color: var(--ink-2);
  padding: 10px 16px; border-radius: 100px; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; inset-block-end: 5px; inset-inline-start: 50%;
  width: 0; height: 2px; background: var(--gold);
  transform: translateX(50%); transition: width .35s var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after, .nav__link.is-active::after { width: 22px; }
.nav__link.is-active { color: var(--gold-ink); font-weight: 700; }

.header-cta { flex-shrink: 0; box-shadow: 0 8px 22px -12px rgba(192, 160, 101, .85); }
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 13px 30px -12px rgba(192, 160, 101, .85); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 100px; color: var(--navy);
  align-items: center; justify-content: center; border: 1px solid var(--line); flex-shrink: 0;
}
.nav-toggle .ic { width: 22px; height: 22px; }

/* شريط تقدّم القراءة */
.scroll-progress {
  position: absolute; inset-block-start: 0; inset-inline: 0; height: 2px;
  z-index: 110; pointer-events: none; background: transparent;
}
.scroll-progress__bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }

/* ---------- قائمة الجوال ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.mobile-nav__overlay {
  position: absolute; inset: 0; background: rgba(28, 46, 74, .42);
  opacity: 0; transition: opacity .4s var(--ease); backdrop-filter: blur(2px);
}
.mobile-nav__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(380px, 88vw);
  background: var(--cream); padding: 28px 26px; box-shadow: var(--shadow-lg);
  transform: translateX(-100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-nav.open { visibility: visible; pointer-events: auto; }
.mobile-nav.open .mobile-nav__overlay { opacity: 1; }
.mobile-nav.open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mobile-nav__head img { height: 46px; width: auto; object-fit: contain; }
.mobile-nav__close {
  width: 44px; height: 44px; border-radius: 100px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0;
}
.mobile-nav__close .ic { width: 20px; }
.m-link {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 12px; border-radius: 14px; font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--line-2); color: var(--ink-2);
  transition: background .3s var(--ease), color .3s var(--ease), padding .3s var(--ease);
}
.m-link:hover, .m-link.is-active { background: var(--gold-soft); color: var(--gold-ink); padding-inline-start: 20px; }
.m-link__idx { font-family: var(--font-serif); font-size: 13px; color: var(--gold); opacity: .8; }
.mobile-nav__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }

/* ============================================================
   شريط التواصل العمودي الثابت (يسار الشاشة في RTL)
   ============================================================ */
.social-rail {
  position: fixed; inset-block-start: 50%; inset-inline-end: 0; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  /* التدوير على الجهة الداخلية فقط (المنطقية) — الجهة الخارجية ملاصقة لحافة الشاشة */
  border-radius: 0;
  border-start-start-radius: 16px; border-end-start-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden; border: 1px solid var(--line-2); border-inline-end: 0;
}
.social-rail a {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: background .3s var(--ease), color .3s var(--ease);
}
.social-rail a:hover { background: var(--gold); color: #fff; }
.social-rail .social-ic { width: 19px; height: 19px; }

/* ============================================================
   الهيرو — كحلي بلمسة ذهبية (الصفحة الرئيسية)
   ============================================================ */
.hero {
  position: relative; min-height: 92svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  /* يكفي لتجاوز الترويسة العائمة ويُبقي الهيرو كاملاً داخل نافذة ٩٠٠px */
  padding-block: clamp(126px, 12.5vw, 168px) clamp(70px, 7vw, 96px);
  overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(165deg, var(--navy-up) 0%, var(--navy) 48%, var(--navy-3) 100%);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
/* الوسائط لمسة عمق خافتة فقط — التدرّج الكحلي النظيف هو السطح كما في المرجع */
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: .09; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 62% 20%, rgba(60, 90, 134, .40), rgba(28, 46, 74, 0) 60%),
    linear-gradient(158deg, rgba(38, 61, 97, .78) 0%, rgba(28, 46, 74, .88) 46%, rgba(15, 27, 44, .96) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .3;
  background-image: radial-gradient(rgba(192, 160, 101, .42) 1.1px, transparent 1.1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at 50% 34%, #000, transparent 66%);
  mask-image: radial-gradient(circle at 50% 34%, #000, transparent 66%);
}
/* القوس المعماري الضخم الخافت خلف العنوان */
.hero__arch {
  position: absolute; inset-block-start: clamp(112px, 15vw, 168px); left: 50%;
  transform: translateX(-50%); width: min(640px, 86vw); height: min(560px, 62vh);
  border: 1.5px solid rgba(192, 160, 101, .34); border-bottom: 0;
  border-radius: 50% 50% 0 0 / 62% 62% 0 0; opacity: .85; z-index: 1; pointer-events: none;
}
.hero__arch::before {
  content: ""; position: absolute; inset: 26px 26px 0;
  border: 1px solid rgba(192, 160, 101, .22); border-bottom: 0; border-radius: inherit;
}
/* الإطار الذهبي الرفيع بزوايا مزخرفة */
.hero__frame {
  position: absolute; inset: clamp(16px, 3.2vw, 48px); z-index: 2; pointer-events: none;
  border: 1px solid rgba(192, 160, 101, .30);
}
.hero__frame-corner { position: absolute; width: 44px; height: 44px; border: 1.5px solid var(--gold); }
.hero__frame-corner.tl { inset-block-start: -1px; inset-inline-start: -1px; border-inline-end: 0; border-block-end: 0; }
.hero__frame-corner.tr { inset-block-start: -1px; inset-inline-end: -1px; border-inline-start: 0; border-block-end: 0; }
.hero__frame-corner.bl { inset-block-end: -1px; inset-inline-start: -1px; border-inline-end: 0; border-block-start: 0; }
.hero__frame-corner.br { inset-block-end: -1px; inset-inline-end: -1px; border-inline-start: 0; border-block-start: 0; }
.hero__frame-orn {
  position: absolute; inset-inline-start: 50%; transform: translateX(50%);
  color: var(--gold); display: flex; padding: 0 10px;
}
.hero__frame-orn.top    { inset-block-start: -8px; }
.hero__frame-orn.bottom { inset-block-end: -8px; }
.hero__frame-orn svg { width: 13px; height: 13px; }

.hero .container, .hero__inner { position: relative; z-index: 3; }
.hero__inner { max-width: 940px; margin-inline: auto; }

/* شعار الشركة داخل بطاقة بيضاء فوق العنوان */
.hero__logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 22px;
  padding: clamp(14px, 1.7vw, 22px) clamp(20px, 2.6vw, 32px);
  box-shadow: 0 24px 56px -26px rgba(0, 0, 0, .55);
  margin-bottom: clamp(18px, 2.2vw, 26px);
}
.hero__logo img { max-height: clamp(70px, 7.4vw, 96px); max-width: min(266px, 74vw); width: auto; object-fit: contain; }

/* eyebrow الهيرو بخطين جانبيين */
.hero__kicker, .hero .eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  color: var(--gold-2); margin-bottom: 20px;
}
.hero__kicker::before, .hero__kicker::after,
.hero .eyebrow::before, .hero .eyebrow::after {
  content: ""; width: clamp(24px, 4.5vw, 48px); height: 1px;
}
.hero__kicker::before, .hero .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.hero__kicker::after,  .hero .eyebrow::after  { background: linear-gradient(90deg, var(--gold), transparent); }

.hero__title, .hero h1 {
  font-family: var(--font-serif); font-weight: 800; color: #fff;
  font-size: clamp(38px, 5.4vw, 76px); line-height: 1.15; letter-spacing: -0.03em;
  margin-bottom: 20px; padding-bottom: 2px;
}
.hero__title .line, .hero h1 .line { display: block; }
.hero__title .gold, .hero h1 .gold, .hero__title .accent, .hero h1 .accent { color: var(--gold-2); }
.hero__sub {
  font-size: clamp(16.5px, 2vw, 21px); color: rgba(255, 255, 255, .82);
  max-width: 620px; margin-inline: auto; line-height: 1.9; font-weight: 300;
}
.hero__tagline {
  font-family: var(--font-serif); font-size: clamp(18px, 2.2vw, 26px);
  color: var(--gold-2); margin-top: 20px;
}
.hero__actions, .hero__cta {
  display: flex; flex-wrap: wrap; gap: 15px; justify-content: center;
  margin-top: clamp(30px, 3.6vw, 44px);
}

/* شريط إحصاءات بفواصل رأسية */
.hero__stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(26px, 5vw, 68px); margin-top: clamp(42px, 5.5vw, 68px);
}
.hero__stat { position: relative; text-align: center; }
.hero__stat::after {
  content: ""; position: absolute; inset-block: 10%;
  inset-inline-start: calc(-1 * clamp(13px, 2.5vw, 34px)); width: 1px; background: rgba(192, 160, 101, .4);
}
.hero__stat:first-child::after { display: none; }
.hero__stat b {
  font-family: var(--font-serif); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px);
  color: var(--gold-2); display: block; line-height: 1; direction: ltr; unicode-bidi: isolate;
}
.hero__stat span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* «اكتشف» أسفل الهيرو */
.hero__scroll {
  position: absolute; inset-block-end: 24px; inset-inline-start: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255, 255, 255, .66); font-size: 12.5px; font-weight: 600;
}
.hero__scroll .l { width: 1.5px; height: 44px; background: rgba(192, 160, 101, .35); position: relative; overflow: hidden; }
.hero__scroll .l::after {
  content: ""; position: absolute; inset-inline: 0; height: 14px; background: var(--gold);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot { 0% { top: -14px; } 100% { top: 44px; } }

/* زر إيقاف/تشغيل فيديو الهيرو */
.hero__mute {
  /* داخل الإطار الذهبي لا فوق زاويته */
  position: absolute; inset-block-end: clamp(30px, 4.6vw, 70px); inset-inline-end: clamp(30px, 4.6vw, 70px); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.hero__mute:hover { background: rgba(255, 255, 255, .26); border-color: var(--gold); }
.hero__mute .ic { width: 18px; height: 18px; }
.hero__mute .hero__mute-play { display: none; }
.hero__mute.is-paused .hero__mute-play { display: flex; }
.hero__mute.is-paused .hero__mute-pause { display: none; }

/* حركة دخول الهيرو (تعمل فقط مع جافاسكربت) */
.js .hero__logo, .js .hero__kicker, .js .hero .eyebrow, .js .hero__title, .js .hero h1,
.js .hero__sub, .js .hero__tagline, .js .hero__actions, .js .hero__cta,
.js .hero__stats, .js .hero .ornament-divider, .js .hero__frame {
  opacity: 0; transform: translateY(24px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
.js .hero__frame { transform: none; }
.js .hero.in .hero__logo, .js .hero.in .hero__kicker, .js .hero.in .eyebrow, .js .hero.in .hero__title,
.js .hero.in h1, .js .hero.in .hero__sub, .js .hero.in .hero__tagline, .js .hero.in .hero__actions,
.js .hero.in .hero__cta, .js .hero.in .hero__stats, .js .hero.in .ornament-divider,
.js .hero.in .hero__frame { opacity: 1; transform: none; }
.js .hero.in .hero__kicker, .js .hero.in .eyebrow { transition-delay: .08s; }
.js .hero.in .hero__title, .js .hero.in h1 { transition-delay: .18s; }
.js .hero.in .ornament-divider { transition-delay: .28s; }
.js .hero.in .hero__sub        { transition-delay: .34s; }
.js .hero.in .hero__tagline    { transition-delay: .40s; }
.js .hero.in .hero__actions, .js .hero.in .hero__cta { transition-delay: .48s; }
.js .hero.in .hero__stats      { transition-delay: .58s; }
.js .hero.in .hero__frame      { transition-delay: .20s; }

/* ============================================================
   واجهة الصفحات الداخلية (كريمية فاتحة — لا تتلوّن)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(148px, 16vw, 200px) clamp(52px, 6.5vw, 88px);
  background: linear-gradient(160deg, var(--white), var(--cream) 55%, var(--cream-2));
}
.page-hero__orb { inset-block-start: -180px; inset-inline-end: -140px; width: 540px; height: 540px; opacity: .35; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { max-width: 860px; }
.page-hero--center .page-hero__inner { max-width: 780px; margin-inline: auto; text-align: center; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .crumbs { justify-content: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .ornament-divider { margin-inline: auto; }
.page-hero__title {
  font-family: var(--font-serif); font-weight: 800; color: var(--ink);
  font-size: clamp(36px, 5.8vw, 74px); line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 20px;
}
.page-hero__title .accent { color: var(--gold); }
.page-hero__lead { font-size: clamp(16.5px, 2vw, 20px); color: var(--ink-2); line-height: 1.9; max-width: 66ch; }

/* فتات الخبز */
.crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 14px; color: var(--ink-soft); margin-bottom: 22px;
}
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "\2044"; color: var(--gold); opacity: .55; font-size: 13px; }
.crumbs a:hover { color: var(--gold-ink); }
.crumbs [aria-current="page"] { color: var(--ink-2); font-weight: 600; }

/* ============================================================
   البطاقات — بيضاء، حواف مستديرة، ظل خفيف، أيقونة في مربّع كريمي
   ============================================================ */
.card {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-xs); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-sm); border-color: var(--gold-line); }
.card::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.card:hover::after { transform: scaleX(1); }
.card__idx { font-family: var(--font-serif); font-weight: 800; font-size: 16px; color: var(--gold); opacity: .55; }
.card__icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--cream-2); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  margin: 16px 0 20px;
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.card__icon .ic { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--gold); color: #fff; }
.card__title { font-size: clamp(20px, 2.1vw, 24px); margin-bottom: 12px; }
.card__text { color: var(--ink-soft); font-size: 15.5px; line-height: 1.9; flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-weight: 700; font-size: 15px; color: var(--gold-ink); }
.card__link .ic { width: 17px; transition: transform .35s var(--ease); }
.card:hover .card__link .ic { transform: translateX(-6px); }
.card--flat { box-shadow: none; }
.card--flat::after { display: none; }
/* بطاقة الرؤية/الرسالة — أوسع وأهدأ، بأيقونة مقوّسة */
.card--vm { padding: clamp(30px, 3.4vw, 46px); }
.card--vm .card__icon { border-radius: 50% 50% 16px 16px; }
.card--vm .card__title { font-size: clamp(22px, 2.3vw, 27px); }
.card--vm .card__text { font-size: 16px; line-height: 2; }

/* ============================================================
   المؤشرات
   ============================================================ */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 44px); }
.stat { text-align: center; position: relative; }
.stat::after {
  content: ""; position: absolute; inset-block: 16%;
  inset-inline-start: calc(-1 * clamp(9px, 1.5vw, 22px)); width: 1px; background: var(--line);
}
.stat:first-child::after { display: none; }
.section--navy .stat::after, .section--darker .stat::after { background: rgba(255, 255, 255, .16); }
.stat__ic { width: 26px; height: 26px; color: var(--gold); margin: 0 auto 12px; }
.section--navy .stat__ic, .section--darker .stat__ic { color: var(--gold-2); }
.stat__num {
  font-family: var(--font-serif); font-weight: 800; color: var(--gold);
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1; letter-spacing: -0.02em;
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
}
.section--navy .stat__num, .section--darker .stat__num { color: var(--gold-2); }
.stat__affix { font-size: .48em; font-weight: 700; color: var(--gold-deep); }
.section--navy .stat__affix, .section--darker .stat__affix { color: var(--gold-2); }
.stat__label { color: var(--ink-soft); font-size: 14.5px; margin-top: 12px; font-weight: 500; }
.section--navy .stat__label, .section--darker .stat__label { color: rgba(255, 255, 255, .72); }

/* ============================================================
   النماذج
   ============================================================ */
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(28px, 4.4vw, 52px); box-shadow: var(--shadow); border: 1px solid var(--line-2);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 22px; }
.field { margin-bottom: 22px; }
.field--full { grid-column: 1 / -1; }
.field__label { display: block; font-weight: 600; margin-bottom: 9px; font-size: 15.5px; color: var(--ink); }
.field__req { color: #C0392B; }
.field__hint { font-size: 13.5px; color: var(--ink-soft); margin-top: 7px; }
.field__err { color: #A33328; font-size: 13.5px; margin-top: 7px; }
.input, .textarea, .select {
  width: 100%; padding: 15px 18px; border-radius: 15px;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  font-size: 16px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px var(--gold-soft);
}
.textarea { resize: vertical; min-height: 130px; line-height: 1.85; }
.select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: left 20px top 55%, left 15px top 55%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
[aria-invalid="true"] { border-color: #C0392B; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* رسائل الحالة */
.alert {
  padding: 16px 20px; border-radius: 15px; margin-bottom: 22px; font-weight: 500;
  display: flex; align-items: flex-start; gap: 13px;
}
.alert .ic { width: 21px; height: 21px; flex-shrink: 0; margin-block-start: 4px; }
.alert__body { flex: 1; }
.alert ul { margin-top: 8px; display: grid; gap: 5px; font-size: 14.5px; font-weight: 400; }
.alert--ok,  .alert-success { background: rgba(76, 140, 82, .12); color: #2F6B36; border: 1px solid rgba(76, 140, 82, .30); }
.alert--err, .alert-error   { background: rgba(192, 57, 43, .10); color: #A33328; border: 1px solid rgba(192, 57, 43, .25); }
.alert--info, .alert-info   { background: var(--gold-soft); color: var(--gold-ink); border: 1px solid var(--gold-line); }

/* ============================================================
   الحالة الفارغة
   ============================================================ */
.empty {
  text-align: center; padding: clamp(40px, 6vw, 72px) clamp(22px, 4vw, 40px);
  border: 1.5px dashed var(--gold-line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), var(--cream-2));
}
.empty__ic { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 18px; opacity: .85; }
.empty__title { font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: var(--ink); }
.empty__text { color: var(--ink-soft); margin-top: 10px; font-size: 15.5px; }
.empty .btn { margin-top: 22px; }

/* ============================================================
   شريط الدعوة
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--cream-2), var(--sand));
  border-block: 1px solid var(--gold-line);
  padding-block: clamp(52px, 7vw, 96px);
}
.cta-band .orb { inset-block-start: -130px; inset-inline-end: -90px; width: 380px; height: 380px; opacity: .5; }
.cta-band__inner { position: relative; z-index: 1; text-align: center; }
.cta-band__title { font-size: clamp(28px, 4.2vw, 50px); letter-spacing: -0.02em; margin-bottom: 16px; color: var(--ink); }
.cta-band__title .accent { color: var(--gold-deep); }
.cta-band__text { color: var(--ink-2); max-width: 62ch; margin-inline: auto; font-size: clamp(16px, 1.9vw, 18.5px); line-height: 1.9; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }

/* ============================================================
   الفوتر
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--cream-2), var(--sand));
  color: var(--ink-2); padding-block: clamp(56px, 7vw, 88px) 0;
  position: relative; overflow: hidden; border-block-start: 1px solid var(--gold-line);
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1.2fr; gap: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(34px, 4vw, 50px);
}
.site-footer__brand { margin-bottom: 18px; }
.site-footer__brand img { height: 66px; width: auto; object-fit: contain; }
.site-footer__brandname { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--navy); }
.site-footer__about { line-height: 1.9; font-size: 15px; max-width: 44ch; color: var(--ink-soft); }
.f-title {
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 700;
  color: var(--navy); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 11px;
}
.f-title::before { content: ""; width: 18px; height: 1.5px; background: var(--gold); }
.f-links { display: grid; gap: 11px; }
.f-links a { font-size: 15px; color: var(--ink-2); transition: color .25s var(--ease), padding .25s var(--ease); }
.f-links a:hover { color: var(--gold-ink); padding-inline-start: 7px; }
.f-contact { display: grid; gap: 13px; font-size: 15px; }
.f-contact > div { display: flex; align-items: flex-start; gap: 12px; }
.f-contact .ic { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; margin-block-start: 5px; }
.f-contact a:hover { color: var(--gold-ink); }
.f-cr { font-size: 13.5px; color: var(--ink-soft); margin-top: 16px; }
.f-social { display: flex; gap: 11px; margin-top: 22px; flex-wrap: wrap; }
.f-social a {
  width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .72);
  display: flex; align-items: center; justify-content: center; color: var(--ink-2);
  box-shadow: var(--shadow-xs);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.f-social a:hover { background: var(--gold); color: #fff; transform: translateY(-4px); }
.f-social .social-ic { width: 19px; height: 19px; }
.site-footer__bar {
  border-block-start: 1px solid var(--gold-line); padding-block: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-soft);
}
.site-footer__tagline { font-family: var(--font-serif); color: var(--gold-ink); }

/* ============================================================
   المعرض واللايت بوكس والفيديو
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(13px, 1.5vw, 20px); }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--cream-2); aspect-ratio: 4 / 3; box-shadow: var(--shadow-xs); border: 1px solid var(--line-2);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(15, 27, 44, .93);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; inset-block-start: 24px; inset-inline-end: 24px;
  width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .3s var(--ease);
}
.lightbox__close:hover { background: var(--gold); }

.video-embed {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--cream-2), var(--sand));
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.video-embed iframe, .video-embed video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; z-index: 4;
}
.video-embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-embed__play {
  position: relative; z-index: 3; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); border: 1.5px solid var(--gold-line); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), border-color .45s var(--ease);
  box-shadow: 0 10px 34px rgba(15, 27, 44, .28);
}
.video-embed__play .ic { width: 26px; height: 26px; margin-inline-start: 3px; }
.video-embed:hover .video-embed__play { background: var(--gold); color: #fff; border-color: var(--gold); transform: scale(1.08); }
.video-embed.is-playing .video-embed__poster,
.video-embed.is-playing .video-embed__play { opacity: 0; pointer-events: none; }

/* ============================================================
   الأكورديون والترقيم
   ============================================================ */
.acc { display: grid; gap: 12px; }
.acc__item { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; }
.acc__item[open] { border-color: var(--gold-line); box-shadow: var(--shadow-xs); }
.acc__item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.acc__item[open] summary::after { content: "\2212"; }
.acc__body { padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.95; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 42px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 100px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 15px;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-ink); }
.pagination .is-current { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ============================================================
   صفحات الأخطاء
   ============================================================ */
.error-page {
  min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center;
  padding-block: 150px 90px; background: linear-gradient(160deg, var(--white), var(--cream-2));
}
.error-page__code { font-family: var(--font-serif); font-weight: 800; font-size: clamp(96px, 19vw, 210px); line-height: 1; color: var(--gold); }
.error-page h1 { font-size: clamp(24px, 3.8vw, 40px); margin-bottom: 14px; }
.error-page p { color: var(--ink-soft); margin-bottom: 30px; }

/* ============================================================
   الكشف عند التمرير
   ============================================================ */
.js [data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .85s var(--ease), transform .85s var(--ease); will-change: opacity, transform;
}
.js [data-reveal].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }

/* ============================================================
   الاستجابة
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat:nth-child(odd)::after { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .social-rail { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { padding-inline-start: 18px; padding-inline-end: 11px; }
  .brand__logo { height: 48px; }
  .site-header.scrolled .brand__logo { height: 42px; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bar { justify-content: center; text-align: center; }
  /* أهداف لمس ≥ ٤٤px في الفوتر على الجوال */
  .f-links { gap: 2px; }
  .f-links a { min-height: 44px; display: flex; align-items: center; }
  .f-contact > div { align-items: center; }
  .f-contact .ic { margin-block-start: 0; }
  .f-contact a { min-height: 44px; display: inline-flex; align-items: center; }
  .crumbs a, .crumbs [aria-current="page"] { min-height: 44px; display: inline-flex; align-items: center; }
  a.contact-item__value { min-height: 44px; display: flex; align-items: center; }
  .hero { min-height: 0; padding-block: clamp(120px, 26vw, 168px) 60px; }
  .hero__arch { inset-block-start: clamp(96px, 24vw, 140px); height: 46vh; }
  .hero__stats {
    display: grid; grid-template-columns: repeat(2, auto); justify-content: center;
    column-gap: clamp(34px, 12vw, 60px); row-gap: 28px;
  }
  .hero__stat::after { display: none; }
  .hero__scroll { display: none; }
  .sec-head--split { flex-direction: column; align-items: flex-start; }
  .btn { padding: 15px 28px; }
  .btn-lg, .btn--lg { padding: 17px 32px; font-size: 15.5px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .hero__logo { padding: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .js .hero__logo, .js .hero__kicker, .js .hero .eyebrow, .js .hero__title, .js .hero h1,
  .js .hero__sub, .js .hero__tagline, .js .hero__actions, .js .hero__cta, .js .hero__stats,
  .js .hero .ornament-divider, .js .hero__frame { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .mobile-nav, .social-rail, .scroll-progress, .lightbox, .cta-band, .hero__mute { display: none !important; }
  body { background: #fff; color: #000; }
}


/* ============================================================
   مكوّنات صفحات الواجهة — الهانيبوت · التخطيط النصفي · بطاقة الشركة
   · بطاقة بيانات التواصل · النص المتدفّق · الخريطة
   ============================================================ */
.hp { position: absolute !important; inset-inline-start: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 58px); align-items: start; }

/* نص متدفّق (نبذة الشركة) */
.prose { color: var(--ink-2); font-size: clamp(16px, 1.9vw, 18.5px); line-height: 2.05; }
.prose p + p { margin-top: 18px; }
.prose--center { text-align: center; max-width: 72ch; margin-inline: auto; }

/* بطاقة شركة تابعة */
.co-card {
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: clamp(26px, 3.2vw, 40px); box-shadow: var(--shadow-xs); text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.co-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-sm); border-color: var(--gold-line); }
.co-card__logo {
  width: clamp(112px, 15vw, 148px); min-height: clamp(84px, 11vw, 104px);
  border-radius: 18px; background: var(--cream-2); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; padding: 14px; margin-bottom: 22px;
}
.co-card__logo img { max-width: 100%; max-height: clamp(56px, 8vw, 74px); width: auto; object-fit: contain; }
.co-card__initials { font-family: var(--font-serif); font-size: 19px; color: var(--gold-deep); }
.co-card__title { font-family: var(--font-serif); font-size: clamp(21px, 2.2vw, 26px); color: var(--ink); margin-bottom: 12px; }
.co-card__text { color: var(--ink-soft); font-size: 15.5px; line-height: 1.95; flex: 1; }
.co-card__btn { margin-top: 22px; }

/* بطاقة بيانات التواصل */
.contact-card {
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-xs); display: grid; gap: 20px;
}
.contact-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-item__ic {
  width: 46px; height: 46px; border-radius: 14px; background: var(--cream-2); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item__ic .ic { width: 21px; height: 21px; }
.contact-item__label { display: block; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }
.contact-item__value { display: block; font-weight: 600; color: var(--ink); }
a.contact-item__value:hover { color: var(--gold-ink); }

/* إطار الخريطة */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-xs); }
.map-wrap iframe { display: block; width: 100%; height: clamp(280px, 42vw, 440px); border: 0; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   ضبط الهيرو لترميز الرئيسية: مساحة داخل الإطار الذهبي
   + تنفيس السطر الثاني من العنوان (تشكيل العربية يتلامس عند 1.14)
   ------------------------------------------------------------ */
.hero__inner {
  max-width: 1064px;   /* ٩٤٠ + الحشوة الجانبية، كي لا يلتفّ العنوان بعد إضافتها */
  padding-block: clamp(30px, 5vw, 76px); padding-inline: clamp(18px, 4vw, 62px);
}
.hero__title .line + .line { margin-block-start: .17em; }

/* ============================================================
   شريط عرض المشاريع المتحرك (vstrip)
   مقاطع قصيرة تنساب أفقياً بلا توقف · تُدار من «وسائط الموقع» في اللوحة.
   يعتمد رموز الهوية القائمة: --accent · --ink · --line · --radius · --ease
   ============================================================ */
.vstrip {
  position: relative;
  padding-block: clamp(46px, 5.5vw, 84px);
  overflow: hidden;
}
.vstrip__head { text-align: center; margin-bottom: clamp(26px, 3vw, 44px); }
.vstrip__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.2;
  color: var(--ink);
}

/* نافذة الشريط: تلاشٍ ناعم على الطرفين ليبدو الانسياب بلا حدّ */
.vstrip__viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.vstrip__track {
  display: flex;
  gap: clamp(12px, 1.4vw, 22px);
  width: max-content;
  will-change: transform;
  animation: vstrip-run var(--vstrip-dur, 46s) linear infinite;
}
/* الاتجاه: يسير المسار نحو اليسار البصري في الحالتين (النسخة المكرّرة تسدّ الفراغ) */
@keyframes vstrip-run {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.vstrip__viewport:hover .vstrip__track,
.vstrip__viewport:focus-within .vstrip__track { animation-play-state: paused; }

.vstrip__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(210px, 23vw, 330px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius, 18px);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.vstrip__media {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease, ease);
}
.vstrip__item:hover .vstrip__media { transform: scale(1.05); }
.vstrip__media--blank {
  display: grid; place-items: center;
  color: var(--accent);
  opacity: .5;
}
.vstrip__media--blank svg { width: 34px; height: 34px; }

/* زر التشغيل يغطي البطاقة كاملةً (هدف لمس كبير) */
.vstrip__open {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .42));
  border: 0; padding: 0; cursor: pointer;
  transition: background .35s var(--ease, ease);
}
.vstrip__item:hover .vstrip__open { background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .55)); }
.vstrip__play {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease, ease);
}
.vstrip__item:hover .vstrip__play { transform: scale(1.08); }
.vstrip__play svg { width: 22px; height: 22px; margin-inline-start: 2px; }
.vstrip__open:focus-visible { outline: 3px solid var(--accent); outline-offset: -4px; }

.vstrip__label {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  padding: 26px 16px 12px;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
  pointer-events: none;
}

/* ---------- عارض الفيديو (يُبنى من app.js عند النقر) ---------- */
.vstrip-modal {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 10, 12, .90);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease, ease), visibility .3s;
}
.vstrip-modal.open { opacity: 1; visibility: visible; }
.vstrip-modal__box {
  position: relative;
  width: min(1080px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.vstrip-modal__box > video,
.vstrip-modal__box > iframe { width: 100%; height: 100%; border: 0; display: block; }
.vstrip-modal__close {
  position: absolute; inset-block-start: -52px; inset-inline-end: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transition: background .3s var(--ease, ease);
}
.vstrip-modal__close:hover { background: rgba(255, 255, 255, .24); }
.vstrip-modal__close svg { width: 20px; height: 20px; }

/* ---------- الاستجابة وتقليل الحركة ---------- */
@media (max-width: 640px) {
  .vstrip__item { width: clamp(180px, 62vw, 260px); }
  .vstrip__play { width: 46px; height: 46px; }
  .vstrip-modal__close { inset-block-start: auto; inset-block-end: -52px; }
}
@media (prefers-reduced-motion: reduce) {
  /* بلا انسياب: يصير الشريط قابلاً للتمرير يدوياً */
  .vstrip__track { animation: none; }
  .vstrip__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .vstrip__item { scroll-snap-align: center; }
  .vstrip__media, .vstrip__play, .vstrip__open { transition: none; }
  .vstrip__item:hover .vstrip__media { transform: none; }
}
