/* ============================================ */
/* LEGAL PAGES - FAQ, Devoluciones, Garantias,  */
/* Terminos                                     */
/* ============================================ */

.legal-page {
    padding: 120px 0 80px;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.legal-page .subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-secondary);
}

.legal-section p,
.legal-section li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
}

/* ── FAQ ACCORDION ── */

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

.faq-item__q {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.faq-item__q:hover {
    background: var(--bg-surface);
}

.faq-item__q i {
    color: var(--color-secondary);
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.faq-item.open .faq-item__q i {
    transform: rotate(180deg);
}

.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-item__a {
    max-height: 400px;
}

.faq-item__a-inner {
    padding: 0 20px 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── RETURN STEPS ── */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    margin: 0 auto 12px;
}

.step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
}

/* ── WARRANTY CARDS ── */

.warranty-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.warranty-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(var(--color-secondary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.warranty-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.warranty-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* ── DATE BADGE ── */

.date-badge {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}
