/* ── Announcement Bar ─────────────────────────────────── */
.ann-bar {
  width: 100%;
  background: hsl(0, 0%, 0%);
  padding: 12px 24px;
  position: relative;
  z-index: 60;
}
.ann-bar.hidden { display: none; }
.ann-bar__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ann-bar__text {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.ann-bar__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}
.ann-bar__text a:hover { opacity: 0.75; }
.ann-bar__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
  margin-left: 16px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.ann-bar__close:hover { color: white; }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: hsl(43 20% 90% / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.navbar__logo img {
  width: 32px; height: 32px;
  object-fit: contain;
}
.navbar__logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* Desktop nav links */
.navbar__links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
}
@media (min-width: 1024px) { .navbar__links { display: flex; } }

.navbar__links > li { position: relative; }

.nav-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: hsl(0 0% 0% / 0.7);
  transition: color 0.2s, background 0.2s;
}
.nav-btn:hover, .nav-btn.active {
  color: var(--navy);
  background: hsl(220 60% 25% / 0.06);
}
.nav-btn svg { transition: transform 0.2s; }
.nav-btn.active svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--bg);
  border: 1.5px solid hsl(220 60% 25% / 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 60px hsl(220 70% 8% / 0.15), 0 4px 16px hsl(220 70% 8% / 0.08);
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: calc(100vh - 80px);
}
.nav-dropdown.open { display: flex; }

.nav-dropdown__list { padding: 8px; overflow-y: auto; flex: 1; }

.nav-dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.2s;
}
.nav-dropdown__item:hover { background: hsl(220 60% 25% / 0.05); }
.nav-dropdown__item:hover .nav-dropdown__name { color: var(--navy); }
.nav-dropdown__item:hover .drop-arrow { opacity: 1; }

.nav-dropdown__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  transition: color 0.2s;
}
.nav-dropdown__desc {
  font-size: 12px;
  color: var(--muted-fg);
  margin-top: 2px;
}
.drop-arrow {
  width: 14px; height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--navy);
  opacity: 0;
  transition: opacity 0.2s;
}

.nav-dropdown__footer {
  padding: 8px 12px 12px;
  flex-shrink: 0;
  background: var(--bg);
}
.nav-dropdown__footer-divider {
  height: 1px;
  background: hsl(220 60% 25% / 0.08);
  margin-bottom: 10px;
}
.nav-dropdown__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--navy);
  color: var(--sky);
  transition: opacity 0.2s;
}
.nav-dropdown__cta:hover { opacity: 0.9; }

/* Plain nav links (About, Blog) */
.navbar__plain-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: hsl(0 0% 0% / 0.7);
  transition: color 0.2s;
}
.navbar__plain-link:hover { color: var(--navy); }

/* CTA button */
.navbar__actions { display: flex; align-items: center; gap: 12px; }
.navbar__cta {
  display: none;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: var(--navy);
  color: var(--sky);
  transition: opacity 0.2s;
}
.navbar__cta:hover { opacity: 0.9; }
@media (min-width: 768px) { .navbar__cta { display: block; } }

/* Mobile toggle */
.navbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  color: var(--fg);
  transition: background 0.2s;
}
.navbar__hamburger:hover { background: var(--muted); }
@media (min-width: 1024px) { .navbar__hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu.open { display: block; }

.mobile-menu__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
}

.mobile-menu__group { margin-bottom: 4px; }
.mobile-menu__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: hsl(0 0% 0% / 0.8);
  transition: background 0.2s;
}
.mobile-menu__toggle:hover { background: var(--muted); }
.mobile-menu__toggle svg { transition: transform 0.2s; }
.mobile-menu__toggle.open svg { transform: rotate(180deg); }

.mobile-menu__sub {
  display: none;
  padding-left: 16px;
  padding-bottom: 8px;
}
.mobile-menu__sub.open { display: block; }
.mobile-menu__sub-link {
  display: block;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: hsl(0 0% 0% / 0.7);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu__sub-link:hover { background: var(--muted); color: var(--navy); }

.mobile-menu__bottom {
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 4px;
}
.mobile-menu__plain-link {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: hsl(0 0% 0% / 0.8);
  transition: background 0.2s;
}
.mobile-menu__plain-link:hover { background: var(--muted); }
.mobile-menu__cta-wrap { padding-top: 12px; }
.mobile-menu__cta {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  background: var(--navy);
  color: var(--sky);
}
