/* ==========================================================================
   ألو جيتك - ورقة الأنماط الرئيسية (styles.css)
   تصميم عربي RTL، خطوط محلية، متجاوب، متوافق مع معايير الوصول (Accessibility)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. الخطوط المحلية (Local Arabic Fonts - Tajawal TTF)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/tajawal-regular.ce4e98e4.ttf') format('truetype');
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/tajawal-medium.268bd626.ttf') format('truetype');
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/tajawal-bold.7edc53d4.ttf') format('truetype');
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/tajawal-extrabold.271b1ca5.ttf') format('truetype');
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../assets/fonts/tajawal-black.1fb78caa.ttf') format('truetype');
}

/* --------------------------------------------------------------------------
   2. متغيرات التصميم (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* ألوان الهوية البصرية المستوحاة من المرجع */
  --color-ivory-bg: #FAF7F2;          /* خلفية عاجية دافئة */
  --color-ivory-surface: #FFFFFF;     /* خلفية البطاقات والعناصر */
  --color-ivory-alt: #F4EFEA;         /* خلفية ناعمة متباينة */
  
  --color-brand-red: #A81C22;         /* أحمر برغندي رئيسي */
  --color-brand-red-dark: #871318;    /* أحمر داكن للـ hover والتأكيد */
  --color-brand-red-light: #FBEAEC;   /* أحمر فاتح للبادجات والحاويات */
  
  --color-accent-yellow: #F59E0B;     /* أصفر ذهبي متزن للتمييز */
  --color-accent-yellow-light: #FEF3C7;
  
  --color-text-dark: #1F1B18;         /* لون النصوص الأساسية */
  --color-text-muted: #6B635B;        /* لون النصوص الثانوية والتفاصيل */
  --color-border: #EADBCE;            /* حدود ناعمة وطبيعية */
  --color-border-subtle: #EFE8E1;

  /* الظلال */
  --shadow-subtle: 0 4px 20px rgba(45, 30, 20, 0.04);
  --shadow-card: 0 10px 30px -6px rgba(45, 30, 20, 0.07);
  --shadow-hover: 0 18px 40px -8px rgba(168, 28, 34, 0.12);
  --shadow-phone: 0 25px 60px -15px rgba(25, 20, 15, 0.25);

  /* الحواف والمسافات */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --max-width: 1240px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* --------------------------------------------------------------------------
   3. الضبط الأساسي وإعادة التعيين (Reset & Base)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-ivory-bg);
  color: var(--color-text-dark);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* معايير إمكانية الوصول: مؤشر التركيز الواضح */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-brand-red);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-spacing {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* نصوص وعناوين موحدة */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* بادج شارة مميزة */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-brand-red-light);
  color: var(--color-brand-red);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  border: 1px solid rgba(168, 28, 34, 0.15);
}

.badge-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   4. ترويسة الموقع والشريط العلوي (Header & Navigation)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 1.5rem;
}

/* الشعار على اليمين في RTL */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(168, 28, 34, 0.18);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.site-logo:hover img {
  transform: scale(1.05);
  box-shadow: 0 5px 14px rgba(168, 28, 34, 0.28);
}

/* قائمة التنقل في الوسط */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-brand-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2.5px;
  background: var(--color-brand-red);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* زر تحميل التطبيق على اليسار */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-download {
  background: var(--color-brand-red);
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.98rem;
  box-shadow: 0 4px 14px rgba(168, 28, 34, 0.28);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-header-download:hover {
  background: var(--color-brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(168, 28, 34, 0.38);
}

/* زر الهامبرغر لشاشات الجوال */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  background: var(--color-ivory-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* قائمة الجوال المنسدلة */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-nav-drawer.open {
  display: block;
  opacity: 1;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 340px;
  height: 100%;
  background: var(--color-ivory-surface);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 35px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-ivory-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav-links a {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-dark);
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border-subtle);
}

.mobile-nav-links a:hover {
  color: var(--color-brand-red);
}

/* --------------------------------------------------------------------------
   5. القسم الرئيسي (Hero Section)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.location-tag svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent-yellow);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--color-text-dark);
}

.hero-title span.accent-red {
  color: var(--color-brand-red);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 580px;
}

/* أزرار تنزيل التطبيق الرسمية */
.download-badges-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-text-dark);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  transition: all var(--transition-fast);
}

