/* =========================================================
   People for Action — design system
   ========================================================= */

:root {
	--red: #be0901;
	--red-dark: #8f0700;
	--red-light: #fdece9;
	--ink: #201f22;
	--gray-900: #2b2b30;
	--gray-700: #52535a;
	--gray-500: #797a82;
	--gray-300: #cfd0d6;
	--gray-200: #e7e8ec;
	--gray-100: #f4f4f7;
	--white: #ffffff;
	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(20, 20, 25, .06), 0 1px 1px rgba(20, 20, 25, .04);
	--shadow-md: 0 10px 30px rgba(20, 20, 25, .10);
	--shadow-lg: 0 20px 45px rgba(20, 20, 25, .18);
	--container: 1160px;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
	--font-head: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	padding: 0;
	background: var(--gray-100);
	color: var(--gray-700);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { border: 0; max-width: 100%; height: auto; display: block; }
form { margin: 0; padding: 0; }
object { outline: none; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); text-decoration: underline; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.25;
	margin: 0 0 .6em;
}
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

input, select, textarea {
	padding: 6px 10px;
	font-size: 14px;
	font-family: inherit;
	border: 1px solid var(--gray-300);
	border-radius: var(--radius-sm);
}

ul { margin: 0; padding: 0; list-style: none; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section { padding: 3.25rem 0; }
.section h2 { margin-bottom: 1rem; }
.section-lead { max-width: 720px; color: var(--gray-500); }

.fl { float: left; }
.fr { float: right; }
.cleaner { clear: both; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	padding: .75rem 1.5rem;
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.5rem 0; }
.hero-actions.on-dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
.hero-actions.on-dark .btn-outline:hover { background: var(--white); color: var(--ink); }

/* =========================================================
   Header / navigation
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--gray-200);
}

.header-inner {
	position: relative;
	max-width: var(--container);
	margin: 0 auto;
	padding: .6rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; flex-shrink: 1; }
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; flex-shrink: 0; }
.brand-text { min-width: 0; }
.brand-text strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span { display: block; font-size: .72rem; color: var(--gray-500); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-toggle-input { display: none; }
.nav-toggle-btn {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	cursor: pointer;
}
.nav-toggle-btn span { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; }
.nav-toggle-btn:hover { background: var(--gray-100); }

nav.main-nav > ul { display: flex; align-items: center; gap: .1rem; }
nav.main-nav li { position: relative; }

nav.main-nav > ul > li > a,
nav.main-nav .nav-link {
	display: flex;
	align-items: center;
	gap: .3rem;
	padding: .7rem .9rem;
	color: var(--ink);
	text-decoration: none;
	font-size: .9rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
	cursor: pointer;
	white-space: nowrap;
	background: none;
	border: 0;
	font-family: inherit;
}
nav.main-nav .nav-link::after { content: "\25BE"; font-size: .65em; opacity: .7; }

nav.main-nav > ul > li > a:hover,
nav.main-nav .nav-link:hover,
nav.main-nav .nav-link[aria-expanded="true"] { background: var(--gray-100); color: var(--red); }

nav.main-nav a.nav-cta {
	background: var(--red);
	color: var(--white);
	padding: .6rem 1.1rem;
}
nav.main-nav a.nav-cta:hover { background: var(--red-dark); color: var(--white); }

.sub-menu {
	min-width: 230px;
	padding: .5rem;
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
}
.sub-menu li a {
	display: block;
	padding: .55rem .7rem;
	border-radius: var(--radius-sm);
	color: var(--gray-700);
	font-size: .88rem;
	text-decoration: none;
}
.sub-menu li a:hover { background: var(--red-light); color: var(--red); }

@media (min-width: 881px) {
	nav.main-nav li.has-sub > .sub-menu {
		position: absolute;
		top: calc(100% + 6px);
		left: 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
	}
	nav.main-nav li.has-sub:hover > .sub-menu,
	nav.main-nav li.has-sub.open > .sub-menu,
	nav.main-nav .nav-link[aria-expanded="true"] + .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

@media (max-width: 880px) {
	.nav-toggle-btn { display: flex; }

	nav.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: 0;
		overflow: hidden;
		background: var(--white);
		border-bottom: 1px solid var(--gray-200);
		box-shadow: var(--shadow-md);
		transition: max-height .25s ease;
	}
	.nav-toggle-input:checked ~ nav.main-nav { max-height: 80vh; overflow-y: auto; }

	nav.main-nav > ul { flex-direction: column; align-items: stretch; padding: .5rem; gap: 0; }
	nav.main-nav > ul > li { width: 100%; }
	nav.main-nav > ul > li > a,
	nav.main-nav .nav-link { padding: .8rem .75rem; }
	nav.main-nav .sub-menu {
		box-shadow: none;
		border: 0;
		border-radius: 0;
		padding-left: .75rem;
		margin-top: 0;
		display: none;
	}
	nav.main-nav li.has-sub.open > .sub-menu,
	nav.main-nav .nav-link[aria-expanded="true"] + .sub-menu { display: block; }
	nav.main-nav a.nav-cta { display: block; text-align: center; margin: .4rem .25rem; }
}

@media (max-width: 420px) {
	.brand img { height: 36px; }
	.brand-text span { display: none; }
	.header-inner { gap: .5rem; padding: .5rem .9rem; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
	background: radial-gradient(120% 160% at 15% 0%, #3a0f0d 0%, var(--ink) 55%, #141316 100%);
	color: var(--white);
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	align-items: center;
	gap: 2.5rem;
	padding: 4rem 1.5rem;
}
.hero .eyebrow {
	display: inline-block;
	padding: .35rem .9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .02em;
	margin-bottom: 1.1rem;
}
.hero h1 { color: var(--white); }
.hero p { color: rgba(255, 255, 255, .78); max-width: 560px; font-size: 1.05rem; }

.hero-stats { display: flex; gap: 2.2rem; margin: 0; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stats > div { }
.hero-stats dt { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--white); }
.hero-stats dd { margin: 0; font-size: .78rem; color: rgba(255,255,255,.65); }

.hero-visual { display: flex; justify-content: center; }
.hero-visual img {
	width: 100%;
	max-width: 320px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 860px) {
	.hero-inner { grid-template-columns: 1fr; padding: 2.75rem 1.5rem; text-align: left; }
	.hero-visual { order: -1; }
	.hero-visual img { max-width: 240px; }
	.hero-stats { flex-wrap: wrap; row-gap: 1rem; }
}

/* =========================================================
   Content sections
   ========================================================= */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.75rem;
	align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.video-frame {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	background: #000;
	aspect-ratio: 16 / 10;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.check-list li {
	position: relative;
	padding: .5rem 0 .5rem 2rem;
	color: var(--gray-700);
}
.check-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: .45rem;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: var(--red-light);
	color: var(--red);
	font-size: .75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mission {
	background: var(--white);
	border-top: 1px solid var(--gray-200);
	border-bottom: 1px solid var(--gray-200);
}
.mission .container { max-width: 820px; text-align: center; }
.mission h2::after {
	content: "";
	display: block;
	width: 46px;
	height: 3px;
	background: var(--red);
	margin: .7rem auto 0;
	border-radius: 3px;
}
.mission p { font-size: 1.15rem; color: var(--gray-700); }

.callout-card {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 2rem;
	align-items: center;
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-left: 5px solid var(--red);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	box-shadow: var(--shadow-md);
}
.callout-img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.callout-body .tag {
	display: inline-block;
	background: var(--red-light);
	color: var(--red-dark);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: .3rem .7rem;
	border-radius: 999px;
	margin-bottom: .6rem;
}
.helpline-number { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--red); letter-spacing: .03em; margin: .2rem 0 1rem; }
@media (max-width: 720px) { .callout-card { grid-template-columns: 1fr; } }

.about-figures {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin-top: 1.75rem;
}
.about-figures img {
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	padding: 1.25rem;
	margin: 0 auto;
	box-shadow: var(--shadow-sm);
}
@media (max-width: 620px) { .about-figures { grid-template-columns: 1fr; } }

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.25rem;
}
.feature-card {
	display: block;
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--red); text-decoration: none; }
.feature-card h3 { color: var(--red); margin-bottom: .4rem; }
.feature-card p { margin: 0; color: var(--gray-500); font-size: .92rem; }

