/* =========================================================
   Consultiv Utilities – Business Energy Quote
   Layout + Gravity Forms (2.5+) styling. Everything is scoped
   to .cq-wrap so other forms on the site are not affected.
   ========================================================= */

.cq-wrap {
    --navy: #0c2731;
    --navy-2: #12414f;
    --cyan: #33bde2;
    --cyan-soft: #effafd;
    --coral: #ec4a3c;
    --line: #e3e8ec;
    --muted: #8a949b;
    --green: #00b67a;
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-family: var(--font);
    color: var(--navy);
    box-sizing: border-box;
    --cq-header: 135px;
    /* height of the fixed site header */
    background: linear-gradient(180deg, #f1f4f5 0%, #e6ecee 100%);
}

.cq-wrap *, .cq-wrap *::before, .cq-wrap *::after {
    box-sizing: border-box;
}

.cq-card {
    display: flex;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px -20px rgba(12, 39, 49, .3);
}

/* ---------- Left panel ---------- */
.cq-side {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
    flex-direction: column;
    color: #fff;
    padding: 48px 36px 44px;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 26px),
        linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
}

.cq-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
    gap: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
}

.cq-logo img {
    display: block;
    height: 52px;
    width: auto;
}

.cq-eyebrow {
    margin: 40px 0 10px;
    color: var(--coral);
    text-transform: uppercase;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
}

.cq-side h1 {
    margin: 0 0 14px;
    color: #fff;
    font: 700 27px/1.15 var(--font);
}

.cq-sub {
    margin: 0 0 36px;
    color: rgba(255, 255, 255, .85);
    font-size: 14.5px;
    line-height: 1.6;
}

.cq-trust {
    margin-bottom: 40px;
}

.cq-tp-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.01em;
}

.cq-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.cq-stars span {
    flex: 1;
    max-width: 44px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: var(--green);
}

.cq-stars svg {
    width: 68%;
    fill: #fff;
}

.cq-score {
    margin: 0;
    font-size: 13px;
    color: #fff;
}

.cq-score a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.cq-steps {
    list-style: none;
    margin: auto 0 0;
    padding: 40px 0 0;
    display: grid;
    gap: 16px;
}

.cq-steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, .9);
}

.cq-steps .n {
    flex: 0 0 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(51, 189, 226, .2);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
}

/* ---------- Right panel ---------- */
html body .cq-wrap .cq-main {
    flex: 1;
    min-width: 0;
    padding: 40px;
}

html body .cq-wrap .cq-main .gform_wrapper {
    margin: 0;
    max-width: none;
}

html body .cq-wrap .cq-main .gform_heading, .cq-main .gform_required_legend, .cq-main .gfield_required {
    display: none;
}

html body .cq-wrap .cq-main .gform_fields {
    row-gap: 22px;
}

html body .cq-wrap .cq-main .gfield {
    margin: 0;
}

