/* The request form, shared by the main page and the apartment pages. */
.lead {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(22px, 2.6vw, 36px);
  overflow-y: auto;
  border: 0;
  background: #f8f8f8;
  color: #1c1c1c;
  font: 16px/1.3 Arial, "Helvetica Neue", Helvetica, sans-serif;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
}
.lead::backdrop { background: rgba(248, 248, 248, .12); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.lead__close {
  position: absolute; right: 12px; top: 10px;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: none; color: inherit;
  font-size: 28px; line-height: 1; cursor: pointer;
}
.lead__close:hover { background: rgba(108, 96, 61, .12); }
.lead__title { margin: 0; padding-right: 40px; font: 600 clamp(24px, 2.2vw, 30px)/1.1 "Manrope", Arial, sans-serif; letter-spacing: -.03em; color: #1c1c1c; }
.lead__intro { margin: 0; color: #4c4c49; }
.lead__form { display: grid; gap: 14px; margin-top: 12px; }
.lead__field { display: grid; gap: 5px; font-size: 14px; color: #4c4c49; }
.lead__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.lead input:not([type="checkbox"]), .lead select, .lead textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid #6a6a6a; border-radius: 6px;
  background: #fff; color: #1c1c1c;
  font: inherit; font-size: 16px; /* under 16px phones zoom in on focus */
}
.lead textarea { resize: vertical; }
.lead :focus-visible { outline: 2px solid #6c603d; outline-offset: 2px; }
.lead__consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; }
.lead__consent input { width: 20px; height: 20px; margin: 0; accent-color: #6c603d; }
.lead__consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__status { margin: 0; color: #b02f2f; font-size: 14px; }
.lead__send {
  justify-self: start; min-height: 50px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: #6c603d; color: #fff;
  font: 600 16px "Manrope", Arial, sans-serif; cursor: pointer;
  transition: background-color .25s;
}
.lead__send:hover { background: #554a2f; }
.lead__send:disabled { opacity: .65; cursor: default; }
.lead__done { margin-top: 14px; }
.lead__done p { margin: 0; }
.lead__done-title { margin-bottom: 6px !important; font: 600 19px/1.2 "Manrope", Arial, sans-serif; color: #6c603d; }
@media (max-width: 520px) { .lead__send { justify-self: stretch; } }
