/* ==========================================================================
   ورشة متنقلة صناعية الخليج — Stylesheet
   نظام تصميم: أزرق داكن + برتقالي تحذيري + رمادي فاتح
   ========================================================================== */

:root {
  /* الألوان */
  --navy: #0B2545;
  --navy-dark: #071A33;
  --navy-soft: #13315C;
  --orange: #FF6B1A;
  --orange-dark: #E85D04;
  --white: #FFFFFF;
  --gray-light: #F3F5F8;
  --gray-mid: #E3E7ED;
  --gray-text: #5B6675;
  --text: #16212F;
  --success: #1B9C63;
  --star: #FFB020;

  /* الخطوط */
  --font-display: 'El Messiri', Tahoma, 'Segoe UI', sans-serif;
  --font-body: 'Tajawal', Tahoma, Arial, sans-serif;

  /* المسافات */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, 0.14);
  --container: 1180px;
}

/* ============ إعادة ضبط أساسية ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.3;
}

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

.section { padding: 72px 0; }
.section-alt { background: var(--gray-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.section-head p { color: var(--gray-text); font-size: 1.02rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* أزرار مشتركة */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-call {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255,107,26,0.35);
}
.btn-call:hover { background: var(--orange-dark); }
.btn-whatsapp {
  background: #1FAA55;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31,170,85,0.3);
}
.btn-whatsapp:hover { background: #178a44; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ============ الهيدر ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(11, 37, 69, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.footer-brand .brand-logo-img { height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: 1.05rem; }
.brand-text span { font-size: 0.72rem; color: #B9C6DA; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav a {
  color: #DCE4F0;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
}
.main-nav a:hover { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 18px; font-size: 0.88rem; }
.header-actions .btn-call span.full,
.header-actions .btn-whatsapp span.full { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 340px);
  height: 100%;
  background: var(--navy-dark);
  z-index: 600;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  padding: 24px 22px;
}
[dir="rtl"] .mobile-nav { right: 0; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 26px;
}
.mobile-nav-close { color: var(--white); font-size: 1.6rem; padding: 4px 10px; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  color: #E7ECF5;
  padding: 13px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
}
.mobile-nav-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(5,14,28,0.55);
  z-index: 550;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ============ Hero — بطاقة أمر عمل رقمية ============ */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7,26,51,0.88) 0%, rgba(7,26,51,0.94) 55%, var(--navy-dark) 100%),
    radial-gradient(circle at 85% 10%, rgba(255,107,26,0.18), transparent 45%),
    url('images/photo-street-wide-md.webp');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 52px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.9) 40%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  margin-bottom: 18px;
  color: #CBDAF0;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 4px rgba(52,211,153,0.25);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  margin-bottom: 14px;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  color: #C7D3E6;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 640px;
  margin-bottom: 26px;
}
.hero-features {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 30px;
}
.hero-features li {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.86rem;
  color: #E2E9F5;
}
.hero-features li svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--orange); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { font-size: 1.02rem; padding: 15px 28px; }

/* بطاقة أمر العمل - العنصر المميز */
.dispatch-card {
  position: relative;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}
.dispatch-card::before,
.dispatch-card::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  background: var(--navy-dark);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.dispatch-card::before { right: -13px; }
.dispatch-card::after { left: -13px; }
.dispatch-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px dashed var(--gray-mid);
  padding-bottom: 14px; margin-bottom: 16px;
}
.dispatch-head strong { font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; }
.dispatch-status {
  background: #E9F9F0; color: var(--success);
  font-size: 0.76rem; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
}
.dispatch-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.92rem; border-bottom: 1px solid var(--gray-light); }
.dispatch-row span:first-child { color: var(--gray-text); }
.dispatch-row span:last-child { font-weight: 700; color: var(--navy); }
.dispatch-route {
  margin-top: 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.86rem; color: var(--gray-text);
}
.dispatch-route svg { color: var(--orange); flex-shrink: 0; }
.route-line {
  flex: 1; height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 11px);
  position: relative;
}
.route-line::after {
  content: "";
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange);
}

