﻿/* ============================================================
   MoviJo — موڤي جو | خدمات ترحيل ونقل العفش في الأردن
   ألوان الهوية مستمدة من اللوجو: بنفسجي + أصفر
   ============================================================ */

/* ---------- خط The Sans (عربي + إنجليزي) ----------
   وزنان متوفران: Plain للأوزان الخفيفة/العادية، وBold للأوزان الثقيلة.
   نطاقات الأوزان تضمن عدم قيام المتصفح بتغليظ صناعي مشوّه. */
@font-face {
  font-family: "TheSans";
  src: url("../fonts/The-Sans-Plain-alinma.ttf") format("truetype");
  font-weight: 100 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TheSans";
  src: url("../fonts/TheSans-Bold-alinma.ttf") format("truetype");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #5f2385;
  --purple-dark: #47186a;
  --purple-deep: #33104d;
  --yellow: #ffd23f;
  --yellow-dark: #f0b90b;
  --ink: #2b1440;
  --muted: #6f6382;
  --bg: #ffffff;
  --bg-soft: #f7f4fb;
  --border: #e9e2f2;
  --whatsapp: #25d366;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(51, 16, 77, 0.07);
  --shadow: 0 10px 30px rgba(51, 16, 77, 0.10);
  --shadow-lg: 0 20px 50px rgba(51, 16, 77, 0.18);
  --grad-purple: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  --grad-hero: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-dark) 55%, var(--purple) 100%);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "TheSans", "TheSansArabic", "The Sans", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--yellow); color: var(--purple-deep); }

