/* Mobile-first responsive enhancements */
/* Collapse nav into a togglable panel on small screens */
.navbar { position: relative; }
.menu-toggle {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  width: 40px; height: 40px;
  border-radius: .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 .4rem;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: #334155; }

.nav-links {
  display: none;
  gap: .6rem;
  position: absolute;
  top: 64px; left: 0; right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: .5rem 1rem 1rem;
  flex-direction: column;
}
.nav-links.open { display: flex; }

/* Desktop overrides */
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .nav-links { display: flex; position: static; background: transparent; border: 0; padding: 0; flex-direction: row; }
}
