/* ==========================================================================
   مؤسسة مقاولات عامة الشرقية - التصميم الفاخر الحديث
   Modern Luxury Construction Website Stylesheet
   Author: Antigravity
   ========================================================================== */

:root {
  /* Colors */
  --primary: #0f172a;        /* Slate Dark 900 */
  --primary-deep: #090d16;   /* Rich Obsidian */
  --primary-light: #1e293b;   /* Slate 800 */
  --surface: #141e33;        /* Card surface */
  --surface-hover: #1b2845;  /* Card hover */
  --accent: #f59e0b;         /* Construction Amber / Gold */
  --accent-light: #fbbf24;   /* Warm Gold */
  --accent-hover: #d97706;   /* Darker Amber */
  --accent-glow: rgba(245, 158, 11, 0.25);
  
  --whatsapp: #25d366;       /* WhatsApp Brand */
  --whatsapp-hover: #20ba59;
  --call: #3b82f6;           /* Phone Blue */
  --call-hover: #2563eb;
  
  --text-main: #f8fafc;      /* Crisp white/slate */
  --text-muted: #94a3b8;     /* Muted slate */
  --text-dim: #64748b;       /* Subtle text */
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(245, 158, 11, 0.35);
  
  /* Fonts */
  --font-main: 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 25px -5px rgba(245, 158, 11, 0.3);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--primary-deep);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Subtle Grid Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(59, 130, 246, 0.04) 0%, transparent 45%);
  pointer-events: none;
  z-index: -1;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--accent-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-tag i {
  font-size: 0.95rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-title span {
  color: var(--accent-light);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b1320;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

.btn-call {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-light);
  color: #ffffff;
}

.btn-outline-gold {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--accent);
  color: var(--accent-light);
}

