/* Layout only: scoped to the repeated estimate-request block. */
.cta-form {
  padding: clamp(20px, 4vw, 48px);
}

.cta-form > h2 {
  margin: 0 auto 16px;
  max-width: 26ch;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  overflow-wrap: break-word;
}

.cta-form > h2 + p {
  margin: 0 auto 24px;
  max-width: 64ch;
  line-height: 1.6;
}

.cta-form form.crm-form {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cta-form form.crm-form > * {
  min-width: 0;
}

.cta-form form.crm-form input:not([type="checkbox"]),
.cta-form form.crm-form select,
.cta-form form.crm-form textarea {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
}

.cta-form form.crm-form textarea,
.cta-form form.crm-form button,
.cta-form form.crm-form .consent-checkbox {
  grid-column: 1 / -1;
}

.cta-form form.crm-form textarea {
  min-height: 108px;
  resize: vertical;
}

.cta-form form.crm-form .consent-checkbox {
  width: 100%;
  margin: 4px 0;
  text-align: left;
  line-height: 1.5;
}

.cta-form form.crm-form .consent-checkbox > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cta-form form.crm-form .consent-checkbox.required::after {
  content: none;
}

.cta-form form.crm-form .consent-checkbox.required > span::after {
  content: " *";
  color: #ef4444;
  white-space: nowrap;
}

.cta-form form.crm-form button {
  min-height: 52px;
  line-height: 1.35;
  white-space: normal;
}

@media (max-width: 1024px) {
  .cta-form form.crm-form {
    grid-template-columns: minmax(0, 1fr);
  }
}
