/* TKSE-WEB-DARK-006C1 — Global Shell Live Regression Correction
   Purpose: force dark header/mega/language/floating/footer across public pages.
   Does not modify routing, API, config, CRM, or .htaccess. */
:root{
  --tkse-dark-deep:#031426;
  --tkse-dark-navy:#061b2f;
  --tkse-dark-panel:#071f38;
  --tkse-dark-panel-2:#0a3155;
  --tkse-dark-green:#35c84a;
  --tkse-dark-green-2:#43d85c;
  --tkse-dark-cyan:#28d9ff;
  --tkse-dark-white:#ffffff;
  --tkse-dark-muted:#c5d6e8;
  --tkse-dark-border:rgba(255,255,255,.14);
}
html{scroll-padding-top:84px !important;}
html,body{max-width:100% !important;overflow-x:hidden !important;}
body:not(.tkse-dark-home){padding-top:72px !important;}
body.tkse-dark-shell-006c,
body.tkse-004f-page,
body[class*="tkse-"]{--header-h:72px;}

/* HARD HEADER LOCK */
body header.header,
body header.site-header,
body header.ia-header,
body header.unified-mega-header,
body header.cms-public-header,
body header.tkse-conversion-header,
body .header,
body .site-header,
body .ia-header,
body .unified-mega-header,
body .cms-public-header,
body .tkse-conversion-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  min-height:72px !important;
  z-index:100000 !important;
  background:linear-gradient(180deg,rgba(2,14,27,.985),rgba(4,20,38,.955)) !important;
  background-color:#031426 !important;
  border:0 !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 16px 44px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter:blur(18px) saturate(155%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(155%) !important;
  transform:none !important;
  opacity:1 !important;
}
body header.header .wrap,
body header.site-header .wrap,
body header.ia-header .wrap,
body header.unified-mega-header .wrap,
body .header .wrap,
body .site-header .wrap,
body .ia-header .wrap,
body .nav,
body .ia-nav{
  min-height:72px !important;
  height:72px !important;
  display:flex !important;
  align-items:center !important;
  gap:22px !important;
}

