/* ==========================================================================
   Ali Obaid Saleem Key Shop — Complete Stylesheet v3.2
   Professional White & Red Locksmith Theme — Dubai UAE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Red Palette)
   -------------------------------------------------------------------------- */
:root {
  --primary-accent: #dc2626;
  --primary-hover: #b91c1c;
  --primary-dark: #991b1b;
  --primary-light: #ef4444;
  --primary-lighter: #fca5a5;
  --primary-subtle: rgba(220, 38, 38, 0.08);
  --primary-glow: rgba(220, 38, 38, 0.25);
  --accent-emerald: #22c55e;
  --accent-emerald-dark: #16a34a;
  --accent-gold: #f59e0b;
  --accent-blue: #3b82f6;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-secondary: #1e293b;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  --text-accent: #dc2626;
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-strong: #94a3b8;
  --border-accent: rgba(220, 38, 38, 0.3);
  --badge-bg: rgba(220, 38, 38, 0.1);
  --badge-text: #dc2626;
  --badge-border: rgba(220, 38, 38, 0.25);
  --container-max: 1200px;
  --header-height: 72px;
  --emergency-bar-height: 40px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-red: 0 4px 14px rgba(220, 38, 38, 0.25);
  --shadow-red-lg: 0 8px 30px rgba(220, 38, 38, 0.35);
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'DM Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-toast: 600;
  --z-emergency: 700;
}

/* --------------------------------------------------------------------------
   2. CSS RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; color: var(--text-primary); }
p { margin-bottom: 0; }
strong { font-weight: 700; }
::selection { background: var(--primary-accent); color: var(--text-inverse); }
:focus-visible { outline: 2px solid var(--primary-accent); outline-offset: 2px; }

/* Typography */
.text-accent { color: var(--primary-accent); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-emerald { color: var(--accent-emerald); }
.font-heading { font-family: var(--font-heading); }
.font-display { font-family: var(--font-display); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}


/* --------------------------------------------------------------------------
   5. BUTTONS & CTAs
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--primary-accent);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary-accent);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red-lg);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { flex-shrink: 0; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-medium);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  background: var(--primary-subtle);
}
.btn-outline svg { flex-shrink: 0; }

.btn-outline-gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-base);
}
.btn-outline-gray:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-base);
}
.icon-btn:hover {
  background: var(--primary-subtle);
  border-color: var(--border-accent);
  color: var(--primary-accent);
}

.pulse-cta {
  position: relative;
  animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}


/* --------------------------------------------------------------------------
   6. SCROLL PROGRESS BAR
   -------------------------------------------------------------------------- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-accent), var(--primary-light));
  z-index: calc(var(--z-emergency) + 1);
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--primary-glow);
}


/* --------------------------------------------------------------------------
   7. TOP EMERGENCY BAR
   -------------------------------------------------------------------------- */
.top-emergency-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-accent) 50%, var(--primary-dark) 100%);
  background-size: 200% 100%;
  animation: shimmerBar 4s ease-in-out infinite;
  color: var(--text-inverse);
  font-size: 0.78rem;
  font-weight: 600;
  position: relative;
  z-index: var(--z-sticky);
  overflow: hidden;
}
@keyframes shimmerBar {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.top-emergency-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: shimmerSlide 3s ease-in-out infinite;
}
@keyframes shimmerSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.emergency-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.emergency-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}
.emergency-bar-content > span:not(.emergency-tag) {
  flex: 1;
  text-align: center;
  opacity: 0.95;
}
.emergency-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.78rem;
  transition: all var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
}
.emergency-phone-link:hover {
  background: #ffffff;
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}


