/* ═══════════════════════════════════════════════════════════════════════
   ESI Homepage — front-page.css
   Pixel-perfect Figma implementation (1920×8986 canvas).
   Reuses :root tokens from header.css (--h-accent, --h-font, --h-max, --h-pad, etc.)
   Mobile-first, responsive at 768 / 1200 / 1600.
   All sections scoped under .hp
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Homepage-specific tokens ────────────────────────────────────────── */
:root {
	--hp-blue: #4c8cf5;
	--hp-dark: #202124;
	--hp-body: #5f6368;
	--hp-areas-bg: #e8ecf0;
	--hp-card-radius: 12px;
}

/* ── Shared section label ────────────────────────────────────────────── */
.hp-section-label {
	display: flex;
	align-items: center;
	gap: 18px;
	font-family: var(--h-font);
	font-size: 28px;
	font-weight: 500;
	color: #1b4d5c;
	line-height: 1.2;
	margin-bottom: 16px;
}
.hp-section-label::before {
	content: '';
	display: block;
	width: 32px;
	height: 2px;
	background: #1b4d5c;
	opacity: 0.5;
	flex-shrink: 0;
}
@media (min-width: 1200px) {
	.hp-section-label::before {
		width: 40px;
	}
}
@media (min-width: 1200px) {
	.hp-section-label {
		font-size: 30px;
	}
}
.hp-section-label--dark {
	color: #1b4d5c;
}

/* ── Shared CTA buttons ─────────────────────────────────────────────── */
.hp-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 50px;
	padding: 14px 28px;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
	cursor: pointer;
	line-height: 1.2;
}
.hp-btn svg {
	width: 19px;
	height: 19px;
	flex-shrink: 0;
}
.hp-btn--fill {
	background: var(--h-accent);
	color: var(--h-white);
	border: 1.5px solid var(--h-accent);
}
.hp-btn--fill:hover {
	background: #e63228;
	border-color: #e63228;
	color: var(--h-white);
	box-shadow: 0 4px 16px rgba(255, 74, 52, 0.3);
	transform: translateY(-1px);
}
.hp-btn--fill:hover svg {
	transform: translateX(4px);
	transition: transform 0.25s ease;
}
.hp-btn--outline-sm {
	background: transparent;
	color: var(--h-dark);
	border: 1.5px solid var(--h-dark);
	padding: 12px 28px;
	font-size: 15px;
}
.hp-btn--outline-sm:hover {
	background: var(--h-dark);
	color: var(--h-white);
}
.hp-btn--outline-sm:hover svg {
	transform: translateX(4px);
	transition: transform 0.25s ease;
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION 1: HERO
   Full-bleed bg image, transparent header overlay, carousel
   Figma: y=0-948, full 1920px width
   ═══════════════════════════════════════════════════════════════════════ */
.hp-hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--h-white);
}
@media (min-width: 1200px) {
	.hp-hero {
		min-height: 948px;
		height: 100vh;
		max-height: 1080px;
	}
}

/* Slide backgrounds */
.hp-hero__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hp-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.hp-hero__slide--active {
	opacity: 1;
}

/* Overlays: single content-aware scrim so text is readable on any image */
.hp-hero__overlay {
	position: absolute;
	inset: 0;
	background: transparent;
	z-index: 1;
}
.hp-hero__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.52) 25%, rgba(0, 0, 0, 0.52) 70%, rgba(0, 0, 0, 0.38) 100%);
	z-index: 2;
}

/* Content */
.hp-hero__content {
	position: relative;
	z-index: 3;
	text-align: center;
	max-width: 900px;
	padding: 0 var(--h-pad);
	/* Account for transparent header sitting on top */
	padding-top: calc(var(--h-utility-h) + var(--h-nav-h) + 40px);
}
@media (max-width: 767px) {
	.hp-hero__content {
		padding-top: calc(64px + 30px); /* mobile header + spacing */
	}
}

.hp-hero__heading {
	font-family: var(--h-font);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.0;
	color: var(--h-white);
	margin: 0 0 20px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) {
	.hp-hero__heading {
		font-size: 44px;
	}
}
@media (min-width: 1200px) {
	.hp-hero__heading {
		font-size: 58px;
	}
}

