.grecaptcha-badge,
iframe[src*="recaptcha"],
iframe[src*="google.com/recaptcha"],
iframe[src*="gstatic.com/recaptcha"] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.local-quote-trigger {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 9996;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: 1px solid #ffde16;
  border-radius: 50px;
  background: #ffde16;
  color: #404041;
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-decoration: none !important;
  box-shadow: 0 8px 32px rgba(64, 64, 65, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.local-quote-trigger:hover,
.local-quote-trigger:focus-visible {
  background: #ffde16;
  color: #404041;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(64, 64, 65, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.local-quote-trigger:focus-visible {
  outline: 2px solid #404041;
  outline-offset: 3px;
}

.local-quote-trigger__icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #404041;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.local-quote-trigger:hover .local-quote-trigger__icon {
  transform: rotate(15deg);
}

.local-quote-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  border: 0;
  background: rgba(30, 30, 31, 0.58);
  cursor: default;
  opacity: 0;
  transition: opacity 240ms ease;
}

.local-quote-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  box-sizing: border-box;
  width: min(740px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 30px 36px 32px;
  border: 1px solid rgba(64, 64, 65, 0.16);
  border-radius: 4px;
  background: #f2f2f2;
  color: #404041;
  opacity: 0;
  box-shadow: 0 30px 90px rgba(20, 20, 21, 0.32);
  transform: translate(-50%, -47%) scale(0.97);
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.local-quote-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: #ffde16;
  content: "";
}

.local-quote-backdrop.is-open {
  opacity: 1;
}

.local-quote-panel.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.local-quote-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.local-quote-panel__eyebrow,
.local-quote-field label {
  font-family: Poppins, Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}

.local-quote-panel__eyebrow {
  margin: 0;
  color: #5a5a5b;
  letter-spacing: 0.08em;
}

.local-quote-close {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(64, 64, 65, 0.38);
  border-radius: 50%;
  background: transparent;
  color: #404041;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.local-quote-close:hover {
  border-color: #404041;
  background: #ffde16;
  transform: rotate(4deg);
}

.local-quote-close:focus-visible,
.local-quote-form input:focus-visible,
.local-quote-form select:focus-visible,
.local-quote-form textarea:focus-visible,
.local-quote-submit:focus-visible {
  outline: 2px solid #ffde16;
  outline-offset: 3px;
}

.local-quote-panel h2 {
  max-width: 570px;
  margin: 0 0 10px;
  color: #404041;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.local-quote-panel__intro {
  max-width: 560px;
  margin: 0 0 22px;
  color: #666667;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.local-quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.local-quote-field {
  display: grid;
  gap: 7px;
}

.local-quote-field--full,
.local-quote-submit,
.local-quote-form__status {
  grid-column: 1 / -1;
}

.local-quote-field label {
  color: #5c5c5d;
  letter-spacing: 0.04em;
}

.local-quote-form input,
.local-quote-form select,
.local-quote-form textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #9a9a9b;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  color: #404041;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.local-quote-form input,
.local-quote-form select {
  height: 50px;
  padding: 0 14px;
}

.local-quote-form textarea {
  min-height: 86px;
  padding: 13px 14px;
  resize: vertical;
}

.local-quote-form select {
  padding-right: 36px;
  color-scheme: light;
}

.local-quote-form input::placeholder,
.local-quote-form textarea::placeholder {
  color: #89898a;
}

.local-quote-form input:focus,
.local-quote-form select:focus,
.local-quote-form textarea:focus {
  border-bottom-color: #404041;
  background: #fff;
}

.local-quote-submit.chr-button,
.local-quote-submit.chr-button:visited {
  width: fit-content;
  margin: 0;
  border: 0;
  background: #404041;
  color: #fff;
}

.local-quote-submit.chr-button::before {
  background: url("/wp-content/themes/theme/dist/src/img/long-arrow-right.svg") 0 0 / 1.5rem 0.75rem no-repeat;
}

.local-quote-submit.chr-button::after {
  background: #ffde16;
}

.local-quote-submit.chr-button:hover,
.local-quote-submit.chr-button:focus-visible {
  color: #404041;
}

.local-quote-submit.chr-button:hover::before,
.local-quote-submit.chr-button:focus-visible::before {
  background: url("/wp-content/themes/theme/dist/src/img/long-arrow-right-theme.svg") 0 0 / 1.5rem 0.75rem no-repeat;
}

.local-quote-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.local-quote-form__status {
  min-height: 20px;
  margin: -4px 0 0;
  color: #404041;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.6;
}

.local-quote-form__honeypot {
  position: absolute;
  left: -10000px;
}

body.local-quote-is-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .local-quote-trigger {
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    min-height: 52px;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
  }

  .local-quote-trigger__icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .local-quote-panel {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 26px 20px calc(26px + env(safe-area-inset-bottom));
  }

  .local-quote-panel__top {
    margin-bottom: 20px;
  }

  .local-quote-panel h2 {
    font-size: 32px;
  }

  .local-quote-panel__intro {
    margin-bottom: 24px;
  }

  .local-quote-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .local-quote-field--full,
  .local-quote-submit,
  .local-quote-form__status {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .local-quote-trigger,
  .local-quote-trigger__icon,
  .local-quote-backdrop,
  .local-quote-panel,
  .local-quote-close,
  .local-quote-submit {
    transition: none;
  }
}

/* Match the statistics section's settled scroll state to the footer grey. */
.module.module--statistics.switchToWhite.switched {
  background-color: #f2f2f2 !important;
  color: #404041;
}

.module.module--statistics.switchToWhite.switched :is(h2, p, .headline-2, .headline-5, .stat-value) {
  color: #404041;
}