.partners { background: var(--white); border-top: 1px solid var(--gray-200); }
.logo-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2.25rem 2.75rem;
}
.logo-grid img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .15s ease, opacity .15s ease; }
.logo-grid img:hover { filter: grayscale(0); opacity: 1; }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero {
	background: linear-gradient(135deg, var(--ink) 0%, #3a0f0d 100%);
	color: var(--white);
	padding: 2.75rem 0;
}
.page-hero .eyebrow {
	display: inline-block;
	padding: .3rem .8rem;
	border-radius: 999px;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.18);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .02em;
	margin-bottom: .9rem;
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; margin: 0; }

.page-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 2.5rem;
	align-items: start;
}
@media (max-width: 900px) { .page-layout { grid-template-columns: 1fr; } }

.page-content { max-width: 780px; color: var(--gray-700); }
.page-content h2 { margin-top: 2rem; color: var(--red); font-size: 1.25rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin: 0 0 1em; }
.page-content ul, .page-content ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: .5rem; }
.page-content ul ul, .page-content ol ul { margin-top: .5rem; margin-bottom: .5rem; }
.page-content strong { color: var(--ink); }
.page-content .lead { font-size: 1.1rem; color: var(--ink); }
.page-content img.content-figure {
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	padding: 6px;
	background: var(--white);
	max-width: 280px;
}
.page-content img.content-figure.float-right { float: right; margin: 0 0 1.25rem 1.5rem; }
.page-content img.content-figure.float-left { float: left; margin: 0 1.5rem 1.25rem 0; }
.page-content img.content-figure.wide { max-width: 100%; }
.page-content .content-banner {
	background: var(--red);
	text-align: center;
	border-radius: var(--radius);
	padding: 1rem;
	margin-bottom: 1.5rem;
}
.page-content .content-banner img { border-radius: var(--radius-sm); margin: 0 auto; }
.page-content .clearfix::after { content: ""; display: block; clear: both; }

