.home-hero-7__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 44px;
  align-items: start;
}

.home-hero-7__content {
  padding-top: 18px;
}

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

.home-hero-7__form-shell {
  border-radius: 64px;
  background: #dff4ff;
  box-shadow: 0 8px 28px rgba(113, 150, 173, 0.16);
}

.home-hero-7__form-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 52px 54px 40px;
}

.home-hero-7__field {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-hero-7__field span {
  color: #343943;
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 700;
}

.home-hero-7__field span strong {
  color: #eb5d3b;
}

.home-hero-7__field input,
.home-hero-7__field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(52, 57, 67, 0.85);
  padding: 0 0 12px;
  border-radius: 0;
  background: transparent;
  color: #2a2f36;
  font-family: var(--font-family);
  font-size: 17px;
}

.home-hero-7__field textarea {
  resize: vertical;
  min-height: 68px;
}

.home-hero-7__field input:focus,
.home-hero-7__field textarea:focus {
  outline: none;
  border-bottom-color: #7fb6dc;
}

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

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

@media (max-width: 767px) {
  .home-hero-7__grid {
    gap: 28px;
  }

  .home-hero-7__actions {
    flex-direction: column;
  }

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

  .home-hero-7__form-card {
    padding: 30px 22px 26px;
    gap: 22px;
  }

  .home-hero-7__field span {
    font-size: 16px;
  }

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