/* V41 — page-integrated header + Cementare-style scroll reveal */
#mbzh-header.mbzh-header{
  background:linear-gradient(to bottom,rgba(20,18,16,.16),rgba(20,18,16,.035))!important;
  -webkit-backdrop-filter:blur(3px)!important;
  backdrop-filter:blur(3px)!important;
  border:0!important;
  box-shadow:none!important;
  transition:transform .34s cubic-bezier(.22,.61,.36,1),background .24s ease,backdrop-filter .24s ease!important;
  will-change:transform;
}
#mbzh-header.mbzh-header.is-scrolled{
  background:rgba(35,32,29,.72)!important;
  -webkit-backdrop-filter:blur(15px) saturate(112%)!important;
  backdrop-filter:blur(15px) saturate(112%)!important;
  box-shadow:none!important;
  border:0!important;
}
#mbzh-header.mbzh-header.is-hidden{
  transform:translate3d(0,-112%,0)!important;
}
#mbzh-header.mbzh-header:not(.is-hidden){
  transform:translate3d(0,0,0)!important;
}
/* Keep logo dimensions absolutely stable while scrolling */
#mbzh-header .mbzh-logo img,
#mbzh-header.is-scrolled .mbzh-logo img,
#mbzh-header.is-hidden .mbzh-logo img{
  transform:none!important;
  scale:1!important;
}
/* Softer utility separators so header reads as one layer with the page */
#mbzh-header .mbzh-divider{background:rgba(255,255,255,.17)!important}
#mbzh-header .mbzh-link,
#mbzh-header .mbzh-lang,
#mbzh-header .mbzh-tool,
#mbzh-header .mbzh-social{transition:color .18s ease,opacity .18s ease!important}
/* If mega menu is open, header must stay visible and visually connected */
body.mbzh-mega-open #mbzh-header{
  transform:translate3d(0,0,0)!important;
  background:rgba(35,32,29,.88)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  backdrop-filter:blur(16px)!important;
}
@media (max-width:991px){
  #mbzh-header.mbzh-header{
    background:rgba(30,27,24,.28)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    backdrop-filter:blur(8px)!important;
  }
  #mbzh-header.mbzh-header.is-scrolled,
  #mbzh-header .mbzh-nav.is-open ~ *{
    background:rgba(35,32,29,.90)!important;
  }
}
@media (prefers-reduced-motion:reduce){
  #mbzh-header.mbzh-header{transition:none!important}
}
