.site__header.header {
  padding: 0;
}

.hnav {
  position: relative;
  width: min(1131px, calc(100% - 32px));
  margin: 20px auto 0;
  color: #0f0f0f;
  font-family: "Fira Sans", sans-serif;
}

.hnav__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 12px 12px 12px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hnav__logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 54px;
  height: 54px;
}

.hnav__logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.hnav__nav {
  display: none;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.hnav__util,
.hnav__link,
.hnav__mail,
.hnav__phone,
.hnav__cta,
.hnav__burger,
.hnav__dir,
.hnav__waste,
.hnav__all,
.hnav__other,
.hnav__banner,
.hnav__back-button,
.hnav__sheet-cta {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

.hnav__util,
.hnav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  color: #363636;
  font-size: 15px;
  line-height: 15px;
  white-space: nowrap;
  background: transparent;
}

.hnav__chevron {
  width: 10px;
  height: 7px;
  transition: transform 0.2s ease-in-out;
}

.hnav__util:hover .hnav__chevron,
.hnav.is-open .hnav__chevron {
  transform: rotate(180deg);
}

.hnav__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}

.hnav__mail,
.hnav__phone {
  display: block;
  max-width: 180px;
  overflow: hidden;
  color: #363636;
  font-size: 14px;
  font-weight: 400;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hnav__phone {
  font-weight: 700;
}

.hnav__cta,
.hnav__sheet-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: #242424;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.hnav__cta {
  display: none;
}

.hnav__burger {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f3f5f9;
  cursor: pointer;
}

.hnav__burger-box,
.hnav__burger-box::before,
.hnav__burger-box::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #242424;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.hnav__burger-box {
  position: relative;
}

.hnav__burger-box::before,
.hnav__burger-box::after {
  content: "";
  position: absolute;
  left: 0;
}

.hnav__burger-box::before {
  top: -6px;
}

.hnav__burger-box::after {
  top: 6px;
}

.hnav.is-open .hnav__burger-box {
  background: transparent;
}

.hnav.is-open .hnav__burger-box::before {
  top: 0;
  transform: rotate(45deg);
}

.hnav.is-open .hnav__burger-box::after {
  top: 0;
  transform: rotate(-45deg);
}

.hnav__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.hnav__panel::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 0;
  left: 0;
  height: 8px;
}

.hnav__panel[hidden] {
  display: none !important;
}

.hnav__mega {
  display: none;
  height: 520px;
  padding: 16px;
}

.hnav__sheet {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  min-height: 0;
}

.hnav__sheet-scroll {
  min-height: 0;
  overflow: auto;
  padding: 20px 12px 12px;
}

.hnav__group {
  margin: 0 0 12px;
  color: #7d8796;
  font-size: 14px;
  line-height: 18px;
}

.hnav__group + .hnav__dirs,
.hnav__others {
  margin-bottom: 24px;
}

.hnav__dirs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hnav__dir {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 4px 8px 4px 4px;
  border-radius: 8px;
  background: #fff;
}

.hnav__dir-image {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 4px;
  object-fit: cover;
}

.hnav__dir-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.3;
}

.hnav__arrow {
  display: none;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #333;
}

.hnav__dir--nested .hnav__arrow {
  display: block;
}

