/* =========================================================
   GLOBAL RELIEF UNITY
   FAQ PAGE
========================================================= */


/* =========================================================
   PAGE BASE
========================================================= */

.faq-page {
    width: 100%;
    overflow: hidden;
}

.faq-page-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   COMMON SECTION ELEMENTS
========================================================= */

.faq-section-eyebrow {
    margin: 0 0 12px;
    color: #16733a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.faq-section-heading {
    max-width: 720px;
    margin: 0;
    color: #142019;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.faq-primary-button,
.faq-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.faq-primary-button {
    background: #16733a;
    border: 1px solid #16733a;
    color: #ffffff;
}

.faq-primary-button:hover {
    background: #125e30;
    border-color: #125e30;
    transform: translateY(-1px);
}

.faq-secondary-button {
    background: transparent;
    border: 1px solid #d2ddd6;
    color: #142019;
}

.faq-secondary-button:hover {
    background: #f3f7f4;
    border-color: #bfcfc4;
    transform: translateY(-1px);
}


/* =========================================================
   INTRO
========================================================= */

.faq-intro-section {
    padding: 72px 0 76px;
    background: #f5f9f6;
}

.faq-intro-content {
    max-width: 820px;
}

.faq-intro-content h1 {
    max-width: 820px;
    margin: 0;
    color: #142019;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.8px;
}

.faq-intro-content > p:last-child {
    max-width: 720px;
    margin: 22px 0 0;
    color: #607067;
    font-size: 18px;
    line-height: 1.75;
}


/* =========================================================
   QUICK NAVIGATION
========================================================= */

.faq-navigation-section {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e1e9e4;
    backdrop-filter: blur(10px);
}

.faq-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.faq-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 20px;
    color: #53635a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.faq-navigation a:hover {
    background: #eef7f1;
    border-color: #d6e6db;
    color: #16733a;
}


/* =========================================================
   FAQ CONTENT
========================================================= */

.faq-content-section {
    padding: 88px 0;
    background: #ffffff;
}

.faq-category {
    scroll-margin-top: 80px;
}

.faq-category + .faq-category {
    margin-top: 82px;
}

.faq-category-heading {
    margin-bottom: 30px;
}

.faq-category-heading h2 {
    margin: 0;
    color: #142019;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}


/* =========================================================
   FAQ LIST
========================================================= */

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e1e9e4;
}

.faq-item {
    border-bottom: 1px solid #e1e9e4;
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 20px 58px 20px 0;
    color: #142019;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #d9e4dd;
    border-radius: 50%;
    color: #16733a;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: "−";
    background: #eef7f1;
    transform: translateY(-50%);
}

.faq-item summary:hover {
    color: #16733a;
}

.faq-answer {
    max-width: 850px;
    padding: 0 58px 25px 0;
}

.faq-answer p {
    margin: 0;
    color: #68766e;
    font-size: 15px;
    line-height: 1.8;
}

.faq-answer a {
    display: inline-flex;
    margin-top: 14px;
    color: #16733a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIBLE GIVING
========================================================= */

.faq-responsible-section {
    padding: 0 0 88px;
    background: #ffffff;
}

.faq-responsible-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px;
    background: #f5f9f6;
    border: 1px solid #e1e9e4;
    border-radius: 20px;
}

.faq-responsible-content {
    max-width: 700px;
}

.faq-responsible-content h2 {
    margin: 0;
    color: #142019;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.25;
}

.faq-responsible-content > p:last-child {
    max-width: 650px;
    margin: 14px 0 0;
    color: #68766e;
    font-size: 15px;
    line-height: 1.7;
}

.faq-responsible-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.faq-final-cta {
    padding: 88px 0;
    background: #142019;
}

.faq-final-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-final-cta .faq-section-eyebrow {
    color: #8ed2a6;
}

.faq-final-cta h2 {
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.22;
}

.faq-final-cta-inner > p:not(.faq-section-eyebrow) {
    max-width: 650px;
    margin: 18px auto 0;
    color: #bdc9c1;
    font-size: 16px;
    line-height: 1.75;
}

