:root {
  --site-header-height: 78px;
  --site-header-inline-padding: 30px;
  --site-logo-width: 168px;
  --site-logo-height: 49px;
}

html {
  scrollbar-gutter: stable;
}

.site-header.global-header {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(7, 28, 34, 0.08) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: clamp(18px, 2.5vw, 34px) !important;
  height: var(--site-header-height) !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  max-height: var(--site-header-height) !important;
  max-width: none !important;
  min-height: var(--site-header-height) !important;
  padding: 14px var(--site-header-inline-padding) !important;
  position: sticky !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 50 !important;
}

.global-header .brand {
  align-items: center !important;
  display: flex !important;
  flex: 0 0 var(--site-logo-width) !important;
  height: var(--site-logo-height) !important;
  line-height: 0 !important;
  margin: 0 !important;
  width: var(--site-logo-width) !important;
}

.global-header .brand img {
  display: block !important;
  flex: 0 0 auto !important;
  height: var(--site-logo-height) !important;
  margin: 0 !important;
  max-height: var(--site-logo-height) !important;
  max-width: var(--site-logo-width) !important;
  object-fit: contain !important;
  width: var(--site-logo-width) !important;
}

.global-header .primary-nav {
  flex: 1 1 auto !important;
  margin: 0 !important;
  min-width: 0 !important;
}

.global-header .menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #12343b;
  cursor: pointer;
  display: none;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.global-header .nav-list,
.global-header .submenu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.global-header .nav-list {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  gap: clamp(18px, 2vw, 30px) !important;
}

.global-header .nav-item {
  margin: 0 !important;
  position: relative;
}

.global-header .nav-link,
.global-header .submenu-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #12343b !important;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px !important;
  font-weight: 760 !important;
  gap: 6px;
  line-height: 1.2 !important;
  padding: 0 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.global-header .nav-link:hover,
.global-header .submenu-button:hover,
.global-header .nav-link:focus-visible,
.global-header .submenu-button:focus-visible,
.global-header .nav-link.is-active {
  color: #0e7a72 !important;
  outline: none;
}

.global-header .submenu {
  background: #ffffff;
  border: 1px solid rgba(7, 28, 34, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 60px -32px rgba(7, 28, 34, 0.45);
  left: 0;
  min-width: 212px;
  opacity: 0;
  padding: 8px !important;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 14px);
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
  visibility: hidden;
  z-index: 60;
}

.global-header .nav-item.is-open .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.global-header .submenu a {
  border-radius: 7px;
  color: #12343b !important;
  display: block;
  font-size: 15px;
  font-weight: 760;
  padding: 10px 12px;
  text-decoration: none;
}

.global-header .submenu a:hover,
.global-header .submenu a:focus-visible {
  background: #eef5f3;
  color: #0e7a72 !important;
  outline: none;
}

.global-header .site-actions {
  align-items: center !important;
  display: flex !important;
  flex: 0 0 auto !important;
  gap: 12px !important;
  margin: 0 0 0 auto !important;
}

.global-header .search-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #12343b !important;
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.global-header .search-button:hover,
.global-header .search-button:focus-visible,
.global-header .menu-toggle:hover,
.global-header .menu-toggle:focus-visible {
  background: #eef5f3;
  color: #0e7a72 !important;
  outline: 2px solid transparent;
}

.global-header .header-cta {
  align-items: center;
  background: #071c22 !important;
  border: 1px solid #071c22 !important;
  border-radius: 8px;
  color: #ffffff !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  text-decoration: none !important;
  transition: background 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.global-header .header-cta:hover,
.global-header .header-cta:focus-visible {
  background: #0d2b33 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .global-header .nav-list {
    gap: 16px !important;
  }

  .global-header .header-cta {
    padding-inline: 16px;
  }
}

@media (max-width: 900px) {
  :root {
    --site-header-inline-padding: 14px;
  }

  .global-header .menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
    order: 2;
  }

  .global-header .primary-nav {
    background: #ffffff;
    border-top: 1px solid rgba(7, 28, 34, 0.1);
    box-shadow: 0 26px 46px -32px rgba(7, 28, 34, 0.48);
    display: none;
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .global-header .primary-nav.is-open {
    display: block;
  }

  .global-header .nav-list {
    align-items: stretch !important;
    display: block !important;
    padding: 12px 18px 18px !important;
  }

  .global-header .nav-link,
  .global-header .submenu-button {
    min-height: 42px;
    width: 100%;
  }

  .global-header .submenu {
    border: 0;
    box-shadow: none;
    display: none;
    min-width: 0;
    padding: 0 0 6px 12px !important;
    position: static;
    transform: none;
  }

  .global-header .nav-item.is-open .submenu {
    display: block;
  }

  .global-header .site-actions {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-header .submenu,
  .global-header .header-cta {
    transition: none;
  }
}