.btn-store:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

.btn-store svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-store-text small {
  font-size: 0.72rem;
  color: #D6D3D1;
  font-weight: 500;
}

.btn-store-text strong {
  font-size: 1.05rem;
  font-weight: 800;
}

/* اللوحة المرئية الكبيرة على اليسار */
.hero-visual-panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--color-ivory-surface);
  background: var(--color-ivory-surface);
}

.hero-visual-panel img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-visual-panel:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating-card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-brand-red-light);
  color: var(--color-brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.hero-floating-card .text-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.hero-floating-card .text-box p {
  font-size: 0.8rem;
  color: #16A34A;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. قسم عن ألو جيتك (About Section)
   -------------------------------------------------------------------------- */
.about-section {
  background: var(--color-ivory-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 4rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--color-ivory-bg);
}

.about-image-wrapper img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-content p.about-desc {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* شبكة ميزات الفوائد المقتضبة */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.benefit-item {
  background: var(--color-ivory-bg);
  border: 1px solid var(--color-border);
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.benefit-item:hover {
  background: #FFFFFF;
  border-color: var(--color-brand-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-brand-red-light);
  color: var(--color-brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.benefit-item span {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

/* --------------------------------------------------------------------------
   7. قسم الخدمات (Services Section)
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--color-ivory-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-ivory-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-brand-red);
  box-shadow: var(--shadow-hover);
}

.service-img-wrap {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.06);
}

.service-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 0.6rem;
}

.service-body p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. قسم كيف تطلب؟ (How To Order Section & Phone Carousel)
   -------------------------------------------------------------------------- */
.how-to-order-section {
  background: var(--color-ivory-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* تخطيط شاشات التطبيق على الشاشات الكبيرة: 4 هواتف متناسقة */
.phones-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-header {
  margin-bottom: 1.2rem;
}

.step-number-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-brand-red);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 10px rgba(168, 28, 34, 0.3);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 0.2rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  max-width: 220px;
  line-height: 1.5;
}

/* إطار الهاتف النحيف (Slim Phone Frame) بدون قطع أو نوتش مغطي */
.phone-mockup-frame {
  width: 100%;
  max-width: 260px;
  background: #18181B;
  border-radius: 36px;
  padding: 8px;
  border: 3.5px solid #27272A;
  box-shadow: var(--shadow-phone);
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.phone-mockup-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px -10px rgba(168, 28, 34, 0.22);
}

.phone-screen-img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

.phone-zoom-hint {
  position: absolute;
  inset: 8px;
  background: rgba(168, 28, 34, 0.65);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.phone-mockup-frame:hover .phone-zoom-hint {
  opacity: 1;
}

.phone-zoom-hint svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* عناصر تحكم السلايدر للجوال */
.carousel-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-carousel {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-ivory-surface);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.btn-carousel:hover,
.btn-carousel:focus-visible {
  background: var(--color-brand-red);
  color: #FFFFFF;
  border-color: var(--color-brand-red);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  width: 26px;
  border-radius: 10px;
  background: var(--color-brand-red);
}

/* --------------------------------------------------------------------------
   9. قسم مناطق الخدمة (Service Areas Section)
   -------------------------------------------------------------------------- */
.service-areas-section {
  background: var(--color-ivory-bg);
}

.split-areas-panel {
  display: flex;
  justify-content: center;
  max-width: 680px;
  margin: 1.5rem auto 0;
}

.split-areas-panel .area-card {
  width: 100%;
}

.area-card {
  background: var(--color-ivory-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.area-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-brand-red);
  box-shadow: var(--shadow-hover);
}

.area-img-box {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.area-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.area-card:hover .area-img-box img {
  transform: scale(1.05);
}

.area-badge-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(28, 25, 23, 0.85);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.area-badge-overlay svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent-yellow);
}

.area-card-body {
  padding: 2rem;
}

.area-card-body h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-text-dark);
  margin-bottom: 0.6rem;
}

.area-card-body p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   10. قسم التحميل (Download CTA Section)
   -------------------------------------------------------------------------- */
.download-section-wrap {
  padding: 4.5rem 1.5rem;
}

.download-banner-card {
  background: linear-gradient(135deg, var(--color-brand-red) 0%, var(--color-brand-red-dark) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 4.5rem 3.5rem;
  box-shadow: 0 25px 60px rgba(168, 28, 34, 0.28);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3.5rem;
}

/* زخرفة نقطية هادئة مستوحاة من المرجع */
.download-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

.download-text-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.download-text-col h2 {
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.2;
}

.download-text-col p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}

.download-actions-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.btn-store-light {
  background: #FFFFFF;
  color: var(--color-text-dark);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.btn-store-light svg {
  fill: var(--color-text-dark);
}

.btn-store-light .btn-store-text small {
  color: #78716C;
}

.btn-store-light:hover {
  background: var(--color-ivory-surface);
  transform: translateY(-2px);
}

/* بطاقة رمز الاستجابة السريعة (QR Code) */
.qr-container-box {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.22);
  text-align: center;
  max-width: 250px;
  margin: 0 auto;
}

.qr-container-box img {
  width: 170px;
  height: 170px;
  margin: 0 auto 0.8rem;
  display: block;
}

.qr-container-box span {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text-dark);
  display: block;
}

/* --------------------------------------------------------------------------
   10.1 قسم انضم لعائلتنا (Join Our Family Section - Stores & Captains)
   -------------------------------------------------------------------------- */
.join-family-section {
  background: var(--color-ivory-bg);
  position: relative;
}

.join-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  margin-top: 2.8rem;
}

.join-card {
  background: var(--color-ivory-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.6rem 2.2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.join-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(168, 28, 34, 0.35);
}

.join-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.join-card-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-subtle);
}

.join-card-icon-wrap.store {
  background: var(--color-brand-red-light);
  color: var(--color-brand-red);
}

.join-card-icon-wrap.captain {
  background: var(--color-accent-yellow-light);
  color: #B45309;
}

.join-card-icon-wrap svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.join-card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.join-card.store-card .join-card-badge {
  background: var(--color-brand-red-light);
  color: var(--color-brand-red);
}

.join-card.captain-card .join-card-badge {
  background: var(--color-accent-yellow-light);
  color: #B45309;
}

.join-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.join-card-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.join-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.join-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-text-dark);
  line-height: 1.5;
}

