/* =============================================
   SSS / FAQ
   ============================================= */

.faq-section {
    padding: 0.75rem 0 1.25rem;
}

.faq-section__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

.faq-section__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #0f172a;
    flex-shrink: 0;
}

.faq-section__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 50%;
    background: #3566df;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(53, 102, 223, 0.28);
}

.faq-section__badge-icon {
    display: block;
    width: 1rem;
    height: 1rem;
    transform: translate(-1px, 1px);
}

.faq-section__intro {
    width: 100%;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.6;
    color: #94a3b8;
}

.faq-section__head-row {
    display: flex;
    align-items: center;
    gap: 1.125rem;
}

.faq-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item.is-open {
    border-color: rgba(53, 102, 223, 0.16);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.125rem;
    text-align: left;
    color: #0f172a;
    transition: background 0.2s ease;
}

.faq-item__trigger:hover {
    background: #fafbff;
}

.faq-item__question {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1e293b;
}

.faq-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(180deg);
    color: #3566df;
}

.faq-item__panel {
    padding: 0 1.125rem 1rem;
}

.faq-item__panel[hidden] {
    display: none;
}

.faq-item__answer {
    border-top: 1px solid #f1f5f9;
    padding-top: 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #64748b;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 1rem 0 1.5rem;
    }

    .faq-section__header {
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
        padding: 1.125rem 2rem 1.125rem 2.25rem;
        margin-bottom: 1.125rem;
    }

    .faq-section__head-row {
        display: contents;
    }

    .faq-section__title {
        font-size: 1.25rem;
        white-space: nowrap;
    }

    .faq-section__intro {
        flex: 1;
        min-width: 0;
        font-size: 0.75rem;
    }

    .faq-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.875rem;
    }

    .faq-item__trigger {
        padding: 1.0625rem 1.25rem;
    }

    .faq-item__panel {
        padding: 0 1.25rem 1.125rem;
    }
}

@media (min-width: 992px) {
    .faq-section__header {
        padding: 1.25rem 2.5rem 1.25rem 2.75rem;
        gap: 3.25rem;
    }

    .faq-section__title {
        font-size: 1.375rem;
    }

    .faq-section__badge {
        width: 2.75rem;
        height: 2.75rem;
    }

    .faq-section__intro {
        font-size: 0.6875rem;
        line-height: 1.65;
    }

    .faq-section__grid {
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .faq-section__header {
        padding: 1.25rem 1.375rem;
    }
}
