/* PSYCHIZEN RESPONSIVE BREAKPOINTS */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
  }
  
  .footer-emergency-strip {
    padding: 16px 20px;
  }

  .dashboard-wrapper {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Desktop & Tablet Landscape Polish (1180px - 901px) */
@media (max-width: 1180px) and (min-width: 901px) {
  .nav-link {
    padding: 7px 10px;
    font-size: 0.84rem;
  }
  .brand-tagline {
    display: none;
  }
  .header-actions .header-btn-ghost,
  .header-actions .header-btn-outline {
    padding: 0 12px;
    font-size: 0.84rem;
  }
  .header-actions .header-btn-primary {
    padding: 0 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 64px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: var(--space-lg);
    overflow-y: auto;
    z-index: 890;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.open,
  .nav-menu.nav-open {
    display: flex;
    animation: fadeInDown 0.25s ease-out;
  }

  .nav-menu .nav-item {
    width: 100%;
  }

  .nav-menu .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .nav-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(19, 78, 74, 0.08);
    margin: 6px 0 10px;
    background: rgba(240, 248, 246, 0.5);
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions .header-btn-primary span {
    display: none;
  }
  .header-actions .header-btn-primary {
    padding: 8px 12px;
  }
}

@media (max-width: 600px) {
  .crisis-banner {
    font-size: 0.76rem;
    padding: 6px 12px;
  }
  .crisis-inner {
    justify-content: center;
    text-align: center;
  }
  .brand-tagline {
    display: none;
  }
  .header-actions .header-btn-ghost,
  .header-actions .header-btn-outline {
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .provider-card {
    grid-template-columns: 1fr;
  }

  .provider-photo {
    width: 100%;
    height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-emergency-strip {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-emergency-pills {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .emergency-pill {
    width: 100%;
    justify-content: space-between;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mood-chips-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .mood-chip {
    min-width: unset;
    padding: 10px 8px;
  }

  .role-switcher-widget {
    left: 12px;
    bottom: 12px;
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .ai-fab-widget {
    right: 12px;
    bottom: 12px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .mood-chips-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .btn-lg {
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}
