.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: calc(100% - 8px);
  height: 116px;
  margin: 4px auto 0;
  padding: 0 42px;
  gap: 30px;
  border: 1px solid rgba(31, 52, 47, .07);
  border-radius: 10px 10px 0 0;
  background: #f3f1ed;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .brand {
  flex: 0 0 270px;
  width: 270px;
  height: 84px;
}

.site-header .brand img {
  width: 100%;
  height: auto;
}

.site-header .main-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(20px, 1.8vw, 38px);
  margin: 0;
}

.site-header .main-nav a {
  padding: 44px 0 37px;
  color: #202321;
  font-size: 15px;
  font-weight: 600;
}

.site-header .main-nav a::after {
  bottom: 30px;
  height: 1px;
  background: #78aaa0;
}

.site-header .main-nav a.active {
  color: #417572;
}

.site-header .header-actions {
  flex: 0 0 auto;
  gap: 26px;
}

.site-header .phone {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #202321;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-header .phone span {
  width: 22px;
  height: 22px;
  overflow: hidden;
  color: #417572;
  border-radius: 50% 50% 50% 10%;
  background: #417572;
  font-size: 0;
  transform: rotate(-38deg) scale(.65);
}

.site-header .button.small {
  display: inline-flex;
  gap: 10px;
  padding: 15px 23px;
  border-radius: 999px;
  background: #d7e8e1;
  color: #1e2825;
  font-size: 15px;
  white-space: nowrap;
}

.site-header .button.small span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #417572;
  font-size: 12px;
}

.site-header .button.small:hover {
  background: #417572;
  color: #fff;
}

.anchor-target {
  position: relative;
  top: -120px;
}

@media (max-width: 1380px) {
  .site-header {
    padding: 0 24px;
    gap: 20px;
  }

  .site-header .brand {
    flex-basis: 220px;
    width: 220px;
  }

  .site-header .main-nav {
    gap: 18px;
  }

  .site-header .main-nav a {
    font-size: 13px;
  }

  .site-header .header-actions {
    gap: 14px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    height: 88px;
    border-radius: 0;
  }

  .site-header .brand {
    flex-basis: 205px;
    width: 205px;
    height: 65px;
  }

  .site-header .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-header .main-nav {
    position: fixed;
    inset: 92px 4px auto;
    display: none;
    align-items: flex-start;
    gap: 10px;
    padding: 26px;
    border-radius: 0 0 14px 14px;
    background: #f3f1ed;
  }

  .site-header .main-nav.open {
    display: flex;
  }

  .site-header .main-nav a {
    width: 100%;
    padding: 8px 0;
    font-size: 15px;
  }

  .site-header .main-nav a::after {
    bottom: 2px;
  }

  .site-header .phone {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: 100%;
    height: 78px;
    margin: 0;
    padding: 0 17px;
  }

  .site-header .brand {
    flex-basis: 172px;
    width: 172px;
    height: 54px;
  }

  .site-header .header-actions {
    display: none;
  }

  .site-header .main-nav {
    inset: 78px 0 auto;
  }
}
