/* ===========================================================================
   HOME-BASED HEALTH SCREENING PAGE (home-based-health-screening-packages), Nov 2026
   ---------------------------------------------------------------------------
   Builds on css/clinic.css (hero, sections, cards, FAQ). Scoped .hb-* classes;
   the booking-hours cards (.booking-hours-*) were moved here from the page.
   =========================================================================== */

/* Section headings: dark green, as on the packages page */
.cl-page.hb-page .cl-head h2 {
	color: #006e3a;
	font-size: clamp(1.7rem, 1.25rem + 1.3vw, 2.3rem);
	line-height: 1.18;
}

.hb-page .cl-kicker {
	margin-bottom: 8px;
	font-size: 14px;
	letter-spacing: .1em;
}

.hb-page .cl-head {
	max-width: 780px;
	margin-bottom: 28px;
}

.hb-section .dr-author-div,
.hb-section > .container > .row:first-child {
	margin-bottom: 8px;
}

.hb-lead {
	max-width: 860px;
	margin: 0 auto 28px;
	color: var(--cl-text);
	font-size: 1.08rem;
	line-height: 1.75;
	text-align: center;
}

.hb-small {
	margin: 14px 0 0;
	color: var(--cl-muted);
	font-size: .95rem;
	line-height: 1.6;
}

.hb-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

/* ---------- Home screening process ---------- */
.cl-page .hb-subhead {
	margin: 44px 0 20px;
	font-size: 1.25rem;
	font-weight: 800;
	text-align: center;
}

.hb-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: hb-step;
}

.hb-step {
	position: relative;
	padding: 26px 24px 24px;
	overflow: hidden;
	border-radius: var(--cl-radius);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--cl-line), 0 10px 30px -24px rgba(0, 40, 20, .4);
	counter-increment: hb-step;
}

/* Large step number in the corner */
.hb-step::after {
	content: counter(hb-step, decimal-leading-zero);
	position: absolute;
	top: 10px;
	right: 18px;
	color: #e6f0e9;
	font-family: 'Montserrat', sans-serif;
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
}

.hb-step-icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 16px;
	background: linear-gradient(135deg, #006e3a, #2f9a55);
	box-shadow: 0 10px 20px -12px rgba(0, 110, 58, .8);
	color: #fff;
	font-size: 21px;
}

.cl-page .hb-step h4 {
	position: relative;
	z-index: 1;
	margin: 0 0 8px;
	font-size: 1.08rem;
	font-weight: 700;
}

.hb-step p {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: .98rem;
	line-height: 1.6;
}

/* ---------- Pricing ---------- */
.hb-callout {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 22px;
	padding: 16px 20px;
	border-radius: 14px;
	background: var(--cl-mint);
	box-shadow: inset 4px 0 0 #006e3a;
}

.hb-callout i {
	flex: none;
	margin-top: 3px;
	color: #006e3a;
	font-size: 1.2rem;
}

.hb-callout p {
	margin: 0;
	color: var(--cl-ink);
	font-size: 1rem;
	line-height: 1.6;
}

.hb-callout--mix {
	margin: 22px 0 0;
	background: #eef8f0;
	box-shadow: inset 4px 0 0 #4eb25c;
}

.hb-callout--mix i {
	color: #4eb25c;
}

.hb-table-wrap {
	overflow-x: auto;
	border-radius: var(--cl-radius);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--cl-line), var(--cl-shadow);
}

.hb-price-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	text-align: center;
}

.hb-price-table thead th {
	padding: 16px 12px;
	background: #006e3a;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 700;
}

.hb-price-table thead th:first-child {
	text-align: left;
	padding-left: 22px;
}

.hb-price-table tbody th {
	padding: 16px 12px 16px 22px;
	color: var(--cl-ink);
	font-weight: 700;
	text-align: left;
	white-space: nowrap;
}

.hb-price-table td {
	padding: 16px 12px;
	color: var(--cl-ink);
	font-family: 'Montserrat', sans-serif;
	font-size: 1.12rem;
	font-weight: 700;
}

.hb-price-table tbody tr + tr {
	border-top: 1px solid var(--cl-line);
}

.hb-price-table tbody tr:nth-child(even) {
	background: var(--cl-soft);
}

