/* ============================================================
   Brand Key — Header & Nav
   Pure CSS · RTL · Vanilla
   ============================================================ */

/* ---------- متغيرات الألوان ---------- */
:root {
  --gold: #F2C94C;
  --gold-soft: #FBE39A;
  --gold-hover: #E0B73A;
  --gold-press: #C9A233;

  --navy: #0E233F;
  --navy-2: #1A3556;
  --navy-3: #2A4768;

  --ink: #0E233F;
  --muted: #64748B;
  --muted-2: #94A3B8;

  --line: #E5E7EB;
  --line-soft: #EEF1F5;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;

  --shadow-sm: 0 1px 2px rgba(14, 35, 63, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 35, 63, 0.08);
  --shadow-lg: 0 20px 50px rgba(14, 35, 63, 0.12);
  --shadow-gold: 0 8px 20px rgba(242, 201, 76, 0.35);

  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 80px;
  --container: 1240px;
}

/* ---------- إعادة الضبط ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  /* sticky footer: body كعمود flex، المحتوى ياخد المساحة، الفوتر في الآخر */
  display: flex;
  flex-direction: column;
}

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

/* ---------- اللاين اللي تحت كل تايتل — حجم موحد 143×15 في كل الصفحات ---------- */
.heading-line {
  display: block;
  width: 143px !important;
  max-width: 143px !important;
  height: 15px !important;
  object-fit: contain;
}

/* قفل scroll لما الناف يفتح */
body.nav-open { overflow: hidden; }


/* ============================================================
   الهيدر
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  transition: box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out);

  /* انيميشن دخول الهيدر */
  animation: headerDrop 0.7s var(--ease-out) both;
}

@keyframes headerDrop {
  0%   { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ظل خفيف لما تعمل scroll */
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ---- اللوگو ---- */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}
.logo:hover { transform: scale(1.04); }
.logo-img {
  height: 52px;
  width: auto;
  transition: filter 0.4s var(--ease-out);
}
.logo:active { transform: scale(0.98); }

/* ---- أزرار التحكم ---- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* زر أيقونة عام (الهامبرغر + البحث) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-spring),
              box-shadow 0.35s var(--ease-out),
              background 0.3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:active { transform: scale(0.94); }

.menu-icon,
.search-icon {
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* زر الهامبرغر */
.menu-btn { width: 56px; height: 48px; }
.menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.menu-btn:hover .menu-icon { /* تغيير بسيط عبر filter */ }

/* زر البحث */
.search-btn { width: 48px; height: 48px; }
.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}

/* ---- زر الـ CTA ---- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(242, 201, 76, 0.4);
  transition: transform 0.35s var(--ease-spring),
              background 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* لمعان يمر على الزر عند الـ hover */
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0; right: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: right 0.6s var(--ease-out);
}
.cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.cta-btn:hover::before { right: 130%; }
.cta-btn:active { transform: translateY(0) scale(0.98); }

.cta-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-spring);
  /* الطيارة الورق بتنطلق لقدام-فوق عند الـ hover */
}
.cta-btn:hover .cta-icon {
  transform: translate(-4px, -4px) rotate(-12deg);
}

/* ---- زر اللغة ---- */
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.lang-btn:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
}
.lang-icon { width: 20px; height: 20px; transition: transform 0.5s var(--ease-out); }
.lang-btn:hover .lang-icon { transform: rotate(20deg); }


/* ============================================================
   overlay الناف
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}
.nav-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

/* ---- الخلفية المعتمة ---- */
.nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 35, 63, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.45s var(--ease-out),
              backdrop-filter 0.45s var(--ease-out);
}
.nav-overlay.is-open .nav-backdrop {
  background: rgba(14, 35, 63, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---- اللوحة الرئيسية ---- */
.nav-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(780px, 100%);
  background: var(--bg);
  box-shadow: -20px 0 60px rgba(14, 35, 63, 0.2);
  display: flex;
  flex-direction: column;
  padding: 28px 32px 24px;
  transform: translateX(100%); /* مخفي لجهة اليمين (RTL) */
  transition: transform 0.55s var(--ease-out);
  overflow-y: auto;
  /* سكروولBAR مخصص */
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.nav-panel::-webkit-scrollbar { width: 6px; }
.nav-panel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.nav-overlay.is-open .nav-panel {
  transform: translateX(0);
}

/* ---- زر الإغلاق ---- */
.close-btn {
  position: absolute;
  top: 24px;
  left: 24px; /* يسار في RTL = الجهة البعيدة */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.3s var(--ease-out), transform 0.4s var(--ease-spring);
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}
.nav-overlay.is-open .close-btn {
  animation: popIn 0.5s var(--ease-spring) 0.25s both;
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.5) rotate(-90deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.close-btn:hover {
  background: var(--gold);
  transform: rotate(90deg) scale(1.05);
}
.close-line {
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: background 0.3s var(--ease-out);
}
.close-line:nth-child(1) { transform: rotate(45deg); }
.close-line:nth-child(2) { transform: rotate(-45deg); }
.close-btn:hover .close-line { background: var(--navy); }

/* ---- المقدمة ---- */
.nav-intro {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(14px);
}
.nav-overlay.is-open .nav-intro {
  animation: fadeUp 0.55s var(--ease-out) 0.3s both;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.nav-logo {
  display: inline-block;
  margin-bottom: 14px;
}
.nav-logo-img {
  height: 44px;
  width: auto;
}
.nav-intro-title {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
}
.nav-intro-sub {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* ---- القسمين (حلول القطاعات + خدماتنا) ---- */
.nav-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(14px);
}
.nav-overlay.is-open .nav-sections {
  animation: fadeUp 0.55s var(--ease-out) 0.4s both;
}

.nav-section {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
}

.nav-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
}
.nav-section-heading:hover { color: var(--gold-hover); }
.nav-section-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* chevron للموبايل (يظهر بس على الموبايل) */
.nav-section-chevron {
  display: none;
  margin-right: auto;
  width: 28px;
  height: 28px;
  transition: transform 0.4s var(--ease-spring);
}
.nav-section.active-mobile .nav-section-chevron {
  transform: rotate(180deg);
}

.nav-section-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-section-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4A5568;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.nav-section-list a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateX(-4px);
}

/* ---- روابط التنقل الإضافية ---- */
.nav-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex: 1;
  margin-bottom: 20px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(16px);
}
.nav-overlay.is-open .nav-link {
  animation: fadeUp 0.5s var(--ease-out) both;
}

.nav-link-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF8E6;
  border-radius: 9px;
  color: var(--gold);
  transition: background 0.35s var(--ease-out), transform 0.45s var(--ease-spring), color 0.35s var(--ease-out);
}
.nav-link-icon svg {
  width: 20px;
  height: auto;
  display: block;
  transition: transform 0.45s var(--ease-spring);
}
.nav-link-icon img {
  width: 20px;
  height: auto;
  transition: transform 0.45s var(--ease-spring);
}
.nav-link-text {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.3s var(--ease-out);
}
.nav-link-arrow {
  color: var(--muted-2);
  display: inline-flex;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-spring), color 0.3s var(--ease-out);
}

.nav-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.nav-link:hover .nav-link-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(-8deg);
}
.nav-link:hover .nav-link-icon svg,
.nav-link:hover .nav-link-icon img {
  transform: scale(1.12);
}
.nav-link:hover .nav-link-text { color: #fff; }
.nav-link:hover .nav-link-arrow {
  color: var(--gold);
  opacity: 1;
  transform: translateX(0);
}
.nav-link::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.nav-link:hover::after { transform: scaleY(1); }

/* ---- فوتر الناف ---- */
.nav-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(14px);
}
.nav-overlay.is-open .nav-footer {
  animation: fadeUp 0.55s var(--ease-out) 0.75s both;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.4);
  transition: background 0.3s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.3s var(--ease-out);
}
.nav-cta svg { transition: transform 0.4s var(--ease-spring); }
.nav-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.nav-cta:hover svg { transform: translate(-3px, -3px) rotate(-10deg); }
.nav-cta:active { transform: translateY(0) scale(0.98); }

.nav-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s var(--ease-out);
}
.contact-link svg { color: var(--gold); transition: transform 0.35s var(--ease-spring); }
.contact-link:hover { color: var(--navy); }
.contact-link:hover svg { transform: scale(1.2); }


/* ============================================================
   الهيرو الداخلي (للصفحات الداخلية)
   مبني على كود Figma المصدري
   ============================================================ */
.inner-hero {
  position: relative;
  width: 100%;
  background: var(--bg);
  overflow: hidden;
  padding-top: calc(var(--header-h) + 10px);
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 627px;
}

/* ---------- الفريم (شكل كحلي بـ mask من Subtract.png) ---------- */
.inner-hero-frame {
  position: relative;
  width: min(1133px, 82%);
  aspect-ratio: 1100 / 504;
  z-index: 1;
}

/* الفريم: خلفية navy بـ mask = شكل الفريم (البرواز نفسه) */
.inner-hero-frame-fill {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 0;
  -webkit-mask: url('../icons/inner-hero-frame.png') no-repeat center / contain;
  mask: url('../icons/inner-hero-frame.png') no-repeat center / contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

/* border أبيض حول الفريم */
.inner-hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--navy);
  -webkit-mask: url('../icons/inner-hero-frame.png') no-repeat center / contain;
  mask: url('../icons/inner-hero-frame.png') no-repeat center / contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
  pointer-events: none;
}

/* الصورة داخل الفريم — div بـ background-image + mask = الثقب (RGBA) */
.inner-hero-frame-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-mask: url('../icons/inner-hero-hole-rgba.png') no-repeat center / contain;
  mask: url('../icons/inner-hero-hole-rgba.png') no-repeat center / contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

/* أوفرلاي أسود فوق الصورة — نفس الـ hole mask */
.inner-hero-frame-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  -webkit-mask: url('../icons/inner-hero-hole-rgba.png') no-repeat center / contain;
  mask: url('../icons/inner-hero-hole-rgba.png') no-repeat center / contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

/* ---------- المفتاح في النوتش (جوه الفريم، relative للفريم) ---------- */
/* الحجم بـ clamp عشان يصغر ويكبر مع الشاشة زي الفريم */
.inner-hero-key {
  position: absolute;
  top: clamp(9px, -14vw, 68px);
  left: 1%;
  width: clamp(87px, 7vw, 90px);
  height: clamp(87px, 7vw, 90px);
  z-index: 10;
  animation: keyPulse 3s var(--ease-in-out) infinite;
}

/* ---------- المحتوى (متوسط جوه الفريم — inset:0 + flex center) ---------- */
.inner-hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: 832px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  width: 100%;
}

.inner-hero-title {
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  direction: rtl;
  max-width: 738px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.inner-hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 544px;
}

.inner-hero-desc {
  font-size: clamp(13px, 1.3vw, 17px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  direction: rtl;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* ---------- الأزرار (جنب بعض) ---------- */
.inner-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.inner-hero-btn {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.inner-hero-btn img {
  width: 22px;
  height: 22px;
}

.inner-hero-btn--primary {
  background: #F3D30C;
  color: var(--navy);
}
.inner-hero-btn--primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 211, 12, 0.4);
}
.inner-hero-btn--primary img {
  transition: transform 0.4s var(--ease-spring);
}
.inner-hero-btn--primary:hover img {
  transform: translate(-4px, -4px) rotate(-15deg);
}

.inner-hero-btn--ghost {
  color: var(--gold);
  border: none;
  background: transparent;
}
.inner-hero-btn--ghost:hover {
  transform: translateY(-2px);
}
.inner-hero-btn--ghost img {
  transition: transform 0.4s var(--ease-spring);
}
.inner-hero-btn--ghost:hover img {
  transform: translateX(-5px);
}

/* ---------- يمين: قم بالتمرير لرؤية المزيد ---------- */
.inner-hero-scroll {
  position: fixed;
  top: 50%;
  right: 23px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  z-index: 4;
}

.inner-hero-scroll-text {
  transform: rotate(90deg);
  font-size: 13px;
  font-weight: 400;
  color: #5C5C5C;
  white-space: nowrap;
  direction: rtl;
}

.inner-hero-mouse {
  animation: scrollWheel 1.8s var(--ease-in-out) infinite;
}
@keyframes scrollWheel {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 0; transform: translateY(8px); }
}

/* ---------- شمال: تابعنا + سوشيال ---------- */
.inner-hero-follow {
  position: fixed;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 4;
}

.inner-hero-follow-text {
  transform: rotate(90deg);
  font-size: 13px;
  font-weight: 400;
  color: #5C5C5C;
  white-space: nowrap;
}

.inner-hero-social-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.inner-hero-social-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: #5C5C5C;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}
.inner-hero-social-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .inner-hero { min-height: auto; padding: calc(var(--header-h) + 20px) 0 30px; }
  .inner-hero-frame { width: 92%; }
  .inner-hero-content { gap: 18px; }
  .inner-hero-title { font-size: 24px; }
  .inner-hero-key { left: 6%; }
  .inner-hero-scroll, .inner-hero-follow { display: none; }
}

@media (max-width: 600px) {
  .inner-hero {
    padding: calc(var(--header-h) + 16px) 0 24px;
    min-height: auto;
    flex-direction: column;
    justify-content: flex-start;
  }
  /* الفريم الموبايل: عمودي، في النص */
  .inner-hero-frame {
    width: 88%;
    aspect-ratio: 310 / 586;
    max-width: 340px;
    margin: 30px auto 0;
  }
  /* الموبايل: فريم مختلف */
  .inner-hero-frame-fill {
    -webkit-mask: url('../icons/inner-hero-frame-mobile.png') no-repeat center / contain;
    mask: url('../icons/inner-hero-frame-mobile.png') no-repeat center / contain;
  }
  .inner-hero-frame::before {
    -webkit-mask: url('../icons/inner-hero-frame-mobile.png') no-repeat center / contain;
    mask: url('../icons/inner-hero-frame-mobile.png') no-repeat center / contain;
  }
  .inner-hero-frame-photo {
    -webkit-mask: url('../icons/inner-hero-hole-mobile-rgba.png') no-repeat center / contain;
    mask: url('../icons/inner-hero-hole-mobile-rgba.png') no-repeat center / contain;
  }
  .inner-hero-frame-overlay {
    -webkit-mask: url('../icons/inner-hero-hole-mobile-rgba.png') no-repeat center / contain;
    mask: url('../icons/inner-hero-hole-mobile-rgba.png') no-repeat center / contain;
  }
  /* المفتاح فوق الفريم — relative للفريم (الحجم بـ clamp من الأساسي) */
  .inner-hero-key {
    left: 8%;
    z-index: 10;
  }
  /* المحتوى جوه الفريم، متوسط عمودياً (inset:0 + flex center من الأساسي) */
  .inner-hero-content {
    max-width: 280px;
    gap: 16px;
    padding: 0 16px;
  }
  .inner-hero-title { font-size: 18px; line-height: 1.3; }
  .inner-hero-body { gap: 12px; }
  .inner-hero-desc { font-size: 12px; line-height: 1.5; }
  .inner-hero-actions { flex-direction: column; gap: 8px; width: 100%; }
  .inner-hero-btn { width: 100%; font-size: 13px; padding: 10px 16px; }
  /* سوشيال + سكرول تحت الفريم، في النص */
  .inner-hero-follow {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex-direction: row;
    gap: 12px;
    margin-top: 20px;
  }
  .inner-hero-follow-text {
    transform: none;
    writing-mode: horizontal-tb;
    margin-bottom: 4px;
  }
  .inner-hero-social-icons {
    flex-direction: row;
    gap: 12px;
  }
  .inner-hero-social-link {
    width: 36px;
    height: 36px;
  }
  .inner-hero-scroll {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }
  .inner-hero-scroll-text {
    transform: none;
    writing-mode: horizontal-tb;
  }
}


/* ============================================================
   سيكشن الهيرو
   ============================================================ */
.hero {
  flex: 1;
  position: relative;
  padding: calc(var(--header-h) + 40px) 24px 60px;
  background:
    radial-gradient(circle at 85% 15%, rgba(242, 201, 76, 0.10), transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(14, 35, 63, 0.04), transparent 40%),
    var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ---------- العمود النصي (يمين في RTL) ---------- */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* أنيميشن دخول */
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.2s both;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* شارة صغيرة فوق العنوان */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FFF8E6;
  border: 1px solid rgba(242, 201, 76, 0.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  animation: pulseDot 2s var(--ease-in-out) infinite;
}
.hero-badge-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: pulseRing 2s var(--ease-out) infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
@keyframes pulseRing {
  0% { opacity: 0.8; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.8); }
}

/* العنوان الرئيسي */
.hero-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.hero-title-accent {
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 0;
  left: 0;
  height: 10px;
  background: rgba(242, 201, 76, 0.25);
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-8deg);
}

/* الفقرة */
.hero-subtitle {
  font-size: clamp(15px, 1.4vw, 17px);
  color: #4A5568;
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 30px;
}

/* مجموعة الأزرار */
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), color 0.3s var(--ease-out);
  white-space: nowrap;
}

/* الزر الأساسي (أصفر) */
.hero-cta--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(242, 201, 76, 0.35);
  position: relative;
  overflow: hidden;
}
.hero-cta--primary::before {
  content: '';
  position: absolute;
  top: 0; right: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: right 0.6s var(--ease-out);
}
.hero-cta--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.hero-cta--primary:hover::before { right: 130%; }
.hero-cta-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--ease-spring);
}
.hero-cta--primary:hover .hero-cta-icon {
  transform: translate(-4px, -4px) rotate(-15deg);
}

/* الزر الثانوي (محدد) */
.hero-cta--secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.hero-cta--secondary svg { transition: transform 0.4s var(--ease-spring); }
.hero-cta--secondary:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}
.hero-cta--secondary:hover svg { transform: translateY(3px); }

/* ---------- الإحصائيات ---------- */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-number {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* ---------- العمود البصري (يسار في RTL) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  /* أنيميشن دخول */
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  animation: heroVisualIn 1s var(--ease-out) 0.4s both;
}
@keyframes heroVisualIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* أشكال زخرفية خلفية */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-shape--1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.18), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: floatShape 8s var(--ease-in-out) infinite;
}
.hero-shape--2 {
  width: 14px; height: 14px;
  background: var(--gold);
  top: 18%; left: 12%;
  animation: floatShape2 6s var(--ease-in-out) infinite;
}
.hero-shape--3 {
  width: 10px; height: 10px;
  background: var(--navy);
  bottom: 18%; right: 14%;
  opacity: 0.5;
  animation: floatShape3 7s var(--ease-in-out) infinite reverse;
}
@keyframes floatShape {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-18px); }
}
@keyframes floatShape2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes floatShape3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* الإطار الذهبي الخارجي (SVG) */
.hero-frame {
  position: relative;
  z-index: 1;
  width: min(440px, 85vw);
  height: auto;
  pointer-events: none;
  animation: floatFrame 6s var(--ease-in-out) infinite;
}
@keyframes floatFrame {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* الدائرة الصفراء + الصورة (تتطابق مع الإطار) */
.hero-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, 77vw);
  height: min(498px, 96vw); /* أطول من العرض عشان تتبع شكل الإطار */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-circle-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.hero-illustration {
  position: relative;
  z-index: 2;
  width: 62%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(14, 35, 63, 0.18));
  animation: floatIllustration 5s var(--ease-in-out) infinite;
}
@keyframes floatIllustration {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- مؤشر scroll ---------- */
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 40px auto 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  align-self: center;
  transition: color 0.3s var(--ease-out);
}
.hero-scroll:hover { color: var(--gold); }
.hero-scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero-scroll-wheel {
  width: 3px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 1.8s var(--ease-in-out) infinite;
}
@keyframes scrollWheel {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ---------- reveal عند الـ scroll ---------- */
.hero-text, .hero-visual { will-change: transform, opacity; }


/* ============================================================
   سيكشن الخدمات (تصميم جديد: grid + accordion)
   ============================================================ */
.services {
  position: relative;
  padding: 90px 24px 80px;
  background: var(--bg);
  overflow: hidden;
}

.services-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* Grid: عمودين — نص (شمال) + كروت (يمين) */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* ---------- العمود الأيسر: العنوان + الوصف + الأزرار ---------- */
.services-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.services-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.services-heading-line {
  display: block;
  height: 8px;
  width: auto;
  max-width: 120px;
  margin: 0 0 18px 0;
}

.services-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 420px;
}

.services-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* زر ذهبي */
.services-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.3);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.services-btn-primary img {
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--ease-spring);
}
.services-btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.services-btn-primary:hover img {
  transform: translate(-4px, -4px) rotate(-15deg);
}

/* رابط نصي (بدون إطار) */
.services-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s var(--ease-out);
}
.services-btn-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.4s var(--ease-spring);
}
.services-btn-link:hover { color: var(--gold-hover); }
.services-btn-link:hover img { transform: translateX(-5px); }

/* ---------- العمود الأيمن: كروت الخدمات (accordion) ---------- */
.services-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* الكرت */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.service-card.active {
  border-color: #927F07;
  box-shadow: 0 8px 24px rgba(146, 127, 7, 0.1);
}

/* رأس الكرت (clickable) */
.service-card-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: transparent;
  border: none;
  text-align: right;
  cursor: pointer;
  font-family: inherit;
}

/* صورة الخدمة (يمين) */
.service-card-img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF8E6, #FFEFB8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

/* معلومات الكرت (شمال) */
.service-card-info {
  flex: 1;
  text-align: right;
}
.service-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.service-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* زر التوجال (chevron) */
.service-card-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FFF8E6;
  transition: transform 0.4s var(--ease-spring), background 0.3s var(--ease-out);
}
.service-card.active .service-card-toggle {
  transform: rotate(180deg);
  background: var(--gold);
}

/* التاجز (accordion content) */
.service-card-tags {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
  padding: 0 20px;
}
.service-card.active .service-card-tags {
  max-height: 300px;
  padding: 0 20px 20px;
}

/* تاج (زر بإطار ذهبي) */
.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #927F07;
  border-radius: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-left: 8px;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.service-tag img {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease-spring);
}
.service-tag:hover {
  background: #927F07;
  color: #fff;
  transform: translateX(-4px);
}
.service-tag:hover img {
  transform: translateX(-3px);
  filter: brightness(0) invert(1);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .services { padding: 60px 20px 50px; }
  .services-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-sidebar { position: static; }
  .services-desc { max-width: none; }
}

@media (max-width: 600px) {
  .services { padding: 44px 16px 36px; }
  .services-title { font-size: 24px; }
  .services-desc { font-size: 14px; }
  .services-btn-primary { width: 100%; justify-content: center; }
  .services-btn-link { width: 100%; justify-content: center; }
  .service-card-header { padding: 14px; gap: 12px; }
  .service-card-img { width: 60px; height: 60px; }
  .service-card-title { font-size: 15px; }
  .service-card-desc { font-size: 12px; }
  .service-tag { font-size: 12px; padding: 6px 10px; }
}


/* ============================================================
   سيكشن الاستشارات
   ============================================================ */
.consult {
  position: relative;
  background: var(--navy);
  padding: 80px 24px;
  overflow: hidden;
}

/* مفتاح زخرفي في خلفية السيكشن (يسار) */
.consult-key-bg {
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  width: 400px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: keyFloat 10s var(--ease-in-out) infinite;
}
@keyframes keyFloat {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 15px)) rotate(3deg); }
}

.consult-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* ---------- الكرت ---------- */
.consult-card {
  background: #142B47;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(40px);
}
.consult-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
}
.consult-card[data-card="0"].revealed { transition-delay: 0ms; }
.consult-card[data-card="1"].revealed { transition-delay: 180ms; }

.consult-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(242, 201, 76, 0.3);
}

