/* ==========================================================================
   فرانشايز SAJ التجاري - ملف التنسيقات الرئيسي (StyleSheet)
   الهوية: IBM Plex Sans Arabic | تركواز رئيسي #00a7bd | Slate رمادي دافئ | خلفيات فاتحة #f8fafc
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. متغيرات النظام والألوان (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* الخلفيات */
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-surface: #ffffff;

  /* النصوص وألوان التباين */
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;

  /* درجات اللون الأساسي (التركوازي الصريح #00a7bd بدون تدريج) */
  --brand: #00a7bd;
  --brand-hover: #0093a6;
  --brand-dark: #007c8c;
  --brand-darkest: #053b42;
  --brand-light: #e6f8fa;
  --brand-tint: #cceeef;
  --brand-border: #a0dfe7;
  --brand-glow: rgba(0, 167, 189, 0.16);

  /* الحدود والفواصل */
  --line: #e2e8f0;
  --line-light: #edf2f7;

  /* الظلال الناعمة متعددة المستويات */
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 28px -6px rgba(0, 167, 189, 0.07), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 18px 36px -6px rgba(0, 167, 189, 0.13), 0 6px 14px -3px rgba(15, 23, 42, 0.05);
  --shadow-btn: 0 6px 18px -2px rgba(0, 167, 189, 0.32);

  /* انحناءات الزوايا (بطاقات دائرية عريضة وناعمة) */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-card: 22px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* الحجم الأقصى للحاوية */
  --max-w: 1180px;
}

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

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink-secondary);
  font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: #b2edf5;
  color: var(--brand-darkest);
}

svg.lucide {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  flex-shrink: 0;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  filter: none !important;
}

/* ضمان نصوص وأيقونات صريحة وثابتة بدون أي تدريج لوني */
h1,
h2,
h3,
h4,
h5,
p,
span,
strong,
a,
label,
input,
select,
textarea,
button {
  -webkit-text-fill-color: initial;
  background-image: none;
  text-shadow: none;
}

/* --------------------------------------------------------------------------
   3. الحاوية والشبكة والمسافات (Layout & Spacing)
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 28px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background-color: var(--bg-soft);
  position: relative;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

/* شبكات العرض المتجاوبة */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --------------------------------------------------------------------------
   4. العناوين والنصوص (Typography)
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.35;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--ink);
}

h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.45;
  letter-spacing: -0.5px;
  margin: 12px 0 16px;
  font-weight: 700;
  color: var(--ink);
}

h3 {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--ink);
}

p {
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.lead {
  font-size: 17px;
  line-height: 2;
  color: var(--ink-secondary);
}

.small {
  font-size: 13px;
  line-height: 1.8;
}

.fineprint {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.brand-text {
  color: var(--brand);
}

/* الشارات التوضيحية الأنيقة (Eyebrow Badge) */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.eyebrow-dark {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #1e293b;
}

.eyebrow-dark::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand);
  display: inline-block;
}

/* --------------------------------------------------------------------------
   5. التصميم المعتمد على البطاقات (Card-Based System)
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

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

.card-dark {
  background-color: #0b1320;
  border-color: #1e293b;
  color: #ffffff;
  box-shadow: 0 16px 36px -6px rgba(11, 19, 32, 0.25);
}

.card-dark:hover {
  border-color: #334155;
  box-shadow: 0 20px 40px -6px rgba(11, 19, 32, 0.35);
}

.card-dark h3,
.card-dark h4 {
  color: #ffffff;
}

.card-dark p,
.card-dark .muted-dark {
  color: #94a3b8;
}

.card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--brand);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  margin-bottom: 22px;
  transition: transform 0.2s ease;
}

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

.card-dark .icon-box {
  background: #1e293b;
  color: #ffffff;
  border-color: #334155;
}

/* --------------------------------------------------------------------------
   6. الأزرار والعناصر التفاعلية (Buttons)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background-color: var(--brand);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  box-shadow: 0 10px 22px -3px rgba(0, 167, 189, 0.4);
}

.btn-dark {
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #1e293b;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-dark:hover {
  background-color: #1e293b;
  color: #ffffff;
  border-color: #334155;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #0f172a;
  color: #0f172a;
  background: #f8fafc;
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.1);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   7. القائمة العلوية والزجاج المصنفر (Sticky Header & Glassmorphism)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-caption {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  direction: rtl;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   8. القسم الترحيبي (Hero Section)
   -------------------------------------------------------------------------- */
.hero {
  padding: 100px 0 72px;
  text-align: center;
  background-color: var(--bg);
}

.hero h1 {
  max-width: 920px;
  margin: 16px auto 22px;
}

