.faq-page {
    --faq-primary: #f20d3a;
    --faq-primary-dark: #d80831;
    --faq-primary-soft: rgba(242, 13, 58, 0.07);
    --faq-green: #078b68;
    --faq-green-soft: rgba(7, 139, 104, 0.08);
    --faq-dark: #111827;
    --faq-text: #374151;
    --faq-muted: #7b8495;
    --faq-border: #e8ebf0;
    --faq-background: #f8f9fb;

}
/* Hero */
.faq-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 265px;
    padding: 38px 42px;
    border: 1px solid rgba(226, 230, 237, 0.95);
    border-radius: 25px;
    background:
        linear-gradient(
            125deg,
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 0.92)
        );
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.055);
}

.faq-hero::before {
    content: "";
    position: absolute;
    top: -105px;
    left: -55px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--faq-primary-soft);
}

.faq-hero::after {
    content: "";
    position: absolute;
    bottom: -130px;
    left: 90px;
    width: 215px;
    height: 215px;
    border: 1px solid rgba(242, 13, 58, 0.08);
    border-radius: 50%;
}

.faq-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
}

.faq-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 10px;
    background: var(--faq-primary-soft);
    color: var(--faq-primary);
    font-size: 11px;
    font-weight: 700;
}

.faq-hero__title {
    margin: 0 0 8px;
    color: var(--faq-dark);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.65;
}

.faq-hero__description {
    max-width: 650px;
    margin: 0;
    color: var(--faq-muted);
    font-size: 13px;
    line-height: 2;
}

.faq-hero__visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    flex: 0 0 140px;
    border: 1px solid rgba(242, 13, 58, 0.11);
    border-radius: 50%;
    background: rgba(242, 13, 58, 0.025);
}

.faq-hero__visual::before {
    content: "";
    position: absolute;
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: rgba(242, 13, 58, 0.07);
}

.faq-hero__visual::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--faq-primary);
    box-shadow: -118px 105px 0 var(--faq-green);
}

.faq-hero__visual-icon {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: #fff;
    color: var(--faq-primary);
    font-size: 28px;
    box-shadow: 0 12px 30px rgba(242, 13, 58, 0.13);
}

/* Search */

.faq-search {
    position: relative;
    max-width: 610px;
    margin-top: 23px;
}

.faq-search__icon {
    position: absolute;
    top: 50%;
    right: 17px;
    z-index: 2;
    color: #929bab;
    font-size: 18px;
    pointer-events: none;
    transform: translateY(-50%);
}

.faq-search__input {
    width: 100%;
    height: 53px;
    padding: 0 48px 0 48px;
    border: 1px solid var(--faq-border);
    border-radius: 14px;
    outline: none;
    background: #fafbfc;
    color: var(--faq-dark);
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.faq-search__input::placeholder {
    color: #a0a8b7;
}

.faq-search__input:hover {
    border-color: #d7dce4;
}

.faq-search__input:focus {
    border-color: rgba(242, 13, 58, 0.48);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(242, 13, 58, 0.065);
}

.faq-search__clear {
    position: absolute;
    top: 50%;
    left: 11px;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #eff1f4;
    color: #8d95a4;
    cursor: pointer;
    transform: translateY(-50%);
    transition: 0.2s ease;
}

.faq-search__clear:hover {
    background: var(--faq-primary-soft);
    color: var(--faq-primary);
}

/* Main layout */
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 22px;
    margin-top: 28px;
}

.faq-main {
    min-width: 0;
    margin-bottom: 10px;
}

.faq-section-title {
    margin: 0;
    color: var(--faq-dark);
    font-size: 17px;
    font-weight: 800;
}

/* Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.faq-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--faq-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.025);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: background-color 0.2s ease;
}

.faq-item:hover {
    border-color: #d9dde5;
    box-shadow: 0 11px 29px rgba(15, 23, 42, 0.05);
    transform: translateY(-1px);
}

.faq-item.is-open {
    border-color: rgba(242, 13, 58, 0.22);
    box-shadow: 0 13px 32px rgba(242, 13, 58, 0.055);
    border-radius: 16px;
    border-right: 3px solid var(--faq-primary);
}


.faq-question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    outline: none;
    background: transparent;
    text-align: right;
    cursor: pointer;
}

.faq-question:focus-visible {
    outline: 3px solid rgba(242, 13, 58, 0.12);
    outline-offset: -3px;
}

.faq-question__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    margin-left: 13px;
    border-radius: 11px;
    background: #f5f6f8;
    color: #808999;
    font-size: 12px;
    font-weight: 800;
    transition: 0.22s ease;
}

.faq-item.is-open .faq-question__number {
    background: var(--faq-primary-soft);
    color: var(--faq-primary);
}

.faq-question__text {
    flex: 1;
    color: #252b36;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.9;
}

.faq-question__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-right: 13px;
    border-radius: 10px;
    background: #f6f7f9;
    color: #8d96a5;
    font-size: 16px;
    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        transform 0.25s ease;
}

.faq-item.is-open .faq-question__arrow {
    background: var(--faq-primary);
    color: #fff;
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 71px 22px 66px;
}

.faq-answer__content {
    padding-top: 18px;
    border-top: 1px solid #eef0f3;
    color: #626c7d;
    font-size: 14px;
}

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

.faq-answer__content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 12px;
}

.faq-answer__content a {
    color: var(--faq-primary);
    font-weight: 700;
}

.faq-answer__content ul,
.faq-answer__content ol {
    padding-right: 20px;
}

/* Private answer */