.hp-hero__sub {
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--h-white);
	max-width: 863px;
	margin: 0 auto 40px;
	opacity: 0.9;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
	.hp-hero__sub {
		font-size: 18px;
	}
}
@media (min-width: 1200px) {
	.hp-hero__sub {
		font-size: 18px;
	}
}

/* Hero CTA buttons */
.hp-hero__ctas {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
}
@media (min-width: 480px) {
	.hp-hero__ctas {
		flex-direction: row;
		justify-content: center;
	}
}

.hp-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 50px;
	padding: 14px 28px;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
	line-height: 1.2;
	white-space: nowrap;
}
.hp-hero__btn svg {
	width: 19px;
	height: 19px;
	flex-shrink: 0;
}
.hp-hero__btn--ghost {
	background: rgba(31, 31, 31, 0.5);
	color: var(--h-white);
	border: 1.5px solid var(--h-white);
}
.hp-hero__btn--ghost:hover {
	background: var(--h-white);
	color: var(--h-dark);
}
.hp-hero__btn--fill {
	background: var(--h-accent);
	color: var(--h-white);
	border: 1.5px solid var(--h-accent);
}
.hp-hero__btn--fill:hover {
	background: #e63228;
	border-color: #e63228;
	color: var(--h-white);
	box-shadow: 0 4px 16px rgba(255, 74, 52, 0.3);
	transform: translateY(-1px);
}
.hp-hero__btn--fill:hover svg {
	transform: translateX(4px);
	transition: transform 0.25s ease;
}
@media (min-width: 1200px) {
	.hp-hero__btn {
		padding: 16px 32px;
		justify-content: center;
	}
}

/* Carousel controls */
.hp-hero__controls {
	position: absolute;
	bottom: 48px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 24px;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.hp-hero__arrow {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.7;
	transition: opacity var(--h-transition);
}
.hp-hero__arrow:hover {
	opacity: 1;
}
.hp-hero__arrow svg {
	width: 12px;
	height: 24px;
}

.hp-hero__dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hp-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 0;
	transition: all var(--h-transition);
}
.hp-hero__dot--active {
	width: 27px;
	height: 8px;
	border-radius: 4px;
	background: var(--h-white);
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION 2: TRUST / CREDENTIALS BAR
   Figma: y=984-1087
   ═══════════════════════════════════════════════════════════════════════ */
.hp-trust {
	padding: 40px var(--h-pad);
	background: var(--h-white);
}
@media (min-width: 1200px) {
	.hp-trust {
		padding: 48px var(--h-pad);
	}
}

.hp-trust .esi-trust-bar {
	max-width: var(--h-max);
	margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION 3: OUR EXPERTISE
   Figma: y=1217-2238, red label + text + 4 cards
   ═══════════════════════════════════════════════════════════════════════ */
.hp-expertise {
	padding: 80px var(--h-pad) 0;
	background: var(--h-white);
}
@media (min-width: 1200px) {
	.hp-expertise {
		padding: 120px var(--h-pad) 0;
	}
}

.hp-expertise__inner {
	max-width: var(--h-max);
	margin: 0 auto;
	padding: 0 0 60px;
}
@media (min-width: 1200px) {
	.hp-expertise__inner {
		padding: 0 194px 80px 0; /* right padding keeps text from spanning full width on wide screens */
	}
}

.hp-expertise__heading {
	font-family: var(--h-font);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--h-dark);
	margin: 0 0 32px;
}
@media (min-width: 768px) {
	.hp-expertise__heading {
		font-size: 44px;
	}
}
@media (min-width: 1200px) {
	.hp-expertise__heading {
		font-size: 58px;
		line-height: 60px;
		margin-bottom: 40px;
	}
}

/* Service cards */
.hp-expertise__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	max-width: 1840px;
	margin: 0 auto;
	padding: 0 var(--h-pad);
}
@media (min-width: 600px) {
	.hp-expertise__cards {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1200px) {
	.hp-expertise__cards {
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
	}
}

.hp-expertise__card {
	display: flex;
	flex-direction: column;
}

.hp-expertise__card-img-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.hp-expertise__card-img {
	position: relative;
	width: 100%;
	padding-top: 129.25%; /* 570/441 */
	background-size: cover;
	background-position: center;
	border-radius: var(--hp-card-radius);
	overflow: hidden;
}

.hp-expertise__card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	transition: background var(--h-transition);
}
.hp-expertise__card:hover .hp-expertise__card-overlay {
	background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.70) 100%);
}