.join-benefit-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.store-card .join-benefit-check {
  background: rgba(168, 28, 34, 0.12);
  color: var(--color-brand-red);
}

.captain-card .join-benefit-check {
  background: rgba(245, 158, 11, 0.16);
  color: #B45309;
}

.join-benefit-check svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* نموذج التقديم داخل البطاقة */
.join-form {
  margin-top: auto;
  background: var(--color-ivory-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.join-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.join-input, .join-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.join-input:focus, .join-select:focus {
  border-color: var(--color-brand-red);
  box-shadow: 0 0 0 3px rgba(168, 28, 34, 0.12);
}

.btn-join-submit {
  width: 100%;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-full);
  border: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.store-card .btn-join-submit {
  background: var(--color-brand-red);
  color: #FFFFFF;
}

.store-card .btn-join-submit:hover {
  background: var(--color-brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 28, 34, 0.25);
}

.captain-card .btn-join-submit {
  background: #111827;
  color: #FFFFFF;
}

.captain-card .btn-join-submit:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-join-submit svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.join-quick-call {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

.join-quick-call a {
  color: var(--color-brand-red);
  font-weight: 800;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.join-quick-call a:hover {
  color: var(--color-brand-red-dark);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   11. قسم تواصل معنا والتذييل (Contact & Footer)
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--color-ivory-surface);
  border-top: 1px solid var(--color-border);
  padding: 4.5rem 0;
}

.contact-card-box {
  background: var(--color-ivory-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.contact-card-box h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-text-dark);
  margin-bottom: 0.8rem;
}

.contact-card-box p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.contact-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.btn-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  transition: all var(--transition-fast);
}

.btn-phone {
  background: var(--color-brand-red);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(168, 28, 34, 0.3);
}

.btn-phone:hover {
  background: var(--color-brand-red-dark);
  transform: translateY(-2px);
}

.phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

.btn-contact-action svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* تذييل الصفحة (Dark Navy Footer - 4 Columns) */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid #1E293B;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr 1.1fr;
  gap: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo-card {
  background: transparent;
  border-radius: 16px;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.footer-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.footer-brand-desc {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-list a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--color-accent-yellow);
  transform: translateX(-4px);
}

.footer-download-desc {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.footer-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-btn-store {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 8px 14px;
  color: #FFFFFF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.footer-btn-store:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.footer-btn-store .store-svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent-yellow);
  flex-shrink: 0;
}

.footer-btn-text small {
  display: block;
  font-size: 0.7rem;
  color: #94A3B8;
  line-height: 1.2;
}

.footer-btn-text strong {
  display: block;
  font-size: 0.92rem;
  color: #FFFFFF;
  font-weight: 800;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
}

.footer-contact-label {
  font-size: 0.75rem;
  color: #94A3B8;
  line-height: 1.2;
}

.footer-contact-val {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  transition: color var(--transition-fast);
}

.footer-contact-val:hover {
  color: var(--color-accent-yellow);
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 0.6rem;
}

.footer-action-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-action-circle:hover {
  background: var(--color-accent-yellow);
  border-color: var(--color-accent-yellow);
  color: #0F172A;
  transform: scale(1.1);
}

/* أسفل التذييل مع الخط الفاصل وحقوق النشر وشعار بنوصلك بأمان */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3.5rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-copyright {
  color: #94A3B8;
  font-size: 0.92rem;
}

.footer-slogan {
  color: var(--color-accent-yellow);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   12. الحوار المنبثق لاستعراض الشاشة (Screenshot Modal Dialog)
   -------------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 12, 10, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--color-ivory-surface);
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform var(--transition-fast);
  border: 1px solid var(--color-border);
}

.modal-overlay.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-ivory-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-brand-red);
  color: #FFFFFF;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  text-align: center;
}

