/* =========================================================
   جمعية المهارات المهنية بالحناكية — main stylesheet
   Brand: navy #0D3B4E · teal #0FA3A3 · green #6BA34E · light #F2F5F7
   ========================================================= */
:root {
  --navy: #0D3B4E;
  --navy-900: #082A38;
  --navy-700: #13506A;
  --teal: #0FA3A3;
  --teal-600: #0A7F7F;
  --teal-50: #E8F6F6;
  --teal-100: #CDEDED;
  --green: #6BA34E;
  --green-700: #4A7A33;
  --green-50: #EEF6E9;
  --sand: #FFF7E6;
  --ink: #0F2F3C;
  --body: #3D5560;
  --muted: #5F737C;
  --line: #E1E9ED;
  --bg: #FFFFFF;
  --bg-alt: #F2F5F7;
  --grad: linear-gradient(90deg, #6BA34E 0%, #0FA3A3 50%, #0D3B4E 100%);
  --grad-soft: linear-gradient(135deg, #0D3B4E 0%, #0B6E78 55%, #0FA3A3 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 59, 78, .06), 0 2px 8px rgba(13, 59, 78, .05);
  --shadow: 0 2px 6px rgba(13, 59, 78, .05), 0 12px 32px rgba(13, 59, 78, .08);
  --shadow-lg: 0 24px 60px rgba(13, 59, 78, .16);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.8; color: var(--body);
  background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .5em; font-weight: 800; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.brand-bar { height: 4px; background: var(--grad); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--teal-600); display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .6em 1.25em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ic { width: 1.15em; height: 1.15em; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: 0 6px 18px rgba(10, 127, 127, .25); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { color: var(--teal-600); padding-inline: .4em; min-height: 40px; }
.btn-ghost:hover { color: var(--navy); }
.btn-ghost .ic { transition: transform .2s var(--ease); }
.btn-ghost:hover .ic { transform: translateX(-4px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-50); color: var(--navy); }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: .75em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0;
  background: transparent; color: var(--navy); cursor: pointer; position: relative; transition: background .2s;
}
.icon-btn:hover { background: var(--bg-alt); color: var(--navy); }
.icon-btn .ic { width: 22px; height: 22px; }
.icon-btn-soft { background: var(--bg-alt); flex: none; }
.icon-btn-soft:hover { background: var(--teal-100); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13, 59, 78, .06); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong { font-size: clamp(.92rem, 3.6vw, 1.08rem); font-weight: 800; color: var(--navy); white-space: nowrap; }
.brand-text span { font-size: .78rem; color: var(--green-700); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.brand { flex: 0 1 auto; }
.header-actions { flex: none; position: relative; z-index: 2; } /* keeps the close button above the open drawer */
@media (max-width: 520px) {
  .brand-text strong { white-space: normal; font-size: .98rem; line-height: 1.35; }
  .brand-text span { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}
.cart-btn .badge {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; line-height: 19px; text-align: center;
}
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.2); } }
.only-desktop { display: none; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* Mobile drawer */
.nav {
  position: fixed; inset-block: 0; inset-inline-end: 0; width: min(88vw, 360px); z-index: 1;
  background: #fff; padding: 88px 20px 24px; overflow-y: auto; box-shadow: var(--shadow-lg);
  /* Closed drawer stays inside the viewport (an off-screen transform would widen RTL pages). */
  opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0);
  transition: clip-path .32s var(--ease), opacity .2s, visibility 0s linear .32s;
}
.nav.is-open { opacity: 1; visibility: visible; clip-path: inset(0); transition: clip-path .32s var(--ease), opacity .2s; }
.nav-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(8, 42, 56, .45); } /* under the header, whose drawer sits above it */
.nav-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; padding: 12px 14px;
  border-radius: 12px; border: 0; background: none; color: var(--ink); font-weight: 700; font-size: 1.02rem; cursor: pointer; text-align: start;
}
.nav-link:hover, .nav-link.is-active, .has-sub.is-active > .nav-link { background: var(--teal-50); color: var(--teal-600); }
.nav-link .chev { width: 18px; height: 18px; transition: transform .2s; }
.has-sub .nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sub { display: none; padding: 4px 8px 8px; }
.has-sub.is-open .sub { display: block; }
.sub a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; color: var(--ink); }
.sub a:hover, .sub a[aria-current] { background: var(--bg-alt); }
.sub b { display: block; font-size: .98rem; }
.sub small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.sub-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--teal-50); color: var(--teal-600); flex: none; }
.sub-ic .ic { width: 20px; height: 20px; }
.nav-cta { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .only-desktop { display: inline-flex; }
  .menu-btn { display: none; }
  .nav { position: static; opacity: 1; visibility: visible; clip-path: none; transition: none; width: auto; padding: 0; background: none; box-shadow: none; overflow: visible; margin-inline: auto; }
  .nav-backdrop { display: none !important; }
  .nav-list { flex-direction: row; gap: 2px; }
  .nav-link { padding: 8px 11px; font-size: .96rem; width: auto; white-space: nowrap; }
  .nav-home { display: none; }
  .site-header .container { max-width: 1320px; }
  .nav-cta { display: none; }
  .has-sub { position: relative; }
  .sub {
    display: block; position: absolute; top: calc(100% + 8px); inset-inline-start: 0; width: 290px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .has-sub:hover .sub, .has-sub.is-open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub::after { content: ""; position: absolute; inset-inline: 0; top: 100%; height: 12px; }
  .brand img { width: 46px; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45em; margin: 0 0 .9em; padding: .3em .85em; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-600); font-weight: 700; font-size: .9rem; line-height: 1.5;
}
.eyebrow .ic { width: 1.05em; height: 1.05em; }
.eyebrow-light { background: rgba(255, 255, 255, .12); color: #CFF3F0; }
.grad-text { background: linear-gradient(90deg, var(--teal) 0%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); }
.fine { display: flex; gap: .5em; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 1rem 0 0; line-height: 1.7; }
.fine .ic { width: 1.1em; height: 1.1em; margin-top: .3em; color: var(--teal-600); }
.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose ul { padding-inline-start: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); position: relative; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--grad-soft); color: #D7ECEF; overflow: hidden; }
.section-navy h2 { color: #fff; }
.section-navy .eyebrow { background: rgba(255, 255, 255, .14); color: #D5F5F2; }
.section-navy .section-lead { color: #CFE6EA; }
.sn-mark { position: absolute; width: 420px; inset-inline-start: -90px; bottom: -110px; opacity: .06; pointer-events: none; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: .3em; }
.section-lead { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-head.is-center { justify-content: center; text-align: center; }
.section-head.is-center > div { margin-inline: auto; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 960px) { .grid { gap: 24px; } }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.25fr .75fr; gap: 64px; } .split-top { align-items: start; grid-template-columns: 1fr 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); background:
  radial-gradient(900px 480px at 10% 20%, rgba(15, 163, 163, .14), transparent 60%),
  radial-gradient(700px 420px at 95% 90%, rgba(107, 163, 78, .14), transparent 60%),
  linear-gradient(180deg, #FFFFFF 0%, #F4FAFA 100%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.1rem); line-height: 1.25; margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.08rem, 2.1vw, 1.28rem); max-width: 36em; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero-actions.center { justify-content: center; }
.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; max-width: 560px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--navy); font-weight: 800; line-height: 1.1; }
.hero-stats strong small { font-size: .55em; margin-inline-start: 2px; color: var(--teal-600); }
.hero-stats span { font-size: .88rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }

.hero-visual { display: grid; place-items: center; }
.orbit { position: relative; width: min(84vw, 460px); aspect-ratio: 1; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(13, 59, 78, .18); }
.orbit-ring.r2 { inset: 14%; border: 0; background: radial-gradient(circle, #fff 0%, #fff 55%, rgba(255, 255, 255, 0) 70%); box-shadow: 0 30px 80px rgba(13, 59, 78, .12); }
.orbit-ring.r1 { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core { position: absolute; inset: 27%; display: grid; place-items: center; }
.orbit-core img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(13, 59, 78, .18)); }
.orb {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 14px; border-radius: 999px;
  background: #fff; color: var(--navy); font-weight: 700; font-size: clamp(.74rem, 2.2vw, .9rem); box-shadow: var(--shadow); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.orb .ic { width: 1.15em; height: 1.15em; color: var(--teal-600); }
.o1 { top: 2%; right: 30%; } .o2 { top: 22%; left: -2%; animation-delay: -1s; } .o3 { top: 24%; right: -4%; animation-delay: -2s; }
.o4 { bottom: 20%; left: 0; animation-delay: -3s; } .o5 { bottom: 16%; right: -2%; animation-delay: -4s; } .o6 { bottom: 0; left: 34%; animation-delay: -5s; }
.o2 .ic, .o5 .ic { color: var(--green-700); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-soft); color: #D7ECEF; padding-block: clamp(40px, 6vw, 72px) clamp(44px, 6vw, 80px); }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--grad); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 22em; }
.page-hero .lead { color: #CFE6EA; max-width: 42em; margin: 0; }
.ph-mark { position: absolute; width: 300px; inset-inline-start: 2%; top: 50%; transform: translateY(-50%); opacity: .08; pointer-events: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9rem; margin-bottom: 18px; }
.crumbs li { color: #A9D2D8; }
.crumbs li + li::before { content: "‹"; margin-inline: 8px; color: #7FB6BF; }
.crumbs a { color: #E4F5F6; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 20px 22px 8px; flex: 1; }
.card-title { font-size: 1.15rem; margin: .55em 0 .45em; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--teal-600); }
.card-text { color: var(--muted); font-size: .98rem; line-height: 1.75; margin: 0; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 22px 20px; }

.chip { display: inline-flex; align-items: center; gap: .4em; padding: .25em .7em; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--teal-50); color: var(--teal-600); }
.chip .ic { width: 1.05em; height: 1.05em; }
.chip-women { background: #FDEEF3; color: #A23B62; }
.chip-digital { background: #E8F1FB; color: #2A5E95; }
.chip-trades { background: #FFF3E0; color: #9A5B00; }
.chip-employment { background: var(--green-50); color: var(--green-700); }
.chip-equipment { background: var(--teal-50); color: var(--teal-600); }

.cat-women { --c1: #0D3B4E; --c2: #B4527A; }
.cat-digital { --c1: #0D3B4E; --c2: #2F7FC1; }
.cat-trades { --c1: #0D3B4E; --c2: #D08A1E; }
.cat-employment { --c1: #0D3B4E; --c2: #6BA34E; }
.cat-equipment { --c1: #0D3B4E; --c2: #0FA3A3; }

.pc-media { position: relative; display: grid; place-items: center; height: 150px; background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 140%); color: #fff; overflow: hidden; }
.pc-gear { position: absolute; width: 190px; height: 190px; inset-inline-start: -40px; bottom: -70px; opacity: .14; }
.pc-gear .ic { width: 100%; height: 100%; stroke-width: 1.2; animation: spin 40s linear infinite; }
.pc-icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); transition: transform .3s var(--ease); }
.pc-icon .ic { width: 38px; height: 38px; }
.program-card:hover .pc-icon { transform: scale(1.06) rotate(-4deg); }

/* Donation card */
.donate-card { padding: 20px 22px; gap: 4px; }
.donate-card .card-title { margin-top: .6em; }
.dc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dc-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--c1), var(--c2) 140%); color: #fff; flex: none; }
.dc-icon .ic { width: 26px; height: 26px; }
.dc-meta { display: flex; gap: 16px; margin: 14px 0 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.dc-meta small { display: block; font-size: .8rem; color: var(--muted); }
.dc-meta strong { font-size: 1.3rem; color: var(--navy); font-weight: 800; }
.dc-meta strong span { font-size: .75em; color: var(--muted); font-weight: 700; }
.dc-first { display: flex; align-items: center; gap: .45em; font-size: .88rem; font-weight: 700; color: var(--green-700); margin: 0 0 12px; }
.dc-first .ic { width: 1.1em; height: 1.1em; }
.dc-raised { font-size: .88rem; color: var(--muted); margin: 6px 0 12px; }
.progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.dc-more { display: inline-flex; align-items: center; gap: 4px; align-self: center; margin-top: 12px; font-weight: 700; font-size: .92rem; }
.dc-more .ic { width: 1em; height: 1em; }

.donate-box { display: grid; gap: 10px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.is-big .amounts { grid-template-columns: repeat(4, 1fr); }
.amount-chip { min-height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 800; color: var(--navy); cursor: pointer; transition: all .15s; }
.amount-chip:hover { border-color: var(--teal); }
.amount-chip[aria-pressed="true"] { border-color: var(--teal-600); background: var(--teal-50); color: var(--teal-600); }
.db-row { display: flex; gap: 8px; align-items: stretch; }
.db-row .btn { min-height: 46px; padding-inline: 1em; flex: none; }
.amount-field { position: relative; flex: 1; min-width: 0; }
.amount-field input { width: 100%; height: 46px; padding: 0 12px 0 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; }
.amount-field input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(15, 163, 163, .15); }
.amount-field span { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); font-size: .82rem; color: var(--muted); pointer-events: none; }
.amount-field input::-webkit-outer-spin-button, .amount-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount-field input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.amount-field.is-invalid input { border-color: #C2410C; }

/* News cards */
.news-date { display: flex; align-items: center; gap: .45em; color: var(--muted); font-size: .88rem; margin: 0; }
.news-date .ic { width: 1.05em; height: 1.05em; color: var(--teal-600); }
.news-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.news-item:first-child { padding-top: 0; }
.news-item h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: .4em 0 .6em; }

/* ---------- Home blocks ---------- */
.journey { list-style: none; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 640px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .journey { grid-template-columns: repeat(4, 1fr); } }
.journey-step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.js-num { position: absolute; inset-inline-end: 18px; top: 14px; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--teal-50); -webkit-text-stroke: 1px var(--teal-100); }
.js-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); color: #fff; margin-bottom: 16px; }
.js-ic .ic { width: 26px; height: 26px; }
.journey-step p { margin: 0; color: var(--muted); font-size: .97rem; }

.cat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
@media (min-width: 960px) { .cat-row { grid-template-columns: repeat(4, 1fr); } }
.cat-tile { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.cat-tile:hover { border-color: var(--c2); transform: translateY(-2px); color: var(--ink); }
.ct-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--c1), var(--c2) 140%); color: #fff; flex: none; }
.ct-ic .ic { width: 22px; height: 22px; }
.cat-tile b { display: block; font-size: .98rem; line-height: 1.4; }
.cat-tile small { color: var(--muted); font-size: .82rem; }

.feature { padding: 26px 22px; border-radius: var(--radius); background: var(--bg-alt); transition: background .2s; }
.feature:hover { background: var(--teal-50); }
.feature-ic, .value-ic, .vm-ic, .trust-ic, .doc-ic, .mini-ic, .scope-ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--teal-600); box-shadow: var(--shadow-sm); margin-bottom: 14px; flex: none;
}
.feature-ic .ic, .value-ic .ic, .vm-ic .ic, .trust-ic .ic, .doc-ic .ic, .mini-ic .ic, .scope-ic .ic { width: 26px; height: 26px; }
.feature p, .value p, .trust-item p, .doc p { margin: 0; color: var(--muted); font-size: .96rem; }

.trust-item { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); }
.trust-ic { background: var(--teal-50); box-shadow: none; margin: 0; }
.trust-item h3 { font-size: 1.05rem; margin-bottom: .3em; }

.cta-band-wrap { padding-top: 0; }
.section-alt + .cta-band-wrap, .section-navy + .cta-band-wrap { padding-top: clamp(56px, 8vw, 96px); }
.cta-band { display: grid; gap: 28px; padding: clamp(28px, 5vw, 52px); border-radius: 28px; background: var(--grad-soft); color: #D7ECEF; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; inset-inline-start: -120px; top: -160px; background: radial-gradient(circle, rgba(107, 163, 78, .35), transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; color: #CFE6EA; }
.cta-copy, .cta-options { position: relative; }
.cta-options { display: grid; gap: 12px; }
@media (min-width: 960px) { .cta-band { grid-template-columns: .9fr 1.1fr; align-items: center; } }
.cta-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background .2s, transform .2s var(--ease); }
.cta-opt:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateX(-4px); }
.cta-opt > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; color: var(--teal-600); }
.cta-opt b { display: block; }
.cta-opt small { color: #CFE6EA; font-size: .88rem; }

/* ---------- About ---------- */
.logo-card { display: grid; place-items: center; padding: 36px; border-radius: 28px; background: linear-gradient(180deg, #fff, var(--bg-alt)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.logo-card img { width: min(100%, 260px); }
.vm-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.vm-card h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.vm-card p:last-child { margin: 0; }
.vm-ic { background: var(--grad-soft); color: #fff; }
.value { padding: 22px 18px; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; }
.value-ic { margin-inline: auto; background: var(--green-50); color: var(--green-700); box-shadow: none; }
.goal-list { list-style: none; counter-reset: g; display: grid; gap: 10px; margin-top: 18px; }
.goal-list li { counter-increment: g; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.goal-list li::before { content: counter(g); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--teal-600); color: #fff; font-weight: 800; flex: none; font-size: .95rem; }
.story-card { padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.swatches span { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.swatches span::before { content: ""; width: 26px; height: 26px; border-radius: 8px; background: var(--c); }
.scope { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-alt); }
.scope > div { flex: 1; min-width: 220px; }
.scope h2 { font-size: 1.3rem; margin-bottom: .2em; }
.scope p { margin: 0; color: var(--muted); }
.scope-ic { margin: 0; }

/* ---------- Programs / filters ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--sand); border: 1px solid #F3DFB5; color: #6B4A08; margin-bottom: 24px; }
.notice .ic { width: 22px; height: 22px; margin-top: 3px; color: #B7791F; }
.notice p { margin: 0; font-size: .97rem; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: thin; }
.filter { display: inline-flex; align-items: center; gap: .45em; flex: none; min-height: 42px; padding: .4em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; transition: all .15s; }
.filter .ic { width: 1.05em; height: 1.05em; color: var(--teal-600); }
.filter span { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bg-alt); font-size: .8rem; color: var(--muted); }
.filter:hover { border-color: var(--teal); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter.is-active .ic { color: #9FE3DF; }
.filter.is-active span { background: rgba(255, 255, 255, .18); color: #fff; }
[data-filter-grid] > [hidden] { display: none !important; }
.mini-cta { display: flex; gap: 16px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mini-cta h2 { font-size: 1.3rem; }
.mini-cta p { color: var(--muted); }
.mini-ic { background: var(--teal-50); box-shadow: none; }

.summary-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
@media (min-width: 760px) { .summary-strip { grid-template-columns: repeat(4, 1fr); } }
.summary-strip div { background: #fff; padding: 18px 20px; display: flex; flex-direction: column; }
.summary-strip strong { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--navy); line-height: 1.2; }
.summary-strip span { color: var(--muted); font-size: .9rem; }
.general-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.general-cta h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.general-cta p { margin: 0; color: var(--muted); }

/* ---------- Detail pages ---------- */
.detail-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; } .detail-side { position: sticky; top: calc(var(--header-h) + 20px); } }
.detail-side { display: grid; gap: 20px; }
.block { margin-bottom: 36px; }
.block h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 10px; }
.block h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 4px; background: var(--grad); }
.check-list { list-style: none; display: grid; gap: 10px; }
@media (min-width: 640px) { .detail-main .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); color: var(--ink); font-weight: 500; line-height: 1.6; }
.check-list .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; margin-top: 1px; }
.audience { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--teal-50); color: var(--ink); font-weight: 500; }
.audience .ic { width: 24px; height: 24px; color: var(--teal-600); margin-top: 3px; }
.phases { list-style: none; counter-reset: ph; display: grid; gap: 0; }
.phases li { counter-increment: ph; position: relative; padding: 0 52px 22px 0; }
.phases li::before { content: counter(ph); position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.phases li::after { content: ""; position: absolute; right: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.phases li:last-child { padding-bottom: 0; }
.phases li:last-child::after { display: none; }
.phases b { display: block; color: var(--ink); }
.phases span { color: var(--muted); font-size: .95rem; }
.phases-compact li { padding-bottom: 16px; }
.related { display: grid; gap: 10px; }
.related-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s; }
.related-item:hover { border-color: var(--teal); color: var(--ink); }
.related-item > span:nth-child(2) { flex: 1; }
.related-item b { display: block; line-height: 1.5; }
.related-item small { color: var(--muted); }
.related-item > .ic { color: var(--muted); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm); }
.panel-soft { background: var(--teal-50); border-color: var(--teal-100); box-shadow: none; }
.panel-soft p { margin: 0; display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.panel-soft .ic { width: 22px; height: 22px; color: var(--teal-600); margin-top: 3px; }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.panel-title .ic { color: var(--teal-600); }
.side-register { text-align: center; }
.side-register h2, .side-donate h2 { font-size: 1.3rem; }
.side-register p { color: var(--muted); }
.side-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 14px; background: linear-gradient(135deg, var(--c1), var(--c2) 140%); color: #fff; }
.side-ic .ic { width: 32px; height: 32px; }
.side-donate .dc-meta { margin-top: 4px; }
.side-donate .donate-box { margin-top: 4px; }

/* ---------- Donate page ---------- */
.donate-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .donate-layout { grid-template-columns: 1fr 360px; align-items: start; } .donate-side { position: sticky; top: calc(var(--header-h) + 20px); } }
.donate-main { display: grid; gap: 24px; }
.cart-list { list-style: none; display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line); }
.cart-item .dc-icon { width: 44px; height: 44px; border-radius: 12px; }
.cart-item .dc-icon .ic { width: 22px; height: 22px; }
.ci-title { font-weight: 700; color: var(--ink); line-height: 1.5; }
.ci-title a { color: inherit; }
.ci-controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
@media (min-width: 640px) { .cart-item { grid-template-columns: auto 1fr auto; } .ci-controls { grid-column: auto; } }
.ci-controls .amount-field { width: 150px; flex: none; }
.ci-controls .amount-field input { height: 42px; }
.ci-remove { color: #B42318; }
.ci-remove:hover { background: #FEF3F2; color: #B42318; }
.cart-empty { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: var(--bg-alt); }
.cart-empty p { margin: 0; color: var(--muted); }
.ce-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--muted); flex: none; }
.summary .sum-row, .summary .sum-total { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.summary .sum-total { border-bottom: 0; margin-bottom: 14px; }
.summary .sum-total strong { font-size: 1.6rem; color: var(--navy); }
.pay-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .pay-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; } }
.pay-steps { list-style: none; counter-reset: ps; display: grid; gap: 12px; margin: 20px 0 24px; }
.pay-steps li { counter-increment: ps; display: flex; gap: 14px; align-items: flex-start; }
.pay-steps li::before { content: counter(ps); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-600); color: #fff; font-weight: 800; flex: none; }
.pay-steps b { display: block; color: var(--ink); }
.pay-steps span { color: var(--muted); font-size: .95rem; }
.bank-card { border-radius: 20px; overflow: hidden; background: var(--grad-soft); color: #fff; box-shadow: var(--shadow); margin-top: 18px; }
.bank-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: rgba(0, 0, 0, .12); font-weight: 800; font-size: 1.05rem; }
.bank-row { padding: 14px 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.bank-row small { display: block; color: #BFE3E6; font-size: .82rem; }
.bank-row b { font-size: 1.05rem; }
.iban-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.iban { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(.98rem, 3.6vw, 1.18rem) !important; letter-spacing: .04em; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: #fff; color: var(--navy); font-weight: 700; cursor: pointer; }
.copy-btn .ic { width: 18px; height: 18px; }
.copy-btn.is-copied { background: var(--green); color: #fff; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1fr 340px; align-items: start; gap: 32px; } .form-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.form-aside { display: grid; gap: 20px; }
.form-title { font-size: 1.45rem; }
.form-intro { color: var(--muted); }
.fields { display: grid; gap: 16px 18px; margin-bottom: 16px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } }
.fields[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--ink); font-size: .96rem; }
.req { color: #C2410C; }
.opt { color: var(--muted); font-weight: 500; font-size: .85em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field input[type=file] { padding: 9px; background: var(--bg-alt); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 163, 163, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C2410C; }
.field .err { color: #B42318; font-size: .86rem; }
.field .hint { color: var(--muted); font-size: .84rem; }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.6; }
.field.check input { width: 20px; height: 20px; min-height: 0; margin-top: 4px; accent-color: var(--teal-600); flex: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-status { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; }
.form-status.is-error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.form-success { text-align: center; padding: 28px 12px; }
.form-success .fs-ic { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-50); color: var(--green-700); }
.form-success .fs-ic .ic { width: 36px; height: 36px; }
.form-success h2 { font-size: 1.5rem; }
.form-success p { color: var(--muted); }
.form-success .ref { display: inline-block; margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); font-weight: 700; color: var(--navy); direction: ltr; }
.type-picker { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.type-picker legend { font-weight: 700; color: var(--ink); margin-bottom: 10px; padding: 0; }
@media (min-width: 760px) { .type-picker { grid-template-columns: repeat(3, 1fr); } }
.type-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, background .15s; }
.type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt:hover { border-color: var(--teal); }
.type-opt:has(input:checked) { border-color: var(--teal-600); background: var(--teal-50); }
.type-opt:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.to-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--teal-600); flex: none; box-shadow: var(--shadow-sm); }
.to-ic .ic { width: 22px; height: 22px; }
.type-opt b { display: block; color: var(--ink); line-height: 1.4; }
.type-opt small { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.member-note { padding: 14px 16px; border-radius: 12px; }

.contact-cards { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--bg-alt); color: var(--ink); }
a.contact-item:hover { background: var(--teal-50); color: var(--ink); }
.ci-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--teal-600); flex: none; }
.contact-item small { display: block; color: var(--muted); font-size: .82rem; }
.contact-item b { display: block; line-height: 1.6; word-break: break-word; }
.contact-item span span { font-size: .9rem; color: var(--muted); }

