/*
 * Shared GEOWINGS header for all front-end pages except the custom homepage.
 */
body:not(.page-template-page-geowings) {
  background: #031115;
}
body:not(.page-template-page-geowings) #masthead,
body:not(.page-template-page-geowings) #colophon,
body:not(.page-template-page-geowings) .site-header,
body:not(.page-template-page-geowings) .site-footer {
  display: none !important;
}
body:not(.page-template-page-geowings) .entry-header,
body:not(.page-template-page-geowings) .entry-title {
  display: none !important;
}
.gw-global-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #031115;
  border-bottom: 1px solid rgba(0, 220, 224, .55);
  box-sizing: border-box;
}
.gw-global-header-inner {
  width: 100%;
  max-width: 1600px;
  min-height: 92px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
}
.gw-global-brand {
  display: flex;
  flex: 0 0 255px;
  align-items: center;
}
.gw-global-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 66px;
  object-fit: contain;
}
.gw-global-header .gw-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}
.gw-global-header .gw-nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.gw-global-header .gw-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gw-global-header .gw-nav-list a {
  display: block;
  color: #f4fbfc;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  padding: 13px 0;
  border-bottom: 3px solid transparent;
}
.gw-global-header .gw-nav-list a:hover,
.gw-global-header .gw-nav-list .current-menu-item > a,
.gw-global-header .gw-nav-list .current_page_item > a,
.gw-global-header .gw-nav-list .current-menu-ancestor > a {
  color: #00d6dc;
  border-color: #00d6dc;
}
.gw-global-header .gw-menu-toggle {
  display: none;
}
@media (max-width: 1050px) {
  .gw-global-header-inner { min-height: 82px; }
  .gw-global-brand { flex-basis: 210px; }
  .gw-global-header .gw-nav-list { gap: 13px; }
  .gw-global-header .gw-nav-list a { font-size: 13px; }
}
@media (max-width: 700px) {
  .gw-global-header-inner {
    min-height: 72px;
    position: relative;
    padding: 0 14px;
  }
  .gw-global-brand { flex: 0 1 205px; }
  .gw-global-brand img { max-height: 52px; }
  .gw-global-header .gw-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
  }
  .gw-global-header .gw-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #00d6dc;
    border-radius: 3px;
  }
  .gw-global-header .gw-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    z-index: 1001;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 18px 14px;
    background: #031115;
    border: 1px solid rgba(0,214,220,.55);
    border-top: 0;
  }
  .gw-global-header .gw-nav.is-open { display: flex; }
  .gw-global-header .gw-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .gw-global-header .gw-nav-list a {
    font-size: 15px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(0,214,220,.15);
  }
}


/* Shared GEOWINGS footer on all subpages (same visual components as homepage). */
.gw-shared-footer {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  background: #031115;
  color: #f5fbfc;
  font-family: Arial, Helvetica, sans-serif;
}
.gw-shared-footer .gw-about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 52px clamp(24px, 5vw, 76px);
  border-top: 1px solid rgba(0,214,220,.3);
  border-bottom: 1px solid rgba(0,214,220,.3);
  background: #071b20;
}
.gw-shared-footer .gw-eyebrow {
  color: #00d6dc;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .18em;
  margin: 0 0 14px;
}
.gw-shared-footer .gw-about h2,
.gw-shared-footer .gw-contact h2 {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.gw-shared-footer .gw-about p:not(.gw-eyebrow),
.gw-shared-footer .gw-contact p:not(.gw-eyebrow) {
  color: #d5e3e5;
  font-size: 17px;
  line-height: 1.65;
  max-width: 760px;
  margin: 0;
}
.gw-shared-footer .gw-outline-button,
.gw-shared-footer .gw-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #f6ffff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #00d6dc;
  border-radius: 999px;
  padding: 10px 18px;
  transition: .2s ease;
  white-space: nowrap;
}
.gw-shared-footer .gw-outline-button:hover {
  background: #00d6dc;
  color: #031115;
}
.gw-shared-footer .gw-outline-button span,
.gw-shared-footer .gw-primary-button span {
  color: #00d6dc;
  font-size: 20px;
}
.gw-shared-footer .gw-outline-button:hover span {
  color: #031115;
}
.gw-shared-footer .gw-contact {
  text-align: center;
  padding: 64px 20px 72px;
}
.gw-shared-footer .gw-contact .gw-eyebrow {
  margin-bottom: 12px;
}
.gw-shared-footer .gw-contact p:not(.gw-eyebrow) {
  margin: 0 auto 24px;
}
.gw-shared-footer .gw-primary-button {
  background: #00d6dc;
  color: #031115;
  border-color: #00d6dc;
}
.gw-shared-footer .gw-primary-button span {
  color: #031115;
}
.gw-shared-footer .gw-primary-button:hover {
  background: transparent;
  color: #fff;
}
.gw-shared-footer .gw-primary-button:hover span {
  color: #00d6dc;
}
.gw-shared-footer .gw-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 6px 6px;
  border-top: 1px solid rgba(0,214,220,.35);
  color: #a9c0c4;
  font-size: 13px;
  background: #031115;
}
.gw-shared-footer .gw-footer img {
  width: 150px;
  height: auto;
}
.gw-shared-footer .gw-footer p {
  margin: 0;
}
.gw-shared-footer .gw-footer a {
  color: #00d6dc;
  text-decoration: none;
}
@media (max-width: 700px) {
  .gw-shared-footer { padding: 0 14px; }
  .gw-shared-footer .gw-about { display: block; padding: 36px 22px; }
  .gw-shared-footer .gw-about .gw-outline-button { margin-top: 22px; }
  .gw-shared-footer .gw-contact { padding: 48px 14px 54px; }
  .gw-shared-footer .gw-footer { flex-direction: column; text-align: center; }
  .gw-shared-footer .gw-footer img { width: 138px; }
}


