[hidden] {
  display: none !important;
}

.menu-is-open {
  overflow: hidden;
}

.mobile-menu i {
  font-style: normal;
}

@media (max-width: 1100px) {
  .menu-toggle[aria-expanded="true"] {
    position: relative;
    border-color: #fff;
  }

  .menu-toggle[aria-expanded="true"] i {
    position: absolute;
    background: #fff;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] i + i {
    transform: rotate(-45deg);
  }
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid currentColor;
  font-size: 15px;
  line-height: 1.45;
}

.form-status--success {
  color: #0a5c3a;
  background: #c9f3dd;
}

.form-status--invalid,
.form-status--rate,
.form-status--error {
  color: #11130f;
  background: #ffd8cd;
}

.error-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #11130f;
  background: #f4f1e9;
}

.error-page__header,
.error-page__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(17, 19, 15, .22);
}

.error-page__footer {
  border-top: 1px solid rgba(17, 19, 15, .22);
  border-bottom: 0;
  color: rgba(17, 19, 15, .65);
  font-size: 13px;
}

.error-page__logo {
  color: inherit;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.07em;
  text-decoration: none;
}

.error-page__logo::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0 13px 5px;
  border-radius: 50%;
  background: #ff5b35;
}

.error-page__main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 8vw;
  align-items: end;
  padding: clamp(70px, 12vw, 170px) clamp(22px, 5vw, 72px) clamp(60px, 8vw, 110px);
}

.error-page__code {
  display: block;
  margin-bottom: 18px;
  color: #ff5b35;
  font: 700 13px/1 sans-serif;
  letter-spacing: .16em;
}

.error-page h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(64px, 11vw, 180px);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.075em;
}

.error-page__aside {
  padding-top: 28px;
  border-top: 1px solid rgba(17, 19, 15, .35);
}

.error-page__aside p {
  margin: 0 0 30px;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
}

.error-page__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 19px 21px;
  color: #fff;
  background: #11130f;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 720px) {
  .error-page__main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .error-page h1 {
    margin-bottom: 50px;
  }
}
