/* ===== GLOBAL ===== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #eef7ff 0%, #f6fff3 100%);
    color: #1f2937;
}

a {
    text-decoration: none;
}

/* ===== HEADER ===== */

.legal-header-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}

.legal-header-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.legal-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: #2563eb;
}

.legal-logo-icon {
    font-size: 1.6rem;
}

.legal-lang a {
    margin-left: 12px;
    padding: 6px 10px;
    color: #2563eb;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid transparent;
}

.legal-lang a.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* ===== MAIN WRAPPER ===== */

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 80vh;
}

.legal-card {
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

/* ===== HEADINGS ===== */

.legal-title {
    font-size: 2.4rem;
    margin-bottom: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-meta {
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 1rem;
}

/* ===== CONTENT ===== */

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

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    padding-left: 14px;
    border-left: 4px solid #2563eb;
}

.section-text {
    font-size: 1rem;
    line-height: 1.65;
    color: #374151;
}

/* ===== BACK BUTTON ===== */

.back-home {
    margin-top: 35px;
    text-align: center;
}

.back-home a {
    padding: 12px 22px;
    border-radius: 8px;
    border: 1px solid #2563eb;
    color: #2563eb;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-home a:hover {
    background: #2563eb;
    color: white;
}

/* ===== FOOTER ===== */

.legal-footer {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 30px 0;
    margin-top: 60px;
}

.legal-footer-container {
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-links a {
    color: #2563eb;
    font-weight: 500;
}

.footer-bottom {
    color: #6b7280;
    font-size: 0.95rem;
}

/* MOBILE */
@media (max-width: 768px) {
    .legal-card { padding: 28px; }
    .legal-title { font-size: 1.9rem; }
}
