
.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 32px;
}

.faq-header .label {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #eef3ff;
    color: #3b6cff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.faq-header h2 {
    margin: 0;
    font-size: 38px;
    font-weight: 800;
}

.faq-header p {
    margin-top: 12px;
    color: #666;
    font-size: 16px;
}

/* 카테고리 탭 */
.faq-tabs {
    margin-bottom: 36px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.faq-tabs button {
    border: 1px solid #e5e9f2;
    padding: 13px 22px;
    border-radius: 999px;
    background: #fff;
    color: #4b5563;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(20, 40, 80, 0.06);
    transition: 0.2s;
}

.faq-tabs button:hover,
.faq-tabs button.active {
    background: #3b6cff;
    color: #fff;
    border-color: #3b6cff;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e9f2;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(20, 40, 80, 0.06);
}

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

.faq-question {
    width: 100%;
    border: none;
    background: none;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    color: #222;
}

.faq-question-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.q-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #3b6cff;
    color: white;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 28px 24px 70px;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.no-result {
    display: none;
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    color: #777;
    border: 1px dashed #cfd7e6;
}

.no-result.show {
    display: block;
}

/* 하단 상담 박스 */
.faq-contact {
    margin-top: 36px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, #3b6cff, #6f8cff);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-contact h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.faq-contact p {
    margin: 0;
    opacity: 0.9;
}

.faq-contact a {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 999px;
    background: white;
    color: #3b6cff;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

/* 모바일 */
@media (max-width: 768px) {
    .faq-section {
        margin: 50px auto;
    }

    .faq-header h2 {
        font-size: 28px;
    }

    .faq-tabs {
        justify-content: flex-start;
    }

    .faq-tabs button {
        flex: 1 1 calc(50% - 10px);
        padding: 12px 14px;
        font-size: 14px;
    }

    .faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .faq-answer-inner {
        padding: 0 20px 22px 62px;
        font-size: 15px;
    }

    .faq-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-contact a {
        width: 100%;
        text-align: center;
    }
}