.site-header {
  background: rgba(4, 38, 65, 0.94) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  color: #e8eef4;
}

.site-header .brand-logo {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
}

.site-header nav a {
  color: rgba(226, 236, 245, 0.82) !important;
}

.site-header nav a:hover,
.site-header #mPanel a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.site-header nav a.bg-blue-50,
.site-header #mPanel a.bg-blue-50 {
  background: linear-gradient(135deg, #1c6090, #2e78ac) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(4, 38, 65, 0.45);
}

.site-header nav a.bg-navy-600,
.site-header nav button.bg-navy-600,
.site-header nav a[href="./index.html#diagnostic"],
.site-header #mPanel a.bg-navy-600,
.site-header #mPanel button.bg-navy-600,
.site-header #mPanel a[href="./index.html#diagnostic"] {
  background: #ffffff !important;
  color: #042641 !important;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.site-header nav a.bg-navy-600:hover,
.site-header nav button.bg-navy-600:hover,
.site-header nav a[href="./index.html#diagnostic"]:hover,
.site-header #mPanel a.bg-navy-600:hover,
.site-header #mPanel button.bg-navy-600:hover,
.site-header #mPanel a[href="./index.html#diagnostic"]:hover {
  background: #e8eef4 !important;
  color: #042641 !important;
}

.site-header #mNav {
  color: #e8eef4;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.site-header #mNav:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.site-header #mPanel {
  background: #021624 !important;
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.site-header #mPanel a {
  color: rgba(226, 236, 245, 0.84) !important;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(4, 38, 65, 0.97) !important;
  }

  .footer-brand-mark {
    width: 32px;
    height: 32px;
  }
}
