.qs-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fffffffa;
  border-bottom: 1px solid #dce7e0;
  box-shadow: 0 5px 22px rgba(25, 55, 40, .055);
  backdrop-filter: blur(14px);
}
.qs-site-header .qs-header-inner {
  box-sizing: border-box;
  width: min(1240px, calc(100% - 44px));
  min-height: 106px;
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.qs-brand { flex: 0 1 320px; min-width: 0; }
.qs-brand img {
  width: 100%;
  max-width: min(42vw, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(32, 40, 83, .10));
}
.qs-primary-nav {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  font: 650 14px/1.25 var(--qs-ui-font, system-ui);
}
.qs-primary-nav > a, .qs-explore > summary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 9px 14px;
  border: 1px solid #183a30;
  border-radius: 10px;
  background: #fff;
  color: #183a30;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 5px #00000011;
  transition: background .18s, color .18s, transform .18s;
}
.qs-primary-nav > a:hover, .qs-explore > summary:hover,
.qs-explore[open] > summary {
  background: #eaf5ee;
  color: #176c59;
  transform: translateY(-1px);
}
.qs-primary-nav > .qs-contact {
  padding-inline: 17px;
  border-color: #176c59;
  background: #176c59;
  color: #fff;
}
.qs-primary-nav > .qs-contact:hover { background: #104d40; color: #fff; }
.qs-explore { position: relative; }
.qs-explore > summary { cursor: pointer; list-style: none; gap: 8px; }
.qs-explore > summary::-webkit-details-marker { display: none; }
.qs-explore > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.qs-explore[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.qs-explore-links {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  padding: 8px;
  border: 1px solid #dce7e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(20, 32, 58, .14);
}
.qs-explore-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: #183a30;
  text-decoration: none;
}
.qs-explore-links a:hover, .qs-explore-links a[aria-current="page"] {
  background: #eaf5ee;
  color: #176c59;
}
.qs-site-header :is(a, button, summary):focus-visible {
  outline: 3px solid #cf815a;
  outline-offset: 3px;
}
.qs-menu-toggle { display: none; }
@media (max-width: 1100px) {
  .qs-brand { flex-basis: 250px; }
  .qs-primary-nav { gap: 7px; font-size: 13px; }
  .qs-primary-nav > a, .qs-explore > summary { padding-inline: 11px; }
}
@media (max-width: 1240px) {
  .qs-site-header .qs-header-inner { min-height: 88px; }
  .qs-brand img { max-width: min(215px, 70vw); }
  .qs-menu-toggle {
    display: block;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid #dce7e0;
    border-radius: 9px;
    background: #fff;
    color: #176c59;
    font-size: 24px;
    cursor: pointer;
  }
  .qs-primary-nav { display: none; }
  .qs-primary-nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: flex-start;
    max-height: calc(100dvh - 88px);
    overflow: auto;
    padding: 16px 24px;
    background: #fff;
    border-bottom: 1px solid #dce7e0;
    box-shadow: 0 15px 25px #173d3210;
    font-size: 15px;
  }
  .qs-primary-nav > a, .qs-explore > summary { justify-content: flex-start; width: 100%; }
  .qs-explore-links {
    position: static;
    min-width: 0;
    border: 0;
    padding: 4px 0 0 10px;
    box-shadow: none;
  }
}
@media (max-width: 620px) {
  .qs-site-header .qs-header-inner { width: calc(100% - 30px); }
}
@media (prefers-reduced-motion: reduce) {
  .qs-primary-nav > a, .qs-explore > summary { transition: none; transform: none; }
}