.faq-private {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid #f0dfa9;
    border-radius: 13px;
    background: #fffaf0;
    color: #82651f;
    line-height: 1.9;
}

.faq-private__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: rgba(210, 153, 18, 0.11);
    color: #bd8709;
    font-size: 16px;
}

.faq-private__title {
    display: block;
    margin-bottom: 2px;
    color: #705515;
    font-weight: 800;
}

.faq-private__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    color: var(--faq-primary) !important;
    font-weight: 700;
}

/* Sidebar */

.faq-sidebar {
    position: sticky;
    top: 95px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-side-card {
    padding: 22px;
    border: 1px solid var(--faq-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(15, 23, 42, 0.03);
}

.faq-side-card--support {
    border-color: rgba(7, 139, 104, 0.2);
    background:
        linear-gradient(
            145deg,
            rgba(7, 139, 104, 0.045),
            #fff 70%
        );
}

.faq-side-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-bottom: 15px;
    border-radius: 14px;
    background: var(--faq-green-soft);
    color: var(--faq-green);
    font-size: 20px;
}

.faq-side-card__title {
    margin: 0 0 8px;
    color: var(--faq-dark);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
}

.faq-side-card__description {
    margin: 0 0 17px;
    color: var(--faq-muted);
    font-size: 12px;
    line-height: 1.95;
    text-align: justify;
}

.faq-side-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(7, 139, 104, 0.25);
    border-radius: 11px;
    background: #fff;
    color: var(--faq-green);
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s ease;
}

.faq-side-card__button:hover {
    border-color: var(--faq-green);
    background: var(--faq-green);
    color: #fff;
}

.faq-guide-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--faq-dark);
    font-size: 14px;
    font-weight: 800;
}

.faq-guide-title i {
    color: var(--faq-primary);
    font-size: 16px;
}

.faq-guide-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-guide-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #697386;
    font-size: 12px;
    line-height: 1.8;
}

.faq-guide-item__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 7px;
    background: var(--faq-primary-soft);
    color: var(--faq-primary);
    font-size: 12px;
    font-weight: 800;
}

/* Empty and no-result states */

.faq-no-result,
.faq-empty {
    display: none;
    padding: 50px 20px;
    border: 1px dashed #d9dde5;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    text-align: center;
}

.faq-empty {
    display: block;
    border-style: solid;
    box-shadow: 0 12px 38px rgba(15, 23, 42, 0.04);
}

.faq-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
    border-radius: 18px;
    background: var(--faq-primary-soft);
    color: var(--faq-primary);
    font-size: 24px;
}

.faq-state__title {
    margin: 0 0 7px;
    color: var(--faq-dark);
    font-size: 15px;
    font-weight: 800;
}

.faq-state__description {
    max-width: 430px;
    margin: 0 auto;
    color: var(--faq-muted);
    font-size: 11px;
    line-height: 1.9;
}

@media (max-width: 991px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .faq-page {
        padding-top: 12px;
        padding-bottom: 45px;
    }

    .faq-hero {
        min-height: auto;
        padding: 27px 20px;
        border-radius: 19px;
    }

    .faq-hero__visual {
        display: none;
    }

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

    .faq-hero__description {
        font-size: 12px;
    }

    .faq-search {
        margin-top: 19px;
    }

    .faq-question {
        padding: 16px 14px;
    }

    .faq-question__number {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        margin-left: 9px;
    }

    .faq-question__text {
        font-size: 14px;
    }

    .faq-question__arrow {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
        margin-right: 7px;
    }

    .faq-answer {
        padding: 0 17px 18px;
    }

    .faq-sidebar {
        grid-template-columns: 1fr;
    }
}