/* Homepage-only subset of the existing quote card and form components.
   Keep quote-page FAQ rules out of this stylesheet. */
#request-quote {
    padding: 100px 0;
}

/* Reflective glass is scoped to the homepage preview, including its fields. */
#request-quote .fqp-quote-card {
    --quote-field-glass: linear-gradient(115deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.025) 45%,
        rgba(255, 255, 255, 0.07)),
        rgba(8, 30, 55, 0.28);
    position: relative;
    isolation: isolate;
    padding: 34px 30px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 32px;
    color: var(--white-color);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, 0.15), transparent 58%),
        linear-gradient(120deg,
            rgba(255, 255, 255, 0.16),
            rgba(255, 255, 255, 0.025) 38%,
            rgba(255, 255, 255, 0.065) 75%,
            rgba(255, 255, 255, 0.10)),
        rgba(11, 49, 91, 0.94);
    box-shadow:
        0 28px 65px -28px rgba(0, 0, 0, 0.50),
        0 10px 28px -18px rgba(0, 0, 0, 0.32),
        inset 0 1px 1px rgba(255, 255, 255, 0.65),
        inset 0 -1px 1px rgba(255, 255, 255, 0.10);
}

@supports ((backdrop-filter: blur(24px)) or (-webkit-backdrop-filter: blur(24px))) {
    #request-quote .fqp-quote-card {
        background-color: rgba(11, 49, 91, 0.38);
        -webkit-backdrop-filter: blur(24px) saturate(140%);
        backdrop-filter: blur(24px) saturate(140%);
    }
}

@supports ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
    #request-quote .fqp-quote-card::after {
        content: "";
        position: absolute;
        z-index: 2;
        inset: 0;
        padding: 2px;
        border-radius: inherit;
        background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.85),
            rgba(255, 255, 255, 0.12) 35%,
            rgba(255, 255, 255, 0.30) 65%,
            rgba(238, 127, 30, 0.45));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }
}

#request-quote .fqp-quote-pending {
    padding: 16px;
    border: 1px solid var(--divider-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 10px;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(8, 30, 55, 0.26);
    color: var(--white-color);
    border-top-color: rgba(255, 255, 255, 0.20);
    border-right-color: rgba(255, 255, 255, 0.20);
    border-bottom-color: rgba(255, 255, 255, 0.20);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#request-quote .fqp-quote-pending strong {
    color: inherit;
}

#request-quote #homepage-quote-instructions {
    color: rgba(255, 255, 255, 0.86);
}

#request-quote .fqp-quote-form .row {
    row-gap: 20px;
}

#request-quote .fqp-form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--white-color);
    font-weight: 700;
    line-height: 1.4;
}

#request-quote .fqp-input-wrap input,
#request-quote .fqp-input-wrap select,
#request-quote .fqp-input-wrap textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 11px;
    background: var(--quote-field-glass);
    color: var(--white-color);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.18),
        inset 0 -1px 1px rgba(0, 0, 0, 0.12),
        0 3px 10px -5px rgba(0, 0, 0, 0.22);
    font: inherit;
    line-height: 1.6;
}

/* Native option popups remain readable when the form is enabled in a future phase. */
#request-quote .fqp-input-wrap select option {
    color: var(--primary-color);
    background: var(--white-color);
}

#request-quote .fqp-input-wrap input::placeholder,
#request-quote .fqp-input-wrap textarea::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

#request-quote .fqp-input-wrap :enabled:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    background: var(--quote-field-glass);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

#request-quote .fqp-input-wrap textarea {
    min-height: 108px;
    resize: vertical;
}

#request-quote .fqp-field-help,
#request-quote .fqp-quote-privacy {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

#request-quote .fqp-quote-privacy {
    margin-bottom: 20px;
}

#request-quote :disabled {
    cursor: not-allowed;
}

#request-quote fieldset:disabled {
    cursor: auto;
}

#request-quote .fqp-input-wrap :disabled {
    background: var(--quote-field-glass);
    border-color: rgba(255, 255, 255, 0.27);
    color: rgba(255, 255, 255, 0.88);
    opacity: 1;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.88);
}

#request-quote .fqp-form-submit button:disabled {
    width: 100%;
    white-space: normal;
    line-height: 1.5;
    color: var(--white-color);
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03)),
        rgba(238, 127, 30, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.27);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30);
    opacity: 0.80;
    pointer-events: none;
}

#request-quote .fqp-form-submit button:disabled::before,
#request-quote .fqp-form-submit button:disabled::after {
    display: none;
}

/* Shared quote form preview (css/service-quote.css) on the glass card. */
#request-quote .fqp-service-quote {
    color: var(--white-color);
}