/* الكرت الثانوي (accent) له لمسة ذهبية */
.consult-card--accent {
  background: linear-gradient(135deg, #142B47 0%, #1A3556 100%);
}

/* لمعان ذهبي يظهر عند الـ hover */
.consult-card::before {
  content: '';
  position: absolute;
  top: 0; right: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(242, 201, 76, 0.06), transparent);
  transform: skewX(-20deg);
  transition: right 0.7s var(--ease-out);
  pointer-events: none;
}
.consult-card:hover::before { right: 130%; }

.consult-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* عنوان الكرت */
.consult-card-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* الخط الزخرفي تحت العنوان */
.consult-heading-line {
  display: block;
  height: 8px;
  width: auto;
  max-width: 100px;
  margin-bottom: 18px;
}

/* الوصف */
.consult-card-desc {
  font-size: 15px;
  color: #9FB0C3;
  line-height: 1.85;
  margin-bottom: 28px;
  flex: 1;
}

/* ---------- الأزرار ---------- */
.consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  width: fit-content;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.consult-btn img {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-spring);
}

/* زر محدد (outline) — "اعرف المزيد" */
.consult-btn--outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.consult-btn--outline img { filter: brightness(0) invert(1); }
.consult-btn--outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}
.consult-btn--outline:hover img {
  transform: translateX(-4px);
  filter: brightness(0);
}

/* زر أساسي (ذهبي) — "احجز" */
.consult-btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.3);
}
.consult-btn--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(242, 201, 76, 0.4);
}
.consult-btn--primary:hover img {
  transform: translate(-4px, -4px) rotate(-15deg);
}


/* ============================================================
   سيكشن القطاعات
   ============================================================ */
.sectors {
  position: relative;
  background: var(--bg);
  padding: 90px 24px 80px;
  overflow: hidden;
}

/* عناصر زخرفية في الخلفية */
.sectors-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
/* Vector (المفتاح): تحت على الشمال — نازل يفتح */
.sectors-deco--vector {
  bottom: -80px;
  left: -60px;
  width: 360px;
  height: auto;
  opacity: 0.6;
  animation: keyDrop 14s var(--ease-in-out) infinite;
}
@keyframes keyDrop {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-3deg); }
}
/* Frame: فوق على الشمال */
.sectors-deco--frame {
  top: 40px;
  left: -20px;
  width: 110px;
  height: auto;
  opacity: 0.5;
  animation: frameFloat 10s var(--ease-in-out) infinite;
}
@keyframes frameFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.sectors-container {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- رأس السيكشن ---------- */
.sectors-head {
  text-align: center;
  margin-bottom: 50px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.sectors-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.sectors-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.sectors-heading-line {
  margin: 0 auto 18px;
}

.sectors-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- شبكة القطاعات (3x3) ---------- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

/* ---------- الكرت ---------- */
.sector-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.4s var(--ease-spring);
  box-shadow: 0 2px 8px rgba(14, 35, 63, 0.05);
  cursor: pointer;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  will-change: transform, opacity;
}
.sector-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out);
}
/* staggered delays */
.sector-card[data-card="0"].revealed { transition-delay: 0ms; }
.sector-card[data-card="1"].revealed { transition-delay: 80ms; }
.sector-card[data-card="2"].revealed { transition-delay: 160ms; }
.sector-card[data-card="3"].revealed { transition-delay: 240ms; }
.sector-card[data-card="4"].revealed { transition-delay: 320ms; }
.sector-card[data-card="5"].revealed { transition-delay: 400ms; }
.sector-card[data-card="6"].revealed { transition-delay: 480ms; }
.sector-card[data-card="7"].revealed { transition-delay: 560ms; }
.sector-card[data-card="8"].revealed { transition-delay: 640ms; }
.sector-card[data-card="9"].revealed { transition-delay: 720ms; }
.sector-card[data-card="10"].revealed { transition-delay: 800ms; }

.sector-card:hover {
  box-shadow: 0 12px 30px rgba(14, 35, 63, 0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
}

/* أيقونة الكرت (مربع ذهبي يمين) */
.sector-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: 10px;
  transition: transform 0.4s var(--ease-spring), background 0.35s var(--ease-out);
}
.sector-card:hover .sector-card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--gold-hover);
}
.sector-card-icon svg {
  width: 24px;
  height: 24px;
}

/* محتوى الكرت */
.sector-card-content {
  flex: 1;
  min-width: 0;
}
.sector-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.sector-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* سهم الكرت (يسار) */
.sector-card-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}
.sector-card-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s var(--ease-spring);
}
.sector-card:hover .sector-card-arrow {
  background: #FFF8E6;
  transform: translateX(-4px);
}
.sector-card:hover .sector-card-arrow svg {
  transform: translateX(-2px);
}

/* ---------- زر CTA ---------- */
.sectors-more {
  text-align: center;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.sectors-more.revealed {
  opacity: 1;
  transform: translateY(0);
}

.sectors-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.sectors-more-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--ease-spring);
}
.sectors-more-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(242, 201, 76, 0.35);
}
.sectors-more-btn:hover svg {
  transform: translateX(-6px);
  stroke: var(--navy);
}


/* ============================================================
   سيكشن CTA الثاني
   ============================================================ */
.cta2 {
  position: relative;
  background: var(--navy);
  padding: 90px 24px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* مفتاح/keyhole فيكتور على الشمال (full height) */
.cta2-keyhole {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  animation: keyholeFloat 12s var(--ease-in-out) infinite;
  transform-origin: center;
}
@keyframes keyholeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.cta2-container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  /* المحتوى على اليمين، المفتاح على الشمال */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ---------- رأس السيكشن (محاذي مع بداية الكروت من اليمين) ---------- */
.cta2-head {
  text-align: right;
  width: 100%;
  max-width: 100%;
  margin-bottom: 48px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.cta2-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.cta2-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.cta2-heading-line {
  margin: 0 0 18px 0;
}

.cta2-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: #9FB0C3;
  line-height: 1.85;
  max-width: 560px;
}

/* ---------- شبكة الكروت (3 أعمدة) ---------- */
.cta2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

/* ---------- الكرت ---------- */
.cta2-card {
  background: #142B47;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(40px);
}
.cta2-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
}
.cta2-card[data-card="0"].revealed { transition-delay: 0ms; }
.cta2-card[data-card="1"].revealed { transition-delay: 150ms; }
.cta2-card[data-card="2"].revealed { transition-delay: 300ms; }

.cta2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(242, 201, 76, 0.3);
}

.cta2-card--accent {
  background: linear-gradient(135deg, #142B47 0%, #1A3556 100%);
}

/* لمعان ذهبي يمر على الكرت عند hover */
.cta2-card::before {
  content: '';
  position: absolute;
  top: 0; right: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(242, 201, 76, 0.06), transparent);
  transform: skewX(-20deg);
  transition: right 0.7s var(--ease-out);
  pointer-events: none;
}
.cta2-card:hover::before { right: 130%; }

/* أيقونة الكرت */
.cta2-card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: 12px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring), background 0.35s var(--ease-out);
}
.cta2-card:hover .cta2-card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--gold-hover);
}

.cta2-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cta2-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.cta2-card-desc {
  font-size: 14.5px;
  color: #9FB0C3;
  line-height: 1.8;
  margin-bottom: 24px;
  flex: 1;
}

/* ---------- الأزرار ---------- */
.cta2-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  width: fit-content;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.cta2-btn img {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-spring);
}

.cta2-btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.3);
}
.cta2-btn--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(242, 201, 76, 0.4);
}
.cta2-btn--primary:hover img {
  transform: translate(-4px, -4px) rotate(-15deg);
}

.cta2-btn--outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.cta2-btn--outline img { filter: brightness(0) invert(1); }
.cta2-btn--outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}
.cta2-btn--outline:hover img {
  transform: translateX(-4px);
  filter: brightness(0);
}


/* ============================================================
   سيكشن آخر أعمالنا
   ============================================================ */
.portfolio {
  position: relative;
  background:
    radial-gradient(circle at 80% 10%, rgba(242, 201, 76, 0.05), transparent 50%),
    var(--bg);
  padding: 90px 24px 80px;
  overflow: hidden;
}

.portfolio-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- رأس السيكشن ---------- */
.portfolio-head {
  text-align: center;
  margin-bottom: 60px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.portfolio-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
  padding: 6px 16px;
  background: #FFF8E6;
  border-radius: var(--radius-pill);
}

.portfolio-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}

.portfolio-heading-line {
  margin: 0 auto 18px;
}

.portfolio-desc {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   السلايدر — Coverflow
   ============================================================ */
.portfolio-slider {
  position: relative;
  /* مخفي في البداية للأنميشن */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.portfolio-slider.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* منصة العرض: هنا نقص أي حاجة برة الـ viewport */
.portfolio-viewport {
  position: relative;
  /* ارتفاع ثابت يكفي الكارت الكبير + هامش للكروت المصغّرة */
  height: 560px;
  /* padding أفقي عشان الكروت الجانبية تبان برة الكارت الكبير شوية */
  padding: 30px 0;
  overflow: hidden;
  /*(mask低调 مساعدة عشان الحواف تتلاشى)*/
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
}

/* التراك: حاوية لكل الكروت، نحطها relative ونطلق الكروت absolute */
.portfolio-track {
  position: relative;
  width: 100%;
  height: 100%;
  /* السماح بـ 3D-perspective عشان الكروت تبان لذيذة */
  perspective: 1400px;
}

/* ---------- الكرت ---------- */
.portfolio-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, 86vw);
  /* مركز افتراضي — كل تحويلات بـ JS عبر --tx, --scale, --opacity, --rot */
  transform: translate(-50%, -50%) translateX(var(--tx, 0)) scale(var(--scale, 1)) rotateY(var(--rot, 0deg));
  opacity: var(--opacity, 1);
  z-index: var(--z, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  /* الانتقال الحلو للأنميشن */
  transition:
    transform 0.7s var(--ease-spring),
    opacity 0.55s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.35s var(--ease-out);
  /* الكرت نفسه */
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(14, 35, 63, 0.06);
  will-change: transform, opacity;
  cursor: pointer;
}

/* الكارت النشط (في النص) — تأثير hover خفيف وزر */
.portfolio-card[data-pos="0"] {
  cursor: default;
  box-shadow: 0 30px 60px rgba(14, 35, 63, 0.18);
  border-color: rgba(242, 201, 76, 0.6);
}
.portfolio-card[data-pos="0"]:hover {
  transform: translate(-50%, -50%) translateX(var(--tx, 0)) scale(calc(var(--scale, 1) * 1.015)) rotateY(var(--rot, 0deg));
  box-shadow: 0 40px 80px rgba(14, 35, 63, 0.22);
}

/* الكروت الجانبية: تصغير + خفت الأوباسيتي + تعتيم بسيط */
.portfolio-card[data-pos="-1"],
.portfolio-card[data-pos="1"] {
  pointer-events: auto;
}
.portfolio-card[data-pos="-1"]::after,
.portfolio-card[data-pos="1"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
  z-index: 4;
  border-radius: 20px;
}
.portfolio-card[data-pos="0"]::after {
  display: none;
}

/* الكروت الخافية برة النطاق */
.portfolio-card[data-pos="hidden"] {
  opacity: 0 !important;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.6) !important;
  z-index: 0 !important;
}

/* الكارت العكسي (مش مستخدم دلوقتي بعد السلايدر، بس نسيبه لـ fallback) */
.portfolio-card--reverse .portfolio-card-visual {
  order: -1;
}

/* الصورة */
.portfolio-card-visual {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(242, 201, 76, 0.08));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.portfolio-card[data-pos="0"]:hover .portfolio-card-visual::after { opacity: 1; }

.portfolio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}
.portfolio-card[data-pos="0"]:hover .portfolio-card-img {
  transform: scale(1.05);
}

/* جسم الكرت */
.portfolio-card-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-card-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.portfolio-card-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* التاجز */
.portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.portfolio-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #FFF8E6;
  border: 1px solid rgba(242, 201, 76, 0.3);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: #88760E;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.portfolio-card[data-pos="0"]:hover .portfolio-tag {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* زر "رؤية المشروع كاملاً" — بس بيبان في الكارت النشط */
.portfolio-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 24px;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.portfolio-card-btn img {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-spring);
}
.portfolio-card[data-pos="0"] .portfolio-card-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 201, 76, 0.35);
}
.portfolio-card[data-pos="0"] .portfolio-card-btn:hover img {
  transform: translateX(-5px);
}

/* ---------- أزرار التحكم (أسهم + نقاط) ---------- */
.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
}

.portfolio-arrow {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.portfolio-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 201, 76, 0.3);
}
.portfolio-arrow:active { transform: translateY(0); }
.portfolio-arrow img {
  width: 24px;
  height: 24px;
  transition: filter 0.3s var(--ease-out);
}
/* السهم اللي بيشاور للسابق (اليمين في RTL) — مرآة للسهم اللي بيشاور شمال */
.portfolio-arrow--prev img {
  transform: scaleX(1); /* arrow-active.svg بيشاور شمال = السابق في RTL (السابق على اليمين) */
}
/* السهم اللي بيشاور للتالي (الشمال في RTL) —flip horizontally */
.portfolio-arrow--next img {
  transform: scaleX(-1);
}
.portfolio-arrow:hover img {
  filter: brightness(0);
}

/* النقاط */
.portfolio-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}
.portfolio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-spring), width 0.4s var(--ease-out);
}
.portfolio-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  width: 28px;
  border-radius: var(--radius-pill);
}

/* ---------- زرّان في آخر السيكشن ---------- */
.portfolio-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 50px;
  flex-wrap: wrap;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.portfolio-actions.revealed {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.portfolio-action img {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--ease-spring);
}

/* زر محدد (outline) — "اعرف المزيد" */
.portfolio-action--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.portfolio-action--outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14, 35, 63, 0.25);
}
.portfolio-action--outline:hover img {
  transform: translateX(5px);
  filter: brightness(0) invert(1);
}

/* زر ذهبي — "ابدأ مشروعك الآن" */
.portfolio-action--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.3);
}
.portfolio-action--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.portfolio-action--primary:hover img {
  transform: translate(-4px, -4px) rotate(-15deg);
}


/* ============================================================
   سيكشن الأسعار
   ============================================================ */
.pricing {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 201, 76, 0.04), transparent 50%),
    var(--bg);
  padding: 90px 24px 80px;
  overflow: hidden;
}

.pricing-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- رأس السيكشن ---------- */
.pricing-head {
  text-align: center;
  margin-bottom: 56px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.pricing-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pricing-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.pricing-heading-line {
  margin: 0 auto 18px;
}

.pricing-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- شبكة الباقات ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

/* ---------- الكرت ---------- */
.pricing-card {
  position: relative;
  /* الإطار SVG ليه aspect ratio محدد (389×589 = 0.66) — الكرت لازم يحافظ عليه */
  aspect-ratio: 389 / 589;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}
.pricing-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
}
.pricing-card[data-card="0"].revealed { transition-delay: 0ms; }
.pricing-card[data-card="1"].revealed { transition-delay: 150ms; }
.pricing-card[data-card="2"].revealed { transition-delay: 300ms; }

/* الإطار SVG (يغطي الكرت بالكامل) */
.pricing-card-frame {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease-spring);
}
.pricing-card:hover .pricing-card-frame {
  transform: scale(1.01);
}

/* المفتاح في النوتش (في الـ 3 كروت) — حجم أكبر عشان يملى النوتش */
.pricing-card-key {
  position: absolute;
  top: 13px;
  left: 4%;
  width: 23%;
  height: auto;
  z-index: 3;
  animation: keyPulse 3s var(--ease-in-out) infinite;
  filter: drop-shadow(0 4px 8px rgba(242, 201, 76, 0.3));
}
@keyframes keyPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* شارة "الأكثر شعبية" (فقط للكرت الأوسط) */
.pricing-card-badge {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 3;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(242, 201, 76, 0.4);
  animation: badgeBounce 2.5s var(--ease-in-out) infinite;
}
@keyframes badgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* جسم الكرت — محتوى داخل حدود الفريم */
.pricing-card-body {
  position: relative;
  z-index: 1;
  padding: 60px 26px 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
  overflow: hidden;
  align-items: flex-start;
}

/* الكرت الأوسط يرتفع شوية */
.pricing-card--featured {
  z-index: 2;
}

.pricing-card-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.pricing-card-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.pricing-card-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 22px;
}
.pricing-card-currency img {
  width: 18px;
  height: 18px;
}
.pricing-card-amount {
  font-size: 34px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pricing-card-period {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* مميزات الباقة */
.pricing-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
  flex: 1;
}
.pricing-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  font-size: 18px;
  color: #4A5568;
  line-height: 1.4;
}
.pricing-card-features li img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* زر الاشتراك */
.pricing-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.pricing-card-btn:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 35, 63, 0.25);
}

/* زر ذهبي للكرت الأوسط */
.pricing-card-btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.3);
}
.pricing-card-btn--gold:hover {
  background: var(--gold-hover);
  box-shadow: var(--shadow-gold);
}


/* ============================================================
   سيكشن طريقتنا في الشغل
   ============================================================ */
.how {
  position: relative;
  background:
    radial-gradient(circle at 20% 50%, rgba(242, 201, 76, 0.04), transparent 50%),
    var(--bg);
  padding: 90px 24px 80px;
  overflow: hidden;
}

.how-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- رأس السيكشن (عنوان + خط + وصف) فوق في النص ---------- */
.how-head {
  text-align: center;
  margin-bottom: 50px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.how-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.how-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.how-heading-line {
  display: block;
  height: 15px;
  width: 143px;
  max-width: 143px;
  margin: 0 auto 18px;
}

/* خطوط المفتاح الموحدة لكل السيكشنات (بديل الـ bar+dot القديم) */
/* المتمركزة */
.integration-timeline-heading-line,
.integration-services-heading-line,
.integration-deliverables-heading-line,
.training-problems-heading-line {
  display: block;
  height: 15px;
  width: 143px;
  max-width: 143px;
  margin: 0 auto 18px;
}
/* المحاذاة لليمين */
.integration-compare-heading-line,
.training-programs-heading-line {
  display: block;
  height: 15px;
  width: 143px;
  max-width: 143px;
  margin: 0 0 18px;
}

.how-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- العمودين: إطار (شمال) + خطوات (يمين) ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ---------- الإطار الزخرفي (keyhole + لوگو BK) على الشمال ---------- */
.how-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.how-visual.revealed {
  opacity: 1;
  transform: translateY(0);
}

.how-frame {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(242, 201, 76, 0.2));
  animation: howFrameFloat 8s var(--ease-in-out) infinite;
}
@keyframes howFrameFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- الخطوات الـ 4 ---------- */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* خط رابط عمودي بين الخطوات */
.how-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  bottom: 50px;
  right: 27px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  opacity: 0.3;
  z-index: 0;
}

/* الخطوة */
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  position: relative;
  z-index: 1;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.how-step.revealed {
  opacity: 1;
  transform: translateX(0);
}
.how-step[data-step="0"].revealed { transition-delay: 0ms; }
.how-step[data-step="1"].revealed { transition-delay: 150ms; }
.how-step[data-step="2"].revealed { transition-delay: 300ms; }
.how-step[data-step="3"].revealed { transition-delay: 450ms; }

/* رقم الخطوة (دائرة ذهبية) */
.how-step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 0 0 6px rgba(242, 201, 76, 0.1);
}
.how-step:hover .how-step-num {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(242, 201, 76, 0.2);
}

/* جسم الخطوة */
.how-step-body {
  flex: 1;
  padding-top: 6px;
}

.how-step-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color 0.3s var(--ease-out);
}
.how-step:hover .how-step-title {
  color: var(--gold-hover);
}

.how-step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}


/* ============================================================
   سيكشن عملاء وثقوا فينا
   ============================================================ */
.clients {
  position: relative;
  background: var(--navy);
  padding: 80px 0 80px;
  overflow: hidden;
}

.clients-container {
  max-width: 100%;
  margin: 0 auto;
}

/* ---------- رأس السيكشن ---------- */
.clients-head {
  text-align: center;
  max-width: var(--container);
  margin: 0 auto 50px;
  padding: 0 24px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.clients-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.clients-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.clients-heading-line {
  margin: 0 auto 18px;
}

.clients-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: #9FB0C3;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

/* ---------- السلايدر (marquee) ---------- */
.clients-marquee {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clients-row {
  overflow: hidden;
  position: relative;
  /* mask للـ fade على الأطراف */
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  /* مخفي في البداية */
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.clients-track.revealed {
  opacity: 1;
}

/* الصف الأول: رايح من اليمين للشمال */
.clients-row--rtl .clients-track {
  animation: marqueeRTL 30s linear infinite;
}
@keyframes marqueeRTL {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* الصف الثاني: جاي من الشمال لليمين */
.clients-row--ltr .clients-track {
  animation: marqueeLTR 35s linear infinite;
}
@keyframes marqueeLTR {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* pause على hover */
.clients-row:hover .clients-track {
  animation-play-state: paused;
}

/* ---------- لوجو العميل ---------- */
.client-logo {
  flex-shrink: 0;
  width: 200px;
  height: 90px;
  margin-left: 20px; /* بدل gap — عشان اللوب يكون سلس بدون تقطيع */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 24px;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: filter 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
  filter: grayscale(100%) opacity(0.7);
}
.client-logo:hover {
  border-color: rgba(242, 201, 76, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 201, 76, 0.2);
}
.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}


/* ============================================================
   سيكشن ماذا يقول عملاؤنا
   ============================================================ */
.testimonials {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 201, 76, 0.04), transparent 50%),
    var(--bg);
  padding: 90px 24px 80px;
  overflow: hidden;
}

.testimonials-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- رأس السيكشن ---------- */
.testimonials-head {
  text-align: center;
  margin-bottom: 50px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.testimonials-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.testimonials-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.testimonials-heading-line {
  margin: 0 auto 18px;
}

.testimonials-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- شبكة الكروت ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* ---------- الكرت ---------- */
.testimonial-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(14, 35, 63, 0.05);
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-spring), border-color 0.35s var(--ease-out);
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}
.testimonial-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
}
.testimonial-card[data-card="0"].revealed { transition-delay: 0ms; }
.testimonial-card[data-card="1"].revealed { transition-delay: 150ms; }
.testimonial-card[data-card="2"].revealed { transition-delay: 300ms; }

.testimonial-card:hover {
  box-shadow: 0 20px 50px rgba(14, 35, 63, 0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
}

/* أقواس التنصيص على شكل مفاتيح (فوق الكرت) */
.testimonial-quote {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease-spring);
}
.testimonial-card:hover .testimonial-quote {
  transform: scale(1.1);
}

/* نص الرأي */
.testimonial-text {
  font-size: 15px;
  color: #4A5568;
  line-height: 1.85;
  margin-bottom: 20px;
  flex: 1;
}

/* النجوم */
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}
.testimonial-stars span {
  font-size: 18px;
  color: var(--gold);
  line-height: 1;
}

/* معلومات المؤلف */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
}

.testimonial-author-info {
  flex: 1;
}
.testimonial-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}
.testimonial-role {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- أسهم التنقل ---------- */
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.testimonials-nav.revealed {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-nav-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.testimonial-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 201, 76, 0.3);
}
.testimonial-nav-btn img {
  width: 24px;
  height: 24px;
  transition: filter 0.3s var(--ease-out);
}
.testimonial-nav-btn:hover img {
  filter: brightness(0);
}

/* dots */
.testimonials-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}


/* ============================================================
   سيكشن CTA النهائي
   ============================================================ */
.cta-final {
  position: relative;
  background: var(--navy);
  padding: 80px 24px;
  overflow: hidden;
}