:focus-visible {
  outline: 3px solid var(--yellow-dark);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---------- أزرار ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%);
  transform: translateX(150%);
  transition: transform .6s;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(-150%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn-primary {
  background: var(--yellow);
  color: var(--purple-deep);
  box-shadow: 0 8px 20px rgba(240, 185, 11, .35);
}
.btn-primary:hover { background: var(--yellow-dark); box-shadow: 0 12px 28px rgba(240, 185, 11, .45); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}
.btn-outline:hover { background: #fff; color: var(--purple-dark); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: var(--shadow); }
.btn-purple:hover { background: var(--purple-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1eb85a; }

/* ---------- الهيدر ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(51, 16, 77, .12); }
.brand { transition: transform .25s; }
.brand:hover { transform: scale(1.04); }

/* هيدر شفاف فوق الهيرو (الصفحة الرئيسية) — يعود أبيض عند التمرير */
.site-header.over-hero {
  position: fixed;
  inset-inline: 0;
  top: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.over-hero .main-nav a { color: #fff; }
.site-header.over-hero .main-nav a:hover { color: var(--yellow); }
.site-header.over-hero .main-nav a.active { color: var(--yellow); border-color: var(--yellow); }
.site-header.over-hero .nav-toggle span { background: #fff; }
.site-header.over-hero .header-cta {
  background: var(--yellow);
  color: var(--purple-deep);
  box-shadow: 0 8px 20px rgba(240, 185, 11, .3);
}
.site-header.over-hero.scrolled {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.site-header.over-hero.scrolled .main-nav a { color: var(--ink); }
.site-header.over-hero.scrolled .main-nav a:hover { color: var(--purple); }
.site-header.over-hero.scrolled .main-nav a.active { color: var(--purple); }
.site-header.over-hero.scrolled .nav-toggle span { background: var(--purple); }
.site-header.over-hero.scrolled .header-cta {
  background: var(--purple);
  color: #fff;
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.brand img { height: 48px; width: auto; }
.main-nav ul { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-weight: 700;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--purple); }
.main-nav a.active { color: var(--purple); border-color: var(--yellow); }
.header-cta { white-space: nowrap; padding: 11px 22px; font-size: .95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--purple);
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- الهيرو ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 90px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 60px solid rgba(255, 210, 63, .08);
  animation: floaty 7s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 70px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 70%);
}
.hero-inner { position: relative; max-width: 760px; }
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 210, 63, .15);
  border: 1px solid rgba(255, 210, 63, .45);
  color: var(--yellow);
  border-radius: 50px;
  padding: 6px 18px;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 22px;
  animation: fadeUp .7s both;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.4;
  margin-bottom: 16px;
  animation: fadeUp .7s .1s both;
}
.hero h1 .hl {
  color: var(--yellow);
  background: linear-gradient(120deg, var(--yellow), #ffe58a 60%, var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 34px;
  animation: fadeUp .7s .2s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp .7s .3s both; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* ---------- الهيرو — سلايدر كامل العرض ---------- */
.hero-fullslider {
  padding: 0 0 0;
  overflow: visible;
}
.hero-fullslider::after { display: none; }
.hero-fullslider::before { display: none; }
.hero-slides-wrapper {
  position: relative;
  width: 100%;
  /* أبعاد الويب الثابتة 16:7 — الصورة الموصى بها 1600×700 تظهر كاملة */
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

/* — الشريحة — */
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* خلفية الشريحة */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide-bg picture { display: block; width: 100%; height: 100%; }
.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* تعتيم متماثل يناسب المحتوى المتوسّط */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(29, 8, 54, .5), transparent 35%),
    radial-gradient(75% 90% at 50% 55%, rgba(29, 8, 54, .8) 0%, rgba(41, 13, 66, .55) 60%, rgba(51, 16, 77, .3) 100%);
  pointer-events: none;
}

/* محتوى الشريحة */
.hero-slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding-top: 30px;
  padding-bottom: 110px;
}
.hero-slide-content > * { max-width: 720px; }
.hero-actions { justify-content: center; }
.hero-slide.active .badge {
  animation: fadeSlideUp .6s .1s both;
}
.hero-slide.active h1 {
  animation: fadeSlideUp .6s .25s both;
}
.hero-slide.active p {
  animation: fadeSlideUp .6s .4s both;
}
.hero-slide.active .hero-actions {
  animation: fadeSlideUp .6s .55s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* — أسهم التنقل — */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  background: rgba(51, 16, 77, .45);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s;
}
.hero-arrow:hover {
  background: var(--purple);
  border-color: var(--yellow);
  transform: translateY(-50%) scale(1.1);
}
/* RTL: «التالي» على اليسار مع اتجاه القراءة، و«السابق» على اليمين */
.hero-arrow-next { left: 24px; }
.hero-arrow-prev { right: 24px; }

/* — نقاط التنقل — */
.hero-dots {
  position: absolute;
  bottom: 118px;
  inset-inline: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, .5);
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: background .3s, width .35s, border-color .3s;
}
.hero-dots button.active {
  background: var(--yellow);
  border-color: var(--yellow);
  width: 34px;
}
.hero-dots button:hover:not(.active) {
  background: rgba(255, 255, 255, .4);
}

/* — شريط التقدم (أعلى السلايدر ليبقى ظاهرًا فوق الكروت) — */
.hero-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, .15);
  z-index: 10;
}
.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-dark));
  border-radius: 0 4px 4px 0;
  transition: width .1s linear;
}
.hero-progress-bar.running {
  animation: progressFill 5s linear forwards;
}
@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* — كروت المميزات: نصفها فوق السلايدر ونصفها خارجه — */
.hero-fullslider .hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -92px;
  position: relative;
  z-index: 20;
  animation: fadeUp .7s .4s both;
}
.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 24px 18px 22px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(51, 16, 77, .16);
  transition: transform .3s, box-shadow .3s;
}
.hero-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(51, 16, 77, .24); }
.hero-card .hc-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--grad-purple);
  color: var(--yellow);
  outline: 5px solid rgba(255, 210, 63, .22);
  margin-bottom: 12px;
  transition: transform .35s, outline-color .35s;
}
.hero-card .hc-icon svg { width: 28px; height: 28px; }
.hero-card:hover .hc-icon { transform: scale(1.1) rotate(-5deg); outline-color: rgba(255, 210, 63, .5); }
.hero-card h3 { font-size: 1.02rem; color: var(--purple-dark); margin-bottom: 6px; }
.hero-card p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* شارة صفحة داخلية */
.page-hero {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 640px; margin-inline: auto; }
.breadcrumb { margin-top: 14px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: var(--yellow); }

