/* =========================================
   FAQ PAGE — premium help-center layout
   ========================================= */

.faq-hero {
    min-height: clamp(420px, 62vh, 640px);
}

/* ---------- Main cream section ---------- */
.faq-main {
    position: relative;
    padding: 4.5rem 0 5rem;
    background:
        radial-gradient(ellipse 50% 40% at 6% 18%, rgba(186, 206, 170, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 45% 35% at 94% 55%, rgba(212, 196, 160, 0.22) 0%, transparent 70%),
        #F8F4EC;
    overflow: hidden;
}

.faq-main > .container {
    position: relative;
    z-index: 1;
}

.faq-intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.faq-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D4A017;
    margin-bottom: 0.95rem;
}

.faq-eyebrow::before,
.faq-eyebrow::after {
    content: '';
    display: block;
    width: 36px;
    height: 1.5px;
    background: #D4A017;
}

.faq-intro-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    color: #1F3D20;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 0.85rem;
    text-transform: none;
}

.faq-intro-desc {
    font-family: var(--font-body);
    color: var(--muted);
    font-size: var(--sub-size);
    font-weight: var(--sub-weight);
    line-height: var(--sub-lh);
    margin: 0;
}

.faq-intro-desc a {
    color: #D4A017;
    font-weight: 600;
    text-decoration: none;
}

.faq-intro-desc a:hover {
    color: #B8860B;
    text-decoration: underline;
}

/* ---------- Search ---------- */
.faq-main .faq-search-wrap {
    position: relative;
    max-width: 560px;
    margin: 0 auto 1.75rem;
}

.faq-main .faq-search-icon {
    position: absolute;
    left: 1.35rem;
    top: 50%;
    transform: translateY(-50%);
    color: #D4A017;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 2;
}

.faq-main .faq-search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.25rem;
    border-radius: 999px;
    border: 1.5px solid rgba(212, 160, 23, 0.35);
    background: #fff;
    box-shadow: 0 8px 28px rgba(31, 61, 32, 0.07);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #1F3D20;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-main .faq-search-input::placeholder {
    color: #8A9A8B;
}

.faq-main .faq-search-input:focus {
    border-color: #D4A017;
    box-shadow: 0 10px 32px rgba(212, 160, 23, 0.18);
}

/* ---------- Category pills ---------- */
.faq-main .faq-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
}

.faq-main .faq-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    border: 1.5px solid rgba(44, 95, 45, 0.15);
    background: #fff;
    color: #1F3D20;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 2px 10px rgba(31, 61, 32, 0.04);
}

.faq-main .faq-tab i {
    color: #2C5F2D;
    font-size: 0.82rem;
}

.faq-main .faq-tab:hover {
    border-color: rgba(212, 160, 23, 0.45);
    color: #1F3D20;
}

.faq-main .faq-tab.active {
    background: linear-gradient(135deg, #E8B923, #D4A017);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.35);
}

.faq-main .faq-tab.active i {
    color: #fff;
}

/* ---------- Accordion ---------- */
.faq-main .faq-accordion {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.faq-main .faq-item {
    background: #FFFEFB;
    border: 1.5px solid rgba(212, 160, 23, 0.22);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(31, 61, 32, 0.05);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-main .faq-item:hover {
    box-shadow: 0 12px 32px rgba(31, 61, 32, 0.08);
}

.faq-main .faq-item.open {
    border-color: rgba(212, 160, 23, 0.45);
    box-shadow: 0 14px 36px rgba(212, 160, 23, 0.12);
}

.faq-main .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
    cursor: pointer;
    user-select: none;
}

.faq-main .faq-cat-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #B8860B;
    background: rgba(232, 185, 35, 0.18);
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}

.faq-main .faq-question-text {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 600;
    color: #1F3D20;
    line-height: 1.4;
}

.faq-main .faq-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(232, 185, 35, 0.2);
    color: #B8860B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-main .faq-item.open .faq-icon {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #E8B923, #D4A017);
    color: #fff;
}

.faq-main .faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1.35rem;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.faq-main .faq-item.open .faq-answer {
    max-height: 600px;
    opacity: 1;
    padding: 0 1.35rem 1.35rem;
}

.faq-main .faq-answer p {
    color: #5A6B5B;
    font-size: 0.94rem;
    line-height: 1.75;
    margin: 0;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(212, 160, 23, 0.15);
    padding-top: 1rem;
}

.faq-main .faq-answer a {
    color: #D4A017;
    font-weight: 600;
}

.faq-main .no-results {
    max-width: 920px;
    margin: 1.5rem auto 0;
    text-align: center;
    padding: 2rem 1rem;
    display: none;
}

.faq-main .no-results i {
    font-size: 2rem;
    color: #D4A017;
    margin-bottom: 0.75rem;
}

.faq-main .no-results p {
    color: #5A6B5B;
    margin: 0;
}

/* ---------- Stats strip ---------- */
.faq-stats {
    background: linear-gradient(135deg, #0C1A0E 0%, #172B19 50%, #1D3620 100%);
    padding: 3rem 0;
}

.faq-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.faq-stat {
    text-align: center;
    padding: 0.75rem 1.25rem;
    position: relative;
}

.faq-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(212, 160, 23, 0.28);
}

.faq-stat-icon {
    color: #E8B923;
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.faq-stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #F3C649;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.faq-stat-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- CTA ---------- */
.faq-cta {
    padding: 2.5rem 0 4rem;
    background: #FDFBF7;
}

.faq-cta-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(120deg, #0C1A0E 0%, #1D3620 55%, #2C5F2D 100%);
    border-radius: 32px;
    padding: 3rem 3.25rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(12, 26, 14, 0.25);
}

.faq-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 70% at 88% 50%, rgba(212, 160, 23, 0.12) 0%, transparent 70%),
        url('../images/blurwheet.png') right center / cover no-repeat;
    opacity: 0.16;
    pointer-events: none;
}

.faq-cta-content {
    position: relative;
    z-index: 2;
    flex: 1 1 55%;
    max-width: 520px;
}

.faq-cta-content h2 {
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    margin-bottom: 0.85rem;
    line-height: 1.25;
    text-transform: none;
}

.faq-cta-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.65rem;
}

.faq-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.faq-cta-visual {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: min(260px, 34%);
}

.faq-cta-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .faq-main {
        padding: 3.5rem 0 4rem;
    }

    .faq-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 0;
    }

    .faq-stat:nth-child(2)::after {
        display: none;
    }

    .faq-stat:nth-child(even)::after {
        display: none;
    }

    .faq-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.75rem;
    }

    .faq-cta-content {
        max-width: 100%;
    }

    .faq-cta-actions {
        justify-content: center;
    }

    .faq-cta-visual {
        width: min(220px, 70%);
    }

}

@media (max-width: 575.98px) {
    .faq-hero {
        min-height: clamp(360px, 58vh, 520px);
    }

    .faq-main .faq-question {
        padding: 1.05rem 1.1rem;
    }

    .faq-main .faq-question-text {
        font-size: 0.95rem;
    }

    .faq-main .faq-icon {
        width: 36px;
        height: 36px;
    }

    .faq-cta-actions .btn-cta-gold,
    .faq-cta-actions .btn-cta-outline-white {
        width: 100%;
        justify-content: center;
    }

    .faq-cta-banner {
        border-radius: 24px;
        padding: 2rem 1.35rem;
    }

    .faq-stat-num {
        font-size: 1.65rem;
    }
}