/* Logo readability */
body .logo,
body .ia-logo,
body .site-logo,
body .brand,
body .cms-public-header .brand{
  color:#fff !important;
  opacity:1 !important;
  text-decoration:none !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
body .logo img,
body .ia-logo img,
body .site-logo img,
body .brand img,
body .cms-public-header img{
  max-height:44px !important;
  width:auto !important;
  display:block !important;
  opacity:1 !important;
  object-fit:contain !important;
  filter:drop-shadow(0 0 12px rgba(53,200,74,.22)) !important;
}
body .logo-wordmark,
body .brand-text,
body .site-title{
  color:#fff !important;
  opacity:1 !important;
  font-weight:900 !important;
  letter-spacing:.055em !important;
  text-transform:uppercase !important;
  line-height:1.04 !important;
}
body .logo-wordmark em{color:var(--tkse-dark-green-2) !important;font-style:normal !important;letter-spacing:.16em !important;}

/* Top nav contrast */
body .menu,
body .ia-menu,
body .header nav,
body .site-header nav,
body .cms-public-header nav{background:transparent !important;color:#fff !important;}
body .menu a,
body .ia-menu a,
body .nav-link,
body .site-header nav a,
body .cms-public-header nav a,
body header a{
  color:rgba(255,255,255,.92) !important;
  opacity:1 !important;
  text-decoration:none !important;
  text-shadow:none !important;
  border-color:transparent !important;
}
body .nav-link,
body .menu>ul>li>a,
body .ia-menu-list>li>a{
  padding:10px 14px !important;
  border-radius:999px !important;
  font-weight:800 !important;
  letter-spacing:-.01em !important;
}
body .menu a:hover,
body .ia-menu a:hover,
body .nav-link:hover,
body .nav-item:hover>.nav-link,
body .nav-item.is-active>.nav-link,
body .nav-item.active>.nav-link,
body[data-page-group="home"] .nav-item[data-menu-group="home"]>.nav-link,
body[data-page-group="customers"] .nav-item[data-menu-group="customers"]>.nav-link,
body[data-page-group="solutions"] .nav-item[data-menu-group="solutions"]>.nav-link,
body[data-page-group="finance"] .nav-item[data-menu-group="finance"]>.nav-link,
body[data-page-group="projects"] .nav-item[data-menu-group="projects"]>.nav-link,
body[data-page-group="knowledge"] .nav-item[data-menu-group="knowledge"]>.nav-link,
body[data-page-group="contact"] .nav-item[data-menu-group="contact"]>.nav-link{
  color:#fff !important;
  background:rgba(53,200,74,.18) !important;
  border-color:rgba(53,200,74,.42) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
}
body .nav-caret{color:var(--tkse-dark-green-2) !important;opacity:1 !important;}

/* CTA and language */
body .nav-actions{display:flex !important;align-items:center !important;gap:12px !important;}
body .btn.primary,
body .nav-cta,
body header .btn.primary,
body .site-header .btn.primary{
  color:#fff !important;
  background:linear-gradient(135deg,#30bf43,#52df5c) !important;
  border:1px solid rgba(255,255,255,.06) !important;
  box-shadow:0 14px 30px rgba(53,200,74,.30), inset 0 1px 0 rgba(255,255,255,.18) !important;
  opacity:1 !important;
}
body .btn.secondary,
body header .btn.secondary{
  color:#fff !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.22) !important;
}
body .lang-v2{position:relative !important;z-index:100050 !important;}
body .lang-current,
body .lang-v2>button,
body .language-switcher button{
  color:#fff !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.20) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10), 0 12px 28px rgba(0,0,0,.20) !important;
}
body .lang-current span{color:var(--tkse-dark-green-2) !important;}
body .lang-menu,
body .language-menu{
  background:#04182c !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 24px 60px rgba(0,0,0,.50) !important;
  border-radius:16px !important;
  overflow:hidden !important;
}
body .lang-menu a,
body .language-menu a{color:#fff !important;background:transparent !important;}
body .lang-menu a:hover,
body .language-menu a:hover{color:#fff !important;background:rgba(53,200,74,.18) !important;}

/* HARD MEGA MENU LOCK - no white/glass transparency regression */
body .nav-item.has-mega{position:relative !important;}
body .mega-menu,
body .nav-item .mega-menu,
body .has-mega .mega-menu,
body [data-mega-panel]{
  background:linear-gradient(135deg,#031426 0%,#061b2f 52%,#082642 100%) !important;
  background-color:#031426 !important;
  color:#fff !important;
  opacity:1 !important;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:22px !important;
  box-shadow:0 34px 90px rgba(0,0,0,.70), inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  overflow:hidden !important;
  z-index:100040 !important;
}
body .mega-menu::before,
body .mega-menu::after,
body [data-mega-panel]::before,
body [data-mega-panel]::after{
  opacity:.08 !important;
  pointer-events:none !important;
  filter:none !important;
}
body .mega-col h4,
body .mega-menu h4,
body [data-mega-panel] h4{
  color:#6eff83 !important;
  opacity:1 !important;
  letter-spacing:.13em !important;
  text-transform:uppercase !important;
  font-weight:900 !important;
  text-shadow:0 0 18px rgba(53,200,74,.18) !important;
}
body .mega-link,
body [data-mega-panel] .mega-link{
  color:#fff !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:15px !important;
  opacity:1 !important;
}
body .mega-link:hover,
body [data-mega-panel] .mega-link:hover{
  background:rgba(53,200,74,.16) !important;
  border-color:rgba(53,200,74,.30) !important;
}
body .mega-link b,
body [data-mega-panel] .mega-link b{
  color:#fff !important;
  opacity:1 !important;
  font-weight:900 !important;
  text-shadow:none !important;
}
body .mega-link small,
body [data-mega-panel] .mega-link small{
  color:#c7d9eb !important;
  opacity:1 !important;
  line-height:1.35 !important;
  display:block !important;
  text-shadow:none !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  max-width:100% !important;
}
body .mega-icon,
body [data-mega-panel] .mega-icon{
  color:#64ff7a !important;
  background:rgba(53,200,74,.16) !important;
  border:1px solid rgba(53,200,74,.34) !important;
  box-shadow:0 0 18px rgba(53,200,74,.15) !important;
  opacity:1 !important;
  flex:0 0 auto !important;
}
body .mega-cta,
body [data-mega-panel] .mega-cta{
  color:#fff !important;
  background:linear-gradient(145deg,#0a4b83,#082b4c) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 20px 44px rgba(0,0,0,.32) !important;
  border-radius:20px !important;
  opacity:1 !important;
}
body .mega-cta b{color:#fff !important;opacity:1 !important;}
body .mega-cta p{color:#dceafa !important;opacity:1 !important;}
body .mega-cta .btn,
body .mega-cta a.btn{background:linear-gradient(135deg,#35c84a,#54df59) !important;color:#fff !important;border:0 !important;}

/* Floating CTA unified dark */
body .floating-contact{
  position:fixed !important;
  right:22px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:9000 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:14px !important;
}
body .float-btn,
body .floating-contact a,
body .floating-contact .float-btn{
  color:#52df5c !important;
  background:#031426 !important;
  border:1px solid rgba(53,200,74,.42) !important;
  box-shadow:0 18px 38px rgba(0,0,0,.42),0 0 18px rgba(53,200,74,.16) !important;
  opacity:1 !important;
}
body .float-btn:hover,
body .floating-contact a:hover{background:rgba(53,200,74,.22) !important;color:#fff !important;}

/* Footer shell dark lock */
body .site-footer,
body .footer,
body .f-footer{
  background:radial-gradient(circle at 10% 0%,rgba(53,200,74,.12),transparent 28%),linear-gradient(180deg,#04182c,#020d1a) !important;
  color:rgba(255,255,255,.84) !important;
  border-top:1px solid rgba(255,255,255,.10) !important;
}
body .site-footer h3,
body .footer h3,
body .f-footer h3{color:#fff !important;}
body .site-footer a,
body .footer a,
body .f-footer a{color:#dfefff !important;text-decoration:none !important;}
body .site-footer a:hover,
body .footer a:hover,
body .f-footer a:hover{color:#52df5c !important;}
body .site-footer p,
body .footer p,
body .f-footer p{color:rgba(220,235,250,.78) !important;}

/* Mobile */
@media(max-width:980px){
  body:not(.tkse-dark-home){padding-top:68px !important;}
  body header.header,
  body header.site-header,
  body header.ia-header,
  body header.unified-mega-header{min-height:68px !important;}
  body header.header .wrap,
  body header.site-header .wrap,
  body header.ia-header .wrap,
  body header.unified-mega-header .wrap,
  body .nav,
  body .ia-nav{height:68px !important;min-height:68px !important;}
  body .toggle,
  body .ia-toggle{color:#fff !important;background:rgba(255,255,255,.08) !important;border:1px solid rgba(255,255,255,.18) !important;}
  body .menu,
  body .ia-menu{background:#031426 !important;border:1px solid rgba(255,255,255,.12) !important;color:#fff !important;}
  body .mega-menu,
  body [data-mega-panel]{position:static !important;width:100% !important;margin-top:10px !important;box-shadow:none !important;}
  body .floating-contact{right:14px !important;gap:10px !important;}
}