.hp-expertise__card-icon {
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
@media (min-width: 1200px) {
	.hp-expertise__card-icon {
		width: 89px;
		height: 89px;
	}
}
.hp-expertise__card-icon svg {
	width: 100%;
	height: 100%;
}
.hp-expertise__card-icon .bi {
	font-size: 48px;
	color: var(--h-white);
	line-height: 1;
}
@media (min-width: 1200px) {
	.hp-expertise__card-icon .bi {
		font-size: 56px;
	}
}

.hp-expertise__card-title {
	font-family: var(--h-font);
	font-size: 22px;
	font-weight: 500;
	color: var(--h-white);
	text-align: center;
	margin: 0;
}
@media (min-width: 1200px) {
	.hp-expertise__card-title {
		font-size: 26px;
	}
}

.hp-expertise__card-desc {
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 400;
	color: var(--hp-body);
	line-height: 1.7;
	margin: 16px 0 12px;
	flex: 1 1 auto;
	min-height: 0;
}
@media (min-width: 1200px) {
	.hp-expertise__card-desc {
		font-size: 18px;
		line-height: 1.8;
	}
}

.hp-expertise__card > .hp-btn--outline-sm {
	margin-top: auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION 4: WE PROVIDE ANSWERS
   Figma: y=2365-3268, left image + right text
   ═══════════════════════════════════════════════════════════════════════ */
.hp-answers {
	padding: 80px var(--h-pad);
	background: var(--h-white);
	display: flex;
	flex-direction: column;
	gap: 40px;
}
@media (min-width: 1200px) {
	.hp-answers {
		flex-direction: row;
		gap: 0;
		padding: 120px var(--h-pad);
		max-width: 1920px;
		margin: 0 auto;
	}
}

.hp-answers__img {
	flex-shrink: 0;
}
.hp-answers__img img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--hp-card-radius);
	object-fit: cover;
}
@media (min-width: 1200px) {
	.hp-answers__img {
		width: 50%;
		max-width: 903px;
	}
	.hp-answers__img img {
		aspect-ratio: 1 / 1;
		border-radius: var(--hp-card-radius);
	}
}

.hp-answers__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.hp-answers__content > .hp-btn {
	align-self: flex-start;
}
@media (min-width: 1200px) {
	.hp-answers__content {
		padding-left: 80px;
		max-width: 650px;
	}
}
@media (min-width: 1600px) {
	.hp-answers__content {
		padding-left: 113px;
	}
}

.hp-answers__heading {
	font-family: var(--h-font);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.15;
	color: var(--h-dark);
	margin: 8px 0 24px;
}
@media (min-width: 1200px) {
	.hp-answers__heading {
		font-size: 60px;
		margin: 12px 0 28px;
	}
}

.hp-answers__body {
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--hp-body);
	margin: 0 0 28px;
	max-width: 610px;
}
@media (min-width: 1200px) {
	.hp-answers__body {
		font-size: 18px;
		line-height: 1.8;
	}
}

.hp-answers__sub {
	font-family: var(--h-font);
	font-size: 22px;
	font-weight: 500;
	color: var(--h-dark);
	margin: 40px 0 20px;
}
@media (min-width: 1200px) {
	.hp-answers__sub {
		font-size: 30px;
		margin: 56px 0 24px;
	}
}

.hp-answers__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.hp-answers__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--h-font);
	font-size: 17px;
	font-weight: 500;
	color: var(--h-dark);
}
.hp-answers__list li svg {
	width: 25px;
	height: 25px;
	flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION 5: STATS
   Figma: y=3388-3591, centered bar with dividers
   ═══════════════════════════════════════════════════════════════════════ */
.hp-stats {
	padding: 60px var(--h-pad) 80px;
	background: var(--h-white);
	text-align: center;
}
@media (min-width: 1200px) {
	.hp-stats {
		padding: 80px var(--h-pad) 120px;
	}
}

.hp-stats__tagline {
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 400;
	color: var(--h-dark);
	margin: 0 0 40px;
}
@media (min-width: 1200px) {
	.hp-stats__tagline {
		font-size: 20px;
		margin-bottom: 60px;
	}
}

.hp-stats__row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	max-width: var(--h-max);
	margin: 0 auto;
}
@media (min-width: 768px) {
	.hp-stats__row {
		flex-direction: row;
		justify-content: center;
		gap: 0;
	}
}

