/* ==========================================================================
   METIVATOR — FAQ page (자주 묻는 질문)
   카테고리별 그룹 + 아코디언 toggle (CSS-only details/summary)
   ========================================================================== */

.faq-page {
    width: 100%;
    background: var(--color-bg);
    font-family: "SUIT", sans-serif;
    padding: 60px 0 120px;
}
.faq-page__inner {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.faq-page__header {
    margin-bottom: 48px;
}
.faq-page__title {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: #1c1c1c;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.faq-page__sub {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #5a5a5a;
    margin: 0;
}
.faq-page__sub a {
    color: #ff6600;
    text-decoration: underline;
}
.faq-page__empty {
    padding: 80px 24px;
    text-align: center;
    color: #707070;
    font-size: 15px;
    line-height: 24px;
}
.faq-page__empty a {
    color: #ff6600;
    text-decoration: underline;
}

.faq-groups {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.faq-group__title {
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    color: #1c1c1c;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1c1c1c;
}
.faq-group__list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #d8d8d8;
}
.faq-item__q {
    list-style: none;
    cursor: pointer;
    padding: 22px 16px 22px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #1c1c1c;
    transition: background 0.15s;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { background: rgba(0, 0, 0, 0.02); }
.faq-item__q-prefix {
    font-weight: 800;
    color: #ff6600;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}
.faq-item__q-text {
    flex: 1;
}
.faq-item__q-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 300;
    color: #707070;
    transition: transform 0.2s;
    line-height: 1;
}
.faq-item[open] .faq-item__q-toggle {
    transform: rotate(45deg);
    color: #ff6600;
}
.faq-item__a {
    padding: 0 16px 22px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fafafa;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 22px;
}
.faq-item__a-prefix {
    font-weight: 800;
    color: #5a5a5a;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}
.faq-item__a-text {
    flex: 1;
    font-weight: 400;
    font-size: 15px;
    line-height: 26px;
    color: #303030;
    word-break: keep-all;
}

@media screen and (max-width: 720px) {
    .faq-page { padding: 40px 0 80px; }
    .faq-page__title { font-size: 28px; line-height: 36px; }
    .faq-page__sub { font-size: 14px; line-height: 22px; }
    .faq-group__title { font-size: 18px; line-height: 24px; }
    .faq-item__q { font-size: 15px; line-height: 22px; padding: 18px 12px 18px 0; }
    .faq-item__a { padding-top: 18px; padding-bottom: 18px; }
    .faq-item__a-text { font-size: 14px; line-height: 24px; }
}
