/* ==========================================================================
   Home hero: photo, the multispecialty message, and a strip with the two
   hospitals and the emergency line.
   ========================================================================== */

.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--color-burgundy-950);
	color: var(--color-white);
}

/* Media & overlays --------------------------------------------------------- */
.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 30%;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(41, 5, 13, 0.94) 0%, rgba(77, 10, 20, 0.62) 55%, rgba(51, 5, 13, 0.2) 100%);
}

.hero__overlay-top {
	position: absolute;
	inset: 0 0 auto;
	height: 200px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

/* Layout ------------------------------------------------------------------- */
.hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 88px;
	padding-top: 220px;
	padding-bottom: 48px;
}

.hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 26px;
	max-width: 760px;
}

.hero__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-display);
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.hero__word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.1em; /* keeps descenders inside the mask */
	margin-bottom: -0.1em;
}

.hero__word > span {
	display: inline-block;
}

.hero__word.is-accent {
	padding-right: 0.06em; /* italic overhang */
	margin-right: -0.06em;
	color: var(--color-blush-100);
}

.hero__text {
	max-width: 620px;
	font-size: var(--fs-lead);
	line-height: 1.55;
	color: var(--color-blush-100);
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.hero__help {
	font-size: 18px;
	color: var(--color-blush-200);
}

.hero__help a {
	color: var(--color-white);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: text-decoration-color var(--dur-fast);
}

.hero__help a:hover {
	text-decoration-color: var(--color-blush-200);
}

/* Hospitals + emergency strip ------------------------------------------------ */
.hero__facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__fact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 24px 0 0;
}

.hero__fact + .hero__fact {
	padding-left: 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__fact-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-blush-200);
}

.hero__fact-value {
	font-family: var(--font-ui);
	font-size: 17px;
	font-weight: 600;
	color: var(--color-white);
	transition: color var(--dur-fast);
}

.hero__fact-value:hover {
	color: var(--color-blush-100);
}

.hero__fact--urgent .hero__fact-value {
	font-size: 20px;
	font-weight: 700;
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1080px) {
	.hero__inner {
		gap: 64px;
		padding-top: 190px;
	}
}

@media (max-width: 720px) {
	.hero__facts {
		grid-template-columns: 1fr;
	}

	.hero__fact,
	.hero__fact + .hero__fact {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		padding: 14px 0;
		border-left: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.hero__fact-value {
		font-size: 15px;
		text-align: right;
	}

	.hero__fact--urgent .hero__fact-value {
		font-size: 17px;
	}
}

@media (max-width: 640px) {
	.hero__inner {
		gap: 48px;
		padding-top: 160px;
		padding-bottom: 28px;
	}

	.hero__copy {
		gap: 20px;
	}

	.hero__help {
		font-size: 17px;
	}
}
