/* AxisBridge shell v3 — isolated, authoritative header/footer/layout styles */

:root{
  --ab-navy:#12304A;
  --ab-navy-dark:#0B2235;
  --ab-gold:#C9A24A;
  --ab-teal:#1F95A8;
  --ab-light:#F5F7F9;
  --ab-border:#D9E5EA;
  --ab-text:#263746;
}

html{scroll-padding-top:160px}
body{overflow-x:hidden}

.ab-shell-container{
  width:min(1180px,calc(100% - 32px));
  margin-inline:auto;
  box-sizing:border-box;
}

.ab-shell-skip{
  position:fixed;
  left:12px;
  top:-70px;
  z-index:99999;
  padding:10px 14px;
  background:#fff;
  color:var(--ab-navy);
  border:2px solid var(--ab-teal);
  border-radius:8px;
}
.ab-shell-skip:focus{top:10px}

.ab-shell-devbar{
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  box-sizing:border-box;
  background:#9D1C20;
  color:#fff;
  font-size:12px;
  font-weight:800;
  line-height:1;
  text-align:center;
}

.ab-shell-utility{
  height:44px;
  background:var(--ab-navy);
  color:#fff;
}
.ab-shell-utility-inner{
  height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.ab-shell-tagline{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
  line-height:1;
}
.ab-shell-portal-wrap{
  height:44px;
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.ab-shell-portal{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border-radius:8px;
  background:var(--ab-gold);
  color:var(--ab-navy-dark);
  font-size:12px;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
}
.ab-shell-portal.is-disabled{cursor:not-allowed}
.ab-shell-coming-soon{
  font-size:11px;
  font-weight:850;
  color:#fff;
  white-space:nowrap;
}

#ab-site-header.ab-shell-header{
  height:80px !important;
  min-height:80px !important;
  margin:0 !important;
  padding:0 !important;
  position:relative !important;
  z-index:1000 !important;
  background:#fff !important;
  border-bottom:1px solid var(--ab-border) !important;
  box-shadow:none !important;
}

#ab-site-header .ab-shell-header-inner{
  height:80px !important;
  min-height:80px !important;
  display:grid !important;
  grid-template-columns:220px minmax(0,1fr) 70px !important;
  align-items:center !important;
  column-gap:18px !important;
  margin-inline:auto !important;
  padding:0 !important;
}

#ab-site-header .ab-shell-brand{
  display:flex !important;
  align-items:center !important;
  width:220px !important;
  height:64px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  text-decoration:none !important;
}

#ab-site-header img.ab-shell-logo{
  display:block !important;
  width:210px !important;
  max-width:210px !important;
  height:58px !important;
  max-height:58px !important;
  object-fit:contain !important;
  object-position:left center !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
}

#ab-site-header .ab-shell-nav{
  position:static !important;
  width:100% !important;
  min-width:0 !important;
  height:80px !important;
  margin:0 !important;
  padding:0 !important;
  display:grid !important;
  grid-template-columns:repeat(7,minmax(68px,1fr)) !important;
  align-items:center !important;
  justify-items:stretch !important;
  gap:2px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

#ab-site-header .ab-shell-nav-link{
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  height:40px !important;
  min-height:40px !important;
  margin:0 !important;
  padding:0 5px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid transparent !important;
  border-radius:9px !important;
  background:transparent !important;
  color:var(--ab-navy) !important;
  font-size:14px !important;
  font-weight:750 !important;
  line-height:1 !important;
  text-align:center !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  transform:none !important;
}

#ab-site-header .ab-shell-nav-link:hover,
#ab-site-header .ab-shell-nav-link:focus-visible,
#ab-site-header .ab-shell-nav-link.is-current,
#ab-site-header .ab-shell-nav-link[aria-current="page"]{
  border-color:#C6E5EB !important;
  background:#EEF9FB !important;
  color:var(--ab-navy) !important;
  font-weight:750 !important;
  transform:none !important;
}

#ab-site-header .ab-shell-call{
  width:64px !important;
  height:36px !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  justify-self:end !important;
  border-radius:9px !important;
  background:var(--ab-navy) !important;
  color:#fff !important;
  font-weight:800 !important;
  text-decoration:none !important;
}

#ab-site-header .ab-shell-menu-button{
  display:none !important;
}

