.lm-faq {
    padding-top: var(--lm-header-h);
}

.lm-faq-body {
    padding: 2rem 0 4rem;
}

.lm-faq-intro {
    max-width: 640px;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.lm-faq-intro p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--lm-gray-500);
}

.lm-faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lm-faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--lm-radius-sm);
    background: linear-gradient(165deg, rgba(26, 26, 32, 0.98) 0%, rgba(14, 14, 18, 0.98) 100%);
    box-shadow: var(--lm-shadow-soft);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lm-faq-item.is-open {
    border-color: rgba(242, 101, 34, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.lm-faq-item__heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.lm-faq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: none;
    background: transparent;
    color: var(--lm-white);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: right;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.lm-faq-item__trigger:hover {
    background: rgba(255, 255, 255, 0.03);
}

.lm-faq-item.is-open .lm-faq-item__trigger {
    color: var(--lm-orange-light);
}

.lm-faq-item__question {
    flex: 1;
    min-width: 0;
}

.lm-faq-item__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: var(--lm-gray-500);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.lm-faq-item.is-open .lm-faq-item__icon {
    transform: rotate(180deg);
    color: var(--lm-orange);
    border-color: rgba(242, 101, 34, 0.35);
}

.lm-faq-item__panel {
    display: grid;
    grid-template-rows: 0fr;
    border-top: 1px solid transparent;
    transition:
        grid-template-rows 0.42s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.32s ease;
}

.lm-faq-item.is-open .lm-faq-item__panel {
    grid-template-rows: 1fr;
    border-top-color: rgba(255, 255, 255, 0.06);
}

.lm-faq-item__panel-inner {
    overflow: hidden;
    min-height: 0;
}

.lm-faq-item__answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--lm-gray-300);
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.32s ease 0.06s,
        transform 0.38s cubic-bezier(0.4, 0, 0.2, 1) 0.04s;
}

.lm-faq-item.is-open .lm-faq-item__answer {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .lm-faq-item__panel,
    .lm-faq-item__answer {
        transition: none;
    }

    .lm-faq-item.is-open .lm-faq-item__panel {
        grid-template-rows: 1fr;
    }

    .lm-faq-item__answer {
        opacity: 1;
        transform: none;
    }
}

.lm-faq-item__answer p {
    margin: 0 0 0.75rem;
}

.lm-faq-item__answer p:last-child {
    margin-bottom: 0;
}

.lm-faq-item__answer ul,
.lm-faq-item__answer ol {
    margin: 0 0 0.75rem;
    padding-right: 1.25rem;
}

.lm-faq-item__answer h1,
.lm-faq-item__answer h2,
.lm-faq-item__answer h3,
.lm-faq-item__answer h4 {
    margin: 0.75rem 0 0.5rem;
    color: var(--lm-white);
    line-height: 1.4;
}

.lm-faq-item__answer a {
    color: var(--lm-orange-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lm-faq-item__answer img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0.5rem 0;
}

.lm-faq-empty,
.lm-faq-foot {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.lm-faq-empty {
    padding: 2.5rem 1.25rem;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: var(--lm-radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.lm-faq-empty p,
.lm-faq-foot p {
    margin: 0 0 1.25rem;
    color: var(--lm-gray-500);
    line-height: 1.75;
}

.lm-faq-foot {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    .lm-faq-body {
        padding: 1.5rem 0 3rem;
    }

    .lm-faq-item__trigger {
        padding: 0.9rem 1rem;
        font-size: 0.88rem;
    }

    .lm-faq-item__answer {
        padding: 0 1rem 1rem;
        font-size: 0.86rem;
    }
}
