/* ============================================================
   FAQ PAGE — save as wwwroot/css/faq.css
   Needs site.css + brand.css.
   Hero matches About / Contact look & feel.
   ============================================================ */

/* ── HERO (same structure as About / Contact) ───────────── */
.faq-hero {
    background: linear-gradient(135deg,#F0ECFF 0%,#EBF1FF 60%,#F5F3FE 100%);
    border-bottom: 1px solid #E0D8FF;
    padding-block: clamp(20px,3vw,36px);
    overflow: hidden;
    position: relative;
}

.faq-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.faq-hero-text {
    flex: 1;
    min-width: 0;
}

    .faq-hero-text h1 {
        font-size: clamp(2rem,4.5vw,3rem);
        font-weight: 800;
        color: var(--navy);
        margin-bottom: .3rem;
        line-height: 1.15;
    }

    .faq-hero-text p {
        color: var(--muted);
        font-size: clamp(.95rem,1.8vw,1.1rem);
        max-width: 420px;
        line-height: 1.7;
        margin: 0;
    }

/* Pulse line (ECG squiggle) */
.hero-pulse-line {
    margin: .4rem 0 .6rem;
}

/* Breadcrumb */
.crumbs {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: .75rem;
    flex-wrap: wrap;
}

    .crumbs a:hover {
        color: var(--violet)
    }

    .crumbs b {
        color: var(--violet);
        font-weight: 600
    }

/* Hero illustration (right side) */
.faq-hero-illo {
    flex: none;
    width: clamp(160px,22vw,260px);
}

.illo-wrap {
    position: relative;
    height: clamp(90px,12vw,140px);
}

.illo-card {
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
    width: 78%;
    filter: drop-shadow(0 8px 24px rgba(124,82,244,.18));
}

    .illo-card svg {
        width: 100%;
        height: auto;
    }

.illo-help-badge {
    position: absolute;
    inset-inline-start: 0;
    top: 6%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(124,82,244,.2);
    padding: 12px;
    display: grid;
    place-items: center;
}

.illo-chat-badge {
    position: absolute;
    inset-inline-end: 4%;
    bottom: 10%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(124,82,244,.15);
    padding: 10px 14px;
    display: flex;
    gap: 5px;
    align-items: center;
    z-index: 2;
}

    .illo-chat-badge span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #C4B5FD;
    }

        .illo-chat-badge span:nth-child(2) {
            background: #818CF8
        }

        .illo-chat-badge span:nth-child(3) {
            background: #7C52F4
        }

@media(max-width:700px) {
    .faq-hero-illo {
        display: none
    }
}

/* ── BODY ────────────────────────────────────────────────── */
.faq-section {
    background: var(--soft)
}

.faq-wrap {
    max-width: 1040px
}

.sec-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(1.8rem,3.5vw,2.6rem)
}

.sec-tag {
    display: inline-block;
    background: var(--violet-soft,#F1EBFF);
    color: var(--violet);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: 999px;
    margin-bottom: .9rem
}

.sec-head h2 {
    font-size: clamp(1.4rem,2.8vw,1.9rem);
    font-weight: 700;
    color: var(--navy)
}

.sec-head p {
    color: var(--muted);
    margin: .6rem 0 0
}

/* ---------- Accordion ---------- */
.faq-list {
    display: grid;
    gap: 12px
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .18s,box-shadow .18s
}

    .faq-item[open] {
        border-color: var(--violet);
        box-shadow: var(--shadow-sm)
    }

    .faq-item summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 1.05rem 1.25rem;
        font-weight: 600;
        font-size: .98rem;
        color: var(--navy);
        transition: color .15s
    }

        .faq-item summary::-webkit-details-marker {
            display: none
        }

        .faq-item summary:hover {
            color: var(--violet)
        }

    .faq-item[open] summary {
        color: var(--violet)
    }

.faq-chev {
    width: 19px;
    height: 19px;
    flex: none;
    color: var(--muted-2);
    transition: transform .25s
}

.faq-item[open] .faq-chev {
    transform: rotate(180deg);
    color: var(--violet)
}

.faq-answer {
    padding: 0 1.25rem 1.15rem;
    color: var(--muted);
    line-height: 1.85;
    font-size: .92rem
}

    .faq-answer p {
        margin: 0 0 .7rem
    }

        .faq-answer p:last-child {
            margin-bottom: 0
        }

    .faq-answer ul, .faq-answer ol {
        padding-inline-start: 1.3rem;
        margin: 0 0 .7rem
    }

    .faq-answer strong {
        color: var(--navy);
        font-weight: 600
    }

    .faq-answer span {
        background: transparent !important;
        color: inherit !important
    }

.faq-empty {
    text-align: center;
    color: var(--muted);
    padding-block: 3rem;
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: var(--radius)
}

/* ---------- Bottom CTA ---------- */
.faq-cta {
    margin-top: clamp(24px,4vw,36px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(20px,3.5vw,30px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap
}

    .faq-cta h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: .25rem
    }

    .faq-cta p {
        color: var(--muted);
        font-size: .9rem;
        margin: 0
    }

.faq-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.btn-whatsapp-sm {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #3DC553;
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    padding: .8rem 1.3rem;
    border-radius: 10px;
    transition: background .15s
}

    .btn-whatsapp-sm:hover {
        background: #33AC47
    }

    .btn-whatsapp-sm svg {
        width: 19px;
        height: 19px
    }
