
:root {
    --faq-cream: #fbf7f1;
    --faq-brown: #38271f;
    --faq-gold: #a78055;
    --faq-muted: #77675d;
    --faq-border: #e9dfd4;
}

.faq-hero {
    padding: 110px 20px 100px;
    text-align: center;
    background: var(--faq-cream);
}

.faq-eyebrow {
    color: var(--faq-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.faq-hero h1 {
    margin: 20px auto;
    max-width: 900px;
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--faq-brown);
}

.faq-hero h1 em {
    color: var(--faq-gold);
    font-weight: 400;
}

.faq-hero p {
    max-width: 550px;
    margin: 0 auto;
    color: var(--faq-muted);
    line-height: 1.9;
}

.faq-section {
    padding: 95px 6%;
    background: #fff;
}

.faq-container {
    max-width: 1250px;
    margin: auto;
}

.faq-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 65px;
}

.faq-toolbar h2 {
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 49px);
    font-weight: 400;
    color: var(--faq-brown);
    margin: 12px 0 0;
}

.faq-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 330px;
    max-width: 100%;
    padding: 15px 18px;
    border: 1px solid var(--faq-border);
    background: var(--faq-cream);
}

.faq-search span {
    font-size: 23px;
    color: var(--faq-gold);
}

.faq-search input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font: inherit;
    color: var(--faq-brown);
}

.faq-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 80px;
}

.faq-sidebar {
    align-self: start;
    position: sticky;
    top: 100px;
    padding: 30px;
    background: var(--faq-cream);
}

.faq-sidebar h3 {
    margin: 0 0 22px;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--faq-brown);
}

.faq-sidebar a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    color: var(--faq-muted);
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid var(--faq-border);
}

.faq-sidebar a:hover {
    color: var(--faq-brown);
}

.faq-group {
    margin-bottom: 55px;
    scroll-margin-top: 110px;
}

.faq-group h2 {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--faq-brown);
    margin: 0 0 24px;
}

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

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
    color: var(--faq-brown);
    font-size: 15px;
    font-weight: 600;
}

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

.faq-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: 1px solid var(--faq-border);
    border-radius: 50%;
    color: var(--faq-gold);
    font-size: 20px;
    font-weight: 400;
    transition: transform .25s;
}

.faq-item[open] .faq-plus {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 40px 25px 0;
}

.faq-answer p {
    margin: 0;
    color: var(--faq-muted);
    font-size: 14px;
    line-height: 1.9;
}

.faq-no-results {
    color: var(--faq-muted);
    padding: 25px 0;
}

.faq-help {
    text-align: center;
    padding: 90px 20px;
    background: var(--faq-cream);
}

.faq-help h2 {
    font-family: Georgia, serif;
    font-size: clamp(35px, 4vw, 52px);
    font-weight: 400;
    color: var(--faq-brown);
    margin: 18px 0;
}

.faq-help p {
    color: var(--faq-muted);
    line-height: 1.8;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    padding: 16px 30px;
    background: var(--faq-brown);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s;
}

.faq-contact-btn:hover {
    background: #65432e;
    color: white;
}

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

    .faq-sidebar {
        position: static;
    }

    .faq-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .faq-search {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .faq-hero {
        padding: 75px 20px;
    }

    .faq-section {
        padding: 65px 20px;
    }

    .faq-toolbar {
        margin-bottom: 40px;
    }

    .faq-sidebar {
        padding: 23px;
    }

    .faq-group h2 {
        font-size: 27px;
    }

    .faq-item summary {
        font-size: 14px;
        padding: 20px 0;
    }

    .faq-help {
        padding: 70px 20px;
    }
}

.faq-group[hidden],
.faq-item[hidden],
.faq-no-results[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .faq-plus,
    .faq-contact-btn {
        transition: none;
    }
}
