/* ==========================================
   404 — Page Not Found Section
   ========================================== */

.error-404-section {
  --hero-top-space: 100px;
  background: linear-gradient(
    280.52deg,
    var(--pearl-bush) -86.98%,
    var(--white) 63.16%
  );
  padding-bottom: 100px;
  padding-top: calc(var(--header-height, 0px) + var(--hero-top-space));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  svg {
    width: 100%;
  }
}

@media (max-width: 1179px) {
  .error-404-section {
    padding-bottom: 80px;
    --hero-top-space: 80px;
  }
}

@media (max-width: 767px) {
  .error-404-section {
    padding-bottom: 60px;
    --hero-top-space: 60px;
  }
}

.error-404-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: auto;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  transform: translateX(-50%);
  min-width: 2560px;
  @media (max-width: 767px) {
    display: none;
  }
}

.error-404-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  text-align: center;
  @media (max-width: 1179px) {
    gap: 40px;
    svg {
      height: 180px;
    }
  }
  @media (max-width: 767px) {
    gap: 32px;
    svg {
      height: 120px;
    }
  }
}

.error-404-button {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.error-404-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 800px;
}

.error-404-title {
  font: var(--heading-h2);
  color: var(--dark);
  letter-spacing: var(--letter-spacing-m2);
  margin: 0;
}

@media (max-width: 767px) {
  .error-404-title {
    font-size: 32px;
    line-height: 40px;
  }
}

.error-404-message {
  font: var(--body-b1);
  color: var(--off-black);
  margin: 0;
  max-width: 604px;
}
