:root {
    --primary: #00bf71; /* Un poco más oscuro para que resalte en blanco */
    --primary-dark: #009e5d;
    --bg-light: #ffffff;
    --bg-card: #f9f9f9;
    --text-main: #222222;
    --text-muted: #666666;
    --border: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px 60px;
}

.legal-hero {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.legal-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111;
    margin-bottom: 15px;
}

.legal-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    color: var(--primary);
    margin: 35px 0 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 15px;
    color: #444;
}

.legal-content ul {
    margin-bottom: 20px;
    list-style: none;
}

.legal-content li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.legal-content li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.back-home:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

.legal-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 25px;
    }
}
