/* ==========================================================================
   /lets-talk and /thank-you: focused enquiry pages.
   Builds on tokens.css and styles.css (type, buttons, inputs, field errors, logo).
   No menu, no animations: the form is the one thing to do.
   ========================================================================== */

.enquiry-page { background: var(--surface); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }

/* Header: logo home on the left, a quiet way back on the right */
.eq-header { border-bottom: 1px solid var(--hairline); }
.eq-header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; }
.eq-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); text-decoration: none; white-space: nowrap;
  transition: color .3s ease;
}
.eq-back:hover, .eq-back:focus-visible { color: var(--ink); }

/* Main area */
.eq-main { flex: 1 0 auto; padding: 28px 0 40px; }
.eq-grid { display: grid; gap: 24px; }
.eq-title {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: clamp(34px, 9.4vw, 68px); line-height: 1; letter-spacing: -0.04em;
  max-width: 13ch; text-wrap: balance;
}
.eq-lead { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--ink-secondary); max-width: 30rem; }

/* Trust indicators: small, quiet, ticked */
.eq-trust { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.eq-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.eq-trust svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Form */
.eq-form { gap: 18px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.eq-form .field-row { gap: 18px; }
.eq-form .field-row .field { align-content: start; }
.eq-optional { color: #8C8C8C; }
.eq-form textarea { min-height: 88px; }
.eq-actions { display: grid; gap: 12px; margin-top: 4px; }
.eq-submit { width: 100%; justify-content: center; min-height: 56px; }
.eq-submit[disabled] { opacity: .7; cursor: progress; }
.eq-privacy { font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.eq-privacy a { color: var(--ink); text-underline-offset: 3px; }

/* Shown in place of the form while online forms are paused (see make-cloudflare.rb) */
.eq-paused { padding-top: 22px; border-top: 1px solid var(--hairline); align-self: start; }
.eq-paused[hidden] { display: none; }
.eq-paused-title { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.eq-paused-text { margin-top: 10px; color: var(--ink-secondary); }
.eq-paused-actions { display: grid; gap: 12px; justify-items: start; margin-top: 22px; }
.eq-paused-actions .link-cta { min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }

/* Footer: just the essentials */
.eq-footer { border-top: 1px solid var(--hairline); }
.eq-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; font-size: 13px; color: var(--ink-muted); }
.eq-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-muted); text-decoration: none; }
.eq-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Thank-you page */
.eq-thanks { padding: 48px 0 64px; }
.eq-thanks-icon { display: block; width: 44px; height: 44px; margin-bottom: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.eq-thanks .eq-title { max-width: 16ch; }
.eq-thanks .eq-lead { margin-top: 18px; }
.eq-home { margin-top: 28px; }

/* Phones 360px and wider: pair name/business and phone/email to keep the form short */
@media (min-width: 360px) and (max-width: 759px) {
  .eq-form .field-row { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}
@media (max-width: 380px) {
  .eq-back { font-size: 11px; letter-spacing: 0.08em; }
  .wordmark { font-size: 15px; }
}

/* Desktop: copy on the left, form in a fine-lined panel on the right */
@media (min-width: 900px) {
  .eq-header-inner { min-height: 80px; }
  .eq-main { display: flex; align-items: center; padding: 72px 0 88px; }
  .eq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(48px, 6vw, 96px); align-items: start; }
  .eq-intro { padding-top: 8px; }
  .eq-title { font-size: clamp(44px, 4.4vw, 62px); max-width: none; }
  .eq-lead { margin-top: 22px; font-size: 19px; }
  .eq-trust { flex-direction: column; gap: 12px; margin-top: 32px; }
  .eq-trust li { font-size: 15px; }
  .eq-form { padding: 40px; border: 1px solid var(--hairline); gap: 22px; }
  .eq-paused { padding: 40px; border: 1px solid var(--hairline); }
  .eq-thanks { padding: 96px 0; }
}