#request-quote .fqp-service-quote label,
#request-quote .fqp-service-quote .fqp-quote-notice strong {
    color: var(--white-color);
}

#request-quote .fqp-service-quote .fqp-quote-privacy {
    margin: 0;
    font-size: 14px;
}

#request-quote .fqp-service-quote .fqp-quote-help {
    color: rgba(255, 255, 255, 0.82);
}

#request-quote .fqp-service-quote .fqp-quote-notice {
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(8, 30, 55, 0.26);
    color: var(--white-color);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#request-quote .fqp-service-quote input:not([type="checkbox"]),
#request-quote .fqp-service-quote select,
#request-quote .fqp-service-quote textarea {
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 11px;
    background: var(--quote-field-glass);
    color: var(--white-color);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.18),
        inset 0 -1px 1px rgba(0, 0, 0, 0.12),
        0 3px 10px -5px rgba(0, 0, 0, 0.22);
}

#request-quote .fqp-service-quote select option,
#request-quote .fqp-service-quote select optgroup {
    color: var(--primary-color);
    background: var(--white-color);
}

#request-quote .fqp-service-quote input[type="checkbox"] {
    accent-color: var(--accent-color);
}

#request-quote .fqp-service-quote :is(input, select, textarea, button, a):focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

#request-quote .fqp-service-quote a {
    color: var(--white-color);
}

#request-quote .fqp-service-quote .fqp-quote-submit:disabled {
    color: var(--white-color);
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03)),
        rgba(238, 127, 30, 0.30);
    border-color: rgba(255, 255, 255, 0.27);
    opacity: 0.80;
}

@media (max-width: 991px) {
    #request-quote {
        padding: 50px 0;
    }
}

@media (max-width: 575px) {
    #request-quote .fqp-quote-card {
        padding: 24px 18px;
    }
}



/* ==========================================
   FREEQUOTEPRO - HOMEPAGE QUOTE SECTION
   PREMIUM NAVY BACKGROUND
   COLOR OVERRIDES ONLY
========================================== */

/* ==========================================
   1. SECTION BACKGROUND
========================================== */

.homepage-quote-section {
    background-color: #10394F;

    background-image:
        radial-gradient(
            ellipse at 38% 42%,
            rgba(40, 124, 184, 0.42) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse at 100% 85%,
            rgba(238, 127, 30, 0.12),
            transparent 55%
        ),
        linear-gradient(
            110deg,
            #10394F 0%,
            #0B315B 50%,
            #252C3F 100%
        );
}

/* ==========================================
   2. SECTION SUBTITLE
========================================== */

.homepage-quote-section
.section-title .section-sub-title {
    color: #FFFFFF;

    background-color: rgba(255, 255, 255, 0.07);

    border-color: rgba(255, 255, 255, 0.20);
}

/* ==========================================
   3. SECTION TITLE
========================================== */

.homepage-quote-section
.section-title h2 {
    color: #FFFFFF;
}

/* ==========================================
   4. SECTION DESCRIPTION
========================================== */

.homepage-quote-section
.section-title p {
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================
   5. FORM CARD COLORS
========================================== */

.homepage-quote-section .fqp-quote-card {
    background-color: #FFFFFF;

    border-color: rgba(255, 255, 255, 0.45);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.18),
        0 8px 25px rgba(0, 0, 0, 0.10);
}

/* ==========================================
   6. FORM LABELS
========================================== */

.homepage-quote-section
.fqp-form-group label {
    color: #0B2F58;
}

.homepage-quote-section
.fqp-form-group label span {
    color: #EE7F1E;
}

/* ==========================================
   7. FORM INPUT COLORS
========================================== */

.homepage-quote-section
.fqp-input-wrap input,
.homepage-quote-section
.fqp-input-wrap select,
.homepage-quote-section
.fqp-input-wrap textarea {
    color: #0B2F58;

    background-color: #F7F9FC;

    border-color: #DCE5ED;
}

/* Disabled form preview */
.homepage-quote-section
.fqp-input-wrap input:disabled,
.homepage-quote-section
.fqp-input-wrap select:disabled,
.homepage-quote-section
.fqp-input-wrap textarea:disabled {
    color: #64748B;

    background-color: #F6F4F5;

    border-color: #DDE3EA;
}

/* ==========================================
   8. FORM INFORMATION TEXT
========================================== */

.homepage-quote-section
#homepage-quote-instructions,
.homepage-quote-section
.fqp-field-help,
.homepage-quote-section
.fqp-quote-privacy {
    color: #2576B3;
}

/* ==========================================
   9. PENDING INTEGRATION NOTICE
========================================== */

