.faq-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 133, 42, 0.2), transparent 38rem),
        #182234;
}

.faq-hero::after {
    content: "";
    position: absolute;
    inset: auto 8% 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 133, 42, 0.48), transparent);
}

.faq-section-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.faq-section-nav a {
    border: 1px solid rgba(24, 34, 52, 0.14);
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    color: rgba(24, 34, 52, 0.72);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.faq-section-nav a:hover,
.faq-section-nav a:focus-visible {
    border-color: #c9852a;
    background: rgba(201, 133, 42, 0.08);
    color: #182234;
    outline: none;
}

.faq-group {
    scroll-margin-top: 7rem;
}

.faq-section-nav + .faq-group {
    margin-top: clamp(4rem, 8vw, 5rem);
}

.faq-group + .faq-group {
    margin-top: clamp(3.5rem, 8vw, 6rem);
}

.faq-contact-card {
    margin-top: clamp(5rem, 9vw, 7rem);
}

.faq-list {
    margin-top: 1.75rem;
    border-top: 1px solid rgba(24, 34, 52, 0.14);
}

.faq-item {
    border-bottom: 1px solid rgba(24, 34, 52, 0.14);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 76px;
    padding: 1.25rem 3.25rem 1.25rem 0;
    color: #182234;
    cursor: pointer;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    line-height: 1.3;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(24, 34, 52, 0.18);
    border-radius: 50%;
    color: #c9852a;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    border-color: rgba(201, 133, 42, 0.55);
}

.faq-item summary:focus-visible {
    outline: 2px solid #c9852a;
    outline-offset: 5px;
}

.faq-answer {
    max-width: 52rem;
    padding: 0 3.25rem 1.5rem 0;
    color: rgba(24, 34, 52, 0.7);
    font-size: 0.98rem;
    line-height: 1.8;
}

.faq-answer a {
    color: #9a641d;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.faq-boundary {
    border: 1px solid rgba(201, 133, 42, 0.28);
    background: rgba(201, 133, 42, 0.08);
}

@media (max-width: 640px) {
    .faq-section-nav {
        justify-content: flex-start;
    }

    .faq-section-nav a {
        padding: 0.58rem 0.78rem;
        font-size: 0.62rem;
    }

    .faq-item summary {
        min-height: 68px;
        padding-right: 2.75rem;
        font-size: 1.12rem;
    }

    .faq-answer {
        padding-right: 0;
        font-size: 0.92rem;
    }
}
