/* ============================================================
   المصرية للصيانة | masryaservices.com
   Premium App-Style RTL Stylesheet
   Theme: Teal Glassmorphism + Depth + Motion
   Font: Cairo (Google Fonts)
   ============================================================
   TABLE OF CONTENTS
   01. CSS Variables (root) — DO NOT rename, PHP relies on these
   02. Custom Properties (@property) for animated gradients
   03. Keyframe Animations
   04. Reset & Base
   05. Typography helpers
   06. Utilities (container, spacing, text, buttons)
   07. Scroll Reveal
   08. Top Bar
   09. Header / Navigation (glass)
   10. Mobile Menu
   11. Hero Section (home)
   12. Booking CTA Strip
   13. Section Titles
   14. Services Image Grid
   15. Features Grid
   16. Brands Grids (all variants)
   17. Works / Portfolio Grid
   18. Common Faults Horizontal Scroll
   19. Areas Grid
   20. Reviews Slider
   21. FAQ Accordion
   22. Articles / Blog Grid
   23. Footer
   24. Floating Action Buttons + Mobile Bottom Nav
   25. Booking Modal (multi-step app dialog)
   26. Inner Page Hero (page-header) + breadcrumb
   27. Content Section / Sidebar layout
   28. Contact Page
   29. Faults / Error Codes pages
   30. CTA boxes / sections
   31. Share buttons
   32. Misc components (spinner, alert, 404)
   33. Scrollbar & selection
   34. Responsive breakpoints
   ============================================================ */

/* =====================================================
   01. CSS VARIABLES — kept identical for PHP compatibility
   ===================================================== */
:root {
  --primary: #00897b;
  --primary-dark: #00695c;
  --primary-light: #e0f2f1;
  --secondary: #43a047;
  --secondary-dark: #2e7d32;
  --accent: #ff6f00;
  --accent-light: #fff3e0;
  --success: #4caf50;
  --warning: #ff9800;
  --danger: #f44336;
  --dark: #0f1a2e;
  --gray-900: #1a1f36;
  --gray-800: #2d3348;
  --gray-700: #4a5068;
  --gray-600: #6b7280;
  --gray-500: #9ca3af;
  --gray-400: #c4c9d4;
  --gray-300: #dfe3eb;
  --gray-200: #edf0f5;
  --gray-100: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(15, 26, 46, 0.07);
  --shadow-lg: 0 12px 40px rgba(15, 26, 46, 0.12);
  --shadow-glow: 0 0 30px rgba(0, 137, 123, 0.15);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(16px);

  /* Extended app-design tokens (new, additive only) */
  --primary-rgb: 0, 137, 123;
  --header-h: 64px;
  --topbar-h: 38px;
  --grad-brand: linear-gradient(135deg, #00acc1 0%, #00897b 45%, #00594f 100%);
  --grad-brand-soft: linear-gradient(135deg, #e0f7f5 0%, #e0f2f1 100%);
  --grad-mesh: radial-gradient(circle at 15% 20%, rgba(0, 172, 193, 0.35), transparent 40%),
               radial-gradient(circle at 85% 15%, rgba(67, 160, 71, 0.28), transparent 45%),
               radial-gradient(circle at 50% 90%, rgba(0, 105, 92, 0.4), transparent 50%);
  --ease-app: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =====================================================
   02. @property — animated gradient angle support
   ===================================================== */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --grad-x {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}

/* =====================================================
   03. KEYFRAME ANIMATIONS
   ===================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}
@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(14px) rotate(-3deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, -20px) scale(1.04); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
  50% { box-shadow: 0 0 0 18px rgba(var(--primary-rgb), 0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes borderRotate {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}
@keyframes gradientShift {
  0% { --grad-x: 0%; }
  100% { --grad-x: 100%; }
}
@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes successPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
}
@keyframes ringPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(var(--primary-rgb), 0); }
}
@keyframes pulseCall {
  0%, 100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32); }
}
@keyframes bounceArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}
@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}
@keyframes ticker {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}
@keyframes blobMove {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
  33% { border-radius: 62% 38% 45% 55% / 55% 65% 35% 45%; }
  66% { border-radius: 38% 62% 55% 45% / 35% 45% 55% 65%; }
}

/* =====================================================
   04. RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  direction: rtl;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
}
.content-main h2, .content-text h2 {
  font-size: 26px;
  margin: 34px 0 16px;
  position: relative;
  padding-right: 16px;
}
.content-main h2::before, .content-text h2::before {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 4px;
  background: var(--grad-brand);
}
.content-main h3, .content-text h3 {
  font-size: 20px;
  margin: 24px 0 12px;
  color: var(--primary-dark);
}
.content-main p, .content-text p {
  margin-bottom: 14px;
  color: var(--gray-700);
  font-size: 15.5px;
}
.content-main ul, .content-text ul {
  margin: 10px 0 20px;
}
.content-main ul li, .content-text ul li {
  position: relative;
  padding: 8px 28px 8px 4px;
  color: var(--gray-700);
  font-size: 15px;
  border-bottom: 1px dashed var(--gray-200);
}
.content-main ul li::before, .content-text ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 9px;
  color: var(--primary);
  font-size: 12px;
}

/* =====================================================
   06. UTILITIES
   ===================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.text-center { text-align: center; }
.text-danger { color: var(--danger); }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%) skewX(-15deg);
  transition: transform 0.6s ease;
  z-index: -1;
}
.btn:hover::before { transform: translateX(120%) skewX(-15deg); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.35);
}
.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(var(--primary-rgb), 0.45);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 10px 25px rgba(67, 160, 71, 0.35);
}
.btn-secondary:hover { transform: translateY(-2px); }
.btn-success {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}
.btn-success:hover { transform: translateY(-2px); }
.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2); }
.btn-light {
  background: var(--gray-100);
  color: var(--gray-800);
  border-color: var(--gray-200);
}
.btn-light:hover { background: var(--gray-200); }
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
  border-color: var(--primary);
  backdrop-filter: var(--glass-blur);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 100px;
  padding: 13px 26px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* =====================================================
   07. SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-app), transform 0.8s var(--ease-app);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   08. TOP BAR
   ===================================================== */
.top-bar {
  background: linear-gradient(90deg, var(--dark) 0%, #10251f 50%, var(--dark) 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.top-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 172, 193, 0.25), transparent);
  animation: ticker 6s linear infinite alternate;
  pointer-events: none;
}
.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 8px 0;
  width: 100%;
}
.top-bar-content span, .top-bar-content a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.top-bar-content i { color: var(--primary); font-size: 12px; }
.top-bar-content a { font-weight: 700; color: #fff; transition: var(--transition); }
.top-bar-content a:hover { color: var(--primary); }

/* =====================================================
   09. HEADER / NAVIGATION
   ===================================================== */
.header,
.glass-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(0, 137, 123, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}
.header.scrolled,
.glass-header.scrolled {
  box-shadow: 0 10px 30px rgba(15, 26, 46, 0.1);
  background: rgba(255, 255, 255, 0.92);
}
.header .container,
.glass-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

/* Logo */
.logo, .header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.35);
  position: relative;
  transition: var(--transition);
}
.logo-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  border: 2px solid rgba(var(--primary-rgb), 0.25);
  opacity: 0;
  transition: var(--transition);
}
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.05); }
.logo:hover .logo-icon::after { opacity: 1; inset: -5px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-name {
  font-weight: 800;
  font-size: 18px;
  color: var(--dark);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-tagline { font-size: 11px; color: var(--gray-500); font-weight: 600; }

/* Desktop Nav */
.nav-desktop, .header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-desktop > a, .header-nav a {
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--gray-700);
  border-radius: 100px;
  position: relative;
  transition: var(--transition);
}
.nav-desktop > a:hover, .header-nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-desktop > a::after, .header-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 50%;
  transform: translateX(50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-app);
}
.nav-desktop > a:hover::after, .header-nav a:hover::after { transform: translateX(50%) scaleX(1); }

