/* Kumbuka Wazee Initiative
 * All colours, fonts and corner styles come from the CSS variables printed in
 * the page head (Dashboard → Theme & colours), so this file never needs editing
 * to re-theme the site.
 */

:root {
    --primary: #c2502d; --on-primary: #fff;
    --secondary: #1f4d3a; --on-secondary: #fff;
    --accent: #e9a23b; --on-accent: #1a1612;
    --bg: #fbf7f1; --ink: #231f1c;
    --font-head: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --radius: 22px; --radius-btn: 999px;

    --surface: color-mix(in srgb, var(--bg) 35%, #fff);
    --tint: color-mix(in srgb, var(--primary) 7%, var(--bg));
    --tint-2: color-mix(in srgb, var(--accent) 16%, var(--bg));
    --muted: color-mix(in srgb, var(--ink) 66%, var(--bg));
    --line: color-mix(in srgb, var(--ink) 11%, transparent);
    --primary-dark: color-mix(in srgb, var(--primary) 82%, #000);
    --primary-soft: color-mix(in srgb, var(--primary) 12%, var(--bg));
    --secondary-dark: color-mix(in srgb, var(--secondary) 80%, #000);
    --shadow-sm: 0 2px 8px color-mix(in srgb, var(--ink) 7%, transparent);
    --shadow: 0 18px 40px -18px color-mix(in srgb, var(--ink) 28%, transparent);
    --shadow-lg: 0 34px 70px -30px color-mix(in srgb, var(--secondary) 45%, transparent);
    --nav-h: 78px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--font-body); font-size: 17px; line-height: 1.65;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
em.hl, .hl { font-style: italic; color: var(--primary); }
strong { font-weight: 700; }
::selection { background: color-mix(in srgb, var(--accent) 45%, transparent); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 3px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.sec-tight { padding: clamp(48px, 6vw, 72px) 0; }
.sec-alt { background: var(--tint); }
.sec-white { background: var(--surface); }
.sec-dark { background: var(--secondary); color: var(--on-secondary); }
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4 { color: var(--on-secondary); }
.sec-dark .lead, .sec-dark .muted { color: color-mix(in srgb, var(--on-secondary) 72%, transparent); }
.sec-dark .hl { color: var(--accent); }
.sec-dark a:not(.btn) { color: var(--accent); }
.sec-dark::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
    background-image: radial-gradient(currentColor 1.2px, transparent 1.4px); background-size: 22px 22px;
}
.sec > .container { position: relative; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { max-width: 760px; margin-left: auto; margin-right: auto; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
    font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-dark .eyebrow { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: var(--radius-btn); border: 2px solid transparent;
    font-family: var(--font-body); font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn i { font-size: .9em; transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-primary:hover { background: var(--primary-dark); color: var(--on-primary); }
.btn-dark { background: var(--secondary); color: var(--on-secondary); }
.btn-dark:hover { background: var(--secondary-dark); color: var(--on-secondary); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #000); color: var(--on-accent); }
.btn-outline { border-color: color-mix(in srgb, var(--ink) 20%, transparent); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--secondary); }
.btn-light:hover { color: var(--primary); }
.sec-dark .btn-outline, .cta-band .btn-outline { border-color: color-mix(in srgb, var(--on-secondary) 35%, transparent); color: var(--on-secondary); }
.sec-dark .btn-outline:hover, .cta-band .btn-outline:hover { border-color: var(--on-secondary); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: transform .25s var(--ease); font-size: .85em; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Announcement bar & navigation ---------- */
.announce { background: var(--secondary); color: var(--on-secondary); font-size: .86rem; text-align: center; padding: 9px 16px; }
.announce a { color: var(--accent); font-weight: 700; margin-left: 6px; }
#navbar {
    position: sticky; top: 0; z-index: 50; height: var(--nav-h);
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
#navbar.navbar-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px color-mix(in srgb, var(--ink) 40%, transparent); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand-mark {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
    background: var(--primary); color: var(--on-primary); font-size: 1.15rem; position: relative;
}
.brand-mark::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 70%, transparent); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.28rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text span { font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--primary); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a.nav-link {
    padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s;
}
.nav-links a.nav-link:hover, .nav-links a.nav-link.active { background: var(--primary-soft); color: var(--primary-dark); }
.nav-links .btn { margin-left: 10px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.mobile-menu {
    position: fixed; inset: 0; z-index: 60; background: var(--secondary); color: var(--on-secondary);
    display: flex; flex-direction: column; padding: 22px 24px 40px; transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .mm-top { display: flex; justify-content: flex-end; }
.mobile-menu .mm-close { background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
.mobile-menu nav a:not(.btn) { color: var(--on-secondary); text-decoration: none; font-family: var(--font-head); font-size: 1.9rem; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--on-secondary) 12%, transparent); }
.mobile-menu nav .btn { margin-top: 22px; align-self: flex-start; }
body.menu-open { overflow: hidden; }
@media (max-width: 1060px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%;
    background: radial-gradient(circle closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: 1.22rem; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-trust > * { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.hero-trust i { color: var(--secondary); font-size: 1.05rem; }

.hero-collage { position: relative; min-height: 560px; }
.hero-collage .hc-main {
    position: absolute; right: 0; top: 0; width: 74%; height: 92%; object-fit: cover; object-position: center 20%;
    border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow-lg);
}
.hero-collage .hc-a, .hero-collage .hc-b { position: absolute; object-fit: cover; border: 6px solid var(--bg); box-shadow: var(--shadow); }
.hero-collage .hc-a { left: 0; top: 10%; width: 40%; aspect-ratio: 1; border-radius: 50%; }
.hero-collage .hc-b { left: 4%; bottom: 0; width: 42%; aspect-ratio: 4/3; border-radius: var(--radius); }
.hero-badge {
    position: absolute; right: -2%; bottom: 6%; z-index: 2; background: var(--surface); border-radius: calc(var(--radius) * .8); padding: 16px 20px;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 270px;
}
.hero-badge .hb-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); flex-shrink: 0; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2; }
.hero-badge span { font-size: .82rem; color: var(--muted); }
.float-animation { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-collage { min-height: 0; aspect-ratio: 1 / 1.02; max-width: 560px; width: 100%; margin: 0 auto; }
}

/* ---------- Inner page banner ---------- */
.banner { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; background: var(--tint); }
.banner::after {
    content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); width: 140%; height: 70px;
    background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.banner .container { position: relative; z-index: 1; }
.banner h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.banner-photo { padding-bottom: clamp(80px, 9vw, 120px); background: var(--secondary); color: var(--on-secondary); }
.banner-photo h1 { color: var(--on-secondary); }
.banner-photo .lead, .banner-photo .crumbs, .banner-photo .crumbs a { color: color-mix(in srgb, var(--on-secondary) 78%, transparent); }
.banner-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-wide { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }
.split-img { position: relative; }
.split-img img { width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.split-img.arch img { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 4.8; }
.split-img .stamp {
    position: absolute; left: -18px; bottom: 28px; background: var(--primary); color: var(--on-primary); padding: 18px 22px;
    border-radius: calc(var(--radius) * .8); box-shadow: var(--shadow); max-width: 220px;
}
.split-img .stamp strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; margin-bottom: 4px; }
.split-img .stamp span { font-size: .85rem; opacity: .9; }
@media (max-width: 640px) { .split-img .stamp { left: 12px; } }

.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .72rem; flex-shrink: 0; margin-top: 4px;
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary);
}
.sec-dark .checks li::before { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }

/* ---------- Cards ---------- */
.card {
    background: var(--surface); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); height: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.icon-badge {
    width: 58px; height: 58px; border-radius: calc(var(--radius) * .7); display: grid; place-items: center; margin-bottom: 22px;
    background: var(--primary-soft); color: var(--primary); font-size: 1.35rem;
}
.grid > :nth-child(3n+2) .icon-badge { background: color-mix(in srgb, var(--secondary) 12%, var(--bg)); color: var(--secondary); }
.grid > :nth-child(3n+3) .icon-badge { background: var(--tint-2); color: color-mix(in srgb, var(--accent) 70%, #000); }
.sec-dark .card { background: color-mix(in srgb, var(--on-secondary) 6%, transparent); border-color: color-mix(in srgb, var(--on-secondary) 12%, transparent); }
.sec-dark .card p { color: color-mix(in srgb, var(--on-secondary) 72%, transparent); }
.sec-dark .card .icon-badge { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }

/* Programme cards with photo */
.photo-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.photo-card > img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.photo-card .pc-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.photo-card .pc-body p { color: var(--muted); font-size: .97rem; }
.photo-card .pc-body .link-arrow { margin-top: auto; padding-top: 10px; }
.tag {
    display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); margin-bottom: 14px;
}

/* Fundraising projects (GlobalGiving style) */
.project-card .pc-body h3 { font-size: 1.25rem; }
.fund { margin: 6px 0 20px; }
.fund-track { height: 10px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; margin-bottom: 10px; }
.fund-track .progress-bar { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.fund-meta { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--muted); margin: 0; }
.fund-meta strong { color: var(--ink); }
.project-card .btn { width: 100%; margin-top: auto; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 10px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--primary); margin-bottom: 10px; font-weight: 600; }
.stat p { color: var(--muted); font-size: .95rem; margin: 0; }
.sec-dark .stat { border-color: color-mix(in srgb, var(--on-secondary) 16%, transparent); }
.sec-dark .stat .num { color: var(--accent); }
.sec-dark .stat p { color: color-mix(in srgb, var(--on-secondary) 75%, transparent); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

/* ---------- Founder / quote ---------- */
.quote-mark { font-size: 2.4rem; color: var(--accent); margin-bottom: 12px; }
blockquote { margin: 0 0 26px; font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.35; font-weight: 500; }
.signature { display: flex; align-items: center; gap: 14px; }
.signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.signature strong { display: block; font-size: 1.05rem; }
.signature span { color: var(--muted); font-size: .9rem; }
.sec-dark .signature span { color: color-mix(in srgb, var(--on-secondary) 70%, transparent); }

.testimonial { background: var(--surface); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; }
.testimonial p { font-size: 1.05rem; }
.testimonial .who { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: .95rem; }
.testimonial .who span { display: block; font-weight: 500; color: var(--muted); font-size: .86rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); opacity: .45; }
.tl-item { position: relative; padding-left: 82px; }
.tl-item .tl-dot {
    position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface); border: 2px solid var(--primary); color: var(--primary); font-size: 1.05rem;
}
.tl-item .tl-when { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px; }
.tl-item h3 { margin-bottom: 6px; }
.tl-item p { color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: block; columns: 3 300px; column-gap: 18px; }
.gallery img { width: 100%; margin: 0 0 18px; border-radius: calc(var(--radius) * .75); break-inside: avoid; cursor: zoom-in; transition: transform .4s var(--ease), box-shadow .4s; }
.gallery img:hover { transform: scale(1.015); box-shadow: var(--shadow); }
.photo-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) * .75); cursor: zoom-in; }
.photo-strip img:first-child { grid-row: span 2; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; } .photo-strip img:first-child { grid-column: span 2; grid-row: auto; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 8, 6, .92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }

/* ---------- Donate ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .3s var(--ease); height: 100%; }
.tier:hover { border-color: var(--primary); transform: translateY(-3px); }
.tier .amount { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--primary); line-height: 1; margin-bottom: 12px; }
.tier .amount small { font-size: .9rem; font-family: var(--font-body); color: var(--muted); font-weight: 600; }
.tier p { color: var(--muted); font-size: .95rem; }
.tier.featured { background: var(--secondary); color: var(--on-secondary); border-color: var(--secondary); }
.tier.featured .amount { color: var(--accent); }
.tier.featured p { color: color-mix(in srgb, var(--on-secondary) 76%, transparent); }

.give-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); color: var(--ink); }
.give-box .gb-head { background: var(--primary); color: var(--on-primary); padding: 22px 28px; display: flex; align-items: center; gap: 14px; }
.give-box .gb-head i { font-size: 1.5rem; }
.give-box .gb-head strong { font-family: var(--font-head); font-size: 1.3rem; display: block; line-height: 1.2; }
.give-box .gb-head span { font-size: .88rem; opacity: .88; }
.give-box .gb-body { padding: 26px 28px 30px; }
.give-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.give-row:last-of-type { border-bottom: 0; }
.give-row span { color: var(--muted); font-size: .92rem; }
.give-row strong { font-size: 1.1rem; letter-spacing: .02em; text-align: right; }
.give-row .copy { background: var(--primary-soft); color: var(--primary-dark); border: 0; border-radius: 999px; padding: 4px 10px; font-size: .75rem; font-weight: 700; cursor: pointer; margin-left: 8px; }
.give-steps { margin: 18px 0 0; padding-left: 20px; color: var(--muted); font-size: .92rem; }
.give-steps li { margin-bottom: 4px; }
.give-note { font-size: .86rem; color: var(--muted); margin-top: 16px; }

/* ---------- Call to action band ---------- */
.cta-band {
    background: var(--primary); color: var(--on-primary); border-radius: calc(var(--radius) * 1.4); padding: clamp(40px, 6vw, 72px);
    display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 45%, transparent); filter: blur(10px); opacity: .55; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--on-primary); margin-bottom: 10px; }