/* ============ الإحصائيات ============ */
.stats {
  background: var(--navy-dark);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--orange);
}
.stat-item span { color: #B9C6DA; font-size: 0.86rem; }

/* ============ مناطق الخدمة ============ */
.areas-list {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.areas-list li {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}
.areas-list li.hub {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  font-weight: 700;
}

/* ============ الخدمات ============ */
.badges-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.badge-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.84rem;
  color: var(--navy-soft);
  font-weight: 600;
}
.badge-chip svg { width: 15px; height: 15px; color: var(--success); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-media {
  background: var(--gray-light);
  padding: 26px;
  display: flex; align-items: center; justify-content: center;
}
.service-media img { width: 64px; height: 64px; }
.service-media.photo {
  padding: 0;
  height: 190px;
  overflow: hidden;
}
.service-media.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-body p.desc { color: var(--gray-text); font-size: 0.92rem; margin-bottom: 14px; }
.service-feats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.service-feats li { display: flex; align-items: center; gap: 7px; font-size: 0.86rem; color: var(--text); }
.service-feats li svg { width: 14px; height: 14px; color: var(--success); flex-shrink: 0; }
.service-price {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 6px;
}
.price-old { color: #A6AFBC; text-decoration: line-through; font-size: 0.92rem; }
.price-new { color: var(--orange-dark); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.price-from { color: var(--gray-text); font-size: 0.78rem; margin-bottom: 16px; }
.service-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.service-actions .btn { flex: 1; }

.extra-services {
  margin-top: 36px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 28px;
}
.extra-services h3 { margin-bottom: 16px; font-size: 1.1rem; }
.extra-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.extra-grid li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--gray-mid);
}
.extra-grid li svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; }

/* ============ لماذا تختارنا ============ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--gray-mid);
  display: flex; gap: 14px; align-items: flex-start;
}
.why-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,107,26,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.why-card h3 { font-size: 1rem; margin-bottom: 4px; }
.why-card p { font-size: 0.86rem; color: var(--gray-text); }

/* ============ خطوات العمل ============ */
.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.steps-track::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 27px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 12px);
  display: none;
}
.step-item { display: flex; gap: 16px; align-items: flex-start; position: relative; }
.step-num {
  width: 54px; height: 54px; flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  z-index: 1;
}
.step-item:nth-child(odd) .step-num { background: var(--orange); }
.step-content { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius-md); padding: 16px 18px; flex: 1; }
.step-content h3 { font-size: 0.98rem; margin-bottom: 4px; }
.step-content p { font-size: 0.86rem; color: var(--gray-text); }

/* ============ المعرض ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item img { width: 40%; height: 40%; filter: brightness(0) invert(1); opacity: 0.9; }
.gallery-item.photo img {
  width: 100%; height: 100%;
  filter: none; opacity: 1;
  object-fit: cover;
}
.gallery-item span {
  position: absolute; bottom: 0; right: 0; left: 0;
  background: linear-gradient(0deg, rgba(7,26,51,0.92), transparent);
  color: var(--white);
  font-size: 0.78rem;
  padding: 26px 10px 10px;
  text-align: center;
}

/* ============ آراء العملاء ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 22px;
}
.review-stars { color: var(--star); font-size: 0.9rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 0.92rem; color: var(--text); margin-bottom: 14px; }
.review-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--gray-text); border-top: 1px solid var(--gray-light); padding-top: 12px; }
.review-meta strong { color: var(--navy); }

/* ============ المقالات ============ */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-head {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 20px 22px;
  text-align: right;
}
.article-num { font-family: var(--font-display); color: var(--orange); font-size: 0.85rem; flex-shrink: 0; }
.article-head h3 { font-size: 1.02rem; flex: 1; }
.article-head svg { flex-shrink: 0; transition: transform .2s ease; color: var(--navy); }
.article-card.open .article-head svg { transform: rotate(180deg); }
.article-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.article-body-inner { padding: 0 22px 22px; color: var(--gray-text); font-size: 0.92rem; }
.article-card.open .article-body { max-height: 400px; }

/* ============ الأسئلة الشائعة ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 18px 20px;
  text-align: right;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.96rem;
}
.faq-question .icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-question .icon::before, .faq-question .icon::after {
  content: ""; position: absolute; background: var(--orange);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  transition: transform .25s ease;
}
.faq-question .icon::before { width: 14px; height: 2px; }
.faq-question .icon::after { width: 2px; height: 14px; }
.faq-item.open .faq-question .icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 20px 20px; color: var(--gray-text); font-size: 0.9rem; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ============ التواصل ============ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.contact-info h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 18px; }
.contact-line { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 0.94rem; color: #D7E0EF; }
.contact-line svg { color: var(--orange); flex-shrink: 0; }
.contact-info .btn { margin-top: 10px; }
.contact-map-note {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.84rem; color: #AEBBD1;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--gray-light);
  color: var(--text);
  transition: border-color .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.78rem; color: var(--gray-text); margin-top: 10px; text-align: center; }

/* ============ الفوتر ============ */
.site-footer {
  background: var(--navy-dark);
  color: #B9C6DA;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 36px;
}
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand strong { color: var(--white); font-family: var(--font-display); }
.footer-col p { font-size: 0.88rem; line-height: 1.8; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 0.88rem; color: #B9C6DA; transition: color .15s ease; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex; flex-direction: column; gap: 10px;
  align-items: center;
  text-align: center;
  font-size: 0.82rem;
}
.footer-bottom .legal-links { display: flex; gap: 16px; }
.footer-bottom .legal-links a:hover { color: var(--orange); }

