/* Enquiry forms — rendered from the live Wix Forms schema by js/enquiry-forms.js.
   Tokens follow the page's own palette. */
:root {
  --wf-navy: #17324D;
  --wf-teal: #086E8C;
  --wf-teal-dark: #065B74;
  --wf-orange: #FF9200;
  --wf-mist: #EAF8FC;
  --wf-error: #C0392B;
  --wf-line: rgba(23, 50, 77, .2);
  --wf-overlay: rgba(15, 36, 56, .55);
}

.wf-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--wf-overlay);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(10px, 3vw, 32px);
  font-family: 'Source Sans 3', Arial, sans-serif;
}
.wf-panel {
  position: relative; width: min(860px, 100%); max-height: 100%; overflow: auto;
  background: #fff; border-radius: 16px; border-top: 6px solid var(--wf-orange);
  box-shadow: 0 30px 80px rgba(9, 26, 42, .4);
  padding: clamp(22px, 4vw, 40px);
  color: var(--wf-navy);
}
.wf-panel--narrow { width: min(520px, 100%); }
.wf-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(23, 50, 77, .18); background: #fff; color: var(--wf-navy);
  font-size: 17px; line-height: 1; cursor: pointer;
}
.wf-close:hover { background: var(--wf-mist); }
.wf-eyebrow { color: var(--wf-teal); font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.wf-title { margin: 10px 48px 0 0; font-size: 28px; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
.wf-intro { margin: 8px 0 24px; font-size: 16px; line-height: 1.6; }

.wf-form { display: flex; flex-direction: column; gap: 22px; }
.wf-hero .wf-form { gap: 14px; }
.wf-step-name { margin: 0; font-size: 19px; font-weight: 700; }
.wf-progress { font-size: 14px; color: var(--wf-teal); font-weight: 600; }

.wf-field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.wf-label, .wf-field > legend { font-size: 15.5px; font-weight: 600; padding: 0; }
.wf-req { color: var(--wf-error); }
.wf-help { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(23, 50, 77, .8); }
.wf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wf-input {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid var(--wf-line); border-radius: 8px;
  padding: 13px 14px; font: 400 16px/1.4 'Source Sans 3', Arial, sans-serif;
  color: var(--wf-navy); background: #fff; outline: none;
}
.wf-hero .wf-input { padding: 17px 18px; font-size: 17px; border-color: rgba(23, 50, 77, .18); }
.wf-hero .wf-phone-prefix { padding: 0 16px; font-size: 16px; }
textarea.wf-input { min-height: 96px; resize: vertical; line-height: 1.5; }
.wf-input:focus { border-color: var(--wf-teal); }
.wf-input[aria-invalid="true"] { border-color: var(--wf-error); }
.wf-input:disabled { background: #F1F4F7; }

.wf-phone { display: flex; gap: 8px; align-items: stretch; }
.wf-phone-prefix {
  flex: none; display: flex; align-items: center; padding: 0 12px;
  border: 1.5px solid var(--wf-line); border-radius: 8px; background: var(--wf-mist); font-weight: 600;
}

.wf-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px 28px; margin-top: 4px; }
.wf-choice { display: flex; align-items: flex-start; gap: 9px; font-size: 16px; line-height: 1.4; cursor: pointer; }
.wf-choice input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--wf-teal); }
.wf-other { margin-top: 6px; }

