
/* ==========================================
   FREEQUOTEPRO - REQUEST QUOTE SECTION
   PREMIUM DESIGN
========================================== */

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

/* ==========================================
   SECTION LAYOUT
========================================== */

.fqp-quote-section {
    padding: 90px 0 100px;
    background:
        radial-gradient(
            ellipse at 50% 40%,
            rgba(40, 124, 184, 0.055),
            transparent 65%
        ),
        #ffffff;
}

.fqp-quote-row {
    align-items: stretch;
    row-gap: 35px;
}

/* ==========================================
   LEFT FORM CARD
========================================== */

.fqp-quote-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(11, 49, 91, 0.09);
    border-radius: 26px;
    padding: 34px 30px;

    box-shadow:
        0 24px 65px -30px rgba(11, 49, 91, 0.16),
        0 8px 24px -14px rgba(11, 49, 91, 0.08);
}

/* ==========================================
   FORM HEADING
========================================== */

.fqp-quote-heading {
    margin-bottom: 25px;
}

.fqp-quote-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);

    margin-bottom: 12px;
}

.fqp-quote-heading h2 {
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.fqp-quote-heading p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* ==========================================
   FORM GRID
========================================== */

.fqp-quote-form .row {
    row-gap: 17px;
}

.fqp-form-group {
    width: 100%;
}

.fqp-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 7px;
}

.fqp-form-group label span {
    color: var(--accent-color);
}

/* ==========================================
   INPUT WRAPPER
========================================== */

.fqp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.fqp-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);

    font-size: 14px;
    color: #8195a9;
    pointer-events: none;
    z-index: 1;
}

/* ==========================================
   INPUTS, SELECTS, TEXTAREA
========================================== */

.fqp-input-wrap input,
.fqp-input-wrap select,
.fqp-input-wrap textarea {
    display: block;
    width: 100%;
    min-width: 0;

    background: #ffffff;
    border: 1px solid #dce5ed;
    border-radius: 11px;

    color: var(--primary-color);

    font-family: var(--default-font);
    font-size: 13px;
    font-weight: 500;

    outline: none;

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

.fqp-input-wrap input,
.fqp-input-wrap select {
    height: 44px;
    padding: 0 13px 0 40px;
}

.fqp-input-wrap input::placeholder,
.fqp-input-wrap textarea::placeholder {
    color: #91a1b1;
    opacity: 1;
}

/* ==========================================
   CUSTOM SELECT
========================================== */

.fqp-input-wrap select {
    padding-right: 32px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.fqp-select-wrap::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;

    width: 7px;
    height: 7px;

    border-right: 1.6px solid #6c849b;
    border-bottom: 1.6px solid #6c849b;

    transform: translateY(-70%) rotate(45deg);

    pointer-events: none;
}

/* ==========================================
   TEXTAREA
========================================== */

.fqp-textarea-wrap {
    align-items: flex-start;
}

.fqp-textarea-wrap > i {
    top: 16px;
    transform: none;
}

.fqp-input-wrap textarea {
    min-height: 108px;
    resize: vertical;
    padding: 14px 14px 14px 40px;
    line-height: 1.6;
}

/* ==========================================
   FOCUS STATES
========================================== */

.fqp-input-wrap input:focus,
.fqp-input-wrap select:focus,
.fqp-input-wrap textarea:focus {
    border-color: var(--accent-color);
    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(238, 127, 30, 0.13);
}

.fqp-input-wrap:focus-within > i {
    color: var(--accent-color);
}

/* ==========================================
   CONSENT
========================================== */

.fqp-quote-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.fqp-quote-consent input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.fqp-quote-consent span {
    font-size: 11px;
    line-height: 1.6;
    color: #647c91;
}

.fqp-quote-consent a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fqp-quote-consent a:hover {
    color: var(--accent-color);
}

/* ==========================================
   SUBMIT BUTTON
========================================== */

.fqp-form-submit {
    width: 100%;
}

.fqp-form-submit button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 46px;

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

    background: var(--accent-color);
    color: #ffffff;

    font-family: var(--default-font);
    font-size: 14px;
    font-weight: 700;

    padding: 14px 24px;
    cursor: pointer;

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

.fqp-form-submit button i {
    font-size: 15px;
    transition: transform 350ms ease;
}

.fqp-form-submit button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(11, 49, 91, 0.18);
}

.fqp-form-submit button:hover i {
    transform: translateX(5px);
}