.nav-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dropdown-toggle i { font-size: 10px; transition: transform 0.3s; }
.nav-dropdown:hover .dropdown-toggle i { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-app);
  z-index: 60;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
}
.dropdown-menu a i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary-dark); transform: translateX(-3px); }

/* Header actions */
.header-actions, .header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
}
.menu-toggle, .mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}
.menu-toggle:hover, .mobile-menu-btn:hover { background: var(--primary); color: #fff; }

/* =====================================================
   10. MOBILE MENU
   ===================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 20, 0.55);
  backdrop-filter: blur(4px);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-app);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
  z-index: 950;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-app);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
}
.mobile-menu.active { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  position: sticky;
  top: 0;
  z-index: 2;
}
.mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover { background: rgba(255, 255, 255, 0.35); transform: rotate(90deg); }

.mobile-menu-list { padding: 12px; }
.mobile-menu-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--gray-700);
  transition: var(--transition);
}
.mobile-menu-list li a i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.mobile-menu-list li a:hover { background: var(--gray-100); transform: translateX(-4px); }
.menu-divider {
  padding: 16px 14px 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--gray-200);
}

/* =====================================================
   11. HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  background: var(--grad-brand);
  color: #fff;
  padding: 68px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 75%);
  z-index: -1;
}
/* decorative floating geometric shapes */
.hero .shape,
.hero-visual .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-grid .hero-content { max-width: none; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  animation: fadeSlideUp 0.6s var(--ease-app) both;
}
.hero-badge:nth-child(2) { animation-delay: 0.08s; }
.hero-badge:nth-child(3) { animation-delay: 0.16s; }
.hero-badge i { color: #ffd166; }

.hero-subtitle {
  font-size: 15px;
  font-weight: 700;
  opacity: 0.92;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}
.hero p { font-size: 16px; opacity: 0.92; margin-bottom: 10px; max-width: 560px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 26px;
  margin: 30px 0 34px;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-stat .label {
  display: block;
  font-size: 12.5px;
  opacity: 0.85;
  font-weight: 600;
  margin-top: 2px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Right-side floating visual / app preview card */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-visual .device-frame {
  position: relative;
  width: min(320px, 90%);
  aspect-ratio: 9 / 17;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 38px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
  padding: 18px;
}
.hero-visual .floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gray-800);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  animation: floatReverse 5.5s ease-in-out infinite;
}
.hero-visual .floating-card.top { top: 4%; left: -5%; animation-delay: 0.2s; }
.hero-visual .floating-card.bottom { bottom: 8%; right: -5%; animation-delay: 0.6s; }
.hero-visual .floating-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.hero-visual .floating-card strong { display: block; font-size: 14px; }
.hero-visual .floating-card span { display: block; font-size: 11.5px; color: var(--gray-500); }
.hero-visual .orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  filter: blur(1px);
}
.hero-visual .orb.o1 { width: 90px; height: 90px; top: 8%; right: 6%; animation: float 7s ease-in-out infinite; }
.hero-visual .orb.o2 { width: 50px; height: 50px; bottom: 12%; left: 4%; animation: floatReverse 6s ease-in-out infinite; }

/* =====================================================
   12. BOOKING CTA STRIP
   ===================================================== */
.booking-cta-section {
  padding: 26px 0;
  margin-top: -46px;
  position: relative;
  z-index: 5;
}
.booking-cta-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  padding: 22px 26px;
  box-shadow: 0 20px 50px rgba(15, 26, 46, 0.18);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.booking-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(var(--primary-rgb), 0.12), transparent);
  transition: right 0.7s ease;
}
.booking-cta-card:hover::before { right: 120%; }
.booking-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15, 26, 46, 0.22);
  border-color: var(--primary);
}
.booking-cta-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.35);
  animation: pulseGlow 2.6s infinite;
}
.booking-cta-icon i { font-size: 26px; color: #fff; }
.booking-cta-content { flex: 1; min-width: 0; }
.booking-cta-content h2, .booking-cta-content h3 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--dark);
}
.booking-cta-content p { font-size: 13.5px; color: var(--gray-600); margin: 0; }
.booking-cta-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.booking-cta-arrow i { color: var(--primary); font-size: 16px; }
.booking-cta-card:hover .booking-cta-arrow { background: var(--primary); transform: translateX(-5px); }
.booking-cta-card:hover .booking-cta-arrow i { color: #fff; }

/* =====================================================
   13. SECTION TITLES
   ===================================================== */
.section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-title h2 {
  font-size: clamp(24px, 3vw, 32px);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-brand);
}
.section-title p { color: var(--gray-600); font-size: 15.5px; }

