/* ============================================================
   NAV v8 — All tabs visible, Get a Quote separated, no overlap
   ============================================================ */

.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--g-200);
  box-shadow: 0 2px 24px rgba(18,33,19,.10);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1rem;
}

/* ── LOGO ── */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-text-block { display:flex; flex-direction:column; gap:1px; }
.logo-name-line1 {
  font-family: var(--font-head); font-size:.90rem; font-weight:900;
  color: var(--g-800); line-height:1.1; letter-spacing:-0.01em; display:block;
}
.logo-name-line2 {
  font-family: var(--font-head); font-size:.90rem; font-weight:900;
  color: var(--n-900); line-height:1.1; letter-spacing:-0.01em; display:block;
}
.logo-tagline {
  font-size:.60rem; font-weight:700; color:var(--b-600);
  letter-spacing:.08em; text-transform:uppercase; display:block; margin-top:2px;
}
.logo-icon,.logo-divider,
.bita-logo-svg,.bita-logo-footer,
.bita-logo-mark,.bita-footer-mark { display:none !important; }

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: flex-end;
}
.nav-links li a {
  color: var(--n-600);
  font-size: .78rem;
  font-weight: 600;
  padding: .36rem .58rem;
  border-radius: var(--r-xs);
  transition: var(--ease);
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.nav-links li a:hover,
.nav-links li a.active,
.nav-links li a.nav-active {
  color: var(--b-600);
  background: var(--b-50);
}

/* Separator + CTA: Get a Quote pushed right with space */
.nav-links li:last-child {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--n-200);
  flex-shrink: 0;
}
/* Make the CTA button stand out */
.nav-links li:last-child a.btn {
  font-size: .78rem;
  padding: .42rem .85rem;
  white-space: nowrap;
}

/* ── MOBILE TOGGLE ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--n-700);
  border-radius: 2px;
  display: block;
  transition: var(--ease);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(255,255,255,.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--n-800);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--b-600); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--n-400);
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--b-600); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shd-blue);
  transition: var(--ease);
  text-decoration: none; z-index: 99;
  opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity:1; pointer-events:all; }
.back-to-top:hover { background:var(--b-700); transform:translateY(-3px); color:#fff; }

/* ── ACTIVE INDICATOR ── */
.nav-links a.nav-active {
  color: var(--b-600); font-weight: 700; position: relative;
}
.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--b-600);
  border-radius: 2px;
}

/* ── RESPONSIVE ── */

/* Large screens (1280px+): full navbar, all text visible */
@media (min-width: 1280px) {
  .logo-img { height: 62px; }
  .logo-name-line1, .logo-name-line2 { font-size: .95rem; }
  .nav-links li a { font-size: .82rem; padding: .38rem .68rem; }
}

/* Medium: tighten further */
@media (max-width: 1180px) {
  .navbar-inner { height: 72px; }
  .logo-img { height: 50px; }
  .logo-name-line1, .logo-name-line2 { font-size: .82rem; }
  .logo-tagline { display: none; }
  .nav-links li a { font-size: .75rem; padding: .32rem .48rem; }
  .nav-links li:last-child a.btn { padding: .38rem .72rem; }
}

/* Collapse to hamburger below 1020px */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* Mobile */
@media (max-width: 600px) {
  .navbar-inner { height: 68px; }
  .logo-img { height: 44px; }
  .logo-name-line1, .logo-name-line2 { font-size: .80rem; }
}
