/* ===================================
   SECCIONES LEGALES
   =================================== */

.legal-section {
    padding: 80px 0 !important;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 10px;
}

.legal-header .text-muted {
    font-size: 1.05rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul,
.legal-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.legal-content strong {
    color: var(--primary);
    font-weight: 600;
}

.legal-content em {
    color: var(--secondary);
    font-style: italic;
}

.legal-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.legal-content table th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.legal-content table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    color: #555;
}

.legal-content table tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

.legal-content table tbody tr:hover {
    background: #f0f8ff;
}

@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    .legal-content {
        padding: 25px;
    }
    .legal-content h2 {
        font-size: 1.4rem;
    }
    .legal-content h3 {
        font-size: 1.1rem;
    }
    .legal-content p {
        font-size: 0.95rem;
    }
    .legal-content ul,
    .legal-content ol {
        margin-left: 20px;
    }
    .legal-content table {
        font-size: 0.9rem;
    }
    .legal-content table th,
    .legal-content table td {
        padding: 10px;
    }
}