.btn-outline-gold:hover {
  background: var(--accent);
  color: #0b1320;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-bar {
  background: rgba(11, 19, 32, 0.85);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item i {
  color: var(--accent);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.main-header.scrolled {
  background: rgba(11, 19, 32, 0.96);
  border-bottom: 1px solid var(--border-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1.5px solid var(--accent);
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0;
}

.brand-text p {
  font-size: 0.78rem;
  color: var(--accent-light);
  margin: 0;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent-light);
}

.header-call-btn:hover {
  background: var(--accent);
  color: #0b1320;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(9, 13, 22, 1) 100%);
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: 50%;
  transform: translateX(50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  color: var(--accent-light);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-title .highlight {
  color: var(--accent-light);
  background: linear-gradient(135deg, #fed7aa, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-buttons .btn {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Trust Features Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.trust-item {
  background: rgba(20, 30, 51, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.trust-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  background: rgba(27, 40, 69, 0.9);
}

.trust-item i {
  font-size: 1.8rem;
  color: var(--accent-light);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.trust-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
  background: linear-gradient(90deg, #111a2e 0%, #17233d 50%, #111a2e 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Dedicated Departments Section (كل قسم لحالة)
   ========================================================================== */
.departments-section {
  padding: 5.5rem 0;
  position: relative;
}

.dept-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dept-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.08);
}

.dept-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.dept-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Department Info */
.dept-info {
  display: flex;
  flex-direction: column;
}

.dept-number {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.dept-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dept-title i {
  color: var(--accent);
  font-size: 1.75rem;
}

.dept-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.dept-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #e2e8f0;
}

.feature-pill i {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Department Visual Showcase (صورة واحدة مميزة وتحتها الزرين) */
.dept-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dept-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  background: #090d16;
}

.dept-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dept-card:hover .dept-image-frame img {
  transform: scale(1.05);
}

.dept-image-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.dept-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9, 13, 22, 0.8) 100%);
  pointer-events: none;
}

/* The Exact Action Buttons Under The Image */
.dept-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.btn-view-all {
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid var(--accent);
  color: #ffffff;
  padding: 0.9rem 1.2rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-view-all:hover {
  background: var(--accent);
  color: #0b1320;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.btn-quote-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  padding: 0.9rem 1.2rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-quote-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

/* ==========================================================================
   Keywords & SEO Tags Section (كلمات البحث)
   ========================================================================== */
.keywords-section {
  padding: 5rem 0;
  background: #0d1527;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

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

.keyword-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.keyword-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.keyword-card h3 {
  font-size: 1.2rem;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.seo-tag {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #cbd5e1;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.seo-tag:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent);
  color: var(--accent-light);
  cursor: pointer;
}

.city-badge {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-weight: 600;
}

.city-badge:hover {
  background: #3b82f6;
  color: #ffffff;
}

/* ==========================================================================
   Geographic Location Section (الموقع الجغرافي)
   ========================================================================== */
.location-section {
  padding: 5.5rem 0;
  position: relative;
}

.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.location-details {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-title {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
}

.location-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.location-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.location-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.location-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-frame-box {
  width: 100%;
  min-height: 420px;
  position: relative;
  background: #090d16;
}

.map-frame-box iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  filter: grayscale(20%) contrast(1.1) invert(90%) hue-rotate(180deg);
  transition: var(--transition);
}

.map-frame-box:hover iframe {
  filter: none;
}

/* ==========================================================================
   Quick Quote & Contact Form Section
   ========================================================================== */
.quote-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #090d16 0%, #111a2e 100%);
  position: relative;
}

.quote-box {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.1);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #0b1320;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

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

/* ==========================================================================
   Reviews / Testimonials
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
}

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

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.stars {
  color: var(--accent-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.review-text {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.reviewer-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.reviewer-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background: #080c14;
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}

/* ==========================================================================
   Two Fixed Floating Action Buttons (زرين ثابتة واتساب واتصال)
   ========================================================================== */
.fixed-action-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.fab-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: visible;
  transition: var(--transition);
}

.fab-btn i {
  font-size: 1.35rem;
}

/* WhatsApp FAB */
.fab-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.fab-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Call FAB */
.fab-call {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.fab-call:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.6);
}

/* Pulsing Ripples */
.fab-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  opacity: 0.7;
  animation: fab-pulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
  z-index: -1;
}

.fab-whatsapp::before {
  border: 2px solid #25d366;
}

.fab-call::before {
  border: 2px solid #3b82f6;
  animation-delay: 1s;
}

@keyframes fab-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.fab-status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ==========================================================================
   Full Screen Gallery Lightbox Modal (معاينة جميع الأعمال)
   ========================================================================== */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
}

.modal-title-box h3 {
  font-size: 1.35rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-title-box p {
  font-size: 0.88rem;
  color: var(--accent-light);
  margin-top: 0.2rem;
}

.modal-close-btn {
  font-size: 1.8rem;
  color: #cbd5e1;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  color: #ffffff;
}

/* Modal Nav Tabs */
.modal-tabs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 2rem;
  background: rgba(11, 19, 32, 0.5);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.modal-tab-btn {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  white-space: nowrap;
}

.modal-tab-btn.active {
  background: var(--accent);
  color: #0b1320;
  font-weight: 700;
}

/* Modal Main Body */
.modal-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 4rem;
  overflow: hidden;
}

.modal-main-image-container {
  max-width: 100%;
  max-height: calc(100vh - 280px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-main-image {
  max-width: 90vw;
  max-height: calc(100vh - 280px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: #ffffff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-nav-btn:hover {
  background: var(--accent);
  color: #0b1320;
}

.modal-nav-prev {
  right: 1.5rem;
}

.modal-nav-next {
  left: 1.5rem;
}

/* Modal Thumbnails Strip */
.modal-thumbnails-wrapper {
  padding: 0.75rem 2rem 1.25rem;
  background: rgba(11, 19, 32, 0.85);
  border-top: 1px solid var(--border);
}

.modal-thumbnails {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
}

.thumb-item {
  width: 70px;
  height: 50px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
}

.thumb-item.active {
  border-color: var(--accent);
  opacity: 1;
  transform: scale(1.08);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
}

.modal-counter {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Combined Department Card (قسم الصبغ + الترميم مجمعان)
   ========================================================================== */

/* البطاقة المدمجة تلغي grid الافتراضي وتستخدم flex column */
.dept-card-combined {
  padding: 2.25rem;
}

.dept-card-combined .combined-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.dept-card-combined .dept-title {
  font-size: 1.75rem;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.combined-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  color: var(--accent-light);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* الشبكة الداخلية: صورتان جنباً لجنب */
.combined-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

/* كل نصف (صبغ أو ترميم) */
.combined-half {
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem;
}

.combined-half:first-child {
  padding-right: 0;
}

.combined-half:last-child {
  padding-left: 0;
}

/* تسمية رأس كل نصف */
.combined-half-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-light);
}

.combined-half-label i {
  font-size: 1.1rem;
  color: var(--accent);
}

.combined-half-label em {
  margin-right: auto;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

/* الفاصل العمودي بين النصفين */
.combined-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
  margin-top: 4.5rem;
}

.divider-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-accent), transparent);
  min-height: 100px;
}

.divider-badge {
  width: 36px;
  height: 36px;
  background: rgba(245, 158, 11, 0.15);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin: 0.75rem 0;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

/* Responsive: على الشاشات المتوسطة والصغيرة يتحول لعمود واحد */
@media (max-width: 900px) {
  .combined-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .combined-divider {
    flex-direction: row;
    padding: 0;
    margin-top: 0;
    justify-content: center;
    gap: 0.75rem;
  }

  .divider-line {
    flex: 1;
    width: auto;
    height: 1px;
    min-height: unset;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
  }

  .combined-half {
    padding: 0;
  }

  .dept-card-combined .dept-title {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   Promo / Advertisement Section (هل تريد إعلاناً لعملك؟)
   ========================================================================== */
.promo-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #090d16 0%, #0c1322 100%);
  position: relative;
  overflow: hidden;
}

.promo-box {
  position: relative;
  background: linear-gradient(135deg, #0f1f3d 0%, #111827 50%, #0f1f3d 100%);
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(245, 158, 11, 0.07);
  overflow: hidden;
}

.promo-glow {
  position: absolute;
  top: -60px;
  right: 50%;
  transform: translateX(50%);
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.promo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.promo-icon-wrap {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.08));
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent-light);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.25);
  animation: promo-pulse 3s ease-in-out infinite;
}

@keyframes promo-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.25); transform: scale(1); }
  50% { box-shadow: 0 0 50px rgba(245, 158, 11, 0.45); transform: scale(1.05); }
}

