/* Shared header component. Page styles must not change its dimensions or typography. */
html {
  scrollbar-gutter: stable;
}
.site-header {
  --site-header-height: 96px;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  box-shadow: 0 2px 20px #294c3505;
  font:
    400 16px/1.8 Manrope,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.site-header * {
  box-sizing: border-box;
}
.site-header a {
  color: inherit;
  text-decoration: none;
}
.site-header button {
  font-family: inherit;
  cursor: pointer;
  letter-spacing: normal;
  box-shadow: none;
  transform: none;
}
.site-header :focus-visible {
  outline: 2px solid #4ea259;
  outline-offset: 4px;
}
body .site-header .nav-shell {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--content-max, 1280px), calc(100% - 2 * var(--page-gutter, 48px)));
  max-width: var(--content-max, 1280px);
  height: var(--site-header-height);
  margin: 0 auto;
  padding: 0;
  border: 0;
}
.site-header .brand {
  display: flex;
  flex: 0 0 150px;
  width: 150px;
  align-items: center;
  margin: 0 auto 0 0;
  padding: 0;
  line-height: 1;
}
.site-header .official-logo {
  display: block;
  width: 150px;
  max-width: none;
  height: auto;
  object-fit: contain;
}
.site-header nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 9px;
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 20px;
}
.site-header .nav-item {
  display: block;
  position: relative;
  width: auto;
  margin: 0;
  border-radius: 24px;
}
.site-header .nav-trigger {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 24px;
  background: transparent;
  color: #293f31;
  transition:
    background 0.18s,
    color 0.18s;
}
.site-header .nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: normal;
  white-space: nowrap;
  transform: none;
}
.site-header .nav-trigger:has(.submenu-toggle) .nav-link {
  padding-right: 0;
}
.site-header .nav-link::after {
  display: none;
}
.site-header .submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 44px;
  margin: 0 4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0 24px 24px 0;
  background: transparent;
  color: inherit;
  font-size: 17px;
  line-height: 1;
}
.site-header .nav-chevron {
  display: block;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s;
  transform-origin: center;
}
.site-header nav > .nav-link.active,
.site-header .nav-item.active > .nav-trigger,
.site-header .nav-item.expanded > .nav-trigger {
  background: #edf5ea;
  color: #3e9149;
}
.site-header .nav-item.expanded .nav-chevron {
  transform: rotate(180deg);
}
.site-header .nav-trigger:has(:focus-visible) {
  outline: 2px solid #4ea259;
  outline-offset: 3px;
}
.site-header .nav-trigger .nav-link:focus-visible,
.site-header .nav-trigger .submenu-toggle:focus-visible {
  outline: none;
}
.site-header .nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 230px;
  min-width: 230px;
  margin: 0;
  padding: 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 55px #203c3226;
}
.site-header .nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.site-header .nav-item.expanded .nav-dropdown {
  display: grid;
}
.site-header .dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  color: #375d40;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: normal;
  transform: none;
}
.site-header .dropdown-link:hover {
  background: #f0f7ed;
}
.site-header .site-search {
  display: flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: #48634e;
  line-height: 1;
}
.site-header .site-search svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.site-header .phone {
  display: flex;
  flex: 0 0 154px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 154px;
  height: 50px;
  margin: 0;
  padding: 0 0 0 22px;
  border: 0;
  border-left: 1px solid #e6ebe5;
  color: #263d2e;
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 22px;
  letter-spacing: normal;
  white-space: nowrap;
}
.site-header .phone small {
  display: block;
  margin: 0;
  padding: 0;
  color: #78887d;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 1px;
}
.site-header .phone-number {
  display: block;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 22px;
  letter-spacing: normal;
  font-variant-numeric: tabular-nums;
}
.site-header .menu-toggle {
  display: none;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #31543a;
  font-size: 22px;
  line-height: 1;
}
@media (hover: hover) and (min-width: 951px) {
  .site-header .nav-trigger:hover,
  .site-header nav > .nav-link:hover {
    background: #edf5ea;
    color: #3e9149;
  }
}
@media (min-width: 951px) and (max-width: 1400px) {
  body .site-header .nav-shell {
    gap: 16px;
  }
  .site-header nav {
    gap: 4px;
  }
  .site-header .nav-link {
    padding-inline: 10px;
  }
  .site-header .submenu-toggle {
    flex-basis: 28px;
    width: 28px;
    margin-right: 2px;
  }
}
@media (max-width: 1250px) {
  .site-header .phone {
    display: none;
  }
}
@media (min-width: 951px) and (max-width: 1100px) {
  body .site-header .nav-shell {
    gap: 12px;
  }
  .site-header nav {
    gap: 0;
  }
  .site-header .nav-link {
    padding-inline: 8px;
  }
  .site-header .submenu-toggle {
    flex-basis: 24px;
    width: 24px;
    margin-right: 0;
  }
}
@media (max-width: 950px) {
  .site-header {
    --site-header-height: 78px;
  }
  body .site-header .nav-shell {
    gap: 14px;
  }
  .site-header .menu-toggle {
    display: flex;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: var(--site-header-height);
    left: 0;
    right: 0;
    width: auto;
    padding: 20px 24px 28px;
    background: #fff;
    max-height: calc(100vh - var(--site-header-height));
    max-height: calc(100dvh - var(--site-header-height));
    overflow: auto;
    box-shadow: 0 15px 30px #2b453318;
  }
  .site-header nav.open {
    display: block;
  }
  .site-header .nav-item {
    width: 100%;
    margin-bottom: 4px;
  }
  .site-header .nav-trigger {
    width: 100%;
  }
  .site-header .nav-trigger .nav-link {
    flex: 1;
  }
  .site-header .submenu-toggle {
    flex-basis: 44px;
    width: 44px;
    margin-right: 4px;
  }
  .site-header .nav-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    padding: 8px 10px;
    background: #f8faf6;
    box-shadow: none;
  }
  .site-header .nav-dropdown::before {
    display: none;
  }
  .site-header .nav-item.expanded .nav-dropdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header .dropdown-link {
    gap: 10px;
  }
}
@media (max-width: 640px) {
  .site-header {
    --site-header-height: 73px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-chevron,
  .site-header .nav-trigger {
    transition: none;
  }
}
