/* ========================================================================
   FAQ Section Styles
   ======================================================================== */

/* Section Container */
.faq-section {
    position: relative;
    width: 100%;
    background-color: var(--faq-bg-color, #F9F9F7);
    padding: 80px 20px;
}

/* Container */
.faq-container {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

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

.faq-heading {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--heading-color, #4A6FA5);
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.faq-subheading {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color, #272727);
    margin: 0;
}

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

/* FAQ Item */
.faq-item {
    border-bottom: 1px solid var(--border-color, #E5E5E5);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color, #E5E5E5);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: opacity 0.2s ease;
}

.faq-question:hover {
    opacity: 0.7;
}

.faq-question-text {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--heading-color, #1A1A1A);
}

/* FAQ Icon */
.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color, #28A9A8);
    transition: color 0.2s ease;
    position: relative;
}

.faq-icon svg {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.faq-icon-plus {
    opacity: 1;
}

.faq-icon-minus {
    opacity: 0;
}

.faq-item.is-open .faq-icon-plus {
    opacity: 0;
}

.faq-item.is-open .faq-icon-minus {
    opacity: 1;
}

/* FAQ Answer */
.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer {
    max-height: 1000px;
}

.faq-answer-inner {
    padding: 0 0 28px 0;
}

.faq-answer-inner p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #272727;
    margin: 0 0 16px 0;
}

.faq-answer-inner p:last-of-type {
    margin-bottom: 0;
}

/* FAQ Link */
.faq-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--link-color, #28A9A8);
    text-decoration: none;
    margin-top: 16px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.faq-link:hover {
    color: var(--link-hover-color, #1F8483);
    gap: 10px;
}

.faq-link svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-link:hover svg {
    transform: translateX(var(--spacing-xs));
}

/* ========================================================================
   Responsive Styles
   ======================================================================== */

/* Tablet */
@media screen and (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }

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

    .faq-heading {
        font-size: 40px;
    }

    .faq-subheading {
        font-size: 16px;
    }

    .faq-question {
        padding: 24px 0;
        gap: 16px;
    }

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

    .faq-icon {
        width: 28px;
        height: 28px;
    }

    .faq-icon svg {
        width: 18px;
        height: 18px;
    }

    .faq-answer-inner {
        padding: 0 0 24px 0;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .faq-section {
        padding: 48px 16px;
    }

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

    .faq-heading {
        font-size: 32px;
    }

    .faq-subheading {
        font-size: 15px;
    }

    .faq-question {
        padding: 20px 0;
        gap: 12px;
    }

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

    .faq-icon {
        width: 26px;
        height: 26px;
    }

    .faq-icon svg {
        width: 16px;
        height: 16px;
    }

    .faq-answer-inner {
        padding: 0 0 20px 0;
    }

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

    .faq-link {
        font-size: 15px;
    }
}