/* FOOTER */
#ab-site-footer.ab-shell-footer{
  margin:12px 0 0 !important;
  padding:24px 0 14px !important;
  background:var(--ab-navy-dark) !important;
  color:#fff !important;
}
#ab-site-footer .ab-shell-footer-grid{
  display:grid !important;
  grid-template-columns:1.35fr .8fr 1fr !important;
  gap:24px !important;
}
#ab-site-footer img.ab-shell-footer-logo{
  display:block !important;
  width:210px !important;
  max-width:210px !important;
  height:58px !important;
  max-height:58px !important;
  object-fit:contain !important;
  object-position:left center !important;
  margin:0 0 8px !important;
  padding:0 !important;
  filter:brightness(0) invert(1) !important;
}
#ab-site-footer p{
  max-width:440px !important;
  margin:6px 0 0 !important;
  color:rgba(255,255,255,.78) !important;
}
#ab-site-footer .ab-shell-footer-links,
#ab-site-footer .ab-shell-footer-contact{
  display:grid !important;
  align-content:start !important;
  gap:7px !important;
}
#ab-site-footer a{
  color:#fff !important;
  text-decoration:none !important;
}
#ab-site-footer a:hover,
#ab-site-footer a:focus-visible{text-decoration:underline !important}

#ab-site-footer .ab-shell-social-row{
  display:flex !important;
  gap:9px !important;
  margin-top:7px !important;
}
#ab-site-footer .ab-shell-social{
  width:38px !important;
  height:38px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid rgba(255,255,255,.34) !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.10) !important;
  color:#fff !important;
}
#ab-site-footer .ab-shell-social:hover,
#ab-site-footer .ab-shell-social:focus-visible{
  background:rgba(31,149,168,.35) !important;
  border-color:#8EDAE4 !important;
  text-decoration:none !important;
}
#ab-site-footer .ab-shell-social svg{
  display:block !important;
  width:20px !important;
  height:20px !important;
}
#ab-site-footer .ab-shell-footer-bottom{
  margin-top:16px !important;
  padding-top:12px !important;
  border-top:1px solid rgba(255,255,255,.16) !important;
  color:rgba(255,255,255,.68) !important;
  font-size:12px !important;
}

/* TABLET */
@media (max-width:1080px){
  #ab-site-header .ab-shell-header-inner{
    grid-template-columns:190px minmax(0,1fr) 64px !important;
    column-gap:10px !important;
  }
  #ab-site-header .ab-shell-brand{width:190px !important}
  #ab-site-header img.ab-shell-logo{
    width:180px !important;
    max-width:180px !important;
  }
  #ab-site-header .ab-shell-nav-link{
    font-size:12.5px !important;
    padding-inline:3px !important;
  }
}

/* MOBILE */
@media (max-width:860px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}

  .ab-shell-container{
    width:min(100% - 30px,1180px) !important;
    max-width:none !important;
    margin-inline:auto !important;
  }
  .ab-shell-devbar{
    min-height:27px !important;
    height:auto !important;
    padding:5px 12px !important;
    white-space:normal !important;
    line-height:1.2 !important;
  }
  .ab-shell-utility{min-height:40px !important;height:auto !important}
  .ab-shell-utility-inner{
    min-height:40px !important;
    height:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    padding-block:4px !important;
  }
  .ab-shell-tagline{
    min-width:0 !important;
    flex:1 1 auto !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    font-size:11px !important;
    line-height:1.2 !important;
  }
  .ab-shell-portal-wrap{flex:0 0 auto !important;height:auto !important}
  .ab-shell-coming-soon{display:none !important}
  .ab-shell-portal{font-size:11px !important;padding-inline:9px !important}

  #ab-site-header.ab-shell-header{height:74px !important;min-height:74px !important}
  #ab-site-header .ab-shell-header-inner{
    height:74px !important;
    min-height:74px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 44px 58px !important;
    align-items:center !important;
    gap:8px !important;
  }
  #ab-site-header .ab-shell-brand{
    width:auto !important;
    max-width:180px !important;
    height:58px !important;
    overflow:hidden !important;
  }
  #ab-site-header img.ab-shell-logo{
    width:auto !important;
    max-width:170px !important;
    height:45px !important;
    max-height:45px !important;
    object-fit:contain !important;
    object-position:left center !important;
  }
  #ab-site-header .ab-shell-menu-button{
    display:inline-flex !important;
    width:42px !important;
    height:42px !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    border:1px solid var(--ab-border) !important;
    border-radius:9px !important;
    background:#fff !important;
  }
  #ab-site-header .ab-shell-menu-button span{
    display:block !important;
    width:19px !important;
    height:2px !important;
    background:var(--ab-navy) !important;
  }
  #ab-site-header .ab-shell-call{display:flex !important;width:56px !important;height:38px !important}
  #ab-site-header .ab-shell-nav{
    display:none !important;
    position:absolute !important;
    top:74px !important;
    left:15px !important;
    right:15px !important;
    width:auto !important;
    height:auto !important;
    max-height:calc(100vh - 100px) !important;
    overflow-y:auto !important;
    grid-template-columns:1fr !important;
    gap:7px !important;
    padding:18px !important;
    background:#fff !important;
    border:1px solid var(--ab-border) !important;
    border-radius:20px !important;
    box-shadow:0 18px 44px rgba(11,34,53,.18) !important;
    z-index:5000 !important;
  }
  #ab-site-header .ab-shell-nav.is-open{display:grid !important}
  #ab-site-header .ab-shell-nav-link{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:auto !important;
    min-height:42px !important;
    padding:10px 12px !important;
    justify-content:flex-start !important;
    white-space:normal !important;
    font-size:14px !important;
  }
  #ab-site-footer .ab-shell-footer-grid{grid-template-columns:1fr !important;gap:20px !important}
  #ab-site-footer .ab-shell-legal-links{flex-wrap:wrap !important}
}