section { padding: 64px 0; }

/* =====================================================
   14. SERVICES IMAGE GRID
   ===================================================== */
.services-image-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
  transition: var(--transition);
  isolation: isolate;
}
.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-app);
}
.service-image-card:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-6px);
}
.service-image-card:hover img { transform: scale(1.12); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 20, 18, 0.35) 45%, rgba(0, 20, 18, 0.92) 100%);
  color: #fff;
}
.service-card-overlay h3 { color: #fff; font-size: 16px; margin-top: 10px; }
.service-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--transition);
}
.service-image-card:hover .service-card-icon {
  background: #fff;
  transform: scale(1.1) rotate(-8deg);
}
.service-image-card:hover .service-card-icon i { color: var(--primary); }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  color: #fff;
}
.service-image-card:hover .service-card-link { opacity: 1; transform: translateY(0); }
.service-image-card:hover .service-card-link i { transform: translateX(-5px); }

/* legacy simple service card (used in faults.php) */
.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}
.service-card h3 { font-size: 15.5px; }

/* =====================================================
   15. FEATURES GRID
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  box-shadow:
    8px 8px 18px rgba(15, 26, 46, 0.06),
    -8px -8px 18px rgba(255, 255, 255, 0.9),
    0 1px 0 rgba(0, 0, 0, 0.02);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card .icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
  box-shadow: 0 12px 26px rgba(var(--primary-rgb), 0.3);
  transition: var(--transition);
}
.feature-card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.feature-card h3, .feature-card h4 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--gray-600); }

/* =====================================================
   16. BRANDS GRIDS
   ===================================================== */
.brands-grid, .brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.brand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.brand-card:hover::after { opacity: 1; }
.brand-name { font-size: 13.5px; font-weight: 700; color: var(--gray-700); }
.brands-grid.with-logos, .brands-grid-with-logos { gap: 16px; }
.brand-card.with-logo, .brand-card-with-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 14px;
}
.brand-logo {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(15%);
  transition: var(--transition);
}
.brand-card:hover .brand-logo { filter: grayscale(0); transform: scale(1.06); }

.brands-grid-large {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.brand-card-large {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 16px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.brand-card-large:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.brand-card-large img { height: 54px; margin: 0 auto 12px; object-fit: contain; }

.brand-card-enhanced {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid var(--gray-200);
}
.brand-card-enhanced:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.brand-card-enhanced img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 10px; }
.brand-card-enhanced h4 { font-size: 14px; font-weight: 700; color: var(--gray-800); margin-bottom: 3px; }
.brand-card-enhanced span { font-size: 11px; color: var(--gray-500); }

.brand-name-en { font-size: 11.5px; color: var(--gray-500); }
.brand-country { font-size: 12px; color: var(--gray-500); }
.brand-logo-large { height: 70px; object-fit: contain; }
.brand-logo-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 10px;
}
.brand-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin-bottom: 10px;
}