/* ---------- أقسام عامة ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .kicker {
  display: inline-block;
  color: var(--purple);
  background: rgba(95, 35, 133, .08);
  border: 1px solid rgba(95, 35, 133, .15);
  border-radius: 50px;
  padding: 4px 18px;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .5px;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 14px 0 12px; }
.section-head h2 .hl { color: var(--purple); }
.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--purple), var(--yellow));
}
.section-head p { color: var(--muted); }

/* ---------- أحجام أيقونات SVG الموحدة ---------- */
.card .icon { color: var(--purple); }
.card .icon svg { width: 30px; height: 30px; }
.feature .icon svg { width: 34px; height: 34px; }
.contact-info .icon svg { width: 24px; height: 24px; }
.btn .btn-ico { width: 19px; height: 19px; flex: none; }
.site-footer .li-ico {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-inline-end: 4px;
  color: var(--yellow);
}

/* ---------- كروت الخدمات ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--yellow));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(95, 35, 133, .12), rgba(255, 210, 63, .25));
  margin-bottom: 18px;
  transition: transform .35s;
}
.card:hover .icon { transform: scale(1.12) rotate(-6deg); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--purple-dark); }
.card p { color: var(--muted); font-size: .98rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--purple);
  font-weight: 700;
  transition: gap .25s, color .25s;
}
.card:hover .card-link { gap: 12px; color: var(--purple-dark); }

/* كروت خدمات بصور (الرئيسية) */
.service-card { padding: 0; display: flex; flex-direction: column; }
.card-media { overflow: hidden; }
.card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .45s;
}
.service-card:hover .card-media img { transform: scale(1.07); }
.service-card .card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card .card-body p { flex: 1; }

/* ---------- ليش إحنا ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature .icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: var(--grad-purple);
  color: var(--yellow);
  outline: 6px solid rgba(255, 210, 63, .25);
  transition: transform .35s, outline-color .35s;
}
.feature:hover .icon { transform: scale(1.1); outline-color: rgba(255, 210, 63, .55); }
.feature h3 { margin-bottom: 10px; color: var(--purple-dark); }
.feature p { color: var(--muted); }

.feature-image {
  width: calc(100% + 48px);
  height: 250px;
  margin: -36px -24px 18px -24px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.feature:hover .feature-image img { transform: scale(1.05); }


/* ---------- قسم كلفة الترحيل (CTA واتساب) ---------- */
.cost-cta {
  position: relative;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(255, 210, 63, .12), transparent 60%),
    linear-gradient(135deg, var(--purple-deep), var(--purple-dark));
  border-radius: 24px;
  padding: 52px 40px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cost-cta h2 { margin-bottom: 8px; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.cost-cta h2 .hl { color: var(--yellow); }
.cost-cta > p { color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0 auto 34px; }
.cost-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 36px;
}
.cost-step {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  padding: 22px 16px;
  transition: transform .25s, border-color .25s;
}
.cost-step:hover { transform: translateY(-4px); border-color: rgba(255, 210, 63, .5); }
.cost-step .num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--purple-deep);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.cost-step b { display: block; margin-bottom: 4px; }
.cost-step small { color: rgba(255, 255, 255, .65); }
.cost-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.cost-actions .btn-whatsapp { padding: 16px 36px; font-size: 1.05rem; }

