body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.contenedor {
    display: flex;
    min-height: 100vh;
}

.menu {
    width: 260px;
    background: #1f4e79;
    color: white;
    padding: 20px;
}

.menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 8px 0;
}

.titulo-menu {
    margin-top: 20px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

.submenu {
    padding-left: 20px !important;
    font-size: 0.95em;
}

.menu a:hover {
    text-decoration: underline;
}

.contenido {
    flex: 1;
    padding: 20px;
}

.tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.tarjeta {
    background: #f3f3f3;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
}

.tarjeta a {
    text-decoration: none;
    color: #1f4e79;
    font-weight: bold;
}

.grafica {
    margin-top: 20px;
}

.grafica img {
    max-width: 800px;
    width: 100%;
    border: 1px solid #ccc;
}
.hero {
background: #eef5fb;
padding: 30px;
border-radius: 10px;
margin-bottom: 30px;
}

.hero h1 {
color: #1f4e79;
margin-top: 0;
font-size: 2rem;
}

.lema {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    color: #1f4e79;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.introducion,
.compromisos,
.cursos {
background: white;
padding: 25px;
border-radius: 10px;
margin-bottom: 25px;
box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.botones-centros {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.boton-centro {
    background: #1f4e79;
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.boton-centro:hover {
    background: #2c6aa3;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

.centro-nome {
    font-size: 1.3rem;
    font-weight: bold;
}

.centro-accion {
    margin-top: 5px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.introducion h2,
.compromisos h2,
.cursos h2 {
color: #1f4e79;
margin-top: 0;
}

.compromiso {
border-left: 4px solid #1f4e79;
padding-left: 15px;
margin: 20px 0;
}

.compromiso h3 {
margin-bottom: 8px;
color: #1f4e79;
}

.introducion p,
.compromiso p,
.cursos p {
line-height: 1.7;
color: #333;
}

.contador-box { text-align: center; background: white; padding: 20px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); max-width: 800px; margin: auto; } 
.contador { font-size: 5rem; font-weight: bold; color: #1f4e79; margin: 20px 0; } .subtitulo { font-size: 1.4rem; color: #555; } .actualizacion { margin-top: 30px; color: #666; font-size: 0.95rem; } 
.boton { display: inline-block; margin-top: 30px; background: #1f4e79; color: white; padding: 14px 28px; text-decoration: none; border-radius: 8px; font-size: 1.1rem; } 
.boton:hover { opacity: 0.9; }



.boton2 {
    display: inline-block;
    margin-top: 30px;
    background: #1f4e79;
    color: white;
    padding: 18px 36px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.boton2:hover {
    background: #2c6aa3;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

.desglose {
display: flex;
justify-content: center;
align-items: stretch;
gap: 20px;
margin-top: 25px;
}

.centro {
background: #f5f7fa;
border: 1px solid #d9e2ec;
border-radius: 10px;
padding: 5px 25px;
text-align: center;
min-width: 180px;
}

.centro strong {
color: #1f4e79;
display: block;
margin-bottom: 8px;
}

.mensaje-impacto {
margin-top: 30px;
padding: 20px 25px;
background: linear-gradient(135deg, #1f4e79, #3a7bd5);
color: white;
font-size: 1.2rem;
font-weight: 600;
text-align: center;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
line-height: 1.5;
}

.mensaje-impacto {
transform: scale(1.02);
transition: 0.2s ease;
}
