/* Keep every lead form on the site bright and easy to read. */
form,
.estimate form,
.estimate .form,
.hero-contact-form,
.hero-form {
  background: #fff !important;
  color: #1d282e !important;
}

form input,
form select,
form textarea {
  background: #fff !important;
  color: #243039 !important;
  border-color: #d9dee1 !important;
}

form input::placeholder,
form textarea::placeholder {
  color: #7b858b !important;
  opacity: 1;
}

.hero-quote-form { display: grid; gap: 10px; }
.hero-quote-form input,
.hero-quote-form select,
.hero-quote-form textarea {
  width: 100%; min-height: 43px; padding: 10px 12px;
  border: 1px solid #d9dee1; border-radius: 7px; font: inherit;
}
.hero-quote-form textarea { min-height: 72px; resize: vertical; }
.hero-quote-form button {
  min-height: 44px; border: 0; border-radius: 7px;
  background: #ff6500; color: #fff; font: inherit; font-weight: 800; cursor: pointer;
}

.leadsmart-form-embed {
  width: 100%;
  max-width: 636px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.leadsmart-form-embed iframe {
  display: block;
  width: 100%;
  height: 545px;
  border: 0;
  border-radius: 10px;
}

/* White outer panel around the homepage LeadSmart iframe. */
.hero-form,
#polyares_form_container,
#polyares_form {
  background: #fff !important;
}

/* White form sections everywhere except the homepage hero form. */
.estimate .estimate-grid,
.estimate .estimate-grid > div,
.estimate .estimate-copy,
.contact-page-hero .contact-hero-grid,
.contact-page-hero .hero-copy {
  background: #fff !important;
  color: #1d282e !important;
}

.estimate .estimate-grid h2,
.estimate .estimate-grid p,
.estimate .estimate-contact,
.estimate .estimate-contact a,
.contact-page-hero .hero-copy h1,
.contact-page-hero .hero-copy p {
  color: #1d282e !important;
}

.contact-page-hero .contact-hero-grid {
  border-radius: 22px;
  overflow: hidden;
}

/* Remove the orange decorative bar from form sections. */
.estimate .estimate-grid > div::after,
.estimate .estimate-copy::after,
.leadsmart-form-embed::after {
  content: none !important;
  display: none !important;
}
