#contact .home-consultation-form {
  display: grid;
  width: 100%;
  height: auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  grid-auto-rows: auto;
  gap: 12px;
}

#contact .home-consultation-form > .have-a-challenge__group-2,
#contact .home-consultation-form > .have-a-challenge__group-3,
#contact .home-consultation-form > .have-a-challenge__stack-5,
#contact .home-consultation-form > .home-consultation-budget,
#contact .home-consultation-form > .have-a-challenge__stack-6,
#contact .home-consultation-form > .have-a-challenge__stack-7 {
  width: 100%;
  min-width: 0;
  grid-column: 1;
  grid-row: auto;
}

#contact .home-consultation-form > .have-a-challenge__group-2,
#contact .home-consultation-form > .have-a-challenge__group-3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 16px;
}

#contact .home-consultation-form .have-a-challenge__stack-3,
#contact .home-consultation-form .have-a-challenge__stack-4,
#contact .home-consultation-form .have-a-challenge__stack-5,
#contact .home-consultation-form .have-a-challenge__stack-6,
#contact .home-consultation-form .have-a-challenge__stack-7,
#contact .home-consultation-form .have-a-challenge__label,
#contact .home-consultation-form .have-a-challenge__label-2 {
  width: 100%;
  min-width: 0;
}

#contact .home-consultation-form .have-a-challenge__label,
#contact .home-consultation-form .have-a-challenge__label-2 {
  height: auto;
}

#contact .home-consultation-form .home-consultation-control {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(26, 24, 43, 0.1);
  border-radius: 12px;
  background-color: #fff;
  color: #1a182b;
  font: 500 16px/22px Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

#contact .home-consultation-form select.home-consultation-control {
  cursor: pointer;
}

/* No coloured focus ring; the field keeps its normal light border. */
#contact .home-consultation-form .home-consultation-control:focus,
#contact .home-consultation-form .home-consultation-control:focus-visible,
#contact .home-consultation-form .home-consultation-control:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: rgba(26, 24, 43, 0.1) !important;
}

#contact .home-consultation-form textarea.home-consultation-control {
  position: static;
  inset: auto;
  box-sizing: border-box;
  height: 84px;
  min-height: 84px;
  padding: 9px 14px;
  overflow: auto;
  resize: vertical;
}

#contact .home-consultation-form .have-a-challenge__stack-7 {
  padding-top: 0;
}

#contact .home-consultation-form .have-a-challenge__button {
  width: 100%;
}

#contact .home-consultation-form .have-a-challenge__button:disabled {
  cursor: wait;
  opacity: 0.65;
}

#contact .home-consultation-status {
  min-height: 0;
  color: #1a182b;
  font-size: 14px;
  line-height: 20px;
}

#contact .home-consultation-status.is-success {
  color: #176b3a;
}

#contact .home-consultation-status.is-error {
  color: #b42318;
}

@media (max-width: 600px) {
  #contact .home-consultation-form > .have-a-challenge__group-2,
  #contact .home-consultation-form > .have-a-challenge__group-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1101px) {
  #contact {
    height: auto;
    min-height: 1100px;
  }

  #contact .have-a-challenge {
    height: auto;
    min-height: 1100px;
  }

  #contact .have-a-challenge__group:has(.home-consultation-form) {
    grid-template-rows: max-content;
  }

  #contact .have-a-challenge__card:has(+ .have-a-challenge__card-2 .home-consultation-form),
  #contact .have-a-challenge__card-2:has(.home-consultation-form) {
    height: auto;
    overflow: visible;
  }
}

#contact .have-a-challenge__stack {
  position: relative;
  inset: auto;
  width: min(1280px, 100%);
  max-width: 100%;
  height: auto;
  padding: 0;
  margin-inline: auto;
}

#contact .have-a-challenge__content {
  position: static;
  inset: auto;
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

#contact .have-a-challenge__heading,
#contact .have-a-challenge__para {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 0;
  flex: none;
  text-align: center;
  white-space: normal;
}

#contact .have-a-challenge__para {
  max-width: 760px;
  margin-inline: auto;
}

#contact .have-a-challenge__row {
  position: static;
  inset: auto;
  display: flex;
  width: 100%;
  height: auto;
  justify-content: center;
  flex-wrap: wrap;
}

#contact .have-a-challenge__container-margin {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
}
