/* Блок FAQ */
.faq {
    margin: 100px 20px;
    margin-left: 40px;
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.faq__heading {
    position: relative;
}

.faq__title-en {
    position: relative;
    top: 0;
}

.faq__title-ru {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
    position: absolute;
    top: 25px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0;
}

.faq__accordion {
    width: 100%;
}

.faq__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq__header:hover {
    opacity: 0.8;
}

.faq__question {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    flex: 1;
    text-transform: uppercase;
    padding-right: 20px;
}

.faq__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.4s ease;
    will-change: transform;
}

.faq__icon-line {
    transform-origin: center;
    transition: transform 0.4s ease;
}

.faq__item--active .faq__icon-line {
    transform: rotate(-90deg);
}

.faq__content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}

.faq__item--active .faq__content {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
}

.faq__content-inner {
    padding-bottom: 25px;
}

.faq__content-inner p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
}

@media (max-width: 768px) {
   .faq {
        margin: 70px 15px;
    }

    .faq__grid {
        grid-template-columns: 1fr;
    }

    .faq__title-en {
        position: relative;
        top: 0;
    }

    .faq__title-en svg {
        max-width: 111px;
    }

    .faq__title-ru {
        font-size: 18px;
        font-weight: 500;
        top: 15px;
    }

    .faq__header {
        padding: 25px 0;
    }
}