.site-header{
  position: relative;
  width: 100%;
  z-index: 1000;
  font-family: var(--font-ui);
}

/* shared container */
.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* utility bar (scrolls away) */
.header-utility{
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 0;
}

.utility-left, .utility-right{
  display: flex;
  align-items: center;
  gap: 12px;
}

.utility-link{
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: .95;
}

.utility-link:hover{ opacity: 1; text-decoration: underline; }

.utility-sep{ opacity: .6; }

#stickySentinel{
  height: 1px;
}

#headerSpacer{
  display:none;
}

.header-main.fixed{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
}

.header-main.is-stuck{
  background: rgba(255,255,255,1);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border-bottom-color: transparent;
}


/* brand */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo{
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text{
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 16px;
  line-height: 1;
}

/* nav */
.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link{
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 10px;
}


.nav-link:hover{
  background: rgba(31,162,193,.10);
  color: rgba(31,162,193,1);
}

/* actions */
.header-actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cta{
  background: rgba(31,162,193,1);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}

.btn-cta:hover{ filter: brightness(.95); }

/* dropdown content positioning: anchor it to the utility-right */
.utility-right{
  position: relative;
}

/* your dropdown-content id is used already; give it sane styling */
#headerDropdownContent{
  display: none; /* shown by your loginDrop() */
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 320px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px;
  z-index: 2000;
}

/* spacer so content doesn't hide behind sticky header */
.header-spacer{
  height: 0; /* set via JS or hardcode if you want */
}

/* mobile */
.nav-toggle{ display:none; background:none; border:0; padding:10px; }
.nav-toggle span{
  display:block; width:22px; height:2px; background:#1a1a1a; margin:4px 0; border-radius:2px;
}

.nav-mobile{
  display:none;
  padding: 10px 18px 18px 18px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px){
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .brand-text{ display:none; } /* optional */
  .nav-mobile.show{ display:block; }
  .nav-mobile .nav-link{ display:block; padding:12px 10px; }
}