/* ==========================================================================
   Sundarban Global Foundation — site styles
   Plain CSS, no build step. Brand colours are the variables just below.
   ========================================================================== */

:root {
  --green: #176B42;
  --green-dark: #0F4A2E;
  --blue: #164B78;
  --blue-dark: #0E3556;
  --yellow: #F5C451;
  --white: #FFFFFF;
  --bg: #F7F9F6;
  --text: #26352D;
  --muted: #5A6B61;
  --line: #DCE5DF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(20, 50, 36, .09);
  --shadow-lg: 0 14px 40px rgba(20, 50, 36, .16);
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Noto Sans Bengali", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--blue-dark); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue-dark); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--font-head);
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(23, 107, 66, .3); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-yellow { background: var(--yellow); color: #3a2c00; }
.btn-yellow:hover { background: #ffd36b; color: #3a2c00; }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-light:hover { background: var(--bg); color: var(--blue-dark); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--blue-dark); }
.btn-sm { padding: 11px 20px; font-size: .95rem; }
.btn-wa { background: #25D366; color: #073b1c; }
.btn-wa:hover { background: #20bd5a; color: #073b1c; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--blue-dark); color: #dbe7f1; font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-group { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(20, 50, 36, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-dark); }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 700 1.1rem var(--font-head); color: var(--green-dark); letter-spacing: .01em; }
.brand-sub { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a, .nav .sub-toggle {
  display: block; padding: 10px 11px; border-radius: 10px;
  font: 500 .95rem var(--font-head); color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav a:hover, .nav .sub-toggle:hover { color: var(--green); background: var(--bg); }
.nav a[aria-current="page"], .nav .sub-toggle.current { color: var(--green); background: #e8f2ec; }
.nav .btn-donate { margin-left: 8px; white-space: nowrap; background: var(--green); color: #fff; padding: 11px 22px; border-radius: 999px; font-weight: 600; box-shadow: 0 4px 14px rgba(23, 107, 66, .3); }
.nav .btn-donate:hover { background: var(--green-dark); color: #fff; }
.has-sub { position: relative; }
.sub-toggle .icon { width: 1em; height: 1em; margin-left: 2px; transition: transform .2s; }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; display: none; flex-direction: column; align-items: stretch; z-index: 20;
}
.sub-menu a { padding: 10px 14px; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.open > .sub-menu { display: flex; }
.has-sub.open .sub-toggle .icon, .has-sub:hover .sub-toggle .icon { transform: rotate(180deg); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; color: var(--blue-dark); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 12px 20px 22px; display: none; flex-direction: column; align-items: stretch;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav .sub-toggle { padding: 13px 8px; border-radius: 8px; width: 100%; text-align: left; font-size: 1.02rem; display: flex; justify-content: space-between; }
  .sub-menu { position: static; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--line); border-radius: 0; margin: 0 0 6px 10px; padding: 0 0 0 8px; min-width: 0; }
  .has-sub:hover > .sub-menu { display: none; }
  .has-sub.open > .sub-menu { display: flex; }
  .nav .btn-donate { margin: 14px 0 0; text-align: center; justify-content: center; }
  .topbar .tb-group.tb-right { display: none; }
}
@media (max-width: 560px) {
  .topbar { display: none; }
  .brand-sub { display: none; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--blue-dark); }
.hero > img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 40, 66, .92) 0%, rgba(12, 70, 52, .78) 52%, rgba(12, 70, 52, .3) 100%); }
.hero-inner { padding: 110px 0 120px; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .45em; text-wrap: balance; }
.hero h1 span { color: var(--yellow); }
.hero p.lead { font-size: 1.2rem; color: #eaf3ee; max-width: 640px; margin-bottom: 1.8em; }
.eyebrow { display: inline-block; font: 600 .8rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .9em; }
.hero .eyebrow { color: var(--yellow); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); padding: 7px 14px; border-radius: 999px; }
.hero-strip { background: rgba(255, 255, 255, .96); color: var(--text); }
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 24px; padding: 18px 20px; font-size: .95rem; }
.trust-strip div { display: flex; align-items: center; gap: 10px; }
.trust-strip .icon { color: var(--green); }
@media (max-width: 640px) { .hero-inner { padding: 70px 0 80px; } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: linear-gradient(135deg, var(--blue-dark), var(--blue) 55%, #1b6a52); color: #e9f1f6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-dark .lead { color: #d3e2ec; }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; gap: 32px; }
  .split.rev > :first-child { order: 0; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(220, 229, 223, .7); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-body .more { margin-top: auto; font: 600 .95rem var(--font-head); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-body .more:hover { gap: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: .45em; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg) translateY(-50%); }
.ticks.plan li::before { border-color: #b98b13; }
.tag { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .95); color: var(--green-dark); font: 600 .75rem var(--font-head); padding: 6px 12px; border-radius: 999px; letter-spacing: .03em; }

.badge { display: inline-flex; align-items: center; gap: 6px; font: 600 .72rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.badge-live { background: #e1f1e8; color: #0f5c37; }
.badge-held { background: #e4edf6; color: var(--blue); }
.badge-plan { background: #fdf1cf; color: #7a5a05; }

.icon-bubble { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: #e6f1ea; color: var(--green); margin-bottom: 18px; }
.icon-bubble .icon { width: 28px; height: 28px; }
.icon-bubble.blue { background: #e3edf6; color: var(--blue); }
.icon-bubble.gold { background: #fdf1cf; color: #8a6606; }
.section-dark .icon-bubble { background: rgba(255, 255, 255, .12); color: var(--yellow); }

.why-item { padding: 8px 4px; }
.why-item h3 { font-size: 1.1rem; }
.why-item p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Photos / media ---------- */
.photo { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.photo-frame { position: relative; }
.photo-frame::after { content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 3px solid var(--yellow); border-radius: var(--radius); z-index: -1; }
.photo-cap { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.pillars { display: grid; gap: 14px; margin: 26px 0; }
.pillar { display: flex; gap: 14px; padding: 16px 18px; background: var(--bg); border-radius: 14px; border: 1px solid var(--line); }
.pillar .icon { color: var(--green); width: 26px; height: 26px; margin-top: 2px; }
.pillar h3 { font-size: 1.05rem; margin: 0 0 .15em; }
.pillar p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Masonry gallery */
.masonry { columns: 3 260px; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(220, 229, 223, .7); }
.masonry figure[hidden] { display: none; }
.masonry a.zoom { display: block; position: relative; overflow: hidden; background: var(--bg); }
.masonry img { width: 100%; transition: transform .5s; }
.masonry a.zoom:hover img { transform: scale(1.04); }
.masonry figcaption { padding: 14px 16px 16px; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.masonry figcaption strong { display: block; color: var(--blue-dark); font: 600 1rem var(--font-head); margin-bottom: 3px; }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; background: rgba(15, 40, 30, .7); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.masonry a.zoom:hover .zoom-hint, .masonry a.zoom:focus-visible .zoom-hint { opacity: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filters button { font: 500 .93rem var(--font-head); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .15s; }
.filters button:hover { border-color: var(--green); color: var(--green); }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 20, 16, .94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 56px 16px 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 76vh; max-width: min(1100px, 94vw); width: auto; border-radius: 10px; box-shadow: 0 10px 50px rgba(0, 0, 0, .6); }
.lightbox .lb-cap { color: #e9f1ed; text-align: center; max-width: 720px; margin-top: 16px; font-size: .98rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 24px; height: 24px; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-prev { left: 24px; } .lb-next { right: 24px; } }

/* ---------- Featured event ---------- */
.event-box { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; }
.event-box .poster { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; padding: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .93rem; display: inline-flex; align-items: center; gap: 8px; }
.chips .icon { color: var(--green); width: 1em; height: 1em; }
.date-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 14px; font: 600 1rem var(--font-head); margin-bottom: 18px; }
@media (max-width: 980px) { .event-box { grid-template-columns: 1fr; gap: 30px; } .event-box .poster { max-width: 560px; } }

/* ---------- Get involved ---------- */
.action-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.action-card h3 { color: var(--blue-dark); }
.action-card p { color: var(--muted); font-size: .98rem; }
.action-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Transparency ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: .97rem; }
.doc-list .status { font-size: .75rem; font-weight: 600; font-family: var(--font-head); color: var(--muted); background: var(--bg); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; margin: 0; }
.facts dt, .facts dd { padding: 14px 18px; margin: 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 .88rem var(--font-head); color: var(--blue-dark); background: var(--bg); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 2px; } .facts dd { padding-top: 2px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate; padding: 96px 0; background: var(--green-dark); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 50% 70%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(12, 64, 44, .93), rgba(18, 70, 110, .9)); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 2.9rem); text-wrap: balance; }
.cta-band p { max-width: 640px; margin: 0 auto 1.8em; color: #e5f0ea; font-size: 1.12rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Inner page header ---------- */
.page-header { position: relative; color: #fff; isolation: isolate; overflow: hidden; padding: 74px 0 70px; background: var(--blue-dark); }
.page-header > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 50% 45%; }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 40, 66, .93), rgba(12, 70, 52, .8)); }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .35em; }
.page-header p { color: #e0ece6; max-width: 700px; font-size: 1.12rem; margin: 0; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: #cfe0d8; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Prose / inner content ---------- */
.prose h2 { margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul li { margin-bottom: .4em; }
.note { border-left: 4px solid var(--yellow); background: #fffaf0; padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: .96rem; color: #594a1b; margin: 1.5em 0; }
.note.green { border-color: var(--green); background: #f0f8f3; color: #1f4a35; }
.two-col-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.list-panel { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.list-panel h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.list-panel.plan { background: #fffcf3; border-color: #f0e2b5; }
@media (max-width: 860px) { .two-col-lists { grid-template-columns: 1fr; } }
.side-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h3 { font-size: 1.1rem; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; font: 600 1.7rem var(--font-head); }
.person h3 { margin-bottom: .1em; }
.person .role { color: var(--green); font: 500 .92rem var(--font-head); margin: 0; }
.person .bn { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--blue-dark); font: 500 1rem var(--font-head); transition: all .15s; }
.related a:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.related .icon { color: var(--green); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
label { display: block; font: 500 .92rem var(--font-head); margin-bottom: 6px; color: var(--blue-dark); }
label .req { color: #b3261e; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1.5px solid #c9d6cd; border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(23, 107, 66, .15); }
.help { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 400 .95rem var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.checks input { width: auto; accent-color: var(--green); }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.amounts button { font: 600 1rem var(--font-head); padding: 11px 20px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--blue-dark); }
.amounts button:hover { border-color: var(--green); }
.amounts button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: #e8f4ec; color: #14502f; font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.form-section { scroll-margin-top: 100px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.contact-item .icon-bubble { margin: 0; width: 48px; height: 48px; border-radius: 12px; flex: none; }
.contact-item .icon-bubble .icon { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin-bottom: .15em; }
.contact-item p { margin: 0; color: var(--muted); font-size: .97rem; }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg); }

/* FAQ */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font: 500 1.02rem var(--font-head); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--blue-dark); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); padding-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #0c2a3f; color: #c3d3de; padding: 70px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .85fr .95fr 1.6fr; gap: 40px; padding-bottom: 46px; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1em; }
.site-footer a { color: #c3d3de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer-brand strong { color: #fff; font: 700 1.1rem var(--font-head); line-height: 1.2; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 5px; color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: .85rem; color: #94a9b8; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom a { color: #b5c7d4; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .icon { width: 32px; height: 32px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .topbar, .wa-float, .site-footer, .cta-band { display: none; }
}

/* ---------- Photo helpers ---------- */
.photo-frame { isolation: isolate; }
.photo-tall { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 52%; }
.photo-small { max-width: 340px; margin: 0 auto; }
.hero-bg, .page-header > img, .cta-band > img { user-select: none; }

/* White cards inside dark sections keep their own light icon tiles */
.section-dark .action-card .icon-bubble { background: #e6f1ea; color: var(--green); }
.section-dark .action-card .icon-bubble.blue { background: #e3edf6; color: var(--blue); }
.section-dark .action-card .icon-bubble.gold { background: #fdf1cf; color: #8a6606; }
.action-card p { margin-bottom: 1.5em; }

.prose .eyebrow + h2, .prose .icon-bubble + h2 { margin-top: 0; }

/* Prevent grid/flex children from forcing horizontal scroll on small screens */
.split > *, .event-box > *, .grid > *, .two-col-lists > *, .footer-grid > *, .contact-item > div { min-width: 0; }
.event-box .poster { width: 100%; }
.contact-item p, .footer-contact span, .footer-contact a { overflow-wrap: break-word; word-break: normal; }
@media (max-width: 420px) { .contact-item p, .footer-contact a { overflow-wrap: anywhere; } }
.prose .date-pill + h2 { margin-top: 0; }