.hp-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 0 40px;
}
@media (min-width: 1200px) {
	.hp-stats__item {
		padding: 0 64px;
	}
}

.hp-stats__number {
	font-family: var(--h-font);
	font-size: 48px;
	font-weight: 700;
	color: var(--h-dark);
	line-height: 1;
}
@media (min-width: 1200px) {
	.hp-stats__number {
		font-size: 72px;
	}
}

.hp-stats__label {
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 400;
	color: var(--hp-body);
}
@media (min-width: 1200px) {
	.hp-stats__label {
		font-size: 20px;
	}
}

.hp-stats__divider {
	display: none;
}
@media (min-width: 768px) {
	.hp-stats__divider {
		display: block;
		width: 1px;
		height: 80px;
		background: #d0d0d0;
		flex-shrink: 0;
	}
}
@media (min-width: 1200px) {
	.hp-stats__divider {
		height: 113px;
	}
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION 6: AREAS SERVED
   Figma: y=3714-4636, light gray bg, map + regions
   ═══════════════════════════════════════════════════════════════════════ */
.hp-areas {
	background: var(--hp-areas-bg);
	padding: 80px var(--h-pad);
}
@media (min-width: 1200px) {
	.hp-areas {
		padding: 120px var(--h-pad);
	}
}

.hp-areas__inner {
	max-width: var(--h-max);
	margin: 0 auto 60px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
@media (min-width: 1200px) {
	.hp-areas__inner {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 80px;
	}
}

.hp-areas__text {
	max-width: 706px;
}

.hp-areas__heading {
	font-family: var(--h-font);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--h-dark);
	margin: 8px 0 24px;
}
@media (min-width: 1200px) {
	.hp-areas__heading {
		font-size: 58px;
		margin: 12px 0 32px;
	}
}

.hp-areas__sub {
	font-family: var(--h-font);
	font-size: 20px;
	font-weight: 400;
	color: var(--hp-body);
	margin: 0;
}
@media (min-width: 1200px) {
	.hp-areas__sub {
		font-size: 30px;
	}
}

.hp-areas__map {
	flex-shrink: 0;
}
.hp-areas__map img {
	width: 100%;
	max-width: 665px;
	height: auto;
	display: block;
}

/* Regions grid */
.hp-areas__regions {
	max-width: var(--h-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 24px;
}
@media (min-width: 1200px) {
	.hp-areas__regions {
		grid-template-columns: repeat(4, 1fr);
		gap: 0 48px;
	}
}

.hp-areas__region-title {
	font-family: var(--h-font);
	font-size: 20px;
	font-weight: 500;
	color: var(--h-accent);
	margin: 0 0 16px;
}
@media (min-width: 1200px) {
	.hp-areas__region-title {
		font-size: 24px;
		margin-bottom: 20px;
	}
}

.hp-areas__region ul {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}
.hp-areas__region li {
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 500;
	color: var(--hp-body);
	line-height: 2;
}
.hp-areas__region li a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}
.hp-areas__region li a:hover {
	color: var(--h-dark);
}
@media (min-width: 1200px) {
	.hp-areas__region li {
		font-size: 18px;
	}
}

.hp-areas__more {
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 500;
	color: var(--h-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hp-areas__more:hover {
	color: var(--h-accent);
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION 7: DISCIPLINES
   Figma: y=4776-5488, two side-by-side image blocks
   ═══════════════════════════════════════════════════════════════════════ */
.hp-disciplines {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	padding: 0 var(--h-pad);
	background: var(--h-white);
	padding-top: 80px;
	padding-bottom: 60px;
}
@media (min-width: 1200px) {
	.hp-disciplines {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		max-width: 1920px;
		margin: 0 auto;
		padding-top: 120px;
		padding-bottom: 80px;
	}
}

.hp-disciplines__block {
	position: relative;
	border-radius: var(--hp-card-radius);
	overflow: hidden;
	min-height: 420px;
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}
@media (min-width: 1200px) {
	.hp-disciplines__block {
		min-height: 600px;
	}
}

.hp-disciplines__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.6s ease;
}
.hp-disciplines__block:hover .hp-disciplines__img {
	transform: scale(1.04);
}
.hp-disciplines__img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.85) 100%);
	transition: background 0.4s ease;
}
.hp-disciplines__block:hover .hp-disciplines__img::after {
	background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.9) 100%);
}

