/* Efsane Global V77 — explicit visual parity for the dark Anıl-style reference.
   Fixes V76 specificity and narrow 1190px site wrapper. Scoped to header only. */
.sitehead.eg76-head.eg77-head {
  background:#031b31 !important;
  border-bottom:1px solid rgba(115,187,239,.16) !important;
  box-shadow:0 6px 18px rgba(0,22,48,.13) !important;
}
.eg76-topbar.eg77-topbar {
  background:#031a2f !important;
  border-bottom:1px solid rgba(123,179,219,.10) !important;
  color:#b8d4e8 !important;
}
.eg77-head .wrap.eg77-headrow,
.eg77-topbar .wrap.eg76-topbar-inner {
  width:min(1440px,calc(100% - 44px)) !important;
  max-width:none !important;
}
.eg77-topbar .eg76-topbar-inner{min-height:36px !important;padding:0 !important;}
.eg77-topbar .eg76-topbar-inner>span{font-size:12px;line-height:1.3;font-weight:400;color:#c3d9ed !important;}
.eg77-topbar .eg76-topline-right a{color:#c8e6fa !important;font-size:12px;}
.eg77-topbar .eg76-topline-right svg{color:#62b8ec;fill:currentColor;}
.sitehead.eg77-head .eg77-headrow {
  min-height:96px!important;
  display:flex!important;align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(18px,2vw,37px)!important;
}
.sitehead.eg77-head .eg77-brand-pair{
  display:flex!important; align-items:center!important;
  justify-content:flex-start!important;
  flex:0 0 auto !important;
  gap:14px!important; padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.sitehead.eg77-head .eg76-header-4a {
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 78px!important;width:78px!important;height:81px!important;
  border-right:1px solid rgba(255,255,255,.28)!important;
  padding:0 13px 0 0!important;margin:0!important;
}
.sitehead.eg77-head .eg76-header-4a img{
  width:60px!important;height:74px!important;object-fit:contain!important;
  filter:drop-shadow(0 0 2px rgba(255,255,255,.42))!important;
}
.sitehead.eg77-head .eg77-brand {display:flex!important;align-items:center!important;gap:10px!important;padding:0!important;}
.sitehead.eg77-head .eg77-brand img{width:76px!important;height:74px!important;object-fit:contain!important;}
.sitehead.eg77-head .eg77-brand span{line-height:1.06!important;}
.sitehead.eg77-head .eg77-brand strong{color:#fff!important;font-size:19px!important;letter-spacing:1.2px!important;font-weight:800!important;}
.sitehead.eg77-head .eg77-brand small{color:#ffb43b!important;letter-spacing:5px!important;font-size:10px!important;font-weight:800!important;margin-top:4px!important;}
/* The brand pair is the homepage link; an additional Home item wastes space. */
.sitehead.eg77-head .eg77-nav-home{display:none!important;}
.sitehead.eg77-head .eg77-nav{
  display:flex; flex:1 1 auto!important;align-items:center!important;
  justify-content:flex-end!important;
  gap:clamp(10px,.95vw,18px)!important;
  min-width:0!important;margin:0!important;
  color:#f7fbff!important;
}
/* Strong specificity defeats the legacy V57 links' hard-coded dark blue. */
body .sitehead.eg76-head.eg77-head nav.eg77-nav > a:not(.eg76-pay-button),
body .sitehead.eg76-head.eg77-head nav.eg77-nav .ef50-nav-brand > a,
body .sitehead.eg76-head.eg77-head nav.eg77-nav .ef50-mega-toggle {
  color:#f3f9ff!important;
  -webkit-text-fill-color:#f3f9ff!important;
  text-shadow:none!important;
  opacity:1!important;
  background:transparent;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
body .sitehead.eg76-head.eg77-head nav.eg77-nav > a:not(.eg76-pay-button):hover,
body .sitehead.eg76-head.eg77-head nav.eg77-nav > a:not(.eg76-pay-button):focus-visible,
body .sitehead.eg76-head.eg77-head nav.eg77-nav .ef50-nav-brand>a:hover,
body .sitehead.eg76-head.eg77-head nav.eg77-nav .ef50-nav-brand>a:focus-visible,
body .sitehead.eg76-head.eg77-head nav.eg77-nav .ef50-mega-toggle:hover {
  color:#a7defa!important;
  -webkit-text-fill-color:#a7defa!important;
}
body .sitehead.eg76-head.eg77-head nav.eg77-nav > a[aria-current="page"]:after,
body .sitehead.eg76-head.eg77-head nav.eg77-nav .ef50-nav-brand>a[aria-current="page"]:after{
  display:none!important;
}
.sitehead.eg77-head .ef50-nav-brand{display:flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important;}
.sitehead.eg77-head .ef50-mega-toggle{padding:3px!important;min-width:17px!important;}
.sitehead.eg77-head .eg76-search{display:flex!important;align-items:center!important;gap:6px!important;padding:0 2px!important;}
.sitehead.eg77-head .eg76-search svg{color:#67baf1!important;stroke:#67baf1!important;}
.sitehead.eg77-head .eg76-search span{display:inline!important;color:#d3e8f7!important;font-size:13px!important;font-weight:600!important;}
/* Existing payment destination and quote behavior retained unchanged. */
body .sitehead.eg76-head.eg77-head nav.eg77-nav .eg76-pay-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  height:44px!important;padding:0 15px!important;border-radius:10px!important;
  background:#003737!important;border:1px solid #0c776d!important;
  color:#f5fffd!important;-webkit-text-fill-color:#f5fffd!important;
  box-shadow:none!important;font-weight:800!important;font-size:13px!important;
  white-space:nowrap!important;
}
body .sitehead.eg76-head.eg77-head nav.eg77-nav .eg76-pay-button:hover{
  background:#075957!important;border-color:#10a992!important;
}
body .sitehead.eg76-head.eg77-head nav.eg77-nav .eg76-quote-button.ef50-quote-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  height:44px!important;min-height:44px!important;
  background:#0966b0!important;border:1px solid #1688d1!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  border-radius:10px!important;padding:0 15px!important;
  gap:9px!important;font-size:13px!important;white-space:nowrap!important;
  box-shadow:none!important;
}
.sitehead.eg77-head .eg76-quote-button .ef50-quote-count{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#fff!important;color:#095ca5!important;
  -webkit-text-fill-color:#095ca5!important;
  width:22px!important;height:22px!important;min-width:22px!important;
  border-radius:50%!important;font-size:11px!important;
}
.sitehead.eg77-head .eg76-lang-switch{
  display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;
  background:#102c47!important;border:1px solid #25445e!important;
  gap:2px!important;padding:4px!important;border-radius:11px!important;
}
.sitehead.eg77-head .eg76-lang-switch a{
  color:#aecbe4!important;-webkit-text-fill-color:#aecbe4!important;
  min-width:29px!important;height:30px!important;padding:0 7px!important;
  font-size:12px!important;border-radius:8px!important;font-weight:700!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
.sitehead.eg77-head .eg76-lang-switch a[aria-current="true"]{
  background:#fff!important;color:#07315d!important;-webkit-text-fill-color:#07315d!important;
}
/* Keep the popup readable and in front of the hero. */
.sitehead.eg77-head .ef50-mega{background:#062b50!important;z-index:100!important;}
.sitehead.eg77-head .ef50-mega a{color:#eef8ff!important;-webkit-text-fill-color:#eef8ff!important;}
.sitehead.eg77-head .ef50-mega a:hover{color:#a7defa!important;-webkit-text-fill-color:#a7defa!important;}
/* Tablet and mobile: use the existing functional hamburger, don't overflow the header. */
@media(max-width:1380px){
  .sitehead.eg77-head .eg77-nav{gap:9px!important;}
  .sitehead.eg77-head .eg77-brand img{width:62px!important;height:62px!important;}
  .sitehead.eg77-head .eg77-brand strong{font-size:17px!important;}
  .sitehead.eg77-head .eg76-search span{display:none!important;}
}
@media(max-width:1260px){
  .sitehead.eg77-head .eg77-headrow{min-height:83px!important;position:relative!important;}
  .sitehead.eg77-head #menubtn{
    display:inline-flex!important;align-items:center;justify-content:center!important;
    padding:9px 14px!important;margin-left:auto!important;
    color:#fff!important;background:#0b4269!important;
    border:1px solid #2a7098!important;border-radius:9px!important;
  }
  .sitehead.eg77-head nav.eg77-nav{
    display:none!important;position:absolute!important;left:0!important;right:0!important;
    top:calc(100% - 5px)!important;margin:0!important;
    width:100%!important;max-height:calc(100vh - 105px)!important;overflow:auto!important;
    background:#06233e!important;color:#fff!important;
    padding:20px!important;border:1px solid #204f74!important;border-radius:0 0 15px 15px!important;
    box-shadow:0 22px 32px rgba(0,13,32,.32)!important;
    flex-direction:column!important;align-items:stretch!important;gap:13px!important;
  }
  .sitehead.eg77-head nav.eg77-nav.open{display:flex!important;}
  .sitehead.eg77-head .eg77-nav .eg76-search span{display:inline!important;}
  .sitehead.eg77-head .eg77-nav .eg76-pay-button,
  .sitehead.eg77-head .eg77-nav .eg76-quote-button,
  .sitehead.eg77-head .eg77-nav .eg76-lang-switch{width:100%!important;justify-content:center!important;}
  .sitehead.eg77-head .eg77-nav .ef50-nav-brand{justify-content:flex-start!important;}
  .sitehead.eg77-head .eg77-nav .ef50-mega{position:static!important;width:100%!important;box-shadow:none!important;}
}
@media(max-width:650px){
  .eg77-topbar .eg76-topbar-inner{min-height:42px!important;text-align:center!important;padding:6px 0!important;}
  .eg77-topbar .eg76-topbar-inner>span{font-size:10px!important;}
  .eg77-topbar .eg76-topline-right{gap:8px!important;justify-content:center!important;}
  .eg77-topbar .eg76-topline-right a{font-size:10px!important;}
  .sitehead.eg77-head .eg77-headrow{min-height:72px!important;}
  .sitehead.eg77-head .eg77-brand-pair{gap:6px!important;}
  .sitehead.eg77-head .eg76-header-4a{
    width:47px!important;flex-basis:47px!important;height:56px!important;padding-right:6px!important;
  }
  .sitehead.eg77-head .eg76-header-4a img{width:38px!important;height:53px!important;}
  .sitehead.eg77-head .eg77-brand img{width:47px!important;height:52px!important;}
  .sitehead.eg77-head .eg77-brand strong{font-size:13px!important;letter-spacing:.7px!important;}
  .sitehead.eg77-head .eg77-brand small{font-size:8px!important;letter-spacing:2px!important;}
}
@media(prefers-reduced-motion:reduce){.sitehead.eg77-head *{transition:none!important;}}
