.aial-faq,
.aial-faq * {
    box-sizing: border-box;
}

.aial-faq {
    width: 100%;
    background:
        radial-gradient(circle at 50% 0%, rgba(216, 168, 79, 0.12), transparent 28%),
        #000000;
    font-family: "Barlow", Sans-serif;
    overflow: hidden;
}

.aial-faq__inner {
    width: 100%;
    max-width: 914px;
    margin: 0 auto;
}

.aial-faq__header {
    text-align: center;
    margin-bottom: 26px;
}

.aial-faq__decor {
    position: relative;
    display: inline-block;
    width: 74px;
    height: 14px;
    margin-bottom: 8px;
}

.aial-faq__decor::before,
.aial-faq__decor::after {
    content: "";
    position: absolute;
    top: 6px;
    width: 28px;
    height: 2px;
    background: #d8a84f;
    border-radius: 99px;
}

.aial-faq__decor::before {
    left: 0;
}

.aial-faq__decor::after {
    right: 0;
}

.aial-faq__heading {
    margin: 0;
    color: #ffffff;
    font-family: "Barlow", Sans-serif;
    font-size: 40px;
    line-height: 1.16;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 2px 0 0 rgba(255, 0, 0, 0.22), -2px 0 0 rgba(0, 120, 255, 0.22);
}

.aial-faq__subheading {
    max-width: 680px;
    margin: 14px auto 0;
    color: #d5d5d5;
    font-family: "Barlow", Sans-serif;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 400;
}

.aial-faq__accordion {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.aial-faq__item {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.aial-faq__item:hover {
    transform: translateX(3px);
    filter: brightness(1.02);
}

.aial-faq__question {
    width: 100%;
    min-height: 42px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    border-radius: 0;
    background: #d8a84f;
    cursor: pointer;
    padding: 12px 24px 12px 56px;
    text-align: left;
    transition: background-color 0.2s ease;
}

.aial-faq__item:hover .aial-faq__question,
.aial-faq__item.is-open .aial-faq__question {
    background: #e6bb66;
}

.aial-faq__question::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 29px;
    height: 100%;
    background: #d8a84f;
}

.aial-faq__question::after {
    content: "";
    position: absolute;
    left: 28px;
    top: 0;
    width: 36px;
    height: 100%;
    background: rgba(255, 255, 255, 0.20);
    clip-path: polygon(0 0, 58% 0, 100% 50%, 58% 100%, 0 100%);
    opacity: 0.85;
}

.aial-faq__question-text {
    position: relative;
    z-index: 1;
    color: #000000;
    font-family: "Barlow", Sans-serif;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 500;
}

.aial-faq__icon {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: #000000;
}

.aial-faq__icon::before,
.aial-faq__icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    transition: transform 0.22s ease;
}

.aial-faq__icon::before {
    width: 12px;
    height: 2px;
    left: 2px;
    top: 7px;
    transform: rotate(45deg);
    transform-origin: right center;
}

.aial-faq__icon::after {
    width: 12px;
    height: 2px;
    right: 2px;
    top: 7px;
    transform: rotate(-45deg);
    transform-origin: left center;
}

.aial-faq__item.is-open .aial-faq__icon::before {
    transform: rotate(-45deg);
}

.aial-faq__item.is-open .aial-faq__icon::after {
    transform: rotate(45deg);
}

.aial-faq__answer {
    overflow: hidden;
}

.aial-faq__answer-inner {
    background: #111111;
    color: #f1f1f1;
    padding: 18px 26px 20px 56px;
    font-family: "Barlow", Sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    border-left: 1px solid rgba(216, 168, 79, 0.55);
    border-right: 1px solid rgba(216, 168, 79, 0.25);
    border-bottom: 1px solid rgba(216, 168, 79, 0.25);
}

.aial-faq__answer-inner p {
    margin: 0 0 12px;
}

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

@media (max-width: 1024px) {
    .aial-faq__heading {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .aial-faq {
        padding: 34px 16px 46px !important;
    }

    .aial-faq__heading {
        font-size: 31px;
    }

    .aial-faq__subheading {
        font-size: 15px;
    }

    .aial-faq__question {
        min-height: 48px;
        padding: 12px 18px 12px 48px;
    }

    .aial-faq__question::after {
        left: 22px;
        width: 32px;
    }

    .aial-faq__question-text {
        font-size: 15px;
    }

    .aial-faq__answer-inner {
        padding: 16px 18px 18px 48px;
        font-size: 15px;
    }
}
