/* =========================================================
   HEADER & NAVIGATION
========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  transition: all 0.25s ease;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(245, 183, 0, 0.3));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  line-height: 1.15;
}

.nav-brand-sub {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-sun);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.loc-bullet {
  margin: 0 4px;
  opacity: 0.8;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-muted);
  transition: all 0.2s ease;
  padding: 6px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-deep);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--gold-sun);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-demo-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--yellow-brand);
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(255, 217, 61, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-demo-nav:hover {
  background: var(--gold-sun);
  transform: translateY(-1px);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(23, 37, 84, 0.04);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
}

.hamburger-bar {
  width: 20px;
  height: 2.5px;
  background: var(--navy-deep);
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-height, 80px);
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 2px solid var(--gold-sun);
  padding: 20px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99;
  box-shadow: 0 15px 35px rgba(23, 37, 84, 0.1);
  transform: translateY(-120%);
  transition: transform 0.3s ease;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer a {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-deep);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
}

/* Mobile Responsive Header */
@media (max-width: 600px) {
  .navbar {
    padding: 9px 0;
  }
  .nav-inner {
    gap: 8px;
  }
  .nav-brand {
    gap: 8px;
    min-width: 0;
    flex: 0 1 auto;
  }
  .nav-logo {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .nav-brand-text {
    min-width: 0;
    line-height: 1.15;
  }
  .nav-brand-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-brand-sub {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .loc-bullet {
    margin: 0 2px;
    opacity: 0.7;
  }
  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .btn-demo-nav {
    padding: 7px 12px;
    font-size: 14.5px;
    height: 36px;
    box-sizing: border-box;
    gap: 4px;
    border-radius: var(--radius-full);
  }
  .hide-mobile {
    display: none;
  }
  .menu-toggle {
    padding: 5px 7px;
    height: 34px;
    width: 34px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
  }
  .hamburger-bar {
    width: 17px;
    height: 2.2px;
  }
  .mobile-drawer {
    top: var(--nav-height-mobile, 66px);
  }
}