.hero .lead {
  max-width: 760px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* بطاقة العرض الترويجي الخاص */
.offer-banner {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  margin: 36px 0 12px;
  background-color: var(--brand-light);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-card);
  padding: 28px 36px;
  text-align: right;
  box-shadow: 0 8px 24px -6px rgba(0, 167, 189, 0.08);
}

.offer-banner .tag {
  display: inline-block;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 13px;
  background: var(--brand-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.offer-banner .offer-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--brand-dark);
  display: inline-block;
  margin-left: 8px;
}

.strike {
  text-decoration: line-through;
  color: var(--muted-light);
  font-size: 20px;
  font-weight: 600;
}

.offer-banner p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.hero-note {
  max-width: 880px;
  margin: 22px auto 0;
}

/* --------------------------------------------------------------------------
   9. قسم الأرقام المحفزة (Key Metrics Section)
   -------------------------------------------------------------------------- */
.metrics-section {
  padding: 20px 0 80px;
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}

.metric-card {
  padding: 32px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-border);
}

.metric-card strong {
  display: block;
  color: #0f172a;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
  margin-bottom: 8px;
  font-weight: 800;
}

/* قسم إحصائيات التواصل الاجتماعي */
.social-stats-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.social-stat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: var(--brand);
}

.social-stat-card:hover::before {
  opacity: 1;
}

.social-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 167, 189, 0.1);
  color: var(--brand);
  transition: transform 0.3s ease;
}

.social-stat-icon i {
  width: 26px;
  height: 26px;
}

.social-stat-card:hover .social-stat-icon {
  transform: scale(1.1);
}

.social-stat-icon.tiktok {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.social-stat-icon.followers {
  background: rgba(0, 167, 189, 0.12);
  color: var(--brand);
}

.social-stat-icon.engagement {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.social-stat-icon.satisfaction {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.social-stat-number {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 8px;
}

.social-stat-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

.social-stat-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.metric-card span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. قسم المزايا وعوامل القوة (Why SAJ / Advantages)
   -------------------------------------------------------------------------- */
.feature-card {
  padding: 32px;
}

.feature-num {
  font-size: 13px;
  color: #0f172a;
  font-weight: 800;
  background: #e2e8f0;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  float: left;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. قسم نموذج العمل وباقات الاستثمار (Business Model & Investment)
   -------------------------------------------------------------------------- */
.model-block {
  margin-bottom: 48px;
}

.model-subheading {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.model-subheading::before {
  content: '';
  width: 5px;
  height: 22px;
  background-color: var(--brand);
  border-radius: 4px;
}

/* الأقسام الرئيسية — بطاقات أقسام المطعم */
.menu-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.menu-cat-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.menu-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3.5px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.menu-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px -6px rgba(0, 167, 189, 0.13), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: var(--brand-border);
}

.menu-cat-card:hover::before {
  opacity: 1;
}

.menu-cat-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.menu-cat-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.4;
}

.menu-cat-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.75;
}

/* زر الحدود الخارجية */
.btn-outline {
  background: transparent;
  color: var(--ink-secondary);
  border: 1.5px solid var(--line);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 4px 16px rgba(0, 167, 189, 0.12);
}

/* بطاقات باقات الاستثمار */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  background-color: #0b1320;
  border: 1.5px solid #1e293b;
  color: #ffffff;
  box-shadow: 0 16px 36px -6px rgba(11, 19, 32, 0.25);
}

.price-card.featured:hover {
  border-color: #334155;
  box-shadow: 0 20px 42px -6px rgba(11, 19, 32, 0.35);
}

.price-card .big-number {
  font-size: clamp(23px, 2.3vw, 29px);
  font-weight: 800;
  margin: 12px 0 8px;
  color: var(--ink);
}

.price-card.featured .big-number {
  color: #ffffff;
}

.price-card.featured p {
  color: #94a3b8;
}

.pill {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--brand-border);
}

.pill-dark {
  background: #1e293b;
  color: var(--brand);
  border: 1px solid #334155;
}

/* شريط معلومات الفرانشايز */
.info-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin: 32px 0;
}

.info-strip>div {
  padding: 24px 14px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.info-strip>div:last-child {
  border-left: 0;
}

.info-strip strong {
  display: block;
  font-size: 19px;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 4px;
}

.info-strip span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* الرسوم الدورية */
.fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.fee strong {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

.fee p {
  margin: 0;
  font-size: 13px;
}

.fee-total {
  background: #0b1320;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  color: #ffffff;
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.2);
}

.fee-total strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
}

