U.S. markets hit record highs as the S&P 500 topped 7,700, fueled by strong corporate earnings and easing geopolitical tensions.