/* ==========================================================
   BFMS - Services page
   ========================================================== */

/* ---------- Hero ---------- */
.hero-inner {
	height: 442px;
	display: flex;
	align-items: flex-end;
	padding-bottom: 60px;
}

.hero-inner .hero-dots {
	top: 190px;
}

/* ---------- Service offerings intro ---------- */
.offerings-section {
	padding: 92px 0 90px;
}

.offerings-grid {
	display: grid;
	grid-template-columns: 741px 1fr;
	align-items: center;
	gap: 45px;
	padding-left: 6px;
}

.offerings-image img {
	width: 100%;
	height: 475px;
	object-fit: cover;
}

.offerings-text h2 {
	font-size: 36px;
	font-weight: 400;
	color: var(--black);
	margin-bottom: 26px;
}

.offerings-text p {
	font-size: 24px;
	line-height: 30px;
	color: #666;
}

/* ---------- Services grid ---------- */
.services-list-section {
	padding: 96px 0 90px;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.services-list-section .section-title {
	margin-bottom: 60px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 38px;
	max-width: 1082px;
	margin: 0 auto;
}

.service-card {
	position: relative;
	height: 360px;
	overflow: hidden;
	background: var(--dark);
}

.service-card > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease, filter .4s ease;
}

.service-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .95) 100%);
}

.service-card:hover > img {
	transform: scale(1.06);
	filter: blur(3px) brightness(.75);
}

.service-card-body {
	position: absolute;
	left: 30px;
	right: 30px;
	bottom: 28px;
	z-index: 2;
}

.service-card-body h3 {
	color: var(--white);
	font-size: 24px;
	font-weight: 500;
	padding-bottom: 18px;
}

.service-card-body h3 em {
	font-style: normal;
	color: var(--orange);
}

.service-card-body p {
	color: #d5d5d5;
	font-size: 13px;
	line-height: 1.35;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .4s ease, opacity .4s ease, margin .4s ease;
}

.service-card:hover .service-card-body p {
	max-height: 60px;
	opacity: 1;
	margin-bottom: 18px;
}

.service-card-body .btn-pill {
	position: relative;
	margin-top: 18px;
}

.service-card-body .btn-pill::before {
	content: '';
	position: absolute;
	left: -1px;
	right: -1px;
	top: -19px;
	height: 1px;
	background: rgba(255, 255, 255, .6);
}

/* ---------- Built around your workplace ---------- */
.workplace-section {
	background: var(--cream);
	padding: 90px 0;
}

.workplace-box {
	display: grid;
	grid-template-columns: 569px 1fr;
	max-width: 990px;
	margin: 0 auto;
	background: var(--dark);
}

.workplace-image img {
	width: 100%;
	height: 100%;
	min-height: 448px;
	object-fit: cover;
}

.workplace-content {
	padding: 50px 48px 48px;
}

.workplace-content h2 {
	color: var(--white);
	font-size: 36px;
	font-weight: 400;
	line-height: 45px;
	margin-bottom: 14px;
}

.workplace-content p {
	color: #a5a5a5;
	font-size: 16px;
	line-height: 21px;
	margin-bottom: 26px;
}

.workplace-content li {
	position: relative;
	color: var(--white);
	font-size: 13px;
	padding: 9px 0 9px 15px;
	border-bottom: 1px solid #2c2c2c;
}

.workplace-content li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: url('../images/icons/star-orange.svg') no-repeat center / contain;
}

/* ---------- Features ---------- */
.features-section {
	padding: 96px 0 90px;
}

.features-section .section-title {
	line-height: 68px;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.feature-item {
	min-height: 169px;
	padding: 72px 74px 40px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	transition: background .3s ease;
}

.feature-item:hover {
	background: var(--cream);
}

.feature-item h4 {
	font-size: 15px;
	font-weight: 500;
	color: var(--black);
	margin-bottom: 10px;
}

.feature-item p {
	font-size: 11px;
	color: var(--text);
}

/* ---------- CTA band ---------- */
.cta-band {
	background: var(--orange-cta);
	padding: 30.5px 0;
}

.cta-band .container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
}

.cta-band h2 {
	color: var(--white);
	font-size: 30.5px;
	font-weight: 500;
}

.cta-band .btn-pill {
	font-size: 18px;
	font-weight: 300;
}
