﻿/*
  AKSARA: beranda prototipe v4
  Design Read: beranda yayasan pesisir untuk calon mitra, donor, dan peserta Live-In.
  Isi & komponen dari situs asal (kartu pilar, peta, Nuca Molas, nilai, hover) + bahasa visual referensi Dribbble
  (header putih, kartu media besar membulat, judul rata kiri berbobot medium, foto bersudut bulat, panel pastel, footer terang).
  Dial: ENERGY 2 / RHYTHM 3 / MOTION 2.

  Alasan keputusan (R-31):
  - Warna: semua dari logo (navy huruf, teal ombak, hijau daun, aqua). Aqua hanya aksen di atas latar gelap.
  - Font: Inter Tight medium untuk judul besar rata kiri, mengikuti referensi; Inter untuk isi.
  - Radius: kecil dan tegas atas permintaan pemilik: 16px hero & panel, 14px kartu, 12px foto & kartu kecil, 8px tombol.
  - Ikon: Lucide, sama dengan situs asal atas permintaan pemilik (override R-04, dicatat).
  - Hover: dari situs asal atas permintaan pemilik; menandai elemen yang bisa diklik.
  - Ritme: section bergantian komposisi (kartu media, baris angka, grid kartu, foto kiri-teks kanan, peta lebar,
    baris foto, panel kontak) agar tidak seragam (RHYTHM 3).
  - HP: kartu pilar, nilai, dan foto kegiatan digeser ke samping (scroll-snap), seperti situs asal.
*/
:root {
	--navy: #0A3264;
	--teal: #20647A;
	--leaf: #2E6B64;
	--aqua: #8FD0C8;
	--tint: #EEF6F6;
	--mint: #E4F2EF;
	--line: #DCE7EA;
	--muted: #4A5B70;
	--white: #FFFFFF;

	--head: "Inter Tight", "Inter", system-ui, sans-serif;
	--body: "Inter", system-ui, sans-serif;

	--wrap: 1200px;
	--gutter: 16px;
	--ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; }
.skip:focus { left: var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; }
section[id] { scroll-margin-top: 80px; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 .9rem/1.2 var(--body); color: var(--teal); margin-bottom: 18px; }

/* Kepala section ala referensi: judul besar rata kiri, keterangan di kanan */
.head { display: grid; gap: 20px; margin-bottom: 56px; }
.head p { color: var(--muted); font-size: 1.05rem; max-width: 460px; }
@media (min-width: 900px) { .head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; } }

/* ---------- Tombol: kotak membulat (referensi) + terangkat saat hover (situs asal) ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
	border-radius: 8px; border: 1px solid transparent; font: 600 .98rem/1 var(--body); text-decoration: none; cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-leaf { background: var(--leaf); color: var(--white); box-shadow: 0 14px 24px -12px rgba(46, 107, 100, .55); }
.btn-leaf:hover { background: var(--teal); }
.btn-glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--teal); box-shadow: 0 16px 26px -12px rgba(10, 50, 100, .5); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* ---------- Header putih (referensi) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); transition: box-shadow .3s; }
.header.solid { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(10, 50, 100, .35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; max-width: none; padding: 0 clamp(16px, 3vw, 40px); }
.logo img { height: 50px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 32px); }
.nav a:not(.btn) { position: relative; color: var(--navy); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--teal); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
/* Menu aktif: halaman yang sedang dibuka (aria-current) atau bagian beranda yang sedang dibaca (.on) */
.nav a[aria-current]:not(.btn), .nav a.on:not(.btn) { color: var(--teal); font-weight: 600; }
.nav a[aria-current]:not(.btn)::after, .nav a.on:not(.btn)::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: .93rem; }
.burger { display: none; }
@media (max-width: 900px) {
	.logo img { height: 42px; }
	.burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
	.burger svg { width: 22px; height: 22px; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 80px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(10, 50, 100, .3); }
	.nav.open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 20px; }
	.nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.nav a:not(.btn)::after { display: none; }
	.nav a[aria-current]:not(.btn), .nav a.on:not(.btn) { background: var(--tint); margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
	.nav .btn { margin-top: 16px; width: 100%; min-height: 50px; }
}

/* Submenu: induknya tombol (bukan tautan) supaya satu ketukan di HP membuka daftar, bukan pindah halaman.
   Tiap item diberi keterangan satu baris agar pengunjung tahu isinya sebelum mengklik. */
