/**
 * Front page hero section styles.
 *
 * @package Hima_Construction
 */

.hero {
	width: 100%;
	padding: 0 1.5rem 1.5rem;
	background-color: #ffffff;
	color: #0a0a0a;
	border-radius: 0;
}

.hero__frame {
	position: relative;
	width: 100%;
	min-height: calc(100vh - 7rem);
	overflow: hidden;
	background-color: #ececec;
	border-radius: 0;
}

.hero__background {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #e4e4e4;
	background-image: linear-gradient(155deg, #f2f2f2 0%, #d8d8d8 48%, #c6c6c6 100%);
	background-size: cover;
	background-position: center;
	border-radius: 0;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	width: 100%;
	min-height: calc(100vh - 7rem);
	padding: 4.5rem 4rem 2.25rem;
	border-radius: 0;
}

.hero__markers {
	position: absolute;
	top: 48%;
	left: 4rem;
	right: 4rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	pointer-events: none;
	transform: translateY(-50%);
}

.hero__marker {
	justify-self: start;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	color: #0a0a0a;
	opacity: 0.4;
}

.hero__marker:nth-child(1) {
	justify-self: start;
}

.hero__marker:nth-child(2) {
	justify-self: center;
}

.hero__marker:nth-child(3) {
	justify-self: center;
}

.hero__marker:nth-child(4) {
	justify-self: end;
}

.hero__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(12rem, 15rem);
	column-gap: 4rem;
	align-items: start;
	width: 100%;
}

.hero__branding {
	min-width: 0;
	padding-top: 0.35rem;
}

.hero__title {
	margin: 0;
	padding: 0;
	font-family: "Inter Placeholder", sans-serif;
	font-weight: 700;
	line-height: 0.86;
	letter-spacing: -0.045em;
	color: #0a0a0a;
	border-radius: 0;
}

.hero__title-main {
	display: block;
	font-size: 144px;
	font-weight: 700;
	line-height: 0.86;
	color: #0a0a0a;
}

.hero__title-sub {
	display: block;
	margin-top: 0.08em;
	padding-left: 5.5rem;
	font-size: 68px;
	font-weight: 700;
	line-height: 0.92;
	color: #0a0a0a;
}

.hero__services {
	margin: 0.85rem 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.hero__service {
	margin: 0 0 0.85rem;
	padding: 0;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
	color: #0a0a0a;
}

.hero__service:last-child {
	margin-bottom: 0;
}

.hero__bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 3rem;
	width: 100%;
	margin-top: auto;
	padding-top: 8rem;
	padding-bottom: 0.5rem;
}

.hero__subtext {
	flex: 0 1 22rem;
	margin: 0;
	padding: 0 0 0.35rem;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #0a0a0a;
	max-width: 22rem;
}

.hero__card {
	display: flex;
	align-items: stretch;
	flex: 0 0 auto;
	width: 17.5rem;
	background-color: #ffffff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
	border-radius: 0;
	overflow: hidden;
}

.hero__card-media {
	flex: 0 0 5.75rem;
	width: 5.75rem;
	min-height: 8.75rem;
	overflow: hidden;
	background-color: #c8c8c8;
	background-image: linear-gradient(180deg, #d4d4d4 0%, #b0b0b0 100%);
	border-radius: 0;
}

.hero__card-media-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 43% center;
	border-radius: 0;
}

.hero__card-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.2rem;
	padding: 0.9rem 0.95rem 1rem;
	border-radius: 0;
}

.hero__card-role {
	margin: 0;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.3;
	color: #0a0a0a;
	opacity: 0.62;
}

.hero__card-name {
	margin: 0 0 0.65rem;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	color: #0a0a0a;
}

.hero__card-cta {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	align-self: flex-start;
	min-width: 7.5rem;
	padding: 0.5rem 0.55rem 0.5rem 0.85rem;
	background-color: #0a0a0a;
	color: #ffffff;
	text-decoration: none;
	border-radius: 0;
}

.hero__card-cta-label {
	font-family: "Inter Placeholder", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	color: #ffffff;
}

.hero__card-cta-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	background-color: #ffffff;
	border-radius: 0;
}

.hero__copyright {
	margin: 1.75rem 0 0;
	padding: 0;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	color: #0a0a0a;
	text-align: center;
	opacity: 0.7;
}

@media (max-width: 1200px) {
	.hero__title-main {
		font-size: 120px;
	}

	.hero__title-sub {
		font-size: 56px;
		padding-left: 3.5rem;
	}
}

@media (max-width: 1100px) {
	.hero__inner {
		padding: 3.5rem 2.5rem 2rem;
	}

	.hero__markers {
		left: 2.5rem;
		right: 2.5rem;
	}

	.hero__title-main {
		font-size: 96px;
	}

	.hero__title-sub {
		font-size: 48px;
		padding-left: 2.5rem;
	}

	.hero__top {
		grid-template-columns: minmax(0, 1fr) minmax(11rem, 13rem);
		column-gap: 2rem;
	}

	.hero__bottom {
		padding-top: 5rem;
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 0 1rem 1rem;
	}


	.hero__inner {
		padding: 2.25rem 1.5rem 1.5rem;
	}

	.hero__top {
		grid-template-columns: 1fr;
		row-gap: 2rem;
	}

	.hero__title-main {
		font-size: 64px;
	}

	.hero__title-sub {
		font-size: 36px;
		padding-left: 1.25rem;
	}

	.hero__services {
		margin-top: 0;
	}

	.hero__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.75rem;
		padding-top: 3.5rem;
	}

	.hero__subtext {
		flex: 1 1 auto;
		max-width: none;
	}

	.hero__card {
		width: 100%;
	}

	.hero__markers {
		top: 40%;
		left: 1.5rem;
		right: 1.5rem;
	}
}
