/* Lead capture — separate file so deploys aren’t masked by long-lived /styles.css cache */

.lead-form-anchor:not(:empty) + .seo-summary {
  margin: 0;
  padding: 0.85rem 1.25rem 0;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted, #475569);
}

.lead-capture-shell {
  position: relative;
  padding: clamp(1.25rem, 4vw, 2rem) 1.25rem clamp(1.5rem, 4vw, 2.25rem);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(14, 116, 144, 0.22), transparent 55%),
    linear-gradient(180deg, #e0f2fe 0%, #f1f5f9 100%);
  border-bottom: 1px solid #cbd5e1;
}

.lead-form-card {
  max-width: 40rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.07),
    0 24px 48px -16px rgba(15, 23, 42, 0.28),
    0 10px 20px -10px rgba(14, 116, 144, 0.35);
}

.lead-form-card-header {
  padding: 1.25rem 1.5rem 1.15rem;
  background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 48%, #0891b2 100%);
  color: #f8fafc;
}

.lead-form-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}

.lead-form-card-header h2 {
  font-family: var(--font, "Source Serif 4", Georgia, serif);
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  line-height: 1.28;
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #fff;
}

.lead-form-sub {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.92);
}

.lead-form-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  background: #fff;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 540px) {
  .lead-form-grid {
    grid-template-columns: 1fr;
  }
}

.lead-field {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted, #475569);
}

.lead-field-full {
  margin-bottom: 0.35rem;
}

.lead-form input,
.lead-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink, #0f172a);
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #94a3b8;
}

.lead-form input:hover,
.lead-form textarea:hover {
  background: #fff;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--miami, #0e7490);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.2);
}

.lead-form textarea {
  min-height: 4.75rem;
  resize: vertical;
}

.lead-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.lead-form-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.lead-form-submit {
  width: 100%;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: linear-gradient(180deg, #0e7490 0%, #0c4a6e 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.25rem;
  box-shadow: 0 4px 14px rgba(12, 74, 110, 0.35);
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}

.lead-form-submit:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(12, 74, 110, 0.4);
}

.lead-form-submit:active {
  transform: translateY(1px);
}

.lead-form-disclaimer {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted, #475569);
  text-align: center;
}

.lead-form-status {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.2rem;
  text-align: center;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
}

.lead-form-status.ok {
  color: #166534;
  background: #ecfdf5;
}

.lead-form-status.err {
  color: #991b1b;
  background: #fef2f2;
}
