/* ============================================================
   PAPRA Modern Home Template
   Palette: sky-blue + dark navy (AMR Care brand)
   ============================================================ */

:root {
	--mh-navy:      #0d1b3e;
	--mh-navy-mid:  #122050;
	--mh-teal:      #1a9ed4;
	--mh-teal-dark: #1480b0;
	--mh-orange:    #e8734a;
	--mh-white:     #ffffff;
	--mh-light:     #e8f5fc;
	--mh-text:      #0d1b3e;
	--mh-muted:     #5a6e85;
	--mh-border:    #b8ddf0;
	--mh-radius:    14px;
}

.mh-wrap {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--mh-text);
	overflow-x: hidden;
}

.mh-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */

.mh-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 28px;
	border-radius: 99px;
	font-size: .95rem;
	font-weight: 700;
	text-decoration: none;
	transition: all .2s;
	white-space: nowrap;
	cursor: pointer;
}

.mh-btn--primary {
	background: var(--mh-teal);
	color: var(--mh-white);
}
.mh-btn--primary:hover { background: var(--mh-teal-dark); color: var(--mh-white); }

.mh-btn--outline {
	background: transparent;
	color: var(--mh-white);
	border: 2px solid rgba(255,255,255,.5);
}
.mh-btn--outline:hover { background: rgba(255,255,255,.1); color: var(--mh-white); border-color: var(--mh-white); }

.mh-btn--dark {
	background: var(--mh-navy);
	color: var(--mh-white);
}
.mh-btn--dark:hover { background: #0a1c2e; color: var(--mh-white); }

.mh-btn--white {
	background: var(--mh-white);
	color: var(--mh-navy);
}
.mh-btn--white:hover { background: var(--mh-light); color: var(--mh-navy); }

.mh-btn--sm {
	padding: 8px 18px;
	font-size: .82rem;
	background: var(--mh-teal);
	color: var(--mh-white);
}
.mh-btn--sm:hover { background: var(--mh-teal-dark); color: var(--mh-white); }

/* ── Hero ────────────────────────────────────────────────── */

.mh-hero {
	background: linear-gradient(135deg, #0d1b3e 0%, #0e2d5a 50%, #1060a0 100%);
	padding: 80px 0 0;
	position: relative;
	overflow: hidden;
}

.mh-hero::before {
	content: '';
	position: absolute;
	top: -80px;
	right: -80px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(74,198,185,.12) 0%, transparent 70%);
	pointer-events: none;
}

.mh-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	padding-bottom: 60px;
}

.mh-hero__eyebrow {
	display: inline-block;
	background: rgba(74,198,185,.2);
	color: var(--mh-teal);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 99px;
	margin-bottom: 20px;
}

.mh-hero__title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--mh-white);
	line-height: 1.2;
	margin: 0 0 20px;
}

.mh-hero__title--accent {
	color: var(--mh-teal);
}

.mh-hero__desc {
	color: rgba(255,255,255,.75);
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0 0 32px;
	max-width: 460px;
}

.mh-hero__ctas {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* ── Hero Grid ───────────────────────────────────────────── */

.mh-hero__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 180px;
	gap: 10px;
	min-height: 370px;
}

.mh-card {
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	transition: transform .2s;
	display: block;
	text-decoration: none;
	color: inherit;
}

.mh-card:hover { transform: scale(1.02); }

.mh-card--featured {
	grid-column: span 2;
}

.mh-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mh-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 16px;
}

.mh-card__placeholder-text {
	color: rgba(255,255,255,.95);
	font-size: .85rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 4px;
}

.mh-card__brand {
	color: rgba(255,255,255,.6);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mh-card__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
	padding: 20px 12px 10px;
	color: #fff;
	font-size: .8rem;
	font-weight: 600;
	opacity: 0;
	transition: opacity .2s;
}

.mh-card:hover .mh-card__overlay { opacity: 1; }

/* ── Wave ────────────────────────────────────────────────── */

.mh-hero__wave {
	line-height: 0;
}

.mh-hero__wave svg {
	display: block;
	width: 100%;
	height: 60px;
}

/* ── Stats ───────────────────────────────────────────────── */

.mh-stats {
	background: var(--mh-light);
	padding: 48px 0;
}

.mh-stats__row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.mh-stat {
	background: var(--mh-white);
	border-radius: var(--mh-radius);
	padding: 28px 20px;
	text-align: center;
	box-shadow: 0 2px 12px rgba(26,158,212,.12);
	border-bottom: 4px solid var(--mh-teal);
	border-top: 1px solid var(--mh-border);
	transition: transform .2s;
}

