/* ─── MAIN NAV ────────────────────────────────────────────────────────────── */

.main-nav {
  background: var(--black);
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Logo */
.logo {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
  flex-shrink: 0;
  font-style: italic;
}
.logo em {
  font-style: normal;
  color: var(--logo-accent);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links > li > a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  padding: 0 13px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity var(--t-fast);
  white-space: nowrap;
}
.nav-links > li > a:hover { opacity: .75; }
.nav-links .caret { font-size: 9px; opacity: .7; }

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-search {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 18px;
  padding: 6px;
  opacity: .85;
  transition: opacity var(--t-fast);
}
.nav-search:hover { opacity: 1; }

.nav-subscribe {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  border: 1.5px solid var(--white);
  border-radius: 100px;
  padding: 5px 16px;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-subscribe:hover { background: var(--white); color: var(--black); }

.nav-signin {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  transition: color var(--t-fast);
}
.nav-signin:hover { color: var(--white); }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── CREDIBILITY TICKER ──────────────────────────────────────────────────── */
.cred-bar {
  background: var(--teal-pale);
  border-bottom: 1px solid var(--teal-mid);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.cred-track {
  display: inline-block;
  animation: scroll-left 30s linear infinite;
}
.cred-track:hover { animation-play-state: paused; }

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cred-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--dark);
  padding: 0 36px;
}
.cred-item-icon { font-size: 15px; flex-shrink: 0; }
.cred-item strong { font-weight: 700; }

/* ─── MOBILE NAV (480px) ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .nav-toggle { display: flex; }
  .nav-signin { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    z-index: 199;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 8px 0 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a {
    height: auto;
    padding: 12px 24px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-links > li:last-child > a { border-bottom: none; }

  .nav-search { display: none; }
  .nav-subscribe { font-size: 12px; padding: 5px 12px; }

  .main-nav { position: relative; }
}