/* =====================================================
   17. WORKS / PORTFOLIO GRID
   ===================================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.work-card-enhanced {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.work-card-enhanced:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card-enhanced img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.work-card-enhanced .content { padding: 18px; }
.work-card-enhanced .content h3, .work-card-enhanced .content h4 { font-size: 15.5px; margin-bottom: 8px; }
.work-card-enhanced .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-card-enhanced .tag {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* =====================================================
   18. COMMON FAULTS HORIZONTAL SCROLL
   ===================================================== */
.common-faults-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 55%, #fff8f2 100%);
  overflow: hidden;
}
.common-faults-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 20px;
  scroll-snap-type: x proximity;
}
.common-faults-scroll::-webkit-scrollbar { display: none; }
.common-fault-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.common-fault-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #ffccbc; }
.fault-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff7043, #e64a19);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.fault-info { min-width: 0; }
.fault-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--danger);
  text-transform: uppercase;
}
.fault-info h3, .fault-info h4 { font-size: 14.5px; margin: 4px 0 8px; }
.fault-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}
.fault-link i { transition: transform 0.3s; }
.common-fault-card:hover .fault-link i { transform: translateX(-4px); }

/* =====================================================
   19. AREAS GRID
   ===================================================== */
.areas-grid, .areas-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.area-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-app);
  z-index: 0;
}
.area-card:hover::before { transform: scaleX(1); }
.area-card h3, .area-card h4 {
  position: relative;
  z-index: 1;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  transition: color 0.3s;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.area-card:hover h3, .area-card:hover h4 { color: #fff; }
.area-card i { color: var(--primary); transition: color 0.3s; }
.area-card:hover i { color: #fff; }
.area-page-card { padding: 20px 14px; }
.area-content, .governorate-content { padding: 4px; }

/* =====================================================
   20. REVIEWS SLIDER
   ===================================================== */
.reviews-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 10px 4px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-slider::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  position: relative;
}
.review-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 34px;
  color: var(--primary-light);
  z-index: 0;
}
.review-card > * { position: relative; z-index: 1; }
.review-card .stars { color: #ffb300; margin-bottom: 12px; font-size: 14px; letter-spacing: 2px; }
.review-card p { font-size: 14.5px; color: var(--gray-700); margin-bottom: 16px; line-height: 1.8; }
.review-card .name { font-weight: 800; font-size: 14px; color: var(--dark); }

/* =====================================================
   21. FAQ ACCORDION
   ===================================================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  text-align: right;
  color: var(--dark);
}
.faq-question i { color: var(--primary); transition: transform 0.35s var(--ease-app); flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-app), padding 0.4s var(--ease-app);
  padding: 0 22px;
}
.faq-item.active .faq-answer { max-height: 400px; padding: 0 22px 20px; }
.faq-answer p { color: var(--gray-600); font-size: 14.5px; line-height: 1.8; }

/* =====================================================
   22. ARTICLES / BLOG GRID
   ===================================================== */
.articles-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.article-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  display: block;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.article-img { overflow: hidden; aspect-ratio: 4/3; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-app); }
.article-card:hover .article-img img { transform: scale(1.1); }
.article-content { padding: 20px; }
.article-content h3, .article-content h4 { font-size: 16px; margin-bottom: 8px; line-height: 1.5; }
.article-content p { font-size: 13.5px; color: var(--gray-600); margin-bottom: 12px; }
.article-header { padding: 20px 20px 0; }
.article-meta { display: flex; gap: 12px; font-size: 12px; color: var(--gray-500); margin-bottom: 8px; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary);
  transition: gap 0.3s;
}
.read-more:hover { gap: 12px; }

.blog-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-content { padding: 22px; }
.blog-card .date { font-size: 12px; color: var(--gray-500); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.5; }
.blog-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 15px; }
.blog-card .read-more { color: var(--primary); font-weight: 700; font-size: 14px; }
.date-icon, .date-info, .date-label, .date-value { display: inline-flex; align-items: center; gap: 6px; }

/* =====================================================
   23. FOOTER
   ===================================================== */