.fqp-form-submit button:focus-visible {
    outline: 3px solid rgba(238, 127, 30, 0.30);
    outline-offset: 3px;
}

/* ==========================================
   SECURITY NOTE
========================================== */

.fqp-form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    font-size: 11px;
    line-height: 1.5;
    color: #8294a6;
    text-align: center;
}

.fqp-form-security i {
    font-size: 11px;
}

.fqp-form-message:empty {
    display: none;
}

/* ==========================================
   RIGHT SIDE
========================================== */

.fqp-quote-side {
    display: flex;
    flex-direction: column;
    gap: 26px;
    height: 100%;
}

/* ==========================================
   IMAGE COMPOSITION
========================================== */

.fqp-quote-images {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 310px;

    padding: 8px 8px 8px 12px;
}

/* Shared image frame */

.fqp-quote-image {
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
}

.fqp-quote-image figure {
    position: relative;
    display: block;
    margin: 0;
    overflow: hidden;

    border-radius: 22px;

    box-shadow:
        0 22px 44px -18px rgba(11, 49, 91, 0.30),
        0 8px 18px -10px rgba(11, 49, 91, 0.16);
}

.fqp-quote-image figure img {
    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    border-radius: inherit;
}

/* Main house image */

.fqp-quote-image-main {
    width: 64%;
    height: 292px;
    z-index: 1;
}

.fqp-quote-image-main figure {
    width: 100%;
    height: 100%;
}

/* Tools image overlay */

.fqp-quote-image-overlay {
    width: 50%;
    height: 225px;

    margin-left: -15%;
    margin-top: 55px;

    z-index: 2;
}

.fqp-quote-image-overlay figure {
    width: 100%;
    height: 100%;
}

/* ==========================================
   GLASS FRAMES
========================================== */

.fqp-quote-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);
}

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

    .fqp-quote-image figure::after {
        padding: 4px;

        background: conic-gradient(
            from var(--fqp-quote-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:
            --fqp-quote-glass-angle 900ms
            cubic-bezier(0.25, 1, 0.5, 1);
    }
}

@media (hover: hover) and (pointer: fine) {
    .fqp-quote-image:hover figure::after {
        --fqp-quote-glass-angle: 255deg;
    }
}

/* ==========================================
   HOW IT WORKS STEPS PANEL
========================================== */

.fqp-quote-steps {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 22px;

    background: linear-gradient(
        135deg,
        #edf6fc 0%,
        #dcecf8 100%
    );

    border: 1px solid rgba(40, 124, 184, 0.08);
    border-radius: 22px;

    padding: 30px 25px;

    box-shadow:
        0 14px 35px -24px rgba(11, 49, 91, 0.12);
}

/* Vertical connection line */

.fqp-quote-steps::before {
    content: "";
    position: absolute;

    top: 54px;
    bottom: 54px;
    left: 37px;

    width: 2px;

    background: linear-gradient(
        to bottom,
        rgba(238, 127, 30, 0.35),
        rgba(40, 124, 184, 0.30),
        rgba(238, 127, 30, 0.35)
    );
}

/* Each step */

.fqp-quote-step {
    position: relative;

    display: grid;
    grid-template-columns: 24px 52px minmax(0, 1fr);
    align-items: center;

    gap: 14px;

    z-index: 1;
}

/* Orange step number */

.fqp-step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    background: var(--accent-color);
    border-radius: 50%;

    color: #ffffff;

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

    box-shadow:
        0 3px 9px rgba(238, 127, 30, 0.20);
}

/* Blue circular icon */

.fqp-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    background: linear-gradient(
        145deg,
        #287cb8,
        #0b315b
    );

    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;

    box-shadow:
        0 8px 18px rgba(11, 49, 91, 0.20);
}

.fqp-step-icon i {
    font-size: 21px;
    color: #ffffff;
}

/* Step content */

.fqp-step-content h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.fqp-step-content p {
    font-size: 12px;
    line-height: 1.6;
    color: #57748e;
    margin: 0;
}

/* ==========================================
   RESPONSIVE - LAPTOP
========================================== */

@media (max-width: 1199px) {

    .fqp-quote-side {
        max-width: 760px;
        margin: 0 auto;
    }

    .fqp-quote-images {
        justify-content: center;
    }
}

