/* ============================================================
   Inline lead-capture band

   Replaces the final CTA band on the eight highest-intent pages.
   Owner-approved 2026-08-18: replace rather than sit alongside —
   two competing asks at the foot of a page is worse than one — with
   the book-a-call path kept as the text link underneath.

   Two fields, not the nine on /lets-talk. That form stays for people
   who want to say more; this exists for the ones who would otherwise
   leave.
   ============================================================ */

.capture-band {
  background: var(--dark-navy);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

/* No coloured left accent bar — retired pattern on this brand. The
   comment that used to sit here said "No left-accent-bar cards" while
   drawing one directly underneath, which is worse than not knowing the
   rule. The lime lives in the eyebrow only. */

.capture-band .container { max-width: 780px; }

.cap-eyebrow {
  color: var(--accent-green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.capture-band h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--white);
  max-width: 22ch;
}
.capture-band h2 em {
  font-style: normal;
  color: var(--soft-blue);
}

.cap-lede {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 54ch;
}

/* ── the form ───────────────────────────────────────────────── */
.cap-form {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 0.65rem;
  align-items: stretch;
  max-width: 640px;
}

/* Inputs match .form-input on /lets-talk so the two forms feel like
   one system rather than two separate builds. */
.cap-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  padding: 0.82rem 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.cap-input::placeholder { color: rgba(255, 255, 255, 0.38); }
.cap-input:focus {
  border-color: var(--accent-green);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(163, 230, 75, 0.10);
}

.cap-submit {
  background: var(--royal-blue);
  color: var(--white);
  border: none;
  border-radius: 7px;
  padding: 0.82rem 1.6rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(34, 62, 145, 0.35);
  transition: background 0.25s, transform 0.2s;
}
.cap-submit:hover { background: #1a3078; transform: translateY(-1px); }
.cap-submit:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 2px; }
.cap-submit[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* Honeypot. Off-screen rather than display:none — some bots skip
   hidden fields, far fewer skip ones that are merely positioned away. */
.cap-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cap-foot {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.cap-foot a { color: var(--soft-blue); text-decoration: underline; }
.cap-foot a:hover { color: var(--white); }

.cap-status {
  margin: 0.8rem 0 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}
.cap-status--error { color: #FFB4AD; }
.cap-status--pending { color: rgba(255, 255, 255, 0.6); }

/* ── success state, swapped in place ────────────────────────── */
.cap-done {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.cap-done-tick {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(163, 230, 75, 0.14);
  border: 1px solid rgba(163, 230, 75, 0.4);
  display: grid;
  place-items: center;
  color: var(--accent-green);
  font-size: 1.2rem;
  line-height: 1;
}
.cap-done h2 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.cap-done .cap-lede { margin-bottom: 0; }

@media (max-width: 700px) {
  .capture-band { padding: 3.25rem 0; }
  .cap-form { grid-template-columns: 1fr; }
  .capture-band h2 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cap-submit { transition: none; }
  .cap-submit:hover { transform: none; }
}
