.hg-form-box {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid #d9e4cb;
  border-top: 5px solid #edca32;
  box-shadow: 0 10px 30px #244f131a;
}
.hg-form-box .hg-quote-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: clamp(12px, 2vw, 20px);
  border-radius: 14px;
  background: #f0f6e8;
}
.hg-quote-face { flex: none; object-fit: contain; }
.hg-form-box .hg-quote-heading .hg-eyebrow { margin: 0 0 4px; }
body.hg-site .hg-form-box .hg-quote-heading h3 {
  margin: 0;
  color: #244f13;
  font-size: clamp(22px, 3vw, 30px) !important;
}
body.hg-site .hg-form-box .frm_primary_label { color: #244f13; font-weight: 750; }
body.hg-site .hg-form-box .frm_form_field :is(input:not([type=radio],[type=checkbox],[type=file],[type=hidden]), select, textarea) {
  min-height: 46px;
  font-size: 16px;
}
body.hg-site .hg-form-box .frm_form_field :is(input, select, textarea):focus-visible,
.hg-form-box a:focus-visible, .hg-thanks a:focus-visible {
  outline: 3px solid #305aba;
  outline-offset: 3px;
}
.hg-form-box .frm_error_style {
  padding: 14px;
  border: 1px solid #b44135;
  border-radius: 10px;
}
.hg-form-box .frm_dropzone { max-width: 100%; }
.hg-form-box > .hg-small {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #d9e4cb;
}
.hg-thanks {
  background: repeating-linear-gradient(118deg, #f6f9ef 0 52px, #eef5e6 52px 104px);
  padding: clamp(22px, 5vw, 66px) 0;
}
.hg-thanks-card {
  width: min(calc(100% - 28px), 700px);
  padding: clamp(22px, 6vw, 54px);
  background: #fffdf5;
  border: 1px solid #d9e4cb;
  border-top: 7px solid #edca32;
  border-radius: 22px;
  box-shadow: 0 14px 36px #244f131c;
  text-align: center;
}
.hg-thanks-card > .hg-quote-face { display: block; margin: 0 auto 10px; }
body.hg-site .hg-thanks h1 {
  margin: 12px 0;
  color: #244f13;
  font-size: clamp(34px, 6vw, 60px);
}
.hg-thanks-card > p:not(.hg-eyebrow) { max-width: 47ch; margin: 0 auto 16px; }
.hg-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 18px;
}
body.hg-site .hg-thanks .hg-thanks-text {
  background: #ffe052;
  border-color: #e6c233;
  box-shadow: 0 3px 0 #d2b21b;
  color: #244f13 !important;
}
body.hg-site .hg-thanks .hg-thanks-text:hover { background: #ffed94; }
.hg-thanks-card > .hg-thanks-links { font-size: 15px; }
.hg-thanks-links a { color: #30551c; text-decoration: underline; }
@media (max-width: 440px) {
  .hg-thanks-actions { flex-direction: column; }
  .hg-thanks-actions .hg-btn { justify-content: center; }
  .hg-form-box .hg-quote-heading .hg-quote-face { width: 42px; height: 42px; }
}

