/* VALYQOR V8: homepage galaxy overlay + global directional smart header.
   Loaded AFTER V7 to preserve its calibrated horizontal positioning. */
:root{--vq-v8-header-height:88px}
body.vq-home .geo-header,
body:not(.vq-home) header.nav{
  position:fixed!important;top:0!important;left:0!important;right:0!important;
  z-index:10000!important;overflow:visible!important;
  transform:translate3d(0,0,0)!important;
  transition:transform 280ms cubic-bezier(.22,1,.36,1),background-color 220ms ease,box-shadow 220ms ease!important;
  will-change:transform;
}
body.vq-home .geo-header.vq-header-hidden,
body:not(.vq-home) header.nav.vq-header-hidden{
  transform:translate3d(0,-110%,0)!important;
  transition-duration:220ms!important;
  pointer-events:none!important;
}
body.vq-home .geo-header.vq-header-visible,
body:not(.vq-home) header.nav.vq-header-visible{
  transform:translate3d(0,0,0)!important;
  pointer-events:auto!important;
}
/* The original galaxy remains on .geo-hero. Fixed overlay shows that SAME image
   through the transparent header; no duplicate background or seam. */
body.vq-home .geo-header:not(.vq-header-past-hero){
  background:transparent!important;border:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.vq-home .geo-header:not(.vq-header-past-hero) .vq-desktop-nav>a,
body.vq-home .geo-header:not(.vq-header-past-hero) .vq-desktop-item>a,
body.vq-home .geo-header:not(.vq-header-past-hero) .vq-desktop-item>button{
  color:#f6f9ff!important;text-shadow:0 2px 12px rgba(0,0,0,.65);
}
body.vq-home .geo-header:not(.vq-header-past-hero) .vq-desktop-nav>a:hover,
body.vq-home .geo-header:not(.vq-header-past-hero) .vq-desktop-item>a:hover,
body.vq-home .geo-header:not(.vq-header-past-hero) .vq-desktop-item>button:hover{
  color:#e2ba77!important;
}
body.vq-home .geo-header:not(.vq-header-past-hero)>.vq-desktop-contact{
  color:#fff!important;border-color:rgba(255,255,255,.9)!important;background:transparent!important;
}
body.vq-home .geo-header:not(.vq-header-past-hero)>.vq-desktop-contact:hover{
  color:#0b2634!important;background:#fff!important;
}
body.vq-home .geo-header:not(.vq-header-past-hero) .geo-menu-toggle{
  color:#fff!important;
}
/* Once the hero scrolls away, keep white text readable with a solid dark header. */
body.vq-home .geo-header.vq-header-past-hero{
  background:#09232e!important;border:0!important;
  box-shadow:0 8px 25px rgba(0,0,0,.2)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.vq-home .geo-header.vq-header-past-hero .vq-desktop-nav>a,
body.vq-home .geo-header.vq-header-past-hero .vq-desktop-item>a,
body.vq-home .geo-header.vq-header-past-hero .vq-desktop-item>button{
  color:#f6f9ff!important;
}
body.vq-home .geo-header.vq-header-past-hero>.vq-desktop-contact{
  color:#fff!important;border-color:#fff!important;
}
body.vq-home .geo-header.vq-header-past-hero .geo-menu-toggle{color:#fff!important}
/* Do not restyle any inner page: keep its existing light navigation palette. */
body:not(.vq-home) header.nav{background:rgba(248,250,249,.97)!important}
/* V7's desktop logo/nav/contact absolute positions are left unchanged. */
@media(max-width:1199px){
  :root{--vq-v8-header-height:76px}
  body.vq-home .geo-header{height:76px!important;min-height:76px!important}
}
@media(max-width:767px){
  :root{--vq-v8-header-height:64px}
  body.vq-home .geo-header{height:64px!important;min-height:64px!important}
}
@media(prefers-reduced-motion:reduce){
  body.vq-home .geo-header,body:not(.vq-home) header.nav{transition:none!important}
}
