.faq-page {
    position: relative;
    padding-top: 112px;
    overflow: clip;
}

:root {
    --faq-pink-100: #f7e8ef;
    --faq-pink-200: #f1d5e1;
    --faq-pink-300: #e8bfd0;
    --faq-pink-500: #cf87a7;
}

.faq-page::before,
.faq-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}

.faq-page::before {
    width: 740px;
    height: 740px;
    top: -260px;
    right: -220px;
    background: radial-gradient(circle at center, rgba(233, 201, 211, .42), rgba(233, 201, 211, 0));
}

.faq-page::after {
    width: 700px;
    height: 700px;
    bottom: -260px;
    left: -220px;
    background: radial-gradient(circle at center, rgba(227, 214, 190, .34), rgba(227, 214, 190, 0));
}

.faq-hero {
    padding-bottom: 28px;
}

.faq-hero-inner {
    max-width: 1400px;
    border-radius: 36px;
    padding: 42px 46px;
    background:
        radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 36%),
        linear-gradient(132deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .78));
    border: 1px solid rgba(255, 255, 255, .86);
    box-shadow:
        0 28px 70px rgba(23, 20, 20, .08),
        inset 0 1px 0 rgba(255, 255, 255, .96);
}

.faq-hero-inner .section-title {
    line-height: .9;
}

.faq-hero-inner .section-description {
    max-width: 66ch;
}

.faq-hero-metrics {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.faq-metric {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 20, 20, .08);
    background: rgba(255, 255, 255, .74);
    display: inline-flex;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .88rem;
    color: rgba(23, 20, 20, .72);
}

.faq-metric strong {
    margin-right: 8px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.28rem;
    letter-spacing: .08em;
    color: rgba(23, 20, 20, .95);
}

.faq-content {
    padding-top: 0;
    padding-bottom: 112px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 308px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.faq-panel {
    border-radius: 28px;
    border: 1px solid rgba(23, 20, 20, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .85));
    box-shadow:
        0 18px 42px rgba(23, 20, 20, .06),
        inset 0 1px 0 rgba(255, 255, 255, .94);
}

.faq-main {
    padding: 20px;
}

.faq-sidebar {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 108px;
}

.faq-categories-panel,
.faq-help-panel {
    padding: 18px;
}

.faq-side-title {
    margin: 0 0 12px;
    font-size: 1.65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 400;
}

.faq-main-head {
    margin-bottom: 14px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(23, 20, 20, .08);
    background:
        radial-gradient(circle at 98% 4%, rgba(255, 245, 250, .8), rgba(255, 245, 250, 0) 32%),
        linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .68));
}

.faq-main-kicker {
    display: inline-block;
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(23, 20, 20, .5);
}

.faq-main-title {
    margin: 8px 0 0;
    font-size: 2rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: .95;
    font-weight: 400;
}

.faq-category-list {
    display: grid;
    gap: 8px;
}

.faq-category-btn {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(23, 20, 20, .1);
    background: rgba(255, 255, 255, .72);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    color: var(--text, #171414);
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.faq-category-btn span {
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.faq-category-btn .faq-arrow {
    font-size: 1rem;
    opacity: .62;
    transition: transform .2s ease, opacity .2s ease;
}

.faq-category-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(23, 20, 20, .18);
    box-shadow: 0 10px 18px rgba(23, 20, 20, .08);
}

.faq-category-btn:hover .faq-arrow {
    transform: translateX(2px);
    opacity: .9;
}

.faq-category-btn.is-active {
    border-color: color-mix(in srgb, var(--faq-pink-500) 45%, rgba(23, 20, 20, .16));
    background: linear-gradient(110deg, var(--faq-pink-100), var(--faq-pink-200));
    box-shadow: 0 10px 20px rgba(207, 135, 167, .22);
}

.faq-category-btn.is-active .faq-arrow {
    color: var(--faq-pink-500);
    opacity: 1;
}

.faq-category-btn:focus-visible {
    outline: 2px solid var(--faq-pink-300);
    outline-offset: 2px;
}

.faq-service-strip {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.faq-service-card {
    min-height: 82px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(23, 20, 20, .08);
    background: rgba(255, 255, 255, .72);
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
}

.faq-service-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(201, 166, 112, .45);
    background: rgba(255, 255, 255, .8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(154, 116, 67, .88);
}

.faq-service-icon svg {
    width: 18px;
    height: 18px;
}

.faq-help-title {
    margin: 0 0 8px;
    font-size: 1.4rem;
    line-height: .95;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 400;
}

.faq-help-copy {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .95rem;
    line-height: 1.58;
    color: rgba(23, 20, 20, .7);
}

.faq-service-card h3 {
    margin: 0;
    font-size: .78rem;
    letter-spacing: .11em;
    text-transform: uppercase;
    line-height: 1.15;
    font-weight: 400;
}

.faq-service-card p {
    margin: 4px 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .86rem;
    line-height: 1.45;
    color: rgba(23, 20, 20, .62);
}

.faq-accordion {
    display: grid;
    gap: 8px;
}

.faq-item {
    border: 1px solid rgba(23, 20, 20, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .76);
    overflow: hidden;
    transition: border-color .22s ease, box-shadow .22s ease;
}

.faq-item:hover {
    border-color: rgba(23, 20, 20, .16);
    box-shadow: 0 10px 18px rgba(23, 20, 20, .07);
}

.faq-item[hidden] {
    display: none;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    min-height: 60px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-size: 1.02rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: rgba(23, 20, 20, .75);
    transform: translate(-50%, -50%);
    transition: transform .22s ease, opacity .22s ease;
}

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

.faq-item[open] .faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq-item[open] {
    border-color: color-mix(in srgb, var(--faq-pink-500) 28%, rgba(23, 20, 20, .16));
    box-shadow: 0 10px 20px rgba(207, 135, 167, .12);
}

.faq-answer {
    padding: 0 16px 16px;
}

.faq-answer p {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(23, 20, 20, .72);
    max-width: 84ch;
}

.faq-help-link {
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(201, 166, 112, .45);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(252, 247, 239, .96));
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text, #171414);
    white-space: nowrap;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.faq-help-link:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 166, 112, .68);
    box-shadow: 0 12px 18px rgba(185, 147, 93, .16);
}

.faq-help-link::after {
    content: "↗";
    font-size: .95rem;
    opacity: .82;
}

@media (max-width: 1200px) {
    .faq-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 14px;
    }

    .faq-main-title {
        font-size: 1.8rem;
    }

    .faq-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .faq-sidebar {
        position: static;
    }

    .faq-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .faq-page {
        padding-top: 100px;
    }

    .faq-hero {
        padding-bottom: 20px;
    }

    .faq-hero-inner {
        padding: 24px;
        border-radius: 24px;
    }

    .faq-hero-metrics {
        margin-top: 14px;
    }

    .faq-metric {
        min-height: 38px;
        padding: 0 12px;
        font-size: .78rem;
    }

    .faq-content {
        padding-bottom: 82px;
    }

    .faq-main {
        padding: 14px;
    }

    .faq-main-head {
        padding: 12px;
    }

    .faq-main-title {
        font-size: 1.52rem;
    }

    .faq-category-list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: thin;
        scroll-snap-type: x mandatory;
    }

    .faq-category-btn {
        flex: 0 0 auto;
        min-width: 186px;
        scroll-snap-align: start;
    }

    .faq-service-strip {
        margin-top: 12px;
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: .82rem;
        line-height: 1.3;
    }

    .faq-answer p {
        font-size: .95rem;
    }

    .faq-help-link {
        width: 100%;
        justify-content: center;
    }
}