/* قوائم الفحص والتحقق */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 13.5px;
  line-height: 1.7;
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list svg {
  color: var(--brand);
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

/* خطوات الافتتاح السبعة */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step .number {
  color: #0f172a;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.step p {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.7;
}

/* بطاقات الدعم والمساندة */
.support-card p {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. قسم الأسئلة الشائعة (FAQ Accordion)
   -------------------------------------------------------------------------- */
.faq {
  max-width: 900px;
  margin-inline: auto;
}

.faq details {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 26px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details:hover {
  border-color: var(--brand-border);
}

.faq details[open] {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-card);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  padding: 20px 0;
  font-size: 15px;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 600;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: '−';
  color: var(--brand-dark);
}

.faq details p {
  font-size: 14px;
  line-height: 1.9;
  padding-bottom: 22px;
  margin: 0;
  color: var(--ink-secondary);
}

/* --------------------------------------------------------------------------
   13. قسم طلب الفرانشايز والتسجيل (Application Form)
   -------------------------------------------------------------------------- */
.apply-area {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 40px;
}

/* بطاقة التواصل المباشر قبل الفورم */
.direct-contact-card {
  background: linear-gradient(135deg, rgba(0, 167, 189, 0.08) 0%, rgba(0, 167, 189, 0.02) 100%);
  border: 1.5px solid rgba(0, 167, 189, 0.28);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.direct-contact-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.direct-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 167, 189, 0.25);
}

.direct-contact-icon i {
  width: 20px;
  height: 20px;
}

.direct-contact-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: 0.3px;
}

.direct-contact-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 2px 0 0;
}

.direct-contact-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.direct-contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-contact-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 167, 189, 0.22);
  flex: 1;
  min-width: 150px;
}

.btn-contact-call:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 167, 189, 0.32);
  color: #ffffff;
}

.btn-contact-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.22);
  flex: 1;
  min-width: 130px;
}

.btn-contact-wa:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
  color: #ffffff;
}

/* شريط التواصل داخل الفورم */
.form-contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  flex-wrap: wrap;
  gap: 8px;
}

.form-contact-banner a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.form-contact-banner a:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.application {
  padding: 38px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.field.wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: 12px 16px;
  outline: none;
  width: 100%;
  min-height: 50px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-light);
}

.submit-btn {
  margin-top: 28px;
}

.consent {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
  align-items: flex-start;
  margin: 24px 0;
}

.consent input {
  margin-top: 6px;
  accent-color: var(--brand);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.form-status {
  font-size: 13px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand-darkest);
  display: none;
}

.form-status.show {
  display: block;
}

/* --------------------------------------------------------------------------
   14. التذييل (Footer)
   -------------------------------------------------------------------------- */
.footer {
  background-color: #0b1320;
  border-top: 1px solid #1e293b;
  padding: 72px 0 28px;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer h4 {
  font-size: 16px;
  margin-bottom: 18px;
  color: #ffffff;
}

.footer .footer-desc {
  color: #94a3b8;
  line-height: 1.85;
}

.footer a {
  display: block;
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--brand);
}

.logo-caption-dark {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
}

.copyright {
  border-top: 1px solid #1e293b;
  padding-top: 22px;
  margin-top: 42px;
  font-size: 13px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.copyright-rights {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.copyright-sep {
  color: #334155;
}

.developer-credit {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #94a3b8;
  font-size: 12.5px;
}

.developer-credit strong {
  color: #e2e8f0;
  font-weight: 600;
}

.dev-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #25d366;
  text-decoration: none;
  font-weight: 600;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.28);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  transition: all 0.25s ease;
  margin-inline-start: 4px;
}

