/* =========================================================
   AFP — FAQ SECTION
   Premium Brand Dark / Loveable Style
   Full Clean File
========================================================= */

.afp-faq-section,
.afp-faq-section * {
    box-sizing: border-box;
}

.afp-faq-section mark,
.afp-faq-section ins,
.afp-faq-section span,
.afp-faq-section strong,
.afp-faq-section p,
.afp-faq-section h2,
.afp-faq-section button {
    outline: none !important;
    text-decoration: none !important;
}

.afp-faq-section mark,
.afp-faq-section ins,
.afp-faq-section .mark,
.afp-faq-section [style*="background"],
.afp-faq-section [style*="border"],
.afp-faq-section [style*="outline"] {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    text-decoration: none !important;
}

/* SECTION */

.afp-faq-section {
    position: relative;
    overflow: hidden;
    padding: clamp(120px, 11vw, 190px) 24px;
    background:
        radial-gradient(circle at 78% 12%, rgba(214,173,99,.14), transparent 34%),
        radial-gradient(circle at 14% 58%, rgba(214,173,99,.08), transparent 32%),
        linear-gradient(180deg, #130D11 0%, #1A1318 38%, #120C10 100%);
    color: #F8F5F0;
}

.afp-faq-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, transparent, black 12%, black 82%, transparent);
    opacity: .4;
    pointer-events: none;
}

.afp-faq-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(19,13,17,.95), transparent 22%, transparent 78%, rgba(19,13,17,.90));
    pointer-events: none;
}

/* LAYOUT */

.afp-faq-shell {
    position: relative;
    z-index: 2;
    max-width: 1420px;
    min-height: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.28fr);
    gap: clamp(56px, 8vw, 120px);
    align-items: center;
}

.afp-faq-content {
    position: sticky;
    top: 110px;
}

/* TEXT SIDE */

.afp-faq-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 15px;
    font-weight: 800;
    color: #D6AD63;
}

.afp-faq-kicker span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #D6AD63 !important;
    box-shadow:
        0 0 0 8px rgba(214,173,99,.10),
        0 0 22px rgba(214,173,99,.35) !important;
}

.afp-faq-title {
    margin: 0;
    max-width: 620px;
    font-size: clamp(58px, 6vw, 96px);
    line-height: .98;
    letter-spacing: -.05em;
    font-weight: 900;
    color: #F8F5F0;
}

.afp-faq-title::after {
    content: "";
    display: block;
    width: 86px;
    height: 4px;
    margin-top: 32px;
    border-radius: 999px;
    background: linear-gradient(90deg, #D6AD63, #F3D38A);
    box-shadow: 0 0 26px rgba(214,173,99,.26);
}

.afp-faq-description {
    max-width: 560px;
    margin: 34px 0 0;
    font-size: clamp(20px, 1.55vw, 24px);
    line-height: 1.9;
    color: rgba(248,245,240,.70);
}

/* SUPPORT CARD */

.afp-faq-support-card {
    margin-top: 54px;
    max-width: 520px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 28px;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    box-shadow:
        0 26px 70px rgba(0,0,0,.26),
        inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
}

.afp-faq-support-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #D6AD63, #F3D38A) !important;
    color: #120C10 !important;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(214,173,99,.24) !important;
}

.afp-faq-support-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 850;
    color: #F8F5F0;
}

.afp-faq-support-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(248,245,240,.60);
}

.afp-faq-support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 900;
    color: #F3D38A;
    text-decoration: none;
}

.afp-faq-support-link:hover span {
    transform: translateX(-4px);
}

.afp-faq-support-link span {
    transition: transform .25s ease;
}

/* FAQ LIST */

.afp-faq-list-wrap {
    position: relative;
    padding-right: 52px;
}

.afp-faq-line {
    position: absolute;
    top: 22px;
    right: 12px;
    width: 1px;
    height: calc(100% - 44px);
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(214,173,99,.52),
            rgba(255,255,255,.10),
            transparent
        );
}

