.home-hero-8__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 30px;
  align-items: start;
}

.home-hero-8__actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.home-hero-8__areas {
  margin-top: 16px;
}

.home-hero-8__areas p {
  margin: 0 0 12px;
  color: #555961;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
}

.home-hero-8__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-hero-8__chips span {
  min-width: 140px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fbf3b8;
  color: #2b2e34;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.home-hero-8__form-shell {
  border: 2px solid #f3df6a;
  border-radius: 40px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(243, 223, 106, 0.18) inset;
}

.home-hero-8__form-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 30px 22px;
}

.home-hero-8__field input,
.home-hero-8__field textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #fbf3b8;
  padding: 12px 13px;
  color: #575b63;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
}

.home-hero-8__field textarea {
  min-height: 84px;
  resize: vertical;
  font-style: italic;
}

.home-hero-8__field input:focus,
.home-hero-8__field textarea:focus {
  outline: 2px solid #f3df6a;
}

.home-hero-8__submit {
  width: min(100%, 210px);
  margin-left: auto;
}

@media (max-width: 1180px) {
  .home-hero-8__grid {
    grid-template-columns: 1fr;
  }

  .home-hero-8__form-card {
    padding: 24px 20px 20px;
  }
}

@media (max-width: 767px) {
  .home-hero-8__actions {
    flex-direction: column;
  }

  .home-hero-8__chips span {
    min-width: 0;
    width: 100%;
  }

  .home-hero-8__form-shell {
    border-radius: 34px;
  }

  .home-hero-8__submit {
    width: 100%;
  }
}