/* ---------- Governance ---------- */
.data-table { margin: 18px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.data-table div:nth-child(odd) { background: var(--bg-alt); }
.data-table div:last-child { border-bottom: 0; }
@media (min-width: 560px) { .data-table div { grid-template-columns: 170px 1fr; gap: 16px; } }
.data-table dt { color: var(--muted); font-size: .92rem; }
.data-table dd { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.6; }
.board { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.board li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.board li:first-child { border-color: var(--teal-100); background: var(--teal-50); }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-soft); color: #fff; font-weight: 800; font-size: 1.2rem; flex: none; }
.board b { display: block; color: var(--ink); line-height: 1.5; }
.board small { color: var(--teal-600); font-weight: 700; }
.doc { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.doc h3 { font-size: 1.1rem; }
.doc p { flex: 1; margin-bottom: 12px; }
.doc-ic { background: var(--teal-50); box-shadow: none; }
.badge-soft { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: #8A5A00; font-weight: 700; font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #B9D3DA; margin-top: 0; }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; } }
.f-logo { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 16px; }
.f-logo img { width: 44px; }
.f-logo strong { display: block; font-size: 1.08rem; line-height: 1.4; }
.f-logo span span { display: block; color: #9BD3A0; font-size: .82rem; }
.f-brand p { font-size: .95rem; line-height: 1.85; }
.f-license { list-style: none; display: grid; gap: 8px; font-size: .88rem; }
.f-license li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.6; }
.f-license .ic { width: 18px; height: 18px; color: var(--teal); margin-top: 3px; }
.f-license b { color: #fff; }
.f-title { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.f-links { list-style: none; display: grid; gap: 8px; }
.f-links a, .f-contact a { color: #B9D3DA; }
.f-links a:hover, .f-contact a:hover { color: #fff; }
.f-contact { list-style: none; display: grid; gap: 12px; font-size: .95rem; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.f-contact .ic { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
.f-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.f-social a { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .85rem; }
.f-pay { margin-top: 16px; font-size: .86rem; }
.f-pay span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.f-pay .ic { width: 18px; height: 18px; color: var(--teal); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-bottom p { margin: 0; display: flex; gap: 10px; }
.footer-bottom a { color: #B9D3DA; }
.footer-bottom a:hover { color: #fff; }

/* Floating */
.quick-donate {
  position: fixed; z-index: 90; inset-inline-end: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: .95rem; box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), opacity .25s;
}
.quick-donate .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green); }
.quick-donate:hover { color: #fff; background: var(--navy-700); }
.quick-donate.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.is-donate-page .quick-donate { display: none; }
.wa-float { position: fixed; z-index: 90; inset-inline-start: 16px; bottom: 16px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: var(--shadow-lg); }
.wa-float .ic { width: 28px; height: 28px; }
.toast {
  position: fixed; z-index: 150; left: 50%; bottom: 84px; transform: translate(-50%, 20px); max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--ink); color: #fff;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); font-weight: 500;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #9FE3DF; font-weight: 800; white-space: nowrap; }
.toast .ic { color: #9BD3A0; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.nf-mark { width: 120px; margin: 0 auto 24px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .quick-donate, .wa-float, .brand-bar { display: none !important; }
}

/* ---------- Dynamic content additions (PHP version) ---------- */
.notice-ok { background: var(--green-50); border-color: #CFE5C3; color: #2F5520; }
.notice-ok .ic { color: var(--green-700); }
.chip-open { background: var(--green-50); color: var(--green-700); margin-inline-start: 4px; }
.news-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.03); }
.news-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
