.hero-visual {
  display: flex;
  align-items: center;
  height: auto;
  min-height: 465px;
}

.hero-lead-form {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  margin: auto;
  box-shadow: 0 18px 45px rgba(23, 45, 71, .14);
}

.hero-visual > .hero-blob,
.hero-visual > img,
.hero-visual > .floating-card,
.hero-visual > .image-credit { display: none; }

.enquiry-modal[hidden] { display: none; }

.enquiry-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.enquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 38, 63, .72);
}

.enquiry-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 530px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.popup-lead-form { padding: 42px 46px; }

.enquiry-modal__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f4;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 820px) {
  .hero-visual { min-height: auto; max-width: 560px; }
}

@media (max-width: 520px) {
  .hero-visual { height: auto; }
  .hero-lead-form, .popup-lead-form { padding: 36px 8%; }
  .enquiry-modal { padding: 14px; }
  .enquiry-modal__dialog { max-height: calc(100vh - 28px); }
}