/* حقول الفورم (تُستخدم في صفحة التواصل) */
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: .95rem; }
.field select, .field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, background .2s;
}
.field select:focus, .field input:focus { border-color: var(--yellow); background-color: rgba(255, 255, 255, .16); }
.field select option { background: var(--purple-dark); color: #fff; }

/* ---------- التقييمات (سلايدر) ---------- */
.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track .review {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
.rev-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.rev-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--purple);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .25s, color .25s, transform .25s;
}
.rev-arrow:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }
.rev-dots { display: flex; gap: 8px; }
.rev-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50px;
  border: 0;
  padding: 0;
  background: #d9cdea;
  cursor: pointer;
  transition: background .3s, width .3s;
}
.rev-dots button.active { background: var(--purple); width: 26px; }
.review {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review::before {
  content: "❝";
  position: absolute;
  top: 14px;
  left: 22px;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(95, 35, 133, .12);
  pointer-events: none;
}
.review .stars { color: var(--yellow-dark); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 12px; }
.review p { color: var(--muted); margin-bottom: 18px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}
.review .who strong { display: block; color: var(--ink); }
.review .who span { font-size: .85rem; color: var(--muted); }

/* ---------- شريط CTA ---------- */
.cta-strip {
  position: relative;
  background:
    radial-gradient(340px 200px at 90% -40%, rgba(255, 255, 255, .55), transparent 65%),
    radial-gradient(420px 260px at 8% 130%, rgba(95, 35, 133, .18), transparent 65%),
    linear-gradient(120deg, var(--yellow), #ffdf70);
  border-radius: 28px;
  padding: 50px 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--purple-deep);
  box-shadow: 0 20px 48px rgba(240, 185, 11, .35);
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -50px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 30px solid rgba(95, 35, 133, .09);
  pointer-events: none;
}
.cta-strip::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: 20%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  pointer-events: none;
}
.cta-strip > div, .cta-strip > a { position: relative; z-index: 1; }
.cta-strip h2 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); margin-bottom: 6px; }
.cta-strip p { font-weight: 500; color: rgba(51, 16, 77, .78); }
.cta-strip .btn {
  padding: 16px 36px;
  font-size: 1.05rem;
  box-shadow: 0 12px 28px rgba(51, 16, 77, .3);
}

/* ---------- من نحن ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.about-grid h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin-bottom: 16px; color: var(--purple-dark); }
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.about-points { margin-top: 10px; }
.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-weight: 500;
}
.about-points .tick {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  background: var(--yellow);
  color: var(--purple-deep);
  font-weight: 800;
}
.about-visual {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.about-visual img { width: 200px; margin: 0 auto 20px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 60px;
}
.stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(255, 210, 63, .6); }
.stat b { display: block; font-size: 2rem; color: var(--purple); }
.stat span { color: var(--muted); font-weight: 500; }

/* ---------- صفحة الخدمات ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: 0; }
.service-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  margin-inline: auto;
  transition: transform .35s, box-shadow .35s;
}
.service-row:hover .service-img { transform: translateY(-8px) scale(1.02); box-shadow: 0 28px 60px rgba(51, 16, 77, .25); }
.service-row h2 { color: var(--purple-dark); margin-bottom: 12px; font-size: 1.5rem; }
.service-row p { color: var(--muted); margin-bottom: 16px; }
.service-row ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
}
.service-row ul li::before { content: "✔"; color: var(--purple); font-weight: 800; }

/* ---------- صفحة التواصل ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.contact-info .info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.contact-info .info-card:hover { transform: translateX(-6px); box-shadow: var(--shadow); }
.contact-info .icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--yellow);
}
.contact-info h3 { color: var(--purple-dark); margin-bottom: 4px; font-size: 1.05rem; }
.contact-info p, .contact-info a { color: var(--muted); font-size: .95rem; }
.contact-info a:hover { color: var(--purple); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact-form h2 { color: var(--purple-dark); margin-bottom: 6px; }
.contact-form > p { color: var(--muted); margin-bottom: 24px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form .field label { color: var(--ink); }
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink);
}
.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus { border-color: var(--purple); background: #fff; }
.contact-form .field select option { background: #fff; color: var(--ink); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
}
.form-status.show { display: block; animation: fadeUp .4s; }
.form-status.ok { background: #e8f9ef; color: #147a3d; border: 1px solid #b6ecc9; }
.form-status.err { background: #fdecec; color: #b42318; border: 1px solid #f5c6c6; }

/* ---------- الفوتر ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(95, 35, 133, .5), transparent 65%),
    var(--purple-deep);
  color: rgba(255, 255, 255, .8);
  padding: 64px 0 0;
  margin-top: 80px;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--yellow), var(--purple));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
}
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.site-footer .f-brand img { height: 52px; margin-bottom: 16px; }
.site-footer .f-brand p { font-size: .95rem; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { transition: color .2s; }
.site-footer ul a:hover { color: var(--yellow); }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--purple); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  text-align: center;
  font-size: .9rem;
}
.footer-bottom .hl { color: var(--yellow); }

/* ---------- زر واتساب العائم ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  animation: pulse 2.2s infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* زر اتصال هاتفي عائم فوق واتساب */
.call-float {
  position: fixed;
  bottom: 96px;
  left: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad-purple);
  color: var(--yellow);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(95, 35, 133, .45);
  transition: transform .25s, box-shadow .25s;
}
.call-float svg { width: 26px; height: 26px; }
.call-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(95, 35, 133, .55); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ظهور تدريجي عند التمرير — مع تتابع داخل الشبكات */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.cards-grid > .reveal:nth-child(2), .features-grid > .reveal:nth-child(2),
.stats-grid > .reveal:nth-child(2) { transition-delay: .1s; }
.cards-grid > .reveal:nth-child(3), .features-grid > .reveal:nth-child(3),
.stats-grid > .reveal:nth-child(3) { transition-delay: .2s; }
.cards-grid > .reveal:nth-child(4), .stats-grid > .reveal:nth-child(4) { transition-delay: .3s; }