/* Step indicator (hardened: theme + Gravity Forms styles are very specific) */
html body .cq-wrap .cq-main .gform_wrapper .gf_page_steps {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border: 0 !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 1 !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step:last-child {
    flex: 0 0 auto !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step::after {
    content: "" !important;
    display: block !important;
    flex: 1 !important;
    min-width: 16px;
    height: 1px !important;
    background: #d8dfe4 !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step:last-child::after {
    display: none !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step_number {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    background: #eef1f3 !important;
    color: #9aa5ac !important;
    font: 600 13px/1 'Poppins', sans-serif !important;
    box-shadow: none !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step_label {
    margin: 0 !important;
    padding: 0 !important;
    color: #9aa5ac !important;
    font: 500 13px/1 'Poppins', sans-serif !important;
    white-space: nowrap !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step_active .gf_step_number {
    background: #0c2731 !important;
    color: #fff !important;
    box-shadow: 0 0 0 4px #d6eef6 !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step_active .gf_step_label {
    color: #0c2731 !important;
    font-weight: 600 !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step_completed .gf_step_number {
    background: #33bde2 !important;
    color: #fff !important;
    font-size: 0 !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step_completed .gf_step_number::before {
    content: none !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step_completed .gf_step_number::after {
    content: "\2713" !important;
    font-size: 15px !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step_completed .gf_step_label {
    color: #33bde2 !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gf_step_completed::after {
    background: #33bde2 !important;
}

/* Step header (HTML field) */
html body .cq-wrap .cq-main .cq-step-label {
    margin: 0 0 6px;
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
}

html body .cq-wrap .cq-main .cq-step-head h2 {
    margin: 0 0 6px;
    color: var(--navy);
    font: 700 27px/1.2 var(--font);
}

html body .cq-wrap .cq-main .cq-step-sub {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Labels */
html body .cq-wrap .cq-main .gfield_label, .cq-main .gform-field-label--type-sub, .cq-main .ginput_complex label {
    display: block;
    margin: 0 0 10px;
    color: var(--navy);
    font: 600 14px/1.4 var(--font);
}

/* Inputs */
html body .cq-wrap .cq-main .gform_wrapper .gfield :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select) {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font: 400 15px var(--font);
    box-shadow: none;
}

html body .cq-wrap .cq-main .gform_wrapper .gfield :is(input, select):focus {
    border-color: var(--cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(51, 189, 226, .2);
}

html body .cq-wrap .cq-main ::placeholder {
    color: #aeb7bd;
    opacity: 1;
}

html body .cq-wrap .cq-main .gfield :is(input, select).cq-off {
    opacity: .45;
}

html body .cq-wrap .cq-main .ginput_container_date input {
    max-width: 260px;
}

/* Name: two columns */
html body .cq-wrap .cq-main .ginput_container_name {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

html body .cq-wrap .cq-main .ginput_container_name>span {
    width: 100%;
}

/* ---------- Option cards ---------- */
html body .cq-wrap .cq-main .gfield.cq-cards-1 :is(.gfield_radio, .gfield_checkbox) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

html body .cq-wrap .cq-main .gfield.cq-cards-2 :is(.gfield_radio, .gfield_checkbox) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

html body .cq-wrap .cq-main .gfield.cq-cards-3 :is(.gfield_radio, .gfield_checkbox) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

html body .cq-wrap .cq-main .cq-results {
    display: grid;
    gap: 10px;
}

html body .cq-wrap .cq-main .gfield:is(.cq-cards-1, .cq-cards-2, .cq-cards-3) .gchoice,
html body .cq-wrap .cq-main .cq-results .gchoice {
    position: relative;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

html body .cq-wrap .cq-main .gfield:is(.cq-cards-1, .cq-cards-2, .cq-cards-3) .gchoice:hover,
html body .cq-wrap .cq-main .cq-results .gchoice:hover {
    border-color: var(--cyan);
}

html body .cq-wrap .cq-main :is(.gfield:is(.cq-cards-1, .cq-cards-2, .cq-cards-3), .cq-results) .gchoice input {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

html body .cq-wrap .cq-main :is(.gfield:is(.cq-cards-1, .cq-cards-2, .cq-cards-3), .cq-results) .gchoice label {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    cursor: pointer;
    padding: 17px 48px 17px 56px;
    color: var(--navy);
    font: 600 15px/1.3 var(--font);
}

html body .cq-wrap .cq-main :is(.gfield:is(.cq-cards-1, .cq-cards-2, .cq-cards-3), .cq-results) .gchoice label small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font: 400 12.5px/1.3 var(--font);
}

/* indicator */
html body .cq-wrap .cq-main :is(.gfield:is(.cq-cards-1, .cq-cards-2, .cq-cards-3), .cq-results) .gchoice label::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border: 1.5px solid #c3ccd2;
    border-radius: 50%;
    background: #fff;
    transition: all .2s ease;
}

/* selected */
html body .cq-wrap .cq-main :is(.gfield:is(.cq-cards-1, .cq-cards-2, .cq-cards-3), .cq-results) .gchoice:has(input:checked) {
    border-color: var(--cyan);
    background: var(--cyan-soft);
    box-shadow: 0 4px 12px rgba(51, 189, 226, .15);
}

html body .cq-wrap .cq-main :is(.gfield:is(.cq-cards-1, .cq-cards-2, .cq-cards-3), .cq-results) .gchoice:has(input:checked) label::before {
    border-color: var(--cyan);
    background: radial-gradient(circle, var(--cyan) 0 5px, #fff 5.5px);
}

html body .cq-wrap .cq-main :is(.gfield:is(.cq-cards-1, .cq-cards-2), .cq-results) .gchoice:has(input:checked)::after {
    content: "\2713";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
    font-size: 16px;
    font-weight: 600;
}

html body .cq-wrap .cq-main :is(.gfield:is(.cq-cards-1, .cq-cards-2, .cq-cards-3), .cq-results) .gchoice:has(input:focus-visible) {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

/* 3-up cards: indicator on top, label at the bottom */
html body .cq-wrap .cq-main .gfield.cq-cards-3 .gchoice label {
    padding: 54px 18px 16px 20px;
}

html body .cq-wrap .cq-main .gfield.cq-cards-3 .gchoice label::before {
    top: 18px;
    margin-top: 0;
    border-radius: 6px;
}

html body .cq-wrap .cq-main .gfield.cq-cards-3 .gchoice:has(input:checked) label::before {
    border-color: var(--cyan);
    border-radius: 6px;
    background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Plain checkboxes (not sure / consent / marketing) ---------- */
html body .cq-wrap .cq-main :is(.gfield_checkbox .gchoice, .ginput_container_consent) {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

html body .cq-wrap .cq-main .gfield:not(.cq-cards-1):not(.cq-cards-2):not(.cq-cards-3) input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 20px;
    width: 20px !important;
    height: 20px !important;
    margin: 1px 0 0;
    border: 1.5px solid #c3ccd2;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: all .15s ease;
}

html body .cq-wrap .cq-main .gfield:not(.cq-cards-1):not(.cq-cards-2):not(.cq-cards-3) input[type="checkbox"]:checked {
    border-color: var(--cyan);
    background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

html body .cq-wrap .cq-main .gfield_checkbox .gchoice label, .cq-main .ginput_container_consent label {
    margin: 0;
    color: #4b5a63;
    font: 400 14px/1.5 var(--font);
    cursor: pointer;
}

html body .cq-wrap .cq-main .ginput_container_consent a {
    color: var(--cyan);
    text-decoration: underline;
}

html body .cq-wrap .cq-main .gfield--type-consent {
    margin-top: -6px;
}

/* ---------- Step 2: postcode lookup ---------- */
html body .cq-wrap .cq-main .cq-postcode .ginput_container {
    display: flex;
    gap: 12px;
}

html body .cq-wrap .cq-main .cq-postcode .ginput_container input {
    flex: 1;
    min-width: 0;
}

html body .cq-wrap .cq-main .cq-find {
    flex: 0 0 auto;
    height: 54px;
    padding: 0 30px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: var(--navy);
    color: #fff;
    font: 600 15px var(--font);
    transition: filter .15s ease;
}

html body .cq-wrap .cq-main .cq-find:hover {
    filter: brightness(1.25);
}

html body .cq-wrap .cq-main .cq-find:disabled {
    opacity: .6;
    cursor: wait;
}

html body .cq-wrap .cq-main .cq-msg {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
}

html body .cq-wrap .cq-main .cq-msg--error {
    color: var(--coral);
}

html body .cq-wrap .cq-main .cq-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #eff8fb;
    border: 1px solid #d6eef6;
    border-radius: 10px;
    color: #4b5a63;
    font-size: 13px;
}

html body .cq-wrap .cq-main .cq-i {
    flex: 0 0 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cyan);
    color: #fff;
    font: 700 12px var(--font);
}

html body .cq-wrap .cq-main .cq-manual-link {
    color: var(--cyan);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
}

html body .cq-wrap .cq-main .cq-manual-link:hover {
    text-decoration: underline;
}

/* manual address only appears when asked for (and only if JS is running) */
html.cq-js body .cq-wrap .cq-main .cq-manual-address {
    display: none;
}

html.cq-js body .cq-wrap .cq-main .cq-manual-open .cq-manual-address {
    display: block;
}

html body .cq-wrap .cq-main .cq-manual-open .cq-results, .cq-main .cq-manual-open .cq-info {
    display: none;
}

html body .cq-wrap .cq-main .cq-manual-address .ginput_complex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

html body .cq-wrap .cq-main .cq-manual-address .ginput_complex>span {
    width: 100%;
}

html body .cq-wrap .cq-main .cq-manual-address .address_line_1, .cq-main .cq-manual-address .address_line_2 {
    grid-column: 1 / -1;
}

/* ---------- Footer buttons ---------- */
html body .cq-wrap .cq-main :is(.gform_page_footer, .gform_footer) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 30px 0 0;
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
}

html body .cq-wrap .cq-main :is(.gform_next_button, .gform_button) {
    -webkit-appearance: none;
    appearance: none;
    float: none;
    margin: 0 0 0 auto;
    cursor: pointer;
    padding: 15px 34px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--cyan) !important;
    color: #fff !important;
    font: 600 15px/1 var(--font) !important;
    box-shadow: 0 10px 22px -6px rgba(51, 189, 226, .55);
    transition: transform .15s ease, filter .15s ease;
}

html body .cq-wrap .cq-main :is(.gform_next_button, .gform_button):hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

html body .cq-wrap .cq-main .gform_previous_button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    cursor: pointer;
    padding: 14px 24px !important;
    border: 1px solid #d5dce1 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #4b5a63 !important;
    font: 600 14px/1 var(--font) !important;
    box-shadow: none;
}

html body .cq-wrap .cq-main .gform_previous_button:hover {
    border-color: var(--cyan) !important;
}

/* ---------- Validation + confirmation ---------- */
html body .cq-wrap .cq-main .gfield_validation_message, .cq-main .validation_message {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--coral);
    font-size: 13px;
}

html body .cq-wrap .cq-main .gform_validation_errors {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid #f5c6c2;
    border-radius: 10px;
    background: #fff5f4;
    box-shadow: none;
}

html body .cq-wrap .cq-main .gform_validation_errors h2 {
    margin: 0;
    color: var(--coral);
    font: 600 14px var(--font);
}

html body .cq-wrap .cq-main .gfield_error :is(input, select) {
    border-color: var(--coral) !important;
}

html body .cq-wrap .cq-main .gform_confirmation_message {
    padding: 60px 0;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    html body .cq-wrap {
        --cq-header: 90px;
    }

    .cq-card {
        flex-direction: column;
        border-radius: 16px 16px 0 0;
        box-shadow: none;
    }

    .cq-side {
        flex: none;
        max-width: none;
        padding: 32px 24px;
    }

    .cq-eyebrow {
        margin-top: 32px;
    }

    .cq-sub {
        margin-bottom: 28px;
    }

    .cq-trust {
        margin-bottom: 0;
    }

    .cq-steps {
        padding-top: 28px;
    }

    html body .cq-wrap .cq-main {
        padding: 28px 20px 36px;
    }
}

@media (max-width: 560px) {
    html body .cq-wrap .cq-main .gform_wrapper .gf_step_label {
        display: none !important;
    }

    html body .cq-wrap .cq-main .gform_wrapper .gf_step_active .gf_step_label {
        display: inline !important;
    }

    html body .cq-wrap .cq-main .gform_wrapper .gf_step::after {
        min-width: 8px !important;
    }

    html body .cq-wrap .cq-main .gfield:is(.cq-cards-2, .cq-cards-3) :is(.gfield_radio, .gfield_checkbox) {
        grid-template-columns: 1fr;
    }

    html body .cq-wrap .cq-main .gfield.cq-cards-3 .gchoice label {
        padding: 17px 48px 17px 56px;
    }

    html body .cq-wrap .cq-main .gfield.cq-cards-3 .gchoice label::before {
        top: 50%;
        margin-top: -11px;
    }

    html body .cq-wrap .cq-main .ginput_container_name, .cq-main .cq-manual-address .ginput_complex {
        grid-template-columns: 1fr;
    }

    html body .cq-wrap .cq-main .cq-postcode .ginput_container {
        flex-direction: column;
    }

    html body .cq-wrap .cq-main .cq-find {
        width: 100%;
    }

    html body .cq-wrap .cq-main .cq-step-head h2 {
        font-size: 23px;
    }

    html body .cq-wrap .cq-main :is(.gform_next_button, .gform_button) {
        padding: 15px 26px !important;
    }
}

/* ---------- Live Trustpilot widget (replaces the static badge) ---------- */
.cq-trust {
    margin: 8px 0 0;
}

.cq-trust .trustpilot-widget {
    width: 100%;
}

/* .container sits inside the section now – let the section carry the page background */
.new-form--section.cq-wrap>.container {
    padding: 0;
}

/* =========================================================
     Theme overrides (site header offset, theme .container box,
     "(Required)", uppercase buttons, logo colour)
     ========================================================= */
html body .cq-wrap {
    padding: calc(var(--cq-header) + 5px) 24px 20px !important;
    margin: 0 !important;
    min-height: 0 !important;
}


html body .cq-wrap .cq-card {
    margin: 0 auto !important;
    padding: 0 !important;
    align-items: stretch;
}

html body .cq-wrap .cq-card>.cq-side,
html body .cq-wrap .cq-card>.cq-main {
    margin: 0 !important;
    float: none !important;
    position: static !important;
}

html body .cq-wrap .cq-card::before, html body .cq-wrap .cq-card::after {
    content: none !important;
}

html body .cq-wrap .cq-logo img {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
}

html body .cq-wrap .cq-side h1 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    text-transform: none !important;
}

html body .cq-wrap .cq-trust {
    margin: 8px 0 0;
}

html body .cq-wrap .cq-trust .trustpilot-widget {
    width: 100%;
}

html body .cq-wrap .cq-main .gform_wrapper .gfield_required,
html body .cq-wrap .cq-main .gform_wrapper .gform_required_legend {
    display: none !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gform_fields {
    row-gap: 24px !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gfield {
    margin: 0 !important;
    padding: 0 !important;
}

html body .cq-wrap .cq-main .gform_wrapper .gfield_label {
    margin: 0 0 12px !important;
    text-transform: none !important;
}

html body .cq-wrap .cq-main .gform_wrapper :is(.gform_next_button, .gform_button, .gform_previous_button) {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* mobile versions of the theme overrides (must come last to win) */
@media (max-width: 900px) {
    html body .cq-wrap {
        padding: calc(var(--cq-header) + 16px) 0 0 !important;
    }

    html body .cq-wrap>.container {
        max-width: none !important;
    }
}

/* =========================================================
     Thank-you / confirmation screen
     ========================================================= */
html body .cq-wrap .cq-main .gform_confirmation_wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

html body .cq-wrap .cq-main .gform_confirmation_message {
    padding: 0 !important;
    text-align: center;
    font-size: inherit !important;
    line-height: inherit !important;
}

html body .cq-wrap .cq-thanks {
    max-width: 440px;
    margin: 0 auto;
    padding: 36px 0 24px;
    text-align: center;
}

html body .cq-wrap .cq-thanks__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e8f7f0;
    color: var(--green);
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
}

html body .cq-wrap .cq-thanks h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font: 700 28px/1.2 var(--font);
    text-transform: none;
}

html body .cq-wrap .cq-thanks__lead {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

html body .cq-wrap .cq-thanks__ref {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 12.5px;
}

html body .cq-wrap .cq-thanks__ref strong {
    color: var(--navy);
    font-weight: 700;
}

html body .cq-wrap .cq-thanks__steps {
    list-style: none;
    margin: 0 auto 34px;
    padding: 0;
    display: grid;
    gap: 14px;
    max-width: 360px;
    text-align: left;
}

html body .cq-wrap .cq-thanks__steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #4b5a63;
    font-size: 14px;
    line-height: 1.4;
}

html body .cq-wrap .cq-thanks__steps li span {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf7fb;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
}

html body .cq-wrap .cq-thanks__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff !important;
    font: 600 14px/1 var(--font);
    text-transform: uppercase;
    letter-spacing: .02em;
    text-decoration: none !important;
    box-shadow: 0 10px 22px -6px rgba(51, 189, 226, .55);
    transition: transform .15s ease, filter .15s ease;
}

html body .cq-wrap .cq-thanks__btn:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

html body .cq-wrap .cq-thanks__again {
    display: block;
    width: max-content;
    margin: 18px auto 0;
    color: var(--muted) !important;
    font-size: 13px;
    text-decoration: underline;
}

html body .cq-wrap .cq-thanks__again:hover {
    color: var(--navy) !important;
}