.homepage-quote-section
.fqp-quote-pending {
    color: #0B2F58;

    background-color: #F3F6F9;

    border-color: #DFE6EE;
}

.homepage-quote-section
.fqp-quote-pending strong {
    color: #0B2F58;
}

/* ==========================================
   10. SUBMIT BUTTON COLORS
========================================== */

.homepage-quote-section
.fqp-form-submit .btn-default {
    color: #FFFFFF;

    background-color: #EE7F1E;

    border-color: #EE7F1E;
}

/* Preserve disabled appearance */
.homepage-quote-section
.fqp-form-submit .btn-default:disabled {
    color: #FFFFFF;

    background-color: #F3A669;

    border-color: #F3A669;

    opacity: 0.85;
}

/* Prevent misleading hover appearance
   while submission is disabled */
.homepage-quote-section
.fqp-form-submit .btn-default:disabled::after {
    opacity: 0;
    transform: skew(30deg) scaleX(0);
}



/* ==========================================
   FREEQUOTEPRO - FEATURED BLOG CTA
   PREMIUM NAVY + GLASS IMAGE FRAME
========================================== */

@property --featured-blog-glass-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 225deg;
}

/* ==========================================
   1. SECTION
========================================== */

.fqp-featured-blog-section {
    padding: 90px 0;
    background: #ffffff;
}

/* ==========================================
   2. MAIN CTA CONTAINER
========================================== */

.fqp-featured-blog {
    position: relative;
    isolation: isolate;

    max-width: 1500px;
    margin: 0 auto;

    padding: 48px 55px;

    background:
        radial-gradient(
            ellipse at 43% 36%,
            rgba(40, 124, 184, 0.48),
            transparent 57%
        ),
        radial-gradient(
            ellipse at 100% 100%,
            rgba(238, 127, 30, 0.07),
            transparent 50%
        ),
        linear-gradient(
            110deg,
            #10394f 0%,
            #0b315b 55%,
            #10394f 100%
        );

    border-radius: 24px;
    overflow: hidden;

    box-shadow:
        0 25px 55px -30px rgba(11, 49, 91, 0.28);
}

.fqp-featured-blog .row {
    row-gap: 35px;
}

/* ==========================================
   3. IMAGE CONTAINER
========================================== */

.fqp-featured-blog-image-box {
    position: relative;
    padding-right: 18px;
}

/* Orange decorative corner */

.fqp-featured-blog-image-box::before {
    content: "";
    position: absolute;

    top: -10px;
    left: -10px;

    width: 130px;
    height: 130px;

    border: 4px solid var(--accent-color);
    border-radius: 25px;

    pointer-events: none;
    z-index: 0;
}

/* ==========================================
   4. GLASS IMAGE FRAME
========================================== */

.fqp-featured-blog-image figure {
    --featured-blog-frame-width: 5px;

    position: relative;
    isolation: isolate;

    width: 100%;
    margin: 0;

    border-radius: 22px;
    overflow: hidden;

    box-shadow:
        0 28px 55px -25px rgba(0, 0, 0, 0.46),
        0 12px 28px -18px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);

    transition:
        box-shadow 450ms ease;
}

.fqp-featured-blog-image {
    position: relative;
    z-index: 1;
}

/* ==========================================
   5. IMAGE SIZE
========================================== */

.fqp-featured-blog-image figure img {
    display: block;

    width: 100%;
    height: 350px;

    object-fit: cover;
    object-position: center;

    border-radius: inherit;
}

/* ==========================================
   6. GLASS FRAME FALLBACK
========================================== */

.fqp-featured-blog-image figure::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 3;

    width: auto;
    height: auto;

    border-radius: inherit;
    pointer-events: none;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.45),
        inset 0 2px 2px rgba(255, 255, 255, 0.30);
}

/* ==========================================
   7. SILVER + ORANGE REFLECTIVE BORDER
========================================== */

@supports ((mask-composite: exclude) or
           (-webkit-mask-composite: xor)) {

    .fqp-featured-blog-image figure::after {
        padding: var(--featured-blog-frame-width);

        background: conic-gradient(
            from var(--featured-blog-glass-angle),

            rgba(255, 255, 255, 0.12) 0%,
            rgba(225, 237, 245, 0.95) 12%,
            rgba(255, 255, 255, 0.45) 24%,

            transparent 42%,

            rgba(255, 130, 28, 0.95) 59%,
            rgba(255, 195, 130, 0.75) 65%,

            transparent 80%,

            rgba(255, 255, 255, 0.12) 100%
        );

        -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);

        mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);

        -webkit-mask-composite: xor;
        mask-composite: exclude;

        transition:
            --featured-blog-glass-angle 900ms
            cubic-bezier(0.25, 1, 0.5, 1);
    }
}