.footer {
  background: radial-gradient(circle at 20% 0%, #123832 0%, var(--dark) 55%);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.5;
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer h3 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
}
.footer p { font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.65); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--primary); transform: translateX(-4px); }
.footer-contact a i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-4px); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.68);
  transition: var(--transition);
}
.footer-links li a i { font-size: 10px; color: var(--primary); }
.footer-links li a:hover { color: #fff; transform: translateX(-4px); }
.footer-disclaimer {
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: right;
}
.footer-disclaimer p {
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.footer-disclaimer i { color: #ffc107; margin-left: 6px; }
.footer-disclaimer strong { color: #ffc107; }

.footer-bottom {
  padding: 22px 0 26px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: var(--primary); font-weight: 700; }

/* =====================================================
   24. FLOATING ACTION BUTTONS + BOTTOM NAV
   ===================================================== */
.float-buttons {
  position: fixed;
  left: 20px;
  bottom: 90px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fab-whatsapp, .fab-call {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: var(--transition);
}
.fab-whatsapp::before, .fab-call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: ringPulse 2s ease-out infinite;
}
.fab-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #25d366;
}
.fab-whatsapp i { color: #fff; position: relative; z-index: 1; }
.fab-call {
  background: var(--grad-brand);
  color: var(--primary);
  animation: pulseCall 2.4s infinite;
}
.fab-call i { color: #fff; position: relative; z-index: 1; }
.fab-whatsapp:hover, .fab-call:hover { transform: scale(1.1) translateY(-3px); }
/* Smart label that expands on hover */
.fab-label {
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  background: rgba(15, 26, 46, 0.88);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s var(--ease-app);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  direction: rtl;
}
.fab-label::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: rgba(15, 26, 46, 0.88);
}
.fab-call:hover .fab-label,
.fab-whatsapp:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
}
/* Show call label by default on desktop with pulse animation */
@media (min-width: 769px) {
  .fab-call .fab-label {
    opacity: 1;
    transform: translateX(0);
    animation: fabLabelPulse 3s ease-in-out infinite;
  }
}
@keyframes fabLabelPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4); }
}

.mobile-bottom-nav, .bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 450;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 -6px 26px rgba(15, 26, 46, 0.08);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gray-600);
  border-radius: 12px;
  transition: var(--transition);
}
.bottom-nav-item i { font-size: 18px; transition: transform 0.3s var(--ease-spring); }
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item:hover i, .bottom-nav-item.active i { transform: translateY(-3px) scale(1.1); }
.bottom-nav-item.call-btn {
  position: relative;
  margin-top: -26px;
}
.bottom-nav-item.call-btn i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.45);
  animation: pulse 2.4s infinite;
}
.bottom-nav-item.call-btn span { color: var(--primary); }

/* =====================================================
   25. BOOKING MODAL (multi-step app dialog)
   ===================================================== */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 18, 0.6);
  backdrop-filter: blur(6px);
  z-index: 980;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-app);
}
.booking-modal-overlay.active { opacity: 1; visibility: visible; }

.booking-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.94);
  width: min(520px, 92vw);
  max-height: 88vh;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-spring);
}
.booking-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.booking-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: var(--grad-brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.booking-modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.6;
}
.booking-modal-header h3 { color: #fff; font-size: 17px; display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.32); transform: rotate(90deg); }

.booking-modal-body { padding: 22px 24px 26px; overflow-y: auto; }

/* Step progress */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}
.booking-steps::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 10%;
  left: 10%;
  height: 3px;
  background: var(--gray-200);
  z-index: 0;
  border-radius: 3px;
}
.booking-steps .step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.step-number, .step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  transition: var(--transition);
  border: 3px solid #fff;
}
.step.active .step-number, .step.active .step-circle {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
  transform: scale(1.1);
}
.step.completed .step-number, .step.completed .step-circle {
  background: var(--success);
  color: #fff;
}
.step-label, .step-name { font-size: 11px; font-weight: 700; color: var(--gray-500); }
.step.active .step-label, .step.active .step-name { color: var(--primary-dark); }
.step-connector { flex: 1; height: 3px; background: var(--gray-200); }

.step-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
}
.step-title i { color: var(--primary); }

.booking-step-content { display: none; animation: fadeIn 0.4s var(--ease-app); }
.booking-step-content.active { display: block; }

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.device-option input { position: absolute; opacity: 0; pointer-events: none; }
.device-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.device-card i { font-size: 22px; color: var(--primary); }
.device-card span { font-size: 12px; font-weight: 700; color: var(--gray-700); }
.device-option:hover .device-card { border-color: var(--primary); transform: translateY(-3px); }
.device-option input:checked + .device-card,
.device-option.selected .device-card {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.2);
}

.brand-grid.brand-grid-with-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  max-height: 340px;
  overflow-y: auto;
  padding: 4px;
}
.brand-option input { position: absolute; opacity: 0; pointer-events: none; }
.brand-card-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  min-height: 84px;
  justify-content: center;
}
.brand-select-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-letter-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.brand-card-select:not(.has-logo) .brand-letter-box { display: flex; }
.brand-card-select span:last-child { font-size: 11px; font-weight: 700; color: var(--gray-700); }
.brand-option:hover .brand-card-select { border-color: var(--primary); transform: translateY(-2px); }
.brand-option input:checked + .brand-card-select,
.brand-option.selected .brand-card-select {
  border-color: var(--primary);
  background: var(--primary-light);
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group label i { color: var(--primary); }
.form-group input, .form-group select, .form-group textarea,
.booking-modal-body input, .booking-modal-body select, .booking-modal-body textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--gray-100);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.booking-modal-body input:focus, .booking-modal-body select:focus, .booking-modal-body textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.step-buttons { display: flex; gap: 12px; margin-top: 6px; }
.step-buttons .btn { flex: 1; }