.hp-disciplines__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	padding: 32px;
	display: flex;
	flex-direction: column;
}
@media (min-width: 1200px) {
	.hp-disciplines__content {
		padding: 48px;
	}
}

/* Label — white text with a small teal accent bar for contrast on dark images */
.hp-disciplines__label {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--h-font);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--h-white);
	margin-bottom: 12px;
}
.hp-disciplines__label::before {
	content: '';
	display: block;
	width: 28px;
	height: 2px;
	background: var(--h-accent);
	flex-shrink: 0;
}
@media (min-width: 1200px) {
	.hp-disciplines__label {
		font-size: 15px;
		margin-bottom: 16px;
	}
	.hp-disciplines__label::before {
		width: 36px;
	}
}

.hp-disciplines__text {
	font-family: var(--h-font);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--h-white);
	margin: 0 0 24px;
	max-width: 480px;
}
@media (min-width: 1200px) {
	.hp-disciplines__text {
		font-size: 28px;
		line-height: 1.35;
	}
}
@media (min-width: 1600px) {
	.hp-disciplines__text {
		font-size: 32px;
	}
}

/* CTA — styled as a subtle inline link, not a button */
.hp-disciplines__cta {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	font-family: var(--h-font);
	font-size: 15px;
	font-weight: 500;
	color: var(--h-white);
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
	padding-bottom: 4px;
	transition: border-color 0.25s ease;
}
.hp-disciplines__cta svg {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}
.hp-disciplines__block:hover .hp-disciplines__cta {
	border-color: var(--h-white);
}
.hp-disciplines__block:hover .hp-disciplines__cta svg {
	transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION 8: CASE STUDIES
   Figma: y=5618-6188, left heading + right cards
   ═══════════════════════════════════════════════════════════════════════ */
.hp-cases {
	padding: 80px var(--h-pad);
	background: var(--h-white);
	display: flex;
	flex-direction: column;
	gap: 40px;
}
@media (min-width: 1200px) {
	.hp-cases {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		max-width: 1920px;
		margin: 0 auto;
		padding: 120px var(--h-pad);
		gap: 80px;
	}
}

.hp-cases__left {
	flex-shrink: 0;
}
@media (min-width: 1200px) {
	.hp-cases__left {
		max-width: 643px;
		position: sticky;
		top: 140px;
	}
}

.hp-cases__heading {
	font-family: var(--h-font);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--h-dark);
	margin: 8px 0 0;
}
@media (min-width: 1200px) {
	.hp-cases__heading {
		font-size: 58px;
	}
}

