/* ===== Header (Formal + Mobile Responsive) ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #0b0f19; /* near-black */
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.2;
  margin-top: 4px;
}

/* Nav (desktop) */
.navbar {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0b0f19;
  padding: 10px 8px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.nav-link:hover {
  background: rgba(11, 42, 91, 0.06);
  color: #0b2a5b;
}

.nav-link.active {
  color: #0b2a5b;
  background: rgba(11, 42, 91, 0.08);
}

/* CTA Button */
.quote-btn {
  text-decoration: none;
  background: #0b2a5b;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.quote-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11, 42, 91, 0.18);
}

/* Mobile toggle button */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #0b0f19;
  border-radius: 2px;
}

/* ===== Mobile Layout ===== */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 14px 16px 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .navbar.open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-link {
    padding: 12px 12px;
    border-radius: 10px;
  }

  .quote-btn {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .header-content {
    position: relative;
  }
}
