/**
 * Service Areas Block Styles
 * This CSS file is automatically loaded only when the service-areas block is present on the page.
 */

.service-areas {
	padding: 80px 0;
	text-align: center;
}

.service-areas__title {
	font-family: var(--font-heading);
	font-size: 48px;
	font-weight: 400;
	color: var(--primary-red);
	margin: 0 0 24px;
}

.service-areas__content {
	font-family: var(--font-content);
	font-size: 16px;
	font-weight: 400;
	color: var(--primary-black);
	max-width: 1077px;
	margin: 0 auto 40px;
}

.service-areas__content p {
	margin: 0 0 12px;
}

.service-areas__content p:last-child {
	margin-bottom: 0;
}

/* Map Container */
.service-areas__map {
	position: relative;
	width: 100%;
	max-width: 1113px;
	margin: 0 auto 40px;
}

.service-areas__map-svg {
	width: 100%;
	height: auto;
	display: block;
}

/* Iframe del mapa dentro de foreignObject */
.service-areas__map-frame {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.service-areas__map-frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	pointer-events: none;
}

/* Cities Grid */
.service-areas__cities {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px 40px;
	margin-bottom: 40px;
	text-align: left;
}

.service-areas__city {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	transition: color 0.3s ease;
}



.service-areas__city:hover span {
	color: var(--primary-red);
}

.service-areas__city-icon {
	width: 52px;
	height: auto;
	flex-shrink: 0;
}

.service-areas__city span {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 400;
	color: var(--primary-black);
	transition: color 0.3s ease;
}

/* CTA */
.service-areas__cta {
	margin-top: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
	.service-areas__cities {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 992px) {
	.service-areas {
		padding: 60px 0;
	}

	.service-areas__title {
		font-size: 36px;
	}

	.service-areas__cities {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.service-areas .container {
		display: flex;
		flex-direction: column;
	}

	.service-areas__title {
		font-size: 32px;
		order: 1;
	}

	.service-areas__content {
		font-size: 16px;
		order: 2;
	}

	.service-areas__cities {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 24px;
		order: 3;
	}

	.service-areas__map {
		order: 4;
	}

	.service-areas__cta {
		order: 5;
	}

	.service-areas__city-icon {
		width: 28px;
	}

	.service-areas__city span {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.service-areas {
		padding: 40px 0;
	}

	.service-areas__title {
		font-size: 28px;
	}
}