.cta-band p { color: color-mix(in srgb, var(--on-primary) 85%, transparent); margin: 0; font-size: 1.1rem; }
.cta-band .btn-light { color: var(--primary-dark); }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * .7); padding: 20px 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--primary); transition: transform .3s; font-size: .85rem; }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); padding: 20px 22px; border-radius: calc(var(--radius) * .75); border: 1px solid var(--line); }
.contact-item .icon-badge { width: 46px; height: 46px; margin: 0; font-size: 1.05rem; flex-shrink: 0; }
.contact-item h4 { margin: 0 0 2px; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-item p { margin: 0; font-weight: 600; }
.form-card { background: var(--surface); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
    border-radius: calc(var(--radius) * .5); padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.req { color: var(--primary); }
.alert { padding: 16px 18px; border-radius: calc(var(--radius) * .5); margin-bottom: 18px; font-weight: 600; }
.alert-error { background: #fdecea; color: #9b2c1f; }
.form-success { text-align: center; padding: 20px 10px; }
.form-success .icon-badge { margin: 0 auto 16px; background: color-mix(in srgb, var(--secondary) 14%, var(--bg)); color: var(--secondary); }
.map-embed iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- Photos inserted from the editor ---------- */
.img-inline { width: 100%; border-radius: var(--radius); margin: 26px 0; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--secondary-dark); color: color-mix(in srgb, var(--on-secondary) 76%, transparent); padding: 84px 0 34px; position: relative; font-size: .96rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--on-secondary); margin-bottom: 20px; }
.site-footer .brand-text span { color: var(--accent); }
.site-footer h4 { font-family: var(--font-body); color: var(--on-secondary); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact i { color: var(--accent); margin-top: 5px; width: 16px; text-align: center; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--on-secondary) 9%, transparent); color: var(--on-secondary); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--primary); color: var(--on-primary); transform: translateY(-2px); }
.foot-donate { background: color-mix(in srgb, var(--on-secondary) 7%, transparent); border-radius: var(--radius); padding: 24px; }
.foot-donate p { margin-bottom: 14px; }
.foot-donate .pb { font-family: var(--font-head); font-size: 1.25rem; color: var(--on-secondary); }
.foot-bottom { border-top: 1px solid color-mix(in srgb, var(--on-secondary) 12%, transparent); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .86rem; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; }

