/* ==========================================================================
   FAQ SECTION STYLES
   ========================================================================== */

:root {
    --faq-transition: all 0.3s ease;
}

#faq-section {
    background-color: var(--wp--preset--color--secondary);
    position: relative;
    overflow: hidden;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
    /* Elevated to remain above background grid */
}


/* --- Left Column --- */

.faq-main-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--wp--preset--color--contrast);
    margin-bottom: 48px;
    letter-spacing: -0.03em;
}

.faq-cta-card {
    background: #ffffff80;
    backdrop-filter: blur(2px);
    padding: 2rem;
    box-shadow: var(--wp--preset--shadow--post-shadow-light);
    position: relative;
    z-index: 1;
}

.faq-cta-avatar-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faq-cta-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-cta-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
    letter-spacing: -0.01em;
}

.faq-cta-desc {
    color: var(--faq-text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    font-size: 0.95rem;
}

/* --- Right Column Accordion --- */

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: #ffffff80;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: var(--faq-transition);
    box-shadow: var(--wp--preset--shadow--post-shadow-light);
    transition: box-shadow 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.accordion-item:hover {
    background: #ffffffcd;
    box-shadow: var(--wp--preset--shadow--post-shadow-light-hover);
}

.accordion-item.active {
    background: #ffffffcd;
    backdrop-filter: blur(2px);
    box-shadow: var(--wp--preset--shadow--post-shadow-light-hover);
    border-color: transparent;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 32px;
    cursor: pointer;
    outline: none;
}

.accordion-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--manrope);
    flex: 1;
    padding-right: 20px;
    transition: color 0.3s ease;
}

.accordion-item.active .accordion-question {
    color: var(--wp--preset--color--contrast);
    /* Keeps same as mock */
}

.accordion-icon {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 300;
    color: var(--wp--preset--color--contrast);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s linear;
}

.accordion-inner {
    padding: 0 32px 32px 32px;
    color: var(--wp--preset-color--contrast);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 90%;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-column-info {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .faq-pretext {
        justify-content: center;
    }

    .faq-cta-card {
        text-align: left;
    }

    .faq-cta-avatar-wrapper {
        margin-left: auto;
        margin-right: auto;
    }

    .faq-cta-card {
        text-align: center;
    }
}

@media (max-width: 768px) {
    #faq-section {
        padding: 60px 0;
    }

    .faq-main-title {
        font-size: 2.2rem;
        margin-bottom: 32px;
    }

    .accordion-header {
        padding: 20px 24px;
    }

    .accordion-inner {
        padding: 0 24px 24px 24px;
    }

    .accordion-question {
        font-size: 1.1rem;
    }
}