/* Consultation form — House Projects 2.2.0 */
.hp button.hp__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 15px 17px;
  background: var(--hp-sand);
  color: #243a2f;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hp button.hp__cta:hover { background: #f0e3c9; transform: translateY(-1px); }
.hp button.hp__cta:focus-visible { outline: 3px solid #a67d24; outline-offset: 3px; }
.hp__closing button.hp__cta { width: auto; }

.hp .hp__contact-dialog {
  position: fixed;
  inset: 0;
  width: min(590px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--hp-ink);
  box-shadow: 0 28px 90px #14251d59;
  overflow: auto;
}
.hp .hp__contact-dialog::backdrop { background: #14231db8; backdrop-filter: blur(3px); }
.hp__contact-card { position: relative; padding: 35px; }
.hp .hp__contact-card h3 { margin: 8px 48px 8px 0; font-size: clamp(26px, 4vw, 36px); }
.hp__contact-intro { margin: 0 0 23px; color: var(--hp-muted); font-size: 14px; }
.hp .hp__contact-close {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--hp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--hp-ink);
  font: 400 29px/1 Arial, sans-serif;
  cursor: pointer;
}
.hp .hp__contact-close:hover { background: var(--hp-soft); }
.hp .hp__contact-close:focus-visible { outline: 3px solid #a67d24; outline-offset: 2px; }

.hp__contact-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 0 24px;
  border: 1px solid var(--hp-line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--hp-line);
}
.hp__contact-selection > div { min-width: 0; padding: 12px 14px; background: #f8f9f5; }
.hp__contact-selection dt { font-size: 11px; color: var(--hp-muted); }
.hp__contact-selection dd { margin: 3px 0 0; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.hp__contact-form { display: grid; gap: 15px; }
.hp__form-field { display: grid; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; }
.hp .hp__form-field input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #bdc9c0;
  border-radius: 8px;
  background: #fff;
  color: var(--hp-ink);
  font: inherit;
  font-size: 16px;
  box-shadow: none;
}
.hp .hp__form-field input:focus { border-color: var(--hp-green); outline: 3px solid #244b3d1f; }
.hp__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: var(--hp-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}
.hp .hp__consent input { margin-top: 1px; }
.hp__consent span { flex: 1; min-width: 0; }
.hp .hp__form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--hp-green);
  border-radius: 8px;
  background: var(--hp-green);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.hp .hp__form-submit:hover { background: #18382d; }
.hp .hp__form-submit:focus-visible { outline: 3px solid #a67d24; outline-offset: 3px; }
.hp .hp__form-submit:disabled { opacity: .65; cursor: wait; }
.hp__form-status { min-height: 1.5em; margin: 0; font-size: 13px; font-weight: 600; text-align: center; }
.hp__form-status:empty { min-height: 0; }
.hp__form-status.is-success { color: #17653f; }
.hp__form-status.is-error { color: #a22d2d; }
.hp__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 600px) {
  .hp__closing button.hp__cta { width: 100%; }
  .hp .hp__contact-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 14px; }
  .hp__contact-card { padding: 26px 20px; }
  .hp .hp__contact-card h3 { margin-right: 42px; }
  .hp .hp__contact-close { right: 12px; top: 12px; }
  .hp__contact-selection { grid-template-columns: 1fr; }
  .hp__contact-selection > div { padding: 10px 12px; }
}