.mh-stat:hover { transform: translateY(-3px); }

.mh-stat__icon { font-size: 1.8rem; margin-bottom: 8px; }
.mh-stat__value { font-size: 1.6rem; font-weight: 800; color: var(--mh-navy); margin-bottom: 4px; }
.mh-stat__label { font-size: .8rem; color: var(--mh-muted); font-weight: 500; }

/* ── Mission ─────────────────────────────────────────────── */

.mh-mission {
	padding: 80px 0;
	background: var(--mh-white);
}

.mh-mission__inner {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 64px;
	align-items: start;
}

.mh-mission__left {
	position: sticky;
	top: 100px;
}

.mh-section-title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	color: var(--mh-navy);
	line-height: 1.25;
	margin: 0 0 28px;
}

.mh-mission__right p {
	color: var(--mh-muted);
	line-height: 1.8;
	margin-bottom: 16px;
	font-size: .97rem;
}

.mh-mission__tags {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 24px;
}

.mh-tag {
	background: var(--mh-light);
	color: var(--mh-navy);
	border: 1.5px solid var(--mh-border);
	border-radius: 99px;
	padding: 6px 14px;
	font-size: .82rem;
	font-weight: 600;
}

/* ── Events ──────────────────────────────────────────────── */

.mh-events {
	padding: 80px 0;
	background: var(--mh-light);
}

.mh-section-header {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}

.mh-eyebrow {
	display: inline-block;
	background: rgba(74,198,185,.15);
	color: var(--mh-teal-dark);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 99px;
}

.mh-section-link {
	margin-left: auto;
	color: var(--mh-teal-dark);
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
}
.mh-section-link:hover { text-decoration: underline; }

.mh-events__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.mh-event-card {
	background: var(--mh-white);
	border-radius: var(--mh-radius);
	overflow: hidden;
	box-shadow: 0 2px 16px rgba(0,0,0,.07);
	transition: transform .2s, box-shadow .2s;
}

.mh-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.mh-event-card__thumb {
	height: 180px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mh-event-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mh-event-card__icon { font-size: 2.5rem; }

.mh-event-card__body { padding: 20px; }

.mh-event-card__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--mh-navy);
	margin: 0 0 10px;
	line-height: 1.4;
}

.mh-event-card__meta {
	font-size: .8rem;
	color: var(--mh-muted);
	margin: 0 0 4px;
}

.mh-event-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--mh-border);
}

.mh-event-card__price {
	font-weight: 700;
	color: var(--mh-teal-dark);
	font-size: .9rem;
}

.mh-event-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 99px;
	font-size: .72rem;
	font-weight: 700;
}

.mh-badge--open   { background: #dcfce7; color: #16a34a; }
.mh-badge--closed { background: #fee2e2; color: #dc2626; }

/* ── Donate CTA ──────────────────────────────────────────── */

.mh-donate-cta {
	background: linear-gradient(135deg, var(--mh-navy) 0%, #122050 100%);
	padding: 72px 0;
}

.mh-donate-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.mh-donate-cta__text h2 {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--mh-white);
	margin: 0 0 12px;
}

.mh-donate-cta__text p {
	color: rgba(255,255,255,.7);
	max-width: 520px;
	line-height: 1.7;
	margin: 0;
	font-size: .95rem;
}

/* ── Page Content ────────────────────────────────────────── */

.mh-page-content {
	padding: 60px 0;
	background: var(--mh-white);
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
	.mh-stats__row { grid-template-columns: repeat(2, 1fr); }
	.mh-hero__grid { grid-template-rows: repeat(2, 150px); }
}

@media (max-width: 768px) {
	.mh-hero { padding: 48px 0 0; }
	.mh-hero__inner { grid-template-columns: 1fr; gap: 32px; }
	.mh-hero__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 130px); }
	.mh-card--featured { grid-column: span 2; }
	.mh-mission__inner { grid-template-columns: 1fr; gap: 32px; }
	.mh-mission__left { position: static; }
	.mh-events__grid { grid-template-columns: 1fr; }
	.mh-donate-cta__inner { flex-direction: column; text-align: center; }
	.mh-stats__row { grid-template-columns: repeat(2, 1fr); }
	.mh-section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	.mh-stats__row { grid-template-columns: 1fr; }
	.mh-hero__grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 160px); }
	.mh-card--featured { grid-column: span 1; }
	.mh-hero__ctas { flex-direction: column; }
	.mh-btn { justify-content: center; }
}
