:root {
    --bg: #fbfcf8;
    --surface: #ffffff;
    --surface-soft: #f4f8ef;
    --text: #17221a;
    --muted: #68766b;
    --border: #dfe8dc;
    --shadow: 0 18px 50px rgba(35, 76, 42, .10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
}

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

.container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.site-header {
    background: var(--primary-dark);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    min-width: 260px;
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.brand-mark {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, .18);
}

.brand-text strong,
.brand strong {
    display: block;
    font-size: 17px;
    line-height: 1.2;
    color: #ffffff;
}

.brand-text small,
.brand small {
    display: block;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.35;
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 999px;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
}

.nav-menu .nav-cta {
    background: var(--secondary);
    color: #1b1b1b;
    padding: 10px 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.nav-toggle {
    display: none;
    background: transparent;
    color: #ffffff;
    border: 0;
    font-size: 28px;
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 92px 0 84px;
    background:
        radial-gradient(circle at top right, rgba(217,183,111,.35), transparent 34%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,.05) 25%, transparent 25%);
    background-size: 44px 44px;
    opacity: .35;
}

.hero > * {
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 42px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    margin: 0 0 18px;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: 18px;
    max-width: 620px;
    opacity: .95;
}

.eyebrow {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 900;
    font-size: 12px;
    margin: 0 0 10px;
}

.hero-actions,
.cta-actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
}

.btn.primary {
    background: var(--secondary);
    color: #1b1b1b;
}

.btn.ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.28);
}

.btn.ghost.dark {
    color: var(--primary-dark);
    border-color: var(--border);
    background: #fff;
}

.hero-card {
    background: rgba(255,255,255,.13);
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 18px 60px rgba(0,0,0,.15);
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 12px;
}

.card-title-row h3 {
    margin: 0;
    font-size: 28px;
}

.card-title-row a {
    color: #fff;
    font-weight: 800;
}

.prayer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.prayer-grid div {
    background: rgba(255,255,255,.15);
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);
}

.prayer-grid span {
    display: block;
    opacity: .82;
    font-size: 13px;
}

.prayer-grid strong {
    display: block;
    font-size: 28px;
    line-height: 1.2;
}

.prayer-grid.big div {
    background: var(--surface-soft);
    color: var(--text);
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 74px 0;
}

.section.soft {
    background: #f4f8ef;
}

.stats-section {
    padding: 28px 0 0;
    margin-top: -54px;
    position: relative;
    z-index: 5;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 26px;
    gap: 16px;
}

.section-head.center {
    display: block;
    text-align: center;
    max-width: 760px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -.03em;
}

.section-head p {
    color: var(--muted);
}

.link-more {
    font-weight: 900;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stats div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.stats span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.stats strong {
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -.03em;
    color: var(--primary-dark);
}

.feature-grid,
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card,
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.feature-card {
    padding: 28px;
}

.feature-card span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--surface-soft);
    color: var(--primary);
    border-radius: 14px;
    font-weight: 900;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.feature-card p,
.card p {
    color: var(--muted);
}

.card img {
    height: 210px;
    width: 100%;
    object-fit: cover;
    background: var(--surface-soft);
}

.card-body {
    padding: 22px;
}

.card h3 {
    margin: 10px 0;
    line-height: 1.25;
    font-size: 21px;
}

.card a {
    font-weight: 900;
}

.badge {
    display: inline-block;
    background: #e9f3e6;
    color: var(--primary-dark);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.cta {
    background:
        radial-gradient(circle at top right, rgba(217,183,111,.30), transparent 36%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: 32px;
    padding: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow);
}

.cta h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
}

.cta p {
    max-width: 680px;
}

/* =========================
   PAGES
========================= */

.page-header {
    background: linear-gradient(135deg, #edf5e9, #fff);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
    letter-spacing: -.04em;
}

.prose {
    max-width: 900px;
    font-size: 17px;
}

.prose h2,
.prose h3 {
    line-height: 1.25;
}

.detail-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 28px;
    margin-bottom: 26px;
    box-shadow: var(--shadow);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
}

th,
td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: var(--surface-soft);
    color: var(--primary-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid figure {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--surface-soft);
}

.gallery-grid figcaption {
    padding: 16px;
}

.gallery-grid span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.map-embed iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.donation-box {
    background: var(--surface-soft);
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--border);
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: var(--footer);
    color: #dceee0;
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr .8fr;
    gap: 32px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex: 0 0 auto;
}

.footer-brand h3 {
    margin: 0 0 8px;
}

.footer-brand p {
    margin: 0;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin-top: 0;
}

.site-footer a {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    padding: 18px;
    margin-top: 34px;
    color: #c9d9cd;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .hero-grid,
    .cards,
    .gallery-grid,
    .footer-grid,
    .stats,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 78px;
        background: var(--primary-dark);
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 0 0 20px 20px;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: var(--shadow);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        color: #ffffff;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .footer-brand {
        align-items: center;
    }
}