@media (max-width: 460px) {
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .hero-card p { display: none; }
  .hero-card h3 { margin-bottom: 0; font-size: .95rem; }
}

/* ---------- الأسئلة الشائعة ---------- */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(95, 35, 133, .3); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--purple-dark);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-item summary:hover { color: var(--purple); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--purple);
  font-weight: 800;
  font-size: 1.05rem;
  transition: transform .3s, background .3s, color .3s;
}
.faq-item[open] .faq-ico {
  transform: rotate(45deg);
  background: var(--yellow);
  color: var(--purple-deep);
}
.faq-item > p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- مناطق الخدمة + الخريطة ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.coverage-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-height: 420px;
  background: var(--bg-soft);
}
.coverage-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
  filter: saturate(1.05);
}
.coverage-areas { display: flex; flex-direction: column; }
.coverage-areas > h3 {
  color: var(--purple-dark);
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 50px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.area-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow-dark);
  flex: none;
}
.area-chip:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}
.area-chip:hover::before { background: var(--yellow); }
.coverage-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(95, 35, 133, .08), rgba(255, 210, 63, .14));
  border: 1px dashed rgba(95, 35, 133, .3);
  font-weight: 700;
  color: var(--purple-dark);
}
.coverage-note svg { width: 26px; height: 26px; flex: none; color: var(--purple); }

/* ---------- مبدّل اللغة ---------- */
/* توسيط القائمة يدفع الزر لنهاية الهيدر: يسار في RTL ويمين في LTR */
.main-nav { margin-inline: auto; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: .88rem;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  color: var(--purple);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.lang-switch svg { width: 17px; height: 17px; flex: none; }
.lang-switch:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}
.site-header.over-hero .lang-switch {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: none;
}
.site-header.over-hero .lang-switch:hover { background: var(--yellow); border-color: var(--yellow); color: var(--purple-deep); }
.site-header.over-hero.scrolled .lang-switch {
  color: var(--purple);
  background: var(--bg-soft);
  border-color: var(--border);
}

