/* ================= faq-light ================= */

.faq-light,
.faq-light *,
.faq-light *::before,
.faq-light *::after {
    box-sizing: border-box;
}

.faq-light {
    --red: #8d0b2c;
    --red-soft: #f6e6ea;
    --text: #2b2b31;
    --muted: #5d6679;

    position: relative;
    overflow: hidden;
    padding: 74px 0 90px;
    background: #faf6f7;
    isolation: isolate;
}

.faq-light__decor {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.faq-light__decor-shape {
    position: absolute;
    border-radius: 50%;
}

.faq-light__decor-shape--tr {
    top: -170px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: #f3e3e8;
}

.faq-light__decor-shape--tr-ring {
    top: -250px;
    right: -210px;
    width: 580px;
    height: 580px;
    border: 1px solid rgba(141, 11, 44, .35);
}

.faq-light__decor-shape--bl {
    left: -220px;
    bottom: -300px;
    width: 520px;
    height: 520px;
    background: #f3e3e8;
}

.faq-light__decor-shape--bl-ring {
    left: -300px;
    bottom: -380px;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(141, 11, 44, .35);
}

.faq-light__decor-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
}

.faq-light__decor-dot--tr {
    top: 86px;
    right: 298px;
}

.faq-light__decor-dot--bl {
    left: 96px;
    bottom: 174px;
}

.faq-light__head {
    position: relative;
    max-width: 860px;
    margin-bottom: 42px;
    padding-top: 34px;
}

.faq-light__head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 96px;
    height: 4px;
    background: var(--red);
}

.faq-light__title {
    margin: 0;
    /* font-family: 'PT Serif', Georgia, serif; */
    font-size: 36px;
    line-height: 1.32;
    font-weight: 700;
    color: var(--red);
}

.faq-light__list {
    display: grid;
    gap: 14px;
    margin-left: 96px;
}

.faq-light-item {
    border-radius: 8px;
    background: #fdfbfc;
    box-shadow: 0 6px 18px rgba(88, 20, 40, .06);
    transition: box-shadow .3s ease, background-color .3s ease;
}

.faq-light-item--open,
.faq-light-item:hover {
    background: #fff;
    box-shadow: 0 12px 28px rgba(88, 20, 40, .1);
}

.faq-light-item__button {
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    padding: 16px 26px;
    border: 0;
    background: none;
    color: var(--text);
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
}

.faq-light-item__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    font-size: 15px;
    font-weight: 500;
    transition: background-color .3s ease, transform .3s ease;
}

.faq-light-item--open .faq-light-item__number {
    background: #efd3db;
}

.faq-light-item__button:hover .faq-light-item__number {
    transform: scale(1.06);
}

.faq-light-item__text {
    flex: 1;
    min-width: 0;
}

.faq-light-sign {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-light-sign::before,
.faq-light-sign::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
    transform: translateY(-50%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
}

.faq-light-sign::after {
    transform: translateY(-50%) rotate(90deg);
}

.faq-light-item--open .faq-light-sign::after {
    transform: translateY(-50%) rotate(0deg);
    opacity: 0;
}

.faq-light-item__panel {
    height: 0;
    overflow: hidden;
    transition: height .4s cubic-bezier(.4, 0, .2, 1);
}

.faq-light-item__inner {
    margin: 0 26px;
    padding: 18px 0 22px;
    border-top: 1px solid #eee0e4;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .35s ease .05s, transform .35s ease .05s;
}

.faq-light-item--open .faq-light-item__inner {
    opacity: 1;
    transform: none;
}

.faq-light-item__answer {
    padding-left: 68px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}

.faq-light-item__answer p {
    margin: 0 0 14px;
}

.faq-light-item__answer p:last-child {
    margin-bottom: 0;
}

.faq-light-item__answer a {
    color: var(--red);
}

/* ================= adaptive ================= */

@media (max-width: 1500px) {
    .faq-light__title {
        font-size: 33px;
    }

    .faq-light__list {
        margin-left: 70px;
    }
}

@media (max-width: 1200px) {
    .faq-light {
        padding: 60px 0 70px;
    }

    .faq-light__title {
        font-size: 29px;
    }

    .faq-light__head {
        margin-bottom: 32px;
    }

    .faq-light__list {
        margin-left: 40px;
    }
}

@media (max-width: 1024px) {
    .faq-light__title {
        font-size: 26px;
        line-height: 1.28;
    }

    .faq-light__list {
        margin-left: 0;
    }

    .faq-light-item__button {
        gap: 18px;
        padding: 15px 20px;
        font-size: 15px;
    }

    .faq-light-item__number {
        width: 42px;
        height: 42px;
    }

    .faq-light-item__answer {
        padding-left: 60px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .faq-light {
        padding: 46px 0 54px;
    }

    .faq-light__title {
        font-size: 23px;
    }

    .faq-light-item__answer {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .faq-light {
        padding: 34px 0 42px;
    }

    .faq-light__head {
        padding-top: 26px;
        margin-bottom: 22px;
    }

    .faq-light__head::before {
        width: 64px;
        height: 3px;
    }

    .faq-light__title {
        font-size: 20px;
    }

    .faq-light__list {
        gap: 10px;
    }

    .faq-light-item__button {
        gap: 12px;
        padding: 13px 14px;
        font-size: 14px;
    }

    .faq-light-item__number {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .faq-light-sign {
        width: 15px;
        height: 15px;
    }

    .faq-light-item__inner {
        margin: 0 14px;
        padding: 14px 0 16px;
    }

    .faq-light-item__answer {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-light-item__panel,
    .faq-light-item__inner,
    .faq-light-sign::before,
    .faq-light-sign::after {
        transition-duration: .01ms;
    }
}