/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 991px) {

    .fqp-quote-section {
        padding: 70px 0;
    }

    .fqp-quote-card {
        padding: 30px 25px;
    }

    .fqp-quote-images {
        min-height: 290px;
    }

    .fqp-quote-image-main {
        height: 270px;
    }

    .fqp-quote-image-overlay {
        height: 205px;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
========================================== */

@media (max-width: 575px) {

    .fqp-quote-section {
        padding: 55px 0;
    }

    .fqp-quote-row {
        row-gap: 25px;
    }

    .fqp-quote-card {
        border-radius: 20px;
        padding: 24px 18px;
    }

    .fqp-quote-heading h2 {
        font-size: 26px;
    }

    .fqp-quote-heading p {
        font-size: 13px;
    }

    .fqp-quote-form .row {
        row-gap: 14px;
    }

    .fqp-input-wrap input,
    .fqp-input-wrap select {
        height: 46px;
    }

    .fqp-quote-images {
        min-height: 245px;
        padding: 5px;
    }

    .fqp-quote-image-main {
        width: 67%;
        height: 225px;
    }

    .fqp-quote-image-overlay {
        width: 53%;
        height: 165px;

        margin-left: -18%;
        margin-top: 40px;
    }

    .fqp-quote-image figure {
        border-radius: 17px;
    }

    .fqp-quote-steps {
        gap: 20px;
        padding: 24px 16px;
        border-radius: 18px;
    }

    .fqp-quote-step {
        grid-template-columns: 22px 44px minmax(0, 1fr);
        gap: 10px;
    }

    .fqp-step-number {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .fqp-step-icon {
        width: 44px;
        height: 44px;
    }

    .fqp-step-icon i {
        font-size: 18px;
    }

    .fqp-step-content h3 {
        font-size: 13px;
    }

    .fqp-step-content p {
        font-size: 11px;
    }

    .fqp-quote-steps::before {
        left: 27px;
    }
}

/* ==========================================
   ACCESSIBILITY - REDUCED MOTION
========================================== */

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

    .fqp-quote-image figure::after,
    .fqp-form-submit button,
    .fqp-form-submit button i,
    .fqp-input-wrap input,
    .fqp-input-wrap select,
    .fqp-input-wrap textarea {
        transition: none;
    }
}


/* ==========================================
   FREEQUOTEPRO - SIMPLE PROCESS SECTION
========================================== */

.fqp-simple-process {
    padding: 65px 0;

    background:
        linear-gradient(
            120deg,
            #edf6fc 0%,
            #f8fbfe 55%,
            #e9f4fb 100%
        );
}

/* ==========================================
   SECTION INTRO
========================================== */

.fqp-process-intro {
    padding-right: 20px;
}

.fqp-process-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    border: 1px solid rgba(11, 49, 91, 0.10);
    border-radius: 100px;

    background: rgba(255, 255, 255, 0.75);

    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;

    padding: 7px 12px;
    margin-bottom: 15px;
}

.fqp-process-label i {
    color: var(--accent-color);
    font-size: 10px;
}

.fqp-process-intro h2 {
    font-size: clamp(25px, 2.3vw, 36px);
    line-height: 1.13;
    letter-spacing: -0.025em;

    color: var(--primary-color);
    margin-bottom: 12px;
}

.fqp-process-intro h2 span {
    display: block;
}

.fqp-process-intro p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-color);
    margin: 0;
}

/* ==========================================
   STEPS LAYOUT
========================================== */

