.sh {
  --sh-orange: #ff6a00;
  --sh-h: clamp(60px, 3.90625vw, 75px);
  font-family: "Raleway", Arial, sans-serif;
}
.sh__bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--sh-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 3.75vw, 72px);
  background: #f5f8f9;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
html.sh-on .sh__bar {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s linear 0s;
}
.sh__logo {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.3125vw, 6px);
  margin-right: auto;
  color: #000;
  text-decoration: none;
  flex-shrink: 0;
}
.sh__logo img {
  display: block;
  width: auto;
  height: clamp(46px, 3.177vw, 61px);
}
.sh__logo span {
  font-size: clamp(12px, 0.7366vw, 14.14px);
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}
.sh__mail,
.sh__phone {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.729vw, 14px);
  color: #1f1f1f;
  font-size: clamp(15px, 0.9375vw, 18px);
  font-weight: 700;
  line-height: 1.24;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.sh__mail:hover,
.sh__phone:hover {
  color: var(--sh-orange);
}
.sh__mail svg,
.sh__phone svg {
  width: clamp(26px, 1.667vw, 32px);
  height: clamp(26px, 1.667vw, 32px);
  flex-shrink: 0;
}
.sh__mail {
  margin-right: clamp(32px, 5vw, 96px);
}
.sh__phone {
  margin-right: clamp(32px, 5vw, 96px);
}
.sh__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(44px, 2.552vw, 49px);
  padding: 0 clamp(24px, 2.552vw, 49px);
  min-width: clamp(180px, 11.927vw, 229px);
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #f27100 0%, #fe8f00 50%, #f27100 100%);
  background-size: 200% 100%;
  color: #fff;
  font-family: inherit;
  font-size: clamp(15px, 0.8333vw, 16px);
  font-weight: 700;
  line-height: 1.24;
  cursor: pointer;
  white-space: nowrap;
  transition: background-position 0.4s, box-shadow 0.2s;
}
.sh__btn:hover {
  background-position: 100% 0;
  box-shadow: 0 6px 18px rgba(242, 113, 0, 0.35);
}
.sh__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: clamp(24px, 3.177vw, 61px);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.sh__burger svg {
  width: 40px;
  height: 40px;
}
.sh__shade {
  position: fixed;
  inset: 0;
  z-index: 121;
  display: none;
}
html.sh-menu-open .sh__shade {
  display: block;
}
.sh__menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 122;
  width: clamp(300px, 17.708vw, 340px);
  max-height: 100vh;
  overflow-y: auto;
  padding: clamp(20px, 1.25vw, 24px) 37px 34px 35px;
  background: #fff;
  border-radius: 0 0 0 10px;
  box-shadow: -8px 8px 40px rgba(0, 0, 0, 0.12);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
html.sh-menu-open .sh__menu {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s linear 0s;
}
.sh__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.sh__close svg {
  width: 24px;
  height: 24px;
}
.sh__list,
.sh__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sh__item {
  border-bottom: 1px solid #f4f4f4;
}
.sh__item:last-child {
  border-bottom: 0;
}
.sh__link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 0;
  border: 0;
  background: none;
  color: #000;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.24;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.sh__item:first-child .sh__link {
  padding-top: 3px;
}
.sh__link:hover {
  color: var(--sh-orange);
}
.sh__sub-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s;
}
.sh__item--parent.is-open .sh__sub-toggle {
  color: var(--sh-orange);
}
.sh__item--parent.is-open .sh__sub-toggle svg {
  transform: rotate(90deg);
}
.sh__sub {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.sh__item--parent.is-open .sh__sub {
  max-height: 260px;
  padding-bottom: 2px;
}
.sh__sub li + li {
  margin-top: 2px;
}
.sh__sub a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  background: #f8f8f8;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.24;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.sh__sub a:hover {
  color: var(--sh-orange);
  background: #f2f2f2;
}
.sh__menu-contacts {
  display: none;
}

html.sh-on .header__nav.fixed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1365px) {
  .sh__mail,
  .sh__phone {
    margin-right: 32px;
  }
}
@media (max-width: 1100px) {
  .sh__mail {
    display: none;
  }
}
@media (max-width: 768px) {
  .sh {
    --sh-h: 60px;
  }
  .sh__bar {
    padding: 0 12px 0 15px;
  }
  .sh__logo img {
    height: 44px;
  }
  .sh__logo span {
    font-size: 11px;
  }
  .sh__phone {
    margin-right: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }
  .sh__phone span,
  .sh__bar .sh__btn {
    display: none;
  }
  .sh__phone svg {
    width: 24px;
    height: 24px;
  }
  .sh__burger {
    margin-left: 8px;
    width: 44px;
    height: 44px;
  }
  .sh__menu {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 68px 20px 28px;
    display: flex;
    flex-direction: column;
  }
  .sh__close {
    top: 13px;
    right: 12px;
  }
  .sh__close svg {
    width: 28px;
    height: 28px;
  }
  .sh__link {
    padding: 15px 0;
    font-size: 20px;
  }
  .sh__item:first-child .sh__link {
    padding-top: 15px;
  }
  .sh__sub a {
    min-height: 46px;
    font-size: 17px;
  }
  .sh__menu-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
  }
  .sh__menu-phone {
    color: #1f1f1f;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
  }
  .sh__menu-mail {
    color: #1f1f1f;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
  }
  .sh__btn--menu {
    width: 100%;
    height: 54px;
    margin-top: 6px;
    font-size: 17px;
  }
  html.sh-on header.header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  html.sh-menu-open,
  html.sh-menu-open body {
    overflow: hidden;
  }
}
@media (max-width: 359px) {
  .sh__logo span {
    font-size: 10px;
  }
}
