/* Professional FAQ accordion — gold / glass */

.faq-pro {
    position: relative;
    isolation: isolate;
    max-width: 820px;
    margin-inline: auto;
    margin-block: clamp(1.5rem, 4vw, 2.75rem);
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 24px;
    border: 1px solid rgba(218, 178, 93, 0.28);
    background:
        linear-gradient(145deg, rgba(218, 178, 93, 0.08), transparent 42%),
        var(--glass-bg, rgba(8, 40, 44, 0.42));
    box-shadow: var(--glass-shadow, 0 18px 40px rgba(0, 0, 0, 0.18));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

[data-theme="light"] .faq-pro {
    background:
        linear-gradient(145deg, rgba(201, 162, 55, 0.14), transparent 42%),
        rgba(250, 244, 232, 0.92);
    border-color: rgba(160, 120, 42, 0.36);
}

.faq-pro__glow {
    position: absolute;
    inset: auto -20% -40% auto;
    width: min(420px, 70%);
    height: min(420px, 70%);
    background: radial-gradient(circle, rgba(218, 178, 93, 0.22), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.faq-pro__header,
.faq-pro__list {
    position: relative;
    z-index: 1;
}

.faq-pro__header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.faq-pro__eyebrow {
    margin: 0 0 0.4rem;
    color: var(--primary-color, #dab25d);
    font-family: 'Kalameh', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.faq-pro__title {
    margin: 0 0 0.55rem;
    font-family: 'Kalameh', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--text-heading, var(--text-primary));
    line-height: 1.45;
}

.faq-pro__lead {
    margin: 0 auto;
    max-width: 36rem;
    color: var(--text-secondary);
    font-family: 'Kalameh', sans-serif;
    font-size: 0.98rem;
    line-height: 1.85;
}

.faq-pro__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-pro__item {
    margin: 0;
    border-radius: 16px;
    border: 1px solid rgba(218, 178, 93, 0.2);
    background: rgba(0, 0, 0, 0.14);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-pro__item:hover {
    border-color: rgba(218, 178, 93, 0.42);
}

.faq-pro__item[open] {
    border-color: rgba(218, 178, 93, 0.55);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(218, 178, 93, 0.12);
}

.faq-pro__summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem 0.9rem;
    padding: 1rem 1.05rem;
    cursor: pointer;
    list-style: none;
    font-family: 'Kalameh', sans-serif;
}

.faq-pro__summary::-webkit-details-marker {
    display: none;
}

.faq-pro__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(218, 178, 93, 0.28), rgba(218, 178, 93, 0.08));
    color: var(--primary-color, #dab25d);
    font-size: 0.82rem;
    font-weight: 800;
}

.faq-pro__question {
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-heading, var(--text-primary));
    text-align: right;
}

.faq-pro__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    color: var(--primary-color, #dab25d);
    background: rgba(218, 178, 93, 0.12);
    border: 1px solid rgba(218, 178, 93, 0.28);
    transition: transform 0.28s ease, background 0.28s ease;
}

.faq-pro__item[open] .faq-pro__icon {
    transform: rotate(45deg);
    background: rgba(218, 178, 93, 0.22);
}

.faq-pro__answer {
    padding: 0 1.05rem 1.1rem;
    padding-inline-start: calc(1.05rem + 2rem + 0.9rem);
}

.faq-pro__answer p {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(218, 178, 93, 0.06);
    border: 1px solid rgba(218, 178, 93, 0.14);
    color: var(--text-primary);
    font-family: 'Kalameh', sans-serif;
    font-size: 0.97rem;
    line-height: 1.95;
}

@media (max-width: 560px) {
    .faq-pro {
        padding: 1.1rem 0.85rem;
        border-radius: 18px;
    }

    .faq-pro__summary {
        grid-template-columns: 1fr auto;
        gap: 0.65rem;
    }

    .faq-pro__index {
        display: none;
    }

    .faq-pro__answer {
        padding-inline-start: 1.05rem;
    }
}

/* Soften legacy home-faq rules when both classes exist */
.home-faq.faq-pro details,
.home-faq.faq-pro details:first-of-type {
    border: 1px solid rgba(218, 178, 93, 0.2);
    padding: 0;
    margin: 0;
}

.home-faq.faq-pro summary::before {
    content: none !important;
}