.fqp-process-steps {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

/* ==========================================
   PROCESS CARDS
========================================== */

.fqp-process-card {
    position: relative;
    isolation: isolate;

    flex: 1 1 0;
    min-width: 0;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(11, 49, 91, 0.08);
    border-radius: 16px;

    padding: 18px 14px;

    box-shadow:
        0 16px 32px -22px rgba(11, 49, 91, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.80);

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

/* Premium gradient border */

.fqp-process-card::after {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: inherit;
    padding: 1.5px;

    background: linear-gradient(
        135deg,
        rgba(225, 237, 245, 0.95),
        rgba(255, 255, 255, 0.15) 45%,
        rgba(238, 127, 30, 0.65)
    );

    pointer-events: none;

    -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;
}

/* ==========================================
   ICONS
========================================== */

.fqp-process-icon {
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: #eef5fa;
    border: 1px solid rgba(11, 49, 91, 0.10);
    border-radius: 12px;
}

.fqp-process-icon i {
    font-size: 19px;
    color: var(--primary-color);
}

/* ==========================================
   CARD CONTENT
========================================== */

.fqp-process-card-content {
    flex: 1;
    min-width: 0;
}

.fqp-process-card-content h3 {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;

    color: var(--primary-color);
    margin-bottom: 8px;
}

.fqp-process-card-content p {
    font-size: 11px;
    line-height: 1.65;
    color: #58758f;
    margin: 0;
}

/* ==========================================
   ARROWS
========================================== */

.fqp-process-arrow {
    flex: 0 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    align-self: center;

    width: 24px;
    height: 24px;

    border-radius: 50%;
    background: #287cb8;

    color: #ffffff;
    font-size: 11px;

    box-shadow:
        0 5px 12px rgba(40, 124, 184, 0.20);
}

.fqp-process-arrow i {
    color: inherit;
}

/* ==========================================
   HOVER
========================================== */

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

    .fqp-process-card:hover {
        transform: translateY(-5px);

        border-color: rgba(238, 127, 30, 0.22);

        box-shadow:
            0 20px 36px -18px rgba(11, 49, 91, 0.20),
            0 0 20px rgba(238, 127, 30, 0.06);
    }

    .fqp-process-card:hover .fqp-process-icon {
        background: var(--primary-color);
    }

    .fqp-process-card:hover .fqp-process-icon i {
        color: #ffffff;
    }
}

/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 1199px) {

    .fqp-process-intro {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .fqp-process-steps {
        max-width: 850px;
        margin: 0 auto;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
========================================== */

@media (max-width: 767px) {

    .fqp-simple-process {
        padding: 55px 0;
    }

    .fqp-process-intro h2 {
        font-size: 28px;
    }

    .fqp-process-steps {
        flex-direction: column;
        gap: 12px;
        max-width: 470px;
    }

    .fqp-process-card {
        width: 100%;
        padding: 20px;
    }

    .fqp-process-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .fqp-process-card-content h3 {
        font-size: 15px;
    }

    .fqp-process-card-content p {
        font-size: 12px;
    }

    .fqp-process-arrow {
        flex: 0 0 26px;
        align-self: center;
        transform: rotate(90deg);
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

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

    .fqp-process-card {
        transition: none;
    }

    .fqp-process-card:hover {
        transform: none;
    }
}


/* ==========================================
   FREEQUOTEPRO - FAQs
   PREMIUM WHITE SECTION
========================================== */

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

.our-faqs.dark-section {
    background-color: #ffffff;
    background-image: none !important;
    background-attachment: scroll !important;

    padding: 100px 0;
}

/* ==========================================
   2. SECTION TITLE
========================================== */

.our-faqs.dark-section .section-title h2 {
    color: var(--primary-color);
}

.our-faqs.dark-section .section-title p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Section subtitle */

.our-faqs.dark-section
.section-title .section-sub-title {
    color: var(--primary-color);

    background: #ffffff;
    border: 1px solid rgba(11, 49, 91, 0.12);

    box-shadow:
        0 3px 12px rgba(11, 49, 91, 0.035);
}

/* ==========================================
   3. LEFT CONTENT - DIVIDER
========================================== */

.our-faqs .faq-content-body {
    border-top: 1px solid rgba(11, 49, 91, 0.12);
}

/* ==========================================
   4. OPENING HOURS
========================================== */

.our-faqs .faq-working-hours h2 {
    color: var(--primary-color);
}

.our-faqs .faq-working-hours ul li {
    color: var(--text-color);
}

.our-faqs .faq-working-hours ul li span {
    color: var(--primary-color);
}

/* ==========================================
   5. FAQ ACCORDION CARDS
========================================== */

.our-faqs .faq-accordion .accordion-item {
    position: relative;
    isolation: isolate;

    background: linear-gradient(
        145deg,
        #ffffff 0%,
        #f5f9fc 100%
    );

    border: 1px solid rgba(11, 49, 91, 0.11);
    border-radius: 16px;

    box-shadow:
        0 12px 28px -19px rgba(11, 49, 91, 0.22),
        0 4px 12px -9px rgba(11, 49, 91, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    overflow: hidden;

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

/* Hover */

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

    .our-faqs .faq-accordion .accordion-item:hover {
        border-color: rgba(238, 127, 30, 0.30);

        box-shadow:
            0 16px 34px -18px rgba(11, 49, 91, 0.23),
            0 0 18px rgba(238, 127, 30, 0.06);
    }
}

/* ==========================================
   6. PREMIUM GLASS BORDER
========================================== */

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

.our-faqs .faq-accordion .accordion-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;

    width: auto;
    height: auto;
    padding: 2px;

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

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

        rgba(255, 255, 255, 0.20) 0%,
        rgba(210, 225, 236, 0.85) 12%,
        rgba(255, 255, 255, 0.35) 24%,

        transparent 42%,

        rgba(238, 127, 30, 0.85) 59%,
        rgba(255, 190, 125, 0.55) 65%,

        transparent 80%,
        rgba(255, 255, 255, 0.20) 100%
    );
}

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

    .our-faqs .faq-accordion .accordion-item::after {

        -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:
            --faq-glass-angle 900ms
            cubic-bezier(0.25, 1, 0.5, 1);
    }
}

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

    .our-faqs .faq-accordion
    .accordion-item:hover::after {
        --faq-glass-angle: 255deg;
    }
}

/* ==========================================
   7. ACCORDION BUTTONS
========================================== */

.our-faqs .faq-accordion .accordion-button {
    position: relative;

    background: transparent;
    color: var(--primary-color);

    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;

    box-shadow: none;
    border: none;

    padding: 22px 65px 22px 24px;

    transition:
        color 350ms ease,
        background-color 350ms ease;
}

/* Collapsed question */

.our-faqs .faq-accordion
.accordion-button.collapsed {
    color: var(--primary-color);
    background: transparent;
}

/* Active question */

.our-faqs .faq-accordion
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: transparent;
    box-shadow: none;
}

