.faq {
    background-color: var(--color-primary);
    padding: 0px 20px;
    padding-bottom: 80px;
    position: relative;
}

@media (min-width: 768px) {
    .faq {
        padding-bottom: 180px;
    }
}

@media (min-width: 1280px) {
    .faq {
        padding: 0px clamp(60px, 41vw - 464px, 322px);
        padding-bottom: 180px;
    }
}

@media (min-width: 1920px) {
    .faq {
        padding: 0px 322px;
        padding-bottom: 322px;
    }
}

.faq__title {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 1280px) {
    .faq__title {
        margin-bottom: 60px;
    }
}

@media (min-width: 1920px) {
    .faq__title {
        margin-bottom: 80px;
    }
}

.faq__container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq__accordion {
    width: 100%;
}

.faq__item {
    border-radius: 20px;
    transition: background-color 0.8s ease;
}

.faq__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    font-family: OpenSans -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .faq__header {
        font-size: 20px;
        padding: 18px 16px;
    }
}

@media (min-width: 1280px) {
    .faq__header {
        font-size: 28px;
        padding: 32px 24px;
    }
}

@media (min-width: 1920px) {
    .faq__header {
        padding: 32px 40px;
    }
}

.faq__item--active {
    background-color: var(--bg-dark);
}

.faq__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq__content p {
    padding: 0 14px 12px;
    color: var(--text-light);
}



@media (min-width: 1280px) {
    .faq__content p {
        padding: 0 24px 32px;
    }
}

@media (min-width: 1920px) {
    .faq__content p {
        padding: 0 40px 32px;
    }
}

.faq__icon {
    position: relative;
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background-color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}

.faq__icon::before {
    width: 16px;
    height: 2px;
}

.faq__icon::after {
    width: 2px;
    height: 16px;
}

@media (min-width: 1280px) {
    .faq__icon::before {
        width: 24px;
        height: 3px;
    }

    .faq__icon::after {
        width: 3px;
        height: 24px;
    }
}

@media (min-width: 1920px) {
    .faq__icon::before {
        width: 28px;
    }

    .faq__icon::after {
        height: 28px;
    }
}

.faq__item--active .faq__icon {
    transform: rotate(135deg);
}