.modal-body img {
  max-height: 65vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-ivory-bg);
}

.modal-nav-btn {
  background: var(--color-ivory-surface);
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
}

.modal-nav-btn:hover {
  background: var(--color-brand-red);
  color: #FFFFFF;
  border-color: var(--color-brand-red);
}

/* --------------------------------------------------------------------------
   12.1 كاروسيل معرض الصور الأفقي ونافذة التكبير (Photo Gallery Carousel & Lightbox)
   -------------------------------------------------------------------------- */
.gallery-section {
  position: relative;
  background: var(--color-ivory-bg);
  overflow: hidden;
}

.gallery-carousel-wrapper {
  position: relative;
  margin-top: 2.2rem;
  padding: 0 4px;
}

.gallery-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.8rem 0.25rem 1.6rem 0.25rem;
  direction: rtl;
  cursor: grab;
}

.gallery-carousel-track::-webkit-scrollbar {
  display: none;
}

.gallery-carousel-track.grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

/* بطاقة المعرض في الكاروسيل */
.gallery-carousel-card {
  /* على الكمبيوتر: عرض 3 صور واضحة في الصف */
  flex: 0 0 calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  user-select: none;
}

.gallery-carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(168, 28, 34, 0.12);
  border-color: rgba(168, 28, 34, 0.3);
}

.gallery-carousel-card:focus-visible {
  outline: 3px solid var(--color-brand-red);
  outline-offset: 3px;
}

/* إطار الصورة: متناسق، خلفية دافئة، وعرض الصورة كاملة دون قص النصوص أو التشويه */
.gallery-card-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #FAF7F2 0%, #F5EFE6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal);
  display: block;
}

.gallery-carousel-card:hover .gallery-card-img {
  transform: scale(1.025);
}

/* عنوان اختياري من سطر واحد فقط دون أوصاف مكررة */
.gallery-card-caption {
  padding: 0.85rem 1rem 0.95rem;
  background: #FFFFFF;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  width: 100%;
}

/* أزرار التنقل (السابق والتالي) */
.gallery-carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

/* في اتجاه RTL: زر السابق على اليمين وزر التالي على اليسار */
.gallery-carousel-btn.prev {
  right: -18px;
}

.gallery-carousel-btn.next {
  left: -18px;
}

