/* ==========================================================================
   FAQ Section
   Figma: container 1539.01px wide
   Annotation: FAQ content from provided Word doc
   ========================================================================== */
.faq-section {
    padding: 0 0 80px;
}

.faq-section .container {
    max-width: 1560px;
}

/* Figma: 38px Bold #272727, letter-spacing 1.9px */
.faq-section .section-title {
    margin-bottom: 47px;
}

/* ==========================================================================
   Category Filter Tabs
   Figma: tabs with border 1.166px #e1e1e3, radius 69.944px
   Active: bg #002856, white text
   Inactive: white bg, #2a2a2a text
   Text: 18.652px Medium, line-height 30.309px
   ========================================================================== */
.faq-filters {
    gap: 12px;
    margin-bottom: 45px;
}

.faq-filter {
    padding: 5px 30px;
    height: 40.801px;
    font-size: 18.652px;
    line-height: 30.309px;
    border: 1.166px solid #e1e1e3;
    color: #2a2a2a;
    transition: all 0.2s;
}

.faq-filter:hover {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.faq-filter.active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* ==========================================================================
   FAQ List
   Figma: questions 20.983px Regular #2a2a2a, line-height 30.309px
   Separator lines: full width, spaced 72.27px apart
   Chevron: 16.32 × 8.16px, rotated 90deg
   ========================================================================== */
.faq-list {
    max-width: 1539px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 0.854px solid var(--gray-200);
    margin-left: 58px;
    margin-right: 58px;
}

.faq-item.hidden-faq {
    display: none;
}

/* Figma: 20.983px Regular #2a2a2a, line-height 30.309px */
.faq-item__question {
    padding: 22px 26px;
    font-size: 20.983px;
    color: #2a2a2a;
    line-height: 30.309px;
    background: none;
    font-family: inherit;
    gap: 20px;
}

.faq-item__question span {
    flex: 1;
}

/* Figma: chevron 16.32 × 8.16px */
.faq-item__icon {
    flex-shrink: 0;
    width: 16.32px;
    height: 8.16px;
    transition: transform 0.3s;
    color: #2a2a2a;
}

.faq-item.active .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    display: none;
    padding: 0 26px 22px;
}

.faq-item.active .faq-item__answer {
    display: block;
}

.faq-item__answer p {
    font-size: 17px;
    font-weight: 400;
    color: var(--gray-800);
    line-height: 1.7;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .faq-filter {
        font-size: 16px;
        padding: 5px 22px;
    }
    .faq-item__question {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .faq-section {
        padding: 50px 0 60px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 40px 0 50px;
    }
    .faq-section .section-title {
        margin-bottom: 30px;
    }
    .faq-filters {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        gap: 10px;
        margin-bottom: 35px;
        padding: 0 17px;
    }
    .faq-filter {
        font-size: 16px;
        padding: 5px 20px;
        height: 35px;
        border-radius: 60px;
        line-height: 26px;
    }
    .faq-list {
        margin-left: 15px;
        margin-right: 15px;
    }
    .faq-item {
        margin-left: 0;
        margin-right: 0;
    }
    .faq-item__question {
        font-size: 16px;
        line-height: 26px;
        padding: 16px 3px;
    }
    .faq-item__question span {
        max-width: 280px;
    }
    .faq-item__icon {
        width: 14px;
        height: 7px;
    }
    .faq-item__answer {
        padding: 0 3px 16px;
    }
    .faq-item__answer p {
        font-size: 14px;
    }
}