.afp-faq-list {
    display: grid;
    gap: 24px;
}

/* FAQ ITEM */

.afp-faq-item {
    position: relative;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.07);
    background:
        linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.022));
    box-shadow:
        0 22px 64px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(14px);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.afp-faq-item::before {
    content: "";
    position: absolute;
    top: 34px;
    right: -52px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #23191E;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 0 0 8px rgba(214,173,99,.06);
    transition: .3s ease;
}

.afp-faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(214,173,99,.22);
}

.afp-faq-item.is-open {
    border-color: rgba(214,173,99,.40);
    background:
        radial-gradient(circle at 84% 12%, rgba(214,173,99,.12), transparent 36%),
        linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.03));
    box-shadow:
        0 30px 90px rgba(0,0,0,.30),
        0 0 0 1px rgba(214,173,99,.08),
        inset 0 1px 0 rgba(255,255,255,.10);
}

.afp-faq-item.is-open::before {
    background: #D6AD63;
    border-color: #D6AD63;
    box-shadow:
        0 0 0 9px rgba(214,173,99,.12),
        0 0 30px rgba(214,173,99,.40);
}

/* QUESTION */

.afp-faq-question {
    width: 100%;
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    text-align: right;
    font-family: inherit;
    color: #F8F5F0;
}

.afp-faq-question span {
    display: block;
    font-size: clamp(22px, 1.8vw, 28px);
    line-height: 1.4;
    font-weight: 850;
    color: #F8F5F0 !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* PLUS ICON */

.afp-faq-question i {
    position: relative;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(214,173,99,.08);
    border: 1px solid rgba(214,173,99,.18);
}

.afp-faq-question i::before,
.afp-faq-question i::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: #F3D38A;
    transform: translate(-50%, -50%);
    transition: transform .22s ease;
}

.afp-faq-question i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.afp-faq-item.is-open .afp-faq-question i {
    background: linear-gradient(135deg, #D6AD63, #F3D38A);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(214,173,99,.20);
}

.afp-faq-item.is-open .afp-faq-question i::before,
.afp-faq-item.is-open .afp-faq-question i::after {
    background: #120C10;
}

.afp-faq-item.is-open .afp-faq-question i::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* ANSWER */

.afp-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .34s ease;
}

.afp-faq-item.is-open .afp-faq-answer {
    grid-template-rows: 1fr;
}

.afp-faq-answer p {
    overflow: hidden;
    margin: 0;
    padding: 0 40px 0;
    font-size: 19px;
    line-height: 1.95;
    color: rgba(248,245,240,.66);
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.afp-faq-item.is-open .afp-faq-answer p {
    padding-bottom: 38px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .afp-faq-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .afp-faq-content {
        position: relative;
        top: auto;
    }

    .afp-faq-title,
    .afp-faq-description,
    .afp-faq-support-card {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .afp-faq-section {
        padding: 84px 16px;
    }

    .afp-faq-shell {
        gap: 52px;
    }

    .afp-faq-title {
        font-size: clamp(42px, 13vw, 58px);
    }

    .afp-faq-description {
        font-size: 17px;
    }

    .afp-faq-list-wrap {
        padding-right: 34px;
    }

    .afp-faq-line {
        right: 9px;
    }

    .afp-faq-item::before {
        right: -34px;
        width: 17px;
        height: 17px;
    }

    .afp-faq-question {
        padding: 24px;
    }

    .afp-faq-question span {
        font-size: 19px;
    }

    .afp-faq-answer p {
        padding-inline: 24px;
        font-size: 16px;
    }

    .afp-faq-item.is-open .afp-faq-answer p {
        padding-bottom: 24px;
    }

    .afp-faq-support-card {
        grid-template-columns: auto 1fr;
    }

    .afp-faq-support-link {
        grid-column: 1 / -1;
        margin-right: 80px;
    }
}