/* فيكتورات زخرفية */
.cta-final-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
/* المفتاح (vector.svg) على اليمين */
.cta-final-deco--right {
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 200px;
  height: auto;
  animation: ctaDecoRight 10s var(--ease-in-out) infinite;
}
@keyframes ctaDecoRight {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 12px)) rotate(3deg); }
}
/* الـ keyhole (vector-1.svg) على الشمال */
.cta-final-deco--left {
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  width: 280px;
  height: auto;
  animation: ctaDecoLeft 12s var(--ease-in-out) infinite;
}
@keyframes ctaDecoLeft {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 15px)) rotate(-3deg); }
}

.cta-final-container {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* ---------- النص (يمين) ---------- */
.cta-final-text {
  flex: 1;
  text-align: right;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.cta-final-text.revealed {
  opacity: 1;
  transform: translateX(0);
}

.cta-final-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.cta-final-heading-line {
  display: block;
  height: 8px;
  width: auto;
  max-width: 120px;
  margin: 0 0 18px 0;
}

.cta-final-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: #9FB0C3;
  line-height: 1.85;
  max-width: 500px;
}

/* ---------- الزر (شمال) ---------- */
.cta-final-action {
  flex-shrink: 0;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease-out) 0.2s, transform 0.8s var(--ease-out) 0.2s;
}
.cta-final-action.revealed {
  opacity: 1;
  transform: translateX(0);
}

.cta-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(242, 201, 76, 0.35);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
  white-space: nowrap;
}
.cta-final-btn img {
  width: 24px;
  height: 24px;
  transition: transform 0.4s var(--ease-spring);
}
.cta-final-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.cta-final-btn:hover img {
  transform: translateX(-6px);
}


/* ============================================================
   سيكشن الأسئلة الشائعة
   ============================================================ */
.faq {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 201, 76, 0.04), transparent 50%),
    var(--bg);
  padding: 90px 24px 0;
  overflow: hidden;
}

.faq-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- رأس السيكشن ---------- */
.faq-head {
  text-align: center;
  margin-bottom: 50px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.faq-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.faq-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.faq-heading-line {
  margin: 0 auto 18px;
}

.faq-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

/* ---------- شبكة الأسئلة (2 أعمدة) ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
  align-items: start; /* كل سؤال ياخد ارتفاعه لوحده — لما يتفتح يزق اللي تحته مش اللي جنبه */
}

/* ---------- سؤال (accordion item) ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(20px);
}
.faq-item.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.faq-item[data-faq="0"].revealed { transition-delay: 0ms; }
.faq-item[data-faq="1"].revealed { transition-delay: 60ms; }
.faq-item[data-faq="2"].revealed { transition-delay: 120ms; }
.faq-item[data-faq="3"].revealed { transition-delay: 180ms; }
.faq-item[data-faq="4"].revealed { transition-delay: 240ms; }
.faq-item[data-faq="5"].revealed { transition-delay: 300ms; }
.faq-item[data-faq="6"].revealed { transition-delay: 360ms; }
.faq-item[data-faq="7"].revealed { transition-delay: 420ms; }

.faq-item:hover {
  border-color: rgba(242, 201, 76, 0.4);
  box-shadow: 0 4px 16px rgba(14, 35, 63, 0.06);
}
.faq-item.active {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(14, 35, 63, 0.1);
}

/* زر السؤال */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  text-align: right;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
}
.faq-question:hover {
  color: var(--gold-hover);
}

/* أيقونة chevron */
.faq-chevron {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* الإجابة */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.faq-answer p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}
.faq-item.active .faq-answer p {
  padding-top: 4px;
}

/* ---------- شريط CTA السفلي ---------- */
.faq-cta {
  position: relative;
  background: var(--navy);
  border-radius: 20px;
  padding: 40px 48px;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.faq-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* الفيكتور الزخرفي على الشمال */
.faq-cta-vector {
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  width: 250px;
  height: auto;
  opacity: 0.4;
  pointer-events: none;
  animation: faqVectorFloat 10s var(--ease-in-out) infinite;
}
@keyframes faqVectorFloat {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 10px)) rotate(3deg); }
}

.faq-cta-content {
  position: relative;
  z-index: 1;
}
.faq-cta-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.faq-cta-sub {
  font-size: 14px;
  color: #9FB0C3;
}

.faq-cta-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.3);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}
.faq-cta-btn img {
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--ease-spring);
}
.faq-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.faq-cta-btn:hover img {
  transform: translateX(-5px);
}


/* ============================================================
   سيكشن آخر أخبارنا (البلوج)
   ============================================================ */
.blog {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 201, 76, 0.04), transparent 50%),
    var(--bg);
  padding: 90px 24px 80px;
  overflow: hidden;
}

.blog-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- رأس السيكشن ---------- */
.blog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 50px;
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.blog-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.blog-head-text {
  text-align: right;
}

.blog-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.blog-heading-line {
  display: block;
  height: 8px;
  width: auto;
  max-width: 120px;
  margin: 0 0 18px 0;
}

.blog-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 500px;
}

/* زر المزيد (على الشمال، بدون إطار، سهم + نص) */
.blog-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  padding-top: 8px;
  transition: color 0.3s var(--ease-out), transform 0.35s var(--ease-spring);
  flex-shrink: 0;
}
.blog-more-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.4s var(--ease-spring);
}
.blog-more-link:hover {
  color: var(--gold-hover);
}
.blog-more-link:hover img {
  transform: translateX(-5px);
}

/* ---------- شبكة الكروت ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- الكرت ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(14, 35, 63, 0.05);
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-spring), border-color 0.35s var(--ease-out);
  /* مخفي في البداية */
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}
.blog-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
}
.blog-card[data-card="0"].revealed { transition-delay: 0ms; }
.blog-card[data-card="1"].revealed { transition-delay: 150ms; }
.blog-card[data-card="2"].revealed { transition-delay: 300ms; }

.blog-card:hover {
  box-shadow: 0 20px 50px rgba(14, 35, 63, 0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
}

/* الصورة */
.blog-card-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f8fafc;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}
.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

/* شارة "الجديد" */
.blog-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(242, 201, 76, 0.4);
}

/* جسم الكرت */
.blog-card-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* فوتر الكرت (تاريخ + رابط) */
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.blog-card-date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.3s var(--ease-out);
}
.blog-card-link img {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-spring);
}
.blog-card-link:hover {
  color: var(--gold-hover);
}
.blog-card-link:hover img {
  transform: translateX(-4px);
}

/* غلاف رابط يجعل الكارت كله قابلاً للضغط */
.blog-card-link-wrap {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}


/* ============================================================
   الفوتر
   ============================================================ */
.site-footer {
  flex-shrink: 0;
  background: #060e19;
  color: #fff;
  margin-top: auto; /* يضمن الفوتر في الآخر */
  position: relative;
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- قسم النشرة البريدية ---------- */
.footer-newsletter {
  padding: 44px 24px 24px;
}
.footer-newsletter .footer-container {
  background: #071322;
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-text {
  flex: 1;
  min-width: 240px;
}
.newsletter-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.newsletter-sub {
  font-size: 14px;
  color: #9FB0C3;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 280px;
  max-width: 520px;
  position: relative;
}
.input-wrap {
  position: relative;
  flex: 1;
}
.input-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
}
.newsletter-form input {
  width: 100%;
  background: #1e2837;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  padding: 13px 42px 13px 16px; /* right padding for icon */
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.newsletter-form input::placeholder { color: #6B7E94; }
.newsletter-form input:focus {
  border-color: var(--gold);
  background: #283448;
}
.newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--radius);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(242, 201, 76, 0.3);
  transition: background 0.3s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.3s var(--ease-out);
}
.newsletter-btn svg {
  color: var(--navy);
  transition: transform 0.4s var(--ease-spring);
}
.newsletter-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.newsletter-btn:hover svg { transform: translate(-3px, -3px) rotate(-12deg); }
.newsletter-btn:active { transform: translateY(0) scale(0.97); }

.newsletter-msg {
  position: absolute;
  bottom: -24px;
  right: 0;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.newsletter-msg.show {
  opacity: 1;
  transform: translateY(0);
}
.newsletter-msg.success { color: #4ADE80; }
.newsletter-msg.error { color: #F87171; }

/* ---------- الفوتر الرئيسي ---------- */
.footer-main {
  padding: 56px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
}
.footer-heading {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* قوائم الروابط */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #9FB0C3;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  position: relative;
  width: fit-content;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
  margin-left: 4px;
}
.footer-links a:hover {
  color: var(--gold);
  transform: translateX(-4px); /* يتحرك لليمين في RTL */
}
.footer-links a:hover::before { width: 12px; }

/* عناصر التواصل */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9FB0C3;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s var(--ease-out);
}
.contact-item--static { cursor: default; }
.contact-ic {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(242, 201, 76, 0.1);
  border-radius: 9px;
  color: var(--gold);
  transition: background 0.35s var(--ease-out), transform 0.4s var(--ease-spring);
}
a.contact-item:hover { color: #fff; }
a.contact-item:hover .contact-ic {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1) rotate(-5deg);
}

/* ---------- العمود 4: عن براند كي ---------- */
.footer-col--about {
  /* يبدأ باللوگو مباشرة بدون heading مكرر — لكن هنخلي الheading للهيكل */
}
.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  transition: transform 0.4s var(--ease-spring);
}
.footer-logo:hover { transform: scale(1.03); }
.footer-logo-img {
  height: 48px;
  width: auto;
}
.footer-desc {
  color: #9FB0C3;
  font-size: 13.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  background: transparent;
  width: fit-content;
  margin-bottom: 20px;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}
.footer-cta svg {
  color: var(--gold);
  transition: transform 0.4s var(--ease-spring), color 0.35s var(--ease-out);
}
.footer-cta:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.footer-cta:hover svg {
  color: var(--navy);
  transform: translateX(-4px);
}

/* أيقونات السوشيال */
.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--gold);
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.4s var(--ease-spring), border-color 0.35s var(--ease-out);
}
.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.05);
}
.social-link:active { transform: translateY(-1px) scale(0.98); }

/* ---------- الشريط السفلي ---------- */
.footer-bottom {
  padding: 0 0 18px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}
.legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-links a {
  color: #9FB0C3;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s var(--ease-out);
}
.legal-links a:hover { color: var(--gold); }
.legal-sep { color: #4A5C72; font-size: 13px; }
.copyright {
  color: #9FB0C3;
  font-size: 13px;
  font-weight: 500;
}

/* ---------- أنيميشن دخول الفوتر عند الـ scroll ---------- */
.footer-col {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.footer-col.in-view {
  opacity: 1;
  transform: translateY(0);
}
.footer-newsletter, .footer-bottom {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.footer-newsletter.in-view, .footer-bottom.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   Responsive
   ============================================================ */

/* تابلت */
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header-inner { padding: 0 18px; gap: 10px; }
  .logo-img { height: 44px; }
  .header-actions { gap: 8px; }
  .cta-btn { padding: 10px 16px; font-size: 14px; }
  .menu-btn { width: 50px; height: 44px; }
  .search-btn { width: 44px; height: 44px; }
  .nav-panel { padding: 24px 22px 20px; }

  /* الهيرو على التابلت: عمود واحد */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-text { align-items: center; }
  .hero-subtitle { text-align: center; }
  .hero-visual { order: -1; min-height: 360px; }
  .hero-circle { width: min(320px, 70vw); height: min(320px, 70vw); }
  .hero-float--growth { left: 2%; }
  .hero-float--brand { right: 2%; }

  /* الخدمات على التابلت: عمودين */
  .services { padding: 70px 20px 60px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .services-head { margin-bottom: 44px; }

  /* الاستشارات على التابلت: عمودين */
  .consult { padding: 60px 20px; }
  .consult-container { gap: 20px; }
  .consult-card { padding: 32px 28px; }
  .consult-key-bg { width: 280px; left: -40px; }

  /* القطاعات على التابلت: عمودين */
  .sectors { padding: 60px 20px 50px; }
  .sectors-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sectors-head { margin-bottom: 40px; }
  .sectors-deco--vector { width: 260px; bottom: -50px; left: -40px; }
  .sectors-deco--frame { width: 80px; top: 30px; left: -10px; }

  /* CTA الثاني على التابلت: عمودين */
  .cta2 { padding: 64px 20px; }
  .cta2-head { margin-bottom: 36px; }
  .cta2-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .cta2-card { padding: 28px 24px; }
  .cta2-keyhole { opacity: 0.4; }
  .cta2-card[data-card="2"] { grid-column: 1 / -1; }

  /* أعمالنا على التابلت: سلايدر coverflow أصغر */
  .portfolio { padding: 64px 20px; }
  .portfolio-head { margin-bottom: 44px; }
  .portfolio-viewport { height: 500px; }
  .portfolio-card { width: min(620px, 88vw); }
  .portfolio-card-body { padding: 30px 26px; }
  .portfolio-card-visual { min-height: 260px; }

  /* الأسعار على التابلت: عمود واحد */
  .pricing { padding: 60px 20px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 24px; }
  .pricing-card-body { padding: 56px 24px 26px; }
  .pricing-card-name { font-size: 19px; }
  .pricing-card-amount { font-size: 32px; }
  .pricing-card-features li { font-size: 13px; }
  .pricing-card-key { width: 22%; left: 9%; }

  /* طريقتنا على التابلت: عمود واحد */
  .how { padding: 60px 20px; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-visual { order: -1; }
  .how-frame { max-width: 320px; }
  .how-head { margin-bottom: 36px; }
  .how-steps { max-width: 480px; margin: 0 auto; }

  /* العملاء على التابلت */
  .clients { padding: 60px 0 50px; }
  .clients-head { margin-bottom: 36px; }
  .client-logo { width: 170px; height: 80px; }
  .client-logo span { font-size: 15px; }

  /* آراء العملاء على التابلت: عمودين */
  .testimonials { padding: 60px 20px; }
  .testimonials-head { margin-bottom: 36px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .testimonial-card[data-card="2"] { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; }

  /* CTA النهائي على التابلت */
  .cta-final { padding: 60px 20px; }
  .cta-final-container { flex-direction: column; text-align: center; gap: 28px; }
  .cta-final-text { text-align: center; }
  .cta-final-heading-line { margin: 0 auto 18px; }
  .cta-final-desc { max-width: none; }
  .cta-final-deco--right { width: 140px; }
  .cta-final-deco--left { width: 180px; }

  /* الأسئلة على التابلت: عمود واحد */
  .faq { padding: 60px 20px 0; }
  .faq-head { margin-bottom: 36px; }
  .faq-grid { grid-template-columns: 1fr; gap: 12px; }
  .faq-cta { padding: 32px 28px; flex-direction: column; text-align: center; gap: 18px; }
  .faq-cta-vector { width: 180px; }

  /* البلوج على التابلت: عمودين */
  .blog { padding: 60px 20px 50px; }
  .blog-head { margin-bottom: 36px; }
  .blog-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .blog-card[data-card="2"] { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; }

  /* الفوتر على التابلت: عمودين */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  /* عمود "عن براند كي" (الآن هو الأول يمين) يفضل في flow طبيعي */
  .footer-col--about { grid-column: auto; }
  .footer-newsletter { padding: 32px 24px; }
  .footer-newsletter .footer-container { padding: 28px 28px; }
  .footer-main { padding: 44px 0 36px; }
}

/* موبايل */
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .header-inner { padding: 0 14px; gap: 6px; }

  /* إخفاء نص الـ CTA على الموبايل الصغير جداً والاكتفاء بالأيقونة */
  .cta-btn { padding: 10px 14px; font-size: 13px; gap: 6px; }
  .cta-btn span:first-child { display: none; }
  .cta-btn { padding: 10px 12px; }
  .cta-icon { width: 18px; height: 18px; }

  /* زر اللغة: إخفاء النص وإبقاء الأيقونة */
  .lang-btn span { display: none; }
  .lang-btn { padding: 8px; }

  .menu-btn { width: 46px; height: 42px; }
  .search-btn { width: 42px; height: 42px; }
  .logo-img { height: 38px; }

  .nav-panel {
    width: 100%;
    padding: 22px 18px 18px;
  }
  /* موبايل: الأقسام عمودي + توجال accordion */
  .nav-sections { grid-template-columns: 1fr; gap: 10px; }
  .nav-section { padding: 14px 14px; }
  .nav-section-chevron { display: inline-flex; }
  /* القسم المقفول: نخفي القائمة */
  .nav-section:not(.active-mobile) .nav-section-list {
    display: none;
  }
  /* القسم المقفول: نشيل الـ border-bottom من heading */
  .nav-section:not(.active-mobile) .nav-section-heading {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .nav-section-list { grid-template-columns: 1fr; }
  .nav-links { grid-template-columns: 1fr; gap: 8px; }
  .nav-link { padding: 12px 14px; }
  .nav-intro-title { font-size: 22px; }
  .nav-cta { font-size: 15px; padding: 13px 20px; }
  .close-btn { top: 18px; left: 18px; width: 40px; height: 40px; }

  /* الهيرو على الموبايل */
  .hero { padding: calc(var(--header-h) + 24px) 16px 40px; }
  .hero-container { gap: 28px; }
  .hero-visual { min-height: 300px; }
  .hero-circle { width: min(260px, 75vw); height: min(260px, 75vw); }
  .hero-cta-group { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { gap: 16px; justify-content: center; }
  .stat-divider { display: none; }
  .hero-float { padding: 10px 12px; }
  .hero-float-text strong { font-size: 13px; }
  .hero-float-text span { font-size: 10px; }
  .hero-float--growth { left: 0; top: 8%; }
  .hero-float--brand { right: 0; bottom: 10%; }
  .hero-scroll { display: none; }

  /* الخدمات على الموبايل: عمود واحد */
  .services { padding: 50px 16px 40px; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .services-head { margin-bottom: 36px; }
  .services-title { font-size: 28px; }
  .services-desc { font-size: 14px; }
  .services-more-btn { width: 100%; justify-content: center; }
  .service-card-visual { height: 170px; }
  .service-card-img { max-height: 130px; }
  .service-card-body { padding: 22px 20px 20px; }
  .service-card-title { font-size: 18px; }
  .service-card-num { font-size: 32px; }

  /* الاستشارات على الموبايل: عمود واحد */
  .consult { padding: 44px 16px; }
  .consult-container { grid-template-columns: 1fr; gap: 16px; }
  .consult-card { padding: 28px 22px; }
  .consult-card-title { font-size: 20px; }
  .consult-card-desc { font-size: 14px; }
  .consult-btn { width: 100%; justify-content: center; }
  .consult-key-bg { width: 220px; left: -30px; opacity: 0.3; }

  /* القطاعات على الموبايل: عمود واحد */
  .sectors { padding: 44px 16px 36px; }
  .sectors-grid { grid-template-columns: 1fr; gap: 12px; }
  .sectors-head { margin-bottom: 32px; }
  .sectors-title { font-size: 24px; }
  .sectors-desc { font-size: 14px; }
  .sector-card { padding: 16px 14px; gap: 12px; }
  .sector-card-icon { width: 42px; height: 42px; }
  .sector-card-icon svg { width: 20px; height: 20px; }
  .sector-card-title { font-size: 15px; }
  .sector-card-desc { font-size: 12px; }
  .sector-card-arrow { width: 28px; height: 28px; }
  .sector-card-arrow svg { width: 16px; height: 16px; }
  .sectors-more-btn { width: 100%; justify-content: center; }
  .sectors-deco--vector { width: 180px; bottom: -30px; left: -20px; opacity: 0.3; }
  .sectors-deco--frame { width: 60px; top: 20px; left: 0; opacity: 0.3; }

  /* CTA الثاني على الموبايل: عمود واحد */
  .cta2 { padding: 48px 16px; }
  .cta2-container { align-items: stretch; }
  .cta2-head { text-align: center; margin-bottom: 28px; }
  .cta2-heading-line { margin: 0 auto 18px; }
  .cta2-desc { text-align: center; max-width: none; }
  .cta2-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta2-card { padding: 26px 22px; gap: 14px; }
  .cta2-card[data-card="2"] { grid-column: auto; }
  .cta2-card-title { font-size: 19px; }
  .cta2-card-desc { font-size: 13.5px; }
  .cta2-btn { width: 100%; justify-content: center; }
  .cta2-keyhole { opacity: 0.2; }

  /* أعمالنا على الموبايل: كروت عمودية تحت بعضها (سلايدر بيطّلع) */
  .portfolio { padding: 48px 16px 40px; }
  .portfolio-head { margin-bottom: 36px; }
  .portfolio-title { font-size: 24px; }
  .portfolio-desc { font-size: 14px; }

  /* على الموبايل: نشيل سلوك الـ coverflow ونخلي الكروت تحت بعضها */
  .portfolio-viewport {
    height: auto;
    padding: 0;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .portfolio-track {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 20px;
    perspective: none;
  }
  .portfolio-card {
    position: static;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
    grid-template-columns: 1fr;
    cursor: default;
    box-shadow: 0 4px 20px rgba(14, 35, 63, 0.06);
  }
  .portfolio-card[data-pos="0"],
  .portfolio-card[data-pos="0"]:hover {
    transform: none !important;
    box-shadow: 0 4px 20px rgba(14, 35, 63, 0.06);
    border-color: var(--line);
  }
  /* نشيل التعتيم الأبيض اللي على الجوانب */
  .portfolio-card[data-pos="-1"]::after,
  .portfolio-card[data-pos="1"]::after { display: none; }
  .portfolio-card--reverse .portfolio-card-visual { order: 0; }
  .portfolio-card-visual { min-height: 200px; }
  .portfolio-card-body { padding: 24px 20px; }
  .portfolio-card-title { font-size: 19px; }
  .portfolio-card-excerpt { font-size: 14px; }
  .portfolio-card-btn { width: 100%; justify-content: center; }
  /* إخفاء أسهم التحكم على الموبايل — الكروت كلها ظاهرة */
  .portfolio-controls { display: none; }

  .portfolio-actions { flex-direction: column; gap: 12px; margin-top: 36px; }
  .portfolio-action { width: 100%; justify-content: center; }

  /* الأسعار على الموبايل */
  .pricing { padding: 44px 16px 36px; }
  .pricing-head { margin-bottom: 36px; }
  .pricing-title { font-size: 24px; }
  .pricing-desc { font-size: 14px; }
  .pricing-grid { gap: 20px; }
  .pricing-card-body { padding: 52px 20px 24px; }
  .pricing-card-name { font-size: 18px; }
  .pricing-card-amount { font-size: 28px; }
  .pricing-card-features li { font-size: 17px; }
  .pricing-card-features li img { width: 18px; height: 18px; }
  .pricing-card-key { width: 23%; left: 4%; top: 12px; }
  .pricing-card-badge { top: 22px; right: 22px; font-size: 10px; padding: 4px 10px; }
  .pricing-card-btn { font-size: 12px; padding: 10px 16px; }

  /* طريقتنا على الموبايل */
  .how { padding: 44px 16px 36px; }
  .how-container { gap: 28px; }
  .how-frame { max-width: 240px; }
  .how-title { font-size: 24px; }
  .how-desc { font-size: 14px; }
  .how-head { margin-bottom: 28px; }
  .how-step { gap: 14px; padding: 14px 0; }
  .how-step-num { width: 46px; height: 46px; font-size: 15px; }
  .how-steps::before { right: 23px; }
  .how-step-title { font-size: 17px; }
  .how-step-desc { font-size: 13px; }

  /* العملاء على الموبايل */
  .clients { padding: 44px 0 36px; }
  .clients-head { margin-bottom: 28px; padding: 0 16px; }
  .clients-title { font-size: 24px; }
  .clients-desc { font-size: 14px; }
  .client-logo { width: 140px; height: 68px; padding: 10px 16px; }
  .client-logo span { font-size: 13px; }
  .clients-marquee { gap: 14px; }

  /* آراء العملاء على الموبايل: عمود واحد */
  .testimonials { padding: 44px 16px 36px; }
  .testimonials-head { margin-bottom: 28px; }
  .testimonials-title { font-size: 24px; }
  .testimonials-desc { font-size: 14px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card[data-card="2"] { grid-column: auto; max-width: none; }
  .testimonial-card { padding: 28px 22px 22px; }
  .testimonial-text { font-size: 14px; }
  .testimonial-nav-btn { width: 40px; height: 40px; }
  .testimonial-nav-btn img { width: 20px; height: 20px; }

  /* CTA النهائي على الموبايل */
  .cta-final { padding: 44px 16px; }
  .cta-final-title { font-size: 22px; }
  .cta-final-desc { font-size: 14px; }
  .cta-final-btn { width: 100%; justify-content: center; font-size: 15px; padding: 14px 24px; }
  .cta-final-deco--right { width: 100px; opacity: 0.3; }
  .cta-final-deco--left { width: 130px; opacity: 0.3; }

  /* الأسئلة على الموبايل */
  .faq { padding: 44px 16px 0; }
  .faq-title { font-size: 24px; }
  .faq-desc { font-size: 14px; }
  .faq-question { font-size: 14px; padding: 16px 16px; }
  .faq-chevron { width: 32px; height: 32px; }
  .faq-answer p { font-size: 13px; padding: 0 16px 16px; }
  .faq-cta { padding: 28px 20px; margin-bottom: 50px; }
  .faq-cta-title { font-size: 19px; }
  .faq-cta-sub { font-size: 13px; }
  .faq-cta-btn { width: 100%; justify-content: center; }
  .faq-cta-vector { width: 130px; opacity: 0.3; }

  /* البلوج على الموبايل: عمود واحد */
  .blog { padding: 44px 16px 36px; }
  .blog-head { flex-direction: column; gap: 14px; }
  .blog-head-text { text-align: center; }
  .blog-heading-line { margin: 0 auto 14px; }
  .blog-desc { text-align: center; max-width: none; }
  .blog-more-link { align-self: center; }
  .blog-title { font-size: 24px; }
  .blog-desc { font-size: 14px; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .blog-card[data-card="2"] { grid-column: auto; max-width: none; }
  .blog-card-visual { height: 180px; }
  .blog-card-title { font-size: 16px; }
  .blog-card-excerpt { font-size: 13px; }

  /* الفوتر على الموبايل */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-newsletter { padding: 28px 16px; }
  .footer-newsletter .footer-container { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .newsletter-form { width: 100%; max-width: none; flex-wrap: wrap; }
  .newsletter-title { font-size: 19px; }
  .newsletter-sub { font-size: 13px; }
  .footer-main { padding: 36px 0 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer-logo-img { height: 42px; }
  .footer-cta { width: 100%; justify-content: center; }
}

/* ============================================================
   صفحة من نحن — السيكشنات الأربعة الجديدة
   ============================================================ */

/* ---------- سيكشن 1: استكشف النجاح (3 أعمدة إحصائيات) ---------- */
.about-explore {
  position: relative;
  background: var(--bg);
  padding: 90px 24px 80px;
  overflow: hidden;
}
.about-explore-container {
  max-width: var(--container);
  margin: 0 auto;
}
.about-explore-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.about-explore-head.revealed {
  opacity: 1;
  transform: translateY(0);
}
.about-explore-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.about-explore-heading-line {
  margin: 0 auto 18px;
}
.about-explore-desc {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--muted);
  line-height: 1.9;
}
.about-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-explore-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  /* مستطيل أفقي — aspect ratio ~3:1 */
  aspect-ratio: 3 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out);
  will-change: transform, opacity;
}
.about-explore-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.about-explore-card[data-card="0"].revealed { transition-delay: 0ms; }
.about-explore-card[data-card="1"].revealed { transition-delay: 150ms; }
.about-explore-card[data-card="2"].revealed { transition-delay: 300ms; }
.about-explore-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(14, 35, 63, 0.3);
}
/* ألوان أزرق متدرجة من اليمين (غامق) للشمال (فاتح) */
.about-explore-card--1 {
  background: #153D72;
}
.about-explore-card--2 {
  background: #2B578F;
}
.about-explore-card--3 {
  background: #5073A0;
}
/* فيكتور زخرفي أبيض شبه شفاف على الطرف الشمال لكل كارت
   — أكبر من الكارت عشان القطع الداخلي ميبانش، والكارت بقى overflow:hidden بقصه من فوق وتحت */
.about-explore-card-vector {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 165%;
  width: auto;
  opacity: 0.5;
  pointer-events: none;
  object-fit: cover;
  z-index: 0;
}
.about-explore-card-num {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.about-explore-card-label {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
}

/* ---------- سيكشن 2: نحن (نص يمين + صورة شمال) ---------- */
.about-us {
  position: relative;
  background: var(--bg);
  padding: 80px 24px;
  overflow: hidden;
}
.about-us-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
/* الصورة على الشمال */
.about-us-visual {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.about-us-visual.revealed {
  opacity: 1;
  transform: translateX(0);
}
.about-us-image-wrap {
  position: relative;
  /* شكل بيضاوي: 550x287 مع border-radius 136 على كل الأطراف */
  width: 550px;
  max-width: 100%;
  aspect-ratio: 550 / 287;
  border-radius: 136px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(14, 35, 63, 0.15);
}
.about-us-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* علامة مائية في وسط الصورة */
.about-us-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: auto;
  opacity: 0.45;
  pointer-events: none;
  object-fit: contain;
}
/* النص على اليمين */
.about-us-content {
  order: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: 150ms;
}
.about-us-content.revealed {
  opacity: 1;
  transform: translateX(0);
}
.about-us-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.about-us-heading-line {
  margin: 0 0 22px;
}
.about-us-desc {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--muted);
  line-height: 2;
}

/* ---------- سيكشن 3: لماذا (نص شمال + صورة يمين — عكس نحن) ---------- */
.about-why {
  position: relative;
  background: var(--bg-soft);
  padding: 80px 24px;
  overflow: hidden;
}
.about-why-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
/* النص أول في source، في RTL بيظهر يمين — بس إحنا عاوزينه شمال */
.about-why-content {
  order: 1;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.about-why-content.revealed {
  opacity: 1;
  transform: translateX(0);
}
.about-why-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.about-why-heading-line {
  margin: 0 0 22px;
}
.about-why-desc {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--muted);
  line-height: 2;
}
/* الصورة تانية في source، في RTL بتظهر شمال — بس عاوزينها يمين */
.about-why-visual {
  order: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: 150ms;
}
.about-why-visual.revealed {
  opacity: 1;
  transform: translateX(0);
}
.about-why-image-wrap {
  position: relative;
  /* شكل بيضاوي: 550x287 مع border-radius 136 على كل الأطراف */
  width: 550px;
  max-width: 100%;
  aspect-ratio: 550 / 287;
  border-radius: 136px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(14, 35, 63, 0.15);
}
.about-why-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* علامة مائية في وسط الصورة */
.about-why-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: auto;
  opacity: 0.45;
  pointer-events: none;
  object-fit: contain;
}

/* ---------- سيكشن 4: لا تقلق بشأن الأمان ---------- */
.about-security {
  position: relative;
  background: var(--bg);
  padding: 90px 24px 0;
  overflow: hidden;
}
.about-security-container {
  max-width: var(--container);
  margin: 0 auto;
}
.about-security-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.about-security-head.revealed {
  opacity: 1;
  transform: translateY(0);
}
.about-security-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.about-security-heading-line {
  margin: 0 auto 18px;
}
.about-security-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  line-height: 1.9;
}
.about-security-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 28px;
}
/* مستطيل 620×182 + إطار E5E7EB 1px */
.about-security-card {
  position: relative;
  flex: 1 1 0;
  max-width: 620px;
  min-height: 182px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-spring), border-color 0.35s var(--ease-out);
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}
.about-security-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
}
.about-security-card[data-card="0"].revealed { transition-delay: 0ms; }
.about-security-card[data-card="1"].revealed { transition-delay: 150ms; }
.about-security-card:hover {
  box-shadow: 0 20px 40px rgba(14, 35, 63, 0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
}
/* أيقونة في مربع 72×72 لونه #0E233F — أعلى اليمين (محاذية لأول الكلام) */
.about-security-card-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius);
  /* في RTL: أول عنصر flex بيبقى على اليمين — فهتكون أعلى اليمين */
  order: 1;
}
/* جسم الكارت — الكلام بياخد باقي المساحة جنب الأيقونة */
.about-security-card-body {
  flex: 1;
  min-width: 0;
  order: 2;
}
.about-security-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.about-security-card-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
}
/* مستطيل كبير 1280×128 — لون #0E233F — تايتل+دسكربشن يمين + زر أصفر شمال */
.about-security-cta {
  position: relative;
  background: #0E233F;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 128px;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.about-security-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}
.about-security-cta-deco {
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
/* النص (تايتل + دسكربشن) على اليمين */
.about-security-cta-text {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: right;
}
.about-security-cta-title {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.35;
}
.about-security-cta-desc {
  font-size: clamp(13px, 1.2vw, 15px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}
/* الزر الأصفر على الشمال */
.about-security-cta-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.35);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.about-security-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.about-security-cta-btn:hover svg {
  transform: translateX(-5px);
}
.about-security-cta-btn svg {
  transition: transform 0.4s var(--ease-spring);
}

/* ============================================================
   سيكشن العقول خلف المنظومة (سلايدر التيم)
   ============================================================ */
.about-team {
  position: relative;
  background: var(--bg);
  padding: 90px 24px 80px;
  overflow: hidden;
}
.about-team-container {
  max-width: var(--container);
  margin: 0 auto;
}
/* رأس السيكشن على اليمين (تايتل + لاين + ديسكربشن) — RTL */
.about-team-head {
  text-align: right;
  max-width: 560px;
  margin: 0 0 56px auto;
  margin-right: 0;
  margin-left: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.about-team-head.revealed {
  opacity: 1;
  transform: translateY(0);
}
.about-team-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.about-team-heading-line {
  margin: 0 0 18px 0;
  margin-right: 0;
  margin-left: auto;
}
.about-team-desc {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--muted);
  line-height: 1.9;
}
/* السلايدر */
.about-team-slider {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.about-team-slider.revealed {
  opacity: 1;
  transform: translateY(0);
}
.about-team-viewport {
  position: relative;
  overflow: hidden;
  /* mask خفيفة عشان الحواف تتلاشى */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.about-team-track {
  display: flex;
  gap: 20px;
  transition: transform 0.7s var(--ease-spring);
  will-change: transform;
  padding: 8px 0;
}
/* كارت العضو — صورة + أوفرلاي أسود + اسم ووظيفة تحت يمين */
.about-team-card {
  position: relative;
  flex: 0 0 calc((100% - 60px) / 4); /* 4 كروت = 3 فجوات × 20px = 60px */
  max-width: 280px;
  aspect-ratio: 292 / 545;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0E233F;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(14, 35, 63, 0.12);
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-spring);
}
.about-team-card:hover {
  box-shadow: 0 20px 40px rgba(14, 35, 63, 0.22);
  transform: translateY(-6px);
}
/* صورة العضو (div بـ background-image عشان object-fit: cover يشتغل صح) */
.about-team-card-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.6s var(--ease-spring);
}
.about-team-card:hover .about-team-card-photo {
  transform: scale(1.05);
}
/* أوفرلاي أسود شبه شفاف فوق الصورة */
.about-team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}
/* معلومات العضو (اسم + وظيفة) — تحت يمين */
.about-team-card-info {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  text-align: right;
  z-index: 1;
}
.about-team-card-name {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.about-team-card-role {
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}
/* أزرار التحكم (أسهم + نقاط) */
.about-team-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.about-team-arrow {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.about-team-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 201, 76, 0.3);
}
.about-team-arrow:active { transform: translateY(0); }
.about-team-arrow img {
  width: 24px;
  height: 24px;
  transition: filter 0.3s var(--ease-out);
}
.about-team-arrow--prev img { transform: scaleX(1); }
.about-team-arrow--next img { transform: scaleX(-1); }
.about-team-arrow:hover img { filter: brightness(0); }
/* النقاط */
.about-team-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  border: none;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-spring), width 0.4s var(--ease-out);
}
.about-team-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  width: 28px;
  border-radius: var(--radius-pill);
}

