/* ─── RESPONSIVE DESIGN ─────────────────────────────────────── */
@media (max-width: 900px) {
  #sidebar {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 70px;
    flex-direction: row;
    padding: 0 16px;
    justify-content: space-around;
    align-items: center;
    border-right: none;
    border-top: 1px solid var(--border);
    z-index: 1000;
  }
  #sidebar:hover { width: 100%; }
  .sidebar-logo, .nav-spacer, .nav-status, .nav-label { display: none !important; }
  .nav-item { width: auto; padding: 10px; justify-content: center; }
  .nav-item.active::before {
    width: 60%; height: 3px;
    top: auto; bottom: 0; left: 50%;
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
  }
  #main, .site-footer, #sidebar:hover ~ #main, #sidebar:hover ~ .site-footer {
    margin-left: 0;
  }
  body { padding-bottom: 70px; }
  .section { padding: 60px 0; }
  .hero-title { font-size: 3rem; }
}

@media (max-width: 600px) {
  .grid.two, .grid.three, .projects-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
}