.wf-error { margin: 0; min-height: 0; font-size: 14px; color: var(--wf-error); }
.wf-error:empty { display: none; }
.wf-form-error { margin: 0; padding: 12px 14px; border-radius: 8px; background: #FCEDEB; color: var(--wf-error); font-size: 15px; }
.wf-form-error:empty { display: none; }

.wf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.wf-hero .wf-actions { display: block; }
.wf-btn {
  border: none; background: var(--wf-teal); color: #fff; cursor: pointer;
  font: 700 15px 'Source Sans 3', Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 8px;
}
.wf-btn:hover { background: var(--wf-teal-dark); }
.wf-btn:disabled { opacity: .6; cursor: progress; }
.wf-hero .wf-btn { width: 100%; font-size: 19px; letter-spacing: 0; text-transform: none; padding: 19px; margin-top: 6px; }
.wf-btn--ghost { background: #fff; color: var(--wf-navy); border: 1.5px solid rgba(23, 50, 77, .25); }
.wf-btn--ghost:hover { background: var(--wf-mist); }
.wf-note { margin: 0; font-size: 14px; color: rgba(23, 50, 77, .8); }

.wf-skeleton { display: flex; flex-direction: column; gap: 11px; }
.wf-skeleton span { display: block; height: 50px; border-radius: 8px; background: linear-gradient(90deg, #EEF2F5, #F7F9FA, #EEF2F5); background-size: 200% 100%; animation: wf-shimmer 1.2s infinite linear; }
@keyframes wf-shimmer { to { background-position: -200% 0; } }

.wf-thanks { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 20px 8px; }
.wf-thanks-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--wf-mist); display: flex; align-items: center; justify-content: center; }
.wf-thanks h2 { margin: 24px 0 0; font-size: 28px; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
.wf-thanks p { margin: 12px 0 0; font-size: 17.5px; line-height: 1.7; max-width: 40ch; }
.wf-thanks .wf-btn { margin-top: 28px; }

@media (max-width: 600px) {
  .wf-title { font-size: 24px; }
  .wf-actions { flex-direction: column-reverse; align-items: stretch; }
}

/* ---------- compact form windows ----------
   The window never fills the screen (it scrolls inside instead); short fields pair up two to a
   row on wider screens; spacing is tighter than the inline hero form. */
.wf-panel {
  --wf-pad-x: clamp(20px, 3vw, 36px);
  box-sizing: border-box;
  max-height: min(80vh, 820px);
  padding: clamp(20px, 2.6vw, 32px) var(--wf-pad-x);
  /* The header (close, eyebrow, title, intro) stays put; only the fields scroll, so the
     scrollbar sits below the rounded orange top instead of running through it. */
  display: flex; flex-direction: column; overflow: hidden;
}
.wf-panel > .wf-modal {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  margin: 0 calc(-1 * var(--wf-pad-x)); padding: 2px var(--wf-pad-x) 4px;
  border-top: 1px solid rgba(23, 50, 77, .1); padding-top: 18px;
}
.wf-title { margin-top: 6px; font-size: clamp(22px, 1.6vw, 26px); }
.wf-intro { margin: 6px 0 16px; font-size: 15.5px; line-height: 1.5; }
.wf-panel .wf-eyebrow { font-size: 12.5px; }
.wf-panel > .wf-note { margin-top: 12px !important; font-size: 13px; }

.wf-modal .wf-form { gap: 16px; }
.wf-modal .wf-field { gap: 6px; }
.wf-modal .wf-label, .wf-modal .wf-field > legend { font-size: 14.5px; }
.wf-modal .wf-input { padding: 11px 13px; font-size: 15.5px; }
.wf-modal textarea.wf-input { min-height: 76px; }
.wf-modal .wf-help { font-size: 13px; }
.wf-modal .wf-choices {
  /* Column width follows the question's longest answer (--wf-choice-min, set per field in
     enquiry-forms.js), so answers sit on one line in even columns instead of wrapping. */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--wf-choice-min, 170px)), 1fr));
  gap: 8px 18px; margin-top: 4px;
}
.wf-modal .wf-choice { font-size: 14px; line-height: 1.35; align-items: center; }
.wf-modal .wf-choice input { width: 16px; height: 16px; margin: 0; }
.wf-modal .wf-btn { padding: 13px 26px; }

@media (min-width: 761px) {
  .wf-modal .wf-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; align-items: start; }
  .wf-modal .wf-form > * { grid-column: 1 / -1; }
  .wf-modal .wf-form > .wf-field:not(.wf-field--wide) { grid-column: auto; }
}

@media (max-width: 760px) {
  .wf-overlay { padding: 10px; align-items: center; }
  .wf-panel { max-height: 84vh; border-radius: 14px; }
  .wf-modal .wf-choices { gap: 8px 14px; }
  .wf-modal .wf-form { gap: 14px; }
  .wf-close { top: 12px; right: 12px; width: 36px; height: 36px; }
}