/* ---------- ريسبونسف للسيكشنات الجديدة ---------- */
@media (max-width: 900px) {
  /* منظومة التكامل */
  .about-explore { padding: 64px 20px 60px; }
  .about-explore-head { margin-bottom: 40px; }
  .about-explore-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-explore-card { padding: 32px 24px; aspect-ratio: auto; min-height: 130px; }

  /* رؤيتنا */
  .about-us { padding: 60px 20px; }
  .about-us-container { grid-template-columns: 1fr; gap: 36px; }
  .about-us-visual { order: -1; }
  .about-us-image-wrap { width: 100%; max-width: 450px; margin: 0 auto; }

  /* رسالتنا */
  .about-why { padding: 60px 20px; }
  .about-why-container { grid-template-columns: 1fr; gap: 36px; }
  .about-why-visual { order: -1; }
  .about-why-image-wrap { width: 100%; max-width: 450px; margin: 0 auto; }

  /* الأمان */
  .about-security { padding: 64px 20px; }
  .about-security-head { margin-bottom: 40px; }
  .about-security-grid { flex-direction: column; gap: 20px; }
  .about-security-card { flex: 0 0 auto; width: 100%; max-width: 100%; min-height: auto; padding: 24px 22px; }
  .about-security-card-icon { width: 60px; height: 60px; }
  .about-security-card-body { }
  .about-security-cta { flex-direction: column; align-items: stretch; text-align: right; padding: 28px 22px; }
  .about-security-cta-text { text-align: right; }
  .about-security-cta-btn { align-self: flex-start; }

  /* العقول خلف المنظومة — على التابلت: كارتين بدل 4 */
  .about-team { padding: 64px 20px 60px; }
  .about-team-head { max-width: 100%; margin-bottom: 36px; }
  .about-team-card { flex: 0 0 calc((100% - 20px) / 2); max-width: 320px; }
}

@media (max-width: 600px) {
  /* منظومة التكامل */
  .about-explore { padding: 48px 16px 40px; }
  .about-explore-head { margin-bottom: 32px; }
  .about-explore-card { padding: 26px 18px; min-height: 110px; }
  .about-explore-card-num { font-size: 30px; }
  .about-explore-card-label { font-size: 13px; }
  .about-explore-card-vector { height: 150%; }

  /* رؤيتنا */
  .about-us { padding: 44px 16px; }
  .about-us-title { font-size: 24px; }
  .about-us-desc { font-size: 14px; }
  /* رؤيتنا / رسالتنا — صورة بيضاوية أعرض على الموبايل */
  .about-us-image-wrap, .about-why-image-wrap { border-radius: 90px; }
  .about-us-watermark, .about-why-watermark { width: 35%; }

  /* رسالتنا */
  .about-why { padding: 44px 16px; }
  .about-why-title { font-size: 24px; }
  .about-why-desc { font-size: 14px; }

  /* الأمان */
  .about-security { padding: 48px 16px; }
  .about-security-title { font-size: 24px; }
  .about-security-sub { font-size: 14px; }
  .about-security-card { padding: 20px 16px; }
  .about-security-card-icon { width: 52px; height: 52px; }
  .about-security-card-icon svg { width: 26px; height: 26px; }
  .about-security-card-body { }
  .about-security-card-title { font-size: 19px; }
  .about-security-card-desc { font-size: 13.5px; }
  .about-security-cta { padding: 24px 18px; }
  .about-security-cta-btn { width: 100%; justify-content: center; align-self: stretch; }

  /* العقول خلف المنظومة — على الموبايل: كارت واحد + أسهم أكبر */
  .about-team { padding: 48px 16px 40px; }
  .about-team-head { max-width: 100%; margin-bottom: 28px; }
  .about-team-title { font-size: 26px; }
  .about-team-desc { font-size: 14px; }
  .about-team-card { flex: 0 0 85%; max-width: 260px; }
  .about-team-card-name { font-size: 17px; }
  .about-team-card-role { font-size: 12px; }
  .about-team-arrow { width: 44px; height: 44px; }
  .about-team-arrow img { width: 20px; height: 20px; }
  .about-team-controls { gap: 16px; margin-top: 28px; }
}

/* ============================================================
   صفحة المدونة — سيكشن المدونة الرئيسية
   ============================================================ */
.blog-main {
  position: relative;
  background: var(--bg);
  padding: 70px 24px 80px;
}
.blog-main-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- شريط البحث + الفلاتر ---------- */
.blog-filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
/* شريط البحث (يمين) — مستطيل بحواف مستديرة */
.blog-search-wrap {
  position: relative;
  flex: 0 1 360px;
  max-width: 440px;
  min-width: 220px;
}
.blog-search-input {
  width: 100%;
  height: 52px;
  padding: 0 56px 0 20px; /* يمين مساحة للأيقونة */
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.blog-search-input::placeholder { color: var(--muted-2); }
.blog-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.15);
}
.blog-search-btn {
  position: absolute;
  top: 50%;
  left: 8px; /* شمال في RTL */
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease-out);
}
.blog-search-btn:hover { background: var(--gold-hover); }
/* المنيو المنسدلة "الفئة" (شمال شريط البحث) */
.blog-dropdown-wrap {
  position: relative;
}
.blog-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.blog-dropdown-btn:hover { border-color: var(--gold); }
.blog-dropdown-btn[aria-expanded="true"] { border-color: var(--gold); background: #FFF8E6; }
.blog-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 6px;
  margin: 0;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}
.blog-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.blog-dropdown-menu li {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}
.blog-dropdown-menu li:hover { background: var(--bg-soft); }
/* أزرار الفلاتر (وسط) — 3 أزرار، قابلة للانكماش */
.blog-filter-btns {
  display: flex;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}
/* المنيو المنسدلة (شمال خالص) — margin-right: auto يدفعلها لليسار في RTL */
.blog-dropdown-wrap {
  margin-right: auto;
  flex: 0 1 auto;
  min-width: 0;
}
.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.blog-filter-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
/* الزر المتفعل — ذهبي، كتابة بيضاء */
.blog-filter-btn.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.blog-filter-btn.active .blog-filter-count { color: #fff; }
.blog-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: rgba(14, 35, 63, 0.08);
  color: var(--navy);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
}
.blog-filter-btn.active .blog-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.blog-filter-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* ---------- المقال البارز (Featured) ---------- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(14, 35, 63, 0.06);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.blog-featured.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* اليمين: صورة عرضية كبيرة */
.blog-featured-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-featured-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  z-index: 1;
}
/* الشمال: تايتل + ديسكريبشن + ميتا */
.blog-featured-body {
  padding: 12px 8px;
}
.blog-featured-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}
.blog-featured-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 24px;
}
.blog-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-featured-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.blog-featured-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  transition: gap 0.3s var(--ease-spring);
}
.blog-featured-more:hover { gap: 12px; }

/* ---------- جريد المقالات (9 مقالات) ---------- */
.blog-grid-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.blog-grid-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
  will-change: transform, opacity;
}
.blog-grid-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.blog-grid-card:hover {
  box-shadow: 0 20px 40px rgba(14, 35, 63, 0.12);
  border-color: var(--gold);
}
.blog-grid-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.blog-grid-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}
.blog-grid-card:hover .blog-grid-card-img { transform: scale(1.06); }
.blog-grid-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  z-index: 1;
}
.blog-grid-card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-grid-card-title {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-grid-card-excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
  flex: 1;
}
.blog-grid-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.blog-grid-card-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.blog-grid-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  transition: gap 0.3s var(--ease-spring);
}
.blog-grid-card-more:hover { gap: 10px; }

/* ---------- البجنيشن ---------- */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-pagination-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.blog-pagination-arrow:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
}
.blog-pagination-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.blog-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-pagination-num {
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.blog-pagination-num:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.blog-pagination-num.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.blog-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 44px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .blog-main { padding: 50px 20px 60px; }
  .blog-filters { gap: 10px; }
  .blog-search-wrap { flex: 0 1 280px; min-width: 180px; }
  .blog-filter-label { max-width: 100px; }
  .blog-featured { grid-template-columns: 1fr; gap: 24px; padding: 16px; }
  .blog-grid-main { grid-template-columns: 1fr 1fr; gap: 20px; }
  .blog-featured { margin-bottom: 48px; }
}

@media (max-width: 600px) {
  .blog-main { padding: 36px 16px 44px; }
  .blog-filters { flex-wrap: wrap; margin-bottom: 36px; }
  .blog-search-wrap { flex: 1 1 100%; max-width: 100%; min-width: 0; }
  .blog-dropdown-wrap { flex: 0 0 auto; margin-right: 0; }
  .blog-filter-btns { flex: 1 1 100%; flex-wrap: wrap; margin-right: 0; }
  .blog-filter-btn { flex: 1 1 calc(50% - 6px); min-width: 0; padding: 0 12px; font-size: 13px; height: 48px; }
  .blog-filter-label { white-space: normal; font-size: 12px; max-width: none; }
  .blog-search-input { height: 48px; font-size: 14px; }
  .blog-search-btn { width: 36px; height: 36px; }
  .blog-dropdown-btn { height: 48px; font-size: 14px; max-width: 200px; }
  .blog-featured { margin-bottom: 36px; padding: 12px; }
  .blog-featured-title { font-size: 20px; }
  .blog-featured-desc { font-size: 14px; }
  .blog-grid-main { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .blog-grid-card-title { font-size: 17px; }
  .blog-grid-card-excerpt { font-size: 13px; }
  .blog-pagination-num, .blog-pagination-arrow { min-width: 40px; width: 40px; height: 40px; font-size: 14px; }
  .blog-pagination-ellipsis { height: 40px; }
}

/* ============================================================
   صفحة معرض الأعمال — سيكشن المعرض الرئيسي
   ============================================================ */
.portfolio-main {
  position: relative;
  background: var(--bg);
  padding: 70px 24px 80px;
}
.portfolio-main-container {
  max-width: var(--container);
  margin: 0 auto;
}
/* الهيدر (تايتل + خط + ديسكريبشن في النص) */
.portfolio-main-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.portfolio-main-head.revealed {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-main-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.portfolio-main-heading-line {
  margin: 0 auto 18px;
}
.portfolio-main-desc {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--muted);
  line-height: 1.9;
}

/* ---------- شريط البحث + الفلاتر (سطرين) ---------- */
.portfolio-filters {
  margin-bottom: 48px;
}
/* السطر الأول: شريط البحث (متمركز في النص) */
.portfolio-search-row {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.portfolio-search-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
}
.portfolio-search-input {
  width: 100%;
  height: 52px;
  padding: 0 56px 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.portfolio-search-input::placeholder { color: var(--muted-2); }
.portfolio-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.15);
}
.portfolio-search-btn {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease-out);
}
.portfolio-search-btn:hover { background: var(--gold-hover); }

/* السطر الثاني: الفلاتر (من اليمين لليسار: 3 أزرار → dropdown الفئة → dropdown الصناعة) */
.portfolio-filter-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
}
/* 3 أزرار فلاتر (يمين) */
.portfolio-filter-btns {
  display: flex;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}
