/*
Theme Name: Bal Repair Luxury Theme
Theme URI: https://balrepair.com/
Author: Bal Repair Team
Author URI: https://balrepair.com/
Description: Ultra-professional, custom luxury WordPress theme in Luxury Gold & Executive Navy Blue for Bal Repair across Dubai, Sharjah, Abu Dhabi, and Ajman.
Version: 2.0.0
Text Domain: balrepair
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-gold: #D4AF37;
  --gold-light: #F5D77F;
  --gold-dark: #AA7C11;
  --gold-gradient: linear-gradient(135deg, #F5D77F 0%, #D4AF37 50%, #AA7C11 100%);
  --navy-dark: #0B132B;
  --navy-card: #1C2541;
  --navy-light: #1F2D5A;
  --navy-hover: #263560;
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --accent-green: #10B981;
  --accent-red: #EF4444;
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-glass: rgba(255, 255, 255, 0.1);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.15);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* UTILITY CLASSES */
.text-gold {
  color: var(--primary-gold) !important;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #0B132B !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* ULTRA-LUXURY SHIMMER BUTTON */
.btn-gold-shimmer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, #D4AF37 0%, #F5D77F 50%, #D4AF37 100%);
  background-size: 200% auto;
  color: #0B132B !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
  transition: all 0.4s ease;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.btn-gold-shimmer:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

/* GLASS CARD ELEVATION & GLOW */
.glass-card-glow {
  background: rgba(28, 37, 65, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-glow:hover {
  border-color: rgba(245, 215, 127, 0.8);
  box-shadow: 0 25px 60px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-6px);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--gold-light) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary-gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

/* TOP HEADER BAR */
.top-bar {
  background: #060B18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  font-size: 0.875rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.status-pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* MAIN NAVIGATION & LOGO */
.main-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box img {
  height: 65px;
  width: auto;
  border-radius: 6px;
  border: 1px solid var(--border-gold);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.logo-text span {
  color: var(--primary-gold);
}

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

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 0;
}

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

/* STANDARD DROPDOWN MENU ELEVATION */
.dropdown-trigger {
  position: relative;
}

.dropdown-trigger:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 275px;
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 10px 0;
  box-shadow: var(--shadow-card);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 999999;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px !important;
  font-size: 0.92rem !important;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light) !important;
}

/* MEGA MENU ELEVATION (z-index: 999999) */
.mega-menu-trigger:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: -460px;
  width: 860px;
  max-width: calc(100vw - 40px);
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 999999;
}

.mega-menu-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.mega-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mega-tab-btn.active, .mega-tab-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

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

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.mega-menu-item:hover {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.08);
}

/* MOBILE TOGGLE & DRAWER */
.hamburger {
  display: none;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary-gold);
  font-size: 1.4rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #060B18;
  padding: 30px 24px 50px;
  overflow-y: auto;
  z-index: 9999999;
  border-top: 1px solid var(--border-gold);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-gold);
}

.mobile-drawer-close {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #FF5555;
  font-size: 1.3rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  transition: all 0.2s ease;
}

.mobile-nav-links a:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--border-gold);
  color: var(--gold-light);
}

/* HERO & VIP DISPATCH CONSOLE */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #0B132B 0%, #101A36 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(11, 19, 43, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -1px;
  margin: 16px 0 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* WHATSAPP LEAD BOOKING CARD */
