/*
 * public-mobile-nav.css — Mobile hamburger for public/landing pages
 * -----------------------------------------------------------------
 * Shows a hamburger bar below the fixed header on screens <= 768px.
 * Clicking it toggles the nav links vertically.
 * Desktop: completely hidden, no layout impact.
 */

/* ── Hidden on desktop ─────────────────────────────────────────────────── */
.mobile-nav-bar,
.mobile-nav-panel { display: none; }

/* ── Mobile only ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Hide the desktop nav links inside the header */
  .nav-links { display: none !important; }

  /* Hamburger bar — fixed just below the 80px header */
  .mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: fixed; top: 80px; left: 0; right: 0; z-index: 99;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(10,88,176,.10);
    padding: 6px 20px;
  }
  .mobile-nav-toggle {
    display: flex; align-items: center; gap: 8px;
    background: none; border: 1px solid rgba(10,88,176,.14);
    border-radius: 10px; padding: 8px 14px;
    color: #0b1220; font-weight: 700; font-size: 14px;
    cursor: pointer; transition: background .15s;
  }
  .mobile-nav-toggle:hover { background: rgba(10,88,176,.06); }
  .mobile-nav-toggle svg { flex-shrink: 0; }

  /* Expandable panel — sits below the hamburger bar */
  .mobile-nav-panel {
    display: none;
    position: fixed; left: 0; right: 0; z-index: 98;
    top: 124px; /* 80px header + 44px bar */
    background: #fff;
    border-bottom: 1px solid rgba(10,88,176,.12);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    flex-direction: column;
    padding: 8px 16px 12px;
    gap: 2px;
    max-height: 60vh;
    overflow-y: auto;
  }
  .mobile-nav-panel.open { display: flex; }

  .mobile-nav-panel a {
    text-decoration: none; color: #0b1220; font-weight: 700; font-size: 15px;
    padding: 12px 14px; border-radius: 10px;
    transition: background .15s;
  }
  .mobile-nav-panel a:hover { background: #f0f5ff; }
  .mobile-nav-panel a.active { background: #f0f5ff; color: #0a58b0; }
  .mobile-nav-panel .nav-cta {
    margin-top: 6px; text-align: center;
    background: #1b55db; color: #fff !important;
    padding: 12px 22px; border-radius: 10px;
    font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: 1px;
  }
  .mobile-nav-panel .nav-cta:hover { background: #0b3c7a; }
}