.hb-price-table td.hb-na {
	color: #9aa39d;
	font-weight: 600;
}

/* PDF download link */
.hb-pdf {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 22px;
	padding: 14px 20px;
	border-radius: 14px;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px #b9d9c4;
	text-decoration: none !important;
	transition: box-shadow .2s, transform .2s;
}

.hb-pdf:hover,
.hb-pdf:focus {
	box-shadow: inset 0 0 0 1.5px #006e3a, 0 10px 24px -16px rgba(0, 60, 30, .45);
	transform: translateY(-1px);
}

.hb-pdf-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fdecea;
	color: #d0342c;
	font-size: 20px;
}

.cl-page .hb-pdf .hb-pdf-text {
	flex: 1;
	color: var(--cl-ink);
	font-weight: 700;
}

.hb-pdf-arrow {
	color: #006e3a;
}

/* ---------- Booking hours (moved from the page) ---------- */
.booking-hours-intro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-bottom: 20px;
	padding: 16px 20px;
	border-radius: 14px;
	background: #fff;
	box-shadow: inset 4px 0 0 #d4a855, 0 2px 8px rgba(23, 49, 72, .06);
}

.booking-hours-intro-main {
	display: flex;
	flex: 1 1 320px;
	align-items: center;
	gap: 14px;
}

.booking-hours-intro-main i {
	flex-shrink: 0;
	color: #d4a855;
	font-size: 1.7rem;
}

.booking-hours-intro-lead {
	margin-bottom: 2px;
	color: #173148;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
}

.booking-hours-intro-sub {
	color: #555;
	font-size: .9rem;
}

.booking-hours-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	color: #173148;
	font-size: .82rem;
}

.booking-hours-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}

.booking-hours-legend-swatch {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 3px;
}

.booking-hours-legend-swatch.standard {
	background: #e8f6ed;
	border-left: 3px solid #28a745;
}

.booking-hours-legend-swatch.surcharge {
	background: #fdf5e0;
	border-left: 3px solid #d4a855;
}

.booking-hours-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: var(--cl-radius);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--cl-line), 0 10px 30px -24px rgba(0, 40, 20, .4);
}

.booking-hours-card-header {
	padding: 14px 16px;
	background: linear-gradient(135deg, #006e3a, #1f8a4a);
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-align: center;
}

.booking-hours-card-header i {
	margin-right: 8px;
	color: #fff;
}

.booking-hours-card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 12px;
	padding: 16px;
}

.booking-hours-slot {
	padding: 12px 14px;
	border-radius: 10px;
}

.booking-hours-slot.standard {
	background: #e8f6ed;
	border-left: 4px solid #28a745;
}

.booking-hours-slot.surcharge {
	background: #fdf5e0;
	border-left: 4px solid #d4a855;
}

.booking-hours-label {
	margin-bottom: 4px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.booking-hours-slot.standard .booking-hours-label {
	color: #1f7a35;
}

.booking-hours-slot.surcharge .booking-hours-label {
	color: #a87b27;
}

.booking-hours-time {
	color: #173148;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

.booking-hours-fee {
	display: inline-block;
	margin-top: 6px;
	padding: 3px 12px;
	border-radius: 14px;
	background: #d4a855;
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
}

/* ---------- Policies ---------- */
.hb-policies {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.hb-policy dl {
	margin: 0;
}

.hb-policy dl > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px dashed var(--cl-line);
}

.hb-policy dt {
	color: var(--cl-text);
	font-size: .97rem;
	font-weight: 400;
	line-height: 1.55;
}

.hb-policy dd {
	flex: none;
	max-width: 46%;
	margin: 0;
	color: #006e3a;
	font-family: 'Montserrat', sans-serif;
	font-size: .98rem;
	font-weight: 700;
	line-height: 1.45;
	text-align: right;
}

.hb-disclaimer {
	margin-top: 20px;
}

/* ---------- Payment ---------- */
.hb-pay {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	max-width: 620px;
	margin: 0 auto;
}

.hb-pay-logo {
	display: grid;
	place-items: center;
	padding: 8px;
	border-radius: var(--cl-radius);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--cl-line);
}

/* The logo files are square with white space around the mark */
.hb-pay-logo img {
	width: 100%;
	max-width: 120px;
	height: auto;
}

.hb-receipt {
	max-width: 860px;
	margin: 36px auto 0;
	text-align: center;
}

.cl-page .hb-receipt h3 {
	margin: 0 0 10px;
	font-size: 1.2rem;
	font-weight: 800;
}

.hb-receipt p {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.7;
}

.hb-help {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 900px;
	margin: 32px auto 0;
	padding: 20px 24px;
	border-radius: var(--cl-radius);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--cl-line), var(--cl-shadow);
}