@media (max-width:560px){
  .ab-shell-container{width:calc(100% - 24px) !important}
  .ab-shell-tagline{font-size:10px !important}
  .ab-shell-portal{font-size:10px !important;padding-inline:8px !important}
  #ab-site-header .ab-shell-brand{max-width:150px !important}
  #ab-site-header img.ab-shell-logo{max-width:145px !important;height:42px !important}
  #ab-site-header .ab-shell-call{width:52px !important;font-size:12px !important}
}

/* Fixed navigation order correction.
   Every nav position remains identical on every desktop page. */
@media (min-width:1081px){
  #ab-site-header .ab-shell-header-inner{
    grid-template-columns:220px minmax(0,1fr) 70px !important;
  }

  #ab-site-header .ab-shell-nav{
    grid-template-columns:
      minmax(74px,1fr)
      minmax(82px,1fr)
      minmax(92px,1fr)
      minmax(92px,1fr)
      minmax(84px,1fr)
      minmax(74px,1fr)
      minmax(96px,1fr) !important;
  }

  #ab-site-header .ab-shell-nav-link{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }
}

/* AXISBRIDGE_TARGETED_VISUAL_GEO_V2_START */

/* Follow on LinkedIn remains visually associated with the shared header. */
.linkedin-under-nav{
  top:6px !important;
  right:max(16px,calc((100vw - 1180px)/2)) !important;
  margin-top:0 !important;
  z-index:20 !important;
  padding:7px 12px !important;
}

/* Branded footer social icons. */
#ab-site-footer .ab-shell-social-linkedin{background:#0A66C2 !important;border-color:#0A66C2 !important}
#ab-site-footer .ab-shell-social-facebook{background:#1877F2 !important;border-color:#1877F2 !important}
#ab-site-footer .ab-shell-social-instagram{
  background:radial-gradient(circle at 30% 107%,#fdf497 0 5%,#fd5949 38%,#d6249f 62%,#285AEB 90%) !important;
  border-color:transparent !important;
}
#ab-site-footer .ab-shell-social-linkedin:hover,
#ab-site-footer .ab-shell-social-linkedin:focus-visible,
#ab-site-footer .ab-shell-social-facebook:hover,
#ab-site-footer .ab-shell-social-facebook:focus-visible,
#ab-site-footer .ab-shell-social-instagram:hover,
#ab-site-footer .ab-shell-social-instagram:focus-visible{filter:brightness(1.08) !important}

@media(max-width:860px){
  /* New shared header is in normal flow; do not retain fixed-header offsets. */
  .linkedin-under-nav{
    position:static !important;
    inset:auto !important;
    transform:none !important;
    margin:8px 15px 0 auto !important;
    width:max-content !important;
    max-width:calc(100% - 30px) !important;
  }
}

/* AXISBRIDGE_TARGETED_VISUAL_GEO_V2_END */

/* AxisBridge legal footer links */
#ab-site-footer .ab-shell-legal-links{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  margin-top:16px !important;
  padding-top:12px !important;
  border-top:1px solid rgba(255,255,255,.16) !important;
  font-size:12px !important;
}
#ab-site-footer .ab-shell-legal-links a{
  color:rgba(255,255,255,.88) !important;
}
#ab-site-footer .ab-shell-footer-bottom{
  margin-top:8px !important;
  padding-top:0 !important;
  border-top:0 !important;
}