/* Remove focus shadow */

.our-faqs .faq-accordion
.accordion-button:focus {
    box-shadow: none;
}

/* Keyboard accessibility */

.our-faqs .faq-accordion
.accordion-button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -3px;
}

/* ==========================================
   8. ORANGE PLUS / MINUS ICONS
========================================== */

/* Preserve the template's icon behavior */

.our-faqs .faq-accordion
.accordion-button::after {

    border-radius: 50%;
    background-size: 14px;

    box-shadow:
        0 3px 9px rgba(238, 127, 30, 0.15);

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

/* ==========================================
   9. ACCORDION ANSWER
========================================== */

.our-faqs .faq-accordion .accordion-body {
    color: var(--text-color);
    background: transparent;

    padding: 0 24px 24px;
}

.our-faqs .faq-accordion .accordion-body p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-color);
    margin: 0;
}

/* ==========================================
   10. DIVIDER INSIDE EXPANDED ITEM
========================================== */

.our-faqs .faq-accordion
.accordion-collapse.show .accordion-body {
    border-top: 1px solid rgba(11, 49, 91, 0.10);
    padding-top: 18px;
}

/* ==========================================
   11. RESPONSIVE - TABLET
========================================== */

@media (max-width: 991px) {

    .our-faqs.dark-section {
        padding: 75px 0;
    }

    .our-faqs .faq-accordion .accordion-button {
        font-size: 15px;
        padding: 20px 58px 20px 20px;
    }

    .our-faqs .faq-accordion .accordion-body {
        padding: 0 20px 20px;
    }

    .our-faqs .faq-accordion
    .accordion-collapse.show .accordion-body {
        padding-top: 16px;
    }
}

/* ==========================================
   12. RESPONSIVE - MOBILE
========================================== */

@media (max-width: 575px) {

    .our-faqs.dark-section {
        padding: 60px 0;
    }

    .our-faqs .faq-accordion .accordion-item {
        border-radius: 14px;
    }

    .our-faqs .faq-accordion .accordion-button {
        font-size: 14px;
        line-height: 1.5;
        padding: 18px 54px 18px 18px;
    }

    .our-faqs .faq-accordion .accordion-body {
        padding: 0 18px 20px;
    }

    .our-faqs .faq-accordion
    .accordion-collapse.show .accordion-body {
        padding-top: 15px;
    }

    .our-faqs .faq-accordion .accordion-body p {
        font-size: 14px;
    }
}

/* ==========================================
   13. REDUCED MOTION
========================================== */

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

    .our-faqs .faq-accordion .accordion-item,
    .our-faqs .faq-accordion .accordion-item::after,
    .our-faqs .faq-accordion .accordion-button {
        transition: none;
    }
}

/* ==========================================
   FREEQUOTEPRO - FAQ ANSWER TEXT FIX
========================================== */

.our-faqs .faq-accordion .accordion-body,
.our-faqs .faq-accordion .accordion-body p {
    color: var(--text-color) !important;
}

/* Keep answer text readable */
.our-faqs .faq-accordion .accordion-collapse .accordion-body p {
    color: #2576B3 !important;
}



/* ==========================================
   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;
    }
}

