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

.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 20, 35, 0.76);
}

.enquiry-modal.is-open {
  display: flex;
}

.enquiry-modal__dialog {
  width: min(920px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  color: #172b40;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 32px);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

/*
.enquiry-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e5ebf0;
  padding-bottom: 18px;
  margin-bottom: 20px;
}
*/

.enquiry-modal__header h2 {
  margin: 4px 0 8px;
  color: #10243a;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.enquiry-modal__header p {
  margin: 0;
  color: #5d6b78;
}

.enquiry-modal__eyebrow {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #1672b8 !important;
}

//
.enquiry-modal__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  border-bottom: 1px solid #e5ebf0;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.enquiry-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
}

.enquiry-brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.enquiry-modal__header h2,
.enquiry-modal__header p {
  margin: 0;
  width: 100%;
}

.enquiry-modal__eyebrow {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #1672b8 !important;
}

//

.enquiry-modal__close {
  border: 0;
  background: #eef3f7;
  color: #10243a;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  font-size: 1.8rem;
  cursor: pointer;
}

.enquiry-section {
  margin: 22px 0;
}

.enquiry-section h3 {
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e6edf2;
  color: #10243a;
  font-size: 1.05rem;
}

.enquiry-section__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.enquiry-field {
  min-width: 0;
}

.enquiry-field--checks {
  grid-column: 1 / -1;
}

.enquiry-field label {
  display: block;
  margin-bottom: 7px;
  font-size: .9rem;
  font-weight: 650;
  color: #263b50;
}

.enquiry-field input:not([type=checkbox]),
.enquiry-field select,
.enquiry-field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #fff;
  color: #10243a;
}

.enquiry-field textarea {
  min-height: 88px;
  resize: vertical;
}

.enquiry-field input:focus,
.enquiry-field select:focus,
.enquiry-field textarea:focus {
  outline: 2px solid rgba(22, 114, 184, .2);
  border-color: #1672b8;
}

.enquiry-check-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.enquiry-check-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border: 1px solid #e0e7ed;
  border-radius: 8px;
  background: #f9fbfc;
  font-size: .88rem;
  cursor: pointer;
}

.enquiry-check-option input,
.enquiry-consent input {
  margin-top: 3px;
  accent-color: #1672b8;
}

.enquiry-modal__note {
  color: #687887;
  font-size: .82rem;
  line-height: 1.5;
  margin: 14px 0 0;
}

.enquiry-submit-btn {
  display: inline-block;
  margin-top: 16px;
  background: #1672b8;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
}

.enquiry-status {
  min-height: 1.2em;
  margin-top: 10px;
  color: #0e4f6f;
}

body.enquiry-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .enquiry-modal {
    padding: 0;
    align-items: stretch;
  }

  .enquiry-modal__dialog {
    max-height: 100dvh;
    border-radius: 0;
    padding: 18px 15px 26px;
  }

  .enquiry-section__fields,
  .enquiry-check-options {
    grid-template-columns: 1fr;
  }
  }
