/**
 * FAQ — page-specific styles
 * Uses site-base.css for navbar, footer, design tokens.
 */

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
    min-height: calc(100vh - var(--nav-height));
}

/* ── Page header ─────────────────────────────────────────────────── */
.page-header { text-align: center; padding: 3rem 0 2rem; }
.page-header h1 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--theme-plum);
    margin-bottom: 0.5rem;
}
.page-header p { color: var(--text-muted); font-size: 1rem; max-width: 480px; margin: 0 auto; }

/* ── Intro card ──────────────────────────────────────────────────── */
.intro-card {
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 0.5rem;
    font-size: 0.97rem;
    color: var(--text-main);
}
.intro-card a { color: var(--theme-rose); font-weight: 700; }
.intro-card a:hover { text-decoration: underline; }

/* ── Section heading ─────────────────────────────────────────────── */
.section-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--theme-line);
}
.section-heading h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.75rem;
    color: var(--theme-plum);
}
.section-heading .icon { font-size: 1.4rem; }

/* ── FAQ accordion ───────────────────────────────────────────────── */
.faq-item {
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 0.6rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-normal);
}
.faq-item:hover { box-shadow: var(--shadow-card-hover); }

.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--text-dark);
    user-select: none;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .chev {
    flex: 0 0 auto;
    width: 18px; height: 18px;
    color: var(--theme-rose);
    transition: transform var(--transition-fast);
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--theme-rose); }

.faq-answer {
    padding: 0 1.25rem 1.1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.7;
}
.faq-answer p { margin-bottom: 0.7rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0.5rem 0 0.7rem 1.2rem; }
.faq-answer li { margin-bottom: 0.3rem; }
.faq-answer a { color: var(--theme-rose); font-weight: 600; }
.faq-answer a:hover { text-decoration: underline; }
