/* =====================================================================
   Homepage layouts: Slider (hs-), Bold (hb-), Mosaic (hm-).
   Loaded on the front page only, when a non-classic layout is active.
   ===================================================================== */

/* Shared: translucent button for use over photos / dark panels */
.btn--ghost {
	background: rgba(255,255,255,0.08); color: #FFFFFF;
	border: 1.5px solid rgba(255,255,255,0.7);
	backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: #FFFFFF; color: var(--teal-900); }

/* ---------------------------------------------------------------------
   SLIDER
--------------------------------------------------------------------- */
.hs-slider {
	position: relative; background: var(--teal-900); color: #FFFFFF;
	height: clamp(580px, 84vh, 720px); overflow: hidden;
}
.hs-slider__track { position: absolute; inset: 0; }
.hs-slide {
	position: absolute; inset: 0; display: flex; align-items: center;
	opacity: 0; visibility: hidden;
	transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s ease, visibility 0s; z-index: 1; }
.hs-slide__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.08); transition: transform 7s ease-out;
}
.hs-slide.is-active .hs-slide__img { transform: scale(1); }
.hs-slide__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(8,42,48,0.92) 0%, rgba(8,42,48,0.72) 42%, rgba(8,42,48,0.15) 80%),
		linear-gradient(0deg, rgba(8,42,48,0.55) 0%, rgba(8,42,48,0) 40%);
}
.hs-slide__content { position: relative; width: 100%; padding-top: 20px; padding-bottom: 110px; }
.hs-slide__content > * { max-width: 620px; }
.hs-slide__eyebrow {
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--amber-300); border-left: 3px solid var(--amber-300); padding-left: 12px;
}
.hs-slide__title {
	font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -0.015em;
	margin: 18px 0 0; color: #FFFFFF;
}
.hs-slide__lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: #D8E8E8; margin: 18px 0 0; max-width: 50ch; }
.hs-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hs-slide.is-active .hs-slide__content > * { animation: hs-rise 0.8s both; }
.hs-slide.is-active .hs-slide__title { animation-delay: 0.08s; }
.hs-slide.is-active .hs-slide__lede { animation-delay: 0.16s; }
.hs-slide.is-active .hs-slide__actions { animation-delay: 0.24s; }
@keyframes hs-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hs-slider__controls {
	position: absolute; left: 0; right: 0; bottom: 64px; z-index: 2;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hs-slider:not(.is-ready) .hs-slider__controls { display: none; }
.hs-slider__dots { display: flex; gap: 8px; }
.hs-slider__dot {
	width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
	display: grid; align-items: center;
}
.hs-slider__dot span {
	display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.35); overflow: hidden; position: relative;
}
.hs-slider__dot.is-active span { background: rgba(255,255,255,0.5); }
.hs-slider__dot.is-active span::after {
	content: ''; position: absolute; inset: 0; background: var(--amber-300); transform-origin: left;
}
.hs-slider.is-playing .hs-slider__dot.is-active span::after { animation: hs-progress var(--hs-interval, 6s) linear both; }
@keyframes hs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs-slider__arrows { display: flex; gap: 8px; }
.hs-slider__arrow {
	width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
	border: 1.5px solid rgba(255,255,255,0.6); background: rgba(8,42,48,0.35); color: #FFFFFF;
	display: grid; place-items: center;
}
.hs-slider__arrow:hover { background: #FFFFFF; color: var(--teal-900); }
.hs-slider__dot:focus-visible, .hs-slider__arrow:focus-visible { outline: 2px solid var(--amber-300); outline-offset: 3px; }

.hs-stats { background: var(--sand-50); position: relative; z-index: 3; }
.hs-stats .wrap { padding-top: 0; padding-bottom: 0; }
.hs-stats__bar {
	margin-top: -44px; background: #FFFFFF; border-radius: 18px;
	box-shadow: 0 18px 40px -18px rgba(11,59,67,0.35); border: 1px solid var(--line-200);
	display: grid; grid-template-columns: repeat(4, 1fr);
}
.hs-stat { padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line-200); }
.hs-stat:first-child { border-left: 0; }
.hs-stat__value { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--teal-900); }
.hs-stat__label { font-size: 14px; color: var(--text-muted); }
.hs-stat--emergency .hs-stat__value { color: var(--emergency); }

