.compromiso {
    background: linear-gradient(to right, #F2F2F2, #F2F2F2); /* Un ligero degradado al fondo */
    padding-top: 80px 20px;  
    display: flex;
    align-items: center;
    min-height: 500px;
    overflow: hidden;
}

.compromiso-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.compromiso-content {
    flex: 1;
}

.compromiso-content h1 span {
    font-weight: 500;
    font-size: 2.5rem;
    color: #1a4a8d; /* Azul más oscuro para resaltar */
    display: block;
    text-align: justify;
}

.compromiso-content p {
    padding: auto;
    font-size: 1.3rem;
    font-weight: 100;
    color: #1c4691;
    margin-bottom: 30px;
    text-align: justify;
}

.compromiso-image {
    flex: 1;
    padding: auto;
    text-align: right;
}

.compromiso-image img {
    max-width: 100%;
    border-radius: 40px;
    mix-blend-mode: multiply; 
}

.responsabilidad {
    background: linear-gradient(to right, #F2F2F2, #F2F2F2); /* Un ligero degradado al fondo */
    padding: 80px 0; 
    display: flex;
    align-items: end;
    min-height: 500px;
    overflow: hidden;
}

.responsabilidad-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 60px; 
    padding: 0 20px;
}
.responsabilidad-content {
    flex: 1;
}

.responsabilidad-content h1 span {
    font-weight: 500;
    font-size: 2.5rem;
    color: #1a4a8d;
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-align: center;
}

.responsabilidad-content p {
    font-size: 1.3rem;
    font-weight: 100;
    line-height: 1.6;
    color: #1a4a8d; /* Azul para mantener la armonía de la maqueta */
    margin-bottom: 20px;
    text-align: justify;
}

.responsabilidad-image {
    flex: 1;
}

.responsabilidad-image img {
    max-width: 100%;

    mix-blend-mode: multiply; 
}

.impacto {
    background: linear-gradient(to right, #F2F2F2, #F2F2F2); /* Un ligero degradado al fondo */
    padding-top: 80px 20px;  
    display: flex;
    align-items: center;
    min-height: 500px;
    overflow: hidden;
}

.impacto-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.impacto-content {
    flex: 1;
}

.impacto-content h1 span {
    font-weight: 500;
    font-size: 2.5rem;
    color: #1a4a8d; /* Azul más oscuro para resaltar */
    display: block;
    text-align: justify;
}

.impacto-content p {
    padding: auto;
    font-size: 1.3rem;
    font-weight: 100;
    color: #1c4691;
    margin-bottom: 30px;
    text-align: justify;
}

.impacto-image {
    flex: 1;
    padding: auto;
    text-align: right;
}

.impacto-image img {
    max-width: 100%;
    border-radius: 40px;
    mix-blend-mode: multiply; 
}

.hacemos {
    padding: 80px 40px;
    background-color: #F2F2F2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hacemos-content {
    max-width: 700px;
    margin: 0 auto;
}

.hacemos-content h1 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    color: #1c4691;
    margin: 20px;
    line-height: 1.2;
}

.hacemos-content h1 strong{
    font-size: 3rem;
    font-weight: 1000;
    text-align: center;
    color: #051f53;
    margin: 20px;
    line-height: 1.2;
}

.hacemos-content p{
    padding: 20px;
    font-size: 1rem;
    content: none;
    margin: 12px;
    text-align: center;
    color: #1a4a8d;
}

/* Contenedor que alinea las 3 cards */
.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    padding: 40px 0;
}

/* La tarjeta individual */
.card-hacemos {
    background: linear-gradient(135deg, #051f53, #1c4691);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card-hacemos:hover {
    transform: translateY(-8px);
}

/* Ajuste de la imagen superior */
.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block; /* Evita que la imagen se deforme */
}

/* Espaciado del texto interno */
.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.card-body p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: justify;
}

/* Línea y texto de "Leer más" */
.card-footer {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 200;
    cursor: pointer;
}
