/* CFM Get Quote Page V1.0.5 */

.cfm-gq-page,
.cfm-gq-page *,
.cfm-gq-page *::before,
.cfm-gq-page *::after {
    box-sizing: border-box;
}

.cfm-gq-page {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    overflow: clip;
    background: var(--cfm-gq-page-bg, #fff);
    color: var(--cfm-gq-body, #555b61);
    font-family: inherit;
}

.cfm-gq-container {
    width: min(
        calc(100% - 40px),
        var(--cfm-gq-max, 1320px)
    );
    margin-inline: auto;
}

.cfm-gq-icon,

.cfm-gq-icon svg,

.cfm-gq-hero {
    position: relative;
    min-height: var(--cfm-gq-hero-min, 450px);
    overflow: hidden;
    background:
        radial-gradient(
            circle at 77% 37%,
            rgba(203, 178, 98, .08),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--cfm-gq-hero-bg, #fbfaf7),
            #fff
        );
    border-bottom: 1px solid
        color-mix(
            in srgb,
            var(--cfm-gq-border, #e6e2da) 72%,
            transparent
        );
}

.cfm-gq-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    align-items: center;
    min-height: var(--cfm-gq-hero-min, 450px);
    gap: 40px;
    padding-block: 58px;
}

.cfm-gq-hero__content {
    position: relative;
    z-index: 2;
}

.cfm-gq-hero h1 {
    margin: 0;
    color: var(--cfm-gq-heading, #1f2122);
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 750;
    line-height: 1.03;
    letter-spacing: -.045em;
}

.cfm-gq-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 22px;
    font-size: 14px;
}

.cfm-gq-breadcrumbs a {
    color: var(--cfm-gq-heading, #1f2122);
    text-decoration: none;
}

.cfm-gq-breadcrumbs span {
    opacity: .42;
}

.cfm-gq-breadcrumbs strong {
    color: var(--cfm-gq-accent, #cbb262);
    font-weight: 700;
}

.cfm-gq-hero__content > p {
    max-width: 620px;
    margin: 28px 0 0;
    color: var(--cfm-gq-body, #555b61);
    font-size: 17px;
    line-height: 1.75;
}

.cfm-gq-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 44px;
}

.cfm-gq-trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.cfm-gq-icon--outlined {
    width: 54px;
    height: 54px;
    border: 1px solid
        color-mix(
            in srgb,
            var(--cfm-gq-accent, #cbb262) 70%,
            #fff
        );
    border-radius: 12px;
    color: var(--cfm-gq-accent, #cbb262);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 28px rgba(31, 33, 34, .05);
    font-size: 25px;
}

.cfm-gq-trust-item > span:last-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.cfm-gq-trust-item strong {
    color: var(--cfm-gq-heading, #1f2122);
    font-size: 13px;
    line-height: 1.25;
}

.cfm-gq-trust-item small {
    color: var(--cfm-gq-body, #555b61);
    font-size: 11px;
    line-height: 1.55;
}

.cfm-gq-hero__art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px;
}

.cfm-gq-hero__watermark,
.cfm-gq-hero__watermark-image {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(760px, 120%);
    max-height: 520px;
    transform: translate(-48%, -50%);
    opacity: .055;
    object-fit: contain;
}

.cfm-gq-hero__watermark {
    fill: var(--cfm-gq-heading, #1f2122);
}

.cfm-gq-plane,
.cfm-gq-hero__art-image {
    position: relative;
    z-index: 2;
    width: min(410px, 88%);
    max-height: 330px;
    object-fit: contain;
    filter: drop-shadow(
        0 25px 34px
        rgba(107, 83, 27, .18)
    );
}

.cfm-gq-plane__trail {
    fill: none;
    stroke: var(--cfm-gq-accent, #cbb262);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 10 11;
    animation: cfm-gq-trail 18s linear infinite;
}

@keyframes cfm-gq-trail {
    to {
        stroke-dashoffset: -210;
    }
}

.cfm-gq-main {
    padding: var(--cfm-gq-content-top, 20px) 0 64px;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(203, 178, 98, .035),
            transparent 24%
        ),
        var(--cfm-gq-page-bg, #fff);
}

.cfm-gq-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(360px, .88fr);
    align-items: stretch;
    gap: 28px;
}

.cfm-gq-form-card,
.cfm-gq-side-card {
    border-radius: var(--cfm-gq-radius, 18px);
    box-shadow: 0 18px 55px rgba(31, 33, 34, .075);
}

.cfm-gq-form-card {
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid var(--cfm-gq-border, #e6e2da);
    background: var(--cfm-gq-form-card-bg, #fff);
}

.cfm-gq-card-header {
    margin-bottom: 26px;
}

.cfm-gq-card-header h2,
.cfm-gq-side-card h2,

.cfm-gq-card-header h2 {
    color: var(--cfm-gq-heading, #1f2122);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.cfm-gq-card-header p {
    max-width: 660px;
    margin: 10px 0 0;
    color: var(--cfm-gq-body, #555b61);
    font-size: 14px;
    line-height: 1.7;
}

.cfm-gq-form-card .cfm-form-shell {
    width: 100%;
}

.cfm-gq-form-card .cfm-form-grid {
    gap: 18px 20px;
}

.cfm-gq-hide-form-intro
.cfm-form-step:first-child
.cfm-form-grid
> .cfm-field-type-heading,
.cfm-gq-hide-form-intro
.cfm-form-step:first-child
.cfm-form-grid
> .cfm-field-type-paragraph {
    display: none !important;
}

.cfm-gq-form-card .cfm-form-label {
    margin-bottom: 7px;
    color: var(--cfm-gq-heading, #1f2122);
    font-size: 12px;
    font-weight: 700;
}

.cfm-gq-form-card .cfm-form-label em,
.cfm-gq-form-card .cfm-form-choice em {
    color: #d43c3c;
}

.cfm-gq-form-card .cfm-form-control {
    min-height: 49px;
    border-color: var(--cfm-gq-border, #e6e2da);
    border-radius: 8px;
    background: #fff;
    color: var(--cfm-gq-heading, #1f2122);
    font-size: 13px;
    box-shadow: none;
}

.cfm-gq-form-card textarea.cfm-form-control {
    min-height: 120px;
    padding-top: 14px;
}

.cfm-gq-form-card .cfm-form-control:focus {
    border-color: var(--cfm-gq-accent, #cbb262);
    box-shadow: 0 0 0 3px
        color-mix(
            in srgb,
            var(--cfm-gq-accent, #cbb262) 15%,
            transparent
        );
}

.cfm-gq-form-card .cfm-form-file {
    min-height: 100px;
    padding: 34px 20px 18px;
    border: 1px dashed
        color-mix(
            in srgb,
            var(--cfm-gq-border, #e6e2da) 75%,
            var(--cfm-gq-accent, #cbb262)
        );
    background:
        linear-gradient(
            135deg,
            rgba(203, 178, 98, .025),
            #fff
        );
}

.cfm-gq-form-card .cfm-form-choice {
    color: var(--cfm-gq-body, #555b61);
    font-size: 12px;
}

.cfm-gq-form-card .cfm-form-actions {
    margin-top: 24px;
}

.cfm-gq-form-card .cfm-form-button {
    min-height: 50px;
    padding: 13px 26px;
    border-radius: 7px;
    background: var(--cfm-gq-accent, #cbb262);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 12px 24px
        color-mix(
            in srgb,
            var(--cfm-gq-accent, #cbb262) 24%,
            transparent
        );
}

.cfm-gq-form-card .cfm-form-button:hover {
    background: var(
        --cfm-gq-accent-hover,
        #b49a4f
    );
    color: #fff;
}

.cfm-gq-secure-note {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
    color: var(--cfm-gq-body, #555b61);
    font-size: 12px;
    line-height: 1.55;
    text-align: left;
}

.cfm-gq-secure-note__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-top: -2px;
    border-radius: 50%;
    background: rgba(47, 179, 68, .12);
    color: #2fb344;
}

.cfm-gq-secure-note__icon svg {
    width: 22px;
    height: 22px;
}

.cfm-gq-form-missing {
    display: grid;
    gap: 7px;
    padding: 24px;
    border: 1px dashed var(--cfm-gq-border, #e6e2da);
    border-radius: 10px;
    background: #fffaf0;
}

.cfm-gq-side-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 3.4vw, 44px);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(203, 178, 98, .12),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            var(--cfm-gq-side-bg, #181a19),
            #242625
        );
    color: var(--cfm-gq-side-text, #fff);
}

.cfm-gq-side-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(203, 178, 98, .13);
    border-radius: 50%;
    box-shadow:
        0 0 0 36px rgba(203, 178, 98, .03),
        0 0 0 72px rgba(203, 178, 98, .018);
    pointer-events: none;
}

.cfm-gq-side-card h2 {
    position: relative;
    z-index: 1;
    color: var(--cfm-gq-accent, #cbb262);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.cfm-gq-steps {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.cfm-gq-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 17px;
    min-height: 106px;
    padding-bottom: 24px;
}

.cfm-gq-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 46px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        var(--cfm-gq-accent, #cbb262),
        rgba(255, 255, 255, .22)
    );
}

.cfm-gq-step-number {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .33);
    border-radius: 50%;
    color: #fff;
    background: var(--cfm-gq-side-bg, #181a19);
    font-size: 12px;
    font-weight: 750;
}

.cfm-gq-steps li:first-child
.cfm-gq-step-number {
    border-color: var(--cfm-gq-accent, #cbb262);
    background: var(--cfm-gq-accent, #cbb262);
    color: #1f2122;
}

.cfm-gq-steps strong {
    display: block;
    margin-top: 3px;
    color: var(--cfm-gq-side-text, #fff);
    font-size: 15px;
    line-height: 1.35;
}

.cfm-gq-steps p {
    margin: 7px 0 0;
    color: color-mix(
        in srgb,
        var(--cfm-gq-side-text, #fff) 72%,
        transparent
    );
    font-size: 12px;
    line-height: 1.65;
}






@media (max-width: 1100px) {
    .cfm-gq-hero__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    }

    .cfm-gq-trust-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .cfm-gq-main__grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(330px, .85fr);
    }
}

@media (max-width: 900px) {
    .cfm-gq-hero__grid,
    .cfm-gq-main__grid {
        grid-template-columns: 1fr;
    }

    .cfm-gq-hero__grid {
        padding-bottom: 25px;
    }

    .cfm-gq-hero__art {
        min-height: 260px;
    }

    .cfm-gq-plane,
    .cfm-gq-hero__art-image {
        width: min(360px, 76%);
    }

    .cfm-gq-main {
        padding-top: var(--cfm-gq-content-top, 20px) !important;
    }


}

@media (max-width: 767px) {
    .cfm-gq-container {
        width: min(calc(100% - 26px), var(--cfm-gq-max, 1320px));
    }

    .cfm-gq-hero__grid {
        min-height: auto;
        gap: 20px;
        padding-block: 43px 10px;
    }

    .cfm-gq-hero h1 {
        font-size: clamp(38px, 13vw, 55px);
    }

    .cfm-gq-hero__content > p {
        margin-top: 22px;
        font-size: 15px;
    }

    .cfm-gq-trust-grid {
        gap: 15px;
        margin-top: 30px;
    }

    .cfm-gq-trust-item {
        gap: 11px;
    }

    .cfm-gq-icon--outlined {
        width: 48px;
        height: 48px;
    }

    .cfm-gq-hero__art {
        min-height: 230px;
    }

    .cfm-gq-main {
        padding: 30px 0 38px;
    }

    .cfm-gq-form-card,
    .cfm-gq-side-card {
        padding: 24px 18px;
        border-radius: min(var(--cfm-gq-radius, 18px), 14px);
    }

    .cfm-gq-form-card .cfm-col-6,
    .cfm-gq-form-card .cfm-col-4 {
        grid-column: span 12;
    }
    .cfm-gq-secure-note { margin-top: 12px; }

    .cfm-gq-side-card h2,
    .cfm-gq-card-header h2 {
        font-size: 29px;
    }

    .cfm-gq-steps li {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
    }

    .cfm-gq-step-number {
        width: 42px;
        height: 42px;
    }

    .cfm-gq-steps li:not(:last-child)::after {
        left: 20px;
        top: 42px;
    }





}

@media (prefers-reduced-motion: reduce) {
    .cfm-gq-plane__trail {
        animation: none;
    }
}


/* ==========================================================
   V1.0.4 — APPROVED COMPANY OVERVIEW-STYLE PAGE TITLE
   Built directly into the Get Quote Visual Builder block.
   ========================================================== */

/* Remove only the obsolete theme/grey title near the top. */
html.cfm-get-quote-page-active body > .breadcrumb__area,
html.cfm-get-quote-page-active body > .breadcrumb-area,
html.cfm-get-quote-page-active body > .page-title-area,
html.cfm-get-quote-page-active body > .page_title_area,
html.cfm-get-quote-page-active main > .breadcrumb__area,
html.cfm-get-quote-page-active main > .breadcrumb-area,
html.cfm-get-quote-page-active main > .page-title-area,
html.cfm-get-quote-page-active main > .page_title_area {
    display: none !important;
}


@media (max-width: 991px) {


}

@media (max-width: 767px) {





    html.cfm-get-quote-page-active .cfm-gq-page .cfm-gq-main {
        padding-top: var(--cfm-gq-content-top, 20px) !important;
    }
}


/* V1.0.5 — the page title is intentionally supplied as a separate Visual Builder shortcode. */

html.cfm-get-quote-page-active body .breadcrumb__area {
    display: none !important;
}


/* V1.0.6 — stable title gap and non-overlapping security note. */
.cfm-gq-main {
    padding-top: var(--cfm-gq-content-top, 20px) !important;
}
.cfm-gq-secure-note {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
    transform: none !important;
    position: static !important;
}
.cfm-gq-secure-note__icon {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    margin-top: -2px !important;
    border-radius: 50% !important;
    background: rgba(47,179,68,.12) !important;
    color: #2fb344 !important;
}
.cfm-gq-secure-note__icon svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #2fb344 !important;
}


/* UI-only corrective V1.0.0 — security note is normal-flow, left-aligned, below consent. */
.cfm-gq-form-card .cfm-form-grid + .cfm-gq-secure-note {
    clear: both !important;
    grid-column: 1 / -1 !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
}


/* V1.0.7 — the Visual Builder gap value is authoritative on every device. */
.cfm-gq-page .cfm-gq-main {
    padding-top: var(--cfm-gq-content-top, 20px) !important;
}

/* V1.0.7 — obsolete restored contact block is permanently removed. */
.cfm-gq-page .cfm-gq-contact {
    display: none !important;
}
