/* Header transferred from the approved LeadMinds homepage. */
.site-header.premium-header,
.site-header.premium-header.scrolled,
.site-header.premium-header.header-hidden {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 2000 !important;
  transform: none !important;
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
.site-header.premium-header::before,
.site-header.premium-header.scrolled::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8px auto 6px 50% !important;
  width: min(1240px, calc(100% - 24px));
  border: 1px solid rgba(255,255,255,.68) !important;
  border-radius: 24px;
  background: rgba(255,255,255,.24) !important;
  box-shadow: 0 14px 38px rgba(18,25,27,.16) !important;
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(30px) saturate(82%) brightness(1.06) !important;
  backdrop-filter: blur(30px) saturate(82%) brightness(1.06) !important;
  pointer-events: none;
}
.site-header.premium-header > * { position: relative; z-index: 1; }
.premium-header .header-shell {
  width: min(1200px, calc(100% - 56px)) !important;
  max-width: 1200px !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(12px,1.5vw,24px) !important;
}
@media (max-width: 1199px) {
  .site-header.premium-header::before,
  .site-header.premium-header.scrolled::before { border-radius: 20px; }
}
@media (max-width: 767px) {
  .premium-header .header-shell { width: calc(100% - 32px) !important; }
}

/* English desktop header: logo | centered compact navigation | utility actions. */
@media (min-width: 992px) {
  html[dir="ltr"] .site-header.premium-header .container.header-shell {
    display:grid !important;
    grid-template-columns:clamp(260px,19vw,290px) minmax(0,1fr) max-content !important;
    align-items:center !important;
    gap:clamp(8px,1vw,16px) !important;
  }
  html[dir="ltr"] .premium-header .brand-saas { width:auto !important; min-width:0 !important; margin:0 !important; align-items:flex-start !important; }
  html[dir="ltr"] .premium-header .site-nav-saas,
  html[dir="ltr"] .premium-header .site-nav-saas .nav-panel,
  html[dir="ltr"] .premium-header .site-nav-saas .nav-list { width:100% !important; min-width:0 !important; margin:0 !important; justify-content:center !important; }
  html[dir="ltr"] .premium-header .site-nav-saas .nav-list { gap:clamp(2px,.34vw,6px) !important; }
  html[dir="ltr"] .premium-header .site-nav-saas .nav-link { padding:.48rem clamp(.3rem,.42vw,.5rem) !important; font-size:clamp(.72rem,.78vw,.82rem) !important; }
  html[dir="ltr"] .premium-header .nav-cta-saas { margin:0 !important; justify-self:end !important; }
  html[dir="ltr"] .premium-header .brand-saas img { height:47px !important; }
  html[dir="ltr"] .premium-header .logo-slogan { font-size:clamp(12px,.92vw,14px) !important; font-weight:800 !important; }
}

/* Full-width milky glass treatment shared by every inner page. */
.site-header.premium-header::before,
.site-header.premium-header.scrolled::before {
  inset: 6px 8px !important;
  width: auto !important;
  transform: none !important;
  border-color: rgba(255, 255, 255, .9) !important;
  background: rgba(255, 253, 246, .76) !important;
  -webkit-backdrop-filter: blur(24px) saturate(125%) !important;
  backdrop-filter: blur(24px) saturate(125%) !important;
}

.premium-header .header-shell {
  width: calc(100% - 32px) !important;
  max-width: none !important;
  padding-inline: clamp(12px, 2vw, 34px) !important;
}

html[dir="ltr"] .premium-header .brand-saas {
  flex: 0 0 clamp(245px, 20vw, 300px) !important;
  width: clamp(245px, 20vw, 300px) !important;
  margin-right: clamp(28px, 3vw, 54px) !important;
  align-items: flex-start !important;
}
html[dir="ltr"] .premium-header .brand-saas img { height:45px !important; max-width:100% !important; filter:saturate(1.35) contrast(1.14) !important; }
html[dir="ltr"] .premium-header .logo-slogan { font-size:clamp(10px,.78vw,12px) !important; line-height:1.25 !important; font-weight:700 !important; color:#244f4d !important; letter-spacing:.01em !important; direction:ltr !important; }
html[dir="ltr"] .premium-header .site-nav-saas { flex:1 1 auto !important; min-width:0 !important; justify-content:flex-start !important; }
html[dir="ltr"] .premium-header .site-nav-saas .nav-panel { justify-content:flex-start !important; transform:none !important; }

@media (max-width: 767px) {
  .site-header.premium-header::before,
  .site-header.premium-header.scrolled::before {
    inset-inline: 4px !important;
  }

  .premium-header .header-shell {
    width: calc(100% - 12px) !important;
    padding-inline: 8px !important;
  }
}

@media (min-width: 992px) {
  html[dir="ltr"] .site-header.premium-header .container.header-shell { display:grid !important; grid-template-columns:clamp(260px,19vw,290px) minmax(0,1fr) max-content !important; align-items:center !important; gap:clamp(8px,1vw,16px) !important; }
  html[dir="ltr"] .premium-header .brand-saas { width:auto !important; min-width:0 !important; margin:0 !important; align-items:flex-start !important; }
  html[dir="ltr"] .premium-header .site-nav-saas,
  html[dir="ltr"] .premium-header .site-nav-saas .nav-panel,
  html[dir="ltr"] .premium-header .site-nav-saas .nav-list { width:100% !important; min-width:0 !important; margin:0 !important; justify-content:center !important; }
  html[dir="ltr"] .premium-header .site-nav-saas .nav-list { gap:clamp(2px,.34vw,6px) !important; }
  html[dir="ltr"] .premium-header .site-nav-saas .nav-link { padding:.46rem clamp(.25rem,.36vw,.42rem) !important; font-size:clamp(.7rem,.75vw,.8rem) !important; }
  html[dir="ltr"] .premium-header .nav-cta-saas { margin:0 !important; justify-self:end !important; }
  html[dir="ltr"] .premium-header .brand-saas img { height:47px !important; }
  html[dir="ltr"] .premium-header .logo-slogan { font-size:clamp(13px,1vw,15px) !important; line-height:1.2 !important; font-weight:800 !important; }
}
