/* Homepage-style lead form card for marketing conversion pages. */

.lead-form-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
  gap: clamp(32px, 5vw, 56px);
}

.lead-form-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--home-border, rgba(0, 104, 71, 0.16));
  border-radius: var(--home-radius-lg, 16px);
  background: var(--home-surface-soft, #f5f8f7);
  box-shadow: none;
}

.lead-form-card::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--home-brand, #006847);
}

.lead-form-card h2 {
  margin: 0;
  color: var(--home-text, #15231e);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 2.6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.lead-form-card__intro {
  margin: 13px 0 0;
  color: var(--home-text-muted, #4b5d56);
  font-size: 1rem;
  line-height: 1.6;
}

.lead-form-card__mount {
  margin-top: 22px;
  min-height: var(--home-form-height, 272px);
}

.lead-form-card__mount .loading-container,
.lead-form-card__mount .error-container {
  min-height: var(--home-form-height, 272px);
}

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

  .lead-form-card {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}
