:root {
    --primary-color: #2e1065; /* Violeta Muy Oscuro (Gobernanza/Datos) */
    --accent-color: #a855f7;  /* Púrpura Eléctrico */
    --text-color: #475569;    /* Gris Pizarra Corp */
    --bg-light: #faf5ff;      /* Fondo Lavanda Ultra Claro */
    --bg-white: #ffffff;
    --warning-border: #b45309; /* Ámbar Profundo */
    --warning-bg: #fffbeb;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-stack); color: var(--text-color); background-color: var(--bg-white); line-height: 1.7; font-size: 16px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.main-header { background-color: var(--primary-color); padding: 20px 0; border-bottom: 4px solid var(--accent-color); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--bg-white); font-size: 22px; letter-spacing: 0.5px; }
.logo-bold { color: var(--accent-color); font-weight: 800; }
.main-nav a { color: #e9d5ff; text-decoration: none; margin-left: 20px; font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: var(--bg-white); }
.hero-section { padding: 80px 0; background: linear-gradient(135deg, #4c1d95 0%, #2e1065 100%); color: var(--bg-white); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 40px; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.hero-content p { font-size: 17px; color: #ddd6fe; margin-bottom: 25px; }
.hero-image img { width: 100%; border-radius: 12px; box-shadow: 0 20px 30px rgba(0,0,0,0.2); height: 340px; object-fit: cover; }
.btn-primary { display: inline-block; background-color: var(--accent-color); color: var(--bg-white); padding: 13px 26px; text-decoration: none; border-radius: 50px; font-weight: 700; transition: background-color 0.2s; }
.btn-primary:hover { background-color: #9333ea; }
.gov-disclaimer { margin: 40px 0; background-color: var(--warning-bg); border-left: 5px solid var(--warning-border); padding: 22px; border-radius: 6px; }
.gov-disclaimer p { font-size: 14px; color: #78350f; line-height: 1.6; }
.services-section { padding: 60px 0; background-color: var(--bg-light); }
.section-title { font-size: 32px; color: var(--primary-color); text-align: center; margin-bottom: 40px; font-weight: 800; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background-color: var(--bg-white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(168,85,247,0.05); border: 1px solid #f3e8ff; }
.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-card h3 { color: var(--primary-color); padding: 20px 20px 10px 20px; font-size: 20px; font-weight: 700; }
.service-card p { padding: 0 20px 20px 20px; font-size: 15px; color: #64748b; }
.density-section { padding: 80px 0; background-color: var(--bg-white); }
.section-subtitle { text-align: center; color: #64748b; margin: -30px auto 45px auto; max-width: 800px; }
.density-content { max-width: 900px; margin: 0 auto; }
.density-block { margin-bottom: 45px; }
.density-block h3 { font-size: 22px; color: var(--primary-color); margin-bottom: 15px; border-bottom: 2px solid #faf5ff; padding-bottom: 8px; font-weight: 700; }
.density-block p { text-align: justify; margin-bottom: 15px; color: var(--text-color); }
.requirements-list { margin: 20px 0; padding-left: 20px; }
.requirements-list li { margin-bottom: 10px; }
.data-table { width: 100%; border-collapse: collapse; margin: 25px 0; font-size: 15px; }
.data-table th, .data-table td { border: 1px solid #e9d5ff; padding: 14px; }
.data-table th { background-color: #f3e8ff; color: var(--primary-color); font-weight: 700; }
.data-table tr:nth-child(even) { background-color: var(--bg-light); }
.contact-section { padding: 60px 0; background-color: var(--bg-light); }
.contact-box { max-width: 650px; background-color: var(--bg-white); padding: 40px; border-radius: 12px; border: 1px solid #e9d5ff; box-shadow: 0 10px 25px rgba(0,0,0,0.02); margin: 0 auto; }
.contact-box h2 { color: var(--primary-color); margin-bottom: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--primary-color); font-weight: 600; font-size: 14px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-family: var(--font-stack); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(168,85,247,0.1); }
.btn-submit { width: 100%; background-color: var(--primary-color); color: var(--bg-white); padding: 14px; border: none; border-radius: 50px; font-weight: 700; cursor: pointer; transition: background-color 0.2s; }
.btn-submit:hover { background-color: var(--accent-color); }
.main-footer { background-color: #1e1b4b; color: #94a3b8; padding: 50px 0 20px 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--bg-white); margin-bottom: 15px; }
.footer-links { list-style: none; }
.footer-links a { color: #94a3b8; text-decoration: none; }
.footer-links a:hover { color: var(--bg-white); }
.footer-bottom { text-align: center; padding-top: 20px; margin-top: 30px; border-top: 1px solid #312e81; font-size: 12px; }
@media (max-width: 768px) { .hero-grid { grid-template-columns: 1fr; } .hero-image { display: none; } .header-flex { flex-direction: column; gap: 15px; } }