.booking-success { text-align: center; padding: 10px 4px; }
.success-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #66bb6a, var(--success));
  color: #fff;
  font-size: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  animation: successPulse 1.8s infinite;
}
.booking-success h3 { font-size: 20px; margin-bottom: 6px; }
.booking-success > p { color: var(--gray-600); font-size: 14px; margin-bottom: 20px; }
.booking-number-box {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.booking-number-box span { font-size: 12px; color: var(--gray-600); }
.booking-number-box strong { font-size: 20px; color: var(--primary-dark); letter-spacing: 1px; }
.tracking-info-box { margin-bottom: 20px; text-align: right; }
.tracking-info-box label { display: block; font-size: 12px; font-weight: 700; color: var(--gray-600); margin-bottom: 6px; }
.tracking-link-wrapper { display: flex; gap: 8px; }
.tracking-link-wrapper input {
  flex: 1;
  padding: 11px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 12.5px;
  background: var(--gray-100);
  direction: ltr;
  text-align: left;
}
.tracking-link-wrapper button {
  width: 42px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}
.success-actions { display: flex; flex-direction: column; gap: 10px; }

/* =====================================================
   26. INNER PAGE HERO (page-header) + BREADCRUMB
   ===================================================== */
.page-header, .page-hero {
  position: relative;
  background: var(--grad-brand);
  color: #fff;
  padding: 100px 0 70px;
  text-align: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.page-header::before, .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1), transparent 45%);
}
.page-header::after, .page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
}
.page-header .container, .page-hero .container { position: relative; z-index: 1; }
.page-header h1, .page-header-title, .page-hero h1 {
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 16px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}
.brand-page-header { padding: 90px 0 66px; }
.brand-header-logo {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  padding: 12px;
}
.brand-header-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-header-logo.category-logo-card { color: var(--primary); font-size: 38px; }
.brand-header-logo.category-logo-card i { color: var(--primary); }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 9px 18px;
  border-radius: 100px;
}
.breadcrumb a { color: #fff; font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: 0.7; }
.breadcrumb-item { display: inline-flex; align-items: center; gap: 8px; }

/* Mobile quick actions bar (below page-header) */
.mobile-quick-actions {
  display: none;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}
.quick-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
}
.quick-action-btn.call { background: var(--grad-brand); }
.quick-action-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }

/* =====================================================
   27. CONTENT SECTION / SIDEBAR LAYOUT
   ===================================================== */
.content-section { padding: 54px 0; }
.content-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.content-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.intro-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-700);
  background: var(--primary-light);
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border-right: 4px solid var(--primary);
  margin-bottom: 24px;
}
.card-title { font-size: inherit; }

.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.sidebar-heading {
  font-weight: 800;
  font-size: 15px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gray-200);
  color: var(--dark);
}
.sidebar-brand-logo { text-align: center; margin-bottom: 14px; }
.sidebar-brand-logo img { max-height: 60px; object-fit: contain; margin: 0 auto; }

/* Sidebar links - override footer-links white text for light background */
.sidebar-widget .footer-links li a { color: var(--gray-600); }
.sidebar-widget .footer-links li a:hover { color: var(--primary); }
.sidebar-widget .footer-links li a i { color: var(--primary); }
.sidebar-widget ul:not(.footer-links) li { color: var(--gray-700); font-size: 14px; }
.sidebar-widget ul:not(.footer-links) li strong { color: var(--dark); }

/* Info / steps generic grids (used across inner pages / future templates) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 14px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-card .step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 17px;
  border: none;
}
.step-desc { font-size: 13.5px; color: var(--gray-600); }
.step-info { display: flex; flex-direction: column; gap: 4px; }

/* =====================================================
   28. CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 10px; }
.contact-info > p { color: var(--gray-600); margin-bottom: 24px; }
.contact-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.contact-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.contact-box .icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-box .icon.phone { background: var(--grad-brand); }
.contact-box .icon.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.contact-box .icon.clock { background: linear-gradient(135deg, #ffb300, #ff8f00); }
.contact-box .icon.location { background: linear-gradient(135deg, #ec407a, #ad1457); }
.contact-box h3 { font-size: 14.5px; margin-bottom: 3px; }
.contact-box .value { font-size: 15px; font-weight: 700; color: var(--primary-dark); }

.contact-booking-form {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.booking-form-header {
  background: var(--grad-brand);
  color: #fff;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.booking-form-header h3 { color: #fff; font-size: 17px; }
.booking-form-header i { font-size: 22px; }
.contact-booking-form .booking-modal-body,
.contact-booking-form form { padding: 22px 24px; }
#contactSteps { padding: 22px 24px 0; }

/* =====================================================
   29. FAULTS / ERROR CODES PAGES
   ===================================================== */
.faults-section { margin: 34px 0; }
.faults-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fault-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border-right: 4px solid var(--danger);
  transition: var(--transition);
}
.fault-item:hover { transform: translateX(-4px); box-shadow: var(--shadow-lg); }
.fault-item-title { font-size: 16px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--dark); }
.fault-item-title i { color: var(--danger); }
.fault-item p { font-size: 14px; color: var(--gray-700); margin-bottom: 6px; }

