/* ─── VISAPATH PRO NAV ─── */
* { box-sizing: border-box; }

/* ── ANNOUNCEMENT BAR ── */
.nav-announcement {
  background: #EF9F27;
  color: #042C53;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 2.5rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1003;
  letter-spacing: 0.01em;
}
.nav-announcement a {
  color: #042C53;
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 800;
}
.nav-announcement-close {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: rgba(4,44,83,0.15);
  border: none; cursor: pointer;
  font-size: 16px; color: #042C53;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.nav-announcement-close:hover { background: rgba(4,44,83,0.3); }

/* ── MAIN NAVBAR ── */
.navbar {
  position: fixed;
  top: 34px; left: 0; right: 0;
  height: 62px;
  background: #042C53;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1002;
  gap: 8px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar.no-banner { top: 0 !important; }

/* ── BRAND ── */
.nav-brand {
  display: flex; align-items: center;
  gap: 10px; text-decoration: none; flex-shrink: 0;
}
.nav-logo { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.nav-brand-text .name {
  font-size: 16px; font-weight: 800;
  color: white; display: block;
  line-height: 1.2; white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-brand-text .tagline {
  font-size: 9px; color: rgba(255,255,255,0.45);
  display: block; white-space: nowrap;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ── NAV LINKS ── */
.nav-links {
  display: flex; align-items: center;
  gap: 2px; list-style: none;
  flex: 1; overflow-x: auto;
  scrollbar-width: none;
  padding: 0 8px; min-width: 0;
  justify-content: center;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links > li { flex-shrink: 0; }
.nav-links > li > a {
  display: block; text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-size: 13px; font-weight: 600;
  padding: 6px 10px; border-radius: 8px;
  transition: all 0.15s; white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-links > li > a:hover {
  color: white;
  background: rgba(255,255,255,0.12);
}
.nav-links > li > a.active {
  color: white;
  background: rgba(255,255,255,0.15);
  font-weight: 700;
}

/* ── NAV CTA ── */
.nav-cta {
  display: flex; align-items: center;
  gap: 8px; flex-shrink: 0;
}
.nav-price {
  font-size: 11px; font-weight: 800;
  color: #27500A; background: #C8E6A0;
  padding: 5px 12px; border-radius: 999px;
  white-space: nowrap; letter-spacing: 0.01em;
}
.nav-signin {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 6px 12px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.25);
  white-space: nowrap; transition: all 0.15s;
  flex-shrink: 0;
}
.nav-signin:hover {
  color: white;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}
.nav-cta-btn {
  background: #EF9F27;
  color: #042C53;
  font-size: 13px; font-weight: 800;
  padding: 8px 18px; border-radius: 8px;
  text-decoration: none; white-space: nowrap;
  transition: all 0.15s; flex-shrink: 0;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(239,159,39,0.4);
}
.nav-cta-btn:hover {
  background: #FAC775;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(239,159,39,0.5);
}

/* ── SECOND ROW — PILLS ── */
.nav-row2 {
  position: fixed;
  top: 96px; left: 0; right: 0;
  height: 42px;
  background: #031E3A;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center;
  padding: 0 1.5rem;
  gap: 4px;
  z-index: 1001;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-row2::-webkit-scrollbar { display: none; }
.nav-row2.no-banner { top: 62px !important; }

.nav-row2 a {
  display: flex; align-items: center;
  gap: 4px; text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.15s; white-space: nowrap;
  border: 1.5px solid transparent;
  flex-shrink: 0;
  letter-spacing: 0em;
}
.nav-row2 a:hover {
  color: white;
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
}
.nav-row2 a.active {
  color: #EF9F27;
  font-weight: 700;
  background: rgba(239,159,39,0.12);
  border-color: rgba(239,159,39,0.4);
}
.nav-row2 a.wa-pill {
  color: #4ADE80;
  background: rgba(74,222,128,0.08);
  border-color: rgba(74,222,128,0.25);
  font-weight: 700;
}
.nav-row2 a.wa-pill:hover {
  background: rgba(74,222,128,0.15);
  border-color: rgba(74,222,128,0.45);
  color: #4ADE80;
}
.nav-row2 .pill-icon { font-size: 11px; }
.nav-row2-divider {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ── PAGE OFFSETS ── */
.page-wrapper,
.page-wrapper-2nav {
  padding-top: 138px !important;
}

/* Pages with only 1 nav row (no nav-row2) */
.page-wrapper-1nav {
  padding-top: 96px !important;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 96px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0.75rem;
  z-index: 1000;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.mobile-nav.no-banner { top: 62px; max-height: calc(100vh - 62px); }
.mobile-nav.open { display: flex; }

.mob-section-label {
  font-size: 10px; font-weight: 700;
  color: #9ca3af; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 10px 12px 4px;
}
.mobile-nav a {
  display: block; text-decoration: none;
  color: #374151; font-size: 14px;
  font-weight: 500; padding: 10px 14px;
  border-radius: 9px; transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav a:hover,
.mobile-nav a:active { background: #f3f4f6; color: #042C53; }
.mobile-nav a.active { background: #E6F1FB; color: #042C53; font-weight: 700; }
.mobile-nav-cta { display: flex; gap: 8px; padding: 4px 4px 8px; }
.mob-btn-primary {
  flex: 1; text-align: center; padding: 12px;
  background: #042C53; color: white;
  border-radius: 10px; font-size: 14px;
  font-weight: 700; text-decoration: none;
}
.mob-btn-outline {
  flex: 1; text-align: center; padding: 12px;
  border: 2px solid #042C53; color: #042C53;
  border-radius: 10px; font-size: 14px;
  font-weight: 700; text-decoration: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nav-links > li > a { font-size: 12px; padding: 6px 8px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-price { display: none; }
  .hamburger { display: flex; }
  .nav-row2 { display: none; }
  .page-wrapper,
  .page-wrapper-2nav { padding-top: 96px !important; }
  .mobile-nav { top: 96px; }
  .navbar { height: 62px; }
  .nav-signin {
    display: flex;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 7px;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .nav-brand-text .tagline { display: none; }
  .page-wrapper,
  .page-wrapper-2nav { padding-top: 96px !important; }
}
