/* WordPress/Forminator bridge styles. The main design remains in styles.css. */
.nrfp-home .home-services-section #services-title {
  color: #000 !important;
}

.nrfp-home .homepage-gallery-section #gallery-title {
  color: #000 !important;
}

.nr-fast-forminator-wrap.quote-form {
  display: block;
  border-radius: 14px;
}

.hero-form-card .nr-fast-forminator-wrap.quote-form {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.nr-fast-forminator-wrap .forminator-ui.forminator-custom-form {
  margin: 0 !important;
}

.nr-fast-forminator-wrap .forminator-row {
  margin-bottom: 1.25rem !important;
}

.nr-fast-forminator-wrap .forminator-label {
  color: #14232e !important;
  font: 700 1rem/1.4 "Open Sans", Arial, sans-serif !important;
  margin-bottom: 0.55rem !important;
}

.nr-fast-forminator-wrap .forminator-input,
.nr-fast-forminator-wrap .forminator-select2 + .forminator-select,
.nr-fast-forminator-wrap .select2-selection,
.nr-fast-forminator-wrap textarea {
  background: #fff !important;
  border: 1px solid #aabfcb !important;
  border-radius: 8px !important;
  color: #14232e !important;
  min-height: 52px !important;
  padding: 0.8rem 0.9rem !important;
}

.nr-fast-forminator-wrap .forminator-button-submit {
  background: #087fc8 !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #fff !important;
  cursor: pointer;
  font: 700 1rem/1.3 "Open Sans", Arial, sans-serif !important;
  min-height: 54px;
  width: 100% !important;
}

.nr-fast-forminator-wrap .forminator-row-last {
  margin-bottom: 0 !important;
}

.hero-form-card .forminator-edit-module {
  display: none !important;
}

.nr-fast-forminator-wrap .forminator-button-submit:hover,
.nr-fast-forminator-wrap .forminator-button-submit:focus-visible {
  background: #005f9c !important;
}

.nr-fast-forminator-wrap .forminator-error-message,
.nr-fast-forminator-wrap .forminator-response-message.forminator-error {
  color: #a51d1d !important;
}

.nr-fast-form-unavailable {
  align-content: center;
}

.nr-fast-form-unavailable .button {
  margin-top: 1rem;
}

.nrfp-consent {
  position: fixed;
  z-index: 1000000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid #b8cad5;
  border-radius: 14px;
  color: #14232e;
  background: #fff;
  box-shadow: 0 14px 48px rgba(20, 35, 46, 0.22);
  font: 400 0.95rem/1.5 "Open Sans", Arial, sans-serif;
}

.nrfp-consent[hidden],
.nrfp-consent-manage[hidden] {
  display: none !important;
}

.nrfp-consent strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #14232e;
  font-size: 1.05rem;
}

.nrfp-consent p {
  margin: 0;
  padding: 0;
}

.nrfp-consent a {
  color: #0069a8;
  text-decoration: underline;
}

.nrfp-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.nrfp-consent button,
.nrfp-consent-manage {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid #087fc8;
  border-radius: 9px;
  cursor: pointer;
  font: 700 0.9rem/1.2 "Open Sans", Arial, sans-serif;
}

.nrfp-consent-reject,
.nrfp-consent-manage {
  color: #075b8d;
  background: #fff;
}

.nrfp-consent-accept {
  color: #fff;
  background: #087fc8;
}

.nrfp-consent-manage {
  position: fixed;
  z-index: 999999;
  right: 1rem;
  bottom: 1rem;
  box-shadow: 0 6px 24px rgba(20, 35, 46, 0.18);
}

.nrfp-consent button:focus-visible,
.nrfp-consent-manage:focus-visible {
  outline: 3px solid #f6c453;
  outline-offset: 2px;
}

.hero-form-card .nr-fast-privacy-note {
  margin: 0.5rem 0 0 !important;
  color: #4d5b64 !important;
  font: 400 0.78rem/1.4 "Open Sans", Arial, sans-serif !important;
  text-align: left;
}

.hero-form-card .nr-fast-privacy-note a {
  color: #075b8d !important;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (max-width: 720px) {
  .nrfp-consent {
    grid-template-columns: 1fr;
  }

  .nrfp-consent-actions {
    justify-content: stretch;
  }

  .nrfp-consent-actions button {
    flex: 1 1 190px;
  }
}