.fault-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  transition: var(--transition);
}
.fault-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.fault-content { display: flex; flex-direction: column; gap: 6px; }
.fault-description, .fault-causes, .fault-solutions, .fault-symptoms, .fault-prevention,
.causes-content, .solutions-content, .symptoms-content, .prevention-content {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--gray-700);
}
.fault-cost { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-light); color: var(--accent); font-weight: 700; padding: 8px 16px; border-radius: 100px; font-size: 13px; }

.faults-list { display: flex; flex-direction: column; gap: 12px; }
.fault-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  transition: var(--transition);
}
.fault-list-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.fault-list-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff7043, #d84315);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.fault-list-content { min-width: 0; }
.fault-list-content h3, .fault-list-content .card-title { font-size: 15px; margin-bottom: 4px; }
.fault-list-content p { font-size: 13px; color: var(--gray-600); margin-bottom: 6px; }
.fault-list-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--primary); }

.related-faults, .related-faults-box, .static-faults, .category-faults {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-top: 24px;
}

.status-content, .status-icon, .status-message-box, .status-note {
  display: block;
}
.status-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* =====================================================
   30. CTA BOXES / SECTIONS
   ===================================================== */
.cta-box {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.cta-box-enhanced {
  background: linear-gradient(135deg, #263a3a, var(--dark));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  text-align: center;
  margin: 34px 0;
  position: relative;
  overflow: hidden;
}
.cta-box-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.6;
}
.cta-box-enhanced > * { position: relative; z-index: 1; }
.cta-box-enhanced h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.cta-box-enhanced p { color: rgba(255, 255, 255, 0.85); margin-bottom: 22px; }

.cta-section {
  background: var(--grad-brand);
  color: #fff;
  text-align: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before { content: ''; position: absolute; inset: 0; background: var(--grad-mesh); }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.cta-section p { opacity: 0.92; margin-bottom: 26px; max-width: 560px; margin-inline: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   31. SHARE BUTTONS
   ===================================================== */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
  padding: 16px 18px;
  background: var(--gray-100);
  border-radius: var(--radius);
}
.share-buttons span { font-size: 13.5px; font-weight: 700; color: var(--gray-700); display: inline-flex; align-items: center; gap: 8px; }
.share-buttons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}
.share-buttons a:hover { transform: translateY(-4px) scale(1.05); }
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-wa { background: #25d366; }
.share-tg { background: #229ed9; }

/* =====================================================
   32. MISC COMPONENTS
   ===================================================== */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.custom-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--dark);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-app);
}
.custom-alert.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.error-page h1 { font-size: 96px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page p { color: var(--gray-600); margin: 12px 0 26px; font-size: 16px; }

.quick-index {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 16px;
  -webkit-overflow-scrolling: touch;
}

/* Order tracking / progress (used by track pages) */
.order-header, .order-details-card, .order-info-content, .order-info-details {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.order-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; font-weight: 700; font-size: 13px; }
.order-number { font-size: 22px; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; }
.progress-step-enhanced { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.progress-step-enhanced .step-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.progress-step-enhanced.done .step-check, .progress-step-enhanced.completed .step-check {
  background: var(--success);
  color: #fff;
}
.progress-step-enhanced.current .step-check {
  background: var(--grad-brand);
  color: #fff;
  animation: currentPulse 2s infinite;
}
@keyframes currentPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); transform: scale(1); }
  50% { box-shadow: 0 4px 25px rgba(var(--primary-rgb), 0.35); transform: scale(1.06); }
}
.completed-icon { color: var(--success); font-size: 40px; }
.completed-info, .completed-cost, .completed-parts, .completed-rating { padding: 10px 0; border-bottom: 1px dashed var(--gray-200); font-size: 14px; }
.scheduled-date-box { background: var(--primary-light); border-radius: var(--radius); padding: 16px; text-align: center; }
.order-cancelled-notice { background: #fff3f3; border: 1px solid #ffcdd2; color: var(--danger); border-radius: var(--radius); padding: 16px; text-align: center; font-weight: 700; }
.order-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.track-search-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); max-width: 480px; margin: 0 auto; }
.track-search-form { display: flex; gap: 10px; }
.track-search-form input { flex: 1; padding: 13px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius); }
.track-error { color: var(--danger); font-size: 13px; margin-top: 8px; }
.track-instructions { color: var(--gray-600); font-size: 13.5px; margin-top: 14px; }

/* =====================================================
   33. SCROLLBAR & SELECTION
   ===================================================== */
