/* ---------- Hero (promo-banner in .hc-hero) ---------- */

.hc-hero {
	background: radial-gradient(ellipse at 10% 80%, #e6effa 0, transparent 55%), var(--hc-sky);
}

.hc-hero .hmf-promo-banner {
	max-inline-size: 1192px;
	margin-inline: auto;
	padding: 0;
}

.hc-hero .hmf-promo-banner__panel {
	display: grid;
	gap: 0;
	border-radius: 0;
	background: transparent;
	color: var(--hc-ink);
}

/* Body children join the panel grid so the figure row can sit under the photo. */
.hc-hero .hmf-promo-banner__body {
	display: contents;
	text-align: start;
}

.hc-hero .hmf-promo-banner__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: 9px;
	margin-block-end: 18px;
	padding: 5px 13px;
	border: 1px solid #dbe6f2;
	border-radius: 99px;
	background: var(--hc-white);
	color: var(--hc-blue-deep);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.9;
}

.hc-hero .hmf-promo-banner__eyebrow::before {
	content: "";
	flex: none;
	inline-size: 7px;
	block-size: 7px;
	border-radius: 50%;
	background: var(--hc-blue);
}

.hc-hero .hmf-promo-banner__title {
	margin-block-end: 20px;
	color: var(--hc-ink);
	font-size: clamp(34px, 8.8vw, 46px);
	font-weight: 900;
	line-height: 1.6;
	letter-spacing: -0.8px;
}

.hc-hero .hmf-promo-banner__summary {
	max-inline-size: none;
	margin-block-end: 26px;
	color: var(--hc-slate);
	font-size: 18px;
	line-height: 2.15;
}

.hc-hero .hmf-promo-banner__actions {
	order: 1;
	justify-content: flex-start;
	gap: 12px;
	margin-block-end: 36px;
}

.hc-hero .hmf-promo-banner .hmf-button {
	gap: 16px;
	inline-size: 100%;
	min-block-size: 58px;
	padding: 13px 22px;
	border: 1px solid var(--hc-gold-line);
	border-radius: 16px;
	background: var(--hc-gold-gradient);
	color: var(--hc-ink-2);
	font-size: 18px;
	font-weight: 800;
	box-shadow: 0 16px 30px -20px #d58b00;
}

.hc-hero .hmf-promo-banner .hmf-button--secondary {
	flex-direction: row-reverse;
	gap: 8px;
	min-block-size: 48px;
	padding: 8px;
	border: 0;
	background: transparent;
	color: var(--hc-slate-2);
	font-size: 16px;
	font-weight: 700;
	box-shadow: none;
	direction: ltr;
}

.hc-hero .hmf-promo-banner .hmf-button--secondary::after {
	content: "";
	inline-size: 22px;
	block-size: 22px;
	background: currentColor;
	mask: var(--hc-icon-phone) center / contain no-repeat;
}

.hc-hero .hmf-promo-banner__visual {
	order: 2;
	margin: 0;
	padding: 0;
}

.hc-hero .hmf-promo-banner__img {
	inline-size: 100%;
	max-inline-size: none;
	block-size: auto;
	aspect-ratio: 9 / 7;
	object-fit: cover;
	border: 6px solid var(--hc-white);
	border-radius: 28px;
	background: #dbe5ef;
	box-shadow: 0 30px 60px -40px rgb(15 16 29 / 0.4);
}

.hc-hero .hmf-promo-banner__stats {
	order: 3;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-block-start: 32px;
}

.hc-hero .hmf-promo-banner__stat {
	display: grid;
	grid-template-columns: 1fr;
	align-content: start;
	justify-items: start;
	gap: 0;
	padding: 20px 16px;
	border: 1px solid #e1e9f2;
	border-radius: 22px;
	background: var(--hc-white);
	box-shadow: var(--hc-shadow-card);
	text-align: start;
}

.hc-hero .hmf-promo-banner__stat:last-child {
	grid-column: 1 / -1;
	grid-template-columns: auto auto;
	justify-content: center;
	align-items: center;
	column-gap: 14px;
	border-color: #f2dfb5;
	background: var(--hc-gold-tint);
}

.hc-hero .hmf-promo-banner__icon {
	box-sizing: border-box;
	inline-size: 48px;
	block-size: 48px;
	margin-block-end: 14px;
	padding: 11.5px;
	border-radius: 15px;
	background: var(--hc-blue-soft);
}