.sub-toggle { display: inline-flex; align-items: center; gap: 4px; position: relative; padding: 0; border: 0; background: none; color: var(--navy); font: 500 .97rem/1.5 var(--body); cursor: pointer; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-toggle:hover, .sub-toggle[aria-expanded="true"] { color: var(--teal); }
.has-sub.cur > .sub-toggle { color: var(--teal); font-weight: 600; }
.sub { list-style: none; margin: 0; padding: 0; }
.sub a::after { display: none; }
.sub a { display: block; text-decoration: none; }
.sub b { display: block; font-weight: 600; color: var(--navy); }
.sub small { display: block; font-size: .84rem; font-weight: 400; color: var(--muted); }
.sub a[aria-current] b { color: var(--teal); }
@media (min-width: 901px) {
	.nav > ul > li > a, .sub-toggle { white-space: nowrap; }
	.has-sub { position: relative; }
	.has-sub.cur > .sub-toggle::after { content: ""; position: absolute; left: 0; right: 20px; bottom: -6px; height: 2px; background: var(--teal); }
	.nav .sub { display: none; position: absolute; top: calc(100% + 18px); left: -18px; min-width: 300px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 24px 40px -18px rgba(10, 50, 100, .35); gap: 2px; }
	/* Jembatan tak terlihat di celah antara tombol dan panel, supaya hover tidak putus saat kursor turun */
	.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
	.sub-toggle[aria-expanded="true"] + .sub { display: grid; }
	#sub-program { min-width: 560px; grid-template-columns: 1fr 1fr; }
	.nav .sub a { padding: 10px 12px; border-radius: 8px; transition: background-color .2s; }
	.nav .sub a:hover, .nav .sub a[aria-current] { background: var(--tint); }
	.nav .sub a:hover b { color: var(--teal); }
}
@media (max-width: 900px) {
	.sub-toggle { display: flex; width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
	.nav .sub { display: none; padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
	.sub-toggle[aria-expanded="true"] + .sub { display: block; }
	.nav .sub a:not(.btn) { padding: 10px 0 10px 16px; border-bottom: 0; }
	.nav .sub a[aria-current]:not(.btn) { padding-left: calc(var(--gutter) + 16px); }
	.sub small { display: none; }
	.sub b { font-weight: 500; }
	.sub a[aria-current] b { font-weight: 600; }
}

/* ---------- Hero: kartu media besar hampir selebar layar (referensi) berisi video situs asal ---------- */
.hero { padding: 0 clamp(10px, 1.5vw, 20px); }
.hero-media {
	position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; color: var(--white);
	min-height: clamp(560px, calc(100vh - 100px), 820px); display: flex; align-items: flex-end;
	background: var(--navy) url(../img/hero-poster.webp) center / cover no-repeat;
}
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* Gelap di kiri bawah tempat teks: kontras >= 4.5:1 walau video menampilkan pasir putih */
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(20deg, rgba(10, 50, 100, .92) 0%, rgba(10, 50, 100, .7) 40%, rgba(10, 50, 100, .1) 75%); }
.hero-body { width: 100%; padding: clamp(28px, 5vw, 72px); display: grid; gap: 32px; align-items: end; }
@media (min-width: 1000px) { .hero-body { grid-template-columns: 1.5fr 1fr; } }
.hero .kicker { color: var(--aqua); }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: .98; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero-side p { font-size: clamp(1rem, 1.4vw, 1.12rem); color: #E4EDF5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-legal { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: .86rem; color: #D4E2EE; }
.hero-legal svg { width: 18px; height: 18px; color: var(--aqua); flex: none; }
.video-btn {
	position: absolute; right: 20px; top: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
	min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(10, 50, 100, .55);
	color: var(--white); font: 500 .85rem/1 var(--body); cursor: pointer; transition: background-color .2s;
}
.video-btn:hover { background: rgba(10, 50, 100, .85); }
.video-btn svg { width: 14px; height: 14px; }
.video-btn[hidden] { display: none; }
@media (max-width: 600px) { .hero-cta .btn { width: 100%; } }

/* ---------- Angka: baris editorial di bawah hero ---------- */
.stats { padding: clamp(40px, 6vw, 64px) 0 0; }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 24px 16px 8px 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat:nth-child(3) { border-left: 0; padding-left: 0; }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.stat .ico svg { width: 18px; height: 18px; }
.stat b { display: block; font: 500 clamp(2.2rem, 4.6vw, 3.4rem)/1 var(--head); letter-spacing: -0.04em; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }
/* Angka yang dihitung naik (JS): lebar digit tetap supaya angka tidak bergoyang */
.stat b { font-variant-numeric: tabular-nums; }
.stat b .n { display: inline; margin: 0; color: inherit; font-size: inherit; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (min-width: 820px) {
	.stats-row { grid-template-columns: repeat(4, 1fr); }
	.stat:nth-child(3) { border-left: 1px solid var(--line); padding-left: 24px; }
	.stat + .stat { padding-left: 24px; }
	.stat:nth-child(n+3) { border-top: 0; }
}
.stats-note { margin-top: 16px; font-size: .85rem; color: var(--muted); }

/* ---------- Geser di HP, grid di desktop ---------- */
.slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter) 28px; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { flex: none; }
.slider-hint { display: flex; gap: 6px; margin-top: -8px; }
.slider-hint span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background-color .2s, width .2s; }
.slider-hint span.on { width: 18px; border-radius: 3px; background: var(--teal); }

/* ---------- Tiga pilar (kartu situs asal, warna dari logo) ---------- */
.pillars > .pillar { width: 85%; scroll-snap-align: center; }
@media (min-width: 640px) { .pillars > .pillar { width: 62%; } }
@media (min-width: 960px) {
	.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; overflow: visible; margin: 0; padding: 0; }
	.pillars > .pillar { width: auto; }
	.pillars + .slider-hint { display: none; }
}
.p-teal { --c: #20647A; --bg: #EEF5F7; --bd: #C9E0E6; --ico: #DDECF0; --icoc: #20647A; --sh: rgba(32, 100, 122, .16); }
.p-leaf { --c: #2E6B64; --bg: #EEF5F3; --bd: #C8E1DB; --ico: #DCEBE7; --icoc: #2E6B64; --sh: rgba(46, 107, 100, .16); }
.p-aqua { --c: #20647A; --bg: #F1F9F8; --bd: #CDEAE6; --ico: #DDF1EE; --icoc: #0A3264; --sh: rgba(143, 208, 200, .35); }
.pillar {
	position: relative; isolation: isolate; background: var(--bg); border: 1px solid var(--bd); border-radius: 14px; padding: 32px;
	display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pillar::before {
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .5s;
	background: linear-gradient(135deg, transparent 40%, var(--c) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.pillar:hover, .pillar:focus-within { transform: translateY(-8px); box-shadow: 0 25px 50px -12px var(--sh); }
.pillar:hover::before, .pillar:focus-within::before { opacity: 1; }
.pillar .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.pillar .num { font: 500 .95rem/1 var(--head); color: var(--c); opacity: .7; }
.pillar .ico { width: 56px; height: 56px; border-radius: 12px; background: var(--ico); color: var(--icoc); display: grid; place-items: center; transition: transform .3s; }
.pillar:hover .ico, .pillar:focus-within .ico { transform: scale(1.1) rotate(-6deg); }
.pillar .ico svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; }
.pillar p { margin-top: 10px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.checks svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--c); }
.more { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--c); transition: color .2s; }
.more::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.more svg { width: 16px; height: 16px; transition: transform .3s; }
.pillar:hover .more { color: var(--navy); }
.pillar:hover .more svg, .more:focus-visible svg { transform: translateX(4px); }

/* ---------- Nuca Molas: foto kiri, teks kanan (referensi) ---------- */
.nm { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .nm { grid-template-columns: 5fr 6fr; gap: 72px; } }
.nm-photo { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.nm-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.nm-photo:hover img { transform: scale(1.05); }
.nm-photo figcaption {
	position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 20px 22px; border-radius: 10px; color: var(--navy);
	background: rgba(255, 255, 255, .94); box-shadow: 0 20px 40px -20px rgba(10, 50, 100, .5);
}
.nm-photo .place { font-size: .82rem; font-weight: 600; color: var(--teal); }
.nm-photo strong { display: block; margin-top: 4px; font: 500 1.5rem/1.1 var(--head); letter-spacing: -0.03em; }
.nm-photo p { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.nm-quote { margin-top: 20px; font: 500 1.2rem/1.45 var(--head); letter-spacing: -0.015em; color: var(--teal); }
.nm-text { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.nm-pillars { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
@media (min-width: 560px) { .nm-pillars { grid-template-columns: 1fr 1fr; } }
.nm-pillars li {
	display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid #E2E8F0; border-radius: 10px; padding: 14px 16px;
	box-shadow: 0 1px 2px rgba(10, 50, 100, .06); transition: transform .3s, box-shadow .3s;
}
.nm-pillars li:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(10, 50, 100, .12); }
.nm-pillars .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--tint); color: var(--teal); display: grid; place-items: center; }
.nm-pillars .ico svg { width: 22px; height: 22px; }
.nm-pillars b { display: block; font-family: var(--head); font-weight: 600; letter-spacing: -0.01em; }
.nm-pillars span { font-size: .88rem; color: var(--muted); }
.nm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.nm-actions small { color: var(--muted); font-size: .9rem; }

/* ---------- Peta: panel lebar ---------- */
.map-panel { background: var(--tint); border-radius: 16px; padding: clamp(16px, 3vw, 40px); }
.map-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.map-label { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--teal); background: var(--white); border-radius: 999px; padding: 6px 12px; }
.map-label svg { width: 14px; height: 14px; }
.map-top small { color: var(--muted); font-size: .85rem; }
.map { position: relative; width: 100%; aspect-ratio: 920 / 344; }
.map > img { width: 100%; height: 100%; }
.pin { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.pin .dot {
	position: relative; z-index: 2; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); border: 2px solid var(--white);
	color: var(--white); font: 700 11px/1 var(--body); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(10, 50, 100, .3);
	transition: transform .2s, background-color .2s;
}
.pin .ping { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); opacity: .6; animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
.pin:hover .dot, .pin[aria-expanded="true"] .dot { transform: scale(1.15); background: var(--navy); }
.tip {
	position: absolute; left: 50%; bottom: calc(100% - 6px); transform: translate(-50%, 4px); width: max-content; max-width: 220px;
	background: var(--navy); color: var(--white); text-align: left; padding: 10px 14px; border-radius: 12px; box-shadow: 0 20px 25px -5px rgba(10, 50, 100, .3);
	opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 5;
}
.tip b { display: block; color: var(--aqua); font-size: .85rem; }
.tip span { display: block; margin-top: 2px; font-size: .78rem; color: #E2E8F0; font-weight: 400; }
.pin:hover .tip, .pin:focus-visible .tip, .pin[aria-expanded="true"] .tip { opacity: 1; transform: translate(-50%, 0); }
.map-legend { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .map-legend { grid-template-columns: repeat(3, 1fr); } }
.map-legend li { display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 10px; padding: 12px 14px; }
.map-legend b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: .78rem; display: grid; place-items: center; }
.map-legend strong { display: block; font-weight: 600; font-size: .95rem; }
.map-legend span { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
	.pin .dot, .pin .ping { width: 16px; height: 16px; font-size: 9px; }
	.tip { max-width: 160px; padding: 8px 10px; }
}

/* ---------- Kegiatan: baris foto membulat (referensi "One Story at a Time") ---------- */
.stories > .story { width: 78%; scroll-snap-align: start; }
@media (min-width: 640px) { .stories > .story { width: 46%; } }
@media (min-width: 1000px) {
	.stories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
	.stories > .story { width: auto; }
	.stories + .slider-hint { display: none; }
}
.story figure { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.story img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.story:hover img { transform: scale(1.05); }
.story h3 { margin-top: 16px; font-size: 1.1rem; }
.story p { margin-top: 4px; font-size: .92rem; color: var(--muted); }

/* ---------- Mengapa Aksara ---------- */
.values > .value { width: 72%; scroll-snap-align: start; }
@media (min-width: 640px) { .values > .value { width: 45%; } }
@media (min-width: 960px) {
	.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; overflow: visible; margin: 0; padding: 0; }
	.values > .value { width: auto; }
	.values + .slider-hint { display: none; }
}
.value {
	background: var(--white); border: 1px solid #E2E8F0; border-radius: 12px; padding: 26px 22px;
	box-shadow: 0 1px 2px rgba(10, 50, 100, .06); transition: transform .3s, box-shadow .3s;
}
.value:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(10, 50, 100, .12); }
.value .ico { width: 44px; height: 44px; margin-bottom: 36px; border-radius: 12px; background: var(--tint); color: var(--teal); display: grid; place-items: center; }
.value .ico svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.2rem; }
.value p { margin-top: 6px; font-size: .92rem; color: var(--muted); }

/* ---------- Ajakan: foto + panel mint (referensi "Get in Touch") ---------- */
.join { display: grid; gap: 16px; }
@media (min-width: 900px) { .join { grid-template-columns: 5fr 7fr; } }
.join-photo { position: relative; border-radius: 16px; overflow: hidden; min-height: 320px; }
.join-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.join-mail {
	position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 14px 16px;
	background: var(--white); border-radius: 10px; color: var(--navy); text-decoration: none; transition: transform .3s;
}
.join-mail:hover { transform: translateY(-2px); }
.join-mail .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--mint); color: var(--leaf); display: grid; place-items: center; }
.join-mail .ico svg { width: 20px; height: 20px; }
.join-mail small { display: block; font-size: .78rem; color: var(--muted); }
.join-mail b { display: block; font-weight: 600; font-size: .95rem; word-break: break-all; }
.join-panel { background: var(--mint); border-radius: 16px; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.join-panel h2 em { font-style: normal; color: var(--teal); }
.join-panel > p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.join-ways { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .join-ways { grid-template-columns: repeat(3, 1fr); } }
.way {
	display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 10px; background: var(--white); color: var(--navy); text-decoration: none;
	transition: transform .3s, box-shadow .3s;
}
.way:hover { transform: translateY(-4px); box-shadow: 0 16px 26px -14px rgba(10, 50, 100, .35); }
.way .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--leaf); display: grid; place-items: center; margin-bottom: 8px; transition: background-color .3s, color .3s; }
.way:hover .ico { background: var(--leaf); color: var(--white); }
.way .ico svg { width: 20px; height: 20px; }
.way b { font-weight: 600; }
.way span { font-size: .85rem; color: var(--muted); }

