.service-faq__background {
    background-color: #eff5f6;
    padding-top: 40px;
    padding-bottom: 130px;
}

.service-faq__title {
    margin-bottom: 64px;
}

.service-faq__list {
    max-width: 1000px;
    border-top: 1px solid rgba(29, 33, 45, 0.14);
}

.service-faq__item {
    border-bottom: 1px solid rgba(29, 33, 45, 0.14);
}

.service-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 0;
    color: #1d212d;
    font-size: clamp(20px, 1.6vw, 26px);
    line-height: 1.3;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: color 0.15s ease-in-out;
}

.service-faq__question::-webkit-details-marker {
    display: none;
}

.service-faq__question:hover {
    color: #475664;
}

.service-faq__icon {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.service-faq__icon::before,
.service-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #3dffa2;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.service-faq__icon::before {
    width: 22px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.service-faq__icon::after {
    width: 2px;
    height: 22px;
    transform: translate(-50%, -50%);
}

.service-faq__item[open] .service-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.service-faq__answer {
    padding-bottom: 32px;
    max-width: 900px;
    color: #475664;
    font-size: 18px;
    line-height: 1.6;
    animation: serviceFaqReveal 0.3s ease-out;
}

.service-faq__answer p {
    color: #475664;
}

.service-faq__answer p:not(:last-child) {
    margin-bottom: 0.75em;
}

.service-faq__answer ul,
.service-faq__answer ol {
    margin: 0.5em 0 0.75em 20px;
}

.service-faq__answer ul {
    list-style: disc;
}

.service-faq__answer ol {
    list-style: decimal;
}

.service-faq__answer li {
    margin-bottom: 0.35em;
    line-height: 1.5;
}

.service-faq__answer a {
    color: #3dffa2;
    text-decoration: underline;
}

@keyframes serviceFaqReveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .service-faq__background {
        padding-bottom: 96px;
    }

    .service-faq__title {
        margin-bottom: 40px;
    }

    .service-faq__question {
        gap: 20px;
        padding: 24px 0;
    }

    .service-faq__answer {
        font-size: 16px;
    }
}
