.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: .3rem;
  border: 0; padding: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: .875rem; font-weight: 500; cursor: pointer;
}
.nav-dropdown-trigger span { font-size: .7rem; }
.nav-dropdown-trigger:hover, .nav-dropdown-trigger[aria-expanded="true"] { color: var(--white); }
.nav-dropdown-trigger:focus-visible, .nav-dropdown-menu a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: rgba(12,12,22,.98); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: .5rem; min-width: 290px;
  z-index: 200; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.nav-dropdown-menu[hidden] { display: none; }
/* Keep the pointer inside the dropdown while it crosses the visual gap. */
.nav-dropdown-menu::before { content: ''; position: absolute; inset: -15px 0 auto; height: 15px; }
.nav-dropdown-menu a { display: flex; flex-direction: column; padding: .65rem .9rem; border-radius: 8px; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: rgba(255,255,255,.06); }
.dd-title { font-size: .88rem; font-weight: 600; color: var(--white); }
.dd-sub { font-size: .74rem; color: var(--muted); margin-top: .12rem; }

@media (min-width: 769px) and (max-width: 900px) {
  .nav-links { gap: 16px; }
  .nav-phone { display: none; }
}
