/* Migration enquiry — scoped additions to style.css. */

.enquiry {
  border-top: 1px solid #bbc3bb;
  padding: 62px 0 30px;
  margin-top: 55px;
}

.enquiry [hidden] {
  display: none;
}

.enquiry-head h2 {
  font-size: clamp(32px, 4.4vw, 46px);
  margin-bottom: 16px;
  max-width: 22ch;
}

.enquiry-head p {
  max-width: 58ch;
  margin-bottom: 0;
}

.enquiry-form {
  display: grid;
  gap: 26px;
  max-width: 640px;
  margin-top: 34px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.check label {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.field label {
  font-weight: 650;
}

.field .opt {
  font-weight: 400;
  color: #566055;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #7d8a7d;
  border-radius: 0;
  background: #fff;
  color: #121714;
  font: inherit;
  font-size: 16px;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #6b746b;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.check input:focus-visible {
  outline: 3px solid #174bef;
  outline-offset: 2px;
  border-color: #174bef;
}

.field-hint {
  margin: 0;
  font-size: 13px;
  color: #4f584f;
}

.field-error {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: #a3231c;
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: #a3231c;
  border-width: 2px;
}

.check {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 2px 0;
}

.check input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #174bef;
}

.check label {
  font-weight: 400;
  line-height: 1.45;
  color: #121714;
}

.check .field-error,
.check .field-hint {
  grid-column: 2;
}

.form-summary {
  border: 1px solid #a3231c;
  background: #fdf6f5;
  padding: 18px 22px;
}

.form-summary h2 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.form-summary ul {
  margin: 0;
  padding-left: 20px;
}

.form-summary li {
  margin: 6px 0;
  font-size: 15px;
}

.form-summary a {
  color: #a3231c;
  font-weight: 600;
}

.enquiry-status {
  margin: 26px 0 0;
  font-size: 15px;
  max-width: 60ch;
}

.enquiry-status:empty {
  display: none;
}

.enquiry-status[data-tone="error"] {
  color: #a3231c;
  font-weight: 650;
}

.enquiry-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.enquiry-submit[disabled] {
  cursor: not-allowed;
  color: #575d58;
  background: #e1e4dc;
}

form[aria-busy="true"] .enquiry-submit[disabled] {
  cursor: progress;
  color: #fff;
  background: #1038b9;
}

.enquiry-success {
  max-width: 640px;
  margin-top: 30px;
  padding: 30px 32px;
  border: 1px solid #121714;
  background: #fff;
}

.enquiry-success h3 {
  margin-bottom: 12px;
}

.enquiry-success p {
  margin-bottom: 12px;
}

.enquiry-success p:last-child {
  margin-bottom: 0;
}

.enquiry-reference {
  font: 700 20px/1.3 ui-monospace, monospace;
  letter-spacing: 0.02em;
  color: #121714;
}

.enquiry-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-note {
  font-size: 13px;
  color: #4f584f;
  max-width: 62ch;
  margin: 0;
}

/* A non-modal analytics choice, with a permanent footer settings control. */
.analytics-pref { font-size: 12px; }
.analytics-settings {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #566055;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.analytics-popover {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: min(440px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid #bbc3bb;
  background: #f8f9f7;
  color: #121714;
  box-shadow: 0 12px 32px -12px rgb(18 23 20 / 35%);
  font-size: 15px;
}
.analytics-popover[hidden], .analytics-popover [hidden] { display: none; }
.analytics-popover h2 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.analytics-popover p { margin: 0 0 12px; color: #4f584f; }
.analytics-privacy { display: inline-flex; align-items: center; min-height: 44px; }
.analytics-popover .analytics-choice-status { font-size: 13px; margin: 4px 0 16px; }
.analytics-popover .analytics-choice-error { color: #a3231c; font-weight: 600; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.analytics-actions button, .analytics-close {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #7d8a7d;
  background: #f8f9f7;
  color: #121714;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.analytics-actions button { flex: 1; }
.analytics-actions button[data-gax-consent-action="grant"] { background: #174bef; border-color: #174bef; color: #fff; }
.analytics-actions button:hover { border-color: #174bef; }
.analytics-actions button[data-gax-consent-action="grant"]:hover { background: #1038b9; }
.analytics-close { margin-top: 12px; padding-left: 0; border-color: transparent; text-decoration: underline; }
.analytics-settings:hover, .analytics-close:hover { color: #174bef; }
.analytics-settings:focus-visible, .analytics-popover button:focus-visible {
  outline: 3px solid #174bef;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .analytics-popover {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px - env(safe-area-inset-bottom, 0px));
    padding: 20px;
  }
}

@media (max-width: 700px) {
  .enquiry {
    padding-top: 45px;
    margin-top: 40px;
  }

  footer nav a {
    display: inline-block;
    padding: 5px 0;
  }

  .enquiry-success {
    padding: 24px 22px;
  }
}