.promo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
}

.promo-title {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}

.promo-title span {
  background: linear-gradient(135deg, #fed7aa, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 680px;
}

.promo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.promo-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  color: #e2e8f0;
  text-align: right;
}

.promo-feat i {
  color: #22c55e;
  font-size: 1rem;
  flex-shrink: 0;
}

/* CTA WhatsApp Button */
.promo-cta {
  width: 100%;
  display: flex;
  justify-content: center;
}

.promo-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  text-decoration: none;
  max-width: 520px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.promo-whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.promo-whatsapp-btn > i:first-child {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.promo-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.promo-btn-label {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
}

.promo-btn-sub {
  font-size: 0.82rem;
  opacity: 0.9;
  font-weight: 500;
  direction: ltr;
}

.promo-btn-arrow {
  font-size: 1.1rem;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.promo-whatsapp-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.promo-whatsapp-btn:hover .promo-btn-arrow {
  transform: translateX(-6px);
}

@media (max-width: 768px) {
  .promo-box {
    padding: 2rem 1.5rem;
  }
  
  .promo-title {
    font-size: 1.75rem;
  }

  .promo-features {
    grid-template-columns: 1fr 1fr;
  }
  
  .promo-whatsapp-btn {
    padding: 1rem 1.5rem;
  }

  .promo-btn-label {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .promo-features {
    grid-template-columns: 1fr;
  }
  
  .promo-icon-wrap {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

/* ==========================================================================
   RESPONSIVE — شاشات الأجهزة اللوحية والجوال (Tablets, Android, iPhone)
   ========================================================================== */

/* ── 1024px: أجهزة لوحية كبيرة ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(4)::after { display: none; }

  .dept-grid { grid-template-columns: 1fr; gap: 2rem; }
  .location-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .keywords-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  .hero-title { font-size: 2.75rem; }
  .section-title { font-size: 2rem; }
}

/* ── 768px: أندرويد وآيفون بلس / جوال كبير ──────────────────────────────── */
@media (max-width: 768px) {

  /* ── قواعد عامة ── */
  html { font-size: 15px; }
  .container { padding: 0 1rem; }

  /* ── الشريط العلوي ── */
  .top-bar { display: none; }

  /* ── الهيدر والقائمة ── */
  .nav-container { padding: 0.75rem 1rem; }

  .brand-logo img { width: 40px; height: 40px; }
  .brand-text h1 { font-size: 1.05rem; }
  .brand-text p  { font-size: 0.72rem; }

  .nav-links {
    position: fixed;
    top: 64px;
    right: -100%;
    width: min(300px, 85vw);
    height: calc(100dvh - 64px);
    background: #0d1527;
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; padding: 0.4rem 0; width: 100%; }

  .mobile-menu-btn { display: flex; }
  .header-call-btn { display: none; }

  /* ── Hero ── */
  .hero { padding: 3rem 0 2.5rem; }
  .hero-title { font-size: 1.75rem; line-height: 1.35; }
  .hero-desc  { font-size: 0.98rem; }
  .hero-badge { font-size: 0.82rem; padding: 0.4rem 0.9rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.98rem;
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .trust-item { padding: 1rem 0.75rem; }
  .trust-item i { font-size: 1.5rem; }
  .trust-item h4 { font-size: 0.88rem; }
  .trust-item p  { font-size: 0.75rem; }

  /* ── Stats ── */
  .stats-bar { padding: 1.75rem 0; }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .stat-number { font-size: 2.1rem; }
  .stat-label  { font-size: 0.82rem; }
  .stat-item::after { display: none !important; }

  /* ── Section headers ── */
  .section-header { margin-bottom: 2.25rem; }
  .section-title  { font-size: 1.65rem; }
  .section-subtitle { font-size: 0.95rem; }
  .section-tag { font-size: 0.8rem; padding: 0.3rem 0.85rem; }

  /* ── Department Cards ── */
  .departments-section { padding: 3.5rem 0; }
  .dept-card  { padding: 1.5rem 1.25rem; margin-bottom: 2rem; }
  .dept-grid  { grid-template-columns: 1fr; gap: 1.5rem; }
  .dept-title { font-size: 1.45rem; }
  .dept-desc  { font-size: 0.95rem; }
  .dept-number { font-size: 0.8rem; }

  .dept-features { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .feature-pill  { font-size: 0.82rem; padding: 0.45rem 0.7rem; }

  .dept-image-frame { aspect-ratio: 4/3; }

  .dept-actions { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .btn-view-all,
  .btn-quote-whatsapp {
    padding: 0.75rem 0.6rem;
    font-size: 0.88rem;
    gap: 0.35rem;
  }

  /* ── Keywords ── */
  .keywords-section { padding: 3.5rem 0; }
  .keywords-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .keyword-card { padding: 1.25rem; }
  .keyword-card h3 { font-size: 1rem; }
  .seo-tag { font-size: 0.8rem; padding: 0.35rem 0.7rem; }
  .tag-cloud { gap: 0.45rem; }

  /* ── Location ── */
  .location-section { padding: 3.5rem 0; }
  .location-wrapper { border-radius: var(--radius-md); }
  .location-details { padding: 2rem 1.5rem; }
  .location-title   { font-size: 1.45rem; }
  .location-desc    { font-size: 0.92rem; }
  .location-item    { gap: 0.75rem; }
  .location-icon    { width: 38px; height: 38px; font-size: 1.1rem; }
  .location-text h4 { font-size: 0.95rem; }
  .location-text p  { font-size: 0.85rem; }
  .map-frame-box,
  .map-frame-box iframe { min-height: 260px; }

  /* ── Quote Form ── */
  .quote-section { padding: 3.5rem 0; }
  .quote-box   { padding: 1.5rem 1.25rem; border-radius: var(--radius-md); }
  .quote-form  { grid-template-columns: 1fr; gap: 1rem; }
  .form-group.full-width { grid-column: span 1; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; padding: 0.8rem; }

  /* ── Reviews ── */
  .reviews-section { padding: 3.5rem 0; }
  .reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .review-card  { padding: 1.5rem; }
  .review-text  { font-size: 0.92rem; }

  /* ── Footer ── */
  .main-footer { padding: 3rem 0 1.5rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .footer-brand p { font-size: 0.88rem; }
  .footer-col h4  { font-size: 1rem; }
  .footer-links a { font-size: 0.88rem; }
  .footer-contact-item { font-size: 0.88rem; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.82rem;
  }

  /* ── Gallery Modal ── */
  .modal-header { padding: 0.9rem 1rem; }
  .modal-title-box h3 { font-size: 1.1rem; }
  .modal-title-box p  { font-size: 0.8rem; }
  #modalQuoteBtn { display: none; }
  .modal-close-btn { width: 38px; height: 38px; font-size: 1.5rem; }

  .modal-tabs {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }
  .modal-tab-btn { font-size: 0.8rem; padding: 0.4rem 0.75rem; }

  .modal-body { padding: 0.75rem 0.5rem; }
  .modal-main-image {
    max-width: 100%;
    max-height: calc(100dvh - 240px);
    border-radius: var(--radius-sm);
  }

  .modal-nav-btn { width: 42px; height: 42px; font-size: 1.1rem; }
  .modal-nav-prev { right: 0.4rem; }
  .modal-nav-next { left: 0.4rem; }

  .modal-thumbnails-wrapper { padding: 0.5rem 0.75rem 0.75rem; }
  .thumb-item { width: 56px; height: 42px; }

  /* ── الزرين الثابتان (FAB) ── */
  .fixed-action-bar {
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: row;
    gap: 0;
    border-radius: 0;
    padding: 0;
    background: #0d1527;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  }
  .fab-btn {
    flex: 1;
    border-radius: 0;
    padding: 0.9rem 0.5rem;
    font-size: 0.88rem;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: none;
    border: none;
  }
  .fab-btn::before { display: none; }
  .fab-btn i { font-size: 1.2rem; }
  .fab-whatsapp { border-left: 1px solid rgba(255,255,255,0.1); }
  /* مساحة سفلية للمحتوى لا تُخفى خلف الـ FAB */
  body { padding-bottom: 62px; }

  /* ── Promo Section ── */
  .promo-section { padding: 3.5rem 0; }
  .promo-box { padding: 2rem 1.25rem; border-radius: var(--radius-md); }
  .promo-title { font-size: 1.6rem; }
  .promo-desc  { font-size: 0.95rem; }
  .promo-features { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .promo-feat { font-size: 0.82rem; padding: 0.5rem 0.75rem; }
  .promo-whatsapp-btn { padding: 1rem 1.25rem; }
  .promo-btn-label { font-size: 0.95rem; }
  .promo-btn-sub   { font-size: 0.78rem; }
}

/* ── 480px: آيفون SE / أندرويد صغير ─────────────────────────────────────── */
@media (max-width: 480px) {

  html { font-size: 14px; }
  .container { padding: 0 0.9rem; }

  .hero { padding: 2.5rem 0 2rem; }
  .hero-title { font-size: 1.55rem; }
  .hero-badge { font-size: 0.78rem; }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .trust-item { padding: 0.85rem 0.65rem; }
  .trust-item i { font-size: 1.3rem; }
  .trust-item h4 { font-size: 0.82rem; }
  .trust-item p  { font-size: 0.72rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-number { font-size: 1.8rem; }

  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.88rem; }

  .dept-title   { font-size: 1.3rem; }
  .dept-features { grid-template-columns: 1fr; }
  .dept-actions  { grid-template-columns: 1fr; gap: 0.6rem; }

  .btn-view-all,
  .btn-quote-whatsapp {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .keyword-card h3 { font-size: 0.95rem; }

  .location-details { padding: 1.5rem 1.25rem; }
  .location-title { font-size: 1.3rem; }
  .map-frame-box,
  .map-frame-box iframe { min-height: 220px; }

  .quote-box { padding: 1.25rem 1rem; }
  .form-group label { font-size: 0.85rem; }

  .review-card { padding: 1.25rem; }

  .footer-grid { gap: 1.5rem; }

  .modal-title-box h3 { font-size: 1rem; }
  .modal-tab-btn { font-size: 0.75rem; padding: 0.35rem 0.6rem; }
  .thumb-item { width: 50px; height: 38px; }
  .modal-nav-btn { width: 36px; height: 36px; font-size: 1rem; }

  .promo-title { font-size: 1.45rem; }
  .promo-features { grid-template-columns: 1fr; gap: 0.5rem; }
  .promo-whatsapp-btn { flex-direction: column; text-align: center; padding: 1rem; gap: 0.5rem; }
  .promo-btn-text { align-items: center; }
  .promo-btn-arrow { display: none; }
  .promo-icon-wrap { width: 68px; height: 68px; font-size: 2rem; }
}

/* ── 375px: آيفون 14/15 Pro / Galaxy S ──────────────────────────────────── */
@media (max-width: 375px) {
  html { font-size: 13.5px; }

  .hero-title { font-size: 1.4rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-number { font-size: 1.6rem; }

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

  .dept-title { font-size: 1.2rem; }
  .section-title { font-size: 1.35rem; }

  .brand-text h1 { font-size: 0.95rem; }
  .brand-logo img { width: 36px; height: 36px; }

  .modal-title-box h3 { font-size: 0.92rem; }
}

/* ── Safe Area (iPhone Notch / Dynamic Island) ───────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .fixed-action-bar {
    padding-bottom: env(safe-area-inset-bottom);
  }
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
}

/* ── Touch Device Improvements ───────────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  /* أزرار أكبر للمس */
  .btn, .fab-btn, .btn-view-all, .btn-quote-whatsapp,
  .modal-nav-btn, .modal-close-btn, .modal-tab-btn {
    -webkit-tap-highlight-color: transparent;
  }
  .btn:active, .fab-btn:active {
    transform: scale(0.97);
    opacity: 0.9;
  }
  /* تعطيل hover effects التي لا تعمل بشكل جيد على اللمس */
  .dept-card:hover { transform: none; }
  .trust-item:hover { transform: none; }
  .review-card:hover { transform: none; }
  .keyword-card:hover { transform: none; }
  .dept-card:hover .dept-image-frame img { transform: none; }
}
