/* FAQ Section */
.mola-faq-section {
    padding: 80px 20px;
    background-color: var(--mola-white);
}

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

/* Header */
.mola-faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.mola-faq-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--mola-white);
    border: 1px solid var(--mola-accent-border);
    border-radius: 20px;
    font-size: 14px;
    color: var(--mola-accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.mola-faq-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--mola-primary);
    margin-bottom: 12px;
}

.mola-faq-subtitle {
    font-size: 18px;
    color: var(--mola-neutral);
    font-weight: 400;
}

/* FAQ Accordion */
.mola-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Item */
.mola-faq-item {
    background-color: var(--mola-white);
    border: 1px solid var(--mola-gray-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mola-faq-item.active {
    background-color: var(--mola-white);
    border: 1px solid var(--mola-accent);
}

/* FAQ Question */
.mola-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.mola-faq-question:hover {
    opacity: 0.8;
}

.mola-faq-question-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--mola-primary);
    line-height: 1.5;
    flex: 1;
    padding-right: 20px;
}

/* Bold title when active */
.mola-faq-item.active .mola-faq-question-text {
    font-weight: 700;
    color: var(--mola-primary);
}

/* FAQ Icons */
.mola-faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mola-faq-icon-close {
    display: none;
}

.mola-faq-icon-open {
    display: block;
}

.mola-faq-item.active .mola-faq-icon-close {
    display: block;
}

.mola-faq-item.active .mola-faq-icon-open {
    display: none;
}

/* FAQ Answer */
.mola-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.mola-faq-item.active .mola-faq-answer {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.mola-faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--mola-neutral);
    margin: 0;
}

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

    .mola-faq-header {
        margin-bottom: 40px;
    }

    .mola-faq-title {
        font-size: 32px;
    }

    .mola-faq-subtitle {
        font-size: 16px;
    }

    .mola-faq-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .mola-faq-question {
        padding: 20px 20px;
    }

    .mola-faq-question-text {
        font-size: 16px;
        padding-right: 16px;
    }

    .mola-faq-answer p {
        font-size: 15px;
    }

    .mola-faq-item.active .mola-faq-answer {
        padding: 0 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .mola-faq-section {
        padding: 40px 16px;
    }

    .mola-faq-title {
        font-size: 28px;
    }

    .mola-faq-subtitle {
        font-size: 15px;
    }

    .mola-faq-question {
        padding: 18px 16px;
    }

    .mola-faq-question-text {
        font-size: 15px;
    }

    .mola-faq-icon {
        width: 20px;
        height: 20px;
    }

    .mola-faq-answer p {
        font-size: 14px;
    }

    .mola-faq-item.active .mola-faq-answer {
        padding: 0 16px 18px 16px;
    }
}
