You probably won't like this suggestion, but you need more than 2 nights in Capri and you are shorting yourself by just doing 3 nights in Amalfi.
I would do 3 nights at ISP and 2 nights in Ravello (either Caruso or Avino, but I personally always go with Avino for their beach club)
Perfect reco, strong thumbs up to it.
Not just that 5 nights is pretty insufficient to absorb both Capri and the Amalfi coast environs, but also.that splitting 3/2 (either way) between Ravello (Caruso or Avino) and ISP sounds like an A+ itinerary.