/* =========================================================
   THE ADS AND FUNNEL — FAQ SECTION
   Fixed independent columns; no card shifting
   Shared design tokens
========================================================= */

.bcc-faq {
    width: 100%;
    padding: 42px 0 76px;
    background: var(--bcc-color-surface);
    color: var(--bcc-color-text);
}

.bcc-faq,
.bcc-faq * {
    box-sizing: border-box;
}

/* =========================================
   SECTION CONTAINER
========================================= */

.bcc-faq__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 40px);
    max-width: 1800px;
    margin: 0 auto;
    gap: 80px;
}

/* =========================================
   HEADER
========================================= */

.bcc-faq__header {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.bcc-faq__eyebrow {
    margin: 0 0 12px;
    color: var(--bcc-color-text);
    font-family: var(--bcc-font-body);
    font-size: 12px;
    font-weight: var(--bcc-weight-semibold, 600);
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.bcc-faq__heading {
    max-width: 650px;
    margin: 0 auto;
    color: var(--bcc-color-text);
    font-family: var(--bcc-font-heading);
    font-size: clamp(44px, 3.65vw, 64px);
    font-weight: var(--bcc-weight-semibold, 600);
    letter-spacing: -0.058em;
    line-height: 1.08;
    text-align: center;
    text-wrap: balance;
}

.bcc-faq__description {
    max-width: 700px;
    margin: 26px auto 0;
    color: var(--bcc-color-text-muted);
    font-family: var(--bcc-font-body);
    font-size: 21px;
    font-weight: var(--bcc-weight-regular, 400);
    letter-spacing: 0;
    line-height: 1.72;
    text-align: center;
    text-wrap: balance;
}

/* =========================================
   FAQ LIST
   Two permanent columns defined by PHP
========================================= */

.bcc-faq__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 20px;
    width: 100%;
    min-width: 0;
}

/* Each column stacks its own cards independently */

.bcc-faq__column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
    min-width: 0;
}

/* =========================================
   FAQ CARD
========================================= */

.bcc-faq__item {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;

    border: var(--bcc-border-width, 1px) solid var(--bcc-color-border);
    border-radius: var(--bcc-border-radius-lg, 20px);
    background: var(--bcc-color-surface-muted);
}

/* =========================================
   QUESTION
========================================= */

.bcc-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    width: 100%;
    min-height: 88px;
    margin: 0;
    padding: 24px 27px;

    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--bcc-color-text);

    font-family: var(--bcc-font-heading);
    font-size: 20px;
    font-weight: var(--bcc-weight-semibold, 600);
    letter-spacing: -0.025em;
    line-height: 1.45;
    text-align: left;

    cursor: pointer;
    transition: color var(--bcc-transition-fast, 150ms ease);
}

.bcc-faq__question:hover {
    color: var(--bcc-color-primary);
}

.bcc-faq__question:focus-visible {
    outline: 2px solid var(--bcc-color-accent);
    outline-offset: -5px;
}

.bcc-faq__question-text {
    display: block;
    flex: 1;
    min-width: 0;
}

/* =========================================
   PLUS / MINUS ICON
========================================= */

.bcc-faq__icon {
    display: flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    color: var(--bcc-color-primary);
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: var(--bcc-weight-regular, 400);
    line-height: 1;

    transform: rotate(0deg);
    transition:
        transform var(--bcc-transition-base, 200ms ease),
        color var(--bcc-transition-fast, 150ms ease);
}

.bcc-faq__question[aria-expanded="true"] .bcc-faq__icon {
    color: var(--bcc-color-primary);
    transform: rotate(45deg);
}

/* =========================================
   ANSWER
========================================= */

.bcc-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--bcc-transition-slow, 300ms ease);
}

.bcc-faq__answer-inner {
    min-height: 0;
    overflow: hidden;
}

.bcc-faq__answer p {
    max-width: 100%;
    margin: 0;
    padding: 0 27px;

    color: var(--bcc-color-text-muted);
    font-family: var(--bcc-font-body);
    font-size: 17px;
    font-weight: var(--bcc-weight-regular, 400);
    letter-spacing: 0;
    line-height: 1.75;

    opacity: 0;
    transition:
        opacity var(--bcc-transition-fast, 150ms ease),
        padding-bottom var(--bcc-transition-slow, 300ms ease);
}

.bcc-faq__item.is-open .bcc-faq__answer {
    grid-template-rows: 1fr;
}

.bcc-faq__item.is-open .bcc-faq__answer p {
    padding-bottom: 25px;
    opacity: 1;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {
    .bcc-faq {
        padding: 56px 0 64px;
    }

    .bcc-faq__inner {
        width: calc(100% - 40px);
        gap: 54px;
    }

    .bcc-faq__heading {
        font-size: clamp(42px, 5vw, 56px);
    }

    .bcc-faq__description {
        margin-top: 20px;
        font-size: 18px;
        line-height: 1.7;
    }

    .bcc-faq__list {
        column-gap: 14px;
    }

    .bcc-faq__column {
        gap: 14px;
    }

    .bcc-faq__item {
        border-radius: var(--bcc-border-radius-md, 12px);
    }

    .bcc-faq__question {
        min-height: 76px;
        gap: 16px;
        padding: 21px 22px;
        font-size: 17px;
        line-height: 1.45;
    }

    .bcc-faq__answer p {
        padding-right: 22px;
        padding-left: 22px;
        font-size: 15px;
        line-height: 1.75;
    }

    .bcc-faq__item.is-open .bcc-faq__answer p {
        padding-bottom: 21px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
    .bcc-faq {
        padding: 48px 0 54px;
    }

    .bcc-faq__inner {
        width: calc(100% - 32px);
        gap: 34px;
    }

    .bcc-faq__header {
        max-width: 520px;
    }

    .bcc-faq__heading {
        max-width: 460px;
        font-size: clamp(36px, 9vw, 46px);
        letter-spacing: -0.05em;
        line-height: 1.08;
    }

    .bcc-faq__description {
        max-width: 460px;
        margin-top: 17px;
        font-size: 15px;
        line-height: 1.7;
    }

    .bcc-faq__list {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
    }

    .bcc-faq__column {
        gap: 10px;
    }

    .bcc-faq__item {
        border-radius: var(--bcc-border-radius-sm, 6px);
    }

    .bcc-faq__question {
        min-height: 70px;
        gap: 15px;
        padding: 19px 18px;
        font-size: 16px;
        letter-spacing: -0.02em;
        line-height: 1.45;
    }

    .bcc-faq__icon {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
        font-size: 25px;
    }

    .bcc-faq__answer p {
        padding-right: 18px;
        padding-left: 18px;
        font-size: 14px;
        line-height: 1.7;
    }

    .bcc-faq__item.is-open .bcc-faq__answer p {
        padding-bottom: 19px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .bcc-faq *,
    .bcc-faq *::before,
    .bcc-faq *::after {
        scroll-behavior: auto;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}