/* ============================================
   FAQ Page Styles
   ============================================ */

/* Hero Section */
.section-hero--faq {
    height: 35vh;
    min-height: 250px;
}

.section-hero--faq .legal-title {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center !important;
    align-items: center;
}

.section-hero--faq .legal-title__heading {
    text-align: center !important;
}

/* FAQ Section */
.section-faq {
    position: relative;
    padding: 20px 40px 60px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-subtitle {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--color-white);
    opacity: 0.75;
    text-align: center;
    margin: 0 0 60px 0;
    line-height: 1.6;
}

/* FAQ Category */
.faq-category {
    margin-bottom: 52px;
}

.faq-category__title {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(205, 235, 119, 0.25);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* FAQ Item */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(205, 235, 119, 0.3);
}

.faq-item[open] {
    border-color: rgba(205, 235, 119, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

/* Summary */
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.4;
    transition: color 0.2s ease;
    user-select: none;
}

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

.faq-item[open] summary {
    color: var(--color-accent);
}

/* Icon */
.faq-item__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
}

/* Answer */
.faq-item__answer {
    padding: 4px 28px 24px;
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.85;
    line-height: 1.75;
}

.faq-item__answer p {
    margin: 0 0 10px 0;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

.faq-item__answer strong {
    color: var(--color-accent);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .section-faq {
        padding: 20px 20px 60px;
    }

    .faq-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .faq-item summary {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-item__answer {
        padding: 4px 20px 20px;
        font-size: 15px;
    }
}