/* ==========================================
   8. GLASS IMAGE HOVER
========================================== */

@media (hover: hover) and (pointer: fine) {

    .fqp-featured-blog-image-box:hover
    .fqp-featured-blog-image figure::after {
        --featured-blog-glass-angle: 255deg;
    }

    .fqp-featured-blog-image-box:hover
    .fqp-featured-blog-image figure {
        box-shadow:
            0 32px 65px -24px rgba(0, 0, 0, 0.52),
            0 14px 32px -18px rgba(0, 0, 0, 0.32),
            0 0 20px rgba(238, 127, 30, 0.14);
    }
}

/* ==========================================
   9. CONTENT
========================================== */

.fqp-featured-blog-content {
    padding-left: 30px;
}

/* ==========================================
   10. SUBTITLE
========================================== */

.fqp-featured-blog-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 16px;
    margin-bottom: 25px;

    background: #ffffff;
    border-radius: 100px;

    color: #0b315b;

    font-size: 13px;
    font-weight: 700;
}

.fqp-featured-blog-label i {
    color: var(--accent-color);
    font-size: 11px;
}

/* ==========================================
   11. BLOG TITLE
========================================== */

.fqp-featured-blog-content h2 {
    color: #ffffff;

    font-family: var(--accent-font);

    font-size: clamp(32px, 3.3vw, 48px);
    font-weight: 700;
    line-height: 1.13;

    letter-spacing: -0.025em;

    margin-bottom: 23px;
}

/* ==========================================
   12. DESCRIPTION
========================================== */

.fqp-featured-blog-content p {
    max-width: 590px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;
    line-height: 1.7;

    margin-bottom: 30px;
}

/* ==========================================
   13. READ MORE BUTTON
========================================== */

.fqp-featured-blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    min-height: 54px;
    padding: 15px 28px;

    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 100px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    transition:
        background-color 350ms ease,
        border-color 350ms ease,
        box-shadow 350ms ease,
        transform 350ms ease;
}

.fqp-featured-blog-btn i {
    color: #ffffff;
    transition: transform 350ms ease;
}

.fqp-featured-blog-btn:hover {
    color: #ffffff;

    background: #ffffff;
    border-color: #ffffff;

    color: #0b315b;

    transform: translateY(-3px);
}

.fqp-featured-blog-btn:hover i {
    color: #0b315b;
    transform: translateX(5px);
}

.fqp-featured-blog-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

/* ==========================================
   14. RESPONSIVE - LAPTOP
========================================== */

@media (max-width: 1199px) {

    .fqp-featured-blog {
        padding: 40px;
    }

    .fqp-featured-blog-content {
        padding-left: 10px;
    }

    .fqp-featured-blog-image figure img {
        height: 320px;
    }
}

/* ==========================================
   15. RESPONSIVE - TABLET
========================================== */

@media (max-width: 991px) {

    .fqp-featured-blog-section {
        padding: 75px 0;
    }

    .fqp-featured-blog {
        padding: 35px;
    }

    .fqp-featured-blog-content {
        padding-left: 0;
    }

    .fqp-featured-blog-image-box {
        padding-right: 0;
    }

    .fqp-featured-blog-image figure img {
        height: 360px;
    }

    .fqp-featured-blog-image figure {
        --featured-blog-frame-width: 4px;
    }
}

/* ==========================================
   16. RESPONSIVE - MOBILE
========================================== */

@media (max-width: 575px) {

    .fqp-featured-blog-section {
        padding: 60px 0;
    }

    .fqp-featured-blog {
        padding: 24px;
        border-radius: 19px;
    }

    .fqp-featured-blog-image figure {
        --featured-blog-frame-width: 3px;
        border-radius: 16px;
    }

    .fqp-featured-blog-image figure img {
        height: 230px;
    }

    .fqp-featured-blog-image-box::before {
        width: 85px;
        height: 85px;

        border-width: 3px;
        border-radius: 18px;
    }

    .fqp-featured-blog-label {
        margin-bottom: 18px;
    }

    .fqp-featured-blog-content h2 {
        font-size: 30px;
        margin-bottom: 17px;
    }

    .fqp-featured-blog-content p {
        font-size: 14px;
        margin-bottom: 23px;
    }

    .fqp-featured-blog-btn {
        font-size: 14px;
        min-height: 50px;
    }
}

/* ==========================================
   17. REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .fqp-featured-blog-image figure,
    .fqp-featured-blog-image figure::after,
    .fqp-featured-blog-btn,
    .fqp-featured-blog-btn i {
        transition: none;
    }

    .fqp-featured-blog-btn:hover {
        transform: none;
    }
}

