article{
    width: 100%;
}

/* DESCUBRE ________________________________________________________________________________*/
#descubre{
    min-height: 300px;
    width: 100%;
    margin-top: 70px;

    color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../../Imagenes/Galeria/IMG-20250211-WA0013.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    #descubre h2{
        margin-top: 20px;
        font-size: 40px;
        text-align: center;
    }
    
    #info{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
        #descubre .section-p{
            font-size: 20px;
            margin: 20px;
            width: 45%;
            text-align: center;
        }
        #sistema {
            background-color: #f8f9fa; /* Color de fondo suave */
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 45%;
            margin: 40px auto;
        }
            #sistema h4 {
                font-size: 24px;
                color: #005d7c; /* Azul corporativo */
                text-align: center;
                margin-bottom: 20px;
                font-weight: bold;
                text-transform: uppercase;
            }
            #sistema p {
                font-size: 18px;
                color: #333;
                line-height: 1.6;
                padding: 10px;
                border-left: 4px solid #005d7c; /* Línea lateral decorativa */
                background: #ffffff;
                border-radius: 5px;
                margin-bottom: 15px;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }
            #sistema p:hover {
                transform: translateX(5px);
                box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
            }
            #sistema strong {
                color: #002244;
                font-weight: bold;
            }
    
@media (max-width: 900px) {
    #info{flex-direction: column;}
    #descubre .section-p{width: 90%;}
    #sistema {width: 80%;}
} 

    #listado-servicios{
        width: 100%;
        height: auto;
        margin-bottom: 30px;

        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
    }
        #listado-servicios div{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }
            #listado-servicios div img{
                padding: 20px;
                background-color: #005d7c;
                border-radius: 50%;
            }
            #listado-servicios div h3{
                cursor: pointer;
                text-decoration: underline;
            }
                #listado-servicios div h3 a{
                    all:unset;
                }


/* SERVICIOS ________________________________________________________________________________*/
#servicios{
    margin-top: 20px;    
}  
    .service{
        min-height: 50vh;
        
        width: 100%;
        margin-bottom: 40px;

        opacity: 0;
        transform: translateY(30px);
        transition: opacity 1.5s ease, transform 1.5s ease;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .service.visible{
        opacity: 1;
        transform: translateY(0);
    }

    .img-derecha{flex-direction: row;}
    .img-izquierda{flex-direction: row-reverse;}

        .contenido{
            width: 50%;
            padding: 20px;
            
            display: flex;
            flex-direction: column;
        }
            .contenido h2{
                margin-bottom: 20px;
                font-size: 40px;
                color: #005d7c;
            }
            .contenido p{
                text-align: justify;
                font-family: sans-serif;
                line-height: 1.6;
                font-size: 16px;
            }
            section ul {
                text-align: justify;
                margin-left: 20px;  /* Margen izquierdo */
                margin-top: 20px;   /* Margen superior */
                padding-left: 20px; /* Padding a la izquierda si es necesario */
                font-family: sans-serif;
            }
                section ul li{
                    line-height: 1.6;
                    font-size: 16px;
                }
            
        .service img{
            width: 40%;

            border: #005d7c 5px double;
            border-top-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }

@media (max-width: 900px) {
    .service{flex-direction: column;}
    .contenido{width: 90%;}
    .service img{
        height: 200px;
    }
} 

@media (max-width: 750px) {
    .service img{
        display: none;
    }
} 