.hnav__others {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hnav__other,
.hnav__waste,
.hnav__all {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.3;
}

.hnav__stage {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.hnav__stage-panel {
  display: none;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.hnav__stage-panel.is-active {
  display: flex;
}

.hnav__stage-title,
.hnav__back-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.hnav__wastes {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 2px;
  min-height: 0;
}

.hnav__all-long {
  display: none;
}

.hnav__all--bottom {
  display: none;
}

.hnav__level[hidden] {
  display: none;
}

.hnav__level {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hnav__back {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 12px;
}

.hnav__back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.hnav__back-button svg {
  width: 20px;
  height: 20px;
}

.hnav__back-title {
  font-size: 20px;
}

.hnav__level-main {
  min-height: 0;
}

.hnav__banner {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #f3f5f9;
  cursor: pointer;
}

.hnav__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hnav__sheet-cta {
  display: none;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
}

.hnav__util:focus-visible,
.hnav__link:focus-visible,
.hnav__mail:focus-visible,
.hnav__phone:focus-visible,
.hnav__cta:focus-visible,
.hnav__burger:focus-visible,
.hnav__dir:focus-visible,
.hnav__waste:focus-visible,
.hnav__all:focus-visible,
.hnav__other:focus-visible,
.hnav__banner:focus-visible,
.hnav__back-button:focus-visible,
.hnav__sheet-cta:focus-visible {
  outline: 2px solid #dce2ed;
  outline-offset: 2px;
}

.hnav__waste:hover,
.hnav__waste:focus-visible,
.hnav__other:hover,
.hnav__other:focus-visible,
.hnav__all:hover,
.hnav__all:focus-visible {
  background: #f3f5f9;
}

.hnav__dir:hover,
.hnav__dir:focus-visible,
.hnav__dir.is-active {
  background: #f3f5f9;
}

.hnav__link.is-current,
.hnav__other.is-current {
  font-weight: 500;
}

@media (max-width: 1279px) {
  .hnav__panel {
    display: flex;
    flex-direction: column;
  }

  .hnav__sheet {
    flex: 1 1 auto;
    min-height: 0;
  }

  .hnav__sheet-scroll {
    flex: 1 1 auto;
  }
}

@media (max-width: 767px) {
  .hnav {
    width: min(1131px, calc(100% - 24px));
    margin-top: 16px;
  }

  .hnav__bar {
    min-height: 56px;
    padding: 5px;
    border-radius: 16px;
  }

  .hnav__logo,
  .hnav__logo img {
    width: 46px;
    height: 46px;
  }

  .hnav__mail,
  .hnav__phone {
    max-width: 150px;
    font-size: 12px;
  }

  .hnav__sheet-cta {
    display: inline-flex;
  }

  .hnav__level-main {
    display: flex;
    flex-direction: column;
  }

  .hnav__all--top {
    order: -1;
  }
}

@media (min-width: 768px) {
  .hnav__cta {
    display: inline-flex;
  }

  .hnav__mail,
  .hnav__phone {
    font-size: 14px;
  }

  .hnav__sheet-scroll {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hnav__all--top {
    display: none;
  }

  .hnav__level.is-active {
    min-height: 100%;
  }

  .hnav__level-main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  .hnav__wastes {
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--hnav-rows), 44px);
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    overflow: auto;
  }

  .hnav__all--bottom {
    display: flex;
    flex: 0 0 auto;
    margin-top: auto;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .hnav__sheet-scroll {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }

  .hnav__level.is-active {
    flex: 1 1 auto;
  }
}

@media (min-width: 1280px) {
  .hnav__bar {
    gap: 16px;
    min-height: 72px;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  }

  .hnav__logo,
  .hnav__logo img {
    width: 48px;
    height: 48px;
  }

  .hnav__nav {
    display: flex;
    flex: 1 1 auto;
    gap: 20px;
  }

  .hnav__cta {
    margin-left: 8px;
  }

  .hnav__burger {
    display: none;
  }

  .hnav__panel {
    height: 520px;
  }

  .hnav__mega {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    height: 100%;
  }

  .hnav__sheet {
    display: none;
  }

  .hnav__mega .hnav__arrow {
    display: none;
  }

  .hnav__mega .hnav__dir.is-active .hnav__arrow {
    display: block;
  }

  .hnav__stage-title {
    margin-bottom: 14px;
  }

  .hnav__wastes {
    flex: 1 1 auto;
  }

  .hnav__all-long {
    display: inline;
  }

  .hnav__all-short {
    display: none;
  }

  .hnav__mega .hnav__all {
    flex: 0 0 auto;
    margin-top: auto;
  }

  .hnav__cta {
    transition: background-color 0.2s;
  }

  .hnav__cta:hover,
  .hnav__cta:active {
    background-color: #0f0f0f;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hnav__chevron,
  .hnav__burger-box,
  .hnav__burger-box::before,
  .hnav__burger-box::after,
  .hnav__cta {
    transition: none;
  }
}