/* GEOWINGS dropdown navigation: desktop hover/focus and mobile tap. */
.gw-global-header .gw-nav-list > li { position: relative; }
.gw-global-header .gw-nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 1100;
  min-width: 230px;
  margin: 0;
  padding: 8px 14px;
  list-style: none;
  background: #031115;
  border: 1px solid rgba(0,214,220,.55);
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}
.gw-global-header .gw-nav-list li.menu-item-has-children:hover > .sub-menu,
.gw-global-header .gw-nav-list li.menu-item-has-children:focus-within > .sub-menu,
.gw-global-header .gw-nav-list li.menu-item-has-children.submenu-open > .sub-menu {
  display: block;
}
.gw-global-header .gw-nav-list .sub-menu li { display: block; }
.gw-global-header .gw-nav-list .sub-menu a {
  display: block;
  padding: 11px 5px;
  border-bottom: 1px solid rgba(0,214,220,.15);
  white-space: normal;
}
.gw-global-header .gw-nav-list .sub-menu li:last-child > a { border-bottom: 0; }
.gw-global-header .gw-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: 5px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #00d6dc;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  vertical-align: middle;
}
.gw-global-header .gw-submenu-toggle:focus-visible {
  outline: 2px solid #00d6dc;
  outline-offset: 2px;
}
@media (min-width: 701px) {
  .gw-global-header .gw-submenu-toggle { display: none; }
}
@media (max-width: 700px) {
  .gw-global-header .gw-nav-list > li { display: flex; flex-wrap: wrap; align-items: center; }
  .gw-global-header .gw-nav-list > li > a { flex: 1 1 auto; width: auto; }
  .gw-global-header .gw-nav-list .sub-menu {
    position: static;
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 0 4px 16px;
    border: 0;
    border-left: 2px solid rgba(0,214,220,.45);
    box-shadow: none;
    background: rgba(0,214,220,.045);
  }
  .gw-global-header .gw-nav-list li.menu-item-has-children:hover > .sub-menu,
  .gw-global-header .gw-nav-list li.menu-item-has-children:focus-within > .sub-menu {
    display: none;
  }
  .gw-global-header .gw-nav-list li.menu-item-has-children.submenu-open > .sub-menu { display: block; }
  .gw-global-header .gw-submenu-toggle { width: 44px; height: 44px; margin: 0; }
  .gw-global-header .gw-submenu-toggle span { transition: transform .18s ease; }
  .gw-global-header li.submenu-open > .gw-submenu-toggle span { transform: rotate(180deg); }
}