/* ============ الأزرار العائمة ============ */
.floating-actions {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  color: var(--white);
}
.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--orange); }
.float-btn svg { width: 26px; height: 26px; }

/* ============ عناصر عامة ============ */
.skip-link {
  position: absolute; right: 10px; top: -50px;
  background: var(--orange); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 999; transition: top .2s ease;
}
.skip-link:focus { top: 10px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.divider-note {
  text-align: center; color: var(--gray-text); font-size: 0.84rem; margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============ لوحي (Tablet) ============ */
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .extra-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-services-grid { grid-template-columns: repeat(2, 1fr); }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-factors { grid-template-columns: repeat(2, 1fr); }
}

/* ============ بطاقات الخدمات الإضافية المصغّرة ============ */
.mini-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}
.mini-service-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mini-service-card .mini-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,107,26,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-dark);
}
.mini-service-body h3 { font-size: 0.96rem; margin-bottom: 4px; }
.mini-service-body p { font-size: 0.83rem; color: var(--gray-text); margin-bottom: 10px; }
.mini-service-body a { font-size: 0.8rem; font-weight: 700; color: #1FAA55; display: inline-flex; align-items: center; gap: 4px; }
.mini-service-body a:hover { text-decoration: underline; }
.section-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ============ أعطال السيارات (الأعراض) ============ */
.symptom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.symptom-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 20px;
  border-inline-start: 4px solid var(--orange);
}
.symptom-card h3 { font-size: 1rem; margin-bottom: 6px; }
.symptom-card p { font-size: 0.88rem; color: var(--gray-text); }
.symptom-card a { color: var(--navy-soft); font-weight: 700; font-size: 0.84rem; }

/* ============ أنواع السيارات ============ */
.cartypes-wrap { display: flex; flex-direction: column; gap: 22px; }
.cartypes-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cartypes-chips li {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 600;
}
.brands-row { display: flex; flex-wrap: wrap; gap: 8px; }
.brands-row li {
  background: var(--navy);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
}

/* ============ عوامل تحديد السعر ============ */
.pricing-factors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.pricing-factors li {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text);
}
.pricing-factors li svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.pricing-note {
  margin-top: 18px;
  background: rgba(255,107,26,0.08);
  border: 1px dashed var(--orange);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--navy-soft);
}

/* ============ مسار التنقل Breadcrumb ============ */
.breadcrumb {
  background: var(--gray-light);
  padding: 12px 0;
  font-size: 0.82rem;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--gray-text); }
