﻿ 
.faq-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border: 1px solid #eceef3;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(20, 28, 45, .05);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .faq-item[open] {
        border-color: rgba(172, 1, 10, .22);
        box-shadow: 0 14px 32px rgba(172, 1, 10, .08);
    }

    .faq-item summary {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 22px 58px 22px 24px;
        color: #121826;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.55;
        cursor: pointer;
        list-style: none;
    }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::before,
        .faq-item summary::after {
            content: "";
            position: absolute;
            top: 35px;
            right: 26px;
            width: 14px;
            height: 2px;
            background: #ac010a;
            border-radius: 2px;
            transition: transform .2s ease, opacity .2s ease;
        }

        .faq-item summary::after {
            transform: rotate(90deg);
        }

    .faq-item[open] summary::after {
        opacity: 0;
        transform: rotate(90deg) scaleX(.2);
    }

.faq-index {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    background: #ac010a;
    border-radius: 50%;
}

.faq-answer {
    margin: 0;
    padding: 0 24px 24px 66px;
    color: #4d5562;
    font-size: 16px;
    line-height: 1.9;
}

@media (max-width: 576px) {
    .faq-item summary {
        padding: 18px 48px 18px 18px;
        font-size: 16px;
    }

        .faq-item summary::before,
        .faq-item summary::after {
            top: 31px;
            right: 20px;
        }

    .faq-answer {
        padding: 0 18px 20px 60px;
        font-size: 15px;
    }
}

 