/* --------------------------------------------------------------------------
   8. SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-height);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  transition: opacity var(--transition-base);
}
.logo:hover { opacity: 0.85; }
.logo-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-accent);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-red);
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.2;
}
.logo-text span { color: var(--primary-accent); }
.logo-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
@media (min-width: 1100px) {
  .nav-links { display: flex; }
}
.nav-link {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--primary-accent);
  background: var(--primary-subtle);
}
.nav-link.active {
  color: var(--primary-accent);
  background: var(--badge-bg);
  font-weight: 700;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-actions .btn-primary { display: none; }
@media (min-width: 768px) {
  .nav-actions .btn-primary { display: inline-flex; }
}
.mobile-menu-btn { display: flex; }
@media (min-width: 1100px) {
  .mobile-menu-btn { display: none; }
}


/* --------------------------------------------------------------------------
   9. MOBILE NAV DRAWER
   -------------------------------------------------------------------------- */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.mobile-nav-backdrop.open { opacity: 1; }
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-primary);
  z-index: var(--z-modal);
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.mobile-nav-drawer.open { transform: translateX(0); }
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}
.mobile-drawer-close:hover {
  background: var(--primary-subtle);
  color: var(--primary-accent);
}
.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}
.mobile-drawer-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--badge-text);
  margin-bottom: 1.25rem;
}
.badge-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: livePulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: all var(--transition-base);
}
.mobile-nav-link:hover {
  background: var(--primary-subtle);
  color: var(--primary-accent);
}
.mobile-nav-link span:first-child { font-size: 1.1rem; }
.mobile-drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   10. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 3rem 0 4rem;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 40%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}
.hero-content { position: relative; z-index: 1; }
.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--badge-text);
  margin-bottom: 1.25rem;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-accent);
  animation: livePulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-title {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 540px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 480px) {
  .hero-stats-row { grid-template-columns: repeat(4, 1fr); }
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}
.hero-stat-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 900;
  color: var(--primary-accent);
  white-space: nowrap;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}
.hero-side-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.hero-thumb-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}
.hero-thumb-btn:hover {
  border-color: var(--border-accent);
  color: var(--primary-accent);
  background: var(--primary-subtle);
}
.hero-thumb-btn.active {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-red);
}
.hero-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}
.hero-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-frame:hover img { transform: scale(1.03); }
.hero-photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-inverse);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}


/* --------------------------------------------------------------------------
   11. HERO CALCULATOR CARD
   -------------------------------------------------------------------------- */
.hero-calculator-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
}
.calc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}
.calc-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
}
.calc-step-group { margin-bottom: 1rem; }
.calc-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.calc-select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}
.calc-select:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.calc-estimate-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.est-details { display: flex; flex-direction: column; gap: 0.25rem; }
.est-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-primary);
}
.est-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.est-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--primary-accent);
  white-space: nowrap;
}
.calc-action-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.calc-action-row .btn-primary { flex: 1; min-width: 140px; }
.calc-action-row .btn-outline { flex-shrink: 0; }


/* --------------------------------------------------------------------------
   12. PILLARS SECTION
   -------------------------------------------------------------------------- */
.pillars-section {
  padding: 3.5rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}
.pillar-card {
  padding: 2rem 1.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-accent);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}
.pillar-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.pillar-card:hover::before { transform: scaleY(1); }
.pillar-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-lighter);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}
.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* --------------------------------------------------------------------------
   13. OFFER SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.offer-showcase-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}
.offer-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .offer-showcase-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}
.offer-showcase-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.offer-showcase-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offer-content h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.offer-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.section-tag {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}
.offer-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.offer-feature-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.offer-feature-item span {
  color: var(--accent-emerald);
  font-weight: 900;
}


/* --------------------------------------------------------------------------
   14. TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip-section {
  padding: 2.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.trust-strip-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .trust-strip-wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .trust-strip-wrap { grid-template-columns: repeat(4, 1fr); }
}
.trust-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}
.trust-strip-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.trust-strip-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  border-radius: var(--radius-sm);
}
.trust-strip-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.trust-strip-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}


/* --------------------------------------------------------------------------
   15. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  padding: 4.5rem 0;
  background: var(--bg-primary);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}
.service-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.service-tab-btn {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.service-tab-btn:hover {
  border-color: var(--border-accent);
  color: var(--primary-accent);
  background: var(--primary-subtle);
}
.service-tab-btn.active {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-red);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}
.service-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img-wrap img { transform: scale(1.05); }
.service-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.service-icon-art {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  border-radius: var(--radius-sm);
}
.service-time-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.service-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  line-height: 1.35;
}
.service-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.service-feature-item span {
  color: var(--accent-emerald);
  font-weight: 900;
  flex-shrink: 0;
}
.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.service-price-tag { display: flex; flex-direction: column; gap: 0.1rem; }
.service-price-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.service-price-value {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-accent);
}


/* --------------------------------------------------------------------------
   16. VISUAL GALLERY / BENTO GRID
   -------------------------------------------------------------------------- */