.portfolio-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.portfolio-filter-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.portfolio-filter-btn.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.portfolio-filter-btn.active .portfolio-filter-count { color: #fff; }
.portfolio-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: rgba(14, 35, 63, 0.08);
  color: var(--navy);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
}
.portfolio-filter-btn.active .portfolio-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.portfolio-filter-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
/* مجموعة الـ dropdowns (الفئة + الصناعة) — مع بعض على الشمال */
.portfolio-dropdowns-group {
  display: flex;
  gap: 12px;
  margin-right: auto; /* يدفعم للشمال في RTL */
}
/* dropdown "الفئة" */
.portfolio-dropdown-wrap {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}
/* dropdown "الصناعة" (جنب الفئة) */
.portfolio-dropdown-wrap--industry {
}
.portfolio-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.portfolio-dropdown-btn:hover { border-color: var(--gold); }
.portfolio-dropdown-btn[aria-expanded="true"] { border-color: var(--gold); background: #FFF8E6; }
.portfolio-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 6px;
  margin: 0;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}
.portfolio-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.portfolio-dropdown-menu li {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}
.portfolio-dropdown-menu li:hover { background: var(--bg-soft); }

/* ---------- جريد المشاريع (6 مشاريع = 3 صفوف × 2) ---------- */
.portfolio-grid-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 64px;
}
.portfolio-grid-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
  will-change: transform, opacity;
}
.portfolio-grid-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-grid-card:hover {
  box-shadow: 0 20px 40px rgba(14, 35, 63, 0.12);
  border-color: var(--gold);
}
.portfolio-grid-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.portfolio-grid-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}
.portfolio-grid-card:hover .portfolio-grid-card-img { transform: scale(1.05); }
/* جسم الكارت: عمودين (يمين: نص / شمال: تاجات) */
.portfolio-grid-card-body {
  padding: 24px 22px;
  display: flex;
  gap: 20px;
}
/* اليمين: تايتل + ديسكريبشن + رؤية المشروع */
.portfolio-grid-card-text {
  flex: 1;
  min-width: 0;
}
.portfolio-grid-card-title {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.portfolio-grid-card-excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.portfolio-grid-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  transition: gap 0.3s var(--ease-spring);
}
.portfolio-grid-card-more:hover { gap: 10px; }
/* الشمال: تاجات فوق بعض */
.portfolio-grid-card-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  align-items: flex-start;
}
.portfolio-grid-tag {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #2B578F; /* أزرق */
  white-space: nowrap;
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.portfolio-grid-card:hover .portfolio-grid-tag {
  border-color: rgba(43, 87, 143, 0.3);
}

/* ---------- البجنيشن ---------- */
.portfolio-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.portfolio-pagination-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.portfolio-pagination-arrow:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
}
.portfolio-pagination-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.portfolio-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}
.portfolio-pagination-num {
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.portfolio-pagination-num:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.portfolio-pagination-num.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.portfolio-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 44px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .portfolio-main { padding: 50px 20px 60px; }
  .portfolio-filter-row { gap: 10px; }
  .portfolio-search-wrap { max-width: 100%; }
  .portfolio-filter-label { max-width: 100px; }
  .portfolio-grid-main { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-grid-card-body { flex-direction: column; gap: 14px; }
  .portfolio-grid-card-tags { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .portfolio-main { padding: 36px 16px 44px; }
  .portfolio-main-head { margin-bottom: 32px; }
  .portfolio-filters { margin-bottom: 36px; }
  .portfolio-filter-row { flex-wrap: wrap; }
  .portfolio-filter-btns { flex: 1 1 100%; flex-wrap: wrap; }
  .portfolio-filter-btn { flex: 1 1 calc(50% - 6px); min-width: 0; padding: 0 12px; font-size: 13px; height: 48px; }
  .portfolio-filter-label { white-space: normal; font-size: 12px; max-width: none; }
  .portfolio-dropdowns-group { margin-right: 0; flex-wrap: wrap; }
  .portfolio-dropdown-wrap { flex: 0 0 auto; }
  .portfolio-search-input { height: 48px; font-size: 14px; }
  .portfolio-search-btn { width: 36px; height: 36px; }
  .portfolio-dropdown-btn { height: 48px; font-size: 14px; max-width: 200px; }
  .portfolio-grid-card-body { padding: 18px 16px; }
  .portfolio-grid-card-title { font-size: 17px; }
  .portfolio-grid-card-excerpt { font-size: 13px; }
  .portfolio-pagination-num, .portfolio-pagination-arrow { min-width: 40px; width: 40px; height: 40px; font-size: 14px; }
  .portfolio-pagination-ellipsis { height: 40px; }
}

/* ============================================================
   صفحة خدماتنا — سيكشن المحاور الاستراتيجية + CTA banner
   ============================================================ */
.services-axes {
  position: relative;
  background: var(--bg);
  padding: 80px 24px;
}
.services-axes-container {
  max-width: var(--container);
  margin: 0 auto;
}
/* الهيدر (تايتل + خط + ديسكريبشن في النص) */
.services-axes-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.services-axes-head.revealed {
  opacity: 1;
  transform: translateY(0);
}
.services-axes-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.services-axes-heading-line {
  margin: 0 auto 18px;
}
.services-axes-desc {
  font-size: clamp(14px, 1.3vw, 17px);
  color: #475569;
  line-height: 1.9;
}

/* ---------- 3 كروت المحاور ---------- */
.services-axes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.services-axes-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
  will-change: transform, opacity;
}
.services-axes-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.services-axes-card[data-card="0"].revealed { transition-delay: 0ms; }
.services-axes-card[data-card="1"].revealed { transition-delay: 150ms; }
.services-axes-card[data-card="2"].revealed { transition-delay: 300ms; }
.services-axes-card:hover {
  box-shadow: 0 20px 40px rgba(14, 35, 63, 0.1);
  border-color: var(--gold);
}
/* هيدر الكارت: تايتل يمين + أيقونة مربع كحلي شمال */
.services-axes-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.services-axes-card-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  flex: 1;
}
.services-axes-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius);
}
.services-axes-card-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- بانر CTA (كحلي داكن) ---------- */
.services-axes-cta {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.services-axes-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* تأثير تموج كحلي أفتح على الشمال */
.services-axes-cta-deco {
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(42, 71, 104, 0.5) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
/* النص (يمين) */
.services-axes-cta-text {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: right;
}
.services-axes-cta-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}
.services-axes-cta-desc {
  font-size: clamp(13px, 1.2vw, 15px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}
/* الزر الأصفر (شمال) */
.services-axes-cta-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.35);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.services-axes-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.services-axes-cta-btn:hover svg {
  transform: translateX(-5px);
}
.services-axes-cta-btn svg {
  transition: transform 0.4s var(--ease-spring);
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .services-axes { padding: 60px 20px; }
  .services-axes-head { margin-bottom: 40px; }
  .services-axes-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-axes-card { padding: 26px 22px; }
  .services-axes-cta { flex-direction: column; align-items: stretch; text-align: right; padding: 28px 22px; }
  .services-axes-cta-text { text-align: right; }
}

@media (max-width: 600px) {
  .services-axes { padding: 44px 16px; }
  .services-axes-title { font-size: 24px; }
  .services-axes-desc { font-size: 14px; }
  .services-axes-card { padding: 22px 18px; }
  .services-axes-card-header { gap: 12px; margin-bottom: 14px; }
  .services-axes-card-icon { width: 48px; height: 48px; }
  .services-axes-card-icon svg { width: 24px; height: 24px; }
  .services-axes-card-title { font-size: 18px; }
  .services-axes-card-desc { font-size: 13.5px; }
  .services-axes-cta { padding: 24px 18px; }
  .services-axes-cta-title { font-size: 18px; }
  .services-axes-cta-desc { font-size: 13px; }
  .services-axes-cta-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   صفحة خدماتنا — سيكشن المحتوى والإبداع (Z-Pattern)
   ============================================================ */
.services-content {
  position: relative;
  background: var(--bg);
  padding: 80px 24px;
}
.services-content-container {
  max-width: var(--container);
  margin: 0 auto;
}
/* الهيدر (تايتل + خط + ديسكريبشن في النص) */
.services-content-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.services-content-head.revealed {
  opacity: 1;
  transform: translateY(0);
}
.services-content-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.services-content-heading-line {
  margin: 0 auto 18px;
}
.services-content-desc {
  font-size: clamp(14px, 1.3vw, 17px);
  color: #475569;
  line-height: 1.9;
}

/* ---------- قائمة الخدمات (4 صفوف Z-Pattern) ---------- */
.services-content-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 80px;
}
.services-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: transform, opacity;
}
/* آخر صف — مفيش خط فاصل تحته */
.services-content-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.services-content-row.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* الصف المعكوس: الصورة على اليمين، النص على الشمال
   ترتيب source: الصورة أول → تظهر يمين في RTL تلقائياً (لا حاجة لـ order) */

/* الصورة — فريم كحلي ب notch أكبر + مفتاح (صورة جاهزة من المستخدم) */
.services-content-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* الفريم: 389×248 — بنستخدم صورة المستخدم كـ mask للفريم */
.services-content-frame {
  position: relative;
  width: 389px;
  max-width: 100%;
  aspect-ratio: 389 / 248;
}
/* خلفية navy بـ mask = شكل الفريم الجديد (Frame-.png من المستخدم) */
.services-content-frame-fill {
  position: absolute;
  inset: 0;
  background: var(--navy);
  -webkit-mask: url('../icons/services-frame-mask.png') no-repeat center / contain;
  mask: url('../icons/services-frame-mask.png') no-repeat center / contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}
/* الصورة داخل الفريم — div بـ background-image + mask = الثقب */
.services-content-frame-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-mask: url('../icons/services-frame-hole.png') no-repeat center / contain;
  mask: url('../icons/services-frame-hole.png') no-repeat center / contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}
/* المفتاح في النوتش — صورة Framekey.png من المستخدم */
.services-content-key {
    position: absolute;
    top: -5%;
    left: 8%;
    width: 22%;
    height: auto;
    aspect-ratio: 107 / 110;
    z-index: 5;
}

/* النص */
.services-content-text {
  padding: 8px 0;
}
.services-content-row-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
/* كل سطر تفاصيل — فقرة قصيرة بالرمادي */
.services-content-row-line {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 10px;
}
.services-content-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.services-content-bullets li {
  position: relative;
  padding-right: 24px; /* مساحة للنقطة على اليمين */
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.services-content-bullets li::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.services-content-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  transition: gap 0.3s var(--ease-spring);
}
.services-content-more:hover { gap: 12px; }

/* ---------- أزرار CTA (تحت بعض في النص) ---------- */
.services-content-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.services-content-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.35);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.services-content-cta-primary img {
  width: 20px;
  height: 20px;
}
.services-content-cta-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.services-content-cta-primary:hover img {
  transform: translate(-4px, -4px) rotate(-15deg);
}
.services-content-cta-primary img {
  transition: transform 0.4s var(--ease-spring);
}
.services-content-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  transition: gap 0.3s var(--ease-spring);
}
.services-content-cta-secondary:hover { gap: 12px; }

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .services-content { padding: 60px 20px; }
  .services-content-head { margin-bottom: 44px; }
  .services-content-list { gap: 44px; }
  .services-content-row { grid-template-columns: 1fr; gap: 28px; }
  .services-content-frame { width: 100%; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .services-content { padding: 44px 16px; }
  .services-content-title { font-size: 24px; }
  .services-content-desc { font-size: 14px; }
  .services-content-list { gap: 36px; margin-bottom: 40px; }
  .services-content-row { gap: 20px; }
  .services-content-row-title { font-size: 20px; }
  .services-content-bullets li { font-size: 14px; }
  .services-content-frame { max-width: 320px; }
  .services-content-key { top: -10px; }
  .services-content-cta-primary { width: 100%; justify-content: center; font-size: 15px; padding: 14px 24px; }
  .services-content-cta-secondary { font-size: 14px; }
}

/* ============================================================
   صفحة خدماتنا — سيكشن أهم المشاريع (سلايدر)
   ============================================================ */
.services-projects {
  position: relative;
  background: var(--bg);
  padding: 80px 24px;
}
.services-projects-container {
  max-width: var(--container);
  margin: 0 auto;
}
/* الهيدر: تايتل يمين + رابط شمال */
.services-projects-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.services-projects-head-text {
  flex: 1;
  min-width: 300px;
}
.services-projects-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.services-projects-heading-line {
  margin: 0 0 18px 0;
}
.services-projects-desc {
  font-size: clamp(14px, 1.3vw, 17px);
  color: #475569;
  line-height: 1.9;
}
.services-projects-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  padding-top: 8px;
  transition: gap 0.3s var(--ease-spring);
}
.services-projects-all:hover { gap: 12px; }

/* ---------- سلايدر المشاريع ---------- */
.services-projects-slider {
  position: relative;
}
.services-projects-viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.services-projects-track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s var(--ease-spring);
  will-change: transform;
  padding: 8px 0;
}
/* كارت مشروع — 2 ظاهرين */
.services-projects-card {
  flex: 0 0 calc((100% - 24px) / 2);
  max-width: 580px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
}
.services-projects-card:hover {
  box-shadow: 0 20px 40px rgba(14, 35, 63, 0.12);
  border-color: var(--gold);
}
.services-projects-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.services-projects-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}
.services-projects-card:hover .services-projects-card-img { transform: scale(1.04); }
/* جسم الكارت: عمودين (يمين: نص / شمال: تاجات) */
.services-projects-card-body {
  padding: 24px 22px;
  display: flex;
  gap: 20px;
}
.services-projects-card-text {
  flex: 1;
  min-width: 0;
}
.services-projects-card-title {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.services-projects-card-excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.services-projects-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  transition: gap 0.3s var(--ease-spring);
}
.services-projects-card-more:hover { gap: 10px; }
/* تاجات فوق بعض */
.services-projects-card-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  align-items: flex-start;
}
.services-projects-tag {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #2B578F;
  white-space: nowrap;
}

/* ---------- أزرار التحكم (أسهم + نقاط) ---------- */
.services-projects-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.services-projects-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.services-projects-arrow:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
}
.services-projects-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.services-projects-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.services-projects-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  border: none;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-spring), width 0.4s var(--ease-out);
}
.services-projects-dot.active {
  background: var(--gold);
  transform: scale(1.2);
  width: 28px;
  border-radius: var(--radius-pill);
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .services-projects { padding: 60px 20px; }
  .services-projects-head { flex-direction: column; }
  .services-projects-card { flex: 0 0 100%; max-width: 100%; }
  .services-projects-card-body { flex-direction: column; gap: 14px; }
  .services-projects-card-tags { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .services-projects { padding: 44px 16px; }
  .services-projects-title { font-size: 22px; }
  .services-projects-desc { font-size: 14px; }
  .services-projects-card-body { padding: 18px 16px; }
  .services-projects-card-title { font-size: 17px; }
  .services-projects-card-excerpt { font-size: 13px; }
  .services-projects-arrow { width: 40px; height: 40px; }
}

/* ============================================================
   صفحة حلول القطاعات — سيكشن القطاعات (كروت بفليب 3D)
   ============================================================ */
.sectors-grid-main {
  position: relative;
  background: var(--bg);
  padding: 80px 24px;
}
.sectors-grid-container {
  max-width: var(--container);
  margin: 0 auto;
}
/* الهيدر */
.sectors-grid-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.sectors-grid-head.revealed {
  opacity: 1;
  transform: translateY(0);
}
.sectors-grid-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.sectors-grid-heading-line {
  margin: 0 auto 18px;
}
.sectors-grid-desc {
  font-size: clamp(14px, 1.3vw, 17px);
  color: #475569;
  line-height: 1.9;
}

/* ---------- شبكة القطاعات (9 كروت 3×3 بفليب 3D) ---------- */
.sectors-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* كارت الفليب */
.sector-flip-card {
  perspective: 1000px;
  height: 200px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: transform, opacity;
}
.sector-flip-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.sector-flip-card[data-index="0"].revealed { transition-delay: 0ms; }
.sector-flip-card[data-index="1"].revealed { transition-delay: 80ms; }
.sector-flip-card[data-index="2"].revealed { transition-delay: 160ms; }
.sector-flip-card[data-index="3"].revealed { transition-delay: 240ms; }
.sector-flip-card[data-index="4"].revealed { transition-delay: 320ms; }
.sector-flip-card[data-index="5"].revealed { transition-delay: 400ms; }
.sector-flip-card[data-index="6"].revealed { transition-delay: 480ms; }
.sector-flip-card[data-index="7"].revealed { transition-delay: 560ms; }
.sector-flip-card[data-index="8"].revealed { transition-delay: 640ms; }

.sector-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-spring);
  transform-style: preserve-3d;
}
.sector-flip-card:hover .sector-flip-card-inner {
  transform: rotateY(180deg);
}
/* الوجه الأمامي (كحلي) */
.sector-flip-card-front {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(14, 35, 63, 0.1);
}
.sector-flip-card-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(242, 201, 76, 0.15);
  border-radius: 50%;
}
.sector-flip-card-title {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
/* الوجه الخلفي (أصفر) */
.sector-flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(242, 201, 76, 0.3);
}
.sector-flip-card-back-title {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.sector-flip-card-back-desc {
  font-size: 13px;
  color: rgba(14, 35, 63, 0.8);
  line-height: 1.7;
}
.sector-flip-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
  transition: gap 0.3s var(--ease-spring);
}
.sector-flip-card-link:hover { gap: 10px; }

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .sectors-grid-main { padding: 60px 20px; }
  .sectors-grid-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .sector-flip-card { height: 180px; }
}

@media (max-width: 600px) {
  .sectors-grid-main { padding: 44px 16px; }
  .sectors-grid-title { font-size: 24px; }
  .sectors-grid-desc { font-size: 14px; }
  .sectors-grid-cards { grid-template-columns: 1fr; gap: 16px; }
  .sector-flip-card { height: 160px; }
  .sector-flip-card-icon { width: 52px; height: 52px; }
  .sector-flip-card-title { font-size: 16px; }
  .sector-flip-card-back-title { font-size: 16px; }
  .sector-flip-card-back-desc { font-size: 12px; }
}

/* ============================================================
   صفحة حلول القطاعات — سيكشن قطاعات التجارة والمبيعات
   (Stacked Cards on Scroll — Pure CSS Sticky + Vanilla JS)
   ============================================================ */
.sectors-commerce {
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(242, 201, 76, 0.08), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(14, 35, 63, 0.05), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, #F1F5F9 100%);
  /* شيلنا overflow: hidden عشان الـ sticky pin يشتغل صح */
}

/* عناصر زخرفية في الخلفية */
.sectors-commerce::before,
.sectors-commerce::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.sectors-commerce::before {
  top: 8%;
  right: -6%;
  width: 380px;
  height: 380px;
  background: rgba(242, 201, 76, 0.10);
}
.sectors-commerce::after {
  bottom: 8%;
  left: -6%;
  width: 320px;
  height: 320px;
  background: rgba(14, 35, 63, 0.08);
}

/* ----- الحاوية المثبتة (Pinned) ----- */
.sectors-commerce-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 20px) 24px 24px;
  overflow: hidden;
  z-index: 1;
}

/* الهيدر (ثابت في الخلفية) */
.sectors-commerce-head {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 24px;
  z-index: 1;
  width: 100%;
  will-change: opacity, transform;
  opacity: 1;
  transform: translateY(0);
}
.sectors-commerce-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}
.sectors-commerce-heading-line {
  margin: 0 auto 16px;
}
.sectors-commerce-desc {
  font-size: clamp(13px, 1.2vw, 16px);
  color: #475569;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 16px;
}

/* شريط تقدّم السكرول */
.sectors-commerce-progress {
  width: 180px;
  height: 4px;
  background: rgba(14, 35, 63, 0.08);
  border-radius: 4px;
  margin: 0 auto;
  overflow: hidden;
}
.sectors-commerce-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-hover));
  border-radius: 4px;
  transition: width 0.1s linear;
}

/* ---------- حاوية الكروت المتراكمة ---------- */
.sectors-commerce-list {
  position: relative;
  width: min(1100px, 92vw);
  height: 700px;
  z-index: 2;
}

/* ---------- الكارت (absolute - متراكمة فوق بعض) ---------- */
.commerce-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 40px;
  border-radius: 24px;
  overflow: hidden;
  /* translateY بيتم تحديده بالـ JS عشان الكروت تتراكم فوق بعض */
  transform-origin: center top;
  transition: transform 0.15s var(--ease-out);
  will-change: transform;
  z-index: var(--card-z, 1);
}

/* طبقة التعتيم — بتتحكم فيها الـ JS عبر --darken */
.commerce-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 33, 0.45);
  opacity: var(--darken, 0);
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.05s linear;
}

/* رقم الكارت (زخرفة) */
.commerce-card-num {
  display: inline-block;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1.5px;
}

/* العمود الأيسر: النصوص */
.commerce-card-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.commerce-card-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.3;
}
.commerce-card-desc {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.75;
  opacity: 0.85;
}
/* شبكة الميزات (2 عمودين) */
.commerce-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 8px;
}
.commerce-card-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.commerce-card-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}

/* العمود الأيمن: الصورة */
.commerce-card-visual {
  position: relative;
  z-index: 5;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.3);
}
.commerce-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}
.commerce-card:hover .commerce-card-img {
  transform: scale(1.05);
}

/* ---------- ألوان الكروت (بألوان هويتنا) ---------- */

/* كارت كحلي (السفر والسياحة) */
.commerce-card--navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 16px 30px -12px rgba(14, 35, 63, 0.4);
}
.commerce-card--navy .commerce-card-title { color: #fff; }
.commerce-card--navy .commerce-card-desc { color: rgba(255, 255, 255, 0.8); }
.commerce-card--navy .commerce-card-feature { color: rgba(255, 255, 255, 0.9); }
.commerce-card--navy .commerce-card-plus {
  background: rgba(242, 201, 76, 0.2);
  color: var(--gold);
}
.commerce-card--navy .commerce-card-num {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 201, 76, 0.4);
}

/* كارت أبيض (العقارات) */
.commerce-card--white {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -16px rgba(14, 35, 63, 0.18);
}
.commerce-card--white .commerce-card-title { color: var(--navy); }
.commerce-card--white .commerce-card-desc { color: var(--muted); }
.commerce-card--white .commerce-card-feature { color: #334155; }
.commerce-card--white .commerce-card-plus {
  background: rgba(14, 35, 63, 0.08);
  color: var(--navy);
}
.commerce-card--white .commerce-card-num {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14, 35, 63, 0.2);
}

/* كارت ذهبي (التجارة الإلكترونية) */
.commerce-card--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 24px 50px -16px rgba(242, 201, 76, 0.5);
}
.commerce-card--gold .commerce-card-title { color: var(--navy); }
.commerce-card--gold .commerce-card-desc { color: rgba(14, 35, 63, 0.8); }
.commerce-card--gold .commerce-card-feature { color: var(--navy); }
.commerce-card--gold .commerce-card-plus {
  background: rgba(14, 35, 63, 0.15);
  color: var(--navy);
}
.commerce-card--gold .commerce-card-num {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14, 35, 63, 0.25);
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .sectors-commerce-pin {
    padding: calc(var(--header-h) + 16px) 20px 20px;
  }
  .sectors-commerce-list { height: 680px; }
  .commerce-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .commerce-card-features { grid-template-columns: 1fr; gap: 8px; }
  .commerce-card-visual { aspect-ratio: 16 / 9; }
  .sectors-commerce-title { font-size: 24px; }
  .sectors-commerce-desc { font-size: 14px; }
}

@media (max-width: 600px) {
  .sectors-commerce-pin {
    padding: calc(var(--header-h) + 12px) 14px 16px;
  }
  .sectors-commerce-title { font-size: 22px; }
  .sectors-commerce-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sectors-commerce-progress { width: 140px; }
  .sectors-commerce-list { height: 780px; }
  .commerce-card {
    padding: 20px 18px;
    border-radius: 18px;
    gap: 16px;
  }
  .commerce-card-title { font-size: 20px; }
  .commerce-card-desc { font-size: 13px; }
  .commerce-card-feature { font-size: 12px; }
  .commerce-card-plus { width: 20px; height: 20px; font-size: 14px; }
  .commerce-card-visual { border-radius: 12px; }
  .commerce-card-num { font-size: 32px; }
}