::selection { background: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =====================================================
   35. PREMIUM DESIGN ENHANCEMENTS — masryaservices.com
   Unique identity: geometric patterns, wave dividers,
   enhanced cards, trust badges, gradient accents
   ===================================================== */

/* — Decorative wave section dividers — */
.wave-divider {
  position: relative;
  margin: -2px 0;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { display: block; width: 100%; height: auto; }

/* — Trust badges bar (homepage) — */
.trust-bar {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
}
.trust-item .trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.trust-icon.shield { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #2e7d32; }
.trust-icon.parts  { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; }
.trust-icon.speed  { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; }
.trust-icon.cert   { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #c62828; }

/* — Geometric pattern overlay for sections — */
.pattern-bg {
  position: relative;
}
.pattern-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 20% 50%, var(--primary) 1px, transparent 1px),
    radial-gradient(circle at 80% 50%, var(--primary) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* — Enhanced section titles with icon accent — */
.section-title h2 i {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 8px;
}

/* — Gradient border glow cards — */
.glow-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: var(--radius-xl);
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease-app);
}
.glow-card:hover::before { opacity: 1; }

/* — Enhanced hero: diagonal accent stripe — */
.hero .hero-accent-stripe {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 30%;
  height: 140%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}

/* — Animated gradient border on booking CTA — */
.booking-cta-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(224,242,241,0.6));
}

/* — Page header: parallax-style depth, unique pattern — */
.page-header, .page-hero {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 90px 0 60px;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.brand-page-header { padding: 88px 0 58px; }
.brand-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.brand-header-logo img {
  height: 70px;
  max-width: 200px;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.category-logo-card {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  backdrop-filter: blur(10px);
}
.category-logo-card i { font-size: 32px; color: #fff; }

/* — Breadcrumb styling — */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.9;
  margin-top: 8px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* — Mobile quick actions — */
.mobile-quick-actions {
  display: none;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: var(--header-h);
  z-index: 20;
}
.quick-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  transition: var(--transition);
}
.quick-action-btn.call { background: var(--grad-brand); }
.quick-action-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.quick-action-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

/* — Service cards: uniform size on all screens — */
.services-image-grid .service-image-card { aspect-ratio: 3 / 4; }

/* — Unique stat cards (homepage) — */
.stats-section {
  padding: 54px 0;
  background: var(--grad-brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.stat-card .stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 14px;
  opacity: 0.88;
  font-weight: 600;
}

/* — Enhanced content section spacing — */
.content-section { padding: 48px 0 60px; }

/* — Unique card hover lift effect — */
.sidebar-widget {
  transition: var(--transition);
}
.sidebar-widget:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* — Enhanced logo appearance — */
.logo-icon {
  background: var(--grad-brand);
  position: relative;
}
.logo-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
}

/* — Unique footer enhancement — */
.footer .footer-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 18px;
}
.footer .footer-brand-badge .logo-icon {
  width: 38px;
  height: 38px;
  font-size: 16px;
}
.footer .footer-brand-badge span {
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

/* — Print styles — */
@media print {
  .header, .footer, .float-buttons, .mobile-bottom-nav,
  .booking-modal, .booking-modal-overlay, .mobile-menu,
  .mobile-menu-overlay, .top-bar, .mobile-quick-actions { display: none !important; }
  body { padding: 0; }
  .content-main { max-width: 100%; }
}

/* =====================================================
   34. RESPONSIVE BREAKPOINTS
   ===================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 260px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brands-grid, .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .brands-grid-large { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .nav-desktop, .header-nav, .header-call span { display: none; }
  .menu-toggle, .mobile-menu-btn { display: flex; }
  .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .services-image-grid, .services-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid, .areas-page-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .faults-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 46px 0; }
  .top-bar-content { gap: 14px; font-size: 11.5px; justify-content: space-between; }
  .top-bar-content span:nth-child(2) { display: none; }
  .hero { padding: 38px 0 60px; }
  .hero-visual { overflow: hidden; }
  .hero-visual .floating-card.top { left: 2%; }
  .hero-visual .floating-card.bottom { right: 2%; }
  .hero-visual .floating-card { min-width: 160px; padding: 10px 12px; font-size: 12px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .booking-cta-card { padding: 18px; flex-wrap: wrap; }
  .booking-cta-content h2, .booking-cta-content h3 { font-size: 16px; }
  .services-image-grid, .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature-card { padding: 22px 14px; }
  .brands-grid, .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-grid-large { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .areas-grid, .areas-page-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; text-align: center; }
  .footer h3::after { right: 50%; transform: translateX(50%); }
  .footer-contact { align-items: center; flex-direction: row; justify-content: center; gap: 16px; flex-wrap: wrap; }
  .footer-social { justify-content: center; }
  .device-grid, .brand-grid.brand-grid-with-images { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .info-grid { grid-template-columns: 1fr; }
  .page-header, .page-hero { padding: 78px 0 56px; }
  .mobile-quick-actions { display: flex; }
  .mobile-bottom-nav, .bottom-bar { display: flex; }
  .float-buttons { bottom: 82px; left: 14px; }
  .fab-label { display: none; }
  body { padding-bottom: 70px; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 20px; }
  .trust-item { font-size: 13px; }
  .trust-item .trust-icon { width: 40px; height: 40px; font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .services-image-grid, .services-grid,
  .features-grid, .works-grid, .articles-grid, .blog-grid,
  .areas-grid, .areas-page-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid, .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .device-grid, .brand-grid.brand-grid-with-images { grid-template-columns: repeat(2, 1fr); }
  .booking-modal { width: 94vw; max-height: 92vh; }
  .review-card, .common-fault-card { flex-basis: 84vw; }
  .section-title { margin-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
