.rsg-hero-form-banner {
    --rsg-hfb-yellow: #FD0;
    --rsg-hfb-blue: #0059A8;
    --rsg-hfb-ink: #34415C;
    position: relative;
    color: var(--rsg-hfb-ink);
    font-family: Lato, Arial, sans-serif;
    background: #fff;
    isolation: isolate;
}

.rsg-hero-form-banner .rsg-hfb-bottom-button-wrap {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 767px) {
    .rsg-hero-form-banner .rsg-hfb-bottom-button-wrap {
        margin-top: 30px;
    }

}

.rsg-hero-form-banner *,
.rsg-hero-form-banner *::before,
.rsg-hero-form-banner *::after { box-sizing: border-box; }
.rsg-hero-form-banner .rsg-hfb-container { width: min(100% - 64px, 1240px); margin: 0 auto; }
.rsg-hero-form-banner .rsg-hfb-hero { position: relative; }
.rsg-hero-form-banner .rsg-hfb-surface { position: relative; overflow: hidden; border-bottom-left-radius: 188px; background: #0059A8; }
.rsg-hero-form-banner .rsg-hfb-background { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; border-radius: 0; }
.rsg-hero-form-banner .rsg-hfb-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #0059A8 0%, #34415C 150%); opacity: .82; }
.rsg-hero-form-banner .rsg-hfb-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 7vw, 140px); padding: 90px 0 104px; }
.rsg-hero-form-banner .rsg-hfb-content,
.rsg-hero-form-banner .rsg-hfb-form-column { min-width: 0; }
.rsg-hero-form-banner .rsg-hfb-reviews { display: inline-block; max-width: 100%; margin-bottom: 28px; padding: 2px; background: #0059A8; clip-path: polygon(3% 0, 100% 0, 96% 100%, 0 100%); }
.rsg-hero-form-banner .rsg-hfb-reviews-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; padding: 3px 25px; color: #0059A8; background: #fff; font-size: 19px; font-weight: 700; line-height: 1.2; text-decoration: none; clip-path: polygon(3% 0, 100% 0, 96% 100%, 0 100%); }
.rsg-hero-form-banner .rsg-hfb-stars { color: #ffc928; font-size: 30px; letter-spacing: 2px; white-space: nowrap; }
.rsg-hero-form-banner .rsg-hfb-eyebrow { margin: 0 0 12px; color: #fff; font: 900 20px/1.3 Lato, Arial, sans-serif; }
.rsg-hero-form-banner .rsg-hfb-heading { margin: 0 0 18px; color: #FD0; font: 900 clamp(40px, 4.3vw, 64px)/1.08 Lato, Arial, sans-serif; overflow-wrap: break-word; }
.rsg-hero-form-banner .rsg-hfb-description { color: #fff; font: 400 19px/1.35 Lato, Arial, sans-serif; }
.rsg-hero-form-banner .rsg-hfb-description p { margin: 0 0 14px; color: inherit; }
.rsg-hero-form-banner .rsg-hfb-description p:last-child,
.rsg-hero-form-banner .rsg-hfb-bottom-copy p:last-child { margin-bottom: 0; }
.rsg-hero-form-banner .rsg-hfb-form-heading {text-align: center; margin: 0 0 24px; color: #fff; font: 900 22px/1.3 Lato, Arial, sans-serif; }
.rsg-hero-form-banner .rsg-hfb-form { color: #fff; font: 400 16px/1.4 Lato, Arial, sans-serif; }
.rsg-hero-form-banner .rsg-hfb-form form { margin: 0; }
.rsg-hero-form-banner .rsg-hfb-form .wpforms-container,
.rsg-hero-form-banner .rsg-hfb-form .gform_wrapper { margin: 0; }
.rsg-hero-form-banner .rsg-hfb-form .wpforms-field { padding: 0 0 15px; }
.rsg-hero-form-banner .rsg-hfb-form .gform_fields { row-gap: 15px; }
.rsg-hero-form-banner .rsg-hfb-form .gform_footer,
.rsg-hero-form-banner .rsg-hfb-form .wpforms-submit-container { margin-top: 18px; padding-top: 0; }
.rsg-hero-form-banner .rsg-hfb-form p { margin: 0 0 15px; }
.rsg-hero-form-banner .rsg-hfb-form input:not([type]),
.rsg-hero-form-banner .rsg-hfb-form input[type="text"],
.rsg-hero-form-banner .rsg-hfb-form input[type="email"],
.rsg-hero-form-banner .rsg-hfb-form input[type="tel"],
.rsg-hero-form-banner .rsg-hfb-form input[type="url"],
.rsg-hero-form-banner .rsg-hfb-form input[type="number"],
.rsg-hero-form-banner .rsg-hfb-form input[type="search"],
.rsg-hero-form-banner .rsg-hfb-form input[type="date"],
.rsg-hero-form-banner .rsg-hfb-form select,
.rsg-hero-form-banner .rsg-hfb-form textarea {
    display: block; width: 100%; max-width: 100%; min-height: 46px; height: auto;
    border: 1px solid #d7e0e8; border-radius: 0; padding: 11px 14px;
    background: rgba(255,255,255,.88); color: #111;
    font: 400 16px/1.35 Lato, Arial, sans-serif; box-shadow: none;
}
.rsg-hero-form-banner .rsg-hfb-form textarea { min-height: 70px; resize: vertical; }
.rsg-hero-form-banner .rsg-hfb-form input::placeholder,
.rsg-hero-form-banner .rsg-hfb-form textarea::placeholder { color: #222; opacity: 1; }
.rsg-hero-form-banner .rsg-hfb-form label,
.rsg-hero-form-banner .rsg-hfb-form legend,
.rsg-hero-form-banner .rsg-hfb-form .wpforms-field-label,
.rsg-hero-form-banner .rsg-hfb-form .wpforms-field-sublabel,
.rsg-hero-form-banner .rsg-hfb-form .gfield_label,
.rsg-hero-form-banner .rsg-hfb-form .gfield_description { color: #fff; }
.rsg-hero-form-banner .rsg-hfb-form button[type="submit"],
.rsg-hero-form-banner .rsg-hfb-form input[type="submit"] {
    display: inline-block; width: 100%; min-height: 54px; height: auto;
    border: 0; border-radius: 0; padding: 13px 18px; background: #FD0;
    color: #34415C; font: 900 22px/1.2 Lato, Arial, sans-serif;
    text-transform: none; cursor: pointer; white-space: normal; box-shadow: none;
}
.rsg-hero-form-banner .rsg-hfb-form button[type="submit"]:hover,
.rsg-hero-form-banner .rsg-hfb-form input[type="submit"]:hover { background: #fff; color: #34415C; }
.rsg-hero-form-banner .rsg-hfb-form :is(input, textarea, select, button):focus-visible,
.rsg-hero-form-banner .rsg-hfb-reviews-inner:focus-visible { outline: 3px solid #FD0; outline-offset: 3px; }
.rsg-hero-form-banner .rsg-hfb-form .wpcf7-not-valid-tip,
.rsg-hero-form-banner .rsg-hfb-form .gfield_validation_message,
.rsg-hero-form-banner .rsg-hfb-form label.wpforms-error { display: block; color: #fff; background: #8e1c29; padding: 5px 8px; font-size: 14px; }
.rsg-hero-form-banner .rsg-hfb-form .wpcf7-response-output { color: #fff; margin: 12px 0; }
.rsg-hero-form-banner .rsg-hfb-editor-note { padding: 18px; border: 1px dashed #fff; }
.rsg-hero-form-banner .rsg-hfb-circle { position: absolute; display: block; border: 5px solid #FD0; border-radius: 50%; pointer-events: none; }
.rsg-hero-form-banner .rsg-hfb-circle-top { z-index: 1; width: 392px; height: 392px; top: -220px; right: -200px; }
.rsg-hero-form-banner .rsg-hfb-circle-bottom { z-index: 3; width: 124px; height: 124px; left: 50%; bottom: -40px; transform: translateX(-50%); }
.rsg-hero-form-banner .rsg-hfb-bottom { padding: 102px 0 94px; background: #fff; }
.rsg-hero-form-banner .rsg-hfb-bottom-heading { margin: 0 0 62px; color: #34415C; font: 700 clamp(30px, 3vw, 42px)/1.2 Lato, Arial, sans-serif; text-align: center; }
.rsg-hero-form-banner .rsg-hfb-bottom-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 80px; max-width: 1100px; margin: 0 auto; }
.rsg-hero-form-banner .rsg-hfb-bottom-copy { color: #34415C; font: 400 18px/1.4 Lato, Arial, sans-serif; overflow-wrap: break-word; }
.rsg-hero-form-banner .rsg-hfb-bottom-copy p { margin: 0 0 16px; color: inherit; }
@media (max-width: 1024px) {
    .rsg-hero-form-banner .rsg-hfb-grid { gap: 40px; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); padding: 68px 0 88px; }
    .rsg-hero-form-banner .rsg-hfb-heading { font-size: 46px; }
    .rsg-hero-form-banner .rsg-hfb-surface { border-bottom-left-radius: 115px; }
    .rsg-hero-form-banner .rsg-hfb-bottom-grid { gap: 40px; }
}
@media (max-width: 767px) {
    .rsg-hero-form-banner .rsg-hfb-container { width: calc(100% - 25px); }
    .rsg-hero-form-banner .rsg-hfb-grid { grid-template-columns: minmax(0,1fr); gap: 36px; padding: 46px 0 76px; }
    .rsg-hero-form-banner .rsg-hfb-surface { border-bottom-left-radius: 68px; }
    .rsg-hero-form-banner .rsg-hfb-heading { font-size: clamp(34px, 8.5vw, 46px); }
    .rsg-hero-form-banner .rsg-hfb-description { font-size: 17px; }
    .rsg-hero-form-banner .rsg-hfb-eyebrow { font-size: 17px; }
    .rsg-hero-form-banner .rsg-hfb-reviews-inner { gap: 12px; font-size: 16px; padding: 4px 20px; }
    .rsg-hero-form-banner .rsg-hfb-stars { font-size: 24px; letter-spacing: 1px; }
    .rsg-hero-form-banner .rsg-hfb-form-column { width: 100%; max-width: 480px; }
    .rsg-hero-form-banner .rsg-hfb-circle-top { width: 240px; height: 240px; top: -170px; right: -170px; }
    .rsg-hero-form-banner .rsg-hfb-circle-bottom { width: 90px; height: 90px; bottom: -30px; border-width: 4px; }
    .rsg-hero-form-banner .rsg-hfb-bottom { padding: 74px 0 54px; }
    .rsg-hero-form-banner .rsg-hfb-bottom-heading { margin-bottom: 32px; }
    .rsg-hero-form-banner .rsg-hfb-bottom-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .rsg-hero-form-banner .rsg-hfb-bottom-copy { font-size: 17px; }
}
