Where are you getting 318?
316 and 304 (A more common blend to find with marine stainless) will not cause big problems any time soon....BUT the area of 316 in contact with and a little beyond the 304 will corrode at the same rate as the 304.
So the simple way of looking at it is; 316 is much more expensive then 304 for its added corrossion and streak resistent properties....Bringing the 316 into contact with 304 parts negates those advantages and means that you might as well have used 304 all round.
Another thing to consider is that surface area corrossion is a way more serious factor then the two metals not being identical. This means that getting a buffing
wheel or two and taking the surface (whether 304 or 316) to a high "superyacht" finish will actually go a huge way towards imrpving stain and corrossion resistence. Cheaper stainless tends to be amatt finish, whihc is another way of saying billions of fine scratches all over the surface, ready to trap moisture and impurities (mostly salts) and have them discolour the surface of the metal.
Some points ot consider when buying stainless.
high polish 304 may be more suitable to your needs then semi or matt finish 316...
It takes some thinking!
Sasha