/* ========================================
   자주하는 질문 페이지
   ======================================== */

.faq-section {
    background: #fff;
    padding: 48px 0 96px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}
.faq-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 60px;
    background: #fff;
    border-radius: 30px 30px 0 0;
}
.faq-section .container {
    position: relative;
    z-index: 1;
    max-width: 1040px;
}

/* ===== 아코디언 리스트 ===== */
.faq-list {
    border-top: 1px solid #e8e5dd;
}

.faq-item {
    border-bottom: 1px solid #e8e5dd;
    transition: background 0.15s;
}
.faq-item:hover .faq-question { color: #1a1a1a; }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 4px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: color 0.2s;
}
.faq-question i {
    color: #999;
    font-size: 1rem;
    transition: transform 0.3s;
    margin-left: 16px;
    flex-shrink: 0;
}

.faq-q-text {
    line-height: 1.4;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 800px;
    padding-bottom: 18px;
}

.faq-answer-inner {
    background: #f5f3ef;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.8;
    padding: 18px 22px;
    border-radius: 8px;
    white-space: pre-line;
}

/* 빈 상태 */
.faq-empty {
    text-align: center;
    padding: 80px 0;
    color: #999;
}
.faq-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

/* ===== 반응형 ===== */
@media (max-width: 767px) {
    .faq-question { padding: 18px 4px; font-size: 0.92rem; }
    .faq-answer-inner { padding: 14px 16px; font-size: 0.85rem; }
}
