We have often been asked to clean water marks from water coolers that have broken and flooded typical commercial grade synthetic glued carpet, and often times it has been impossible to remove what looks like an easy to clean mark,
After some investigation it seems that it is the glue that as been brought to the surface with the flood and then dried out again on the surface.
This could be the case and if it is its a lot harder to deal with than what first impressions suggest.
We have often bonneted the carpet with a solvent then cleaned in the normal way, but obviously you have to be careful using solvent on glued down carpets / tiles etc
Of course it could just be stubborn dirt

Regards
Steve