.faq {
    background: #fafafa;
    padding: 48px 24px;
}

.faq__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq__heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.faq__title {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #176848;
}

.faq__subtitle {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: #707070;
    max-width: 640px;
}

.faq__accordions {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.faq__item {
    border-bottom: 1px solid #f0f0f0;
    border-radius: 4px;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    min-height: 70px;
    transition: background-color 0.2s ease;
}

.faq__question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq__question:focus {
    outline: 2px solid #11875c;
    outline-offset: -2px;
    border-radius: 4px;
}

.faq__question-text {
    flex: 1;
    font-size: 12px;
    line-height: 16px;
    color: #242424;
    padding-right: 8px;
}

.faq__icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq__item[aria-expanded="true"] .faq__icon,
.faq__question[aria-expanded="true"]~.faq__icon {
    transform: rotate(180deg);
}

.faq__icon svg {
    width: 12px;
    height: 6.5px;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 10px;
}

.faq__item[aria-expanded="true"] .faq__answer {
    max-height: 500px;
    padding: 0 10px 20px;
}

.faq__answer p {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: #424242;
    padding-top: 12px;
}

@media (min-width: 800px) {
    .faq {
        padding: 48px 24px 100px 24px;
    }

    .faq__heading {
        text-align: center;
    }

    .faq__title {
        font-size: 28px;
        line-height: 36px;
    }

    .faq__subtitle {
        max-width: 100%;
        font-size: 16px;
        line-height: 22px;
    }

    .faq__question-text {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (min-width: 1024px) {
    .faq {
        padding: 80px;
    }
}

@media (min-width: 1440px) {
    .faq {
        padding: 100px;
    }
}