/* ══════════════════ FAQ PAGE STYLES ══════════════════ */

/* ── Hero Banner ── */
.faq-hero {
    background: linear-gradient(135deg, #2c6e22 0%, #3d9130 55%, #4daa3c 100%);
    padding: 52px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.faq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}
.faq-hero-inner { position: relative; z-index: 1; }
.faq-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.25);
}
.faq-hero h1, .faq-hero .faq-hero-title {
    color: #fff;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
}
.faq-hero p {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    margin: 0 auto;
    max-width: 540px;
    line-height: 1.65;
}

/* ── Breadcrumb ── */
.breadcrumb-bar {
    background: #f7f8fa;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
    flex-wrap: wrap;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 6px; }
.breadcrumb-list li:not(:last-child)::after { content: '/'; color: #ccc; }
.breadcrumb-list a { color: #777; }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list li:last-child { color: var(--dark); font-weight: 600; }

/* ── FAQ Body ── */
.faq-section {
    padding: 52px 0 72px;
    background: #fff;
}

.faq-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* ── Sidebar / Category Filter ── */
.faq-sidebar {
    position: sticky;
    top: 90px;
}
.faq-sidebar-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.faq-sidebar-stat {
    background: linear-gradient(135deg, #f0faea, #e6f9e0);
    border: 1px solid #c5e8bc;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    margin-bottom: 22px;
}
.faq-sidebar-stat .stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.faq-sidebar-stat .stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.faq-cta-card {
    background: var(--primary);
    border-radius: 10px;
    padding: 22px 18px;
    text-align: center;
    margin-top: 22px;
}
.faq-cta-card p {
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    margin: 0 0 14px;
    line-height: 1.6;
}
.faq-cta-card a {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
}
.faq-cta-card a:hover {
    background: #f0faea;
    transform: translateY(-1px);
}

/* ── Accordion ── */
.faq-main-area {}
.faq-search-wrap {
    position: relative;
    margin-bottom: 28px;
}
.faq-search-wrap input {
    width: 100%;
    padding: 13px 48px 13px 18px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
    background: #fafafa;
}
.faq-search-wrap input:focus {
    border-color: var(--primary);
    background: #fff;
}
.faq-search-wrap .faq-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
    pointer-events: none;
}

.faq-accordion { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.faq-item.open {
    border-color: var(--primary);
    box-shadow: 0 4px 18px rgba(61, 145, 48, 0.10);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
}
.faq-question-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    flex: 1;
}
.faq-item.open .faq-question-text { color: var(--primary); }
.faq-q-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: #f0faea;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    color: #777;
    transition: background 0.2s, color 0.2s, transform 0.25s;
}
.faq-item.open .faq-toggle-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer-wrap {
    max-height: 600px;
}
.faq-answer {
    padding: 0 20px 20px 62px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.faq-no-results {
    text-align: center;
    padding: 48px 20px;
    color: #aaa;
    font-size: 14px;
    display: none;
}
.faq-no-results i { font-size: 40px; margin-bottom: 12px; display: block; color: #ddd; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .faq-layout { grid-template-columns: 1fr; }
    .faq-sidebar { position: static; margin-bottom: 0; }
    .faq-sidebar-stat, .faq-cta-card { display: none; }
}
@media (max-width: 600px) {
    .faq-hero { padding: 38px 0 34px; }
    .faq-section { padding: 32px 0 52px; }
    .faq-question { padding: 15px 16px; }
    .faq-answer { padding: 0 16px 16px 16px; padding-top: 14px; }
    .faq-question-text { font-size: 14px; }
    .faq-q-num { display: none; }
}
