/* Section: services — template-parts/sections/services.php */

.services__title {
	margin-inline-start: 60px;
	margin-bottom: 80px;
}

.services__list {
	display: grid;
	gap: var(--wp--preset--spacing--50);
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

@media (min-width: 782px) {
	.services__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0;
	}

	.services__item {
		padding-inline: 24px;
	}
}

.services__item-title {
	margin: 0 0 20px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary-dark);
}

.services__item-text {
	margin: 0;
	color: var(--wp--preset--color--primary-dark);
}

.services__animation {
	width: 266px;
	height: 266px;
	margin: 74px auto 0;
}

@media (max-width: 781.98px) {
	.services__title {
		margin-inline-start: 0;
	}
}

/* Vertical position matched to the original design (desktop). */
@media (min-width: 782px) {
	.services {
		padding-top: 84px;
	}
}

/* Phones — measured against timsteel.pt at 375px. */
@media (max-width: 781.98px) {
	.services__title {
		margin-bottom: 44px;
	}

	.services__list {
		gap: 37px;
	}

	.services__item-title {
		font-size: 16px;
		font-weight: 600;
		line-height: 16px;
	}

	.services__animation {
		margin-top: 74px;
	}
}
