.hayvo-404,
.hayvo-404 * {
  box-sizing: border-box;
}

.hayvo-404 {
  padding: 56px 16px 96px;
  background: #fff;
}

.hayvo-404__wrap {
  max-width: 1320px;
  margin: 0 auto;
}

.hayvo-404__card {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 48px;
  background: #f8f7f2;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.06);
}

.hayvo-404__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 40px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #fed845;
  color: #0b0b0b;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.hayvo-404__title {
  margin: 0 0 14px;
  color: #0b0b0b;
  font-family: Inter, sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hayvo-404__text {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(11, 11, 11, 0.72);
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.hayvo-404__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hayvo-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 10px;
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: .2s ease;
}

.hayvo-404__btn--primary {
  background: #FED845;
  color: #000;
  border: 1px solid #FED845;
}

.hayvo-404__btn--primary:hover {
  transform: translateY(-1px);
  opacity: .96;
}

.hayvo-404__btn--ghost {
  background: #fff;
  color: #0b0b0b;
  border: 1px solid #e2e8f0;
}

.hayvo-404__btn--ghost:hover {
  border-color: #cbd5e1;
  background: #fffdf6;
}

@media (max-width: 767px) {
  .hayvo-404 {
    padding: 32px 16px 64px;
  }

  .hayvo-404__card {
    padding: 34px 22px;
    border-radius: 18px;
  }

  .hayvo-404__text {
    font-size: 14px;
    line-height: 1.65;
  }

  .hayvo-404__actions {
    flex-direction: column;
    gap: 10px;
  }

  .hayvo-404__btn {
    width: 100%;
  }
}