.ab-services-wrap {
	--ab-red: #d10d14;
	--ab-black: #111319;
	--ab-soft: #fff1f1;
	font-family: 'Inter', Arial, sans-serif;
	color: var(--ab-black);
	padding: 70px 0
}

.ab-services-wrap * {
	box-sizing: border-box
}

/* Background style variants */
.ab-services-wrap.ab-bg-white {
	background: #fff
}

.ab-services-wrap.ab-bg-grey {
	background: #f5f6f8
}

.ab-services-wrap.ab-bg-gradient {
	background: linear-gradient(135deg, var(--ab-red) 0%, var(--ab-black) 65%)
}

.ab-services-wrap.ab-bg-dark {
	background: var(--ab-black)
}

.ab-services-wrap.ab-bg-gradient .ab-services-eyebrow,
.ab-services-wrap.ab-bg-dark .ab-services-eyebrow {
	color: #ff9d9d !important
}

.ab-services-wrap.ab-bg-gradient .ab-services-title,
.ab-services-wrap.ab-bg-dark .ab-services-title {
	color: #fff !important
}

.ab-services-wrap.ab-bg-gradient .ab-services-title span,
.ab-services-wrap.ab-bg-dark .ab-services-title span {
	color: #ff9d9d !important
}

.ab-services-wrap.ab-bg-gradient .ab-services-sub,
.ab-services-wrap.ab-bg-dark .ab-services-sub {
	color: #d8d8dc !important
}

.ab-services-wrap.ab-bg-gradient .ab-service-card,
.ab-services-wrap.ab-bg-dark .ab-service-card {
	background: #1b1d24;
	box-shadow: 0 2px 14px #00000040
}

.ab-services-wrap.ab-bg-gradient .ab-service-body h3,
.ab-services-wrap.ab-bg-dark .ab-service-body h3 {
	color: #fff !important
}

.ab-services-wrap.ab-bg-gradient .ab-service-body p,
.ab-services-wrap.ab-bg-dark .ab-service-body p {
	color: #9a9ba1 !important
}

.ab-services-wrap a,
.ab-services-wrap a:hover,
.ab-services-wrap a:focus,
.ab-services-wrap a:visited {
	text-decoration: none !important;
	box-shadow: none !important
}

.ab-services-wrap .ab-container {
	width: min(1440px, calc(100% - 76px));
	margin: auto
}

.ab-services-head {
	max-width: 720px;
	margin: 0 auto 42px;
	text-align: center
}

.ab-services-eyebrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ab-red) !important
}

.ab-services-eyebrow:after {
	content: "";
	width: 1px;
	height: 14px;
	background: var(--ab-red);
	opacity: .5
}

.ab-services-title {
	margin: 0 0 14px;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.25;
	color: #111 !important
}

.ab-services-title span {
	color: var(--ab-red) !important
}

.ab-services-sub {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.7;
	color: #666 !important
}

.ab-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px
}

.ab-services-grid.ab-services-cols-2 {
	grid-template-columns: repeat(2, 1fr)
}

.ab-services-grid.ab-services-cols-4 {
	grid-template-columns: repeat(4, 1fr)
}

.ab-service-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 14px #00000012;
	transition: transform .25s ease, box-shadow .25s ease
}

.ab-service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 30px #00000018
}

.ab-service-media {
	position: relative
}

.ab-service-media-inner {
	aspect-ratio: 5 / 3;
	background: var(--ab-soft);
	overflow: hidden
}

.ab-service-media img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform .35s ease
}

.ab-service-card:hover .ab-service-media img {
	transform: scale(1.06)
}

.ab-service-placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #fff1f1, #ffe1e1);
	color: var(--ab-red) !important;
	font-size: 46px
}

.ab-service-badge {
	position: absolute;
	left: 18px;
	bottom: -22px;
	z-index: 2;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ab-black);
	display: grid;
	place-items: center;
	color: var(--ab-red) !important;
	font-size: 20px;
	box-shadow: 0 6px 14px #00000030;
	border: 4px solid #fff
}

.ab-service-body {
	padding: 36px 22px 22px
}

.ab-service-body h3 {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 800;
	color: #111 !important
}

.ab-service-body p {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.6;
	color: #777 !important
}

.ab-service-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ab-red) !important;
	transition: gap .2s ease
}

.ab-service-link i {
	font-size: 12px;
	transition: transform .2s ease
}

.ab-service-link:hover {
	gap: 12px
}

.ab-service-link:hover i {
	transform: translateX(2px)
}

@media(max-width:1200px) {
	.ab-services-wrap .ab-container {
		width: calc(100% - 36px)
	}

	.ab-services-title {
		font-size: 32px
	}
}

@media(max-width:900px) {
	.ab-services-wrap {
		padding: 46px 0
	}

	.ab-services-grid,
	.ab-services-grid.ab-services-cols-2,
	.ab-services-grid.ab-services-cols-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px
	}

	.ab-services-title {
		font-size: 26px
	}

	.ab-services-sub {
		font-size: 14px
	}

	.ab-service-badge {
		width: 44px;
		height: 44px;
		font-size: 16px;
		left: 14px;
		bottom: -18px;
		border-width: 3px
	}

	.ab-service-body {
		padding: 28px 16px 18px
	}

	.ab-service-body h3 {
		font-size: 16px
	}

	.ab-service-body p {
		font-size: 13px
	}
}

@media(max-width:600px) {

	.ab-services-grid,
	.ab-services-grid.ab-services-cols-2,
	.ab-services-grid.ab-services-cols-3,
	.ab-services-grid.ab-services-cols-4 {
		grid-template-columns: 1fr
	}
}