.faq-final-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.faq-final-actions .faq-primary-button {
    background: #ffffff;
    border-color: #ffffff;
    color: #142019;
}

.faq-final-actions .faq-primary-button:hover {
    background: #eef5f0;
    border-color: #eef5f0;
}

.faq-final-actions .faq-secondary-button {
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.faq-final-actions .faq-secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .faq-page-container {
        width: min(100% - 32px, 760px);
    }


    /* Intro */

    .faq-intro-section {
        padding: 60px 0 64px;
    }

    .faq-intro-content h1 {
        font-size: 40px;
    }


    /* Navigation */

    .faq-navigation-section {
        position: static;
    }

    .faq-navigation {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .faq-navigation a {
        flex: 0 0 auto;
    }


    /* Content */

    .faq-content-section {
        padding: 70px 0;
    }

    .faq-category + .faq-category {
        margin-top: 68px;
    }


    /* Responsible */

    .faq-responsible-section {
        padding-bottom: 70px;
    }

    .faq-responsible-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
        padding: 34px;
    }


    /* CTA */

    .faq-final-cta {
        padding: 70px 0;
    }

    .faq-final-cta h2 {
        font-size: 34px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .faq-page-container {
        width: calc(100% - 28px);
    }


    /* Intro */

    .faq-intro-section {
        padding: 48px 0 52px;
    }

    .faq-section-eyebrow {
        margin-bottom: 10px;
        font-size: 11px;
        letter-spacing: 1.2px;
    }

    .faq-intro-content h1 {
        font-size: 32px;
        line-height: 1.18;
        letter-spacing: -0.4px;
    }

    .faq-intro-content > p:last-child {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.7;
    }


    /* Navigation */

    .faq-navigation-section {
        padding: 10px 0;
    }

    .faq-navigation {
        justify-content: flex-start;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .faq-navigation::-webkit-scrollbar {
        display: none;
    }

    .faq-navigation a {
        min-height: 35px;
        padding: 7px 12px;
        font-size: 12px;
        white-space: nowrap;
    }


    /* Content */

    .faq-content-section {
        padding: 58px 0;
    }

    .faq-category {
        scroll-margin-top: 20px;
    }

    .faq-category + .faq-category {
        margin-top: 58px;
    }

    .faq-category-heading {
        margin-bottom: 22px;
    }

    .faq-category-heading h2 {
        font-size: 27px;
    }


    /* FAQ Items */

    .faq-item summary {
        min-height: 64px;
        padding: 17px 48px 17px 0;
        font-size: 15px;
        line-height: 1.5;
    }

    .faq-item summary::after {
        right: 0;
        width: 29px;
        height: 29px;
        font-size: 18px;
    }

    .faq-answer {
        padding: 0 38px 21px 0;
    }

    .faq-answer p {
        font-size: 13px;
        line-height: 1.7;
    }

    .faq-answer a {
        font-size: 13px;
    }


    /* Responsible */

    .faq-responsible-section {
        padding-bottom: 58px;
    }

    .faq-responsible-card {
        gap: 24px;
        padding: 25px 21px;
        border-radius: 16px;
    }

    .faq-responsible-content h2 {
        font-size: 27px;
    }

    .faq-responsible-content > p:last-child {
        font-size: 14px;
        line-height: 1.7;
    }

    .faq-responsible-actions {
        width: 100%;
        flex-direction: column;
    }


    /* Buttons */

    .faq-primary-button,
    .faq-secondary-button {
        min-height: 46px;
        padding: 11px 19px;
    }

    .faq-responsible-actions .faq-primary-button,
    .faq-responsible-actions .faq-secondary-button {
        width: 100%;
        box-sizing: border-box;
    }


    /* Final CTA */

    .faq-final-cta {
        padding: 60px 0;
    }

    .faq-final-cta h2 {
        font-size: 29px;
    }

    .faq-final-cta-inner > p:not(.faq-section-eyebrow) {
        font-size: 14px;
        line-height: 1.7;
    }

    .faq-final-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 24px;
    }

    .faq-final-actions .faq-primary-button,
    .faq-final-actions .faq-secondary-button {
        width: 100%;
        box-sizing: border-box;
    }

}