/* ==========================================================================
   KeyShop - Clean, Professional White & Red Theme
   ========================================================================== */

:root {
  /* White & Red Clean Professional Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #dc2626;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Red Accents */
  --primary-red: #dc2626;
  --primary-red-hover: #b91c1c;
  --primary-red-light: #fef2f2;
  --primary-red-border: #fca5a5;
  --primary-red-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);

  --badge-bg: #fee2e2;
  --badge-text: #b91c1c;
  --badge-border: #fca5a5;

  --accent-emerald: #16a34a;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.09);
  --shadow-red: 0 4px 14px rgba(220, 38, 38, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;

  --container-max: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* ==========================================================================
   Top Emergency Red Notification Bar
   ========================================================================== */
.top-emergency-bar {
  background: var(--primary-red);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  text-align: center;
}

.emergency-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.emergency-tag {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  white-space: nowrap;
}

.emergency-phone-link {
  color: #ffffff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

/* Brand Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.15;
  white-space: nowrap;
}

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

.logo-sub {
  font-size: 0.65rem;
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

@media (min-width: 1180px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-red);
  border-radius: 2px;
}

/* Header Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-red {
  background: var(--primary-red);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-red:hover {
  background: var(--primary-red-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

.btn-outline-red {
  background: #ffffff;
  color: var(--primary-red);
  border: 1.5px solid var(--primary-red);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-outline-red:hover {
  background: var(--primary-red-light);
  transform: translateY(-1px);
}

#headerCallBtn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  #headerCallBtn {
    display: none;
  }
}

.btn-outline-gray {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-outline-gray:hover {
  background: var(--bg-secondary);
  border-color: var(--text-primary);
}

.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

@media (min-width: 1180px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-full);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-red);
}

.hero-title {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0f172a;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.4rem;
  }
}

.text-red {
  color: var(--primary-red);
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-red);
}

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

/* Calculator Card in Hero */
.hero-side-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-photo-card {
  height: 230px;
  position: relative;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  background: var(--bg-secondary);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-frame:hover img {
  transform: scale(1.035);
}

.hero-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
  animation: pulseLive 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseLive {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-calculator-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.calc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.calc-step-group {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.calc-field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px var(--primary-red-light);
}

.calc-estimate-result {
  background: var(--bg-secondary);
  border: 1px dashed var(--primary-red-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.25rem 0;
}

.est-details {
  display: flex;
  flex-direction: column;
}

.est-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.est-time {
  font-size: 0.88rem;
  color: var(--accent-emerald);
  font-weight: 700;
  margin-top: 0.15rem;
}

.est-price {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-red);
}

/* ==========================================================================
   Trust / Key Guarantee Badges Strip
   ========================================================================== */
.trust-strip-section {
  padding: 2.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-strip-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem;
}

.trust-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-strip-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-strip-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Services Grid & Detailed Service Cards
   ========================================================================== */
.services-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Service Category Filter Buttons */
.service-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.service-tab-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.service-tab-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.service-tab-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border-top: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary-red);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon-art {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.service-time-badge {
  font-size: 0.75rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.service-feature-item span {
  color: var(--primary-red);
  font-weight: 800;
}

.service-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.service-price-tag {
  display: flex;
  flex-direction: column;
}

.service-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.service-price-value {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-red);
}

/* ==========================================================================
   Car Key & Vehicle Compatibility Checker
   ========================================================================== */
.car-keys-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.car-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.car-brand-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.car-brand-card:hover, .car-brand-card.active {
  border-color: var(--primary-red);
  background: var(--primary-red-light);
  transform: translateY(-2px);
}

.car-brand-icon {
  font-size: 1.75rem;
}

.car-brand-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.car-model-lookup-result {
  margin-top: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary-red);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: fadeInQuick 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInQuick {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lookup-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lookup-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.lookup-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Technology & Precision Machinery Showcase
   ========================================================================== */
.tech-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.tech-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tech-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.tech-card-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.tech-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Booking & Mobile Dispatch Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96) translateY(15px);
  transition: all var(--transition-normal);
  position: relative;
}

.modal-backdrop.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background: var(--border-medium);
}

.modal-content-wrap {
  padding: 2.25rem;
}

/* ==========================================================================
   Floating 24/7 Emergency SOS Action Bar
   ========================================================================== */
.floating-emergency-sos {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-red);
  color: #ffffff;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
  z-index: 95;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.floating-emergency-sos:hover {
  transform: translateY(-2px);
  background: var(--primary-red-hover);
}

/* ==========================================================================
   Shop Location & Hours Grid
   ========================================================================== */
.location-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.location-info-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

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

.loc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Reviews & Testimonials
   ========================================================================== */
.reviews-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-red-border);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
  color: var(--primary-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 1.5rem 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #ffffff;
  padding: 4.5rem 0 2rem;
}

.site-footer h4, .site-footer strong {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.footer-nav-link {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Toast alert */
.global-toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 120;
  pointer-events: none;
}

.global-toast {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--primary-red);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-lg);
  animation: toastSlideIn 0.3s forwards, toastFadeOut 0.3s 2.7s forwards;
  pointer-events: auto;
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastFadeOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Mobile Nav Menu */
.mobile-nav-menu {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-medium);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 49;
  box-shadow: var(--shadow-lg);
  transform: translateY(-120%);
  transition: transform var(--transition-normal);
}

.mobile-nav-menu.open {
  transform: translateY(0);
}

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

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .section-title {
    font-size: 1.95rem;
  }
  .hero-photo-card {
    height: 190px;
  }
  .photo-frame {
    height: 220px !important;
  }
  .featured-media-grid, .tech-showcase-wrap {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

/* ==========================================================================
   Comprehensive Simple & Professional Scroll Animation System
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

/* Base Reveal & Directional Transitions */
.reveal, 
.fade-up,
.fade-in,
.fade-left,
.fade-right,
.fade-scale {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal, .fade-up {
  transform: translateY(28px);
}

.fade-in {
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-32px);
}

.fade-right {
  transform: translateX(32px);
}

.fade-scale {
  transform: scale(0.93);
}

/* Active State */
.reveal.active,
.fade-up.active,
.fade-in.active,
.fade-left.active,
.fade-right.active,
.fade-scale.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger Delays */
.reveal-delay-1, .delay-100 { transition-delay: 0.1s; }
.reveal-delay-2, .delay-200 { transition-delay: 0.2s; }
.reveal-delay-3, .delay-300 { transition-delay: 0.3s; }
.reveal-delay-4, .delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Micro-hover polish for cards */
.service-card, 
.review-card, 
.tech-card, 
.location-info-card, 
.hero-calculator-card, 
.car-brand-card,
.photo-frame {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.review-card:hover, .tech-card:hover, .location-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Floating animation for live badges */
@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-badge-wrap {
  animation: softFloat 4.5s ease-in-out infinite;
}

/* Scroll Progress Bar at Top */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
  z-index: 9999;
  width: 0%;
  transition: width 0.08s ease-out;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.8);
}

/* Call CTA Radiant Pulse */
.pulse-cta, #floatingSosBtn {
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: ctaPulse 2.4s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* Counter Numbers */
.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s ease;
}

/* Emergency Bar Shimmer */
.top-emergency-bar {
  background: linear-gradient(90deg, #dc2626 0%, #b91c1c 50%, #dc2626 100%);
  background-size: 200% 100%;
  animation: shimmerGradient 8s ease infinite;
}

@keyframes shimmerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .fade-up, .fade-in, .fade-left, .fade-right, .fade-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-badge-wrap, .pulse-cta, #floatingSosBtn, .top-emergency-bar {
    animation: none !important;
  }
}