.breadcrumb a { color: var(--navy-soft); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: "‹"; margin-inline-start: 6px; color: #A6AFBC; }

/* ============ صفحة المقال الفرعي ============ */
.article-page-hero {
  background: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 40px 0;
}
.article-page-hero.has-photo {
  background-image:
    linear-gradient(180deg, rgba(7,26,51,0.88) 0%, rgba(7,26,51,0.94) 100%),
    var(--photo-url);
}
.article-page-hero .eyebrow { color: var(--orange); }
.article-page-hero h1 { color: var(--white); font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 10px; }
.article-page-hero p { color: #C7D3E6; max-width: 680px; }
.article-content {
  max-width: 760px;
  margin: 0 auto;
}
.article-content h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.article-content h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.article-content p { color: var(--text); font-size: 0.98rem; margin-bottom: 14px; }
.article-content ul { margin: 0 0 16px; padding-inline-start: 20px; }
.article-content ul li { list-style: disc; font-size: 0.95rem; color: var(--text); margin-bottom: 6px; }
.article-cta-box {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
  margin: 34px 0;
}
.article-cta-box h3 { margin-bottom: 8px; }
.article-cta-box p { color: var(--gray-text); margin-bottom: 16px; font-size: 0.92rem; }
.article-cta-box .btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.related-articles { margin-top: 30px; }
.related-articles h3 { margin-bottom: 14px; }
.related-articles ul { display: flex; flex-direction: column; gap: 8px; padding: 0; }
.related-articles ul li { list-style: none; }
.related-articles a {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.related-articles a:hover { border-color: var(--orange); color: var(--orange-dark); }
.back-home-link { display: inline-block; margin-top: 20px; font-size: 0.88rem; font-weight: 700; color: var(--navy-soft); }

/* ============ كمبيوتر (Desktop) ============ */
@media (min-width: 960px) {
  .main-nav { display: block; }
  .hamburger { display: none; }
  .header-actions .btn-call span.full,
  .header-actions .btn-whatsapp span.full { display: inline; }

  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 0.9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .extra-grid { grid-template-columns: repeat(3, 1fr); }

  .steps-track { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
  .steps-track::before { display: block; }

  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .mini-services-grid { grid-template-columns: repeat(3, 1fr); }
  .symptom-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-factors { grid-template-columns: repeat(3, 1fr); }
}


/* ========================================================================== 
   إصلاحات المراجعة الشاملة — الجوال، الوصول، والأداء
   ========================================================================== */

/* أيقونات موحّدة بدل Emoji */
.btn-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}
.btn-whatsapp .btn-icon { width: 20px; height: 20px; flex-basis: 20px; }

/* إزالة الترقيم الافتراضي من مسار التنقل */
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li { list-style: none; }

/* منع عناصر Grid والنماذج من توسيع الصفحة على الشاشات الضيقة */
.contact-wrap > *,
.contact-info,
.contact-form,
.form-row,
.form-field,
.service-card,
.article-card,
.dispatch-card {
  min-width: 0;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
}

/* مساحة ولمس أفضل */
.hamburger,
.mobile-nav-close {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.header-actions .btn { min-height: 44px; }
.mobile-nav-close { display: inline-flex; }

.float-label { display: none; }
.faq-more { margin-top: 24px; text-align: center; }

@media (max-width: 639px) {
  body { padding-bottom: 76px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 30px; }
  .hero { padding: 42px 0 50px; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-cta .btn { min-width: 0; padding-inline: 14px; font-size: .92rem; }

  /* شريط اتصال سفلي لا يغطي المحتوى */
  .floating-actions {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 66px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(7, 26, 51, .98);
    border-top: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 -8px 24px rgba(7,26,51,.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    z-index: 700;
  }
  .float-btn {
    width: auto;
    height: 50px;
    border-radius: 12px;
    gap: 8px;
    box-shadow: none;
    font-weight: 700;
    font-size: .92rem;
  }
  .float-btn svg { width: 22px; height: 22px; }
  .float-label { display: inline; }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }

  .breadcrumb { font-size: .88rem; }
  .breadcrumb ol { row-gap: 8px; }
}

@media (max-width: 359px) {
  .container { padding-inline: 14px; }
  .header-inner {
    gap: 8px;
    padding-inline: 12px;
  }
  .brand-logo-img { height: 37px; max-width: 138px; object-fit: contain; }
  .header-actions { gap: 5px; }
  .header-actions .btn-whatsapp { display: none; }
  .header-actions .btn { padding-inline: 12px; }
  .contact-info,
  .contact-form { padding: 22px 18px; }
  .dispatch-card { padding: 21px 18px; }
  .dispatch-card::before,
  .dispatch-card::after { width: 20px; height: 20px; }
  .dispatch-card::before { right: -10px; }
  .dispatch-card::after { left: -10px; }
  .hero-cta { grid-template-columns: 1fr; }
  .service-actions { flex-direction: column; }
  .service-actions .btn { width: 100%; }
  .article-cta-box { padding: 22px 16px; }
  .btn { white-space: normal; text-align: center; }
}

@media (min-width: 960px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(7,26,51,0.88) 0%, rgba(7,26,51,0.94) 55%, var(--navy-dark) 100%),
      radial-gradient(circle at 85% 10%, rgba(255,107,26,0.18), transparent 45%),
      url('images/photo-street-wide-lg.webp');
    background-size: cover;
    background-position: center;
  }
}

/* مجموعة مناطق الخدمة المدمجة داخل قسم الأسعار */
.service-areas-inline {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--gray-mid);
}
.service-areas-inline h3 { margin-bottom: 8px; font-size: 1.15rem; }
.service-areas-inline > p { color: var(--gray-text); margin-bottom: 16px; }

/* منع الوصول إلى القائمة الجانبية وهي مغلقة */
.mobile-nav { visibility: hidden; pointer-events: none; }
.mobile-nav.open { visibility: visible; pointer-events: auto; }