.visual-gallery-section {
  padding: 4.5rem 0;
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.visual-gallery-section .section-title { color: var(--text-inverse); }
.visual-gallery-section .section-desc { color: rgba(255, 255, 255, 0.65); }
.bento-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  grid-auto-rows: minmax(180px, auto);
}
.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
}
.bento-item:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
  transition: transform 0.4s ease;
}
.bento-item:hover img { transform: scale(1.06); }
.bento-col-8 { grid-column: span 12; }
.bento-col-4 { grid-column: span 12; }
.bento-col-4-sm { grid-column: span 12; }
.bento-col-4-sm-alt { grid-column: span 12; }
.bento-col-6 { grid-column: span 12; }
@media (min-width: 768px) {
  .bento-col-8 { grid-column: span 8; }
  .bento-col-4 { grid-column: span 4; }
  .bento-col-4-sm { grid-column: span 4; }
  .bento-col-4-sm-alt { grid-column: span 4; }
  .bento-col-6 { grid-column: span 6; }
}
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.bento-item:hover .bento-overlay { opacity: 1; }
.bento-tag {
  display: inline-block;
  background: var(--primary-accent);
  color: var(--text-inverse);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: fit-content;
}
.bento-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-inverse);
  margin-bottom: 0.25rem;
}
.bento-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}


/* --------------------------------------------------------------------------
   17. URGENT CTA BANNER
   -------------------------------------------------------------------------- */
.urgent-cta-banner {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-accent) 50%, var(--primary-hover) 100%);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}
.urgent-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.urgent-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .urgent-cta-wrap {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}
.urgent-cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-inverse);
  margin-bottom: 0.65rem;
}
.urgent-cta-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.65;
  max-width: 560px;
}
.urgent-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  flex-shrink: 0;
}
.urgent-cta-actions .btn-primary {
  background: var(--text-inverse);
  color: var(--primary-dark);
  border-color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.urgent-cta-actions .btn-primary:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}
.urgent-cta-actions .btn-outline {
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, 0.5);
}
.urgent-cta-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-inverse);
  color: var(--text-inverse);
}


/* --------------------------------------------------------------------------
   18. CAR KEYS SECTION
   -------------------------------------------------------------------------- */
.car-keys-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
}
.featured-media-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.featured-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .featured-media-grid { grid-template-columns: 1fr 1.2fr; }
}
.car-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 640px) {
  .car-brands-grid { grid-template-columns: repeat(4, 1fr); }
}
.car-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0.75rem;
  background: var(--bg-primary);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}
.car-brand-card:hover {
  border-color: var(--border-accent);
  background: var(--primary-subtle);
  transform: translateY(-2px);
}
.car-brand-card.active {
  border-color: var(--primary-accent);
  background: var(--badge-bg);
  box-shadow: var(--shadow-red);
}
.car-brand-icon { font-size: 1.75rem; }
.car-brand-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.car-model-lookup-result {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .car-model-lookup-result {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.lookup-info { flex: 1; min-width: 0; }
.lookup-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
}
.lookup-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.lookup-action-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .lookup-action-wrap { align-items: flex-end; }
}
.lookup-price-block { text-align: left; }
@media (min-width: 768px) {
  .lookup-price-block { text-align: right; }
}
.lookup-call-btn { white-space: nowrap; }


/* --------------------------------------------------------------------------
   19. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why-choose-section {
  padding: 4.5rem 0;
  background: var(--bg-primary);
}
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-card {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}
.why-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.why-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
}
.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   20. STORIES SECTION
   -------------------------------------------------------------------------- */
.stories-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
}
.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
}
.story-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}
.story-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.story-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.story-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.story-card:hover .story-image-wrap img { transform: scale(1.05); }
.story-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-accent);
  color: var(--text-inverse);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.story-content { padding: 1.5rem; }
.story-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.story-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.story-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}


/* --------------------------------------------------------------------------
   21. LOCATION SECTION
   -------------------------------------------------------------------------- */
.location-section {
  padding: 4.5rem 0;
  background: var(--bg-primary);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .location-grid { grid-template-columns: 1fr 1fr; }
}
.location-info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.loc-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.location-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.location-dispatch-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.location-dispatch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}
.location-dispatch-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.location-map-card {
  margin-top: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-card-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}


/* --------------------------------------------------------------------------
   22. TECHNOLOGY SECTION
   -------------------------------------------------------------------------- */
