/* ═══════════════════════════════════════════
   CURVA — Legal & FAQ Page Styles
   FAQ · Terms · Privacy
   ═══════════════════════════════════════════ */

/* ── Legal Hero ── */
.legal-hero {
    padding: 140px 0 48px;
    background: var(--gray-950);
}

.legal-hero .breadcrumb {
    margin-bottom: 20px;
}

.legal-hero .breadcrumb a {
    color: rgba(255,255,255,0.5);
}

.legal-hero .breadcrumb a:hover {
    color: var(--amber);
}

.legal-hero .breadcrumb span {
    color: rgba(255,255,255,0.7);
}

.legal-hero .breadcrumb svg {
    stroke: rgba(255,255,255,0.3);
}

.legal-hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 12px;
}

.legal-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}


/* ── Content Section ── */
.legal-content-section {
    padding: 64px 0 80px;
    background: #fff;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--olive-100);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 0;
    list-style: none;
}

.legal-content ul li {
    position: relative;
    padding-left: 24px;
    font-size: 0.93rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--olive);
}

.legal-content ul li strong {
    color: var(--gray-800);
    font-weight: 600;
}

.legal-content a {
    color: var(--amber-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: var(--amber);
}


/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */
.faq-item {
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-item:hover {
    border-color: var(--gray-200);
}

.faq-item.active {
    border-color: var(--olive-100);
    box-shadow: 0 4px 16px rgba(85, 107, 47, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--olive);
}

.faq-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: var(--gray-400);
    transition: transform 0.3s ease, stroke 0.2s;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    stroke: var(--olive);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.93rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 0;
}

.faq-answer a {
    color: var(--amber-dark);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-answer a:hover {
    color: var(--amber);
}


/* ── Responsive ── */
@media (max-width: 768px) {
    .legal-hero {
        padding: 120px 0 36px;
    }

    .legal-hero-title {
        font-size: 1.8rem;
    }

    .legal-content-section {
        padding: 48px 0 64px;
    }

    .legal-content h2 {
        font-size: 1.2rem;
        margin-top: 32px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.93rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 16px;
    }
}

@media (max-width: 480px) {
    .legal-hero {
        padding: 110px 0 28px;
    }

    .legal-hero-title {
        font-size: 1.5rem;
    }
}
