:root {
  --lead-accent: #af7f60;
  --lead-accent-dark: #80543e;
  --lead-ink: #2d2521;
  --lead-line: rgba(85, 59, 46, .14);
}

.lead-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lead-form-upgraded {
  position: relative;
}

.lead-form-upgraded .ebf-field-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--lead-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 24px rgba(54, 37, 28, .06);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.lead-form-upgraded .ebf-field-wrap:focus-within {
  border-color: var(--lead-accent);
  box-shadow: 0 0 0 4px rgba(175, 127, 96, .13), 0 12px 26px rgba(54, 37, 28, .09);
  transform: translateY(-2px);
}

.lead-form-upgraded .ebf-input,
.lead-form-upgraded .ebf-select {
  min-height: 54px;
  border: 0 !important;
  outline: 0 !important;
  color: var(--lead-ink);
  background: transparent !important;
}

.lead-form-upgraded textarea.ebf-input {
  min-height: 90px;
  padding-top: 16px;
  resize: vertical;
}

.lead-form-upgraded .ebf-field-icon {
  color: var(--lead-accent);
}

.lead-form-upgraded .ebf-btn-outline {
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(110deg, var(--lead-accent-dark), var(--lead-accent), #cb9a7a);
  box-shadow: 0 12px 28px rgba(128, 84, 62, .25);
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.lead-form-upgraded .ebf-btn-outline:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 17px 34px rgba(128, 84, 62, .34);
}

.lead-contact-form {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(175, 127, 96, .18);
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(175, 127, 96, .14), transparent 240px),
    #fff !important;
  box-shadow: 0 24px 70px rgba(57, 38, 29, .12) !important;
}

.lead-contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--lead-accent-dark), var(--lead-accent), #d3ad94);
}

.lead-contact-form .lead-form-kicker {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--lead-accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.lead-contact-form h4 {
  margin-bottom: 8px !important;
  color: var(--lead-ink) !important;
}

.lead-contact-form .lead-form-intro {
  margin: 0 0 22px;
  color: #746b66;
  font-size: 14px;
  line-height: 1.65;
}

.lead-contact-form .input-area input:not([type="submit"]),
.lead-contact-form .input-area textarea {
  border: 1px solid var(--lead-line) !important;
  border-radius: 12px !important;
  background: #fcfaf9 !important;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.lead-contact-form .input-area input:not([type="submit"]):focus,
.lead-contact-form .input-area textarea:focus {
  border-color: var(--lead-accent) !important;
  outline: 0;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(175, 127, 96, .12);
}

.lead-contact-form input[type="submit"] {
  width: 100%;
  min-height: 55px;
  border: 0 !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: linear-gradient(110deg, var(--lead-accent-dark), var(--lead-accent), #cb9a7a) !important;
  box-shadow: 0 14px 30px rgba(128, 84, 62, .25);
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease;
}

.lead-contact-form input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(128, 84, 62, .34);
}

@media (max-width: 767.98px) {
  .lead-form-upgraded .row {
    gap: 10px !important;
  }

  .lead-form-upgraded .col {
    flex: 0 0 100%;
  }

  .lead-contact-form {
    border-radius: 18px !important;
  }
}