/* ============================================================
   صفحة حلول القطاعات — سيكشن CTA: قطاعك ليس في القائمة؟
   ============================================================ */
.sectors-cta {
  position: relative;
  padding: 80px 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 201, 76, 0.12), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(14, 35, 63, 0.08), transparent 45%),
    linear-gradient(180deg, #F1F5F9 0%, var(--bg) 100%);
  overflow: hidden;
}

.sectors-cta-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

/* العمود الأيمن: النص */
.sectors-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sectors-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(255, 248, 230, 0.7);
  border: 1px solid rgba(242, 201, 76, 0.4);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-press);
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.sectors-cta-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.sectors-cta-heading-line {
  margin: 0 0 18px;
}

.sectors-cta-desc {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  max-width: 520px;
  margin: 0 0 28px;
}

.sectors-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sectors-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), color 0.3s var(--ease-out);
  white-space: nowrap;
}

/* الزر الأساسي (ذهبي) */
.sectors-cta-btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px -6px rgba(242, 201, 76, 0.5);
}
.sectors-cta-btn--primary img {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-spring);
}
.sectors-cta-btn--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(242, 201, 76, 0.6);
}
.sectors-cta-btn--primary:hover img {
  transform: translateX(-4px); /* RTL */
}

/* الزر الثانوي (outline) */
.sectors-cta-btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.sectors-cta-btn--ghost img {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-spring);
}
.sectors-cta-btn--ghost:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}
.sectors-cta-btn--ghost:hover img {
  transform: translateX(-4px); /* RTL */
}

/* العمود الأيسر: بطاقات الإحصائيات */
.sectors-cta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sectors-cta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px -10px rgba(14, 35, 63, 0.12);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.sectors-cta-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(14, 35, 63, 0.18);
}

.sectors-cta-stat-num {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  color: var(--gold-press);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.sectors-cta-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .sectors-cta {
    padding: 60px 20px;
  }
  .sectors-cta-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sectors-cta-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .sectors-cta {
    padding: 44px 16px;
  }
  .sectors-cta-title {
    font-size: 24px;
  }
  .sectors-cta-desc {
    font-size: 14px;
  }
  .sectors-cta-actions {
    flex-direction: column;
    gap: 12px;
  }
  .sectors-cta-btn {
    justify-content: center;
    padding: 13px 22px;
    font-size: 14px;
  }
  .sectors-cta-stat {
    padding: 22px 12px;
  }
  .sectors-cta-stat-num {
    font-size: 26px;
  }
  .sectors-cta-stat-label {
    font-size: 12px;
  }
}

/* ============================================================
   صفحة منظومة التكامل — سيكشن لماذا التكامل وليس الاختيار العشوائي؟
   ============================================================ */
.integration-compare {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 201, 76, 0.06), transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(14, 35, 63, 0.04), transparent 40%),
    var(--bg);
  padding: 80px 24px 0;
  overflow: hidden;
}

.integration-compare-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- الهيدر ---------- */
.integration-compare-head {
  text-align: right;
  margin-bottom: 48px;
  max-width: 720px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.integration-compare-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.integration-compare-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

/* خط أصفر رفيع ينتهي بدائرة (شكل مفتاح بسيط) */
.integration-compare-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.integration-compare-line-bar {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.integration-compare-line-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.integration-compare-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0;
}

/* ---------- كارتين المقارنة ---------- */
.integration-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.integration-compare-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

.integration-compare-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 36px 32px;
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid;
  box-shadow: 0 4px 20px -8px rgba(14, 35, 63, 0.06);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.integration-compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(14, 35, 63, 0.12);
}

/* هيدر الكارت: الأيقونة + العنوان جنب بعض */
.integration-compare-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.integration-compare-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.integration-compare-card-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.integration-compare-card-desc {
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 1.85;
  margin: 0;
}

/* كارت أحمر (الطريقة التقليدية) */
.integration-compare-card--red {
  border-color: #FECACA;
}
.integration-compare-card--red .integration-compare-card-icon {
  background: #FEE2E2;
  color: #DC2626;
}
.integration-compare-card--red .integration-compare-card-title {
  color: #DC2626;
}
.integration-compare-card--red .integration-compare-card-desc {
  color: #B91C1C;
}

/* كارت أخضر (منظومة التكامل) */
.integration-compare-card--green {
  border-color: #BBF7D0;
}
.integration-compare-card--green .integration-compare-card-icon {
  background: #DCFCE7;
  color: #16A34A;
}
.integration-compare-card--green .integration-compare-card-title {
  color: #15803D;
}
.integration-compare-card--green .integration-compare-card-desc {
  color: #166534;
}

/* ---------- البانر السفلي الكحلي ---------- */
.integration-compare-cta {
  position: relative;
  background: var(--navy);
  border-radius: 24px;
  padding: 48px 40px;
  margin-bottom: 64px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.3s, transform 0.7s var(--ease-out) 0.3s;
}
.integration-compare-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* تموجات هندسية خافتة في الزاوية اليسرى */
.integration-compare-cta-waves {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  pointer-events: none;
  opacity: 0.6;
}
.integration-compare-cta-waves svg {
  width: 100%;
  height: 100%;
}

.integration-compare-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.integration-compare-cta-text {
  flex: 1;
}

.integration-compare-cta-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.integration-compare-cta-desc {
  font-size: clamp(14px, 1.2vw, 15px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  margin: 0;
  max-width: 620px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.integration-compare-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(242, 201, 76, 0.5);
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.integration-compare-cta-btn svg {
  transition: transform 0.3s var(--ease-spring);
}
.integration-compare-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(242, 201, 76, 0.6);
}
.integration-compare-cta-btn:hover svg {
  transform: translateX(-4px); /* RTL */
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .integration-compare {
    padding: 60px 20px 0;
  }
  .integration-compare-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .integration-compare-card {
    padding: 28px 24px;
    gap: 14px;
  }
  .integration-compare-cta {
    padding: 36px 24px;
    margin-bottom: 48px;
  }
  .integration-compare-cta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .integration-compare-cta-btn {
    width: 100%;
    justify-content: center;
  }
  /* على الموبايل: الدسكريبشن ممكن يبقى multi-line */
  .integration-compare-cta-desc {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .integration-compare {
    padding: 44px 16px 0;
  }
  .integration-compare-head {
    margin-bottom: 32px;
  }
  .integration-compare-title {
    font-size: 24px;
  }
  .integration-compare-sub {
    font-size: 14px;
  }
  .integration-compare-card {
    padding: 24px 20px;
    gap: 12px;
  }
  .integration-compare-card-icon {
    width: 48px;
    height: 48px;
  }
  .integration-compare-card-icon svg {
    width: 24px;
    height: 24px;
  }
  .integration-compare-card-title {
    font-size: 20px;
  }
  .integration-compare-card-desc {
    font-size: 14px;
  }
  .integration-compare-cta {
    padding: 28px 20px;
    border-radius: 20px;
    margin-bottom: 36px;
  }
  .integration-compare-cta-title {
    font-size: 20px;
  }
  .integration-compare-cta-desc {
    font-size: 13px;
  }
  .integration-compare-cta-btn {
    padding: 12px 22px;
    font-size: 14px;
  }
  .integration-compare-cta-waves {
    width: 200px;
    height: 200px;
    opacity: 0.4;
  }
}

/* ============================================================
   صفحة منظومة التكامل — سيكشن هل تعرف هذه المشكلات؟ (Timeline)
   ============================================================ */
.integration-timeline {
  position: relative;
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 201, 76, 0.05), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(14, 35, 63, 0.03), transparent 40%),
    var(--bg-soft);
  padding: 80px 24px;
  overflow: hidden;
}

.integration-timeline-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- الهيدر ---------- */
.integration-timeline-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.integration-timeline-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.integration-timeline-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

/* خط أصفر رفيع ينتهي بدائرة (ممركز) */
.integration-timeline-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}
.integration-timeline-line-bar {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.integration-timeline-line-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.integration-timeline-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0;
}

/* ---------- الـ Grid (عمودين) ---------- */
.integration-timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.integration-timeline-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

.integration-timeline-column {
  display: flex;
  flex-direction: column;
}

/* ---------- الخطوة الواحدة ---------- */
.integration-timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 36px;
}

/* الخط الأصفر الرابط بين الدوائر (نازل بالطول) */
.integration-timeline-step::before {
  content: '';
  position: absolute;
  /* في RTL: الدائرة على اليسار، فالخط نازل من تحتها */
  right: 27px; /* نصف عرض الدائرة (54px / 2) */
  top: 54px; /* تحت الدائرة */
  bottom: 0;
  width: 2px;
  background: var(--gold);
  opacity: 0.5;
}
/* آخر خطوة في العمود: مفيش خط تحتها */
.integration-timeline-step:last-child::before {
  display: none;
}

/* الدائرة المفرغة (Border أصفر + خلفية بيضاء) */
.integration-timeline-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  color: var(--gold-press);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px -4px rgba(242, 201, 76, 0.3);
}

/* محتوى الخطوة (عنوان + وصف) */
.integration-timeline-content {
  flex: 1;
  padding-top: 4px;
}

.integration-timeline-step-title {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

.integration-timeline-step-desc {
  font-size: clamp(13px, 1.2vw, 14px);
  color: #475569;
  line-height: 1.8;
  margin: 0;
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .integration-timeline {
    padding: 60px 20px;
  }
  .integration-timeline-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .integration-timeline-head {
    margin-bottom: 40px;
  }
  .integration-timeline-step {
    padding-bottom: 28px;
    gap: 16px;
  }
  .integration-timeline-step::before {
    right: 24px; /* نصف 48px */
    top: 48px;
  }
  .integration-timeline-circle {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .integration-timeline {
    padding: 44px 16px;
  }
  .integration-timeline-title {
    font-size: 24px;
  }
  .integration-timeline-sub {
    font-size: 14px;
  }
  .integration-timeline-step {
    padding-bottom: 24px;
    gap: 14px;
  }
  .integration-timeline-step::before {
    right: 20px; /* نصف 40px */
    top: 40px;
  }
  .integration-timeline-circle {
    width: 40px;
    height: 40px;
    font-size: 14px;
    border-width: 2px;
  }
  .integration-timeline-step-title {
    font-size: 16px;
  }
  .integration-timeline-step-desc {
    font-size: 13px;
  }
}

/* ============================================================
   صفحة منظومة التكامل — سيكشن ما الذي قد تشمله منظومتك؟ (Services Grid)
   ============================================================ */
.integration-services {
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(242, 201, 76, 0.06), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(14, 35, 63, 0.04), transparent 40%),
    var(--bg);
  padding: 80px 24px;
  overflow: hidden;
}

.integration-services-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- الهيدر ---------- */
.integration-services-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.integration-services-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.integration-services-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.integration-services-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}
.integration-services-line-bar {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.integration-services-line-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.integration-services-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0;
}

/* ---------- الـ Grid (3 أعمدة × 2 صفوف) ---------- */
.integration-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.integration-services-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- الكارت ---------- */
.integration-services-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 8px -2px rgba(14, 35, 63, 0.06);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.3s var(--ease-out);
}
.integration-services-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -8px rgba(14, 35, 63, 0.14);
  border-color: rgba(242, 201, 76, 0.5);
}

/* المربع الكحلي جواه الأيقونة (على الشمال في RTL) */
.integration-services-card-iconbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(14, 35, 63, 0.3);
}

.integration-services-card-body {
  flex: 1;
  min-width: 0;
}

.integration-services-card-title {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

.integration-services-card-desc {
  font-size: clamp(13px, 1.2vw, 14px);
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

/* ---------- الـ Footer (القفلة) ---------- */
.integration-services-cta {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.3s, transform 0.7s var(--ease-out) 0.3s;
}
.integration-services-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

.integration-services-cta-text {
  font-size: clamp(15px, 1.4vw, 18px);
  color: #475569;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 24px;
}

.integration-services-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(242, 201, 76, 0.5);
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.integration-services-cta-btn svg {
  color: var(--navy);
  transition: transform 0.35s var(--ease-spring);
}
.integration-services-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(242, 201, 76, 0.6);
}
.integration-services-cta-btn:hover svg {
  transform: translateY(-3px) translateX(3px); /* الصاروخ يطير لفوق + يمين */
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .integration-services {
    padding: 60px 20px;
  }
  .integration-services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }
  .integration-services-head {
    margin-bottom: 40px;
  }
  .integration-services-card {
    padding: 20px;
    gap: 14px;
  }
  .integration-services-card-iconbox {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 600px) {
  .integration-services {
    padding: 44px 16px;
  }
  .integration-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .integration-services-title {
    font-size: 24px;
  }
  .integration-services-sub {
    font-size: 14px;
  }
  .integration-services-card {
    padding: 18px;
    gap: 12px;
  }
  .integration-services-card-iconbox {
    width: 44px;
    height: 44px;
  }
  .integration-services-card-iconbox svg {
    width: 20px;
    height: 20px;
  }
  .integration-services-card-title {
    font-size: 16px;
  }
  .integration-services-card-desc {
    font-size: 13px;
  }
  .integration-services-cta-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .integration-services-cta-btn {
    padding: 12px 26px;
    font-size: 14px;
  }
}

/* ============================================================
   صفحة منظومة التكامل — سيكشن ماذا تحصل في النهاية؟ (Dark Deliverables)
   ============================================================ */
.integration-deliverables {
  position: relative;
  background: var(--navy);
  padding: 80px 24px;
  overflow: hidden;
}

/* عناصر زخرفية خافتة في الخلفية */
.integration-deliverables::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(242, 201, 76, 0.06);
  filter: blur(80px);
  pointer-events: none;
}
.integration-deliverables::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(242, 201, 76, 0.04);
  filter: blur(80px);
  pointer-events: none;
}

.integration-deliverables-container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- الهيدر ---------- */
.integration-deliverables-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.integration-deliverables-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.integration-deliverables-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.integration-deliverables-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}
.integration-deliverables-line-bar {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.integration-deliverables-line-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.integration-deliverables-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin: 0;
}

/* ---------- الـ Grid (4 أعمدة) ---------- */
.integration-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.integration-deliverables-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- الكارت ---------- */
.integration-deliverables-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 36px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform 0.35s var(--ease-spring), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.integration-deliverables-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(242, 201, 76, 0.35);
}

.integration-deliverables-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(242, 201, 76, 0.25));
}

.integration-deliverables-card-title {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.1px;
}

/* ---------- الـ Footer (القفلة) ---------- */
.integration-deliverables-cta {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.3s, transform 0.7s var(--ease-out) 0.3s;
}
.integration-deliverables-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

.integration-deliverables-cta-text {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 24px;
}

.integration-deliverables-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(242, 201, 76, 0.5);
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.integration-deliverables-cta-btn svg {
  color: var(--navy);
  transition: transform 0.35s var(--ease-spring);
}
.integration-deliverables-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(242, 201, 76, 0.6);
}
.integration-deliverables-cta-btn:hover svg {
  transform: translateY(-3px) translateX(3px); /* الصاروخ يطير لفوق + يمين */
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .integration-deliverables {
    padding: 60px 20px;
  }
  .integration-deliverables-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }
  .integration-deliverables-head {
    margin-bottom: 40px;
  }
  .integration-deliverables-card {
    padding: 28px 20px;
    gap: 16px;
  }
  .integration-deliverables-card-icon svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 600px) {
  .integration-deliverables {
    padding: 44px 16px;
  }
  .integration-deliverables-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .integration-deliverables-title {
    font-size: 24px;
  }
  .integration-deliverables-sub {
    font-size: 14px;
  }
  .integration-deliverables-card {
    padding: 24px 18px;
    gap: 14px;
    flex-direction: row;
    text-align: right;
  }
  .integration-deliverables-card-icon {
    flex-shrink: 0;
  }
  .integration-deliverables-card-icon svg {
    width: 28px;
    height: 28px;
  }
  .integration-deliverables-card-title {
    font-size: 15px;
    text-align: right;
  }
  .integration-deliverables-cta-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .integration-deliverables-cta-btn {
    padding: 12px 26px;
    font-size: 14px;
  }
}

/* ============================================================
   صفحة تدريب الشركات — سيكشن هل تعرف هذه المشكلات؟ (Problem Cards Grid)
   ============================================================ */
.training-problems {
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(242, 201, 76, 0.05), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(14, 35, 63, 0.03), transparent 40%),
    var(--bg-soft);
  padding: 80px 24px 0;
  overflow: hidden;
}

.training-problems-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- الهيدر ---------- */
.training-problems-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.training-problems-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.training-problems-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.training-problems-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}
.training-problems-line-bar {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.training-problems-line-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.training-problems-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0;
}

/* ---------- الـ Grid (2 أعمدة × 3 صفوف) ---------- */
.training-problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.training-problems-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- الكارت ---------- */
.training-problems-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 8px -2px rgba(14, 35, 63, 0.05);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.3s var(--ease-out);
}
.training-problems-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -8px rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
}

.training-problems-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #FEE2E2;
  color: #DC2626;
  border-radius: 10px;
  flex-shrink: 0;
}

.training-problems-card-text {
  font-size: clamp(14px, 1.3vw, 15px);
  color: #334155;
  line-height: 1.75;
  margin: 0;
  flex: 1;
  padding-top: 6px;
}

/* ---------- البانر السفلي الكحلي ---------- */
.training-problems-cta {
  position: relative;
  background: var(--navy);
  padding: 48px 40px;
  border-radius: 24px;
  max-width: 1240px;
  margin: 0 auto 64px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.3s, transform 0.7s var(--ease-out) 0.3s;
}
.training-problems-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* تموجات هندسية خافتة في الزاوية اليسرى */
.training-problems-cta-waves {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  pointer-events: none;
  opacity: 0.6;
}
.training-problems-cta-waves svg {
  width: 100%;
  height: 100%;
}

.training-problems-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.training-problems-cta-text {
  flex: 1;
  min-width: 0;
}

.training-problems-cta-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.training-problems-cta-desc {
  font-size: clamp(14px, 1.2vw, 15px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.training-problems-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(242, 201, 76, 0.5);
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.training-problems-cta-btn svg {
  transition: transform 0.3s var(--ease-spring);
}
.training-problems-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(242, 201, 76, 0.6);
}
.training-problems-cta-btn:hover svg {
  transform: translateX(-4px); /* RTL */
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .training-problems {
    padding: 60px 20px 0;
  }
  .training-problems-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }
  .training-problems-head {
    margin-bottom: 40px;
  }
  .training-problems-card {
    padding: 20px;
    gap: 14px;
  }
  .training-problems-cta {
    padding: 36px 24px;
    margin-bottom: 48px;
  }
  .training-problems-cta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .training-problems-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .training-problems-cta-desc {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .training-problems {
    padding: 44px 16px 0;
  }
  .training-problems-title {
    font-size: 24px;
  }
  .training-problems-sub {
    font-size: 14px;
  }
  .training-problems-card {
    padding: 18px;
    gap: 12px;
  }
  .training-problems-card-icon {
    width: 40px;
    height: 40px;
  }
  .training-problems-card-icon svg {
    width: 24px;
    height: 24px;
  }
  .training-problems-card-text {
    font-size: 14px;
    padding-top: 4px;
  }
  .training-problems-cta {
    padding: 28px 20px;
    margin-bottom: 36px;
  }
  .training-problems-cta-title {
    font-size: 20px;
  }
  .training-problems-cta-desc {
    font-size: 13px;
  }
  .training-problems-cta-btn {
    padding: 12px 22px;
    font-size: 14px;
  }
  .training-problems-cta-waves {
    width: 200px;
    height: 200px;
    opacity: 0.4;
  }
}

/* ============================================================
   صفحة تدريب الشركات — سيكشن لمن هذه البرامج التدريبية؟ (Audience Grid)
   (بستخدم نفس كلاسات integration-services + override للـ grid)
   ============================================================ */
.training-audience {
  /* نفس خلفية integration-services */
}

/* override: grid 2x2 بدل 3x2 */
.training-audience-grid {
  grid-template-columns: 610px 610px;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* الهيدر: العنوان بس بدون وصف - نقلل المسافة السفلية */
.training-audience-head {
  margin-bottom: 48px;
}

/* سيكشن Method في training: 5 خطوات بدل 4 - تصغير المسافات */
.training-method-steps .how-step {
  margin-bottom: 20px;
}
.training-method-steps .how-step:last-child {
  margin-bottom: 0;
}
.training-method-steps .how-step-title {
  font-size: clamp(16px, 1.6vw, 18px);
}
.training-method-steps .how-step-desc {
  font-size: clamp(13px, 1.2vw, 14px);
}

/* سيكشن Team في training: توسيط الهيدر + كروت أعرض (3 كروت بدل 4) */
.training-team .about-team-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.training-team .about-team-heading-line {
  margin: 0 auto 18px;
}
.training-team .about-team-card {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 كروت = 2 فجوات × 20px = 40px */
  max-width: 380px;
  aspect-ratio: 380 / 480; /* أعرض */
}

/* سيكشن Benefits في training: 6 كروت في صف أفقي (override deliverables 4) */
.training-benefits-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.training-benefits .integration-deliverables-card {
  padding: 24px 16px;
  gap: 14px;
}
.training-benefits .integration-deliverables-card-icon svg {
  width: 30px;
  height: 30px;
}
.training-benefits .integration-deliverables-card-title {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.5;
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 1300px) {
  .training-audience-grid {
    grid-template-columns: 1fr 1fr;
  }
  .training-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .training-audience-grid {
    grid-template-columns: 1fr;
  }
  .training-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .training-audience-head {
    margin-bottom: 36px;
  }
  .training-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   صفحة تدريب الشركات — سيكشن البرامج التدريبية المتاحة (Dark Programs Grid)
   ============================================================ */
.training-programs {
  position: relative;
  background: var(--navy);
  padding: 80px 24px;
  overflow: hidden;
}

/* فيكتور الـ keyhole الكبير على الشمال full height */
.training-programs-keyhole {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  object-fit: contain;
}

/* عناصر زخرفية خافتة في الخلفية */
.training-programs::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(242, 201, 76, 0.05);
  filter: blur(80px);
  pointer-events: none;
}
.training-programs::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(242, 201, 76, 0.03);
  filter: blur(80px);
  pointer-events: none;
}

.training-programs-container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- الهيدر (محاذي لليمين) ---------- */
.training-programs-head {
  text-align: right;
  max-width: 760px;
  margin: 0 0 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.training-programs-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.training-programs-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.training-programs-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.training-programs-line-bar {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.training-programs-line-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.training-programs-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin: 0;
}

/* ---------- الـ Grid (2 أعمدة × 3 صفوف) ---------- */
.training-programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.training-programs-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- الكارت ---------- */
.training-programs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: transform 0.35s var(--ease-spring), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.training-programs-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 201, 76, 0.3);
}

