/* ==========================================================================
   M Noor Foundation — main stylesheet
   1. Tokens        5. Header / nav      9. Blog
   2. Base          6. Front page       10. Forms
   3. Layout        7. Interior pages   11. Footer
   4. Buttons       8. Donate           12. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--brand:       #0F7A57;
	--brand-600:   #0C6549;
	--brand-700:   #094E39;
	--brand-050:   #EAF6F1;
	--brand-100:   #D5EDE3;

	--accent:      #F0A63C;
	--accent-600:  #DA8F22;

	--ink:         #0E1F1A;
	--body:        #4A5C56;
	--muted:       #788A84;
	--line:        #E2ECE8;
	--bg:          #FFFFFF;
	--soft:        #F5FAF8;

	--radius:      16px;
	--radius-lg:   24px;
	--radius-sm:   10px;

	--shadow-sm:   0 1px 2px rgba(14, 31, 26, .06), 0 2px 8px rgba(14, 31, 26, .04);
	--shadow:      0 4px 12px rgba(14, 31, 26, .07), 0 12px 32px rgba(14, 31, 26, .06);
	--shadow-lg:   0 16px 48px rgba(14, 31, 26, .14);

	--wrap:        1200px;
	--narrow:      760px;

	--font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--ease: cubic-bezier(.4, 0, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--body);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.15em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

blockquote {
	margin: 1.8rem 0;
	padding: .2rem 0 .2rem 1.4rem;
	border-left: 3px solid var(--accent);
	font-size: 1.1rem;
	color: var(--ink);
}

code, pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .92em;
}
pre {
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 1rem 1.2rem;
	overflow-x: auto;
}

table { width: 100%; border-collapse: collapse; }
th, td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--brand);
	color: #fff;
	padding: .8rem 1.2rem;
	border-radius: 0 0 var(--radius-sm) 0;
	text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 17px; height: 17px; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 24px;
}
.narrow { max-width: var(--narrow); margin-inline: auto; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft  { background: var(--soft); }
.section--brand { background: var(--brand-700); color: rgba(255,255,255,.82); }

.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
	flex-wrap: wrap;
}

.section__title { margin-bottom: .4em; }
.section__title--sm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.5rem; }
.section__title--light { color: #fff; }
.section__lead { font-size: 1.06rem; color: var(--body); }

.eyebrow {
	margin: 0 0 .7rem;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--brand);
}
.eyebrow--light { color: var(--accent); }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .78rem 1.5rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: .96rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }

.btn--accent { background: var(--accent); color: #40270A; }
.btn--accent:hover { background: var(--accent-600); color: #40270A; }

.btn--outline { background: transparent; color: var(--brand-600); border-color: var(--line); }
.btn--outline:hover { background: var(--brand-050); border-color: var(--brand-100); color: var(--brand-700); }

.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.32); }
.btn--ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; }

.btn--lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	color: var(--brand-600);
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--sm { font-size: .9rem; }

/* 5. Header / nav ---------------------------------------------------------- */
.topbar {
	background: var(--brand-700);
	color: rgba(255,255,255,.78);
	font-size: .85rem;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 42px;
	flex-wrap: wrap;
}
.topbar__tag { margin: 0; }
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__contact a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: rgba(255,255,255,.86);
	text-decoration: none;
}
.topbar__contact a:hover { color: #fff; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255,255,255,.92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.brand__link {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	text-decoration: none;
	color: var(--ink);
}
.brand__mark { color: var(--brand); width: 38px; height: 38px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__tag { font-size: .74rem; color: var(--muted); font-weight: 500; }

.custom-logo-link img { max-height: 54px; width: auto; }

.site-nav { margin-left: auto; }
.nav-list, .nav-list-wrap ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list a, .nav-list-wrap a {
	display: block;
	padding: .55rem .85rem;
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav-list a:hover, .nav-list-wrap a:hover { background: var(--brand-050); color: var(--brand-700); }
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list-wrap .current_page_item > a { background: var(--brand-050); color: var(--brand-700); }

/* Dropdowns */
.nav-list li { position: relative; }
.nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px;
	margin: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-list .sub-menu a { border-radius: var(--radius-sm); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-donate-mobile { display: none; }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	background: var(--brand-050);
	border: 1px solid var(--brand-100);
	border-radius: 12px;
	color: var(--brand-700);
	cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* 6. Front page ------------------------------------------------------------ */
.hero {
	position: relative;
	color: rgba(255,255,255,.88);
	overflow: hidden;
}
.hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 420px at 82% 8%, rgba(240,166,60,.26), transparent 60%),
		radial-gradient(700px 500px at 8% 92%, rgba(255,255,255,.12), transparent 60%),
		linear-gradient(140deg, #0F7A57 0%, #0B5B42 48%, #073C2C 100%);
}
.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
	background-size: 26px 26px;
	opacity: .5;
	mask-image: linear-gradient(to bottom, #000, transparent 75%);
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.35fr .95fr;
	gap: 56px;
	align-items: center;
	padding: clamp(64px, 9vw, 110px) 24px clamp(72px, 10vw, 120px);
}

.hero__title { color: #fff; margin-bottom: .45em; }
.hero__text { font-size: 1.1rem; max-width: 46ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }

.hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero__points li {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: .95rem;
	color: rgba(255,255,255,.86);
}
.hero__points .icon { color: var(--accent); }

.hero__card {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 30px;
	box-shadow: var(--shadow-lg);
	color: var(--body);
}
.hero__card-title { font-size: 1.15rem; margin-bottom: 1.1rem; }
.hero__card-note { margin: .9rem 0 0; font-size: .84rem; color: var(--muted); text-align: center; }

.give-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 14px; }
.give-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: baseline;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.give-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.give-list__amt { font-weight: 800; color: var(--brand-700); font-size: 1rem; white-space: nowrap; }
.give-list__what { font-size: .92rem; }

/* Stats */
.stats { background: var(--brand-700); }
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: rgba(255,255,255,.14);
	border-radius: var(--radius);
	overflow: hidden;
	margin-block: 0;
	transform: translateY(-38px);
	box-shadow: var(--shadow-lg);
}
.stat {
	background: #fff;
	padding: 28px 22px;
	text-align: center;
}
.stat__value {
	display: block;
	font-size: clamp(1.7rem, 3.2vw, 2.4rem);
	font-weight: 800;
	color: var(--brand-700);
	letter-spacing: -.03em;
	line-height: 1.1;
}
.stat__label { display: block; margin-top: .3rem; font-size: .88rem; color: var(--muted); font-weight: 600; }

/* Split sections */
.split {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.split--reverse .split__media { order: 2; }
.split--reverse .split__body { order: 1; }

.split__media { position: relative; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media-frame svg { width: 100%; height: auto; display: block; }

.media-badge {
	position: absolute;
	right: -12px;
	bottom: -22px;
	background: #fff;
	border-radius: var(--radius);
	padding: 16px 20px;
	box-shadow: var(--shadow);
	max-width: 210px;
}
.media-badge__num { display: block; font-weight: 800; color: var(--brand-700); }
.media-badge__txt { display: block; font-size: .84rem; color: var(--muted); }

.check-list { list-style: none; margin: 1.6rem 0; padding: 0; display: grid; gap: 16px; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.check-list .icon {
	color: var(--brand);
	background: var(--brand-050);
	border-radius: 50%;
	padding: 5px;
	width: 26px; height: 26px;
	margin-top: 2px;
}
.check-list strong { display: block; color: var(--ink); }
.check-list span { font-size: .95rem; }

/* Cards */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
}
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	margin-bottom: 18px;
	background: var(--brand-050);
	color: var(--brand);
	border-radius: 14px;
}
.card__title { font-size: 1.15rem; margin-bottom: .5rem; }
.card__text { font-size: .96rem; margin-bottom: 1rem; }
.card__meta {
	margin: 0;
	padding-top: .9rem;
	border-top: 1px solid var(--line);
	font-size: .82rem;
	color: var(--muted);
	font-weight: 600;
}

/* Allocation bars */
.bars { display: grid; gap: 20px; margin-top: 2rem; }
.bar__head { display: flex; justify-content: space-between; margin-bottom: .45rem; font-size: .93rem; }
.bar__label { font-weight: 600; color: var(--ink); }
.bar__pct { font-weight: 700; color: var(--brand-600); }
.bar__track { height: 9px; background: var(--brand-050); border-radius: 999px; overflow: hidden; }
.bar__fill {
	display: block;
	height: 100%;
	width: var(--pct);
	border-radius: 999px;
	background: linear-gradient(90deg, var(--brand), var(--brand-600));
	transform-origin: left;
	animation: barGrow .9s var(--ease) both;
}
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Quote */
.quote-card {
	background: var(--brand-700);
	color: rgba(255,255,255,.9);
	border-radius: var(--radius-lg);
	padding: 36px;
	box-shadow: var(--shadow);
}
.quote-card__icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 1rem; }
.quote-card blockquote { margin: 0 0 1.4rem; padding: 0; border: 0; font-size: 1.1rem; color: #fff; }
.quote-card__by strong { display: block; color: #fff; }
.quote-card__by span { font-size: .87rem; color: rgba(255,255,255,.66); }

/* Ways to help */
.ways__head { max-width: 640px; margin-bottom: 44px; }
.ways__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.way {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--radius-lg);
	padding: 28px;
}
.way h3 { color: #fff; }
.way p { font-size: .95rem; margin-bottom: 1.2rem; }
.way .link-arrow { color: var(--accent); }

/* CTA strip */
.cta-strip { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%); color: rgba(255,255,255,.85); }
.cta-strip__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-block: clamp(40px, 6vw, 64px);
	flex-wrap: wrap;
}
.cta-strip__title { color: #fff; margin-bottom: .35em; }
.cta-strip__text { max-width: 56ch; margin: 0; }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 7. Interior pages -------------------------------------------------------- */
.page-banner {
	position: relative;
	background: linear-gradient(140deg, var(--brand-700), #073C2C);
	color: rgba(255,255,255,.82);
	padding: clamp(48px, 6vw, 76px) 0;
	overflow: hidden;
}
.page-banner::after {
	content: "";
	position: absolute;
	right: -60px; top: -60px;
	width: 320px; height: 320px;
	border-radius: 50%;
	background: rgba(240,166,60,.16);
}
.page-banner .wrap { position: relative; }
.page-banner__title { color: #fff; margin: 0 0 .3em; }
.page-banner__sub { max-width: 62ch; margin: 0; font-size: 1.03rem; }

.crumbs { display: flex; gap: .5rem; font-size: .85rem; margin-bottom: 1rem; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.86); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 2.2rem; }
.entry-content h3 { margin-top: 1.8rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content--intro .lead,
.entry-content--intro > p:first-child { font-size: 1.12rem; color: var(--ink); }
.entry-content img { border-radius: var(--radius); }
.entry-media { margin: 0 0 2rem; }
.entry-media img { border-radius: var(--radius-lg); width: 100%; }

.entry-meta {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: .92rem;
}

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.value {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}
.value__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	margin-bottom: 12px;
	background: var(--brand-050);
	color: var(--brand);
	border-radius: 50%;
}
.value h3 { font-size: 1.05rem; }
.value p { font-size: .94rem; margin: 0; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 20px; }
.steps li {
	position: relative;
	counter-increment: step;
	padding-left: 62px;
}
.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0; top: 0;
	width: 42px; height: 42px;
	display: flex; align-items: center; justify-content: center;
	background: var(--brand-050);
	color: var(--brand-700);
	border-radius: 50%;
	font-weight: 800;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.steps p { font-size: .95rem; margin: 0; }

.steps--timeline { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }

/* Programs */
.program-list { display: grid; gap: 20px; }
.program {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 28px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 32px;
}
.program--alt { background: var(--soft); }
.program__aside { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.program__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px; height: 64px;
	background: var(--brand-050);
	color: var(--brand);
	border-radius: 18px;
}
.program__icon .icon { width: 30px; height: 30px; }
.program__num { font-size: 1.6rem; font-weight: 800; color: var(--brand-100); letter-spacing: -.03em; }
.program__title { font-size: 1.35rem; margin-bottom: .3rem; }
.program__meta { font-size: .82rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .9rem; }
.program__text { margin-bottom: 1.1rem; }

/* Get involved */
.involve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.involve {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.involve:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.involve__title { font-size: 1.2rem; }
.involve__text { font-size: .96rem; margin-bottom: 1.2rem; }

.note-box {
	margin-top: 2.5rem;
	background: var(--brand-050);
	border: 1px solid var(--brand-100);
	border-left: 4px solid var(--brand);
	border-radius: var(--radius);
	padding: 24px 28px;
}
.note-box h3 { font-size: 1.08rem; }
.note-box p { font-size: .96rem; margin-bottom: 0; }
.note-box .btn { margin-top: 1.2rem; }
.note-box--wide { margin-top: 40px; }

/* 8. Donate ---------------------------------------------------------------- */
.donate-layout {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 1.8rem; }
.tier {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.tier:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.tier__amt { display: block; font-size: 1.3rem; font-weight: 800; color: var(--brand-700); letter-spacing: -.02em; }
.tier__title { font-size: 1rem; margin: .35rem 0 .4rem; }
.tier__text { font-size: .9rem; margin: 0; }

.donate-side { position: sticky; top: 100px; }

.bank-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow);
}
.bank-card__title {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: 1.12rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}
.bank-card__title .icon { color: var(--brand); }

.bank-list { margin: 0; }
.bank-row { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.bank-row:last-child { border-bottom: 0; }
.bank-row dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.bank-row dd {
	margin: .2rem 0 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.bank-value { font-weight: 700; color: var(--ink); word-break: break-all; }

.copy-btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px; height: 32px;
	padding: 0;
	background: var(--brand-050);
	color: var(--brand-600);
	border: 1px solid var(--brand-100);
	border-radius: 9px;
	cursor: pointer;
	transition: background-color .18s var(--ease);
}
.copy-btn:hover { background: var(--brand-100); }
.copy-btn.is-copied { background: var(--brand); color: #fff; border-color: var(--brand); }

.bank-empty { font-size: .92rem; color: var(--muted); }

.wallet-block { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.wallet-block h3 { display: flex; align-items: center; gap: .45rem; font-size: .95rem; margin-bottom: .4rem; }
.wallet-number { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; color: var(--ink); margin: 0; }

.bank-note {
	margin-top: 1.2rem;
	font-size: .87rem;
	color: var(--muted);
	background: var(--soft);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
}
.bank-actions { margin-top: 1.2rem; display: grid; gap: 10px; }
.bank-call { text-align: center; font-size: .88rem; margin: .3rem 0 0; color: var(--muted); }

/* 9. Blog ------------------------------------------------------------------ */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 24px; }

.post-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__link { display: block; text-decoration: none; color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; background: var(--brand-050); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder svg { width: 100%; height: 100%; display: block; }
.post-card__body { padding: 24px; }
.post-card__date { font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .05em; }
.post-card__title { font-size: 1.15rem; margin-bottom: .5rem; }
.post-card__excerpt { font-size: .94rem; margin-bottom: 1rem; }

.pagination { margin-top: 48px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px; height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	color: var(--ink);
}
.pagination .page-numbers:hover { background: var(--brand-050); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-weight: 600;
	font-size: .94rem;
}
.post-nav a { text-decoration: none; }
.post-nav__next { margin-left: auto; text-align: right; }

.empty-state { text-align: center; max-width: 560px; margin-inline: auto; padding: 40px 0; }
.empty-state__code { font-size: 4rem; font-weight: 800; color: var(--brand-100); margin: 0; line-height: 1; }
.empty-state__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.search-again { max-width: 460px; margin: 1.5rem auto 2.5rem; }

/* 10. Forms ---------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: start; }

.contact-cards { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 16px; }
.contact-card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
}
.contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	background: var(--brand-050);
	color: var(--brand);
	border-radius: 12px;
}
.contact-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.contact-card p { font-size: .94rem; margin: 0; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.contact-form-wrap {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 3vw, 36px);
	box-shadow: var(--shadow-sm);
}
.contact-form-wrap .section__title--sm { margin-top: 0; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 16px; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: #C0392B; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="search"], input[type="password"], input[type="number"], select, textarea {
	width: 100%;
	padding: .72rem .9rem;
	font: inherit;
	font-size: .95rem;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(15,122,87,.14);
}
textarea { resize: vertical; min-height: 130px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A5C56' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.field--submit { margin-bottom: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-notice {
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	margin-bottom: 1.4rem;
	font-size: .94rem;
	font-weight: 500;
}
.form-notice--ok  { background: var(--brand-050); border: 1px solid var(--brand-100); color: var(--brand-700); }
.form-notice--bad { background: #FDECEA; border: 1px solid #F5C6C0; color: #A03024; }

.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; }
.search-submit {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	background: var(--brand);
	color: #fff;
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
}
.search-submit:hover { background: var(--brand-600); }

.map-section iframe { display: block; }

/* Comments */
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-form .form-submit { margin-bottom: 0; }
.comment-form input[type="submit"] {
	padding: .78rem 1.5rem;
	background: var(--brand);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* 11. Footer --------------------------------------------------------------- */
.site-footer { background: #072B20; color: rgba(255,255,255,.68); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 48px;
}
.brand__link--footer { color: #fff; margin-bottom: 1rem; }
.brand__link--footer .brand__mark { color: var(--accent); }
.footer-about { font-size: .93rem; }

.footer-title { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem; }

.footer-links, .footer-links-wrap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .footer-links-wrap a {
	color: rgba(255,255,255,.7);
	text-decoration: none;
	font-size: .93rem;
}
.footer-links a:hover, .footer-links-wrap a:hover { color: var(--accent); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: .93rem; }
.footer-contact .icon { color: var(--accent); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }

.social-list { list-style: none; display: flex; gap: 10px; margin: 1.4rem 0 0; padding: 0; }
.social-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	background: rgba(255,255,255,.08);
	border-radius: 50%;
	color: rgba(255,255,255,.8);
	transition: background-color .18s var(--ease), color .18s var(--ease);
}
.social-list a:hover { background: var(--accent); color: #40270A; }

.footer-widgets { margin-top: 1.5rem; }
.footer-widgets .widget-title { color: #fff; font-size: .95rem; }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 22px 24px;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: .86rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom__note { color: rgba(255,255,255,.45); }

/* WhatsApp ----------------------------------------------------------------- */
:root { --wa: #25D366; --wa-dark: #1DA851; }

.btn--wa { background: var(--wa); color: #06301B; }
.btn--wa:hover { background: var(--wa-dark); color: #06301B; }

.topbar__wa .icon { color: var(--wa); }

.social-list__wa:hover { background: var(--wa); color: #fff; }

.wa-inline { display: inline-flex; align-items: center; gap: .4rem; }
.wa-inline .icon { color: var(--wa); }

.wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	height: 56px;
	padding: 0 18px 0 15px;
	background: var(--wa);
	color: #fff;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	font-size: .95rem;
	box-shadow: 0 6px 20px rgba(37, 211, 102, .38), 0 2px 6px rgba(0, 0, 0, .18);
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.wa-float:hover {
	background: var(--wa-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(37, 211, 102, .46), 0 3px 8px rgba(0, 0, 0, .2);
}
.wa-float .icon { width: 27px; height: 27px; }

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__card { max-width: 460px; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); transform: translateY(-28px); }
	.donate-layout { grid-template-columns: 1fr; }
	.donate-side { position: static; }
	.bank-card { max-width: 520px; }
	.contact-layout { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
	.header-donate { display: none; }
	.nav-toggle { display: inline-flex; }

	.site-nav {
		position: fixed;
		inset: 0 0 auto;
		top: var(--nav-top, 118px);
		max-height: calc(100vh - var(--nav-top, 118px));
		overflow-y: auto;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		padding: 16px 24px 24px;
		display: none;
	}
	.site-nav.is-open { display: block; }

	.nav-list, .nav-list-wrap ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav-list a, .nav-list-wrap a { padding: .8rem 1rem; border-radius: var(--radius-sm); }

	.nav-list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--line);
		border-radius: 0;
		padding: 4px 0 4px 12px;
		margin-left: 12px;
	}

	.nav-donate-mobile { display: flex; margin-top: 14px; }

	.split, .split--reverse .split__media, .split--reverse .split__body { grid-template-columns: 1fr; order: initial; }
	.split { grid-template-columns: 1fr; }
	.media-badge { position: static; margin-top: 16px; max-width: none; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar__inner { justify-content: center; text-align: center; }
	.topbar__tag { display: none; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.program { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
	.program__aside { flex-direction: row; align-items: center; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-strip__inner { flex-direction: column; align-items: flex-start; }
	.steps li { padding-left: 54px; }
	.hero__actions .btn, .cta-strip__actions .btn { flex: 1 1 auto; }

	/* Collapse the floating button to a circle so it never covers content. */
	.wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; padding: 0; justify-content: center; gap: 0; }
	.wa-float__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