/* ---------- Footer terang (referensi) ---------- */
.footer { padding: 0 clamp(10px, 1.5vw, 20px) clamp(10px, 1.5vw, 20px); }
.footer-panel { background: #F2F7F6; border-radius: 16px; padding: clamp(40px, 6vw, 72px) 0 28px; color: var(--navy); }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 5fr 2fr 2fr 3fr; } }
.foot-logo { width: 190px; height: auto; margin-bottom: 18px; }
.foot-grid > div:first-child p { color: var(--muted); max-width: 360px; }
.footer h4 { margin: 0 0 14px; font: 600 .95rem/1.2 var(--body); color: var(--navy); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--teal); }
.contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal); }
.foot-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- WhatsApp ---------- */
.wa {
	position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1F7A44; color: var(--white);
	display: grid; place-items: center; box-shadow: 0 6px 18px rgba(10, 50, 100, .3); transition: transform .2s;
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; }

/* =========================================================
   Halaman Nuca Molas
   ========================================================= */
.page-hero .hero-media { min-height: clamp(460px, 70vh, 640px); background-image: url(../img/nuca-molas-selam.webp); background-position: center 40%; }
.page-hero .hero-media::after { background: linear-gradient(15deg, rgba(10, 50, 100, .94) 0%, rgba(10, 50, 100, .72) 45%, rgba(10, 50, 100, .15) 80%); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
@media (max-width: 767px) { .page-hero .hero-media::after { background: linear-gradient(0deg, rgba(10, 50, 100, .95) 0%, rgba(10, 50, 100, .82) 55%, rgba(10, 50, 100, .72) 100%); } }
.crumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: #D4E2EE; margin-bottom: 18px; }
.crumb a { color: var(--white); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* Sub-navigasi halaman: chip yang bisa digeser */
.subnav { position: sticky; top: 80px; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 8px; white-space: nowrap;
	border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 500; font-size: .92rem; transition: background-color .2s, border-color .2s, color .2s;
}
.subnav a:hover { border-color: var(--teal); color: var(--teal); }
.subnav a.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.subnav ~ section[id] { scroll-margin-top: 150px; }

/* Cerita pulau */
.story-split { display: grid; gap: 32px; }
@media (min-width: 900px) { .story-split { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } }
.lead-text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--navy); }
.lead-text + .lead-text { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.challenge { background: var(--tint); border-radius: 14px; padding: clamp(24px, 3vw, 36px); }
.challenge h3 { font-size: 1.2rem; }
.challenge ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.challenge li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.challenge li:first-child { border-top: 0; }
.challenge li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--teal); }
.challenge small { display: block; margin-top: 14px; font-size: .82rem; color: var(--muted); }

/* Empat pilar: kartu pilar beranda, 4 kolom */
.pillars-4 > .pillar { width: 80%; scroll-snap-align: center; }
@media (min-width: 640px) { .pillars-4 > .pillar { width: 46%; } }
@media (min-width: 1000px) {
	.pillars-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
	.pillars-4 > .pillar { width: auto; }
	.pillars-4 + .slider-hint { display: none; }
}
.pillars-4 .pillar { padding: 26px; }
.pillars-4 .pillar h3 { font-size: 1.35rem; }

/* Live-In: pernyataan besar + tujuan */
.statement { font: 500 clamp(1.6rem, 3.4vw, 2.6rem)/1.2 var(--head); letter-spacing: -0.03em; max-width: 900px; }
.statement em { font-style: normal; color: var(--teal); }
.goals { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .goals { grid-template-columns: repeat(5, 1fr); } }
.goals li { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .goals li { border-bottom: 0; padding-right: 24px; } .goals li + li { border-left: 1px solid var(--line); padding-left: 24px; } }
.goals .n { font: 500 .9rem/1 var(--head); color: var(--teal); }
.goals b { display: block; margin-top: 14px; font: 600 1.1rem/1.25 var(--head); letter-spacing: -0.01em; }
.goals p { margin-top: 6px; font-size: .93rem; color: var(--muted); }
.who { margin-top: 56px; display: grid; gap: 16px; }
@media (min-width: 900px) { .who { grid-template-columns: 220px 1fr; align-items: start; } }
.who h3 { font-size: 1.15rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 8px 14px; border-radius: 8px; background: var(--tint); font-size: .92rem; font-weight: 500; transition: background-color .2s, color .2s; }
.tags li:hover { background: var(--teal); color: var(--white); }