.gallery-carousel-btn:hover {
  background: var(--color-brand-red);
  color: #FFFFFF;
  border-color: var(--color-brand-red);
  box-shadow: 0 8px 22px rgba(168, 28, 34, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.gallery-carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-carousel-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* مؤشر التنقل (Dots) */
.gallery-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-dot:hover {
  background: rgba(168, 28, 34, 0.5);
}

.gallery-dot.active {
  width: 26px;
  background: var(--color-brand-red);
  box-shadow: 0 2px 8px rgba(168, 28, 34, 0.35);
}

/* نافذة تكبير معرض الصور (Lightbox Overlay) */
.gallery-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(15, 12, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-lightbox-overlay.open {
  display: flex;
  opacity: 1;
}

.gallery-lightbox-dialog {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.96);
  transition: transform var(--transition-fast);
}

.gallery-lightbox-overlay.open .gallery-lightbox-dialog {
  transform: scale(1);
}

.gallery-lightbox-close {
  position: absolute;
  top: -3rem;
  left: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.gallery-lightbox-close:hover {
  background: var(--color-brand-red);
  border-color: var(--color-brand-red);
  transform: rotate(90deg);
}

.gallery-lightbox-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
}

.gallery-lightbox-nav {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.gallery-lightbox-nav:hover {
  background: var(--color-brand-red);
  border-color: var(--color-brand-red);
  transform: scale(1.1);
}

.gallery-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  text-align: center;
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: block;
}

.gallery-lightbox-caption {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  text-align: center;
}

.gallery-lightbox-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
}

.gallery-lightbox-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. التصميم المتجاوب (Responsive Breakpoints)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-grid {
    gap: 2.5rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-description {
    max-width: 100%;
  }
  .download-badges-group {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-content {
    align-items: center;
  }
  .download-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3.5rem 2rem;
  }
  .download-text-col {
    align-items: center;
  }
  .download-actions-group {
    justify-content: center;
  }
  
  /* تفعيل سلايدر الجوال في قسم كيف تطلب */
  .phones-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .phones-row::-webkit-scrollbar {
    display: none;
  }
  .step-card {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: center;
  }
  .carousel-controls {
    display: flex;
  }

  /* كاروسيل معرض الصور للشاشات المتوسطة والصغيرة */
  .gallery-carousel-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
  .gallery-carousel-btn.prev {
    right: -8px;
  }
  .gallery-carousel-btn.next {
    left: -8px;
  }
  .gallery-lightbox-dialog {
    max-width: 95vw;
  }
  .gallery-lightbox-body {
    position: relative;
    gap: 0.4rem;
  }
  .gallery-lightbox-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.65);
    z-index: 5;
  }
  .gallery-lightbox-nav.prev {
    right: 4px;
  }
  .gallery-lightbox-nav.next {
    left: 4px;
  }
  .gallery-lightbox-close {
    top: -2.8rem;
    left: 4px;
    width: 36px;
    height: 36px;
  }
  .gallery-lightbox-img {
    max-height: 65vh;
  }

  /* قسم انضم لعائلتنا للموبايل */
  .join-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .join-form-row {
    grid-template-columns: 1fr;
  }
  .join-card {
    padding: 2rem 1.4rem;
  }
}

@media (max-width: 640px) {
  .section-spacing {
    padding-top: 3.8rem;
    padding-bottom: 3.8rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    text-align: center;
  }
  .footer-col-brand {
    align-items: center;
  }
  .footer-contact-item {
    justify-content: center;
  }
  .footer-social-icons {
    justify-content: center;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}

@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
  }
}

/* شاشات الموبايل حتى 640px: عرض صورة واحدة مع ظهور جزء من التالية */
@media (max-width: 640px) {
  .gallery-carousel-track {
    gap: 1rem;
    padding: 0.6rem 0.25rem 1.4rem 0.25rem;
  }
  .gallery-carousel-card {
    flex: 0 0 82%;
    max-width: 82%;
  }
  .gallery-carousel-btn {
    display: none;
  }
  .gallery-carousel-dots {
    margin-top: 1.2rem;
  }
}

/* دعم شاشات الجوال الصغيرة حتى 360px */
@media (max-width: 380px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .btn-store {
    width: 100%;
    justify-content: center;
  }
  .step-card {
    flex: 0 0 92%;
  }
}

/* تفضيلات تقليل الحركة (Reduced Motion) */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