/* ---------- تخطيط LTR للنسخة الإنجليزية ---------- */
[dir="ltr"] body { text-align: left; }
[dir="ltr"] .hero-arrow-next { right: 24px; left: auto; }
[dir="ltr"] .hero-arrow-prev { left: 24px; right: auto; }
[dir="ltr"] .card::before { transform-origin: left; }
[dir="ltr"] .contact-info .info-card:hover { transform: translateX(6px); }

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Offcanvas الموبايل ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(43, 20, 64, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.nav-overlay.show { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
.nav-head, .nav-cta { display: none; }

/* ---------- استجابة الشاشات ---------- */
@media (max-width: 991px) {
  .hero-fullslider .hero-cards { grid-template-columns: repeat(2, 1fr); margin-top: -80px; }
  .hero-arrow { width: 44px; height: 44px; }
  .hero-arrow-next { left: 14px; }
  .hero-arrow-prev { right: 14px; }
  .about-grid, .contact-grid, .service-row { grid-template-columns: 1fr; }
  .reviews-track .review { flex-basis: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* صفحة الخدمات: كل خدمة كرت مستقل بالموبايل */
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 1.45rem; }
  .page-hero p { font-size: .95rem; }
  .service-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 18px 16px 22px;
    margin-bottom: 22px;
    gap: 18px;
  }
  .service-row:last-child { margin-bottom: 0; border-bottom: 1px solid var(--border); }
  .service-img { max-width: 100%; margin-bottom: 0; border-radius: 16px; }
  .service-row:hover .service-img { transform: none; box-shadow: var(--shadow-lg); }
  .service-row h2 { font-size: 1.25rem; text-align: center; }
  .service-row > div > p { font-size: .95rem; }
  .service-row ul li { font-size: .92rem; margin-bottom: 10px; }
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: min(320px, 84vw);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -20px 0 50px rgba(51, 16, 77, .25);
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.4, 0, .2, 1);
    z-index: 1200;
    overflow-y: auto;
    padding-bottom: 18px;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
  }
  .nav-head img { height: 40px; width: auto; }
  .nav-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--purple);
    font-size: 1.05rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
  }
  .nav-close:hover { background: var(--purple); color: #fff; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 14px; }
  .main-nav li { width: 100%; text-align: start; }
  .main-nav a { display: block; padding: 12px 14px; border-radius: 10px; border-bottom: 0; }
  .main-nav a.active { background: var(--bg-soft); color: var(--purple); }
  .main-nav a.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: auto 18px 0;
    padding: 15px 24px;
    border-radius: 50px;
    background: var(--grad-purple);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 10px 26px rgba(95, 35, 133, .35);
    transition: transform .25s, box-shadow .25s;
  }
  .main-nav a.nav-cta:active { transform: scale(.97); }
  .main-nav a.nav-cta .btn-ico { width: 20px; height: 20px; }
  .hero { padding: 64px 0 90px; }
  .hero-fullslider { padding: 0; }
  /* أبعاد الموبايل الثابتة 4:5 — الصورة الموصى بها 1080×1350 تظهر كاملة */
  .hero-slides-wrapper { aspect-ratio: 4 / 5; }
  /* توسيط المحتوى وتحسين القراءة على الشاشات الصغيرة */
  .hero-slide-content {
    padding-top: 40px;
    padding-bottom: 110px;
    align-items: center;
    text-align: center;
  }
  .hero-slide-content h1 { font-size: 28px; }
  .hero-slide-content p { font-size: .98rem; }
  .hero-actions { justify-content: center; width: 100%; }
  .hero-actions .btn { width: min(100%, 320px); padding: 15px 24px; }
  .hero-dots { bottom: 88px; }
  .hero-fullslider .hero-cards { gap: 10px; margin-top: -64px; }
  .hero-card { padding: 16px 12px; }
  /* إخفاء الأسهم بالموبايل — التنقل بالسحب والنقاط */
  .hero-arrow { display: none; }
  /* تعتيم متساوٍ لقراءة أوضح مع النص المتوسط */
  .hero-slide-overlay {
    background: linear-gradient(to bottom, rgba(29, 8, 54, .55) 0%, rgba(41, 13, 66, .78) 60%, rgba(29, 8, 54, .88) 100%);
  }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .cost-cta { padding: 34px 18px; border-radius: 18px; }
  .cost-steps { grid-template-columns: 1fr; gap: 12px; max-width: 420px; }
  .cost-step { padding: 16px 14px; }
  .cost-actions .btn { width: 100%; }
  .field select, .field input, .field textarea { padding: 12px 14px; }
  .contact-form { padding: 26px 18px; }
  .faq-item summary { padding: 15px 16px; font-size: .97rem; }
  .faq-item > p { padding: 0 16px 16px; font-size: .93rem; }
  .coverage-grid { grid-template-columns: 1fr; gap: 24px; }
  .coverage-map, .coverage-map iframe { min-height: 320px; }
  .area-chip { font-size: .85rem; padding: 7px 13px; }
  .reviews-track { gap: 14px; }
  .reviews-track .review { flex-basis: 100%; }
  /* إخفاء أسهم الآراء بالموبايل — التنقل بالسحب والنقاط */
  .rev-arrow { display: none; }
  /* كروت الخدمات بالرئيسية على الموبايل */
  .cards-grid { gap: 16px; }
  .card-media img { height: 260px; }
  .service-card .card-body { padding: 16px 18px 20px; }
  .service-card h3 { font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .socials { justify-content: center; }
  .cta-strip {
    text-align: center;
    justify-content: center;
    padding: 34px 20px;
    border-radius: 20px;
    gap: 18px;
  }
  .cta-strip h2 { font-size: 1.3rem; }
  .cta-strip p { font-size: .95rem; }
  .cta-strip .btn { width: 100%; max-width: 320px; }
}
/* ============================================================
   بوب أب التواصل بواتساب — يظهر بعد 30 ثانية مرة واحدة بالجلسة
   ============================================================ */
