/* Giving Relief theme — main styles */
:root {
	--dark: #1B3D27;
	--green: #2E6B45;
	--lime: #82C82D;
	--lime-ink: #1B3D27;
	--bg: #F4F8F0;
	--ink: #16241B;
	--muted: #5A6960;
	--line: #DCE6D3;
	--tint: #E4F1D6;
	--pale: #CFE3C8;
	--white: #FFFFFF;
	--radius: 16px;
	--wrap: 1200px;
	--gut: 24px;
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--dark); }
p { margin: 0 0 1em; }
.ic { width: 20px; height: 20px; flex-shrink: 0; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }
.section { padding: 88px 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--green); color: var(--white); }
.section--dark h2 { color: var(--white); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.link-arrow { font-weight: 700; text-underline-offset: 4px; }
.placeholder { background: #FFF6D6; outline: 1px dashed #D6B54A; padding: 0 4px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { background: #8fd43a; }
.btn--green { background: var(--green); color: var(--white); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--block { display: flex; width: 100%; }
.btn--sq { border-radius: 12px; }

/* Top bar & header */
.topbar { background: var(--dark); color: #DDEBD6; font-size: 13px; }
.topbar__in { height: 40px; display: flex; align-items: center; justify-content: space-between; }
.topbar__l, .topbar__r { display: flex; gap: 22px; align-items: center; }
.topbar a { color: #DDEBD6; text-decoration: none; }
.topbar__ar { color: var(--white) !important; font-weight: 600; }
.topbar__sep { opacity: .5; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__in { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 56px; width: auto; }
.mainnav { display: flex; align-items: center; gap: 36px; flex: 1; justify-content: space-between; margin-left: 48px; }
.mainnav__list { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.mainnav__list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.mainnav__list a:hover, .mainnav__list .current-menu-item a { color: var(--green); }
.mainnav__cta { display: flex; gap: 12px; }
.mainnav__cta .btn { height: 48px; padding: 0 22px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--dark); cursor: pointer; }
.menu-btn .ic { width: 28px; height: 28px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--bg); }
.hero__text { padding: 96px 64px 80px max(var(--gut), calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 28px; }
.hero__lead { font-size: 20px; color: #33412F; max-width: 540px; margin-bottom: 36px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__btns .btn { height: 56px; padding: 0 30px; font-size: 17px; }
.trustline { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.trustline span { display: inline-flex; gap: 8px; align-items: center; }
.trustline .ic { color: var(--green); width: 18px; height: 18px; }
.hero__media { position: relative; overflow: hidden; background: #CBD9BF center/cover no-repeat; display: flex; align-items: flex-end; padding: 32px; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: relative; z-index: 1; background: rgba(27, 61, 39, .92); color: var(--white); border-radius: 14px; padding: 20px 24px; max-width: 420px; }
.hero__caption small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--pale); margin-bottom: 6px; }
.hero__caption p { margin: 0; font-size: 21px; line-height: 1.3; }
@media (prefers-reduced-motion: reduce) { .hero__media video { display: none; } }

/* Quick donate */
.quick { background: var(--white); padding: 48px 0; border-bottom: 1px solid var(--line); }
.quick__in { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.quick h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.quick__intro p { color: var(--muted); font-size: 15px; }
.quick__form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px 20px; align-items: end; }
.field label, .field .lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field select, .field input { width: 100%; height: 52px; border: 1.5px solid #C3D1B8; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; background: var(--white); color: var(--ink); }
.seg { display: flex; background: var(--bg); border-radius: 10px; padding: 4px; gap: 4px; }
.seg button { flex: 1; height: 44px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--green); color: var(--white); font-weight: 600; }
.amts { display: flex; gap: 10px; flex-wrap: wrap; }
.amts button { height: 52px; min-width: 88px; padding: 0 16px; border-radius: 10px; border: 1.5px solid #C3D1B8; background: var(--white); font: inherit; font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; }
.amts button[aria-pressed="true"] { border: 2px solid var(--green); background: var(--tint); color: var(--dark); font-weight: 700; }
.quick__amts { grid-column: 1 / 3; display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.quick__amts .field { width: 130px; }
.quick__go { grid-column: 3; }
.quick__go .btn { width: 100%; height: 52px; border-radius: 10px; }
.quick__hint { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; color: var(--dark); font-weight: 600; font-size: 14px; margin: 0; }
.quick__hint .ic { color: var(--green); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card__img { height: 240px; background: #C3D3B5 center/cover no-repeat; }
.card__img--info { background-color: var(--dark); background-size: contain; }
.card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card__tag { font-size: 12px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.card h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.card p { color: #3B4A40; font-size: 15px; }
.card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid #E3EBDB; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }

/* Impact numbers */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { border-top: 1px solid rgba(255,255,255,.25); padding-top: 20px; }
.stat b { display: block; font-size: clamp(48px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat span { color: var(--pale); font-size: 16px; }
.section--dark .link-arrow { color: var(--white); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.step__n { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; }
.step:last-child .step__n { background: var(--lime); color: var(--dark); }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: #3B4A40; font-size: 15px; margin: 0; }

/* Update + zakat */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.panel__img { height: 240px; background: #C3D3B5 center/cover no-repeat; }
.panel__body { padding: 28px 32px 32px; }
.panel h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.panel--tint { background: var(--tint); padding: 40px; justify-content: center; }
.panel--tint h3 { font-size: 34px; }
.panel--tint .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.meta { font-size: 12px; font-weight: 700; color: var(--green); margin-bottom: 8px; }

/* Partners */
.partners { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.partner { background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; gap: 28px; align-items: center; }
.partner__logo { width: 120px; height: 120px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.partner__logo img { max-width: 92px; max-height: 92px; object-fit: contain; }
.partner__logo span { font-weight: 800; font-size: 26px; color: var(--green); letter-spacing: .04em; }
.partner h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.partner small { display: block; font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.partner p { color: #3B4A40; font-size: 15px; margin: 0; }
.partner--cta { flex-direction: column; align-items: flex-start; justify-content: center; background: var(--dark); color: var(--white); }
.partner--cta h3 { color: var(--white); }
.partner--cta p { color: var(--pale); margin-bottom: 16px; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust b, .trust a { display: block; font-weight: 700; color: var(--dark); font-size: 15px; margin-bottom: 4px; }
.trust span { color: var(--muted); font-size: 13px; }

/* Newsletter */
.news { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.news h2 { font-size: 32px; font-weight: 800; margin-bottom: 6px; }
.news p { color: var(--muted); margin: 0; }
.news form { display: flex; gap: 10px; flex-wrap: wrap; }
.news input { height: 52px; min-width: 300px; border: 1.5px solid #C3D1B8; border-radius: 999px; padding: 0 20px; font: inherit; }

/* Footer */
.site-footer { background: var(--dark); color: #DDEBD6; padding: 64px 0 24px; margin-top: 0; }
.site-footer a { color: #DDEBD6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand img { height: 56px; width: auto; margin-bottom: 12px; }
.site-footer__slogan { font-style: italic; font-weight: 600; color: var(--white); }
.site-footer__h { color: var(--white); font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer__social { display: flex; gap: 16px; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding-top: 20px; font-size: 13px; }
.site-footer__links { display: flex; gap: 20px; }
.site-footer__links a { text-decoration: underline; }
.mobile-donate { display: none; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--dark); color: var(--white); padding: 12px 20px; border-radius: 10px; z-index: 99; font-size: 14px; }

/* Page hero (inner pages) */
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.crumbs a { color: var(--muted); }
.page-top { padding: 24px 0 72px; }
.page-top__grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.page-top h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 16px; }
.page-top__lead { font-size: 19px; color: #33412F; max-width: 640px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pill { background: var(--tint); color: var(--dark); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.media { border-radius: var(--radius); background: #C3D3B5 center/cover no-repeat; min-height: 300px; }
.media--info { background-color: var(--dark); background-size: contain; }
.box { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 36px rgba(27,61,39,.08); position: sticky; top: 112px; }
.box__label { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 8px; }
.box__price { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; color: var(--dark); line-height: 1; }
.box__price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.box p { color: var(--muted); font-size: 14px; margin: 12px 0 16px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; margin-bottom: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
.ticks { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid #E3EBDB; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.ticks li { display: flex; gap: 8px; }
.ticks .ic { color: var(--green); width: 18px; height: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-bottom: 20px; }
.split p { font-size: 17px; color: #33412F; }
.provides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.provide { background: var(--white); border-radius: 14px; padding: 24px; }
.provide__ic { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.provide h3 { font-size: 18px; margin-bottom: 6px; }
.provide p { font-size: 14px; color: var(--muted); margin: 0; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.faq h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.faq details { background: var(--white); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--dark); }
.faq details p { margin: 12px 0 0; color: #3B4A40; }
.band { background: var(--green); color: var(--white); padding: 72px 0; }
.band__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: var(--white); font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.band p { color: var(--pale); margin: 8px 0 0; }

/* Donate page */
.donate { padding: 40px 0 88px; }
.donate h1 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 800; margin-bottom: 6px; }
.donate__sub { color: var(--muted); margin-bottom: 32px; }
.donate__grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.dstep { background: var(--white); border-radius: var(--radius); padding: 32px; margin-bottom: 20px; }
.dstep h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.dnote { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.dnote--warn { color: #8A5A00; background: #FFF6D6; padding: 10px 14px; border-radius: 10px; }
.summary { background: var(--white); border-radius: var(--radius); padding: 28px; position: sticky; top: 112px; box-shadow: 0 12px 36px rgba(27,61,39,.08); }
.summary h2 { font-size: 20px; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--muted); font-size: 15px; }
.summary__row b { color: var(--ink); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #E3EBDB; padding-top: 16px; margin: 6px 0 20px; font-weight: 700; }
.summary__total b { font-size: 40px; font-weight: 800; color: var(--dark); }
.summary .btn { height: 58px; font-size: 17px; border-radius: 12px; }
.summary__note { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.summary__slogan { text-align: center; font-weight: 800; color: var(--green); margin: 14px 0; }
.bank { border: 2px dashed #C3D1B8; background: var(--white); border-radius: var(--radius); padding: 28px; }
.bank h2 { font-size: 22px; margin-bottom: 8px; }
.bank__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: var(--bg); border-radius: 12px; padding: 16px; margin: 16px 0; }
.bank__grid span { display: block; font-size: 12px; color: var(--muted); }
.bank__grid b { font-size: 16px; letter-spacing: .02em; }
.bank p { font-size: 14px; color: #3B4A40; }
.ga { background: var(--tint); border-radius: 12px; padding: 18px; font-size: 14px; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.entry { max-width: 760px; margin: 0 auto; padding: 48px var(--gut) 88px; }
.entry h1 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; margin: 12px 0 20px; }
.entry__content { font-size: 18px; color: #26332B; }
.entry__content img { border-radius: 12px; height: auto; }
.entry__content h2 { font-size: 28px; margin: 32px 0 12px; }

/* Responsive */
@media (max-width: 1100px) {
	.mainnav__list { gap: 20px; }
	.mainnav { margin-left: 24px; }
	.quick__in { grid-template-columns: 1fr; gap: 20px; }
	.steps, .provides { grid-template-columns: repeat(2, 1fr); }
	.trust { grid-template-columns: repeat(2, 1fr); }
	.bank__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.menu-btn { display: block; }
	.mainnav { position: fixed; top: 112px; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 24px; margin: 0; gap: 24px; transform: translateX(100%); transition: transform .25s; overflow: auto; }
	.mainnav.is-open { transform: none; }
	.mainnav__list { flex-direction: column; gap: 0; }
	.mainnav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
	.mainnav__cta { flex-direction: column; }
	.site-header__in { height: 72px; }
	.brand img { height: 46px; }
	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero__media { order: -1; min-height: 260px; padding: 16px; }
	.hero__caption { display: none; }
	.hero__text { padding: 36px var(--gut) 48px; }
	.hero__lead { font-size: 18px; }
	.hero__btns .btn { flex: 1; }
	.quick__form { grid-template-columns: 1fr; }
	.quick__amts, .quick__go { grid-column: auto; }
	.cards, .posts, .duo, .partners, .split, .faq, .page-top__grid, .donate__grid, .site-footer__grid { grid-template-columns: 1fr; }
	.cards { grid-auto-flow: column; grid-auto-columns: 85%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.cards > * { scroll-snap-align: start; }
	.stats { grid-template-columns: 1fr; gap: 0; }
	.stat { display: flex; align-items: baseline; gap: 20px; padding: 16px 0; }
	.stat b { min-width: 110px; }
	.section { padding: 56px 0; }
	.split { gap: 28px; }
	.box, .summary { position: static; }
	.dgrid { grid-template-columns: 1fr; }
	.partner { flex-direction: column; align-items: flex-start; }
	.mobile-donate { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); z-index: 40; }
	.mobile-donate .btn { flex: 1; height: 48px; }
	body { padding-bottom: 72px; }
	.hide-sm { display: none; }
	.topbar__sep { display: none; }
	.news input { min-width: 0; width: 100%; }
	.news form { width: 100%; }
	.site-footer__legal { flex-direction: column; }
}
@media (max-width: 560px) {
	.steps, .provides, .trust { grid-template-columns: 1fr; }
	.amts button { min-width: 0; flex: 1; }
}