.hc-hero .hmf-promo-banner__stat:last-child .hmf-promo-banner__icon {
	grid-row: span 2;
	margin: 0;
	background: #fff0ce;
}

.hc-hero .hmf-promo-banner__value {
	margin-block-end: 3px;
	color: var(--hc-ink);
	font-size: 24px;
	font-weight: 900;
	line-height: 1.6;
	direction: rtl;
	unicode-bidi: isolate;
}

.hc-hero .hmf-promo-banner__label {
	color: var(--hc-slate);
	font-size: 16px;
	line-height: 1.9;
}

@media (hover: hover) {
	.hc-hero .hmf-promo-banner .hmf-button:not(.hmf-button--secondary):hover {
		transform: translateY(-2px);
	}

	.hc-hero .hmf-promo-banner .hmf-button--secondary:hover {
		color: var(--hc-blue-deep);
	}
}

@media (width >= 37.5rem) {
	.hc-hero .hmf-promo-banner__eyebrow {
		font-size: 15px;
	}

	.hc-hero .hmf-promo-banner .hmf-button {
		inline-size: auto;
		min-inline-size: 220px;
	}

	.hc-hero .hmf-promo-banner .hmf-button--secondary {
		min-inline-size: 0;
	}

	.hc-hero .hmf-promo-banner__img {
		aspect-ratio: 9 / 6;
	}

	.hc-hero .hmf-promo-banner__stats {
		gap: 16px;
	}

	.hc-hero .hmf-promo-banner__stat,
	.hc-hero .hmf-promo-banner__stat:last-child {
		grid-template-columns: auto 1fr;
		align-items: center;
		column-gap: 14px;
		padding: 22px;
	}

	.hc-hero .hmf-promo-banner__stat:last-child {
		grid-template-columns: auto auto;
	}

	.hc-hero .hmf-promo-banner__icon {
		grid-row: span 2;
		margin: 0;
	}
}

@media (width >= 62.5rem) {
	.hc-hero .hmf-promo-banner__panel {
		display: grid;
		grid-template-columns: 1.08fr 1fr;
		grid-template-rows: 1fr auto auto auto auto 1fr auto;
		column-gap: 56px;
	}

	.hc-hero .hmf-promo-banner__panel > .hmf-promo-banner__visual {
		grid-column: 2;
		grid-row: 1 / 7;
		align-self: center;
		flex-basis: auto;
	}

	.hc-hero .hmf-promo-banner__body > * {
		grid-column: 1;
	}

	.hc-hero .hmf-promo-banner__eyebrow { grid-row: 2; }
	.hc-hero .hmf-promo-banner__title { grid-row: 3; }
	.hc-hero .hmf-promo-banner__summary { grid-row: 4; }
	.hc-hero .hmf-promo-banner__actions { grid-row: 5; }

	.hc-hero .hmf-promo-banner__title {
		margin-block-end: 22px;
		font-size: 52px;
	}

	.hc-hero .hmf-promo-banner__summary {
		margin-block-end: 30px;
		font-size: 20px;
	}

	.hc-hero .hmf-promo-banner__actions {
		order: 0;
		margin-block-end: 0;
	}

	.hc-hero .hmf-promo-banner__stats {
		grid-column: 1 / -1;
		grid-row: 7;
	}

	.hc-hero .hmf-promo-banner__img {
		aspect-ratio: 1.08;
		border-width: 8px;
		border-radius: 38px;
	}
}

@media (width >= 68.75rem) {
	.hc-hero .hmf-promo-banner__stats {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		margin-block-start: 48px;
	}

	.hc-hero .hmf-promo-banner__stat,
	.hc-hero .hmf-promo-banner__stat:last-child {
		grid-column: auto;
		grid-template-columns: 1fr;
		justify-content: stretch;
		align-items: start;
		padding: 22px 20px;
	}

	.hc-hero .hmf-promo-banner__icon,
	.hc-hero .hmf-promo-banner__stat:last-child .hmf-promo-banner__icon {
		grid-row: auto;
		margin-block-end: 14px;
	}

	.hc-hero .hmf-promo-banner__value {
		font-size: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hc-hero .hmf-promo-banner .hmf-button {
		transition: none;
		transform: none;
	}
}

