She was closer with the Zabini family because she was present at their shotgun wedding as they married to stop her parents from giving her away to a man three times her age. The wedding took place in a Muggle cathedral, which they totally did not trespass into, making Hermione's eyes turn as wide as saucers when she realized.