.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    background: rgba(199, 146, 90, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.4rem;
    margin: 0.3rem 0;
    color: var(--color-text);
}

.faq-hero {
    position: relative;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(160deg, #1a1512 0%, #2b1f16 30%, #3a2517 60%, #1e1a17 100%);
    overflow: hidden;
    text-align: center;
}
.faq-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(199, 146, 90, 0.08) 0%, transparent 60%);
}
.faq-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.faq-hero-content h1 {
    font-size: 3.2rem;
    color: #fff;
    margin: 0.5rem 0 1rem;
}
.faq-hero-sub {
    font-size: 1.15rem;
    color: rgba(237, 224, 212, 0.8);
    margin-bottom: 2rem;
}
.faq-search {
    display: flex;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 3rem;
    padding: 0.7rem 1.5rem;
    gap: 0.7rem;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-search svg {
    color: var(--color-text-secondary);
    flex-shrink: 0;
}
.faq-search input {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-size: 1rem;
    outline: none;
}
.faq-search input::placeholder {
    color: var(--color-text-secondary);
}
.faq-search:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(199, 146, 90, 0.15);
}
.faq-no-results {
    color: var(--color-text-secondary);
    margin-top: 1rem;
    font-size: 0.95rem;
}
.faq-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}
.faq-hero-wave svg {
    width: 100%;
    height: auto;
}

.faq-content {
    padding: 4rem 0;
}
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}
.cat-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}
.cat-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.cat-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.faq-item.hidden-by-search {
    display: none;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.2rem 1.8rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s, color 0.3s;
}
.faq-question:hover {
    background: rgba(199, 146, 90, 0.04);
}
.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.35s ease;
}
.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}
.faq-item.active .faq-question {
    color: var(--color-primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.45s ease;
}
.faq-answer p {
    margin: 0;
    padding: 0 1.8rem 1.4rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-cta {
    position: relative;
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(160deg, #2b1f16, #1a1512);
    overflow: hidden;
}
.faq-cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(199, 146, 90, 0.08) 0%, transparent 60%);
}
.faq-cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}
.faq-cta-content h2 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0 0 1rem;
}
.faq-cta-content p {
    font-size: 1.15rem;
    color: rgba(237, 224, 212, 0.8);
    margin-bottom: 2rem;
}
.faq-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .faq-hero-content h1 {
        font-size: 2.4rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
    }
    .faq-answer p {
        padding: 0 1.2rem 1.2rem;
    }
}
@media (max-width: 480px) {
    .faq-hero-content h1 {
        font-size: 2rem;
    }
    .faq-cta-content h2 {
        font-size: 2rem;
    }
    .faq-cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