.tech-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
}
.tech-showcase-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .tech-showcase-wrap { grid-template-columns: 1fr 1fr; }
}
.tech-features-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
}
.tech-card {
  padding: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}
.tech-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.tech-icon-wrap {
  font-size: 1.75rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
}
.tech-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}
.tech-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}


/* --------------------------------------------------------------------------
   23. REVIEWS SECTION
   -------------------------------------------------------------------------- */
.reviews-section {
  padding: 4.5rem 0;
  background: var(--bg-primary);
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  min-height: 240px;
}
.review-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.review-stars {
  color: var(--accent-gold);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}


/* --------------------------------------------------------------------------
   24. FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
}
.faq-container { max-width: 780px; margin: 0 auto; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}
.faq-item:hover { border-color: var(--border-accent); }
.faq-item.active {
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-sm);
}
.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--transition-base);
}
.faq-question-btn:hover { color: var(--primary-accent); }
.faq-icon-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}
.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
  color: var(--primary-accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.35rem 1.15rem;
}
.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* --------------------------------------------------------------------------
   25. MODALS
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: var(--z-modal-backdrop);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-backdrop.open { opacity: 1; }
.modal-container {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s ease;
}
.modal-backdrop.open .modal-container {
  transform: scale(1) translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 1;
  transition: all var(--transition-base);
}
.modal-close-btn:hover {
  background: var(--primary-subtle);
  color: var(--primary-accent);
}
.modal-content-wrap { padding: 2rem 1.75rem; }


/* --------------------------------------------------------------------------
   26. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer-brand { max-width: 320px; }
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-inverse);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-nav-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}
.footer-nav-link:hover { color: var(--primary-light); }
.footer-nav-list span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* --------------------------------------------------------------------------
   27. FLOATING EMERGENCY SOS
   -------------------------------------------------------------------------- */
.floating-emergency-sos {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: var(--z-emergency);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  background: var(--primary-accent);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red-lg);
  transition: all var(--transition-base);
  animation: sosPulse 2.5s ease-in-out infinite;
}
.floating-emergency-sos:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
  box-shadow: 0 8px 35px rgba(220, 38, 38, 0.5);
}
@keyframes sosPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(220, 38, 38, 0.6), 0 0 0 8px rgba(220, 38, 38, 0.1); }
}


/* --------------------------------------------------------------------------
   28. LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox-modal.active { opacity: 1; }
.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.lightbox-modal.active .lightbox-content { transform: scale(1); }
.lightbox-close-btn {
  position: absolute;
  top: -44px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-inverse);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lightbox-close-btn:hover {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
}
.lightbox-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.lightbox-img-wrap img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: var(--bg-dark);
}
.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-inverse);
}
.lightbox-caption h4 {
  font-size: 1.15rem;
  color: var(--text-inverse);
  margin-bottom: 0.35rem;
}
.lightbox-caption p {
  font-size: 0.88rem;
  opacity: 0.75;
  line-height: 1.55;
}


/* --------------------------------------------------------------------------
   29. GLOBAL TOAST
   -------------------------------------------------------------------------- */
.global-toast-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.global-toast {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toastSlideIn 0.3s ease, toastFadeOut 0.3s ease 2.7s forwards;
  pointer-events: auto;
  max-width: 320px;
}
@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastFadeOut {
  from { opacity: 1; }
  to { opacity: 0; transform: translateY(10px); }
}


/* --------------------------------------------------------------------------
   30. SCROLL REVEAL & ANIMATION SYSTEM
   -------------------------------------------------------------------------- */
