/* TKSE 008D2F - Forced Fixed Header Lock
   This patch uses fixed positioning instead of sticky to guarantee the header
   stays visible while scrolling on desktop and mobile browsers. */

:root{
  --tkse-header-h: 82px;
  --tkse-header-h-mobile: 88px;
}

html{scroll-behavior:smooth;scroll-padding-top:var(--tkse-header-h) !important;}
body{
  padding-top:var(--tkse-header-h) !important;
  overflow-x:hidden !important;
}

.site-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  height:var(--tkse-header-h) !important;
  min-height:var(--tkse-header-h) !important;
  z-index:2147483000 !important;
  background:rgba(255,255,255,.975) !important;
  -webkit-backdrop-filter:saturate(160%) blur(16px) !important;
  backdrop-filter:saturate(160%) blur(16px) !important;
  border-bottom:1px solid rgba(7,26,63,.10) !important;
  box-shadow:0 2px 0 rgba(7,26,63,.03),0 14px 34px rgba(2,14,38,.07) !important;
  transform:none !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

.site-header .nav-bar{
  height:var(--tkse-header-h) !important;
  min-height:var(--tkse-header-h) !important;
  position:relative !important;
  z-index:2147483001 !important;
}

.site-header .brand img{max-height:58px !important;width:auto !important;object-fit:contain !important;}
.site-header .main-menu,.site-header .header-actions{position:relative !important;z-index:2147483002 !important;}
.flag-lang,.lang-list,.mobile-toggle{z-index:2147483003 !important;}
.lang-list{position:absolute !important;}

/* Prevent hero/floating cards from covering the fixed header */
.tkse-008d2a-hero,.master-visual,.master-card,.floating,.scroll-top{z-index:auto;}
.floating{z-index:80 !important;}
.scroll-top{z-index:80 !important;}

section[id],main[id]{scroll-margin-top:calc(var(--tkse-header-h) + 16px) !important;}

@media (max-width:1180px){
  :root{--tkse-header-h:86px;}
  html{scroll-padding-top:86px !important;}
  body{padding-top:86px !important;}
  .site-header,.site-header .nav-bar{height:86px !important;min-height:86px !important;}
  .site-header .brand img{max-height:66px !important;width:auto !important;}
  .flag-lang>button{height:54px !important;min-width:118px !important;}
  .mobile-toggle{height:58px !important;width:58px !important;}
  section[id],main[id]{scroll-margin-top:102px !important;}
}

@media (max-width:480px){
  :root{--tkse-header-h:84px;}
  html{scroll-padding-top:84px !important;}
  body{padding-top:84px !important;}
  .site-header,.site-header .nav-bar{height:84px !important;min-height:84px !important;}
  .site-header .wrap.nav-bar{width:calc(100% - 28px) !important;gap:12px !important;}
  .site-header .brand img{max-height:60px !important;}
  .flag-lang>button{height:50px !important;min-width:106px !important;border-radius:17px !important;}
  .mobile-toggle{height:54px !important;width:54px !important;border-radius:17px !important;}
  .tkse-008d2a-hero{margin-top:0 !important;}
}
