/* V9.2 Header patch — only restores the user-approved logo and navigation style. */
.site-header{
  width:100%;
  position:relative;
  z-index:50;
  padding:24px 0 17px;
  background:
    radial-gradient(circle at 82% 10%,rgba(93,35,163,.20),transparent 32%),
    linear-gradient(105deg,#070424 0%,#0d072c 54%,#170735 100%);
  box-shadow:0 2px 14px rgba(20,7,48,.18)
}
.site-header .site-header-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:18px 28px;
  min-height:0
}
.site-header .brand{
  display:block;
  flex:0 1 760px;
  max-width:min(760px,calc(100% - 230px));
  color:#fff;
  text-decoration:none
}
.site-header .brand-mark{
  display:block;
  width:100%;
  height:auto;
  border-radius:0;
  overflow:visible;
  box-shadow:none
}
.site-header .brand-mark img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:left center
}
.site-header .brand-text{display:none!important}
.site-header .site-consult{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0 28px;
  border-radius:999px;
  background:#fff;
  color:#c73cdd;
  font-size:18px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 8px 25px rgba(0,0,0,.18)
}
.site-header .site-nav{
  order:3;
  width:100%;
  flex:0 0 100%;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid rgba(159,91,255,.13);
  border-radius:999px;
  background:linear-gradient(90deg,rgba(77,27,139,.55),rgba(50,19,105,.70));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)
}
.site-header .site-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 14px;
  border-radius:999px;
  color:#fff;
  font-size:17px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  transition:background .18s ease,color .18s ease
}
.site-header .site-nav a:hover{
  background:rgba(255,255,255,.08);
  color:#fff
}
.site-header .site-nav a.active{
  color:#fff;
  background:linear-gradient(135deg,#ec29d2 0%,#7b35ff 100%);
  box-shadow:0 8px 20px rgba(128,45,225,.30)
}
/* Homepage header must keep the same approved appearance. */
.hero>.site-header{background:radial-gradient(circle at 82% 10%,rgba(93,35,163,.20),transparent 32%),linear-gradient(105deg,#070424 0%,#0d072c 54%,#170735 100%);box-shadow:0 2px 14px rgba(20,7,48,.18)}
@media(max-width:900px){
  .site-header{padding-top:18px}
  .site-header .brand{flex-basis:620px;max-width:calc(100% - 180px)}
  .site-header .site-consult{min-height:48px;padding:0 20px;font-size:15px}
  .site-header .site-nav{overflow-x:auto;display:flex;justify-content:flex-start;border-radius:24px;scrollbar-width:none}
  .site-header .site-nav::-webkit-scrollbar{display:none}
  .site-header .site-nav a{min-width:118px;min-height:42px;font-size:15px}
}
@media(max-width:640px){
  .site-header{padding:14px 0 12px}
  .site-header .site-header-inner{gap:12px}
  .site-header .brand{flex-basis:100%;max-width:100%}
  .site-header .site-consult{display:none}
  .site-header .site-nav{padding:7px 8px;border-radius:20px}
  .site-header .site-nav a{min-width:102px;min-height:38px;padding:0 12px;font-size:14px}
}
