Rule reminder
Match your greeting to the time of day and your relationship with the person: morning → Buongiorno, evening → Buonasera, informal → Ciao, formal/neutral → Salve or the appropriate time-based greeting.
You meet your Italian neighbor at 7 a.m. while getting your mail. What do you say?