/* ==========================================================================
   Cuadricula de servicios (shortcode: scc_services_grid)
   Mismo lenguaje visual que las tarjetas de Materiales: franja azul con
   el titulo arriba, imagen en medio, boton abajo en fondo blanco.
   ========================================================================== */

.scc-services-grid-wrap {
	--navy: #031b4e;
	--blue: #3368c6;
	--grey-bg: #f6faff;
	--grey-text: #6d7889;
	max-width: 1400px;
	margin: 0 auto;
	padding: 36px 40px;
	font-family: inherit;
}
.scc-services-grid-wrap *,
.scc-services-grid-wrap *::before,
.scc-services-grid-wrap *::after { box-sizing: border-box; }
.scc-services-grid-wrap img { max-width: 100%; display: block; }

.scc-services-grid-heading {
	font-size: 42px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .3px;
	color: var(--navy);
	text-align: center;
	margin: 0 0 40px;
	font-family: 'Roboto Condensed', sans-serif;
}

.scc-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	align-items: stretch;
}

.scc-services-grid-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 10px 26px rgba(3,27,78,.09);
	transition: transform .2s ease, box-shadow .2s ease;
}
.scc-services-grid-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(3,27,78,.16);
}

.scc-services-grid-title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	background: var(--blue);
	color: #fff;
	text-align: center;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .2px;
	padding: 12px 18px;
}
.scc-services-grid-title-text {
	display: block;
	width: 100%;
}
.scc-services-grid-title strong { font-weight: 700; }

.scc-services-grid-title.scc-services-grid-title-sm {
	font-size: 15px;
	line-height: 1.28;
	letter-spacing: 0;
}

.scc-services-grid-image {
	height: 210px;
	background: var(--grey-bg);
	overflow: hidden;
}
.scc-services-grid-image img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
}

.scc-services-grid-body {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 22px;
	background: #e4e9ef;
}

.scc-services-grid-cta {
	display: inline-block;
	background: var(--blue);
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
	padding: 14px 30px;
	transition: background .25s ease, color .25s ease;
}
.scc-services-grid-cta:hover {
	background: #fff;
	color: var(--blue);
}

@media (max-width: 1020px) {
	.scc-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.scc-services-grid-wrap { padding: 26px 22px; }
	.scc-services-grid-heading { font-size: 26px; margin-bottom: 26px; }
	.scc-services-grid { grid-template-columns: 1fr; }
}
