/*
Theme Name: Interbiuro Child
Template: interbiuro
Version: 1.0.0
*/
.section-faq {
    padding: 80px 24px;
}

.section-faq__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px;
    border-radius: 24px;
    background: #f7f1e8;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

.section-faq__label {
    margin-bottom: 28px;
    color: #df6658;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-faq__title {
    margin: 0 0 32px;
    max-width: 420px;
    font-size: 46px;
    line-height: 1.15;
}

.section-faq__text {
    max-width: 420px;
    font-size: 18px;
    line-height: 1.8;
}
.section-faq__items {
    border: 1px solid rgba(34, 34, 34, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
}

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

.section-faq__item:last-child {
    border-bottom: 0;
}

.section-faq__question {
    width: 100%;
    padding: 26px 32px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    color: #222;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
}

.section-faq__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 32px;
    color: rgba(34, 34, 34, 0.72);
    font-size: 18px;
    line-height: 1.8;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.section-faq__item.is-active .section-faq__answer {
    max-height: 500px;
    padding-bottom: 28px;
}

.section-faq__answer p {
    margin: 0 0 16px;
}

.section-faq__answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .section-faq {
        padding: 56px 20px;
    }

    .section-faq__inner {
        padding: 56px 40px;
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-faq__title {
        max-width: 100%;
        font-size: 40px;
    }

    .section-faq__text {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .section-faq {
        padding: 40px 16px;
    }

    .section-faq__inner {
        padding: 40px 20px;
        border-radius: 18px;
        gap: 32px;
    }

    .section-faq__label {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .section-faq__title {
        margin-bottom: 20px;
        font-size: 32px;
        line-height: 1.15;
    }

    .section-faq__text {
        font-size: 16px;
        line-height: 1.6;
    }

    .section-faq__question {
        padding: 20px;
        gap: 16px;
        font-size: 17px;
        line-height: 1.4;
    }

    .section-faq__answer {
        padding: 0 20px 22px;
        font-size: 16px;
        line-height: 1.65;
    }
}
.section-faq__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.section-faq__icon::before,
.section-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #df6658;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.section-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.section-faq__item.is-active .section-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}
.section-faq__item.is-active {
    position: relative;
}

.section-faq__item.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 72px;
    bottom: 28px;
    width: 3px;
    background: #df6658;
}

@media (max-width: 767px) {
    .section-faq__item.is-active::before {
        top: 62px;
        bottom: 22px;
    }
}

@media (max-width: 767px) {
    .section-faq__answer {
        max-height: 0;
        padding: 0 20px;
        overflow: hidden;
    }

    .section-faq__item.is-active .section-faq__answer {
        max-height: 1000px;
        padding-bottom: 22px;
    }
}