.stat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem 1.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.stat-list li { padding-left: 1.6rem; position: relative; }
.stat-list li::before {
	content: "\2713";
	position: absolute;
	left: 0; top: .1em;
	color: var(--red);
	font-weight: 700;
}

.download-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0;
}
.download-card {
	display: block;
	text-decoration: none;
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .15s ease, box-shadow .15s ease;
}
.download-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.download-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.download-card .download-caption { padding: .75rem .9rem; font-size: .85rem; color: var(--gray-700); line-height: 1.45; }
.download-card .download-caption strong { display: block; color: var(--ink); font-size: .88rem; margin-bottom: .15rem; }

.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list .contact-label { min-width: 90px; font-weight: 700; color: var(--ink); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Photo gallery grid + lightbox */
.gallery-album { margin-bottom: 2.5rem; }
.gallery-album h2 { color: var(--red); margin-bottom: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.gallery-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

dialog.lightbox {
	border: 0;
	padding: 0;
	background: transparent;
	max-width: 94vw;
	max-height: 94vh;
}
dialog.lightbox::backdrop { background: rgba(10, 9, 11, .92); }
dialog.lightbox img { display: block; margin: 0 auto; max-width: 90vw; max-height: 90vh; border-radius: var(--radius-sm); }
.lightbox-close, .lightbox-prev, .lightbox-next {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,.12);
	color: var(--white);
	border: 1px solid rgba(255,255,255,.25);
	font-size: 1.3rem;
	cursor: pointer;
	line-height: 1;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.1rem; } }

/* =========================================================
   Sidebar (used on inner pages)
   ========================================================= */
.side-panel { display: flex; flex-direction: column; gap: 1.25rem; }
.side-block {
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	padding: 1.1rem;
	box-shadow: var(--shadow-sm);
}
.side-block h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--red); margin-bottom: .75rem; }
.side-links li { border-top: 1px solid var(--gray-100); }
.side-links li:first-child { border-top: 0; }
.side-links a {
	display: block;
	padding: .55rem .1rem;
	color: var(--gray-700);
	font-size: .9rem;
	text-decoration: none;
}
.side-links a:hover { color: var(--red); }
.side-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.side-gallery img { border-radius: var(--radius-sm); border: 1px solid var(--gray-200); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); margin-top: 2rem; }
.footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2rem;
	padding: 2.75rem 1.5rem;
}
.footer-brand { display: flex; gap: .85rem; align-items: flex-start; }
.footer-brand img { background: var(--white); border-radius: var(--radius-sm); padding: 3px; }
.footer-brand strong { display: block; color: var(--white); font-family: var(--font-head); margin-bottom: .35rem; }
.footer-brand p { font-size: .82rem; margin: 0; color: rgba(255,255,255,.55); }

.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); }

.footer-contact { display: flex; flex-direction: column; gap: .55rem; font-size: .9rem; }
.footer-contact a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-contact span { color: rgba(255,255,255,.55); }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	padding: 1rem 1.5rem;
	font-size: .78rem;
	text-align: center;
	color: rgba(255,255,255,.5);
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }

/* =========================================================
   Legacy compatibility (pages not yet migrated to the new
   template still render inside #wrapper / #boxContent tables)
   ========================================================= */
#wrapper {
	max-width: var(--container);
	margin: 0 auto;
	background: var(--white);
	text-align: left;
	color: var(--gray-700);
	box-shadow: var(--shadow-sm);
}
#boxContent { padding: 2rem 1.5rem 2.5rem; }
#boxContent table { width: 100%; border-collapse: collapse; }
#boxContent td { vertical-align: top; }

.txtHeadingPage {
	font-family: var(--font-head);
	padding: 0 0 1rem;
	margin-bottom: 1.25rem;
	color: var(--ink);
	font-size: 1.7rem;
	font-weight: 700;
	border-bottom: 2px solid var(--gray-200);
}
.txtHeadingPage::after { content: none; }

.txtHeadingSmall {
	padding: .5rem 0;
	color: var(--red);
	font-size: 1.05rem;
	font-weight: 700;
}