.hp-cases__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
@media (min-width: 600px) {
	.hp-cases__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.hp-cases__card {
	position: relative;
	border-radius: var(--hp-card-radius);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-cases__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.hp-cases__card-img {
	width: 100%;
	padding-top: 129.25%; /* 570/441 */
	background-size: cover;
	background-position: center;
}

.hp-cases__card-info {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background: var(--h-white);
	border-radius: var(--hp-card-radius);
	padding: 24px;
}

.hp-cases__card-cat {
	display: inline-block;
	font-family: var(--h-font);
	font-size: 13px;
	font-weight: 500;
	color: var(--h-accent);
	margin-bottom: 8px;
}

.hp-cases__card-title {
	font-family: var(--h-font);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--h-dark);
	margin: 0 0 16px;
}
@media (min-width: 1200px) {
	.hp-cases__card-title {
		font-size: 20px;
	}
}

.hp-cases__card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--h-font);
	font-size: 15px;
	font-weight: 500;
	color: var(--h-dark);
	text-decoration: none;
}
.hp-cases__card-link:hover {
	color: var(--h-accent);
}
.hp-cases__card-link svg {
	width: 19px;
	height: 19px;
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION 9: FEATURED PROJECT / TESTIMONIAL
   Figma: y=6208-7212, full-bleed bg + dark overlay card
   ═══════════════════════════════════════════════════════════════════════ */
.hp-project {
	position: relative;
	padding: 0 var(--h-pad);
	background: var(--h-white);
}

.hp-project__bg {
	width: 100%;
	min-height: 500px;
	background-size: cover;
	background-position: center;
	border-radius: var(--hp-card-radius);
	position: relative;
}
@media (min-width: 1200px) {
	.hp-project__bg {
		max-width: 1826px;
		margin: 0 auto;
		min-height: 1004px;
	}
}

.hp-project__card {
	background: rgba(0, 0, 0, 0.80);
	color: var(--h-white);
	padding: 32px;
	border-radius: var(--hp-card-radius);
	margin: -160px var(--h-pad) 0;
	position: relative;
	z-index: 1;
}
@media (min-width: 1200px) {
	.hp-project__card {
		position: absolute;
		top: 60px;
		left: 60px;
		width: 676px;
		padding: 48px;
		margin: 0;
	}
}
@media (min-width: 1600px) {
	.hp-project__card {
		left: calc((100% - 1826px) / 2 + 60px);
	}
}

.hp-project__heading {
	font-family: var(--h-font);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--h-white);
	margin: 0 0 24px;
}
@media (min-width: 1200px) {
	.hp-project__heading {
		font-size: 32px;
		max-width: 546px;
	}
}

.hp-project__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--h-font);
	font-size: 15px;
	font-weight: 500;
	color: var(--h-white);
	text-decoration: none;
}
.hp-project__link:hover {
	color: var(--h-accent);
}
.hp-project__link svg {
	width: 19px;
	height: 19px;
}

.hp-project__rule {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	margin: 32px 0;
}

.hp-project__quote {
	margin: 0;
	padding: 0;
	border: none;
}
.hp-project__quote p {
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 24px;
	font-style: italic;
}
@media (min-width: 1200px) {
	.hp-project__quote p {
		font-size: 18px;
	}
}

.hp-project__cite {
	display: block;
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 500;
	color: var(--h-white);
	font-style: normal;
	margin-bottom: 4px;
}

.hp-project__role {
	display: block;
	font-family: var(--h-font);
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.7);
}

.hp-project__triangle {
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-top: 12px solid rgba(0, 0, 0, 0.80);
	position: absolute;
	bottom: -12px;
	right: 60px;
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION 10: INSIGHTS / BLOG
   Figma: y=7332-8065, heading + 3-col card grid
   ═══════════════════════════════════════════════════════════════════════ */
/* ── Insights section — supports both .hp-insights (homepage) and .sp-insights (service page) wrappers.
   The template part uses .esi-insights* classes internally. ── */
.hp-insights {
	padding: 80px var(--h-pad);
	background: var(--h-white);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}
@media (min-width: 1200px) {
	.hp-insights {
		padding: 100px var(--h-pad);
	}
}

/* Shared insights styles (template-part classes) */
.hp-insights .esi-insights__header,
.hp-insights__header {
	max-width: var(--h-max);
	margin: 0 auto 48px;
}
@media (min-width: 1200px) {
	.hp-insights .esi-insights__header,
	.hp-insights__header {
		margin-bottom: 64px;
	}
}

.hp-insights .esi-insights__heading,
.hp-insights__heading {
	font-family: var(--h-font);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--h-dark);
	margin: 8px 0 0;
	max-width: 644px;
}
@media (min-width: 1200px) {
	.hp-insights .esi-insights__heading,
	.hp-insights__heading {
		font-size: 58px;
	}
}