/* شارة التصنيف (أعلى اليمين) */
.training-programs-card-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 5px 12px;
  background: rgba(242, 201, 76, 0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.training-programs-card-badge.badge--specialized {
  background: rgba(96, 165, 250, 0.15);
  color: #93C5FD;
}
.training-programs-card-badge.badge--integrated {
  background: rgba(167, 139, 250, 0.15);
  color: #C4B5FD;
}

/* محتوى الكارت */
.training-programs-card-body {
  flex: 1;
}

.training-programs-card-title {
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
  max-width: calc(100% - 80px); /* مساحة للشارة */
}

.training-programs-card-desc {
  font-size: clamp(13px, 1.2vw, 14px);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* شبكة الميزات (عمودين) */
.training-programs-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 0;
}

.training-programs-card-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.training-programs-card-feature .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* فوتر الكارت (مدة + حضور + رابط) */
.training-programs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.training-programs-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.training-programs-card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.training-programs-card-meta .meta-item svg {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.training-programs-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s var(--ease-out);
}
.training-programs-card-link svg {
  transition: transform 0.3s var(--ease-spring);
}
.training-programs-card-link:hover {
  color: var(--gold-hover);
}
.training-programs-card-link:hover svg {
  transform: translateX(-3px); /* RTL */
}

/* ---------- الـ Footer (القفلة) ---------- */
.training-programs-cta {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.3s, transform 0.7s var(--ease-out) 0.3s;
}
.training-programs-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

.training-programs-cta-text {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 24px;
}

.training-programs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(242, 201, 76, 0.5);
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.training-programs-cta-btn svg {
  color: var(--navy);
  transition: transform 0.35s var(--ease-spring);
}
.training-programs-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(242, 201, 76, 0.6);
}
.training-programs-cta-btn:hover svg {
  transform: translateY(-3px) translateX(3px);
}

/* ---------- ريسبونسف ---------- */
@media (max-width: 900px) {
  .training-programs {
    padding: 60px 20px;
  }
  .training-programs-keyhole {
    opacity: 0.1;
  }
  .training-programs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  .training-programs-head {
    margin-bottom: 40px;
  }
  .training-programs-card {
    padding: 24px 20px;
  }
  .training-programs-card-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .training-programs {
    padding: 44px 16px;
  }
  .training-programs-keyhole {
    opacity: 0.06;
  }
  .training-programs-title {
    font-size: 24px;
  }
  .training-programs-sub {
    font-size: 14px;
  }
  .training-programs-card {
    padding: 20px 16px;
  }
  .training-programs-card-badge {
    top: 16px;
    left: 16px;
    padding: 4px 10px;
    font-size: 10px;
  }
  .training-programs-card-title {
    font-size: 17px;
    max-width: calc(100% - 70px);
  }
  .training-programs-card-desc {
    font-size: 13px;
  }
  .training-programs-card-feature {
    font-size: 12px;
  }
  .training-programs-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .training-programs-card-meta {
    gap: 12px;
  }
  .training-programs-cta-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .training-programs-cta-btn {
    padding: 12px 26px;
    font-size: 14px;
  }
}

/* سيكشن Pain Points في consulting: نفس بنية training-problems بس بأيقونات صفراء */
.consulting-painpoints .training-problems-card:hover {
  border-color: rgba(242, 201, 76, 0.3);
  box-shadow: 0 12px 28px -8px rgba(242, 201, 76, 0.12);
}
.consulting-painpoints-icon {
  background: rgba(242, 201, 76, 0.15) !important;
  color: var(--gold-press) !important;
}

/* سيكشن Consultation Types في consulting: dark section + 3 كروت */
.consulting-types-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.consulting-types .training-programs-card {
  padding: 28px 24px;
}
.consulting-types-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.consulting-types-card-iconbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--gold);
}
.consulting-types-card-title {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 4px;
}
.consulting-types-card-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0;
}
.consulting-types-features {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
.consulting-types .training-programs-card-feature {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

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

/* سيكشن Method في consulting: 5 خطوات (نفس training-method) */
.consulting-method-steps .how-step {
  margin-bottom: 20px;
}
.consulting-method-steps .how-step:last-child {
  margin-bottom: 0;
}
.consulting-method-steps .how-step-title {
  font-size: clamp(16px, 1.6vw, 18px);
}
.consulting-method-steps .how-step-desc {
  font-size: clamp(13px, 1.2vw, 14px);
}

/* سيكشن Deliverables في consulting: 4 كروت + وصف تحت العنوان */
.consulting-deliverables .integration-deliverables-card {
  gap: 14px;
}
.consulting-deliverables-card-desc {
  font-size: clamp(13px, 1.1vw, 14px);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

/* ============================================================
   صفحة الباقات — Toggle شهري/سنوي
   ============================================================ */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: #F1F5F9;
  padding: 6px;
  border-radius: 14px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.pricing-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  font-family: inherit;
}

.pricing-toggle-btn.active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(14, 35, 63, 0.3);
}

.pricing-toggle-btn:not(.active):hover {
  color: var(--navy);
}

/* باتش الخصم - بره مربع السويتش، ملزوق على الزاوية العلوية اليسرى للسنوي */
.pricing-toggle-discount {
  position: absolute;
  top: -10px;
  left: -12px;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  border-radius: 8px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 2px 8px -2px rgba(242, 201, 76, 0.5);
  z-index: 2;
  transform: rotate(-6deg);
}

@media (max-width: 600px) {
  .pricing-toggle {
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 280px;
  }
  .pricing-toggle-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* ============================================================
   صفحة الباقات — جدول المقارنة التفصيلية
   ============================================================ */
.pricing-compare {
  padding: 80px 24px;
  background: var(--bg);
}

.pricing-compare-container {
  max-width: var(--container);
  margin: 0 auto;
}

.pricing-compare-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.pricing-compare-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pricing-compare-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}

.pricing-compare-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0;
}

/* الجدول */
.pricing-compare-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px -8px rgba(14, 35, 63, 0.12);
  -webkit-overflow-scrolling: touch;
}

.pricing-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.pricing-compare-table thead tr {
  background: var(--navy);
}

.pricing-compare-table th {
  padding: 18px 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.pricing-compare-table th.col-feature {
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 14px;
}

.pricing-compare-table th.col-featured {
  color: var(--gold);
}

.pricing-compare-table td {
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #E2E8F0;
  font-weight: 500;
}

.pricing-compare-table td.col-feature {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

/* عمود النمو المميز */
.pricing-compare-table td.col-featured {
  background: rgba(242, 201, 76, 0.08);
  color: var(--gold-press);
  font-weight: 700;
}

.pricing-compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* علامات الصح والخطأ */
.pricing-compare-table .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.pricing-compare-table .cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #F1F5F9;
  color: #94A3B8;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 600px) {
  .pricing-compare {
    padding: 60px 16px;
  }
  .pricing-compare-head {
    margin-bottom: 32px;
  }
  .pricing-compare-title {
    font-size: 24px;
  }
  .pricing-compare-table th,
  .pricing-compare-table td {
    padding: 12px 10px;
    font-size: 13px;
  }
  .pricing-compare-table th {
    font-size: 14px;
  }
  .pricing-compare-table td.col-feature {
    font-size: 13px;
  }
}

/* ============================================================
   صفحة تواصل معنا — سيكشن الفورم والتواصل
   ============================================================ */
.contact-main {
  padding: 80px 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 201, 76, 0.06), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(14, 35, 63, 0.04), transparent 45%),
    var(--bg);
}

.contact-main-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 48px;
  align-items: start;
}

/* ---------- العمود الأيسر: بيانات التواصل ---------- */
.contact-info {
  padding: 12px 0;
}

.contact-info-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.contact-info-desc {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0 0 32px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(242, 201, 76, 0.15);
  color: var(--gold-press);
  border-radius: 12px;
  flex-shrink: 0;
}
.contact-info-icon--navy {
  background: rgba(14, 35, 63, 0.08);
  color: var(--navy);
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-label {
  font-size: 13px;
  color: #94A3B8;
  font-weight: 600;
}

.contact-info-value {
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.contact-info-social {
  display: flex;
  gap: 12px;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--navy);
  transition: all 0.3s var(--ease-spring);
}
.contact-social-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -4px rgba(242, 201, 76, 0.4);
}

/* ---------- العمود الأيمن: الفورم ---------- */
.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 40px -12px rgba(14, 35, 63, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.required {
  color: #DC2626;
  font-weight: 700;
}

.contact-form-field input,
.contact-form-field textarea,
.contact-form-select,
.contact-form-select-code {
  padding: 12px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  background: #F8FAFC;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  outline: none;
  width: 100%;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus,
.contact-form-select:focus,
.contact-form-select-code:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.15);
  background: #fff;
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}

/* حقل الهاتف مع كود الدولة */
.contact-form-phone {
  display: flex;
  gap: 8px;
}

.contact-form-select-code {
  width: 120px;
  flex-shrink: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  padding-left: 30px;
  font-size: 13px;
}

.contact-form-phone input {
  flex: 1;
}

/* زر الإرسال */
.contact-form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

.contact-form-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(242, 201, 76, 0.5);
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.contact-form-btn svg {
  transition: transform 0.3s var(--ease-spring);
}
.contact-form-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(242, 201, 76, 0.6);
}
.contact-form-btn:hover svg {
  transform: translateX(-4px) translateY(-2px); /* طائرة ورقية لليسار + فوق */
}

/* ملاحظة الخصوصية */
.contact-form-privacy {
  text-align: center;
  font-size: 13px;
  color: #94A3B8;
  margin: 20px 0 0;
  font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-main {
    padding: 60px 20px;
  }
  .contact-main-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-info {
    order: 1;
  }
  .contact-form-wrap {
    order: 2;
  }
}

@media (max-width: 600px) {
  .contact-main {
    padding: 44px 16px;
  }
  .contact-info-title {
    font-size: 24px;
  }
  .contact-info-desc {
    font-size: 14px;
  }
  .contact-form-wrap {
    padding: 24px 20px;
  }
  .contact-form-row--2 {
    grid-template-columns: 1fr;
  }
  .contact-form-phone {
    flex-direction: column;
  }
  .contact-form-select-code {
    width: 100%;
  }
  .contact-form-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    font-size: 15px;
  }
}

/* ============================================================
   صفحة تواصل معنا — سيكشن موقع مكاتبنا (Dark)
   ============================================================ */
.contact-offices {
  position: relative;
  background: var(--navy);
  padding: 80px 24px;
  overflow: hidden;
}

/* شكل منحني خافت على اليسار */
.contact-offices::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(242, 201, 76, 0.04);
  filter: blur(90px);
  pointer-events: none;
}

.contact-offices-container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}

/* الهيدر */
.contact-offices-head {
  text-align: right;
  max-width: 680px;
  margin: 0 0 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.contact-offices-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.contact-offices-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 14px;
}

.contact-offices-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
  margin: 0;
}

.contact-offices-heading-line {
  margin: 0 0 18px;
  display: block;
}

/* Grid: 2 كروت */
.contact-offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.contact-offices-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* الكارت */
.contact-offices-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform 0.35s var(--ease-spring), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.contact-offices-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 201, 76, 0.3);
}

/* أيقونة دبوس الخريطة */
.contact-offices-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(14, 35, 63, 0.5);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 12px;
  flex-shrink: 0;
}

/* محتوى الكارت */
.contact-offices-card-body {
  flex: 1;
  min-width: 0;
}

.contact-offices-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.contact-offices-card-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.contact-offices-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(242, 201, 76, 0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  white-space: nowrap;
}

.contact-offices-card-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-offices-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}
.contact-offices-detail svg {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  margin-top: 2px;
}

/* رابط الاتجاهات */
.contact-offices-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.contact-offices-card-link svg {
  transition: transform 0.3s var(--ease-spring);
}
.contact-offices-card-link:hover {
  color: var(--gold-hover);
}
.contact-offices-card-link:hover svg {
  transform: translateX(-3px);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-offices {
    padding: 60px 20px;
  }
  .contact-offices-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-offices-head {
    margin-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .contact-offices {
    padding: 44px 16px;
  }
  .contact-offices-title {
    font-size: 24px;
  }
  .contact-offices-sub {
    font-size: 14px;
  }
  .contact-offices-card {
    padding: 24px 20px;
    gap: 16px;
  }
  .contact-offices-card-icon {
    width: 44px;
    height: 44px;
  }
  .contact-offices-card-title {
    font-size: 18px;
  }
  .contact-offices-detail {
    font-size: 13px;
  }
}

/* ============================================================
   صفحة المشروع — الهيرو (Breadcrumbs + Banner + Meta)
   ============================================================ */
.project-hero {
  padding: calc(var(--header-h) + 24px) 24px 0;
  background: var(--bg);
}

.project-hero-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* فتات الخبز */
.project-hero-breadcrumbs {
  margin-bottom: 20px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.breadcrumb-link {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.breadcrumb-link:hover {
  color: var(--gold-press);
}

.breadcrumb-sep {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.breadcrumb-current {
  color: #94A3B8;
  font-weight: 500;
}

/* البانر الرئيسي */
.project-hero-banner {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 60px -20px rgba(14, 35, 63, 0.25);
}

/* صورة الخلفية */
.project-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay داكن */
.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.88) 0%, rgba(14, 35, 63, 0.75) 50%, rgba(14, 35, 63, 0.65) 100%);
  z-index: 1;
}

/* المحتوى */
.project-hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 48px;
  max-width: 680px;
}

.project-hero-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
}

.project-hero-desc {
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  margin: 0 0 32px;
}

/* شريط الميتا */
.project-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.project-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}
.project-hero-meta-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .project-hero {
    padding: calc(var(--header-h) + 16px) 20px 0;
  }
  .project-hero-banner {
    min-height: 420px;
    border-radius: 24px;
  }
  .project-hero-content {
    padding: 40px 32px;
    max-width: 100%;
  }
  .project-hero-meta {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .project-hero {
    padding: calc(var(--header-h) + 12px) 16px 0;
  }
  .project-hero-banner {
    min-height: 380px;
    border-radius: 20px;
  }
  .project-hero-content {
    padding: 32px 24px;
  }
  .project-hero-title {
    font-size: 24px;
  }
  .project-hero-desc {
    font-size: 14px;
  }
  .project-hero-meta {
    gap: 12px;
  }
  .project-hero-meta-item {
    font-size: 13px;
  }
  .breadcrumbs {
    font-size: 12px;
  }
}

/* ============================================================
   صفحة الخدمة الواحدة — الهيرو (Breadcrumbs + Centered Banner + CTAs)
   ============================================================ */
.service-hero {
  padding: calc(var(--header-h) + 24px) 24px 0;
  background: var(--bg);
}

.service-hero-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* فتات الخبز — الصف النشط داكن وعريض */
.service-hero-breadcrumbs {
  margin-bottom: 20px;
}

.service-breadcrumb-active {
  color: var(--navy);
  font-weight: 800;
}

/* البانر الرئيسي — أطراف دائرية ناعمة + ظل خفيف */
.service-hero-banner {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 70px -24px rgba(14, 35, 63, 0.30);
}

/* صورة الخلفية (استوديو مونتاج داكن) */
.service-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay داكن — يضمن تباين عالي للنصوص البيضاء */
.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 26, 0.78) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

/* المحتوى المتمركز في المنتصف */
.service-hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 48px;
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.service-hero-content.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* العنوان الرئيسي — سطرين، أبيض، سميك وضخم */
.service-hero-title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  color: #fff;
  line-height: 1.28;
  letter-spacing: -0.5px;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-hero-title-line {
  display: block;
}

/* النص الوصفي — رمادي فاتح / أبيض شفاف */
.service-hero-desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.95;
  margin: 0 0 40px;
  font-weight: 400;
}

/* مجموعة الأزرار — متجاورين أفقيًا */
.service-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* القاعدة المشتركة للأزرار */
.service-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 999px;
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}

.service-hero-btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* الزر الأساسي — أصفر فاقع، نص كحلي داكن */
.service-hero-btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(242, 201, 76, 0.40);
  position: relative;
  overflow: hidden;
}
.service-hero-btn--primary::before {
  content: '';
  position: absolute;
  top: 0; right: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: right 0.6s var(--ease-out);
}
.service-hero-btn--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.service-hero-btn--primary:hover::before { right: 130%; }
.service-hero-btn--primary .service-hero-btn-icon {
  transition: transform 0.4s var(--ease-spring);
}
.service-hero-btn--primary:hover .service-hero-btn-icon {
  transform: translate(-4px, -4px) rotate(-15deg);
}

/* الزر الثانوي — شفاف، نص وأيقونة بيضاء */
.service-hero-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}
.service-hero-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-3px);
}
.service-hero-btn--ghost .service-hero-btn-icon--down {
  transition: transform 0.4s var(--ease-spring);
}
.service-hero-btn--ghost:hover .service-hero-btn-icon--down {
  transform: translateY(4px);
}

/* Responsive */
@media (max-width: 900px) {
  .service-hero {
    padding: calc(var(--header-h) + 16px) 20px 0;
  }
  .service-hero-banner {
    min-height: 460px;
    border-radius: 24px;
  }
  .service-hero-content {
    padding: 48px 32px;
    max-width: 100%;
  }
  .service-hero-desc {
    margin-bottom: 32px;
  }
}

@media (max-width: 600px) {
  .service-hero {
    padding: calc(var(--header-h) + 12px) 16px 0;
  }
  .service-hero-banner {
    min-height: 420px;
    border-radius: 20px;
  }
  .service-hero-content {
    padding: 40px 22px;
  }
  .service-hero-title {
    font-size: 26px;
    margin-bottom: 18px;
  }
  .service-hero-desc {
    font-size: 14px;
    margin-bottom: 28px;
  }
  .service-hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .service-hero-btn {
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }
  .breadcrumbs {
    font-size: 12px;
  }
}

/* ============================================================
   صفحة القطاع الواحد — الهيرو الهجين (Content + Stats Grid 2x2)
   ============================================================ */
.sector-hero {
  padding: calc(var(--header-h) + 24px) 24px 0;
  background: var(--bg);
}

.sector-hero-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* فتات الخبز — الصف النشط داكن وعريض */
.sector-hero-breadcrumbs {
  margin-bottom: 20px;
}

.sector-breadcrumb-active {
  color: var(--navy);
  font-weight: 800;
}

/* البانر الرئيسي — أطراف دائرية ناعمة + ظل خفيف */
.sector-hero-banner {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 70px -24px rgba(14, 35, 63, 0.30);
}

/* صورة الخلفية */
.sector-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay داكن تدرجي — يتكثف في الأطراف */
.sector-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 22, 26, 0.82) 0%, rgba(10, 25, 47, 0.75) 50%, rgba(14, 35, 63, 0.68) 100%);
  z-index: 1;
}

/* المحتوى: عمودين (نص 55% + إحصائيات 45%) */
.sector-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.sector-hero-content.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* الكتلة النصية (يمين في RTL) */
.sector-hero-text {
  text-align: right;
}

.sector-hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}

.sector-hero-desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.95;
  margin: 0 0 36px;
  font-weight: 400;
  max-width: 540px;
}

/* مجموعة الأزرار */
.sector-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* القاعدة المشتركة للأزرار */
.sector-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 999px;
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}

.sector-hero-btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* الزر الأساسي — أصفر فاقع، نص كحلي داكن */
.sector-hero-btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(242, 201, 76, 0.40);
  position: relative;
  overflow: hidden;
}
.sector-hero-btn--primary::before {
  content: '';
  position: absolute;
  top: 0; right: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: right 0.6s var(--ease-out);
}
.sector-hero-btn--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.sector-hero-btn--primary:hover::before { right: 130%; }
.sector-hero-btn--primary .sector-hero-btn-icon {
  transition: transform 0.4s var(--ease-spring);
}
.sector-hero-btn--primary:hover .sector-hero-btn-icon {
  transform: translate(-4px, -4px) rotate(-15deg);
}

/* الزر الثانوي — شفاف، نص وأيقونة بيضاء */
.sector-hero-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}
.sector-hero-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-3px);
}
.sector-hero-btn--ghost .sector-hero-btn-icon--down {
  transition: transform 0.4s var(--ease-spring);
}
.sector-hero-btn--ghost:hover .sector-hero-btn-icon--down {
  transform: translateY(4px);
}

/* شبكة الإحصائيات (2x2) — Glassmorphism */
.sector-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sector-hero-stat-card {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.4s var(--ease-spring), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
}
.sector-hero-content.revealed .sector-hero-stat-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.sector-hero-content.revealed .sector-hero-stat-card[data-stat="0"] { transition-delay: 200ms; }
.sector-hero-content.revealed .sector-hero-stat-card[data-stat="1"] { transition-delay: 300ms; }
.sector-hero-content.revealed .sector-hero-stat-card[data-stat="2"] { transition-delay: 400ms; }
.sector-hero-content.revealed .sector-hero-stat-card[data-stat="3"] { transition-delay: 500ms; }

.sector-hero-stat-card:hover {
  transform: translateY(-4px);
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(242, 201, 76, 0.4);
}

.sector-hero-stat-num {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.sector-hero-stat-label {
  font-size: clamp(12.5px, 1.1vw, 14px);
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 980px) {
  .sector-hero {
    padding: calc(var(--header-h) + 16px) 20px 0;
  }
  .sector-hero-banner {
    min-height: 480px;
    border-radius: 24px;
  }
  .sector-hero-content {
    padding: 44px 32px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sector-hero-text {
    text-align: center;
  }
  .sector-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .sector-hero-cta {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .sector-hero {
    padding: calc(var(--header-h) + 12px) 16px 0;
  }
  .sector-hero-banner {
    min-height: auto;
    border-radius: 20px;
  }
  .sector-hero-content {
    padding: 36px 22px;
    gap: 28px;
  }
  .sector-hero-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .sector-hero-desc {
    font-size: 14px;
    margin-bottom: 26px;
  }
  .sector-hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .sector-hero-btn {
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }
  .sector-hero-stats {
    gap: 12px;
  }
  .sector-hero-stat-card {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .sector-hero-stat-num {
    font-size: 24px;
  }
  .sector-hero-stat-label {
    font-size: 12px;
  }
  .breadcrumbs {
    font-size: 12px;
  }
}

/* ============================================================
   صفحة الخدمة — ماذا تتضمن الخدمة؟ (White Section + 6 كروت 3x2)
   ============================================================ */
.service-includes {
  position: relative;
  background: var(--bg);
  padding: 90px 24px 80px;
  overflow: hidden;
}

.service-includes-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* الهيدر الممركز */
.service-includes-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.service-includes-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.service-includes-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}

.service-includes-heading-line {
  margin: 0 auto 18px;
  display: block;
  height: auto;
  max-width: 100%;
}

.service-includes-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* الشبكة — 3 أعمدة × 2 صفوف */
.service-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.service-includes-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* الكارت — أبيض بحدود فاتحة + حواف دائرية */
.service-includes-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  text-align: right;
  box-shadow: 0 2px 8px -2px rgba(14, 35, 63, 0.05);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}
.service-includes-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.service-includes-card[data-card="0"].revealed { transition-delay: 0ms; }
.service-includes-card[data-card="1"].revealed { transition-delay: 80ms; }
.service-includes-card[data-card="2"].revealed { transition-delay: 160ms; }
.service-includes-card[data-card="3"].revealed { transition-delay: 240ms; }
.service-includes-card[data-card="4"].revealed { transition-delay: 320ms; }
.service-includes-card[data-card="5"].revealed { transition-delay: 400ms; }
.service-includes-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 20px 40px -12px rgba(14, 35, 63, 0.15);
}

/* الأيقونة — مربع كحلي غامق بحدود صفراء رفيعة، أعلى اليمين */
.service-includes-card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 14px;
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease-spring), background 0.35s var(--ease-out);
}
.service-includes-card:hover .service-includes-card-icon {
  transform: scale(1.08);
  background: #0A192F;
}

/* جسم الكارت */
.service-includes-card-body {
  text-align: right;
}

.service-includes-card-title {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 12px;
}

.service-includes-card-desc {
  font-size: clamp(13.5px, 1.2vw, 15px);
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* زر CTA في آخر السيكشن — أصفر + أيقونة صاروخ */
.service-includes-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.service-includes-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

.service-includes-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(242, 201, 76, 0.40);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.service-includes-cta-btn::before {
  content: '';
  position: absolute;
  top: 0; right: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: right 0.6s var(--ease-out);
}
.service-includes-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.service-includes-cta-btn:hover::before { right: 130%; }
.service-includes-cta-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--ease-spring);
}
.service-includes-cta-btn:hover .service-includes-cta-icon {
  transform: translate(-4px, -4px) rotate(-15deg);
}