/* Durasi + jadwal */
.durations { display: grid; gap: 12px; }
@media (min-width: 640px) { .durations { grid-template-columns: repeat(3, 1fr); } }
.durations input { position: absolute; opacity: 0; pointer-events: none; }
.durations label {
	display: flex; align-items: baseline; gap: 12px; padding: 20px 22px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer;
	transition: border-color .2s, background-color .2s, transform .3s, box-shadow .3s;
}
.durations label:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(10, 50, 100, .1); }
.durations input:checked + label { border-color: var(--navy); background: var(--navy); color: var(--white); }
.durations input:checked + label span { color: #D4E2EE; }
.durations input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 3px; }
.durations b { font: 500 2.6rem/1 var(--head); letter-spacing: -0.04em; }
.durations span { color: var(--muted); font-size: .95rem; }
.days-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin: 48px 0 8px; }
.days-head h3 { font-size: 1.35rem; }
.days-head small { color: var(--muted); font-size: .88rem; }
.days { border-top: 1px solid var(--line); }
.days details { border-bottom: 1px solid var(--line); }
.days summary {
	list-style: none; cursor: pointer; display: grid; grid-template-columns: 80px 1fr 32px; gap: 16px; align-items: center;
	padding: 18px 0; min-height: 60px; transition: color .2s;
}
.days summary::-webkit-details-marker { display: none; }
.days summary:hover { color: var(--teal); }
.days .d { font: 500 .9rem/1 var(--head); color: var(--teal); }
.days .t { font: 500 1.15rem/1.3 var(--head); letter-spacing: -0.015em; }
.days .tog { width: 32px; height: 32px; border-radius: 8px; background: var(--tint); color: var(--teal); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.days .tog svg { width: 16px; height: 16px; transition: transform .3s; }
.days summary:hover .tog { background: #D6E9EC; }
.days details[open] .tog { background: var(--teal); color: var(--white); }
.days details[open] .tog svg { transform: rotate(45deg); }
.days .body { padding: 0 48px 22px 96px; color: var(--muted); }
.days .body ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 4px; }
@media (max-width: 600px) {
	.days summary { grid-template-columns: 56px 1fr 32px; gap: 10px; }
	.days .body { padding: 0 0 20px 66px; }
}

/* Ritme harian + hasil */
.rhythm { display: grid; gap: 12px; }
@media (min-width: 700px) { .rhythm { grid-template-columns: repeat(4, 1fr); } }
.rhythm div { background: var(--white); border-radius: 12px; padding: 22px; transition: transform .3s, box-shadow .3s; }
.rhythm div:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(10, 50, 100, .12); }
.rhythm .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--teal); display: grid; place-items: center; margin-bottom: 28px; }
.rhythm .ico svg { width: 20px; height: 20px; }
.rhythm b { display: block; font: 600 1.1rem/1.2 var(--head); }
.rhythm p { margin-top: 6px; font-size: .93rem; color: var(--muted); }
/* Warna kartu mengikuti terang langit: pagi paling terang, malam navy. Tiap kartu jadi mudah dibedakan,
   dan urutannya terbaca tanpa harus membaca judul. Kontras teks tetap AA di keempatnya. */
