As a country surrounded by water on three sides, it’s unsurprising that the best beaches in Spain encompass a delightful range. The famed rocky Mediterranean calas, or coves, of the Balearic Islands bear little resemblance to the wide sandy swaths of Andalusia or the fine volcanic-sand beaches of the Canary Islands. While the country has no shortage of glitzy beach clubs with the accessible amenities to match, many of the best beaches in Spain are the ones that demand effort to get to. Perhaps they’re remote, on the less crowded edge of an island, or require a substantial trek from the parking lot, but the best beaches in Spain merecen la pena. They’re worth it. To visit many of Spain’s best beaches across its nearly 5,000 miles of coastline, a rental car is your best bet, although some listed below are just steps from the center of town.…