.hb-help-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--cl-mint);
	color: #006e3a;
	font-size: 20px;
}

.hb-help p {
	flex: 1;
	margin: 0;
	color: var(--cl-ink);
	font-size: 1rem;
	line-height: 1.6;
}

.hb-help .cl-btn {
	flex: none;
}

/* ---------- FAQ ---------- */
.hb-faq-group {
	max-width: 820px;
	margin: 0 auto;
}

.hb-faq-group + .hb-faq-group {
	margin-top: 36px;
}

.cl-page .hb-faq-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: #006e3a;
	font-size: 1.2rem;
	font-weight: 800;
}

.hb-faq-title i {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--cl-mint);
	font-size: 15px;
}

.hb-page .cl-faq-answer p {
	margin: 0 0 10px;
}

.hb-page .cl-faq-answer p:last-child,
.hb-page .cl-faq-answer ul {
	margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
	.hb-steps,
	.hb-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hb-policies {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767.98px) {
	.hb-steps,
	.hb-grid-3,
	.hb-pay {
		grid-template-columns: 1fr;
	}

	.hb-pay {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	.hb-pay-logo {
		padding: 10px;
		border-radius: 12px;
	}

	.hb-lead,
	.hb-receipt {
		text-align: left;
	}

	/* Steps: icon beside the title to save height */
	.hb-step {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr);
		column-gap: 14px;
		align-items: center;
		padding: 16px 18px;
	}

	.hb-step-icon {
		grid-row: span 2;
		align-self: start;
		width: 44px;
		height: 44px;
		margin: 0;
		border-radius: 13px;
		font-size: 18px;
	}

	.cl-page .hb-step h4 {
		margin: 0 0 4px;
		padding-right: 36px;
	}

	.hb-step::after {
		top: 12px;
		right: 14px;
		font-size: 1.7rem;
	}

	/* Price table: one card per group size, package names from data-label */
	.hb-table-wrap {
		overflow: visible;
		background: none;
		box-shadow: none;
	}

	.hb-price-table {
		min-width: 0;
	}

	.hb-price-table thead {
		display: none;
	}

	.hb-price-table,
	.hb-price-table tbody {
		display: block;
	}

	.hb-price-table tbody tr {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-bottom: 14px;
		overflow: hidden;
		border-radius: 16px;
		background: #fff !important;
		box-shadow: inset 0 0 0 1px var(--cl-line), var(--cl-shadow);
	}

	.hb-price-table tbody tr + tr {
		border-top: 0;
	}

	.hb-price-table tbody th {
		grid-column: 1 / -1;
		padding: 12px 16px;
		background: #006e3a;
		color: #fff;
		font-family: 'Montserrat', sans-serif;
	}

	.hb-price-table td {
		display: flex;
		flex-direction: column;
		gap: 2px;
		padding: 12px 6px;
		border-top: 1px solid var(--cl-line);
		font-size: 1.05rem;
	}

	.hb-price-table td + td {
		border-left: 1px solid var(--cl-line);
	}

	.hb-price-table td:nth-of-type(4) {
		border-left: 0;
	}

	.hb-price-table td::before {
		content: attr(data-label);
		color: var(--cl-muted);
		font-family: 'Poppins', sans-serif;
		font-size: .78rem;
		font-weight: 600;
	}

	.hb-policy dl > div {
		flex-direction: column;
		gap: 4px;
	}

	.hb-policy dd {
		max-width: none;
		text-align: left;
	}

	.hb-help {
		flex-direction: column;
		align-items: flex-start;
	}

	.hb-help .cl-btn {
		width: 100%;
	}
}

/* Hero: stats card a little higher than on the packages page, clear of the
   patient's hair in this photo */
@media (min-width: 992px) {
	.hb-page .cl-hero--split.cl-hero--stats-top .cl-stats {
		top: 20px;
	}
}
