.lead-form-section {
  background: linear-gradient(180deg, #222427 0%, #202124 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.lead-form-section__inner {
  display: flex;
  justify-content: center;
}

.lead-form-card {
  width: min(100%, 620px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.section-heading {
  display: grid;
  gap: 0.65rem;
}

.section-heading--center {
  text-align: center;
  justify-items: center;
}

.section-heading--center h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-heading--center p {
  margin: 0;
  max-width: 46ch;
  color: #5f646d;
  line-height: 1.7;
}

.fi-lead-form__content {
  margin-top: 1.2rem;
}

.fi-lead-form__content .gform_wrapper {
  margin: 0;
}

.fi-lead-form__content .gform-body,
.fi-lead-form__content .gform_footer,
.fi-lead-form__content .gform-footer,
.fi-lead-form__content .gform-theme,
.fi-lead-form__content form {
  margin: 0;
  padding: 0;
}

.fi-lead-form__content .gfield_label,
.fi-lead-form__content .gfield_required,
.fi-lead-form__content .gfield_required_text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fi-lead-form__content .gform_fields {
  display: grid;
  gap: 0.7rem;
}

.fi-lead-form__content .gform_wrapper.gform-theme .gform_fields {
  gap: 0.7rem !important;
  row-gap: 0.7rem !important;
  column-gap: 0 !important;
}

.fi-lead-form__content input,
.fi-lead-form__content textarea,
.fi-lead-form__content select {
  width: 100%;
  min-height: 54px;
  padding: 0.95rem 1rem;
  border: 1px solid #eef0f4;
  border-radius: 6px;
  background: #f9fafc;
  font: inherit;
  color: #202124;
}

.fi-lead-form__content .gform_wrapper.gform-theme input:not([type="submit"]),
.fi-lead-form__content .gform_wrapper.gform-theme textarea,
.fi-lead-form__content .gform_wrapper.gform-theme select {
  width: 100% !important;
  min-height: 54px !important;
  padding: 0.95rem 1rem !important;
  border: 1px solid #eef0f4 !important;
  border-radius: 6px !important;
  background: #f9fafc !important;
  color: #202124 !important;
  font: inherit !important;
}

.fi-lead-form__content input::placeholder,
.fi-lead-form__content textarea::placeholder {
  color: #73777d;
}

.fi-lead-form__content input:focus,
.fi-lead-form__content textarea:focus,
.fi-lead-form__content select:focus {
  outline: 2px solid rgba(209, 172, 92, 0.38);
  outline-offset: 2px;
}

.fi-lead-form__content .gform_button,
.fi-lead-form__content button,
.fi-lead-form__content input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 0.35rem;
  padding: 0.9rem 1.6rem;
  border: 0;
  border-radius: 0;
  background: #d1ac5c;
  color: #111;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
  box-shadow: 0 10px 22px rgba(209, 172, 92, 0.26);
}

.fi-lead-form__content .gform_wrapper.gform-theme .gform_footer,
.fi-lead-form__content .gform_wrapper.gform-theme .gform-footer {
  margin-top: 0.7rem !important;
}

.fi-lead-form__content .gform_wrapper.gform-theme .gform_button,
.fi-lead-form__content .gform_wrapper.gform-theme input[type="submit"] {
  width: 100% !important;
  min-height: 48px !important;
  padding: 0.9rem 1.6rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #d1ac5c !important;
  color: #111 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(209, 172, 92, 0.26) !important;
}

.fi-lead-form__content .gform_button:hover,
.fi-lead-form__content button:hover,
.fi-lead-form__content input[type="submit"]:hover {
  transform: translateY(-1px);
  background: #b89244;
}