
/* ==========================================================
   FOYGLOBAL GLOBAL HEADER 5.3.0
   Sitewide default header based on the approved About V5.2 header.
========================================================== */

:root{
  --fga-header-orange:#ff4b0b;
  --fga-header-ink:#0b1720;
  --fga-header-border:#e8ecee;
}

body.fga-global-header-active{
  --fga-global-header-height:84px;
}

/* Suppress known theme / Elementor header shells only when global header is active. */
body.fga-global-header-active .elementor-location-header,
body.fga-global-header-active #masthead,
body.fga-global-header-active .site-header:not(.fga-global-header),
body.fga-global-header-active .main-header:not(.fga-global-header),
body.fga-global-header-active .header-area:not(.fga-global-header),
body.fga-global-header-active .header-wrapper:not(.fga-global-header),
body.fga-global-header-active .header-top,
body.fga-global-header-active .header-top-area,
body.fga-global-header-active .top-bar,
body.fga-global-header-active .topbar{
  display:none !important;
}

.fga-global-header{
  width:100%;
  min-height:84px;
  background:#fff;
  border-bottom:1px solid rgba(11,23,32,.07);
  position:relative;
  z-index:9998;
  font-family:Inter,Arial,sans-serif;
  color:var(--fga-header-ink);
}

.fga-global-header *,
.fga-global-header *::before,
.fga-global-header *::after{
  box-sizing:border-box;
}

.fga-global-header .fga-container{
  width:min(1260px,calc(100% - 48px));
  margin:0 auto;
}

.fga-global-header .fga-header-inner{
  min-height:84px;
  display:flex;
  align-items:center;
  gap:28px;
}

.fga-global-header .fga-brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  text-decoration:none;
}

.fga-global-header .fga-brand img{
  display:block;
  width:154px;
  height:auto;
}

.fga-global-header .fga-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:31px;
  font-size:13px;
  font-weight:600;
}

.fga-global-header .fga-nav a{
  position:relative;
  color:#0b1720;
  text-decoration:none;
  line-height:1;
  padding:34px 0 32px;
  transition:color .18s ease;
}

.fga-global-header .fga-nav a:hover,
.fga-global-header .fga-nav a.active{
  color:var(--fga-header-orange);
}

.fga-global-header .fga-nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:23px;
  height:2px;
  border-radius:4px;
  background:var(--fga-header-orange);
}

.fga-global-header .fga-main-cta{
  flex:0 0 auto;
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 22px;
  border-radius:8px;
  background:var(--fga-header-orange);
  color:#fff !important;
  text-decoration:none !important;
  font-size:13px;
  line-height:1;
  font-weight:700;
  box-shadow:none;
  transition:transform .18s ease, background .18s ease;
}

.fga-global-header .fga-main-cta:hover{
  transform:translateY(-1px);
  background:#ed4307;
}

.fga-global-header .fga-main-cta svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.fga-global-header .fga-menu-toggle{
  display:none;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid #e5e9eb;
  border-radius:10px;
  background:#fff;
  color:#0b1720;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex:0 0 44px;
  box-shadow:none;
}

.fga-global-header .fga-menu-toggle span,
.fga-global-header .fga-menu-toggle::before,
.fga-global-header .fga-menu-toggle::after{
  content:"";
  display:block;
  width:20px;
  height:2px;
  background:currentColor;
  border-radius:5px;
  transition:transform .22s ease,opacity .22s ease;
}

.fga-global-header .fga-menu-toggle span{
  margin:5px 0;
}

.fga-global-header.menu-open .fga-menu-toggle span{
  opacity:0;
}

.fga-global-header.menu-open .fga-menu-toggle::before{
  transform:translateY(7px) rotate(45deg);
}

.fga-global-header.menu-open .fga-menu-toggle::after{
  transform:translateY(-7px) rotate(-45deg);
}

@media(max-width:1020px){
  body.fga-global-header-active{
    --fga-global-header-height:78px;
  }

  .fga-global-header{
    min-height:78px;
    overflow:visible;
  }

  .fga-global-header .fga-container{
    width:min(100% - 36px,1260px);
  }

  .fga-global-header .fga-header-inner{
    min-height:78px;
    position:relative;
    gap:14px;
  }

  .fga-global-header .fga-brand img{
    width:142px;
  }

  .fga-global-header .fga-menu-toggle{
    display:flex;
    flex-direction:column;
    order:2;
    margin-left:auto;
  }

  .fga-global-header .fga-main-cta{
    order:3;
    padding:12px 16px;
    font-size:12px;
  }

  .fga-global-header .fga-nav{
    display:none;
    position:absolute;
    top:calc(100% + 1px);
    left:0;
    right:0;
    z-index:10000;
    margin:0;
    padding:14px;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    background:rgba(255,255,255,.995);
    border:1px solid #e8ecee;
    border-radius:0 0 14px 14px;
    box-shadow:0 14px 32px rgba(7,19,28,.10);
  }

  .fga-global-header.menu-open .fga-nav{
    display:flex;
  }

  .fga-global-header .fga-nav a{
    width:100%;
    padding:13px;
    border-radius:8px;
    line-height:1.2;
  }

  .fga-global-header .fga-nav a:hover,
  .fga-global-header .fga-nav a.active{
    background:#fff4ef;
  }

  .fga-global-header .fga-nav a.active::after{
    display:none;
  }
}

@media(max-width:720px){
  .fga-global-header .fga-container{
    width:calc(100% - 30px);
  }

  .fga-global-header .fga-header-inner{
    gap:10px;
  }

  .fga-global-header .fga-brand img{
    width:122px;
  }

  .fga-global-header .fga-menu-toggle{
    width:42px;
    height:42px;
    flex-basis:42px;
  }

  .fga-global-header .fga-main-cta{
    padding:11px 12px;
    font-size:10px;
  }
}

@media(max-width:480px){
  body.fga-global-header-active{
    --fga-global-header-height:72px;
  }

  .fga-global-header{
    min-height:72px;
  }

  .fga-global-header .fga-container{
    width:calc(100% - 24px);
  }

  .fga-global-header .fga-header-inner{
    min-height:72px;
  }

  .fga-global-header .fga-brand img{
    width:112px;
  }

  .fga-global-header .fga-main-cta{
    display:none;
  }
}
