
/* Formulario de consultas NEW HOUSE 360 */
#open-consultation {
  border: 0;
  cursor: pointer;
}

.consultation-dialog {
  width: min(92vw, 550px);
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  border: 2px solid #e6ae25;
  border-radius: 18px;
  padding: 30px;
  background: #ffffff;
  color: #10213c;
  box-shadow: 0 20px 65px rgba(0,0,0,.35);
}

.consultation-dialog::backdrop {
  background: rgba(2,12,28,.76);
}

.consultation-dialog h2 {
  margin: 5px 35px 12px 0;
  color: #061a35;
  font-size: 26px;
}

.consultation-dialog p {
  line-height: 1.5;
}

.consultation-close {
  position: absolute;
  right: 15px;
  top: 12px;
  border: 0;
  background: transparent;
  color: #061a35;
  font-size: 32px;
  cursor: pointer;
}

.consultation-dialog form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.consultation-dialog label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.consultation-dialog input,
.consultation-dialog select,
.consultation-dialog textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #aebfd5;
  border-radius: 9px;
  background: white;
  color: #10213c;
  font: inherit;
}

.consultation-dialog textarea {
  resize: vertical;
}

.consultation-dialog .consultation-note {
  font-size: 12px;
  color: #52647c;
  margin: 0;
}

.consultation-submit {
  padding: 15px;
  color: #ffffff;
  background: linear-gradient(110deg,#0567ed,#00a6ff);
  border: 0;
  border-radius: 11px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 560px) {
  .consultation-dialog {
    padding: 22px;
  }
}
