/* CONTACT: cta-doorstep. One closing call to action on the dark door colour:
   short heading, one sentence, a big WhatsApp button and a quiet email line.
   For WhatsApp-first businesses with no form. Also holds the floating
   WhatsApp button for phones (.wa-float). Calm variant.
   Needs .btn--whatsapp / .btn--brass from sections/hero-door.css. */

.cta-doorstep__inner {
  display: grid;
  gap: var(--space-m);
  justify-items: start;
  max-width: 40rem;
}

.cta-doorstep h2 {
  max-width: 16ch;
}

.cta-doorstep .lead {
  color: var(--color-inverse-muted);
}

.cta-doorstep__alt {
  font-size: var(--step--1);
  color: var(--color-inverse-muted);
}

.cta-doorstep__alt a {
  color: var(--color-inverse-text);
}

/* Floating WhatsApp button, phones only */
.wa-float {
  position: fixed;
  inset-inline-end: var(--gutter);
  inset-block-end: calc(var(--space-s) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-header);
  box-shadow: var(--shadow-md);
}

@media (min-width: 52em) {
  .wa-float {
    display: none;
  }
}

/* Text + WhatsApp on one side, the enquiry form on a light panel on the other. */
.cta-doorstep__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

.cta-doorstep__form {
  display: grid;
  gap: var(--space-m);
  padding: var(--space-l);
  border-radius: var(--radius-card);
  --color-text: var(--color-ink);
  --color-text-muted: var(--color-ink-muted);
  background: var(--color-surface-raised);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
}

.cta-doorstep__form .field__hint,
.field__optional {
  color: var(--color-text-muted);
  font-weight: normal;
}

@media (min-width: 52em) {
  .cta-doorstep__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
