@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .nav-inner { padding: 10px 12px; }
  .brand span { display: none; }
  .nav-actions .btn { display: none; }
  .page { padding: 16px 12px 24px; }
  .hero { padding: 28px 0 16px; }
  .grid-2, .grid-3, .grid-4, .form-row.two { grid-template-columns: 1fr; }
  .section { margin-top: 24px; }
  .section-head { display: block; }
  .bottom-nav { bottom: 8px; width: calc(100vw - 16px); border-radius: 18px; }
  .chat-fab { right: 12px; bottom: calc(var(--bottom-nav-height) + 20px); }
  .chat-panel { right: 8px; width: calc(100vw - 16px); }
  .stat-card strong { font-size: 20px; }
  body { padding-bottom: calc(var(--bottom-nav-height) + 32px); }
}

@media (max-width: 380px) {
  .brand strong { font-size: 13px; }
  .bottom-nav { padding: 6px; }
  .bottom-nav a { font-size: 10px; }
  .hero-actions .btn { width: 100%; }
}