/* GEOWINGS submenu refinement v1.2.2: clean desktop dropdown + mobile accordion. */
.gw-nav-list > li.menu-item-has-children { position: relative !important; display: block !important; }
.gw-nav-list > li.menu-item-has-children > .gw-submenu-toggle { display: none !important; }
.gw-nav-list > li.menu-item-has-children > a { display: block; }
.gw-nav-list > li.menu-item-has-children > a::after {
  content: "⌄"; display: inline-block; margin-left: 8px; color: #00d6dc;
  font-size: .78em; vertical-align: 2px; transition: transform .18s ease;
}
.gw-nav-list > li.menu-item-has-children:hover > a::after,
.gw-nav-list > li.menu-item-has-children:focus-within > a::after { transform: rotate(180deg); }
.gw-nav-list > li.menu-item-has-children > .sub-menu {
  display: none !important; position: absolute !important; top: 100% !important; left: 0 !important;
  z-index: 1200 !important; width: 270px; min-width: 270px; margin: 0 !important;
  padding: 7px 0 !important; list-style: none; background: #031115 !important;
  border: 1px solid rgba(0,214,220,.5) !important; border-top: 2px solid #00d6dc !important;
  border-radius: 0 0 6px 6px; box-shadow: 0 12px 24px rgba(0,0,0,.32);
}
.gw-nav-list > li.menu-item-has-children:hover > .sub-menu,
.gw-nav-list > li.menu-item-has-children:focus-within > .sub-menu,
.gw-nav-list > li.menu-item-has-children.submenu-open > .sub-menu { display: block !important; }
.gw-nav-list > li.menu-item-has-children > .sub-menu > li { display: block !important; width: 100%; }
.gw-nav-list > li.menu-item-has-children > .sub-menu > li > a {
  display: block !important; width: 100%; box-sizing: border-box; padding: 12px 17px !important;
  margin: 0; color: #f4fbfc; font-size: 14px; line-height: 1.4; white-space: normal;
  border: 0 !important; text-decoration: none;
}
.gw-nav-list > li.menu-item-has-children > .sub-menu > li > a:hover,
.gw-nav-list > li.menu-item-has-children > .sub-menu > li.current-menu-item > a {
  color: #00d6dc; background: rgba(0,214,220,.08);
}
@media (max-width: 700px) {
  .gw-global-header .gw-nav-list > li.menu-item-has-children,
  .gw-header .gw-nav-list > li.menu-item-has-children { display: flex !important; flex-wrap: wrap; align-items: center; }
  .gw-global-header .gw-nav-list > li.menu-item-has-children > a,
  .gw-header .gw-nav-list > li.menu-item-has-children > a { flex: 1 1 0; width: auto; }
  .gw-global-header .gw-nav-list > li.menu-item-has-children > a::after,
  .gw-header .gw-nav-list > li.menu-item-has-children > a::after { content: none; }
  .gw-global-header .gw-nav-list > li.menu-item-has-children > .gw-submenu-toggle,
  .gw-header .gw-nav-list > li.menu-item-has-children > .gw-submenu-toggle {
    display: inline-flex !important; flex: 0 0 44px; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 4px;
    color: #00d6dc; background: transparent; font-size: 21px; cursor: pointer;
  }
  .gw-global-header .gw-nav-list > li.menu-item-has-children > .sub-menu,
  .gw-header .gw-nav-list > li.menu-item-has-children > .sub-menu {
    position: static !important; display: none !important; flex: 0 0 100%; width: 100%; min-width: 0;
    margin: 0 0 6px 0 !important; padding: 3px 0 3px 14px !important;
    border: 0 !important; border-left: 2px solid rgba(0,214,220,.55) !important;
    border-radius: 0; box-shadow: none; background: rgba(0,214,220,.045) !important;
  }
  .gw-global-header .gw-nav-list > li.menu-item-has-children.submenu-open > .sub-menu,
  .gw-header .gw-nav-list > li.menu-item-has-children.submenu-open > .sub-menu { display: block !important; }
  .gw-global-header .gw-nav-list > li.menu-item-has-children > .sub-menu > li > a,
  .gw-header .gw-nav-list > li.menu-item-has-children > .sub-menu > li > a { padding: 11px 8px !important; }
  .gw-global-header .gw-nav-list > li.menu-item-has-children > .gw-submenu-toggle span,
  .gw-header .gw-nav-list > li.menu-item-has-children > .gw-submenu-toggle span { transition: transform .18s ease; }
  .gw-global-header .gw-nav-list > li.menu-item-has-children.submenu-open > .gw-submenu-toggle span,
  .gw-header .gw-nav-list > li.menu-item-has-children.submenu-open > .gw-submenu-toggle span { transform: rotate(180deg); }
}