.dev-whatsapp-link:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.dev-whatsapp-link i {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   15. بانر الصورة العريض (Full Width Image Banner)
   -------------------------------------------------------------------------- */
.image-banner-section {
  padding: 40px 28px;
  width: 100%;
}

.banner-wrapper {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  height: 600px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
}

.banner-content {
  position: absolute;
  bottom: 44px;
  right: 48px;
  left: 48px;
  z-index: 2;
  text-align: right;
}

.banner-content h2 {
  color: #ffffff;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   16. معرض الصور الاحترافي (Modern 3-Column Image Gallery)
   -------------------------------------------------------------------------- */
.gallery-section {
  background-color: #F7F9FC;
  padding: 68px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  border-radius: 24px;
  overflow: hidden;
  background-color: #ffffff;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.3s ease;
}

.gallery-card:hover {
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --------------------------------------------------------------------------
   17. التجاوب مع مقاسات الشاشات (Responsive Media Queries)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .banner-wrapper {
    height: 480px;
    border-radius: 22px;
  }

  .banner-content {
    bottom: 32px;
    right: 32px;
    left: 32px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-strip>div {
    border-bottom: 1px solid var(--line);
  }

  .apply-area {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 20px;
  }

  .section {
    padding: 68px 0;
  }

  /* شريط الهيدر العلوي على الهواتف */
  .header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: all 0.3s ease;
  }

  .nav {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 18px;
  }

  .nav-links,
  .menu-toggle {
    display: none !important;
  }

  /* الشعار يظهر على اليسار مع مسافة تنفس مريحة */
  .header .logo {
    display: inline-flex;
    align-items: center;
    opacity: 1;
    visibility: visible;
    position: static;
    transform: none;
    margin: 0;
    padding: 6px 6px;
    pointer-events: auto;
  }

  .header .logo-img {
    height: 34px;
    width: auto;
  }

  /* زر 'ابدأ الآن' بأسلوب مينيماليزم خفيف وراقي ومسافات متوازنة */
  .nav>.btn.nav-start-btn,
  .nav>.btn {
    display: inline-flex !important;
    position: static;
    transform: none;
    background: rgba(0, 167, 189, 0.04);
    color: var(--brand);
    border: 1.5px solid var(--brand);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13.5px;
    font-weight: 700;
    min-height: 38px;
    box-shadow: none;
    gap: 6px;
    align-items: center;
    margin-inline-start: 12px;
    transition: all 0.2s ease;
  }

  .nav>.btn.nav-start-btn:hover,
  .nav>.btn.nav-start-btn:active {
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 167, 189, 0.28);
  }

  .nav>.btn.nav-start-btn i {
    width: 15px;
    height: 15px;
  }

  .hero {
    padding: 36px 0 44px;
  }

  /* تكبير نصوص الشروحات تحت العناوين على الهواتف */
  .lead,
  .hero .lead,
  .section-heading .lead {
    font-size: 18.5px;
    line-height: 2.1;
  }

  .metrics,
  .social-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .menu-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .menu-cat-card {
    padding: 22px 18px 20px;
  }

  .menu-cat-card h4 {
    font-size: 16px;
  }

  .menu-cat-card p {
    font-size: 13.5px;
    line-height: 1.8;
  }

  /* العنصر الأخير (الفردي) يأخذ عرض السطرين ليكون متناسقاً وجميلاً */
  .menu-cat-card:last-child {
    grid-column: 1 / -1;
  }

  .metric-card,
  .social-stat-card {
    padding: 22px 14px;
  }

  .offer-banner {
    display: block;
    padding: 24px 20px;
    text-align: right;
  }

  .offer-banner .btn {
    margin-top: 20px;
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .invest-grid {
    grid-template-columns: 1fr;
  }

  .image-banner-section {
    padding: 24px 16px;
  }

  .banner-wrapper {
    height: 380px;
    border-radius: 20px;
  }

  .banner-content {
    bottom: 24px;
    right: 24px;
    left: 24px;
  }

  .banner-content h2 {
    font-size: 22px;
  }

  .gallery-section {
    padding: 48px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-card {
    border-radius: 20px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .info-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .card {
    padding: 24px;
  }

  /* تحسين خطوط وعناوين بطاقات المزايا (نموذج عمل قائم على الوضوح والخبرة) على الهواتف */
  .feature-card {
    padding: 26px 20px;
  }

  .feature-card h3 {
    font-size: 19px;
    line-height: 1.5;
    margin-top: 14px;
    margin-bottom: 10px;
    color: #0f172a;
  }

  .feature-card p {
    font-size: 15px;
    line-height: 1.95;
    color: var(--ink-secondary);
  }

  .application {
    padding: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.wide {
    grid-column: auto;
  }

  .copyright {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .copyright-rights,
  .developer-credit {
    justify-content: center;
  }

  /* تكبير خطوط الأسئلة الشائعة على الهواتف */
  .faq details {
    padding: 0 18px;
    margin-bottom: 12px;
  }

  .faq summary {
    font-size: 16.5px;
    line-height: 1.5;
    padding: 18px 0;
  }

  .faq summary::after {
    font-size: 24px;
  }

  .faq details p {
    font-size: 15.5px;
    line-height: 2;
    padding-bottom: 20px;
  }

  /* تحسين المسافة فوق زر إرسال الطلب في النموذج على الهواتف */
  .submit-btn,
  .application form button[type="submit"],
  .application form .btn[type="submit"] {
    margin-top: 36px !important;
  }
}

@media (max-width: 420px) {
  .nav>.btn {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .info-strip>div {
    border-left: none;
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}