.reveal,
.fade-up,
.fade-in,
.fade-left,
.fade-right,
.fade-scale {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal { transform: translateY(24px); }
.fade-up { transform: translateY(30px); }
.fade-in { transform: none; }
.fade-left { transform: translateX(-30px); }
.fade-right { transform: translateX(30px); }
.fade-scale { transform: scale(0.92); }
.reveal.active,
.fade-up.active,
.fade-in.active,
.fade-left.active,
.fade-right.active,
.fade-scale.active {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}


/* --------------------------------------------------------------------------
   31. COMPREHENSIVE RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  :root { --container-max: 1280px; }
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2.5rem; }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .nav-link { padding: 0.45rem 0.6rem; font-size: 0.8rem; }
}

/* Tablet Landscape (992px - 1099px) */
@media (max-width: 1099px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .hero-section { padding: 2.5rem 0 3rem; }
  .pillars-section { padding: 2.5rem 0; }
  .offer-showcase-section { padding: 3rem 0; }
  .services-section { padding: 3.5rem 0; }
  .visual-gallery-section { padding: 3.5rem 0; }
  .car-keys-section { padding: 3.5rem 0; }
  .why-choose-section { padding: 3.5rem 0; }
  .stories-section { padding: 3.5rem 0; }
  .location-section { padding: 3.5rem 0; }
  .tech-section { padding: 3.5rem 0; }
  .reviews-section { padding: 3.5rem 0; }
  .faq-section { padding: 3.5rem 0; }
  .urgent-cta-banner { padding: 2.5rem 0; }
  .bento-gallery-grid { grid-auto-rows: minmax(160px, auto); }
}

/* Mobile Landscape / Small Tablet (640px - 767px) */
@media (max-width: 767px) {
  :root { --header-height: 64px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline { width: 100%; justify-content: center; }
  .calc-action-row { flex-direction: column; }
  .calc-action-row .btn-primary,
  .calc-action-row .btn-outline { width: 100%; justify-content: center; }
  .offer-features-grid { grid-template-columns: 1fr; }
  .service-nav-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
  .service-tab-btn { flex-shrink: 0; }
  .urgent-cta-actions { width: 100%; justify-content: center; }
  .urgent-cta-actions .btn-primary,
  .urgent-cta-actions .btn-outline { flex: 1; justify-content: center; min-width: 140px; }
  .location-btn-row { flex-direction: column; }
  .location-btn-row .btn-primary,
  .location-btn-row .btn-outline { width: 100%; justify-content: center; }
  .footer-grid { gap: 2rem; }
  .global-toast-container { left: 1rem; right: 1rem; bottom: 80px; }
  .global-toast { max-width: 100%; }
}

/* Mobile Portrait (480px - 639px) */
@media (max-width: 639px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .hero-section { padding: 2rem 0 2.5rem; }
  .hero-gallery-controls { gap: 0.35rem; }
  .hero-thumb-btn { font-size: 0.68rem; padding: 0.35rem 0.6rem; }
  .hero-calculator-card { padding: 1.15rem; }
  .pillar-card { padding: 1.5rem 1.25rem; }
  .service-card-body { padding: 1.15rem; }
  .service-card-img-wrap { height: 180px; }
  .featured-media-card { padding: 1.15rem; }
  .car-brands-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .car-brand-card { padding: 0.85rem 0.5rem; }
  .why-card { padding: 1.5rem; }
  .story-image-wrap { height: 180px; }
  .story-content { padding: 1.25rem; }
  .location-info-card { padding: 1.35rem; }
  .tech-showcase-wrap { padding: 1.15rem; }
  .tech-features-mini-grid { grid-template-columns: 1fr; }
  .review-card { padding: 1.25rem; min-height: auto; }
  .faq-question-btn { padding: 1rem 1.15rem; font-size: 0.88rem; }
  .modal-content-wrap { padding: 1.5rem 1.25rem; }
  .site-footer { padding: 2.5rem 0 0; }
  .floating-emergency-sos { font-size: 0.78rem; padding: 0.65rem 1rem; }
}

/* Small Mobile (max 479px) */
@media (max-width: 479px) {
  .hero-title { font-size: 1.65rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stat-item { padding: 0.65rem; }
  .section-title { font-size: 1.55rem; }
  .section-desc { font-size: 0.88rem; }
  .offer-content h2 { font-size: 1.45rem; }
  .trust-strip-item { padding: 0.85rem; }
  .trust-strip-icon { width: 38px; height: 38px; font-size: 1.25rem; }
  .bento-overlay { opacity: 1; padding: 1rem; }
  .bento-title { font-size: 0.92rem; }
  .urgent-cta-content h2 { font-size: 1.35rem; }
  .car-model-lookup-result { padding: 1.15rem; }
  .lookup-action-wrap { width: 100%; }
  .lookup-call-btn { width: 100%; justify-content: center; }
  .map-card-header { padding: 1rem; }
  .lightbox-modal { padding: 1rem; }
  .lightbox-close-btn { top: -40px; }
}

/* Extra Small Mobile (max 359px) */
@media (max-width: 359px) {
  .hero-thumb-btn { font-size: 0.62rem; padding: 0.3rem 0.5rem; }
  .logo-text { font-size: 0.92rem; }
  .nav-actions .btn-primary { display: none; }
  .service-tab-btn { font-size: 0.75rem; padding: 0.4rem 0.75rem; }
  .car-brand-name { font-size: 0.72rem; }
}

/* Print Styles */
@media print {
  .top-emergency-bar,
  .site-header,
  .floating-emergency-sos,
  .mobile-nav-backdrop,
  .mobile-nav-drawer,
  .modal-backdrop,
  .lightbox-modal,
  .global-toast-container,
  .scroll-progress-bar { display: none !important; }
  body { color: #000; background: #fff; }
  .hero-section { padding: 1rem 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .fade-up, .fade-in, .fade-left, .fade-right, .fade-scale {
    opacity: 1;
    transform: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --border-subtle: #666;
    --border-medium: #444;
    --text-secondary: #222;
  }
  .btn-primary { border-width: 3px; }
  .service-card, .story-card, .review-card { border-width: 2px; }
}

/* Dark Mode Preference (subtle adjustments) */
@media (prefers-color-scheme: dark) {
  /* Site uses light theme by design; no dark mode override */
}

/* Hover capability detection */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .story-card:hover,
  .review-card:hover,
  .tech-card:hover,
  .pillar-card:hover,
  .why-card:hover,
  .trust-strip-item:hover,
  .bento-item:hover { transform: none; }
  .bento-overlay { opacity: 1; }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section { padding: 1.5rem 0; }
  .mobile-nav-drawer { width: min(300px, 70vw); }
  .floating-emergency-sos { bottom: 10px; right: 10px; }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
  .floating-emergency-sos {
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(20px, env(safe-area-inset-right));
  }
  .mobile-nav-drawer {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-drawer-footer {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}


/* Responsive Fixes — Mobile & Tablet Overflow Prevention */
main, section, article, header, footer, .container { max-width: 100%; min-width: 0; }
[class*="-grid"] > *, .hero-content, .hero-side-column, .nav-container,
.trust-strip-item > div:last-child, .location-detail-item > div:last-child { min-width: 0; }
.hero-badge-wrap { flex-wrap: wrap; max-width: 100%; }
.nav-container { min-width: 0; }
@media (max-width: 640px) {
  .site-header .logo { flex-shrink: 1; min-width: 0; max-width: calc(100% - 50px); }
  .site-header .logo > div:last-child { min-width: 0; overflow: hidden; }
  .site-header .logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }
  .site-header .logo-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .emergency-bar-content > span:not(.emergency-tag) { display: none; }
  .emergency-bar-content { justify-content: center; }
  .emergency-phone-link { width: 100%; justify-content: center; }
}
@media (max-width: 400px) { .site-header .logo-sub { display: none; } }
@media (max-width: 540px) {
  .service-card-footer { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .service-card-footer .btn-primary, .service-card-footer a.btn-primary, .service-card-footer button.btn-primary { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .calc-card-header { flex-direction: column; align-items: flex-start; }
  .calc-card-title { font-size: 1rem; line-height: 1.35; }
  .featured-media-card .photo-frame { height: clamp(180px, 45vw, 280px) !important; }
  .location-dispatch-header { flex-wrap: wrap; gap: 0.5rem; }
  .location-dispatch-header h4 { font-size: clamp(1rem, 3.5vw, 1.15rem); line-height: 1.3; }
  .reviews-section .hero-badge-wrap { white-space: normal; text-align: center; justify-content: center; font-size: 0.72rem; }
  .footer-bottom > div:last-child { flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.75rem; }
}
@media (max-width: 480px) {
  .floating-emergency-sos { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; bottom: 12px; right: 12px; }
  .floating-emergency-sos span { display: none; }
  .stat-num { white-space: normal; font-size: clamp(1rem, 4.5vw, 1.2rem); }
  .hero-stats-row { gap: 0.65rem 0.75rem; }
  .trust-strip-title, .trust-strip-desc { word-break: break-word; }
  .map-card-header { flex-direction: column; align-items: flex-start !important; }
  .map-card-header .btn-outline { width: 100%; justify-content: center; }
}
@media (max-width: 360px) {
  .hero-stats-row { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .stat-label { font-size: 0.68rem; }
}