.hs-photo-stack { position: relative; padding: 0 0 48px 0; }
.hs-photo-stack img { border-radius: 16px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hs-photo-stack .hs-photo-stack__inset {
	position: absolute; right: -8px; bottom: 0; width: 48%; aspect-ratio: 4 / 3;
	border: 6px solid var(--teal-900); border-radius: 16px; box-shadow: 0 16px 30px -12px rgba(0,0,0,0.5);
}

.hs-gallery { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
.hs-gallery__item { margin: 0; }
.hs-gallery__item img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hs-gallery__item figcaption { margin-top: 10px; font-weight: 600; color: var(--teal-900); font-size: 15px; }

/* ---------------------------------------------------------------------
   BOLD
--------------------------------------------------------------------- */
.hb-hero {
	position: relative; overflow: hidden; color: #FFFFFF; background: var(--teal-900);
	min-height: clamp(560px, 88vh, 780px); display: flex; align-items: flex-end;
}
.hb-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hb-hero__shade {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8,42,48,0.1) 0%, rgba(8,42,48,0.35) 40%, rgba(8,42,48,0.94) 100%);
}
.hb-hero__inner {
	position: relative; width: 100%; padding-top: 120px; padding-bottom: 56px;
	display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
}
.hb-hero__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-300); }
.hb-hero__title {
	font-size: clamp(46px, 8.6vw, 104px); line-height: 0.98; letter-spacing: -0.025em;
	margin: 16px 0 0; color: #FFFFFF; font-weight: 500;
}
.hb-hero__title em { font-style: italic; color: var(--amber-300); }
.hb-hero__lede { font-size: 19px; line-height: 1.6; color: #D8E8E8; margin: 20px 0 0; max-width: 52ch; }
.hb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hb-emergency {
	display: flex; flex-direction: column; gap: 6px; min-width: 260px;
	background: var(--emergency); color: #FFFFFF; border-radius: 18px; padding: 22px 24px;
	box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6);
}
.hb-emergency:hover { background: #A5271C; color: #FFFFFF; }
.hb-emergency__label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.hb-emergency__phone { font-family: var(--font-display); font-size: 34px; line-height: 1.1; }
.hb-emergency__note { font-size: 14px; color: #FFD9D3; }

.hb-numbers { background: var(--amber-300); color: #3B2A10; }
.hb-numbers .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-bottom: 0; }
.hb-number { padding: 30px 22px; border-left: 1px solid rgba(59,42,16,0.18); display: flex; flex-direction: column; gap: 6px; }
.hb-number:first-child { border-left: 0; padding-left: 0; }
.hb-number__value { font-family: var(--font-display); font-size: clamp(44px, 5.4vw, 64px); line-height: 1; color: var(--teal-900); }
.hb-number__value small { font-size: 0.45em; margin-left: 2px; }
.hb-number__label { font-size: 15px; line-height: 1.4; font-weight: 600; }

.hb-features { background: #FFFFFF; }
.hb-features .wrap { padding-top: 80px; padding-bottom: 80px; display: grid; gap: 80px; }
.hb-feature { display: grid; gap: 48px; grid-template-columns: 1.15fr 1fr; align-items: center; }
.hb-feature--flip .hb-feature__media { order: 2; }
.hb-feature__media { position: relative; }
.hb-feature__media img { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hb-feature__media::after {
	content: ''; position: absolute; z-index: -1; inset: 24px -24px -24px 24px; border-radius: 20px; background: var(--teal-100);
}
.hb-feature--flip .hb-feature__media::after { inset: 24px 24px -24px -24px; background: var(--sand-50); }
.hb-feature { position: relative; z-index: 0; }
.hb-feature__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hb-feature__eyebrow--amber { color: var(--amber-500); }
.hb-feature__eyebrow--teal { color: var(--teal-700); }
.hb-feature__title { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; margin: 12px 0 0; color: var(--teal-900); }
.hb-feature__desc { font-size: 18px; line-height: 1.65; color: var(--text-body-alt); margin: 16px 0 0; }
.hb-link {
	display: inline-flex; gap: 8px; margin-top: 22px; font-weight: 700; font-size: 17px; color: var(--clay-600);
	border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.hb-link:hover { color: var(--teal-900); }
.hb-link--light { color: var(--amber-300); }
.hb-link--light:hover { color: #FFFFFF; }

.hb-index { background: var(--teal-900); color: #D3E3E3; }
.hb-index .wrap { padding-top: 72px; padding-bottom: 72px; }
.hb-index__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-300); }
.hb-index__title { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; color: #FFFFFF; margin: 12px 0 0; }
.hb-index__list {
	list-style: none; margin-top: 36px; display: grid; gap: 0 40px;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.hb-index__item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(211,227,227,0.16); }
.hb-index__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,0.07); }
.hb-index__icon svg { width: 26px; height: 26px; }
.hb-index__icon--teal { color: #7FD0D8; }
.hb-index__icon--amber { color: var(--amber-300); }
.hb-index__icon--emergency { color: #FF8A7A; }
.hb-index__name { display: block; font-weight: 700; font-size: 17px; color: #FFFFFF; }
.hb-index__name em { font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--footer-label); margin-left: 6px; }
.hb-index__desc { display: block; font-size: 15px; line-height: 1.5; color: var(--footer-body); margin-top: 3px; }
.hb-index__item--soon { opacity: 0.7; }

.hb-quote { position: relative; overflow: hidden; color: #FFFFFF; background: var(--teal-900); }
.hb-quote__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-quote__shade { position: absolute; inset: 0; background: rgba(8,42,48,0.82); }
.hb-quote__inner { position: relative; padding-top: 96px; padding-bottom: 96px; text-align: center; }
.hb-quote__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-300); }
.hb-quote__text { font-size: clamp(32px, 5vw, 58px); line-height: 1.12; font-weight: 400; font-style: italic; max-width: 20ch; margin: 18px auto 0; }
.hb-quote__values { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hb-quote__values span { border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 15px; }

/* ---------------------------------------------------------------------
   MOSAIC
--------------------------------------------------------------------- */
.hm-hero { background: var(--sand-50); }
.hm-hero .wrap { padding-top: 24px; padding-bottom: 24px; max-width: 1240px; }
.hm-bento {
	display: grid; gap: 14px;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 280px 230px 190px;
	grid-template-areas:
		"intro intro build build"
		"intro intro emerg mat"
		"rec   rec   stat  mat";
}
.hm-tile { border-radius: 22px; overflow: hidden; position: relative; margin: 0; }
.hm-tile--intro {
	grid-area: intro; background: var(--teal-900); color: #FFFFFF; padding: 44px 40px;
	display: flex; flex-direction: column; justify-content: flex-end;
	background-image: radial-gradient(circle at 100% 0%, rgba(26,138,151,0.55) 0, rgba(26,138,151,0) 55%);
}
.hm-tile--building { grid-area: build; }
.hm-tile--emergency { grid-area: emerg; }
.hm-tile--mat { grid-area: mat; }
.hm-tile--rec { grid-area: rec; }
.hm-tile--stat { grid-area: stat; }
.hm-tile__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-300); }
.hm-tile__title { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.02em; margin: 16px 0 0; color: #FFFFFF; }
.hm-tile__lede { font-size: 18px; line-height: 1.6; color: #CFE2E2; margin: 18px 0 0; max-width: 44ch; }
.hm-tile__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hm-tile--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hm-tile--photo:hover img { transform: scale(1.04); }
.hm-tile--photo figcaption {
	position: absolute; left: 12px; bottom: 12px;
	background: rgba(255,255,255,0.92); color: var(--teal-900); font-weight: 700; font-size: 13.5px;
	border-radius: 999px; padding: 6px 12px;
}
.hm-tile--emergency {
	background: var(--emergency); color: #FFFFFF; padding: 22px;
	display: flex; flex-direction: column; justify-content: space-between;
}
.hm-tile--emergency:hover { background: #A5271C; color: #FFFFFF; }
.hm-tile--emergency .hm-tile__eyebrow { color: #FFD9D3; }
.hm-tile__phone { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.hm-tile__note { font-size: 14px; color: inherit; opacity: 0.85; }
.hm-tile--stat {
	background: var(--amber-300); color: #3B2A10; padding: 20px 22px;
	display: flex; flex-direction: column; justify-content: space-between;
}
.hm-tile__big { font-family: var(--font-display); font-size: 64px; line-height: 0.9; color: var(--teal-900); }

.hm-ticker { background: var(--teal-700); color: #FFFFFF; overflow: hidden; padding: 16px 0; }
.hm-ticker__track { display: flex; width: max-content; animation: hm-marquee 40s linear infinite; }
.hm-ticker__track span {
	font-family: var(--font-display); font-size: 22px; white-space: nowrap; padding: 0 22px;
	display: inline-flex; align-items: center; gap: 44px;
}
.hm-ticker__track span::after { content: '\2726'; color: var(--amber-300); font-size: 14px; margin-left: 22px; }
@keyframes hm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hm-services { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 30px; }
.hm-service {
	display: flex; flex-direction: column; gap: 6px; border-radius: 18px; padding: 24px;
	color: var(--teal-900); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hm-service:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(11,59,67,0.45); color: var(--teal-900); }
.hm-service--teal { background: var(--teal-100); }
.hm-service--amber { background: #FBEBD2; }
.hm-service--emergency { background: #F8E1DD; }
.hm-service__icon {
	width: 54px; height: 54px; border-radius: 14px; background: #FFFFFF; display: grid; place-items: center; margin-bottom: 10px;
}
.hm-service--teal .hm-service__icon { color: var(--teal-700); }
.hm-service--amber .hm-service__icon { color: var(--amber-500); }
.hm-service--emergency .hm-service__icon { color: var(--emergency); }
.hm-service__title { font-weight: 700; font-size: 18px; }
.hm-service__desc { font-size: 15px; line-height: 1.5; color: var(--ink-500); }

.hm-maternity { background: var(--teal-900); color: #EAF3F3; }
.hm-maternity .wrap {
	padding-top: 72px; padding-bottom: 72px;
	display: grid; gap: 40px; grid-template-columns: 1fr 1.1fr; align-items: center;
}
.hm-maternity .btn { margin-top: 26px; }
.hm-maternity__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hm-maternity__photos img { border-radius: 18px; width: 100%; height: 360px; object-fit: cover; }
.hm-maternity__photos img:last-child { margin-top: 48px; }

.hm-wall {
	display: grid; gap: 14px; margin-top: 30px;
	grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 220px 220px;
}
.hm-wall__item { margin: 0; position: relative; border-radius: 18px; overflow: hidden; }
.hm-wall__item:first-child { grid-row: span 2; }
.hm-wall__item:last-child { grid-column: span 2; }
.hm-wall__item img { width: 100%; height: 100%; object-fit: cover; }
.hm-wall__item figcaption {
	position: absolute; left: 12px; bottom: 12px;
	background: rgba(255,255,255,0.92); color: var(--teal-900); font-weight: 700; font-size: 13.5px;
	border-radius: 999px; padding: 6px 12px;
}

/* ---------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------- */
@media (max-width: 900px) {
	.hs-stats__bar, .hb-numbers .wrap { grid-template-columns: repeat(2, 1fr); }
	.hs-gallery { grid-template-columns: repeat(2, 1fr); }
	.hs-stat:nth-child(3) { border-left: 0; }
	.hs-stat:nth-child(n+3), .hb-number:nth-child(n+3) { border-top: 1px solid var(--line-200); }
	.hb-number:nth-child(n+3) { border-top-color: rgba(59,42,16,0.18); }
	.hb-number:nth-child(3) { border-left: 0; padding-left: 0; }
	.hb-hero__inner { grid-template-columns: 1fr; }
	.hb-hero__shade { background: linear-gradient(180deg, rgba(8,42,48,0.35) 0%, rgba(8,42,48,0.8) 35%, rgba(8,42,48,0.95) 100%); }
	.hb-emergency { min-width: 0; }
	.hb-feature { grid-template-columns: 1fr; gap: 36px; }
	.hb-feature--flip .hb-feature__media { order: 0; }
	.hm-bento {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto 220px 170px 200px;
		grid-template-areas:
			"intro intro"
			"build build"
			"emerg stat"
			"mat   rec";
	}
	.hm-tile--intro { padding: 32px 24px; }
	.hm-maternity .wrap { grid-template-columns: 1fr; }
	.hm-wall { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
	.hm-wall__item:first-child { grid-row: auto; grid-column: span 2; }
	.hm-wall__item:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
	.hs-slider { height: auto; min-height: 600px; }
	.hs-slide__shade { background: linear-gradient(0deg, rgba(8,42,48,0.95) 0%, rgba(8,42,48,0.75) 55%, rgba(8,42,48,0.25) 100%); }
	.hs-slide { align-items: flex-end; }
	.hs-slider__controls { bottom: 58px; }
	.hs-slider__arrows { display: none; }
	.hs-slide__actions .btn, .hb-hero__actions .btn, .hm-tile__actions .btn { flex: 1 1 100%; }
	.hs-stat, .hb-number { padding: 18px 16px; }
	.hs-stat__value { font-size: 30px; }
	.hs-gallery { gap: 12px; }
	.hs-photo-stack .hs-photo-stack__inset { right: 0; }
	.hb-features .wrap { gap: 56px; padding-top: 56px; padding-bottom: 56px; }
	.hb-feature__media::after { display: none; }
	.hm-bento { grid-template-rows: auto 200px 160px 170px; }
	.hm-tile__big { font-size: 48px; }
	.hm-maternity__photos img { height: 220px; }
	.hm-maternity__photos img:last-child { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	.hs-slide, .hs-slide__img { transition: none; }
	.hs-slide.is-active .hs-slide__content > * { animation: none; }
	.hm-ticker__track { animation: none; }
	.hm-tile--photo img, .hm-service { transition: none; }
}