#backToTop {
    position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .3s var(--ease);
}
#backToTop.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Scroll animations ---------- */
.animate-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.animate-on-scroll.from-left { transform: translateX(-36px); }
.animate-on-scroll.from-right { transform: translateX(36px); }
.animate-on-scroll.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; } .delay-3 { transition-delay: .3s; }
html.cms-editing .animate-on-scroll { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* Error page */
.notfound { text-align: center; padding: 120px 0; }
.sec-head-row h2 { margin-bottom: 0; }

/* ---------- Video ---------- */
.video-wrap { max-width: 1040px; margin: 0 auto; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) * 1.2); overflow: hidden; background: var(--secondary-dark); box-shadow: var(--shadow-lg); }
.video-frame img, .video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.video-frame img { filter: saturate(1.05); }
.video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--secondary-dark) 70%, transparent), transparent 55%); pointer-events: none; }
.video-frame.playing::after, .video-frame:has(video)::after { display: none; }
.video-play, .video-soon {
    position: absolute; inset: 0; z-index: 2; border: 0; background: none; cursor: pointer; color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; font: inherit;
}
.video-soon { cursor: default; justify-content: flex-end; padding-bottom: 34px; }
.vp-circle {
    width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem;
    background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 12px color-mix(in srgb, var(--primary) 30%, transparent);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.vp-circle i.fa-play { margin-left: 5px; }
.video-soon .vp-circle { width: 64px; height: 64px; font-size: 1.3rem; box-shadow: none; background: color-mix(in srgb, #fff 18%, transparent); color: #fff; }
.video-play:hover .vp-circle { transform: scale(1.07); box-shadow: 0 0 0 18px color-mix(in srgb, var(--primary) 26%, transparent); }
.vp-label { font-weight: 700; font-size: 1.05rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.video-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 30px; }
.video-points > * { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
.video-points i { color: var(--primary); }
.sec-dark .video-points > * { color: color-mix(in srgb, var(--on-secondary) 78%, transparent); }
.sec-dark .video-points i { color: var(--accent); }
@media (max-width: 600px) { .vp-circle { width: 70px; height: 70px; font-size: 1.4rem; } }