.rhythm .siang { background: #CDE8E4; }
.rhythm .siang .ico { background: var(--white); color: var(--leaf); }
.rhythm .sore { background: var(--teal); color: var(--white); }
.rhythm .malam { background: var(--navy); color: var(--white); }
.rhythm .sore .ico, .rhythm .malam .ico { background: rgba(255, 255, 255, .14); color: var(--aqua); }
.rhythm .sore p { color: #E4F2EF; }
.rhythm .malam p { color: #D5E2EE; }
.rhythm .malam:hover, .rhythm .sore:hover { box-shadow: 0 14px 24px -8px rgba(10, 50, 100, .35); }
.gains { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 900px) { .gains { grid-template-columns: 1fr 1fr; } }
.gains > div { background: var(--white); border-radius: 12px; padding: clamp(22px, 3vw, 32px); }
.gains > div + div { background: #CDE8E4; }
.gains h3 { font-size: 1.2rem; }
.gains ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.gains li { display: flex; gap: 10px; align-items: flex-start; }
.gains li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--leaf); }
.panel-mint { background: var(--mint); border-radius: 16px; padding: clamp(20px, 4vw, 48px); }

/* Pendaftaran */
.signup { display: grid; gap: 16px; }
.signup > * { min-width: 0; }
@media (min-width: 960px) { .signup { grid-template-columns: 5fr 7fr; } }
.signup-info { background: var(--navy); color: var(--white); border-radius: 16px; padding: clamp(28px, 4vw, 48px); }
.signup-info .kicker { color: var(--aqua); }
.signup-info > p { margin-top: 16px; color: #D4E2EE; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.facts span { color: #B9CBDD; }
.facts b { text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .facts li { flex-direction: column; gap: 4px; } .facts b { text-align: left; } }
.ph { color: var(--aqua); font-weight: 500; }
.form { background: var(--mint); border-radius: 16px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }
.form h3 { font-size: 1.4rem; }
.form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #A7BCC6; border-radius: 8px; background: var(--white);
	font: inherit; color: var(--navy); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(32, 100, 122, .25); }
/* Select: pola dari tema netattorney (folder analisahukum). Panah bawaan diganti chevron sendiri;
   di browser yang mendukung base-select, daftar pilihannya ikut digambar ulang dengan warna Aksara. */
.field select {
	appearance: none; cursor: pointer; padding-right: 46px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2320647A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 18px center;
}
@supports (appearance: base-select) {
	.field select, .field select::picker(select) { appearance: base-select; }
	.field select { display: flex; align-items: center; gap: 12px; background-image: none; padding-right: 18px; white-space: nowrap; }
	.field select > button, .field select selectedcontent { overflow: hidden; text-overflow: ellipsis; }
	.field select::picker-icon {
		content: ""; width: 14px; height: 9px; margin-left: auto; background: var(--teal); transition: rotate .2s;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	.field select:open::picker-icon { rotate: 180deg; }
	.field select:open { border-color: var(--teal); }
	.field select::picker(select) {
		border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 6px; margin-top: 6px;
		box-shadow: 0 24px 60px -24px rgba(10, 50, 100, .35);
	}
	.field select option { padding: 11px 14px; border-radius: 6px; color: var(--navy); font-size: 1rem; cursor: pointer; }
	.field select option::checkmark { display: none; }
	.field select option:hover, .field select option:focus-visible { background: var(--tint); outline: none; }
	.field select option:checked { background: var(--mint); font-weight: 600; }
}
.field .err { display: none; margin-top: 6px; font-size: .85rem; color: #B42318; font-weight: 500; }
.field.invalid input, .field.invalid textarea { border-color: #B42318; }
.field.invalid .err { display: block; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; padding: 14px 16px; border-radius: 8px; background: var(--white); border: 1px solid var(--leaf); color: var(--leaf); font-weight: 600; }
.form-msg[hidden] { display: none; }
.form-msg.fail { border-color: #B42318; color: #B42318; }
/* Kolom jebakan bot: tidak terlihat dan tidak bisa difokus pengunjung */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Halaman Tentang Kami ---------- */
.hero-tentang .hero-media { background-image: url(../img/bantuan-posko.webp); background-position: center 55%; }

/* Tiga bidang kerja memakai tiga warna pilar yang sama dengan beranda, supaya pembaca langsung mengenali bidangnya */
.fields { display: grid; gap: 12px; }
.field-card { background: var(--bg); border: 1px solid var(--bd); border-radius: 12px; padding: 22px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; transition: transform .3s, box-shadow .3s; }
.field-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -14px var(--sh); }
.field-card .ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; background: var(--ico); color: var(--icoc); display: grid; place-items: center; }
.field-card .ico svg { width: 22px; height: 22px; }
.field-card h3 { font-size: 1.15rem; color: var(--c); }
.field-card p { margin-top: 4px; font-size: .93rem; color: var(--muted); }
.f-teal { --c: #20647A; --bg: #EEF5F7; --bd: #C9E0E6; --ico: #DDECF0; --icoc: #20647A; --sh: rgba(32, 100, 122, .22); }
.f-leaf { --c: #2E6B64; --bg: #EEF5F3; --bd: #C8E1DB; --ico: #DCEBE7; --icoc: #2E6B64; --sh: rgba(46, 107, 100, .22); }
.f-aqua { --c: #0A3264; --bg: #F1F9F8; --bd: #CDEAE6; --ico: #DDF1EE; --icoc: #0A3264; --sh: rgba(143, 208, 200, .45); }

/* Visi dan misi berdampingan: visi satu kalimat di panel navy (tujuan akhir), misi daftar bernomor di sebelahnya
   (cara mencapainya). Panel navy menempel saat digulir supaya visi tetap terlihat selama membaca misi. */
.vm { display: grid; gap: 16px; }
@media (min-width: 960px) { .vm { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; } .visi { position: sticky; top: 170px; } }
.visi { background: var(--navy); color: var(--white); border-radius: 16px; padding: clamp(28px, 4vw, 52px); }
.visi .kicker { color: var(--aqua); }
.visi p { font: 500 clamp(1.5rem, 2.6vw, 2.15rem)/1.25 var(--head); letter-spacing: -0.025em; }
.visi em { font-style: normal; color: var(--aqua); }
.misi { padding-top: clamp(8px, 2vw, 28px); }
.misi h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.misi ol { list-style: none; padding: 0; margin: 28px 0 0; }
.misi li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.misi li:last-child { border-bottom: 1px solid var(--line); }
.misi .n { width: 48px; height: 48px; border-radius: 10px; background: var(--tint); color: var(--teal); display: grid; place-items: center; font: 600 1rem/1 var(--head); transition: background-color .25s, color .25s, transform .25s; }
.misi li:hover .n { background: var(--teal); color: var(--white); transform: rotate(-6deg); }
.misi p { font-size: 1.08rem; line-height: 1.5; color: var(--navy); }

.logo-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .logo-split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.logo-card { margin: 0; background: var(--tint); border-radius: 16px; padding: clamp(40px, 7vw, 88px) clamp(28px, 5vw, 64px); display: grid; place-items: center; }
.logo-card img { width: 100%; max-width: 420px; height: auto; }
.symbols { list-style: none; padding: 0; margin: 28px 0 0; display: grid; }
.symbols li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.symbols .ico { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--mint); color: var(--leaf); display: grid; place-items: center; transition: transform .3s; }
.symbols li:hover .ico { transform: scale(1.1) rotate(-6deg); }
.symbols .ico svg { width: 22px; height: 22px; }
.symbols b { font: 600 1.1rem/1.2 var(--head); }
.symbols p { margin-top: 4px; color: var(--muted); }
.meaning { margin-top: 8px; padding: 20px 22px; border-radius: 12px; background: var(--navy); color: var(--white); font-weight: 500; }

.reach { display: grid; gap: 16px; }
@media (min-width: 900px) { .reach { grid-template-columns: 1fr 1fr; } }
.reach > div { background: var(--white); border-radius: 12px; padding: clamp(22px, 3vw, 32px); }
.reach h3 { display: flex; gap: 10px; align-items: center; font-size: 1.15rem; margin-bottom: 18px; }
.reach h3 svg { width: 20px; height: 20px; color: var(--teal); }

.legal { display: grid; gap: 16px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 1fr 1.6fr; align-items: stretch; } }
.legal .signup-info h3 { font-size: 1.25rem; }
.legal .facts li { flex-direction: column; gap: 4px; }
.legal .facts b { text-align: left; }
.org { display: grid; gap: 12px; }
@media (min-width: 700px) { .org { grid-template-columns: repeat(3, 1fr); } }
.org-card { background: var(--bg); border: 1px solid var(--bd); border-radius: 12px; padding: 24px; transition: transform .3s, box-shadow .3s; }
.org-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -14px var(--sh); }
.org-card h3 { font-size: 1.15rem; color: var(--c); padding-bottom: 14px; border-bottom: 1px solid var(--bd); }
.org-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.org-card li { font-weight: 600; line-height: 1.35; }
.org-card li span { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }

.partner { display: grid; gap: 32px; background: var(--mint); border-radius: 16px; padding: clamp(28px, 5vw, 56px); }
@media (min-width: 900px) { .partner { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; } }
.partner p { margin-top: 14px; color: var(--muted); max-width: 480px; }
.partner .hero-cta { margin-top: 28px; }
.partner h3 { font-size: 1.15rem; margin-bottom: 16px; }
.partner .tags li { background: var(--white); }
.partner .tags li:hover { background: var(--teal); }

/* ---------- Halaman Program ---------- */
.hero-program .hero-media { background-image: url(../img/program-hero.webp); background-position: center; }

/* Program unggulan: foto besar + teks, satu-satunya program yang punya halaman sendiri */
.flagship { display: grid; background: var(--tint); border-radius: 16px; overflow: hidden; }
@media (min-width: 900px) { .flagship { grid-template-columns: 1fr 1fr; } }
.flag-media { overflow: hidden; min-height: 280px; }
.flag-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.flagship:hover .flag-media img { transform: scale(1.05); }
.flag-body { padding: clamp(28px, 4vw, 56px); }
.flag-body > p { margin-top: 14px; color: var(--muted); }
.flag-pillars { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flag-pillars li { display: flex; gap: 10px; align-items: center; background: var(--white); border-radius: 8px; padding: 10px 12px; font-weight: 500; font-size: .93rem; }
.flag-pillars svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.flagship .hero-cta { margin-top: 28px; }

/* Satu pilar = panel pengantar berwarna pilar (kiri) + empat kartu program (kanan).
   Warna pilar sama dengan kartu tiga pilar di beranda, jadi pengunjung yang datang dari sana langsung mengenalinya. */
.pg { display: grid; gap: 16px; }
@media (min-width: 1000px) { .pg { grid-template-columns: 340px 1fr; gap: 24px; align-items: stretch; } }
.pg-intro { position: relative; background: var(--bg); border: 1px solid var(--bd); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; transition: box-shadow .4s var(--ease); }
.pg-intro:hover { box-shadow: 0 25px 50px -12px var(--sh); }
.pg-intro .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.pg-intro .num { font: 500 .95rem/1 var(--head); color: var(--c); opacity: .7; }
.pg-intro .ico { width: 56px; height: 56px; border-radius: 12px; background: var(--ico); color: var(--icoc); display: grid; place-items: center; transition: transform .3s; }
.pg-intro:hover .ico { transform: scale(1.1) rotate(-6deg); }
.pg-intro .ico svg { width: 28px; height: 28px; }
.pg-intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pg-intro p { margin-top: 10px; color: var(--muted); }
.pg-intro .more { margin-top: auto; padding-top: 28px; }
.pg-intro:hover .more { color: var(--navy); }
.pg-intro:hover .more svg { transform: translateX(4px); }
/* Di HP kartu program jadi slider geser seperti kartu pilar di beranda, supaya 12 kartu tidak memanjang ke bawah */
.pg-list { min-width: 0; }
.progs > .prog { width: 82%; scroll-snap-align: start; }
@media (min-width: 640px) {
	.progs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; margin: 0; padding: 0; }
	.progs > .prog { width: auto; }
	.progs + .slider-hint { display: none; }
}
.prog { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.prog:hover { transform: translateY(-4px); border-color: var(--bd); box-shadow: 0 18px 30px -14px var(--sh); }
.prog .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--ico); color: var(--icoc); display: grid; place-items: center; margin-bottom: 22px; transition: transform .3s; }
.prog:hover .ico { transform: scale(1.1) rotate(-6deg); }
.prog .ico svg { width: 22px; height: 22px; }
.prog h3 { font-size: 1.2rem; }
.prog > p { margin-top: 6px; font-size: .93rem; color: var(--muted); }
.prog .loc { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font-size: .85rem; font-weight: 600; color: var(--c); }
.prog .loc svg { width: 15px; height: 15px; }

/* Tanggap bencana: foto penuh dengan teks di atas lapisan navy, beda bentuk dari kartu program
   karena ini kegiatan di luar program rutin */
.relief { position: relative; border-radius: 16px; overflow: hidden; color: var(--white); min-height: 420px; display: grid; align-items: end; }
.relief img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.relief:hover img { transform: scale(1.04); }
.relief::after { content: ""; position: absolute; inset: 0; background: linear-gradient(15deg, rgba(10, 50, 100, .95) 0%, rgba(10, 50, 100, .78) 45%, rgba(10, 50, 100, .2) 85%); }
.relief > div { position: relative; z-index: 1; padding: clamp(28px, 4vw, 56px); max-width: 620px; }
.relief .kicker { color: var(--aqua); }
.relief h2 { color: var(--white); }
.relief p { margin: 14px 0 26px; color: #D5E2EE; }

/* ---------- Halaman Kolaborasi ---------- */
.hero-kolab .hero-media { background-image: url(../img/bantuan-desa.webp); background-position: center 60%; }

/* Lima jenis mitra, lima warna dari palet logo: pengunjung mencari kartu lembaganya, jadi tiap kartu perlu mudah dibedakan */
.partners > .pcard { width: 80%; scroll-snap-align: start; }
@media (min-width: 640px) { .partners > .pcard { width: 46%; } }
@media (min-width: 1100px) {
	.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; overflow: visible; margin: 0; padding: 0; }
	.partners > .pcard { width: auto; }
	.partners + .slider-hint { display: none; }
}
.pcard { border-radius: 14px; padding: 26px 24px; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 22px 36px -16px rgba(10, 50, 100, .35); }
.pcard .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 40px; transition: transform .3s; }
.pcard:hover .ico { transform: scale(1.1) rotate(-6deg); }
.pcard .ico svg { width: 24px; height: 24px; }
.pcard h3 { font-size: 1.2rem; line-height: 1.25; }
.pcard ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.pcard li { font-size: .93rem; line-height: 1.5; padding-top: 10px; border-top: 1px solid rgba(10, 50, 100, .12); }
.pc-navy { background: var(--navy); color: var(--white); }
.pc-navy .ico { background: rgba(255, 255, 255, .12); color: var(--aqua); }
.pc-navy li { color: #D5E2EE; border-color: rgba(255, 255, 255, .16); }
.pc-teal { background: var(--teal); color: var(--white); }
.pc-teal .ico { background: rgba(255, 255, 255, .14); color: var(--aqua); }
.pc-teal li { color: #E4F2EF; border-color: rgba(255, 255, 255, .18); }
.pc-leaf { background: #CDE8E4; }
.pc-leaf .ico { background: var(--white); color: var(--leaf); }
.pc-leaf li { color: #2C3E52; }
.pc-aqua { background: var(--tint); border: 1px solid var(--line); }
.pc-aqua .ico { background: var(--white); color: var(--teal); }
.pc-aqua li { color: var(--muted); }
.pc-mint { background: var(--white); border: 1px solid var(--line); }
.pc-mint .ico { background: var(--mint); color: var(--leaf); }
.pc-mint li { color: var(--muted); }

.where { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .where { grid-template-columns: 1fr 1fr; gap: 64px; } }
.where-photo { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.where-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.where-photo:hover img { transform: scale(1.05); }
.where p { margin-top: 14px; color: var(--muted); }
.where .hero-cta { margin-top: 26px; }
.facts a { color: var(--white); text-decoration: none; }
.facts a:hover { text-decoration: underline; }

/* ---------- Halaman Kontak ---------- */
/* Tanpa foto hero: orang yang membuka Kontak ingin langsung menghubungi, jadi tiga jalur kontak
   ditaruh di panel navy paling atas. Ini juga membedakan halaman ini dari halaman cerita. */
.contact-top { padding: 0 clamp(10px, 1.5vw, 20px); }
.ct-panel { background: var(--navy); color: var(--white); border-radius: 16px; padding: clamp(36px, 5vw, 64px) max(calc((100% - var(--wrap)) / 2 + var(--gutter)), clamp(20px, 4vw, 46px)); display: grid; gap: 36px; }
@media (min-width: 1000px) { .ct-panel { grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: end; } .channels { grid-column: 1 / -1; } }
.ct-head h1 { color: var(--white); font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.ct-head h1 em { font-style: normal; color: var(--aqua); }
.ct-head > p:last-child { margin-top: 16px; color: #D5E2EE; max-width: 420px; }
.channels { display: grid; gap: 12px; }
@media (min-width: 700px) { .channels { grid-template-columns: repeat(3, 1fr); } }
.channel { display: flex; flex-direction: column; min-width: 0; border-radius: 12px; padding: 22px; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.channel:hover { transform: translateY(-6px); box-shadow: 0 22px 36px -16px rgba(0, 0, 0, .45); }
.channel .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 28px; transition: transform .3s; }
.channel:hover .ico { transform: scale(1.1) rotate(-6deg); }
.channel .ico svg { width: 22px; height: 22px; }
.channel .lbl { font-size: .88rem; font-weight: 500; }
.channel b { margin-top: 4px; font: 600 1.1rem/1.3 var(--head); overflow-wrap: anywhere; }
/* Di HP kartu jalur kontak jadi baris ringkas: ikon di kiri, tanpa jarak besar, supaya formulir tidak terdorong jauh ke bawah */
@media (max-width: 699px) {
	.channel { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
	.channel .ico { grid-row: span 3; margin-bottom: 0; align-self: center; }
	.channel .go { margin-top: 6px; }
}
.channel .go { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; }
.channel .go svg { width: 15px; height: 15px; transition: transform .3s; }
.channel:hover .go svg { transform: translateX(4px); }
/* WhatsApp paling menonjol karena paling cepat dibalas; email dan Instagram lebih tenang */
.ch-wa { background: var(--leaf); color: var(--white); }
.ch-wa .ico { background: rgba(255, 255, 255, .16); color: var(--white); }
.ch-wa .lbl, .ch-wa .go { color: #DDF1EE; }
.ch-mail { background: var(--white); color: var(--navy); }
.ch-mail .ico { background: var(--tint); color: var(--teal); }
.ch-mail .lbl { color: var(--muted); }
.ch-mail .go { color: var(--teal); }
.ch-ig { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: var(--white); }
.ch-ig .ico { background: rgba(255, 255, 255, .12); color: var(--aqua); }
.ch-ig .lbl, .ch-ig .go { color: #D5E2EE; }

.contact-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-grid > * { min-width: 0; }
@media (max-width: 959px) { .ct-side { order: 2; } }
.ct-side { display: grid; gap: 16px; align-content: start; }
.office { background: var(--tint); border-radius: 16px; padding: clamp(24px, 3.5vw, 40px); }
.office h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.office address { font-style: normal; margin: 14px 0 24px; color: var(--muted); }
.shortcuts { border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.shortcuts h3 { font-size: 1.1rem; margin-bottom: 8px; }
.shortcuts ul { list-style: none; padding: 0; margin: 0; }
.shortcuts li + li { border-top: 1px solid var(--line); }
.shortcuts a { display: grid; grid-template-columns: 40px 1fr 18px; gap: 14px; align-items: center; padding: 14px 0; text-decoration: none; color: var(--navy); }
.shortcuts .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--mint); color: var(--leaf); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.shortcuts .ico svg { width: 20px; height: 20px; }
.shortcuts b { display: block; font-weight: 600; }
.shortcuts small { display: block; font-size: .86rem; color: var(--muted); }
.shortcuts .arr { width: 18px; height: 18px; color: var(--teal); transition: transform .3s; }
.shortcuts a:hover .ico { background: var(--leaf); color: var(--white); }
.shortcuts a:hover .arr { transform: translateX(4px); }

/* ---------- Halaman Dampak ---------- */
/* Peta jadi "foto hero" halaman ini: pertanyaan pertama pengunjung adalah di mana Aksara bekerja */
@media (min-width: 1000px) { .impact-top .map-panel { grid-column: 1 / -1; } }
.impact-top .map-panel { padding: clamp(14px, 2.5vw, 32px); }

.places { display: grid; gap: 16px; }
@media (min-width: 960px) { .places { grid-template-columns: 1fr 1.35fr 1fr; align-items: stretch; } }
.place { position: relative; background: var(--bg); border: 1px solid var(--bd); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.place:hover { transform: translateY(-6px); box-shadow: 0 25px 50px -12px var(--sh); }
.place .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.place .num { width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: var(--white); display: grid; place-items: center; font: 600 .95rem/1 var(--head); }
.place .prov { font-size: .85rem; font-weight: 500; color: var(--muted); text-align: right; }
.place h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; }
.place > p { margin-top: 10px; color: var(--muted); }
.place .tags { margin-top: 18px; }
.place .tags li { background: var(--white); font-size: .85rem; padding: 6px 12px; }
.place .more { margin-top: auto; padding-top: 24px; }
.place:hover .more { color: var(--navy); }
.place:hover .more svg { transform: translateX(4px); }
/* Nuca Molas lebih lebar dan berlatar gelap: satu-satunya lokasi dengan program terpadu */
.place-main { background: var(--leaf); border-color: var(--leaf); color: var(--white); }
.place-main .num { background: var(--white); color: var(--leaf); }
.place-main .prov, .place-main > p { color: #DDF1EE; }
.place-main h3 { color: var(--white); }
.place-main .tags li { background: rgba(255, 255, 255, .14); color: var(--white); }
.place-main .more, .place-main:hover .more { color: var(--white); }

/* Tiga foto berurutan: kerusakan, pengungsian, bantuan */
.timeline-photos { display: grid; gap: 12px; }
@media (min-width: 760px) { .timeline-photos { grid-template-columns: repeat(3, 1fr); } }
.timeline-photos figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--tint); }
.timeline-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.timeline-photos figure:hover img { transform: scale(1.05); }
.timeline-photos figcaption { display: flex; gap: 12px; align-items: center; padding: 16px 18px; font-weight: 600; }
.timeline-photos figcaption b { font: 500 .9rem/1 var(--head); color: var(--teal); }

/* Warna nomor SDG memakai warna resmi PBB supaya langsung dikenali; kartunya tetap putih */
.sdgs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .sdgs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .sdgs { grid-template-columns: repeat(4, 1fr); } }
.sdgs li { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: 12px; padding: 16px; transition: transform .3s, box-shadow .3s; }
.sdgs li:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(10, 50, 100, .12); }
.sdg { flex: none; width: 48px; height: 48px; border-radius: 10px; background: var(--g); color: var(--white); display: grid; place-items: center; font: 600 1.15rem/1 var(--head); }
.sdg-dark { color: var(--navy); }
.sdgs b { display: block; font-weight: 600; line-height: 1.3; }
.sdgs small { display: block; margin-top: 2px; font-size: .84rem; color: var(--muted); }

.measure { display: grid; gap: 32px; }
@media (min-width: 960px) { .measure { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; } }
.measure > div > p { margin-top: 14px; color: var(--muted); max-width: 440px; }
.measure .hero-cta { margin-top: 26px; }
.indicators { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .indicators { grid-template-columns: 1fr 1fr; } }
.indicators li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 16px; transition: border-color .2s; }
.indicators li:hover { border-color: var(--teal); }
.indicators .ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--teal); display: grid; place-items: center; }
.indicators .ico svg { width: 22px; height: 22px; }
.indicators b { font-weight: 600; line-height: 1.3; }
.indicators small { font-size: .84rem; color: var(--muted); }

/* ---------- Halaman Kegiatan ---------- */
.hero-kegiatan .hero-media { background-image: url(../img/kegiatan-hero.webp); background-position: center 45%; }

.feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: 1fr 1fr; gap: 64px; } }
.feature-text .lead-text { margin-top: 24px; }
.feature-text > p:not(.lead-text) { margin-top: 14px; color: var(--muted); }
.feature-facts { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.feature-facts li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.feature-facts span { color: var(--muted); font-size: .93rem; }
.feature-facts b { font-weight: 600; }
.feature-photo { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature-photo:hover img { transform: scale(1.05); }

/* Alur penyaluran: tiga langkah nyata yang terlihat di foto, bukan template "3 langkah" */
.flow { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow li { background: var(--tint); border-radius: 14px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.flow li:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -14px rgba(10, 50, 100, .25); }
.flow img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.flow div { padding: 18px 20px 22px; }
.flow .n { font: 500 .9rem/1 var(--head); color: var(--teal); }
.flow b { display: block; margin-top: 10px; font: 600 1.15rem/1.25 var(--head); }
.flow p { margin-top: 6px; font-size: .93rem; color: var(--muted); }

/* Galeri: tinggi baris tetap dan empat foto lebar, jadi 8 foto pas mengisi 3 baris tanpa bolong dan tanpa grid seragam */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(140px, 30vw, 220px); gap: 10px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; } .gallery .wide { grid-column: span 2; } }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--tint); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.gallery button:hover img { transform: scale(1.06); filter: brightness(1.05); }
.gallery button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; background: var(--navy); color: var(--white); overflow: visible; }
.lightbox::backdrop { background: rgba(6, 24, 48, .85); }
.lightbox img { display: block; width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px 14px 0 0; background: #061830; }
.lb-cap { padding: 14px 64px 16px 18px; font-size: .93rem; color: #D5E2EE; }
.lightbox button { position: absolute; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s; }
.lightbox button:hover { background: var(--teal); color: var(--white); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev, .lb-next { top: 40%; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

.agenda { display: grid; gap: 16px; }
@media (min-width: 960px) { .agenda { grid-template-columns: 2fr 1fr; } }
.next { background: var(--navy); color: var(--white); border-radius: 16px; padding: clamp(28px, 5vw, 56px); }
.next .kicker { color: var(--aqua); }
.next h2 { color: var(--white); max-width: 620px; }
.next p { margin-top: 14px; color: #D5E2EE; max-width: 560px; }
.next .hero-cta { margin-top: 28px; }
.ig-card { display: flex; flex-direction: column; background: var(--mint); border-radius: 16px; padding: clamp(28px, 4vw, 40px); text-decoration: none; color: var(--navy); transition: transform .3s, box-shadow .3s; }
.ig-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -14px rgba(10, 50, 100, .25); }
.ig-card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--white); color: var(--leaf); display: grid; place-items: center; margin-bottom: 32px; transition: transform .3s; }
.ig-card:hover .ico { transform: scale(1.1) rotate(-6deg); }
.ig-card .ico svg { width: 24px; height: 24px; }
.ig-card b { font: 600 1.35rem/1.25 var(--head); letter-spacing: -0.02em; }
.ig-card > span:not(.ico):not(.go) { margin-top: 8px; color: var(--muted); }
.ig-card .go { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--leaf); }
.ig-card .go svg { width: 16px; height: 16px; transition: transform .3s; }
.ig-card:hover .go svg { transform: translateX(4px); }

/* ---------- Halaman Donasi ---------- */
/* Pemilih donasi langsung di panel atas: orang yang menekan "Donasi" sudah memutuskan, jadi jangan disuruh menggulir */
@media (min-width: 1000px) { .donate-top { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.ct-head h1 + p { margin-top: 16px; color: #D5E2EE; max-width: 460px; }
.donate-trust { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.donate-trust li { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: #D5E2EE; }
.donate-trust svg { width: 18px; height: 18px; flex: none; color: var(--aqua); }
.donate { min-width: 0; background: var(--white); color: var(--navy); border-radius: 14px; padding: clamp(16px, 3vw, 32px); display: grid; gap: 22px; }
.donate fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.donate legend { padding: 0; margin-bottom: 12px; font-weight: 600; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .amounts { grid-template-columns: repeat(4, 1fr); } }
.choices label, .amounts label { position: relative; cursor: pointer; }
.choices input, .amounts input { position: absolute; opacity: 0; pointer-events: none; }
.choices span, .amounts span { overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 12px; border: 1px solid #A7BCC6; border-radius: 8px; font-weight: 500; font-size: .93rem; line-height: 1.25; transition: border-color .2s, background-color .2s, color .2s; }
.amounts span { justify-content: center; font-weight: 600; }
.choices svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
.choices label:hover span, .amounts label:hover span { border-color: var(--teal); }
.choices input:checked + span, .amounts input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choices input:checked + span svg { color: var(--aqua); }
.choices input:focus-visible + span, .amounts input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.donate .other { margin-top: 12px; }
.rp { display: flex; align-items: stretch; }
.rp span { display: grid; place-items: center; padding: 0 14px; border: 1px solid #A7BCC6; border-right: 0; border-radius: 8px 0 0 8px; background: var(--tint); font-weight: 600; }
.rp input { border-radius: 0 8px 8px 0 !important; }
.field.invalid .rp input { border-color: #B42318; }
.donate-sum { margin: 0; padding: 14px 16px; border-radius: 8px; background: var(--mint); }
.donate .btn { justify-self: stretch; justify-content: center; }

.uses { display: grid; gap: 16px; }
@media (min-width: 900px) { .uses { grid-template-columns: repeat(3, 1fr); } }
.use { position: relative; background: var(--bg); border: 1px solid var(--bd); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.use:hover { transform: translateY(-6px); box-shadow: 0 25px 50px -12px var(--sh); }
.use .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--ico); color: var(--icoc); display: grid; place-items: center; margin-bottom: 28px; transition: transform .3s; }
.use:hover .ico { transform: scale(1.1) rotate(-6deg); }
.use .ico svg { width: 26px; height: 26px; }
.use h3 { font-size: 1.4rem; color: var(--c); }
.use p { margin-top: 8px; color: var(--muted); }
.use .more { margin-top: auto; padding-top: 24px; }
.use:hover .more { color: var(--navy); }
.use:hover .more svg { transform: translateX(4px); }

.how { display: grid; gap: 32px; }
@media (min-width: 960px) { .how { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; } }
.how > div > p { margin-top: 14px; color: var(--muted); max-width: 440px; }
.how ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.how li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: var(--white); border-radius: 12px; padding: 18px; }
.how .n { width: 44px; height: 44px; border-radius: 50%; background: var(--leaf); color: var(--white); display: grid; place-items: center; font: 600 1rem/1 var(--head); }
.how b { display: block; font: 600 1.08rem/1.3 var(--head); }
.how li p { margin-top: 4px; font-size: .93rem; color: var(--muted); }

.other-ways { display: grid; gap: 12px; }
@media (min-width: 900px) { .other-ways { grid-template-columns: repeat(3, 1fr); } }
.channel-lite { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-decoration: none; color: var(--navy); transition: border-color .2s, transform .3s; }
.channel-lite:hover { border-color: var(--teal); transform: translateY(-3px); }
.channel-lite .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--mint); color: var(--leaf); display: grid; place-items: center; }
.channel-lite .ico svg { width: 22px; height: 22px; }
.channel-lite b { display: block; font-weight: 600; }
.channel-lite small { display: block; font-size: .86rem; color: var(--muted); }
.channel-lite .arr { width: 18px; height: 18px; color: var(--teal); transition: transform .3s; }
.channel-lite:hover .arr { transform: translateX(4px); }

/* ---------- Halaman Transparansi ---------- */
/* Panel atas berisi papan status: pengunjung yang ragu langsung melihat apa yang sudah ada dan apa yang belum,
   tanpa harus membaca seluruh halaman. Status "belum" sengaja ditampilkan, bukan disembunyikan. */
.foot-legal a { color: inherit; }
.foot-legal a:hover { color: var(--teal); }
.status h2 { font-size: 1rem; font-weight: 600; color: var(--aqua); margin-bottom: 12px; }
.status ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.status a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); text-decoration: none; transition: background-color .2s, transform .3s; }
.status a:hover { background: rgba(255, 255, 255, .13); transform: translateX(4px); }
.status span { min-width: 0; }
.status b { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; padding: 5px 10px; border-radius: 6px; }
.status b svg { width: 15px; height: 15px; }
.status .ok b { background: var(--aqua); color: var(--navy); }
.status .wait b { background: transparent; color: #F4D58D; border: 1px solid rgba(244, 213, 141, .5); }
@media (max-width: 480px) { .status a { flex-direction: column; align-items: flex-start; gap: 8px; } }

.docs { display: grid; gap: 40px; }
@media (min-width: 960px) { .docs { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; } }
.docs > div > p { margin-top: 14px; color: var(--muted); max-width: 460px; }
.docs .hero-cta { margin-top: 28px; }
/* Bentuk lembar dokumen: kertas putih bergaris, beda dari kartu berwarna di bagian lain */
.doc-sheet { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(10, 50, 100, .28); }
.doc-sheet header { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 2px solid var(--navy); }
.doc-sheet .ico { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--tint); color: var(--teal); display: grid; place-items: center; }
.doc-sheet .ico svg { width: 26px; height: 26px; }
.doc-sheet small { color: var(--muted); font-size: .88rem; }
.doc-sheet h3 { font-size: 1.3rem; }
.doc-sheet dl { margin: 0; }
.doc-sheet dl > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.doc-sheet dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 600px) { .doc-sheet dl > div { grid-template-columns: 180px 1fr; gap: 16px; } }
.doc-sheet dt { color: var(--muted); font-size: .92rem; }
.doc-sheet dd { margin: 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }

.organs .role { margin-top: 14px; font-size: .93rem; color: var(--muted); }

.rules { display: grid; gap: 16px; }
@media (min-width: 1000px) { .rules { grid-template-columns: 1.7fr 1fr; } }
.rules ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .rules ol { grid-template-columns: 1fr 1fr; } }
.rules li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 22px; transition: border-color .2s, transform .3s; }
.rules li:hover { border-color: var(--teal); transform: translateY(-3px); }
.rules li .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--mint); color: var(--leaf); display: grid; place-items: center; }
.rules li .ico svg { width: 22px; height: 22px; }
.rules b { display: block; font: 600 1.08rem/1.3 var(--head); }
.rules li p { margin-top: 6px; font-size: .93rem; color: var(--muted); }
/* Peringatan penipuan memakai navy: satu-satunya kartu gelap di bagian ini supaya tidak terlewat */
.warn { background: var(--navy); color: var(--white); border-radius: 14px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.warn .ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(244, 213, 141, .16); color: #F4D58D; display: grid; place-items: center; margin-bottom: 24px; }
.warn .ico svg { width: 24px; height: 24px; }
.warn h3 { color: var(--white); font-size: 1.35rem; }
.warn p { margin-top: 10px; color: #D5E2EE; }
.warn .hero-cta { margin-top: auto; padding-top: 24px; }

.reports { display: grid; gap: 32px; }
@media (min-width: 960px) { .reports { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.reports > div > p { margin-top: 14px; color: var(--muted); max-width: 460px; }
.reports .hero-cta { margin-top: 28px; }
.report-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.report-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; background: var(--white); border-radius: 12px; padding: 18px; }
.report-list .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--muted); display: grid; place-items: center; }
.report-list .ico svg { width: 22px; height: 22px; }
.report-list b { display: block; font-weight: 600; }
.report-list small { display: block; font-size: .86rem; color: var(--muted); }
.report-list .tag { font-size: .82rem; font-weight: 600; color: #7A5A12; background: #FBF0D4; padding: 5px 10px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 480px) { .report-list li { grid-template-columns: 44px 1fr; } .report-list .tag { grid-column: 2; justify-self: start; } }

/* ---------- Animasi masuk dan pindah halaman ---------- */
/* Kelas .rv dipasang oleh JS, jadi tanpa JS semua konten tetap tampil. Setelah animasi selesai kelasnya dilepas,
   supaya efek hover kartu (yang juga memakai transform) kembali normal. */
@keyframes rv-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
.rv:not(.in) { opacity: 0; }
.rv.in { animation: rv-rise .9s var(--ease) var(--rv-d, 0ms) backwards; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
/* Header dan tombol WhatsApp diam saat pindah halaman, hanya isi yang berganti */
.header { view-transition-name: site-header; }
.wa { view-transition-name: wa-float; }
::view-transition-group(site-header), ::view-transition-group(wa-float) { animation: none; }
/* Cadangan untuk browser tanpa View Transitions */
html.leaving main, html.leaving .footer { opacity: 0; transform: translateY(-10px); transition: opacity .22s ease, transform .22s ease; }

/* ---------- Kurangi animasi ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.pin .ping { display: none; }
	*, *::before, *::after { transition-duration: .12s !important; }
	.rv.in { animation-name: rv-fade; animation-duration: .4s; }
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- WordPress ---------- */
/* Header lengket tetap di bawah admin bar saat login */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
/* Halaman biasa (bukan tampilan khusus) */
.page-plain { padding: clamp(40px, 6vw, 80px) var(--gutter); max-width: 760px; margin: 0 auto; }
.page-plain h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 24px; }
.page-plain p, .page-plain li { color: var(--muted); }
