/* ===================================================================
   ServiceSense AI — Responsive Breakpoints
   Fluid and adaptable across Mobile, Tablet, and Desktop
   =================================================================== */

@media (max-width: 1024px) {
  .results-layout-grid {
    grid-template-columns: 1fr;
  }
  .diag-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .nav-menu {
    display: none; /* Accessible through bottom bar or mobile toggle */
  }
  .header-actions .location-selector span.loc-label {
    display: none;
  }
  .results-header-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .worker-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .worker-stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .analyze-action-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-analyze-submit {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .modal-container {
    max-height: 95vh;
    padding: 0;
  }
  .modal-body {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .tab-pill-group {
    width: 100%;
    overflow-x: auto;
  }
  .diagnostic-card {
    padding: 1.25rem;
  }
  .wizard-box {
    padding: 1.25rem;
  }
  .price-big-range {
    font-size: 1.5rem;
  }
}