/* Card grid: 2 small left stacked, 1 large right */
.hp-insights .esi-insights__grid,
.hp-insights__grid {
	max-width: 1840px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
@media (min-width: 768px) {
	.hp-insights .esi-insights__grid,
	.hp-insights__grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto auto;
	}
	.hp-insights .esi-insights__card--lg,
	.hp-insights__card--lg {
		grid-column: 2;
		grid-row: 1 / 3;
	}
}
@media (min-width: 1200px) {
	.hp-insights .esi-insights__grid,
	.hp-insights__grid {
		/* Two small cards left column (~442px each), one large right (~901px) */
		grid-template-columns: 442fr 442fr 901fr;
		grid-template-rows: auto;
	}
	.hp-insights .esi-insights__card--sm:nth-child(1),
	.hp-insights__card--sm:nth-child(1) {
		grid-column: 1 / 2;
		grid-row: 1;
	}
	.hp-insights .esi-insights__card--sm:nth-child(2),
	.hp-insights__card--sm:nth-child(2) {
		grid-column: 2 / 3;
		grid-row: 1;
	}
	.hp-insights .esi-insights__card--lg,
	.hp-insights__card--lg {
		grid-column: 3;
		grid-row: 1;
	}
}

.hp-insights .esi-insights__card,
.hp-insights__card {
	border-radius: var(--hp-card-radius);
	overflow: hidden;
	background: #f8f9fa;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-insights .esi-insights__card:hover,
.hp-insights__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.hp-insights .esi-insights__card a,
.hp-insights__card a {
	text-decoration: none;
	color: inherit;
}
.hp-insights .esi-insights__card-link,
.hp-insights__card-link {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hp-insights .esi-insights__card-img,
.hp-insights__card-img {
	width: 100%;
	padding-top: 67.6%; /* 299/442 */
	background-color: #e8eaed; /* fallback for posts with no featured image */
	background-size: cover;
	background-position: center;
}
.hp-insights .esi-insights__card--lg .esi-insights__card-img,
.hp-insights__card--lg .hp-insights__card-img {
	padding-top: 67%; /* 603/901 */
}

.hp-insights .esi-insights__card-meta,
.hp-insights__card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 20px 8px;
}

.hp-insights .esi-insights__tag,
.hp-insights__tag {
	display: inline-block;
	background: #1b4d5c;
	color: var(--h-white);
	font-family: var(--h-font);
	font-size: 12px;
	font-weight: 500;
	padding: 4px 12px;
	border-radius: 50px;
	line-height: 1.3;
}

.hp-insights .esi-insights__date,
.hp-insights__date {
	font-family: var(--h-font);
	font-size: 14px;
	font-weight: 400;
	color: var(--hp-body);
}

.hp-insights .esi-insights__card-title,
.hp-insights__card-title {
	font-family: var(--h-font);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--h-dark);
	padding: 0 20px 24px;
	margin: 0;
}
@media (min-width: 1200px) {
	.hp-insights .esi-insights__card--lg .esi-insights__card-title,
	.hp-insights__card--lg .hp-insights__card-title {
		font-size: 22px;
	}
}


/* ═══════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   Disable all animations/transitions when user prefers reduced motion.
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	.hp-hero__slide,
	.hp-hero__dot,
	.hp-hero__arrow,
	.hp-btn,
	.hp-btn--fill,
	.hp-btn svg,
	.hp-hero__btn,
	.hp-hero__btn--fill,
	.hp-hero__btn svg,
	.hp-expertise__card-overlay,
	.hp-cases__card,
	.hp-insights .esi-insights__card,
	.hp-insights__card,
	.hp-cases__card-link,
	.hp-project__link,
	.hp-areas__more,
	.hp-btn--outline-sm,
	.hp-disciplines__img,
	.hp-disciplines__img::after,
	.hp-disciplines__cta,
	.hp-disciplines__cta svg {
		transition: none !important;
		animation: none !important;
	}
	.hp-btn--fill:hover,
	.hp-hero__btn--fill:hover,
	.hp-cases__card:hover,
	.hp-insights .esi-insights__card:hover,
	.hp-insights__card:hover,
	.hp-disciplines__block:hover .hp-disciplines__img {
		transform: none !important;
	}
	.hp-btn--fill:hover svg,
	.hp-hero__btn--fill:hover svg,
	.hp-disciplines__block:hover .hp-disciplines__cta svg {
		transform: none !important;
	}
}
