A continuum model for thin-film condensation