.wa-pop-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(51, 16, 77, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.wa-pop-overlay.show { opacity: 1; visibility: visible; }

.wa-pop {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 34px 28px 28px;
  text-align: center;
  transform: translateY(24px) scale(.96);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
  overflow: hidden;
}
.wa-pop-overlay.show .wa-pop { transform: translateY(0) scale(1); }

/* شريط الهوية أعلى الكرت */
.wa-pop::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--yellow) 100%);
}

/* زر الإغلاق */
.wa-pop-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.wa-pop-close:hover { background: var(--border); color: var(--ink); transform: rotate(90deg); }
.wa-pop-close svg { width: 17px; height: 17px; }

/* أيقونة واتساب النابضة */
.wa-pop-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  animation: pulse 2.2s infinite;
}
.wa-pop-icon svg { width: 36px; height: 36px; fill: #fff; }

.wa-pop h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--purple-deep);
  line-height: 1.5;
  margin-bottom: 10px;
}
.wa-pop p {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* شارة التحفيز */
.wa-pop-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--purple-dark);
  font-size: .84rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.wa-pop-badge svg { width: 15px; height: 15px; }

.wa-pop-actions { display: grid; gap: 10px; }
.wa-pop-actions .btn { width: 100%; justify-content: center; }
/* .btn-outline الأساسي أبيض (مصمّم للخلفيات البنفسجية الداكنة)
   ويختفي فوق كرت البوب أب الأبيض — نعيد تلوينه بالبنفسجي هنا */
.wa-pop-actions .btn-outline {
  color: var(--purple-dark);
  border-color: var(--border);
  background: transparent;
}
.wa-pop-actions .btn-outline:hover {
  background: var(--bg-soft);
  border-color: var(--purple);
  color: var(--purple-deep);
}

/* رابط التجاهل */
.wa-pop-dismiss {
  margin-top: 14px;
  background: none;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: .87rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.wa-pop-dismiss:hover { color: var(--ink); }

@media (max-width: 480px) {
  .wa-pop { padding: 30px 20px 24px; border-radius: 18px; }
  .wa-pop h3 { font-size: 1.15rem; }
  .wa-pop p { font-size: .92rem; }
  .wa-pop-icon { width: 60px; height: 60px; }
  .wa-pop-icon svg { width: 32px; height: 32px; }
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .wa-pop-overlay, .wa-pop { transition: none; }
  .wa-pop-icon { animation: none; }
}

/* ============================================================
   شريحة بصورة فقط (النص مخفي من لوحة التحكم)
   ============================================================ */
/* التعتيم موجود أصلًا عشان النص يبقى مقروء فوق الصورة،
   فلما مايكونش فيه نص بنخففه جدًا عشان الصورة تبان على طبيعتها.
   بنسيب لمسة خفيفة بس عشان الأسهم والنقاط تفضل واضحة. */
.hero-slide.no-text .hero-slide-overlay {
  background: linear-gradient(to bottom, rgba(29, 8, 54, .22) 0%, transparent 30%, rgba(29, 8, 54, .3) 100%);
}

@media (max-width: 767px) {
  .hero-slide.no-text .hero-slide-overlay {
    background: linear-gradient(to bottom, rgba(29, 8, 54, .18) 0%, transparent 35%, rgba(29, 8, 54, .38) 100%);
  }
}
