/* Paleta de Colores:
   Azul Oscuro Principal: #0D47A1 (Inteligencia, Calma)
   Naranja Brillante/Acento: #FF9800 (Alerta, Energía)
   Fondo Claro: #F5F5F5
   Texto Oscuro: #333333
*/

/* --- REINICIO Y TIPOGRAFÍA --- */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F5F5F5;
    color: #333333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: #0D47A1;
    text-align: center;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 0.5em;
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(13, 71, 161, 0), rgba(13, 71, 161, 0.75), rgba(13, 71, 161, 0));
    margin: 3em 0;
}

/* --- CABECERA (HERO) --- */
.hero {
    background-color: #0D47A1;
    color: white;
    padding: 4em 1em;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5em;
}

.logo-icon {
    font-size: 3em;
    color: #FF9800; /* Acento naranja */
    margin-right: 10px;
    animation: pulse 2s infinite; /* Simula alerta/activación */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero h1 {
    color: white;
    font-size: 3.5em;
    margin: 0;
}

.slogan {
    font-size: 1.2em;
    font-style: italic;
    margin: 0.5em 0 1.5em;
}

.cta-button {
    display: inline-block;
    background-color: #FF9800;
    color: #0D47A1;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #FFA726;
}

/* --- SECCIONES GENERALES --- */
section {
    padding: 3em 5%;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- PILARES --- */
.section-pilares {
    background-color: white;
}

.pilares-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 2em;
}

.pilar-card {
    flex-basis: 30%;
    padding: 20px;
    border: 2px solid #0D47A1;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pilar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.2);
}

.pilar-card h3 {
    color: #FF9800;
    font-size: 1.5em;
    margin-top: 0;
}

/* --- FUNCIONALIDADES --- */
.feature-box {
    display: flex;
    align-items: center;
    margin-bottom: 2.5em;
    padding: 20px;
    border-radius: 8px;
    background-color: #E3F2FD; /* Fondo azul claro para contraste */
}

.feature-box .feature-text {
    flex-basis: 60%;
    padding-right: 30px;
}

.feature-box h3 {
    text-align: left;
    color: #0D47A1;
    border-bottom: 2px solid #FF9800;
    padding-bottom: 5px;
    margin-top: 0;
}

.feature-box ul {
    list-style-type: '👉 ';
    padding-left: 20px;
}

/* Estilo para la imagen (simulada por el tag) */
.feature-box [class^="Image of"] {
    flex-basis: 40%;
    background-color: #B3E5FC;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0D47A1;
    font-style: italic;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
}

/* --- REPORTE Y VALIDACIÓN --- */
.reporte-ejemplo {
    background-color: white;
    border: 1px solid #FF9800;
    padding: 20px;
    border-radius: 8px;
    margin: 1.5em 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reporte-ejemplo strong {
    color: #0D47A1;
}

.validacion-nota {
    font-size: 1.1em;
    font-weight: bold;
    color: #388E3C; /* Verde para validez */
    text-align: center;
    margin-top: 2em;
    border-top: 1px solid #CFD8DC;
    padding-top: 1em;
}

/* --- PIE DE PÁGINA --- */
footer {
    background-color: #333333;
    color: white;
    text-align: center;
    padding: 1.5em 0;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* --- RESPONSIVIDAD BÁSICA (Bajo Costo/Neocities) --- */
@media (max-width: 768px) {
    .pilares-grid {
        flex-direction: column;
    }
    
    .pilar-card {
        flex-basis: 100%;
        margin-bottom: 15px;
    }

    .feature-box {
        flex-direction: column;
    }

    .feature-box .feature-text {
        padding-right: 0;
        padding-bottom: 20px;
        order: 2; /* Texto después de la imagen */
    }

    .feature-box [class^="Image of"] {
        order: 1; /* Imagen primero */
        width: 100%;
        margin-bottom: 15px;
    }
}