/* AXISBRIDGE_VISUAL_V6_HEADER_START */
@media (min-width:861px){
  /* Give the tagline actual vertical room; do not rely on line-height alone. */
  .ab-shell-utility{height:54px !important;min-height:54px !important;overflow:visible !important}
  .ab-shell-utility-inner{height:54px !important;min-height:54px !important;overflow:visible !important;align-items:center !important;padding:2px 0 !important;box-sizing:border-box !important}
  .ab-shell-portal-wrap{height:50px !important;align-items:center !important}
  .ab-shell-tagline{
    display:flex !important;align-items:center !important;
    min-height:34px !important;
    font-size:13px !important;line-height:1.5 !important;
    padding:2px 0 3px !important;margin:0 !important;
    overflow:visible !important;text-overflow:clip !important;white-space:nowrap !important;
  }

  /* Compact AB mark + single-line AxisBridge Consulting lockup. */
  #ab-site-header .ab-shell-header-inner{
    grid-template-columns:300px minmax(0,1fr) 70px !important;
    column-gap:14px !important;
  }
  #ab-site-header .ab-shell-brand{
    width:300px !important;max-width:300px !important;height:64px !important;
    display:flex !important;align-items:center !important;gap:12px !important;
    overflow:visible !important;white-space:nowrap !important;
  }
  #ab-site-header img.ab-shell-logo{
    width:72px !important;max-width:72px !important;height:54px !important;max-height:54px !important;
    object-fit:contain !important;object-position:left center !important;flex:0 0 72px !important;
  }
  #ab-site-header .ab-shell-brand-name{
    display:block !important;flex:0 0 auto !important;
    color:#163B63 !important;
    font-family:Inter,Arial,sans-serif !important;
    font-size:15px !important;line-height:1.15 !important;font-weight:750 !important;
    letter-spacing:-.02em !important;white-space:nowrap !important;
  }
}
@media (min-width:861px) and (max-width:1180px){
  #ab-site-header .ab-shell-header-inner{grid-template-columns:255px minmax(0,1fr) 64px !important;column-gap:10px !important}
  #ab-site-header .ab-shell-brand{width:255px !important;max-width:255px !important;gap:8px !important}
  #ab-site-header img.ab-shell-logo{width:62px !important;max-width:62px !important;height:48px !important;max-height:48px !important;flex-basis:62px !important}
  #ab-site-header .ab-shell-brand-name{font-size:13px !important}
}
@media (max-width:860px){#ab-site-header .ab-shell-brand-name{display:none !important}}
/* AXISBRIDGE_VISUAL_V6_HEADER_END */
/* AXISBRIDGE_SERVICE_MARK_V3_START */
#ab-site-header .ab-shell-brand-name .ab-shell-sm{
  display:inline-block !important;
  margin-left:3px !important;
  font-size:.56em !important;
  line-height:1 !important;
  font-weight:800 !important;
  vertical-align:super !important;
  position:relative !important;
  top:-.08em !important;
  color:inherit !important;
}
#ab-site-footer .ab-shell-service-mark-notice{
  width:min(100% - 30px,1180px) !important;
  margin:10px auto 0 !important;
  padding-top:10px !important;
  border-top:1px solid rgba(255,255,255,.16) !important;
  color:rgba(255,255,255,.68) !important;
  font-size:11px !important;
  line-height:1.4 !important;
}
@media(max-width:860px){
  #ab-site-footer .ab-shell-service-mark-notice{font-size:10.5px !important;}
}
/* AXISBRIDGE_SERVICE_MARK_V3_END */

/* AXISBRIDGE_FOOTER_LOGO_SM_V1_START */
#ab-site-footer .ab-shell-footer-logo-mark{
  position:relative !important;
  display:inline-block !important;
  line-height:0 !important;
}
#ab-site-footer .ab-shell-footer-logo-mark .ab-shell-footer-logo{
  margin-bottom:0 !important;
}
#ab-site-footer .ab-shell-footer-sm{
  position:absolute !important;
  top:3px !important;
  left:44px !important;
  right:auto !important;
  margin:0 !important;
  padding:0 !important;
  color:rgba(255,255,255,.88) !important;
  font-family:Inter,Arial,sans-serif !important;
  font-size:9px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
}
#ab-site-footer .ab-shell-footer-logo-mark + p{
  margin-top:15px !important;
}
/* AXISBRIDGE_FOOTER_LOGO_SM_V1_END */
