:root {
    --red: #d32f2f;
    --red-dark: #a91f25;
    --navy: #101a3d;
    --navy-soft: #182650;
    --cyan: #00acc1;
    --ink: #1f2937;
    --muted: #64748b;
    --surface: #f7f9fc;
    --warm-surface: #fbfaf8;
    --border: #e3e8ef;
    --content-width: 1220px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { overflow-x: hidden; color: var(--ink); font-family: Inter, sans-serif; }
h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: Poppins, sans-serif; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; line-height: 1.14; }
.utility-bar { padding: .55rem 0; background: var(--red-dark); color: #fff; font-size: .84rem; }
.utility-bar a { color: #fff; font-weight: 600; text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }
.navbar { min-height: 78px; }
.navbar-brand img { width: auto; max-width: 190px; height: 48px; object-fit: contain; }
.navbar-brand strong { color: var(--navy); line-height: .85; }
.navbar-brand small { display: block; color: var(--red); font-size: .65em; }
.logo-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--navy)); color: #fff; font: 800 1.5rem Poppins, sans-serif; }
.nav-link { margin: 0 .3rem; color: var(--ink); font-weight: 600; }
.hero > .container,
.credibility-strip > .container,
.programs-section > .container,
.featured-campaign > .container,
.governance-section > .container,
.stories-section > .container,
.giving-section > .container,
.cta-banner > .container { width: min(100% - 40px, var(--content-width)); max-width: var(--content-width); margin-inline: auto; }
.section { padding-block: clamp(5rem, 7vw, 6.25rem); }
.eyebrow { display: inline-block; margin-bottom: .85rem; color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-intro { max-width: 760px; margin-inline: auto; }
.section-intro p,
.section-lead { margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

/* Hero */
.hero { display: flex; min-height: clamp(600px, 68vh, 680px); align-items: center; background-image: linear-gradient(90deg, rgba(7, 16, 45, .96) 0%, rgba(12, 27, 61, .87) 51%, rgba(12, 27, 61, .34) 100%), var(--hero-image); background-position: center 42%; background-size: cover; color: #fff; }
.hero-content { padding-block: 72px; }
.hero h1 { max-width: 680px; margin-bottom: 1.25rem; font-size: clamp(2.75rem, 5vw, 4.75rem); font-weight: 800; line-height: 1.04; text-wrap: balance; }
.hero p { max-width: 660px; margin-bottom: 1.8rem; color: #e2e8f0; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; }
.hero-badge { display: inline-flex; margin-bottom: 1.15rem; align-items: center; gap: .55rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: .5rem .9rem; background: rgba(255, 255, 255, .1); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; backdrop-filter: blur(4px); }
.hero-actions .btn { min-width: 180px; padding: .8rem 1.4rem; font-weight: 700; }

/* Credibility strip */
.credibility-strip { position: relative; z-index: 4; margin-top: -34px; background: transparent; }
.credibility-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.credibility-item { display: flex; min-width: 0; min-height: 100px; align-items: center; gap: .9rem; padding: 1.25rem; border: 1px solid var(--border); background: #fff; box-shadow: 0 12px 35px rgba(15, 23, 42, .09); }
.credibility-item:first-child { border-radius: 18px 0 0 18px; }
.credibility-item:last-child { border-radius: 0 18px 18px 0; }
.credibility-item > i { flex: 0 0 auto; color: #2e7d32; font-size: 1.2rem; }
.credibility-item h2 { margin: 0 0 .2rem; color: var(--navy); font-size: .92rem; line-height: 1.3; }
.credibility-item p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }

/* Programs */
.programs-section { padding-top: 7rem; background: #fff; }
.program-grid { display: grid; margin-top: 2.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.program-card { min-width: 0; border: 1px solid var(--border); border-radius: 20px; padding: 1.8rem; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .055); transition: transform .2s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, .1); }
.program-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 16px; background: #e0f7fa; color: var(--cyan); font-size: 1.65rem; }
.program-icon.red { background: #ffebee; color: var(--red); }
.program-icon.navy { background: #e8eaf6; color: var(--navy); }
.program-card h3 { margin: 1.15rem 0 .65rem; font-size: 1.08rem; font-weight: 700; }
.program-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* Project Dumagat */
.featured-campaign { padding-top: 0; background: #fff; }
.campaign-layout { display: grid; overflow: hidden; grid-template-columns: minmax(0, 1fr) minmax(390px, 1fr); align-items: stretch; border-radius: 28px; background: #0f172a; color: #fff; box-shadow: 0 20px 52px rgba(15, 23, 42, .18); }
.campaign-media { display: block; min-width: 0; }
.campaign-image { display: block; width: 100%; height: 100%; min-height: 520px; border-radius: 0; object-fit: cover; }
.campaign-placeholder,
.story-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #e0f7fa, #e8eaf6); color: var(--cyan); font-size: 4rem; }
.campaign-content { min-width: 0; padding: clamp(2.5rem, 4vw, 3.25rem); }
.campaign-content h2 { margin-bottom: 1rem; font-size: clamp(2.25rem, 4vw, 3.35rem); }
.campaign-content > .eyebrow { color: #f9b44d; }
.campaign-excerpt { margin-bottom: 0; color: #cbd5e1; font-size: 1rem; line-height: 1.75; }
.campaign-gift-card { margin-top: 1.5rem; border-radius: 20px; padding: 1.5rem; background: #fff; color: var(--ink); box-shadow: 0 14px 36px rgba(0, 0, 0, .2); }
.gift-card-heading { display: flex; align-items: center; justify-content: space-between; }
.gift-card-heading span { color: var(--muted); font-size: .78rem; }
.donation-amounts { display: grid; margin: 1.5rem 0 1.75rem; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.donation-chip { min-width: 0; border: 1px solid #d2d9e2; border-radius: 11px; padding: .7rem .45rem; background: #fff; color: var(--navy); font-weight: 800; transition: .2s; }
.donation-chip:hover,
.donation-chip:focus-visible { border-color: var(--red); background: #fff6f5; color: var(--red); }
.campaign-content > .btn { max-width: 100%; white-space: normal; }
.campaign-disclosure { display: flex; margin: 1.1rem 0 0; align-items: flex-start; gap: .55rem; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.campaign-disclosure i { flex: 0 0 auto; color: var(--red); }

/* Governance */
.governance-section { background: #fff7f7; color: var(--ink); }
.governance-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.governance-content { min-width: 0; }
.governance-section .section-lead { max-width: 690px; color: var(--muted); }
.governance-list { display: grid; margin-top: 2rem; grid-template-columns: 1fr; gap: 1.15rem; }
.governance-list article { display: flex; min-width: 0; gap: .9rem; }
.governance-list article > span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 50%; background: #dcfce7; color: #166534; }
.governance-list h3 { margin: 0 0 .4rem; font-size: .98rem; }
.governance-list p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.profile-card { min-width: 0; border: 1px solid #fecaca; border-radius: 22px; padding: 2rem; background: #fff; box-shadow: 0 16px 38px rgba(127, 29, 29, .08); }
.profile-badge { display: inline-flex; margin-bottom: 1rem; border-radius: 999px; padding: .4rem .75rem; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; }
.profile-card-heading { display: flex; margin-bottom: 1.25rem; align-items: center; gap: .7rem; font: 700 1.02rem Poppins, sans-serif; }
.profile-card-heading i { color: var(--red); font-size: 1.4rem; }
.profile-card dl { margin: 0; }
.profile-card dl > div { padding: .75rem 0; border-bottom: 1px solid var(--border); }
.profile-card dt { color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.profile-card dd { overflow-wrap: anywhere; margin: .2rem 0 0; color: var(--ink); font-size: .9rem; font-weight: 600; }
.profile-card .btn-outline-light { border-color: var(--red); color: var(--red); }
.profile-card .btn-outline-light:hover { background: var(--red); color: #fff; }
.profile-card .btn { margin-top: 1.4rem; }

/* Stories */
.stories-section { background: var(--surface); }
.story-grid { display: grid; margin-top: 2.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .065); }
.story-card:only-child { width: min(100%, 420px); justify-self: center; }
.story-card > img,
.story-placeholder { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story-body { padding: 1.5rem; }
.story-meta { display: flex; min-height: 1.2rem; justify-content: space-between; gap: .75rem; color: var(--muted); font-size: .72rem; }
.story-meta span { color: var(--red); font-weight: 800; }
.story-card h3 { margin: .75rem 0; font-size: 1.14rem; line-height: 1.42; }
.story-card p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.story-card a { display: inline-flex; align-items: center; gap: .35rem; color: var(--red); font-size: .86rem; font-weight: 800; text-decoration: none; }

/* Giving journey */
.giving-section { background: #fff; }
.journey-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.journey-intro p { color: var(--muted); line-height: 1.75; }
.journey-grid { position: relative; display: grid; gap: 1.5rem; }
.journey-grid::before { position: absolute; top: 24px; bottom: 24px; left: 24px; width: 2px; background: #fecaca; content: ""; }
.giving-step { position: relative; min-width: 0; padding-left: 72px; }
.step-number { position: absolute; z-index: 1; top: 0; left: 0; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--red); box-shadow: 0 7px 18px rgba(169, 31, 37, .22); color: #fff; font: 800 .9rem Poppins, sans-serif; }
.step-icon { display: inline-flex; margin-bottom: .75rem; color: var(--red); font-size: 1.25rem; }
.giving-step h3 { margin-bottom: .65rem; font-size: 1.08rem; }
.giving-step p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.payment-disclosure { display: flex; width: fit-content; max-width: 850px; margin: 2rem auto 0; align-items: flex-start; justify-content: center; gap: .6rem; border-radius: 12px; padding: .85rem 1.1rem; background: var(--surface); color: var(--muted); font-size: .84rem; }
.payment-disclosure i { flex: 0 0 auto; color: var(--red); }

/* Final CTA */
.cta-banner { padding-block: 4.5rem; background: #fff7f7; color: #fff; }
.cta-banner > .container { border-radius: 28px; padding: clamp(2.75rem, 6vw, 4rem); background: linear-gradient(135deg, #991b1b, #d32f2f); }
.cta-banner h2 { max-width: 780px; margin-inline: auto; }
.cta-banner p { max-width: 730px; margin: 1rem auto 1.8rem; color: rgba(255, 255, 255, .86); font-size: 1rem; line-height: 1.7; }
.cta-banner .btn { min-width: 180px; }
.honeypot { position: absolute !important; left: -10000px !important; }
.mobile-sticky-donate { display: none; }

/* Shared public layout */
.site-footer { background: #0f172a; color: #94a3b8; }
.site-footer h3, .site-footer h6 { color: #fff; }
.site-footer a { display: block; margin: .7rem 0; color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.social-links { display: flex; gap: .75rem; }
.social-links a { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #1e293b; color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; }
.article-hero { padding: 7rem 0 4rem; background: #0f172a; color: #fff; }
.article-content { max-width: 850px; }
.article-content img { max-width: 100%; border-radius: 20px; }
.article-body { font-size: 1.08rem; line-height: 1.85; white-space: pre-line; }

@media (max-width: 1199.98px) {
    .campaign-layout { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); }
    .campaign-content { padding: 2.1rem; }
    .governance-layout { gap: 40px; }
}

@media (max-width: 991.98px) {
    .utility-bar { display: none; }
    .navbar-collapse { padding: 1rem 0; }
    .section { padding-block: 4.5rem; }
    .hero { min-height: 610px; }
    .hero h1 { max-width: 630px; }
    .credibility-grid, .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .credibility-item:nth-child(2) { border-right: 0; }
    .credibility-item:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
    .campaign-layout, .governance-layout, .journey-layout { grid-template-columns: 1fr; }
    .campaign-media { max-width: 760px; margin-inline: auto; }
    .campaign-content { width: min(100%, 760px); margin-inline: auto; padding: 2.5rem; }
    .governance-layout { gap: 36px; }
    .profile-card { width: min(100%, 620px); }
    .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mobile-sticky-donate { position: fixed; z-index: 1040; right: 12px; bottom: 12px; left: 12px; display: block; }
    .mobile-sticky-donate .btn { width: 100%; border-radius: 999px; box-shadow: 0 8px 28px rgba(0, 0, 0, .25); }
    body { padding-bottom: 76px; }
    .site-footer { padding-bottom: 76px; }
}

@media (max-width: 767.98px) {
    .hero > .container,
    .credibility-strip > .container,
    .programs-section > .container,
    .featured-campaign > .container,
    .governance-section > .container,
    .stories-section > .container,
    .giving-section > .container,
    .cta-banner > .container { width: min(100% - 32px, var(--content-width)); }
    .section { padding-block: 3.75rem; }
    .hero { min-height: 590px; background-image: linear-gradient(90deg, rgba(7, 16, 45, .96), rgba(12, 27, 61, .73)), var(--hero-image); background-position: 58% center; }
    .hero-content { padding-block: 56px; }
    .hero h1 { font-size: clamp(2.35rem, 8vw, 3.4rem); }
    .program-grid, .story-grid { grid-template-columns: 1fr; }
    .program-card, .story-card { width: min(100%, 520px); justify-self: center; }
    .campaign-content { padding: 2rem; }
    .governance-list { grid-template-columns: 1fr; }
    .journey-layout { gap: 2rem; }
    .step-icon { margin-bottom: .6rem; }
    .payment-disclosure { margin-top: 2.25rem; text-align: left; }
}

@media (max-width: 479.98px) {
    .section { padding-block: 3.25rem; }
    .hero { min-height: 570px; }
    .hero h1 { font-size: clamp(2.15rem, 10.5vw, 2.85rem); }
    .hero-actions { width: 100%; }
    .hero-actions .btn { width: 100%; min-width: 0; }
    .credibility-grid { grid-template-columns: 1fr; }
    .credibility-item { min-height: 0; border-right: 0; border-bottom: 1px solid var(--border); padding: 1rem .75rem; }
    .credibility-item:last-child { border-bottom: 0; }
    .campaign-image { aspect-ratio: 4 / 3.2; border-radius: 18px; }
    .campaign-content { border-radius: 18px; padding: 1.5rem; }
    .campaign-content h2 { font-size: 2rem; }
    .donation-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .campaign-gift-card .btn { width: 100%; }
    .profile-card { padding: 1.5rem; }
    .giving-step { padding-right: 1.25rem; }
    .cta-banner .btn { width: 100%; }
}

@media (max-width: 374.98px) {
    .hero > .container,
    .credibility-strip > .container,
    .programs-section > .container,
    .featured-campaign > .container,
    .governance-section > .container,
    .stories-section > .container,
    .giving-section > .container,
    .cta-banner > .container { width: min(100% - 24px, var(--content-width)); }
    .hero h1 { font-size: 2.05rem; }
    .campaign-content { padding: 1.25rem; }
    .giving-step { padding-left: 4.25rem; }
    .step-number { width: 52px; height: 52px; }
}