/* Responsive */
@media (max-width: 980px) {
  .service-includes {
    padding: 72px 20px 64px;
  }
  .service-includes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .service-includes-head {
    margin-bottom: 44px;
  }
}

@media (max-width: 620px) {
  .service-includes {
    padding: 56px 16px 48px;
  }
  .service-includes-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-includes-card {
    padding: 26px 22px;
    border-radius: 14px;
  }
  .service-includes-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
  }
  .service-includes-title {
    font-size: 23px;
  }
  .service-includes-sub {
    font-size: 14px;
  }
}

/* ============================================================
   صفحة المشروع — ملخص سريع (Bento Grid - about-explore style)
   ============================================================ */
.project-summary {
  padding: 80px 24px;
  background: var(--bg);
}

.project-summary-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* الهيدر */
.project-summary-head {
  text-align: right;
  max-width: 680px;
  margin: 0 0 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.project-summary-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.project-summary-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}

.project-summary-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0;
}

/* Bento Grid: 30% + 70% (صف أول) + 100% (صف تاني) */
.project-summary-grid {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.project-summary-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* الكارت - نفس روح about-explore */
.project-summary-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;       /* محاذاة لليمين في RTL */
  justify-content: center;
  text-align: right;             /* محاذاة النص لليمين */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.45s var(--ease-out);
  will-change: transform, opacity;
}
.project-summary-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.project-summary-card[data-card="0"].revealed { transition-delay: 0ms; }
.project-summary-card[data-card="1"].revealed { transition-delay: 150ms; }
.project-summary-card[data-card="2"].revealed { transition-delay: 300ms; }
.project-summary-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(14, 35, 63, 0.3);
}

/* ألوان متدرجة (نفس about-explore) */
.project-summary-card--1 { background: #153D72; }
.project-summary-card--2 { background: #2B578F; }
.project-summary-card--3 {
  background: #5073A0;
  grid-column: 1 / -1;          /* 100% عرض */
}

/* فيكتور زخرفي */
.project-summary-card-vector {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 165%;
  width: auto;
  opacity: 0.5;
  pointer-events: none;
  object-fit: cover;
  z-index: 0;
}

/* النص الكبير (فوق) */
.project-summary-card-num {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

/* الـ label (تحت) */
.project-summary-card-label {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
}

/* كارت الأدوات - محتوى مخصص */
.project-summary-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;       /* محاذاة لليمين في RTL */
  gap: 12px;
  width: 100%;
}

.project-summary-card-content .project-summary-card-num {
  margin-bottom: 0;
  text-align: right;
}

.project-summary-card-content .project-summary-card-label {
  text-align: right;
}

/* أدوات */
.project-summary-tools {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;  /* محاذاة لليمين في RTL */
}

.project-summary-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row-reverse;  /* الأيقونة على اليمين + الاسم على الشمال */
}

.project-summary-tool span {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.project-summary-tool img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .project-summary {
    padding: 60px 20px;
  }
  .project-summary-grid {
    grid-template-columns: 1fr;
  }
  .project-summary-card--3 {
    grid-column: 1;
  }
  .project-summary-card-content {
    align-items: flex-end;
  }
  .project-summary-head {
    margin-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .project-summary {
    padding: 44px 16px;
  }
  .project-summary-title {
    font-size: 24px;
  }
  .project-summary-sub {
    font-size: 14px;
  }
  .project-summary-card {
    padding: 28px 20px;
  }
  .project-summary-card-num {
    font-size: 15px;
  }
  .project-summary-tools {
    gap: 16px;
  }
  .project-summary-tool span {
    font-size: 13px;
  }
  .project-summary-tool img {
    width: 22px;
    height: 22px;
  }
}

/* ============================================================
   صفحة المشروع — سيكشن التحدي (Dark Challenge)
   ============================================================ */
.project-challenge {
  padding: 80px 24px;
  background: var(--bg);
}

.project-challenge-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* كارت كحلي داكن */
.project-challenge-card {
  background: linear-gradient(135deg, #0A192F 0%, #0E233F 100%);
  border-radius: 32px;
  padding: 56px 48px;
  box-shadow: 0 20px 60px -20px rgba(14, 35, 63, 0.4);
}

/* الهيدر */
.project-challenge-head {
  text-align: right;
  margin-bottom: 40px;
}

.project-challenge-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 14px;
}

.project-challenge-desc {
  font-size: clamp(15px, 1.4vw, 17px);
  color: #fff;
  font-weight: 500;
  line-height: 1.85;
  margin: 18px 0 0;
  max-width: 800px;
}

/* شبكة النقاط (2x2) */
.project-challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-challenge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.project-challenge-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .project-challenge {
    padding: 60px 20px;
  }
  .project-challenge-card {
    padding: 40px 32px;
    border-radius: 24px;
  }
  .project-challenge-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .project-challenge {
    padding: 44px 16px;
  }
  .project-challenge-card {
    padding: 32px 24px;
    border-radius: 20px;
  }
  .project-challenge-title {
    font-size: 24px;
  }
  .project-challenge-desc {
    font-size: 14px;
  }
  .project-challenge-item {
    padding: 16px 18px;
    font-size: 14px;
  }
}

/* صفحة المشروع — heading-line مشترك لكل السيكشنز */
.project-heading-line {
  margin: 0 0 18px;
  display: block;
  height: auto;
  max-width: 100%;
}

/* ============================================================
   صفحة المشروع — سيكشن النجاح في التفاصيل (50/50)
   ============================================================ */
.project-success {
  padding: 80px 24px;
  background: #FAFBFC;
}

.project-success-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* العمود الأيمن: النصوص */
.project-success-text {
  text-align: right;
}

.project-success-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}

.project-success-p1 {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.9;
  margin: 18px 0 24px;
  text-align: justify;
}

.project-success-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-success-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 600;
  color: var(--navy);
}

.project-success-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.project-success-p2 {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.9;
  margin: 0;
  text-align: justify;
}

/* العمود الأيسر: الصورة */
.project-success-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  /* تم إزالة aspect-ratio - الصورة بتاخد ارتفاع طبيعي */
  box-shadow: 0 16px 40px -12px rgba(14, 35, 63, 0.2);
  align-self: center;
}

.project-success-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* علامة مائية BK في الزاوية السفلية اليمنى */
.project-success-watermark {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 15%;
  height: auto;
  opacity: 0.3;
  pointer-events: none;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 900px) {
  .project-success {
    padding: 60px 20px;
  }
  .project-success-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .project-success {
    padding: 44px 16px;
  }
  .project-success-title {
    font-size: 24px;
  }
  .project-success-p1,
  .project-success-p2 {
    font-size: 14px;
  }
  .project-success-list li {
    font-size: 13px;
  }
  .project-success-visual {
    border-radius: 20px;
    aspect-ratio: 16 / 12;
  }
  .project-success-watermark {
    width: 20%;
  }
}

/* ============================================================
   صفحة المشروع — سيكشن الحل (3-Column Roadmap)
   ============================================================ */
.project-solution {
  padding: 80px 24px;
  background: #FAFBFC;
}

.project-solution-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* الهيدر */
.project-solution-head {
  text-align: right;
  max-width: 680px;
  margin: 0 0 48px;
}

.project-solution-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}

.project-solution-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.85;
  margin: 18px 0 0;
}

/* Grid: 3 أعمدة */
.project-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* كل مرحلة */
.project-solution-stage {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 4px 20px -8px rgba(14, 35, 63, 0.06);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.project-solution-stage:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(14, 35, 63, 0.12);
}

/* رأس المرحلة */
.project-solution-stage-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E2E8F0;
}

.project-solution-stage-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  border-radius: 12px;
  flex-shrink: 0;
}

.project-solution-stage-title {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 4px;
}

.project-solution-stage-duration {
  font-size: 13px;
  font-weight: 700;
  color: #329BA8;
}

/* القائمة النقطية */
.project-solution-stage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-solution-stage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  line-height: 1.6;
  text-align: right;
}

.project-solution-bullet {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* Responsive */
@media (max-width: 900px) {
  .project-solution {
    padding: 60px 20px;
  }
  .project-solution-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-solution-head {
    margin-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .project-solution {
    padding: 44px 16px;
  }
  .project-solution-title {
    font-size: 24px;
  }
  .project-solution-sub {
    font-size: 14px;
  }
  .project-solution-stage {
    padding: 24px 20px;
  }
  .project-solution-stage-num {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .project-solution-stage-title {
    font-size: 16px;
  }
  .project-solution-stage-list li {
    font-size: 13px;
  }
}

/* خط أبيض للنتائج */
.project-results-heading-line {
  margin: 0 0 18px;
  display: block;
  height: auto;
  max-width: 100%;
}

/* ============================================================
   صفحة المشروع — سيكشن النتائج (Yellow Stats)
   ============================================================ */
.project-results {
  padding: 80px 24px;
  background: #FAFBFC;
}

.project-results-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* كارت أصفر ضخم */
.project-results-card {
  background: linear-gradient(135deg, #F2C94C 0%, #E0B73A 100%);
  border-radius: 32px;
  padding: 56px 48px;
  box-shadow: 0 20px 60px -20px rgba(242, 201, 76, 0.4);
}

/* الهيدر */
.project-results-head {
  text-align: right;
  margin-bottom: 40px;
}

.project-results-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}

/* خط أبيض + دائرة بيضاء */
.project-results-white-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.project-results-white-bar {
  display: block;
  width: 56px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.project-results-white-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

.project-results-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

/* كروت الأرقام (4 أعمدة) */
.project-results-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.project-results-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
}

.project-results-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  flex-shrink: 0;
}

.project-results-stat-num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.project-results-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.8;
}

/* صفوف التفاصيل (2x2) */
.project-results-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-results-insight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.project-results-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .project-results {
    padding: 60px 20px;
  }
  .project-results-card {
    padding: 40px 32px;
    border-radius: 24px;
  }
  .project-results-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .project-results-insights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .project-results {
    padding: 44px 16px;
  }
  .project-results-card {
    padding: 32px 24px;
    border-radius: 20px;
  }
  .project-results-title {
    font-size: 24px;
  }
  .project-results-sub {
    font-size: 16px;
  }
  .project-results-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .project-results-stat {
    padding: 20px 16px;
  }
  .project-results-stat-num {
    font-size: 28px;
  }
  .project-results-insight {
    padding: 14px 18px;
    font-size: 14px;
  }
}

/* ============================================================
   صفحة المشروع — سيكشن لحظات من الرحلة (Bento Gallery)
   ============================================================ */
.project-moments {
  padding: 80px 24px;
  background: #FAFBFC;
}

.project-moments-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* الهيدر */
.project-moments-head {
  text-align: right;
  max-width: 680px;
  margin: 0 0 48px;
}

.project-moments-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}

.project-moments-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0;
}

/* Bento Grid - 3 أعمدة × 2 صفوف (صورة كبيرة في النص) */
.project-moments-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 16px;
}

.project-moments-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.project-moments-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-spring);
}

.project-moments-item:hover img {
  transform: scale(1.05);
}

/* الكارت الأول: ضخم في النص - 1 عمود × 2 صف */
.project-moments-item--1 {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* الباقي مربعات عادية */
.project-moments-item--4 {
  grid-column: span 1;
}

/* Responsive */
@media (max-width: 900px) {
  .project-moments {
    padding: 60px 20px;
  }
  .project-moments-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }
  .project-moments-item--1 {
    grid-column: 1 / span 2;
    grid-row: span 1;
  }
  .project-moments-item--4 {
    grid-column: span 1;
  }
  .project-moments-head {
    margin-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .project-moments {
    padding: 44px 16px;
  }
  .project-moments-title {
    font-size: 24px;
  }
  .project-moments-sub {
    font-size: 14px;
  }
  .project-moments-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 160px 160px 160px 160px;
  }
  .project-moments-item--1,
  .project-moments-item--4 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ============================================================
   صفحة المشروع — سيكشن مشاريع أخرى (Grid 6 كروت)
   ============================================================ */
.other-projects {
  padding: 80px 24px;
  background: var(--bg);
}

.other-projects-container {
  max-width: var(--container);
  margin: 0 auto;
}

.other-projects-head {
  text-align: center;
  margin-bottom: 48px;
}

.other-projects-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}

.other-projects-head .project-heading-line {
  margin: 0 auto 18px;
}

.other-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.other-projects-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.other-projects-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(14, 35, 63, 0.12);
}

.other-projects-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.other-projects-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-spring);
}
.other-projects-card:hover .other-projects-card-img img {
  transform: scale(1.05);
}

.other-projects-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.other-projects-card-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-press);
  background: rgba(242, 201, 76, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.other-projects-card-title {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}

.other-projects-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

.other-projects-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.other-projects-card-tags span {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 8px;
}

.other-projects-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0;
  text-align: center;
}

@media (max-width: 900px) {
  .other-projects {
    padding: 60px 20px;
  }
  .other-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .other-projects-head {
    margin-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .other-projects {
    padding: 44px 16px;
  }
  .other-projects-title {
    font-size: 24px;
  }
  .other-projects-grid {
    gap: 16px;
  }
  .other-projects-card-body {
    padding: 20px;
  }
}

/* ============================================================
   صفحة الخدمة — أهم مشاريع الخدمة (عنوان يمين + عرض الكل شمال + 2 كروت)
   ============================================================ */
.service-projects {
  padding: 80px 24px;
  background: var(--bg);
}

.service-projects-container {
  max-width: var(--container);
  margin: 0 auto;
}

/* الهيدر: نص يمين + رابط عرض الكل شمال */
.service-projects-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.service-projects-head.revealed {
  opacity: 1;
  transform: translateY(0);
}

.service-projects-head-text {
  text-align: right;
  flex: 1;
  min-width: 0;
}

.service-projects-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}

.service-projects-heading-line {
  margin: 0 0 18px;
  display: block;
  height: auto;
  max-width: 100%;
}

.service-projects-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.85;
  margin: 0;
}

/* رابط عرض جميع المشاريع — شمال */
.service-projects-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding-top: 8px;
  white-space: nowrap;
  transition: color 0.3s var(--ease-out);
}
.service-projects-view-all:hover {
  color: var(--gold-press);
}
.service-projects-view-all-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--ease-spring);
}
.service-projects-view-all:hover .service-projects-view-all-icon {
  transform: translateX(-5px);
}

/* الشبكة — 2 كروت */
.service-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.service-projects-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* الكارت */
.service-projects-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 8px -2px rgba(14, 35, 63, 0.05);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out);
}
.service-projects-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px -12px rgba(14, 35, 63, 0.15);
}

.service-projects-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F1F5F9;
}
.service-projects-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.service-projects-card:hover .service-projects-card-img img {
  transform: scale(1.05);
}

.service-projects-card-body {
  padding: 24px 26px;
}

.service-projects-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-press);
  background: #FFF8E6;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.service-projects-card-title {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 12px;
}

.service-projects-card-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 16px;
}

.service-projects-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.service-projects-card-tags span {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .service-projects {
    padding: 60px 20px;
  }
  .service-projects-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }
  .service-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .service-projects {
    padding: 44px 16px;
  }
  .service-projects-title {
    font-size: 24px;
  }
  .service-projects-grid {
    gap: 16px;
  }
  .service-projects-card-body {
    padding: 20px;
  }
  .service-projects-view-all {
    font-size: 14px;
  }
}

/* ============================================================
   صفحة المقالة الواحدة — الهيرو (Overlapping Card)
   ============================================================ */
.article-hero {
  padding: calc(var(--header-h) + 24px) 0 0;
  background: var(--bg);
}

.article-hero-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* فتات الخبز — خارج حاوية الصورة */
.article-hero-breadcrumbs {
  margin-bottom: 24px;
}

.article-breadcrumb-active {
  color: var(--navy);
  font-weight: 800;
}

/* حاوية البانر + الكارت المتداخل */
.article-hero-banner-wrap {
  position: relative;
}

/* البانر الرئيسي — صورة بانورامية عريضة */
.article-hero-banner {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 70px -24px rgba(14, 35, 63, 0.30);
}

/* صورة الخلفية */
.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay خفيف لتهدئة الألوان */
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
}

/* كارت محتوى المقالة المتداخل — يطفو في منتصف الجزء السفلي من البانر */
.article-hero-card {
  position: relative;
  z-index: 2;
  margin-top: -120px;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 24px 60px -16px rgba(14, 35, 63, 0.18);
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.article-hero-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* العنوان الرئيسي — كحلي داكن، سميك وضخم، سطرين */
.article-hero-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
}

/* المقتطف / الوصف الفرعي — رمادي داكن */
.article-hero-desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: #475569;
  line-height: 1.9;
  margin: 0;
  max-width: 720px;
}

/* شريط البيانات الوصفية ومشاركة المقال */
.article-hero-meta-bar {
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* البيانات الوصفية (يمين) */
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.article-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
}
.article-hero-meta-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* أزرار مشاركة المقال (يسار) */
.article-hero-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-hero-share-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-left: 4px;
}

.article-hero-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.article-hero-share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  opacity: 0.92;
}

.article-hero-share-btn--copy {
  background: #64748B;
}
.article-hero-share-btn--fb {
  background: #1877F2;
}
.article-hero-share-btn--tw {
  background: #1DA1F2;
}
.article-hero-share-btn--in {
  background: #0A66C2;
}

/* Responsive */
@media (max-width: 900px) {
  .article-hero {
    padding: calc(var(--header-h) + 16px) 0 0;
  }
  .article-hero-banner {
    height: 360px;
    border-radius: 24px;
  }
  .article-hero-card {
    margin-top: -100px;
    padding: 40px 32px;
    border-radius: 20px;
  }
  .article-hero-meta-bar {
    gap: 16px;
  }
  .article-hero-meta {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .article-hero {
    padding: calc(var(--header-h) + 12px) 0 0;
  }
  .article-hero-container,
  .article-hero-meta-bar {
    padding: 0 16px;
  }
  .article-hero-breadcrumbs {
    padding: 0 16px;
  }
  .article-hero-banner {
    height: 280px;
    border-radius: 20px;
  }
  .article-hero-card {
    margin-top: -80px;
    padding: 32px 22px;
    border-radius: 16px;
  }
  .article-hero-title {
    font-size: 23px;
    margin-bottom: 14px;
  }
  .article-hero-desc {
    font-size: 14px;
  }
  .article-hero-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .article-hero-meta {
    gap: 14px;
  }
  .article-hero-meta-item {
    font-size: 13px;
  }
  .article-hero-share-label {
    font-size: 13px;
  }
  .article-hero-share-btn {
    width: 34px;
    height: 34px;
  }
  .breadcrumbs {
    font-size: 12px;
  }
}

/* ============================================================
   صفحة المقالة الواحدة — جسم المقالة (Post Content)
   ============================================================ */
.article-body {
  padding: 0 24px 80px;
  background: var(--bg);
}

.article-body-container {
  max-width: 820px;
  margin: 0 auto;
}

/* المقدمة */
.article-body-intro {
  margin-bottom: 40px;
}
.article-body-intro p {
  font-size: clamp(15px, 1.4vw, 17px);
  color: #475569;
  line-height: 2;
  margin: 0 0 18px;
}

/* العناوين الرئيسية (H2) — كحلي داكن، سميك وضخم */
.article-body-h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin: 48px 0 20px;
}

/* الفقرات — رمادي داكن، مسافات أسطر متوازنة */
.article-body-p {
  font-size: clamp(15px, 1.4vw, 17px);
  color: #475569;
  line-height: 2;
  margin: 0 0 24px;
}

/* صندوق النصيحة المهمة (Callout Box) — خلفية صفراء فاتحة + حد أصفر */
.article-callout {
  background: #FFFBEB;
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 28px 0 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.article-callout.revealed {
  opacity: 1;
  transform: translateY(0);
}

.article-callout-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.article-callout-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  border-radius: 10px;
  flex-shrink: 0;
}

.article-callout-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.article-callout-text {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.9;
  margin: 0;
}

/* كروت الألوان (4 كروت) — flex أفقي: مربع لوني يسار + نص يمين */
.article-colors {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.article-colors.revealed {
  opacity: 1;
  transform: translateY(0);
}

.article-color-card {
  display: flex;
  align-items: stretch;
  gap: 20px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px -2px rgba(14, 35, 63, 0.05);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
}
.article-colors.revealed .article-color-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s var(--ease-out);
}
.article-colors.revealed .article-color-card[data-color="0"] { transition-delay: 0ms; }
.article-colors.revealed .article-color-card[data-color="1"] { transition-delay: 100ms; }
.article-colors.revealed .article-color-card[data-color="2"] { transition-delay: 200ms; }
.article-colors.revealed .article-color-card[data-color="3"] { transition-delay: 300ms; }
.article-color-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(14, 35, 63, 0.12);
  border-color: var(--gold);
}

/* المربع اللوني المصمت — يسار (في RTL: أول flex item) */
.article-color-swatch {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.15);
}

.article-color-body {
  flex: 1;
  min-width: 0;
}

.article-color-title {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 8px;
}

.article-color-desc {
  font-size: clamp(13.5px, 1.2vw, 15px);
  color: #64748B;
  line-height: 1.85;
  margin: 0;
}

/* قائمة نقطية (Icon List) — أيقونة صح صفراء في دائرة صفراء خفيفة */
.article-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.article-checklist.revealed {
  opacity: 1;
  transform: translateY(0);
}

.article-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: clamp(14px, 1.3vw, 16px);
  color: #475569;
  line-height: 1.9;
}
.article-checklist-item strong {
  color: var(--navy);
  font-weight: 800;
}

.article-checklist-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FEF3C7;
  color: var(--gold-press);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

/* صندوق الخلاصة (Conclusion Box) — داكن كحلي + نقشة مائية */
.article-conclusion {
  position: relative;
  background: linear-gradient(135deg, #0A192F 0%, #0E233F 100%);
  border-radius: 24px;
  padding: 40px 36px;
  margin-top: 48px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.article-conclusion.revealed {
  opacity: 1;
  transform: translateY(0);
}

.article-conclusion-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  object-fit: contain;
}

.article-conclusion-title {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 16px;
}

.article-conclusion-text {
  position: relative;
  z-index: 1;
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 2;
  margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .article-body {
    padding: 0 16px 56px;
  }
  .article-body-h2 {
    font-size: 20px;
    margin: 36px 0 16px;
  }
  .article-body-intro p,
  .article-body-p {
    font-size: 14.5px;
  }
  .article-callout {
    padding: 20px 18px;
    border-radius: 14px;
  }
  .article-color-card {
    padding: 16px;
    gap: 14px;
  }
  .article-color-swatch {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }
  .article-color-title {
    font-size: 15px;
  }
  .article-color-desc {
    font-size: 13px;
  }
  .article-checklist-item {
    font-size: 14px;
    gap: 12px;
  }
  .article-checklist-icon {
    width: 24px;
    height: 24px;
  }
  .article-conclusion {
    padding: 32px 24px;
    border-radius: 18px;
  }
  .article-conclusion-title {
    font-size: 20px;
  }
  .article-conclusion-text {
    font-size: 14.5px;
  }
}

/* ============================================================
   صفحات داخلية — placeholder للمحتوى قيد الإضافة
   ============================================================ */
.page-content {
  flex: 1 0 auto; /* خلي المحتوى ياخد المساحة المتاحة (sticky footer) */
}
.page-placeholder {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 24px 120px;
  text-align: center;
}
.page-placeholder-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
  padding: 6px 16px;
  background: #FFF8E6;
  border-radius: var(--radius-pill);
}
.page-placeholder-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.page-placeholder-desc {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
