/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px) {
  .service-bay-copy { max-width: 680px; padding-bottom: 0; }
  .service-bay-app { min-height: 680px; }
  .car-stage { min-height: 460px; }
  .trust-grid { grid-template-columns: 1fr; }
  .zombie-panel { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 280px; }
}
@media (max-width: 1120px) {
  .nav-wrap { min-height: 66px; }
  .brand { width: 150px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 0; display: none;
    padding: 10px; background: rgba(8,8,8,.98); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-header { background: linear-gradient(180deg, rgba(6,6,6,.92), rgba(6,6,6,.7)); border-bottom-color: rgba(255,255,255,.1); backdrop-filter: blur(12px); }
  .site-nav > a:not(.nav-cta) { padding: 15px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav > a::after { display: none; }
  .nav-cta { margin: 12px; }
}
@media (max-width: 900px) {
  .stage { min-height: auto; padding: 120px 0 40px; }
  .service-bay-stage { padding: 110px 0 54px; }
  .stage-inner, .align-right, .align-center, .align-left { justify-content: center; }
  .panel { width: 100%; backdrop-filter: blur(10px); background: linear-gradient(160deg, rgba(16,16,18,.86), rgba(8,8,9,.8)); }
  .hero-panel { padding: 38px 34px; }
  .mega { font-size: 4.55rem; }
  .service-bay-shell { width: min(100% - 32px, 760px); }
  .service-bay-app { min-height: auto; }
  .bay-topline { flex-direction: column; }
  .bay-topline strong { text-align: left; }
  /* Mobile trades the full car-scan image + floating hover panel for a
     plain button row plus an in-flow work-order card. The car image is
     hidden outright rather than shrunk, per the mobile spec: nothing
     about the desktop hover/image experience is meant to survive here,
     just the same underlying service data. */
  .car-stage {
    position: static;
    min-height: 0;
    margin: 14px 14px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    overflow: visible;
    border-bottom: none;
    background: none;
  }
  .car-scene-stack,
  .car-stage::before,
  .bay-panel-placeholder {
    display: none;
  }
  .car-hotspot {
    position: static;
    width: 100%;
    height: 54px;
    border-radius: 5px;
    transform: none;
  }
  .car-hotspot::before,
  .car-hotspot::after {
    display: none;
  }
  .car-hotspot:hover,
  .car-hotspot:focus-visible,
  .car-hotspot.is-selected {
    transform: none;
    animation: none;
    border-color: var(--yellow);
    background: var(--yellow);
    box-shadow: none;
  }
  .car-hotspot.is-selected span { color: #111; }
  .service-bay-app.is-previewing .car-hotspot:not(.is-selected) {
    opacity: 1;
    filter: none;
    transform: none;
  }
  .bay-panel {
    grid-column: 1 / -1;
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    pointer-events: auto;
    transition: max-height .35s ease;
  }
  .bay-panel.is-open {
    max-height: 900px;
  }
  .bay-panel-card {
    padding: 20px 18px 18px;
    transform: translateY(14px);
  }
  .bay-panel[data-side="left"] .bay-panel-card {
    transform: translateY(14px);
  }
  .bay-panel.is-open .bay-panel-card {
    transform: translateY(0);
  }
  .bay-panel-card::before { display: none; }
  .bay-panel-media { height: 180px; }
  .bay-panel-card h3 { font-size: 1.2rem; }
  .bay-panel-card p { font-size: .88rem; }
  .zombie-panel { grid-template-columns: 1fr; }
  .zombie-photo { min-height: 260px; }
  .zombie-copy { text-align: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  /* Keep the arrow columns (unlike a plain 1fr collapse) so the
     carousel controls stay usable now that they're visible on mobile. */
  .review-shell { grid-template-columns: 34px 1fr 34px; gap: 10px; }
  .diagnostic-grid, .faq-grid, .book-grid { grid-template-columns: 1fr; gap: 26px; }
  .diagnostic-copy { justify-self: stretch; }
  .diagnostic-console { justify-self: stretch; }
  .book-copy { order: 1; justify-self: stretch; }
  .booking-form { order: 2; justify-self: stretch; }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-form, .wizard-step { grid-template-columns: 1fr; }
  .garage-hud { display: none; }
  .quick-actions { display: grid; }
  body { padding-bottom: 54px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .panel { padding: 28px 22px; }
  .hero-panel { padding: 30px 24px; }
  .mega { font-size: 2.95rem; }
  .service-bay-copy .section-title { font-size: 2.25rem; }
  .service-bay-app { margin-inline: -6px; }
  .car-stage { margin: 14px 10px 0; grid-template-columns: repeat(2, 1fr); }
  .car-hotspot { height: 50px; }
  .bay-panel-media { height: 160px; }
  .cta-row .btn { width: 100%; }
  .spec-strip { grid-template-columns: 1fr; gap: 16px; }
  .symptom-grid { grid-template-columns: 1fr; }
  .symptom-btn { min-height: 72px; }
  .wizard-actions { grid-template-columns: 1fr; }
  .map-label { width: min(190px, 54%); right: 12px; padding: 12px; }
}
@media (max-width: 380px) {
  .hero-panel { padding: 28px 20px; }
  .mega { font-size: 2.6rem; }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .bg-photo { animation: none; transform: none !important; }
  .bay-light, .garage-hud::before, .hud-panel::after, .service-bay-app::after { animation: none; }
  #bay-canvas { opacity: .35; }
  .bay-car-state,
  .car-hotspot {
    transition: none;
  }
}
