/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Contenedor principal */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* Header */
header {
    text-align: center;
    padding: 40px 0 20px;
    border-bottom: 1px solid #e0e0e0;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    letter-spacing: 2px;
}

header h1 a {
    color: inherit;
    text-decoration: none;
}

header h1 a:hover {
    color: #3498db;
}

/* Main content */
main {
    flex: 1;
    padding: 40px 20px;
}

/* Página de construcción */
.construction {
    text-align: center;
    padding: 60px 20px;
}

.construction h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 20px;
}

.construction p {
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

/* Contenido legal */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 10px;
}

.legal-content .last-updated {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-content section {
    margin-bottom: 30px;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 15px;
    margin-top: 25px;
}

.legal-content p {
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.legal-content li {
    margin-bottom: 10px;
    color: #555;
}

.legal-content a {
    color: #3498db;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Contenido de contacto */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-content p {
    color: #555;
    margin-bottom: 20px;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.contact-info h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 15px;
}

.email-large {
    font-size: 1.4rem;
    margin: 0;
}

.email-large a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.email-large a:hover {
    text-decoration: underline;
}

.contact-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #e8f4f8;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.contact-note p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

footer nav {
    margin-bottom: 15px;
}

footer nav a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0 10px;
}

footer nav a:hover {
    text-decoration: underline;
}

footer .separator {
    color: #ccc;
    margin: 0 5px;
}

footer .copyright {
    color: #888;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .construction h2,
    .legal-content h2,
    .contact-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content,
    .contact-content {
        padding: 0 10px;
    }
    
    .legal-content p {
        text-align: left;
    }
    
    footer nav a {
        display: inline-block;
        padding: 5px;
        font-size: 0.85rem;
    }
    
    footer .separator {
        display: none;
    }
}
