/* FAQ accordion — exclusive open + refined look */
.sm-faq__head {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.35rem;
}

.sm-faq__badge {
    display: flex;
    height: 2.75rem;
    width: 2.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
    color: #ea580c;
    box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.12);
}

.sm-faq__badge svg {
    width: 1.25rem;
    height: 1.25rem;
}

.sm-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sm-faq__item {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.sm-faq__item.is-open {
    border-color: #fdba74;
    background: linear-gradient(180deg, #fffbf7 0%, #ffffff 55%);
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.08),
        0 10px 28px -18px rgba(234, 88, 12, 0.45);
}

.sm-faq__question {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.sm-faq__btn {
    display: flex;
    width: 100%;
    cursor: pointer;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1rem 1rem 0.9rem;
    text-align: right;
    color: #0f172a;
    background: transparent;
    border: 0;
    transition: background-color 0.15s ease;
}

.sm-faq__btn:hover {
    background: rgba(248, 250, 252, 0.85);
}

.sm-faq__item.is-open .sm-faq__btn:hover {
    background: transparent;
}

.sm-faq__btn:focus-visible {
    outline: 2px solid #fb923c;
    outline-offset: -2px;
    border-radius: 1rem;
}

.sm-faq__num {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.sm-faq__item.is-open .sm-faq__num {
    background: #ffedd5;
    color: #c2410c;
}

.sm-faq__qtext {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.75;
}

.sm-faq__icon {
    position: relative;
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff7ed;
    color: #ea580c;
    box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.15);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.sm-faq__icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.sm-faq__icon-minus {
    display: none;
}

.sm-faq__item.is-open .sm-faq__icon {
    background: #ea580c;
    color: #fff;
    box-shadow: none;
}

.sm-faq__item.is-open .sm-faq__icon-plus {
    display: none;
}

.sm-faq__item.is-open .sm-faq__icon-minus {
    display: block;
}

.sm-faq__panel {
    overflow: hidden;
}

.sm-faq__panel[hidden] {
    display: none;
}

.sm-faq__answer {
    padding: 0 1rem 1.15rem 1rem;
    padding-inline-start: calc(2rem + 0.85rem + 0.9rem);
}

.sm-faq__cms,
.sm-faq__cms.page-cms-content {
    font-size: 0.875rem;
    line-height: 1.9;
    color: #475569;
}

.sm-faq__cms p:last-child {
    margin-bottom: 0;
}

.sm-faq__empty {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    border: 1px dashed #cbd5e1;
    border-radius: 1rem;
    background: #fff;
}

@media (max-width: 640px) {
    .sm-faq__answer {
        padding-inline-start: 1rem;
    }

    .sm-faq__qtext {
        font-size: 0.84rem;
    }
}
