/* ================================================================
   FAQ PAGE
   Plain CSS — no Bootstrap / Tailwind utility classes.
   Brand color: #2d6a4f
   ================================================================ */

.faq-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Hero / search / category bar ---------- */

.faq-hero {
    background: #f7f8f6;
    padding: 56px 0 32px;
    border-bottom: 1px solid #e5e7eb;
}

.faq-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 0 0 10px;
}

.faq-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.5;
}

.faq-search-wrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto 24px;
}

.faq-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #9ca3af;
    stroke-width: 2;
    pointer-events: none;
}

.faq-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px 12px 42px;
    font-size: 1rem;
    color: #1f2937;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.faq-search-input:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, .15);
}

.faq-category-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.faq-cat-btn {
    font-size: .85rem;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 7px 16px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.faq-cat-btn:hover {
    border-color: #2d6a4f;
    color: #2d6a4f;
}

.faq-cat-btn.active {
    background: #2d6a4f;
    border-color: #2d6a4f;
    color: #fff;
}

/* ---------- FAQ list ---------- */

.faq-body {
    padding: 40px 0 8px;
    background: #fff;
}

.faq-category-group {
    margin-bottom: 36px;
}

.faq-category-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d6a4f;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

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

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 18px;
    font-size: .98rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-chevron {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: rotate(45deg);
    transition: transform .2s ease;
    margin-top: -3px;
}

.faq-item.open .faq-chevron {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.faq-item.open .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    margin: 0;
    padding: 0 18px 16px;
    color: #4b5563;
    line-height: 1.6;
    font-size: .95rem;
}

.faq-empty-state,
.faq-no-results {
    text-align: center;
    color: #6b7280;
    padding: 40px 0;
    font-size: .98rem;
}

.faq-no-results a,
.faq-empty-state a {
    color: #2d6a4f;
    font-weight: 600;
}

/* ---------- Bottom CTA ---------- */

.faq-cta {
    background: #f7f8f6;
    padding: 44px 0 56px;
    margin-top: 12px;
}

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

.faq-cta-inner h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.faq-cta-inner p {
    color: #6b7280;
    margin: 0 0 20px;
}

.faq-cta-btn {
    display: inline-block;
    background: #2d6a4f;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 11px 26px;
    border-radius: 999px;
    transition: background-color .15s ease;
}

.faq-cta-btn:hover {
    background: #24543f;
    color: #fff;
}

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

@media (max-width: 560px) {
    .faq-title {
        font-size: 1.6rem;
    }

    .faq-hero {
        padding: 40px 0 24px;
    }

    .faq-question {
        font-size: .92rem;
        padding: 13px 14px;
    }
}
