.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border: 0;
  box-shadow: 0 1px 0 rgba(18, 29, 22, 0.14);
}

.site-header .navbar {
  position: static;
  height: 84px;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.site-header .header-main {
  width: min(100% - 48px, 1380px);
  height: 84px;
  min-height: 84px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
}

.site-header .brand-text {
  color: #24653a;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header .nav-menu {
  position: static;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  gap: 4px;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  list-style: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-header .nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.site-header .nav-link {
  width: auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #202020;
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .dropdown:focus-within > .nav-link {
  border-bottom-color: #24653a;
  background: transparent;
  color: #24653a;
}

.site-header .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1001;
  width: min(680px, calc(100vw - 48px));
  min-width: 620px;
  max-height: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 24px;
  overflow: visible;
  list-style: none;
  border: 1px solid #d9d9d4;
  border-top: 3px solid #24653a;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 30, 24, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-header .dropdown-menu.active,
.site-header .dropdown:hover .dropdown-menu,
.site-header .dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.site-header .dropdown-menu li {
  min-width: 0;
  border: 0;
}

.site-header .dropdown-link {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #202020;
  font-family: "Source Sans 3", sans-serif;
  text-decoration: none;
}

.site-header .dropdown-link strong,
.site-header .dropdown-link span {
  display: block;
}

.site-header .dropdown-link strong {
  color: #24653a;
  font-size: 15px;
  font-weight: 700;
}

.site-header .dropdown-link span {
  margin-top: 3px;
  color: #6b6b67;
  font-size: 12px;
}

.site-header .dropdown-link:hover,
.site-header .dropdown-link:focus-visible {
  background: #f3f5f1;
  color: #202020;
  text-decoration: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.header-tools a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #24653a;
  border-radius: 0;
  background: #fff;
  color: #24653a;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(36, 101, 58, 0.14);
}

.header-tools a:hover,
.header-tools a:focus-visible {
  background: #24653a;
  color: #fff;
}

.site-header .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.site-header .nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: #202020;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header .nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.site-header .nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.site-header .nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1080px) {
  .site-header .header-main {
    gap: 20px;
  }

  .site-header .nav-link {
    padding: 0 9px;
    font-size: 14px;
  }

}

@media (max-width: 860px) {
  .site-header .header-main {
    width: min(100% - 28px, 1380px);
    height: 68px;
    min-height: 68px;
    position: relative;
    display: flex;
    justify-content: center;
  }

  .site-header .navbar {
    height: 68px;
  }

  .site-header .brand-text {
    font-size: 36px;
  }

  .site-header .nav-toggle {
    position: absolute;
    left: 0;
    display: block;
  }

  .header-tools {
    position: absolute;
    right: 0;
  }

  .header-tools a {
    min-height: 34px;
    padding: 0 11px;
    font-size: 13px;
  }

  .site-header .nav-menu {
    position: absolute;
    top: 68px;
    left: -14px;
    right: -14px;
    display: block;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid #deded9;
    box-shadow: 0 12px 20px rgba(20, 30, 24, 0.14);
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transform: translateY(-12px);
    transform-origin: top;
    transition: max-height 220ms cubic-bezier(0.22, 1, 0.36, 1),
          opacity 160ms ease,
          transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
          clip-path 220ms ease-in-out;
    will-change: max-height, opacity, transform, clip-path;
  }

  .site-header .nav-menu.active {
    max-height: 680px;
    overflow: auto;
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0);
    transform: translateY(0);
  }

  .site-header .nav-item {
    display: block;
  }

  .site-header .nav-link {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0 20px;
    border: 0;
    border-bottom: 1px solid #e4e4df;
    background: #fff;
    color: #202020;
  }

  .site-header .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 200ms ease;
  }

  .site-header .dropdown-menu.active {
    max-height: 520px;
    transform: none;
  }

  .site-header .dropdown:hover .dropdown-menu,
  .site-header .dropdown:focus-within .dropdown-menu {
    transform: none;
  }

  .site-header .dropdown:hover .dropdown-menu:not(.active),
  .site-header .dropdown:focus-within .dropdown-menu:not(.active) {
    max-height: 0;
  }

  .site-header .dropdown-link {
    min-height: 48px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 20px;
    border-bottom: 1px solid #ededeb;
    background: #fff;
    color: #202020;
    font-size: 14px;
    font-weight: 600;
  }

  .site-header .dropdown-link strong {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
  }

  .site-header .dropdown-link span {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header .brand-text {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .dropdown-menu,
  .site-header .nav-menu,
  .site-header .nav-toggle span {
    transition: none;
  }
}