/* ============================================
   NFC FAQ Section Widget
   ============================================ */

/* Reset — prevent theme overrides */
.nfc-faq-section,
.nfc-faq-section *,
.nfc-faq-section *::before,
.nfc-faq-section *::after {
    box-sizing: border-box;
}

.nfc-faq-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.nfc-faq-section .nfc-faq-inner {
    margin: 0 auto;
    width: 100%;
}

.nfc-faq-section .nfc-faq-inner.nfc-boxed {
    max-width: 900px;
}

.nfc-faq-section .nfc-faq-inner.nfc-full-width {
    max-width: 100%;
}

/* Header */
.nfc-faq-section .nfc-faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.nfc-faq-section .nfc-faq-subtitle {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 12px;
    color: #2E7CF6;
}

.nfc-faq-section .nfc-faq-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
    padding: 0;
    color: #1A1A2E;
}

.nfc-faq-section .nfc-faq-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #64748B;
}

/* FAQ List */
.nfc-faq-section .nfc-faq-list {
    display: flex;
    flex-direction: column;
}

/* FAQ Item */
.nfc-faq-section .nfc-faq-item {
    border: 1px solid #E2E8F0;
    overflow: hidden;
    max-width: 100%;
    background-color: #F8FAFC;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nfc-faq-section .nfc-faq-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nfc-faq-section .nfc-faq-item.is-open {
    background-color: #F0F4FF;
}

/* Trigger Button */
.nfc-faq-section .nfc-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    outline: none;
}

.nfc-faq-section .nfc-faq-question {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #1A1A2E;
}

/* Toggle Icon */
.nfc-faq-section .nfc-faq-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(46, 124, 246, 0.08);
    transition: transform 0.3s ease, background 0.3s ease;
    color: #2E7CF6;
}

.nfc-faq-section .nfc-faq-toggle svg {
    display: block;
}

.nfc-faq-section .nfc-faq-icon-v {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.nfc-faq-section .nfc-faq-item.is-open .nfc-faq-icon-v {
    transform: scaleY(0);
    opacity: 0;
}

.nfc-faq-section .nfc-faq-item.is-open .nfc-faq-toggle {
    background: rgba(46, 124, 246, 0.15);
}

/* Answer Wrapper */
.nfc-faq-section .nfc-faq-answer-wrapper {
    height: 0;
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nfc-faq-section .nfc-faq-answer {
    padding: 0 24px 20px 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #475569;
}

.nfc-faq-section .nfc-faq-answer ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.nfc-faq-section .nfc-faq-answer ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #475569;
}

.nfc-faq-section .nfc-faq-answer ul li:last-child {
    margin-bottom: 0;
}

.nfc-faq-section .nfc-faq-answer p {
    margin: 0 0 12px 0;
    color: #475569;
}

.nfc-faq-section .nfc-faq-answer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .nfc-faq-section .nfc-faq-header {
        margin-bottom: 32px;
    }

    .nfc-faq-section .nfc-faq-trigger {
        padding: 16px 18px;
        gap: 12px;
    }

    .nfc-faq-section .nfc-faq-question {
        font-size: 15px;
    }

    .nfc-faq-section .nfc-faq-answer {
        padding: 0 18px 16px 18px;
        font-size: 14px;
    }

    .nfc-faq-section .nfc-faq-toggle {
        width: 28px;
        height: 28px;
    }

    .nfc-faq-section .nfc-faq-toggle svg {
        width: 16px;
        height: 16px;
    }

    .nfc-faq-section .nfc-faq-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .nfc-faq-section .nfc-faq-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nfc-faq-section .nfc-faq-trigger {
        padding: 14px 14px;
        gap: 10px;
    }

    .nfc-faq-section .nfc-faq-question {
        font-size: 14px;
    }

    .nfc-faq-section .nfc-faq-answer {
        padding: 0 14px 14px 14px;
        font-size: 13px;
    }

    .nfc-faq-section .nfc-faq-toggle {
        width: 26px;
        height: 26px;
    }

    .nfc-faq-section .nfc-faq-toggle svg {
        width: 14px;
        height: 14px;
    }

    .nfc-faq-section .nfc-faq-heading {
        font-size: 24px;
    }
}
