.faq-wrap {
    max-width: 52rem;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
}

.faq-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
}

.faq-nav a:hover {
    border-color: var(--accent);
}

.faq-group {
    margin-bottom: 0.85rem;
    padding: 1.25rem 1.35rem 0.85rem;
    background: var(--surface);
    scroll-margin-top: 1.25rem;
}

.faq-heading {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.faq-list {
    margin: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
}

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

.faq-question::after {
    content: '';
    width: 1.7rem;
    height: 1.7rem;
    flex-shrink: 0;
    background:
        linear-gradient(var(--text) 0 0) center / 0.7rem 1.5px no-repeat,
        linear-gradient(var(--text) 0 0) center / 1.5px 0.7rem no-repeat;
    border: 1.5px solid color-mix(in srgb, #5b5c3b 45%, var(--border));
    border-radius: 50%;
    color: #5b5c3b;
}

.faq-item[open] .faq-question::after {
    background: linear-gradient(var(--text) 0 0) center / 0.7rem 1.5px no-repeat;
}

.faq-answer {
    padding: 0 2.7rem 1.05rem 0;
}

.faq-answer p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.faq-answer a {
    color: var(--accent-hover);
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}

.faq-answer a:hover {
    border-bottom-color: var(--accent-hover);
}

.faq-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.15rem 1.3rem;
    background: var(--surface);
}

.faq-contact-title {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.faq-contact-text {
    margin: 0.2rem 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.faq-contact-cta {
    flex-shrink: 0;
    min-height: 2.5rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .faq-group,
    .faq-contact {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .faq-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-contact-cta {
        width: 100%;
    }

    .faq-answer {
        padding-right: 0;
    }
}
