/* ==========================================================================
   CraftXtore Child - ISA FAQs Page
   Scoped under #isa-faqs to avoid collisions.
   Colors: accent #8B4513 (terracotta), dark bg #2A1F17, light #d4c5b9
   ========================================================================== */

#isa-faqs {
    background: #fff;
}

/* --- Shared container --- */
.isa-faqs-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HERO (matches contact-us / wishlist hero pattern)
   ========================================================================== */
.isa-faqs-hero {
    text-align: center;
    padding: 56px 24px 36px;
    max-width: 720px;
    margin: 0 auto;
}

.isa-faqs-hero__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.isa-faqs-hero__line {
    display: block;
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #c9b99a 50%, transparent 100%);
}

.isa-faqs-hero__icon {
    width: 24px;
    height: 24px;
    color: #8B4513;
    flex-shrink: 0;
}

.isa-faqs-hero__title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #2A1F17;
    margin: 0 0 12px;
    line-height: 1.2;
}

.isa-faqs-hero__subtitle {
    font-size: 15px;
    color: #9b8e82;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   INTRO BLOCK
   ========================================================================== */
.isa-faqs-section {
    padding: 20px 0 80px;
}

.isa-faqs-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}

.isa-faqs-intro h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2A1F17;
    margin: 0;
    line-height: 1.3;
}

.isa-faqs-divider {
    width: 60px;
    height: 3px;
    background: #8B4513;
    border-radius: 2px;
    margin: 16px auto 22px;
}

.isa-faqs-intro p {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.isa-faqs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.isa-faq-item {
    background: #fff;
    border: 1px solid #ece4dc;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(42, 31, 23, .04);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.isa-faq-item:hover {
    border-color: rgba(139, 69, 19, .25);
    box-shadow: 0 4px 20px rgba(42, 31, 23, .07);
}

.isa-faq-item[open] {
    border-color: rgba(139, 69, 19, .35);
    box-shadow: 0 6px 28px rgba(42, 31, 23, .09);
    background: #fdfaf6;
}

/* Strip default disclosure marker (Chrome / Safari / Firefox) */
.isa-faq-item__summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    outline: none;
}

.isa-faq-item__summary::-webkit-details-marker {
    display: none;
}

.isa-faq-item__summary::marker {
    display: none;
    content: '';
}

.isa-faq-item__summary:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(139, 69, 19, .35);
    border-radius: 14px;
}

.isa-faq-item__num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf5f0;
    color: #8B4513;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 10px;
    transition: background 0.25s ease, color 0.25s ease;
}

.isa-faq-item[open] .isa-faq-item__num {
    background: #8B4513;
    color: #fff;
}

.isa-faq-item__q {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #2A1F17;
    line-height: 1.5;
}

.isa-faq-item__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B4513;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.isa-faq-item__icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.isa-faq-item[open] .isa-faq-item__icon {
    transform: rotate(180deg);
}

/* --- Answer body --- */
.isa-faq-item__a {
    padding: 0 24px 22px 80px;
    color: #555;
    font-size: 15px;
    line-height: 1.75;
    animation: isa-faq-slide 0.35s ease;
}

@keyframes isa-faq-slide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.isa-faq-item__a p {
    margin: 0 0 12px;
}

.isa-faq-item__a p:last-child {
    margin-bottom: 0;
}

.isa-faq-item__a ul {
    margin: 0 0 12px;
    padding: 0 0 0 20px;
}

.isa-faq-item__a li {
    margin-bottom: 6px;
    line-height: 1.7;
}

.isa-faq-item__a li:last-child {
    margin-bottom: 0;
}

.isa-faq-item__a strong {
    color: #2A1F17;
    font-weight: 600;
}

.isa-faq-item__a em {
    color: #8B4513;
    font-style: italic;
}

.isa-faq-item__a a {
    color: #8B4513;
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 69, 19, .3);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.isa-faq-item__a a:hover {
    color: #6d3510;
    border-bottom-color: #6d3510;
}

/* ==========================================================================
   CTA — closing call-to-action
   ========================================================================== */
.isa-faqs-cta {
    background: #f7f3ef;
    padding: 60px 0 80px;
}

.isa-faqs-cta__box {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 44px 36px;
    border-radius: 16px;
    box-shadow: 0 6px 28px rgba(42, 31, 23, .07);
    border: 1px solid rgba(139, 69, 19, .08);
}

.isa-faqs-cta__box h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2A1F17;
    margin: 0 0 14px;
    line-height: 1.3;
}

.isa-faqs-cta__box p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 26px;
}

.isa-faqs-cta__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.isa-faqs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid #8B4513;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
}

.isa-faqs-btn--primary {
    background: #8B4513;
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 69, 19, .22);
}

.isa-faqs-btn--primary:hover {
    background: #6d3510;
    border-color: #6d3510;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, .32);
}

.isa-faqs-btn--outline {
    background: transparent;
    color: #8B4513;
}

.isa-faqs-btn--outline:hover {
    background: #8B4513;
    color: #fff;
    transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .isa-faqs-hero {
        padding: 40px 20px 24px;
    }

    .isa-faqs-section {
        padding: 10px 0 60px;
    }

    .isa-faqs-intro {
        margin-bottom: 32px;
    }

    .isa-faqs-intro h2 {
        font-size: 24px;
    }

    .isa-faq-item__summary {
        padding: 16px 18px;
        gap: 14px;
    }

    .isa-faq-item__num {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .isa-faq-item__q {
        font-size: 15px;
    }

    .isa-faq-item__a {
        padding: 0 18px 18px 18px;
        font-size: 14.5px;
    }

    .isa-faqs-cta {
        padding: 48px 0 60px;
    }

    .isa-faqs-cta__box {
        padding: 36px 24px;
    }

    .isa-faqs-cta__box h2 {
        font-size: 24px;
    }

    .isa-faqs-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .isa-faqs-hero__title {
        letter-spacing: 0.02em;
    }

    .isa-faq-item__icon {
        width: 28px;
        height: 28px;
    }

    .isa-faqs-cta__box {
        padding: 30px 18px;
        border-radius: 12px;
    }
}