.booking-card {
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.booking-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(11, 19, 43, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  pointer-events: auto !important;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.whatsapp-btn {
  width: 100%;
  background: #25D366;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  pointer-events: auto !important;
}

.whatsapp-btn:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* FAULT DIAGNOSER TOOL */
.diagnoser-section {
  padding: 80px 0;
  background: var(--navy-dark);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-top: 10px;
}

.diagnoser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.diagnoser-card {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s ease;
  height: 100%;
}

.diagnoser-card:hover, .diagnoser-card.active {
  border-color: var(--primary-gold);
  transform: translateY(-4px);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.18);
}

.diagnoser-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.diagnoser-card:hover {
  transform: translateY(-6px);
}

/* EXECUTIVE SERVICE MATRIX */
.service-matrix-section {
  padding: 80px 0;
  background: #090F22;
}

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

.service-card {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* TIMELINE 4-STEP PROCESS */
.timeline-section {
  padding: 80px 0;
  background: var(--navy-dark);
}

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

.timeline-card {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.25);
  position: absolute;
  top: 16px;
  right: 20px;
}

/* UAE HEATMAP & CITY HUBS */
.heatmap-section {
  padding: 80px 0;
  background: #090F22;
}

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

.city-card {
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.city-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.city-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 10px;
}

/* LIVE REPAIR TICKER */
.ticker-wrap {
  background: rgba(212, 175, 55, 0.08);
  border-y: 1px solid var(--border-gold);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-flex;
  gap: 40px;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--gold-light);
}

/* BRANDS GRID */
.brands-section {
  padding: 60px 0;
  background: var(--navy-dark);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.brand-card {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.brand-card:hover {
  color: var(--primary-gold);
  border-color: var(--border-gold);
}

/* TECHNICIAN PROFILES */
.tech-section {
  padding: 80px 0;
  background: #090F22;
}

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

.tech-card {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.tech-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 16px;
}

/* TESTIMONIALS & BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
}

.blog-thumb {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* FAQ ACCORDION */
.faq-section {
  padding: 80px 0;
  background: var(--navy-dark);
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active {
  border-color: var(--border-gold);
}

/* FOOTER 5-COLUMN GRID */
.site-footer {
  background: #040814;
  border-top: 1px solid var(--border-gold);
  padding: 70px 0 30px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--primary-gold);
}

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

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   ULTRA-RESPONSIVE MOBILE & TABLET BREAKPOINTS (1024px, 992px, 768px, 576px, 375px)
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

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

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

  .hamburger {
    display: block !important;
  }

  .service-grid, .blog-grid, .tech-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
  }

  .diagnoser-grid, .timeline-grid, .city-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }

  /* Diagnostic result box layout */
  #diagnoser-result-box {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #diagnoser-result-box a {
    width: 100%;
    text-align: center;
  }
}

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

  .hero-section {
    padding: 60px 0 80px !important;
  }

  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }

  .hero-sub {
    font-size: 1.05rem !important;
  }

  /* Stack Stats Benchmark Bar vertically on small mobile */
  .hero-section div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .hero-section div[style*="border-left"] {
    border-left: none !important;
    border-top: 1px solid var(--border-glass) !important;
    padding-left: 0 !important;
    padding-top: 14px !important;
  }

  .service-grid, .blog-grid, .tech-grid, .diagnoser-grid, .timeline-grid, .city-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 12px;
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }

  /* Touch targets minimum size */
  button, .btn-gold, .btn-gold-shimmer, .btn-outline-gold, .whatsapp-btn {
    min-height: 48px;
  }

  .nav-container {
    padding: 10px 0 !important;
  }

  .logo-box img {
    height: 44px !important;
  }

  .logo-text {
    font-size: 1.15rem !important;
  }

  .main-header .btn-gold {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
    min-height: 40px !important;
  }

  .hamburger {
    display: block !important;
    font-size: 1.3rem !important;
    padding: 6px 10px !important;
    min-height: 40px !important;
  }

  /* City Response SLA grid on Contact / Location pages */
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem !important;
  }

  .section-header h2 {
    font-size: 1.75rem !important;
  }

  .logo-text {
    font-size: 1.02rem !important;
  }

  .logo-box img {
    height: 38px !important;
  }

  .logo-box {
    gap: 8px !important;
  }

  .main-header .btn-gold {
    padding: 7px 10px !important;
    font-size: 0.8rem !important;
    min-height: 38px !important;
  }

  .glass-card-glow, .booking-card {
    padding: 20px !important;
  }

  .btn-gold-shimmer, .btn-gold {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
  }

  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

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