.faq {
    position: relative;
}

.faq__container {
    max-width: 900px;
}

.faq__heading {
    text-align: center;
    margin-bottom: 40px;
}

.faq__list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, 0.12);
}

.faq-item[open] {
    border-color: rgba(0, 0, 0, 0.14);
}

.faq-item__question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 22px 26px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.02rem;
    line-height: 1.4;
    color: var(--heading);
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: var(--heading);
    border-radius: 999px;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-item__icon::after {
    width: 2px;
    height: 18px;
}

.faq-item[open] .faq-item__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-item__answer {
    padding: 0 26px 24px;
}

.faq-item__answer p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
}

@media (max-width: 767px) {
    .faq__heading {
        margin-bottom: 32px;
    }

    .faq-item {
        border-radius: var(--radius);
    }

    .faq-item__question {
        padding: 18px 18px;
        font-size: 0.98rem;
        gap: 14px;
    }

    .faq-item__answer {
        padding: 0 18px 20px;
    }
}