/* =========================================================
   Situs publik LP3H Yayasan Dauroh Herba Nusantara
   Palet diambil dari logo: hijau perisai (#13904F), hijau tua (#00753F), hijau limau (#B4D800)
   ========================================================= */
:root {
    --g-50: #EEF8F1; --g-100: #D6EFDF; --g-200: #AEDFC0; --g-300: #7CC99B; --g-400: #45B074;
    --g-500: #1E9A5A; --g-600: #138A4C; --g-700: #0B7340; --g-800: #075C34; --g-900: #054A2A; --g-950: #03301B;
    --lime-300: #DDF07A; --lime-400: #C9E61F; --lime-500: #B4D800; --lime-600: #93B000;
    --gold-400: #F9CF06; --gold-500: #F5B70D; --gold-600: #EF8119;
    --ink: #0F1F17; --body: #33463B; --muted: #63756A; --line: #E2EAE5; --soft: #F5FAF6; --white: #fff;
    --radius: 18px; --radius-sm: 12px;
    --shadow: 0 10px 30px -12px rgba(5, 74, 42, .18);
    --shadow-lg: 0 24px 60px -20px rgba(5, 74, 42, .30);
    --container: 1200px;
    --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    /* Watermark: perisai segi lima + bulan sabit & bintang dari logo Dauroh */
    --wm-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M70 26 104 46 99 92Q70 118 41 92L36 46Z'/%3E%3Cpath d='M75 52a14 14 0 1 0 0 26a11 11 0 1 1 0-26Z'/%3E%3Cpath d='M79 61l1.6 3.4 3.7.4-2.8 2.5.8 3.6-3.3-1.9-3.3 1.9.8-3.6-2.8-2.5 3.7-.4Z'/%3E%3C/g%3E%3C/svg%3E");
    --wm-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23138A4C' stroke-opacity='0.07' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M70 26 104 46 99 92Q70 118 41 92L36 46Z'/%3E%3Cpath d='M75 52a14 14 0 1 0 0 26a11 11 0 1 1 0-26Z'/%3E%3Cpath d='M79 61l1.6 3.4 3.7.4-2.8 2.5.8 3.6-3.3-1.9-3.3 1.9.8-3.6-2.8-2.5 3.7-.4Z'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--white); line-height: 1.65; font-size: 16px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g-700); text-decoration: none; }
a:hover { color: var(--g-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime-500); outline-offset: 2px; border-radius: 4px; }
.wm-light { background-image: var(--wm-light); }
.wm-dark { background-image: var(--wm-dark); }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; font-family: inherit; line-height: 1.2; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--g-600), var(--g-800)); color: #fff; box-shadow: 0 8px 20px -8px rgba(19, 138, 76, .6); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(19, 138, 76, .7); }
.btn-lime { background: linear-gradient(135deg, var(--lime-400), var(--lime-600)); color: var(--g-950); box-shadow: 0 8px 22px -8px rgba(147, 176, 0, .7); }
.btn-lime:hover { color: var(--g-950); }
.btn-outline { border-color: var(--g-600); color: var(--g-700); background: #fff; }
.btn-outline:hover { background: var(--g-50); color: var(--g-800); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }

/* ---------- Header ---------- */
.topbar { background: var(--g-950); color: rgba(255, 255, 255, .8); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--lime-400); }
.topbar-info { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info i { color: var(--lime-400); }
.topbar-social { display: flex; gap: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(5, 74, 42, .25); }
.site-header .container { display: flex; align-items: center; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; font-weight: 800; color: var(--g-800); letter-spacing: -.01em; }
.brand-text small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g-500); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-group > button { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--body); background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav > a:hover, .nav-group > button:hover, .nav-group.open > button { color: var(--g-700); background: var(--g-50); }
.nav > a.active, .nav-group.active > button { color: var(--g-700); }
.nav > a.active::after, .nav-group.active > button::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--lime-500), var(--g-500)); }
.nav-group { position: relative; }
.nav-group > button i { font-size: 11px; transition: transform .2s; }
.nav-group.open > button i { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-group.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown.right { left: auto; right: 0; transform: translate(0, 6px); }
.nav-group.open .dropdown.right { transform: translate(0, 0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.dropdown a:hover, .dropdown a.active { background: var(--g-50); }
.dropdown .di { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--g-50); color: var(--g-700); transition: background .2s, color .2s; }
.dropdown a:hover .di { background: var(--g-600); color: #fff; }
.dropdown .dt { display: block; font-weight: 700; font-size: 14px; }
.dropdown .dd { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.header-cta { display: flex; gap: 8px; align-items: center; margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--g-800); font-size: 20px; cursor: pointer; }

.mobile-nav { display: none; }

/* ---------- Hero beranda ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% 20%, rgba(180, 216, 0, .22), transparent 60%), linear-gradient(135deg, var(--g-900) 0%, var(--g-700) 55%, var(--g-600) 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: var(--wm-light); }
.hero-logo-wm { position: absolute; right: -120px; top: -60px; width: 620px; opacity: .06; pointer-events: none; filter: grayscale(1) brightness(3); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 600; }
.hero-badge i { color: var(--lime-400); }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.025em; }
.hero h1 span { color: var(--lime-400); }
.hero-lead { font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 22px 0 56px; border-top: 1px solid rgba(255, 255, 255, .15); }
.hero-stats div { padding-right: 12px; }
.hero-stats strong { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .72); }
.hero-visual { position: relative; align-self: end; display: flex; justify-content: center; }
.hero-visual::before { content: ''; position: absolute; bottom: 0; left: 50%; width: 88%; aspect-ratio: 1; transform: translate(-50%, 18%); border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--lime-400), var(--lime-600) 70%); opacity: .95; }
.hero-visual img { position: relative; width: 100%; max-width: 520px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25)); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.float-card i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--g-50); color: var(--g-600); font-size: 18px; }
.float-card strong { display: block; font-size: 14px; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card.c1 { top: 18%; right: -8px; }
.float-card.c2 { bottom: 18%; left: -16px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-wave { display: block; width: 100%; height: 60px; margin-top: -1px; }

/* ---------- Halaman dalam ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--g-900), var(--g-700)); padding: 54px 0 64px; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--wm-light); }
.page-hero::after { content: ''; position: absolute; right: -60px; top: 50%; width: 320px; height: 320px; transform: translateY(-50%); background: url('../img/logo-512.webp') center/contain no-repeat; opacity: .07; filter: grayscale(1) brightness(3); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 10px 0 10px; }
.page-hero p { color: rgba(255, 255, 255, .85); max-width: 720px; font-size: 17px; margin: 0; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .7); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--lime-300); }

/* ---------- Bagian ---------- */
.section { padding: 84px 0; position: relative; }
.section.alt { background-color: var(--soft); background-image: var(--wm-dark); }
.section.tight { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--g-600); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--lime-500), var(--g-500)); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.section-head h2 span { color: var(--g-600); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--g-200); }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { color: var(--muted); margin-bottom: 0; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--g-500), var(--g-700)); color: #fff; font-size: 21px; margin-bottom: 18px; box-shadow: 0 10px 20px -10px rgba(19, 138, 76, .7); }
.icon-box.lime { background: linear-gradient(135deg, var(--lime-400), var(--lime-600)); color: var(--g-950); }
.icon-box.soft { background: var(--g-50); color: var(--g-700); box-shadow: none; }
.card-dark { background: linear-gradient(160deg, var(--g-800), var(--g-900)); color: rgba(255, 255, 255, .85); border: 0; background-image: var(--wm-light), linear-gradient(160deg, var(--g-800), var(--g-900)); }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255, 255, 255, .78); }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.checklist li i { color: var(--g-500); margin-top: 4px; }

.feature-strip { margin-top: -40px; position: relative; z-index: 2; }
.feature-strip .grid { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 10px; gap: 0; }
.feature-strip .fi { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.feature-strip .fi + .fi { border-left: 1px solid var(--line); }
.feature-strip .fi i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--g-50); color: var(--g-600); font-size: 19px; flex-shrink: 0; }
.feature-strip strong { display: block; color: var(--ink); font-size: 15px; }
.feature-strip small { color: var(--muted); font-size: 13px; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 26px; font-size: 40px; font-weight: 800; color: var(--g-100); line-height: 1; }

.quote { position: relative; }
.quote .stars { color: var(--gold-500); font-size: 13px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 18px; color: var(--body); font-size: 15px; }
.person { display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--g-500), var(--g-700)); color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person strong { display: block; color: var(--ink); font-size: 15px; }
.person small { color: var(--muted); font-size: 13px; }

.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 54px; color: #fff; background-image: var(--wm-light), linear-gradient(135deg, var(--g-800), var(--g-600)); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.partner-strip { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.partner-strip .pl { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-weight: 700; color: var(--ink); font-size: 14px; }
.partner-strip img { height: 40px; width: auto; }

/* Ticker pengumuman */
.ticker { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); overflow: hidden; }
.ticker .tag { flex-shrink: 0; background: var(--lime-400); color: var(--g-950); font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.ticker .track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker .items { display: inline-flex; gap: 40px; white-space: nowrap; animation: marquee 40s linear infinite; }
.ticker .items a { color: var(--ink); font-weight: 600; font-size: 14px; }
.ticker:hover .items { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Berita */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .thumb { aspect-ratio: 16/9; background: var(--g-50) var(--wm-dark); display: grid; place-items: center; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .thumb .ph { width: 72px; opacity: .5; }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--g-50); color: var(--g-700); }
.chip.lime { background: #F4FAD2; color: #5B6E00; }
.chip.gray { background: #F1F3F2; color: var(--muted); }
.post-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--g-700); }

/* Prosa / artikel */
.prose { font-size: 17px; color: var(--body); line-height: 1.8; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose img { border-radius: 14px; margin: 1.2em 0; }
.prose blockquote { border-left: 4px solid var(--lime-500); background: var(--soft); margin: 1.4em 0; padding: 14px 20px; border-radius: 0 12px 12px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }

/* Layout dua kolom dengan sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.aside-card { position: sticky; top: 96px; }

/* Visi misi / nilai */
.vm-card { padding: 34px; }
.vm-card .big { font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.num-list { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 12px; }
.num-list li { counter-increment: n; display: flex; gap: 14px; }
.num-list li::before { content: counter(n); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--g-600); color: #fff; font-size: 13px; font-weight: 800; }

/* Struktur organisasi */
.org { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.org-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; position: relative; }
.org-node { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--g-600); border-radius: 14px; padding: 16px 20px; min-width: 200px; text-align: center; box-shadow: var(--shadow); }
.org-node.top { border-top-color: var(--lime-500); background: linear-gradient(160deg, var(--g-800), var(--g-900)); color: #fff; }
.org-node.top strong { color: #fff; }
.org-node strong { display: block; color: var(--ink); font-size: 15px; }
.org-node small { color: var(--muted); font-size: 12.5px; }
.org-node.top small { color: rgba(255, 255, 255, .75); }
.org-line { width: 2px; height: 22px; background: var(--g-200); margin: -22px auto 0; }

/* Legalitas */
.doc-item { display: flex; gap: 16px; align-items: flex-start; }
.doc-item .icon-box { margin: 0; flex-shrink: 0; }

/* Direktori */
.filter-bar { display: grid; grid-template-columns: 1fr 260px auto; gap: 12px; background: #fff; padding: 14px; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 18px; }
.input, .select, textarea.input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus { outline: none; border-color: var(--g-500); box-shadow: 0 0 0 4px rgba(30, 154, 90, .15); }
.result-info { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.person-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; position: relative; overflow: hidden; }
.person-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--g-600), var(--lime-500)); }
.person-card .top { display: flex; gap: 14px; align-items: center; }
.person-card .photo { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, var(--g-500), var(--g-700)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; position: relative; }
.person-card .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person-card .photo .badge-ok { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--g-500); color: #fff; font-size: 11px; display: grid; place-items: center; border: 2px solid #fff; z-index: 1; }
.person-card h3 { font-size: 16px; margin: 0 0 2px; }
.person-card .role { font-size: 13px; color: var(--muted); }
.person-card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.person-card .loc { font-size: 13.5px; color: var(--body); display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 12px; }
.person-card .loc i { color: var(--g-500); width: 16px; }
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.stat-tile strong { display: block; font-size: 34px; font-weight: 800; color: var(--g-800); line-height: 1.1; }
.stat-tile span { font-weight: 700; color: var(--ink); font-size: 15px; }
.stat-tile small { display: block; color: var(--muted); font-size: 13px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--g-200); border-radius: 18px; }
.empty i { font-size: 36px; color: var(--g-300); margin-bottom: 10px; display: block; }

.pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; }
.pager a:hover { border-color: var(--g-400); color: var(--g-700); }
.pager .current { background: var(--g-600); border-color: var(--g-600); color: #fff; }

/* Formulir */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
textarea.input { min-height: 140px; resize: vertical; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.alert-success { background: var(--g-50); color: var(--g-800); border: 1px solid var(--g-200); }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info { background: #F4FAD2; color: #4A5A00; border: 1px solid #E3F09A; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--g-200); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--g-600); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }

/* Tabel sederhana */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; background: var(--soft); color: var(--ink); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 0; background: var(--g-950); color: rgba(255, 255, 255, .75); overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; background-image: var(--wm-light); opacity: .9; }
.site-footer .bar { height: 4px; background: linear-gradient(90deg, var(--lime-500), var(--g-500), var(--g-700)); position: relative; }
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer-grid h4 { color: var(--lime-400); font-size: 15px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer-grid a { color: rgba(255, 255, 255, .78); }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 54px; height: 54px; }
.footer-brand strong { color: #fff; font-size: 17px; display: block; line-height: 1.2; }
.footer-brand small { color: var(--lime-300); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: var(--lime-400); margin-top: 4px; width: 16px; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.footer-social a:hover { background: var(--lime-500); color: var(--g-950); border-color: var(--lime-500); }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 255, 255, .7); }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35); }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float i { font-size: 22px; }
.to-top { position: fixed; left: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--g-700); display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s; }
.to-top.show { opacity: 1; visibility: visible; }

/* Animasi muncul */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float-card, .ticker .items { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
    .nav, .header-cta .btn-outline { display: none; }
    .menu-toggle { display: grid; place-items: center; }
    .header-cta { margin-left: 0; }
    .mobile-nav { display: block; position: fixed; inset: 76px 0 0 0; background: #fff; z-index: 49; overflow-y: auto; padding: 12px 20px 100px; transform: translateX(100%); transition: transform .25s; border-top: 1px solid var(--line); }
    .mobile-nav.open { transform: none; }
    .mobile-nav details { border-bottom: 1px solid var(--line); }
    .mobile-nav summary, .mobile-nav > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 700; color: var(--ink); list-style: none; cursor: pointer; }
    .mobile-nav > a { border-bottom: 1px solid var(--line); }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav details a { display: flex; gap: 10px; align-items: center; padding: 10px 8px; color: var(--body); border-radius: 10px; }
    .mobile-nav details a i { color: var(--g-600); width: 18px; }
    .mobile-nav details div { padding-bottom: 10px; }
    .mobile-nav .mobile-actions { display: grid; gap: 10px; margin-top: 18px; }
    body.nav-open { overflow: hidden; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .with-aside { grid-template-columns: 1fr; }
    .aside-card { position: static; }
}
@media (max-width: 860px) {
    .hero .container { grid-template-columns: 1fr; padding-top: 40px; }
    .hero-visual { max-width: 440px; margin: 0 auto; }
    .float-card.c1 { right: 0; }
    .float-card.c2 { left: 0; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .feature-strip .grid { grid-template-columns: 1fr 1fr; }
    .feature-strip .fi + .fi { border-left: 0; }
    .cta-band { grid-template-columns: 1fr; padding: 34px 24px; }
    .stat-tiles { grid-template-columns: 1fr 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
    .topbar-info .hide-sm { display: none; }
}
@media (max-width: 600px) {
    body { font-size: 15.5px; }
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
    .feature-strip .grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .brand-text strong { font-size: 15px; }
    .brand img { width: 42px; height: 42px; }
    .header-cta .btn-lime { display: none; }
    .topbar { display: none; }
    .wa-float span { display: none; }
    .wa-float { padding: 14px; }
    .page-hero::after { width: 200px; height: 200px; right: -50px; }
    .hero-logo-wm { width: 380px; right: -140px; }
}

@media print {
    .topbar, .site-header, .site-footer, .wa-float, .to-top, .mobile-nav { display: none !important; }
    .page-hero { background: none; color: #000; padding: 10px 0; }
    .page-hero h1, .page-hero p { color: #000; }
}

/* Ketua Umum */
.org-ketum { padding: 18px 26px 20px; min-width: 240px; }
.org-ketum img { width: 120px; height: 150px; object-fit: cover; object-position: top; border-radius: 16px; margin: 0 auto 12px; background: linear-gradient(160deg, var(--g-600), var(--g-900)); border: 3px solid var(--lime-400); }
.org-ketum strong { font-size: 16px; }
.leader { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: center; }
.leader .photo { position: relative; border-radius: 24px; overflow: hidden; background-image: var(--wm-light), linear-gradient(160deg, var(--g-700), var(--g-950)); aspect-ratio: 3/4; }
.leader .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader .photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--lime-500), var(--g-500)); }
@media (max-width: 760px) { .leader { grid-template-columns: 1fr; } .leader .photo { max-width: 240px; } }

/* Narasi rata kiri-kanan */
.prose p, .prose li, .hero-lead, .section-head p, .card p, .page-hero p, .cta-band p, #tentang p, .faq details > div, .vm-card .big, .checklist li, .post-card .body p, .footer-grid p { text-align: justify; text-justify: inter-word; hyphens: auto; }
@media (max-width:600px){ .hero-lead, .page-hero p, .section-head p, .cta-band p, .vm-card .big { text-align: left; } }
.section-head.center p, .stat-tile small, .stat-tile span { text-align: center; }

/* Mitra berjalan */
.mitra-row { overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mitra-track { display: flex; gap: 22px; width: max-content; animation: mitra 55s linear infinite; }
.mitra-track.rev { animation-direction: reverse; animation-duration: 65s; }
.mitra-row:hover .mitra-track { animation-play-state: paused; }
.mitra-card { width: 300px; height: 168px; flex-shrink: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px; box-shadow: 0 8px 24px -16px rgba(5,74,42,.25); color: var(--body); transition: transform .2s, box-shadow .2s; }
.mitra-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.mitra-card img { max-height: 78px; max-width: 230px; object-fit: contain; }
.mitra-ini { width: 70px; height: 70px; border-radius: 18px; display: grid; place-items: center; background: var(--g-50); color: var(--g-700); font-weight: 800; font-size: 22px; }
.mitra-nm { font-size: 14.5px; font-weight: 600; text-align: center; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes mitra { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .mitra-card { width: 220px; height: 140px; } .mitra-card img { max-height: 60px; } }
@media (prefers-reduced-motion: reduce) { .mitra-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
.with-aside > *, .grid > *, .learn > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
.prose img, .prose iframe, .prose table { max-width: 100%; }

/* Pembaruan beranda */
.upd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); color: var(--body); }
.upd-item:hover strong { color: var(--g-700); }
.upd-item strong { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.35; }
.upd-item small { color: var(--muted); font-size: 12.5px; }
.upd-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--g-50); color: var(--g-600); flex-shrink: 0; }
.upd-date { width: 44px; flex-shrink: 0; text-align: center; border-radius: 10px; background: linear-gradient(160deg, var(--g-700), var(--g-900)); color: var(--lime-300); font-size: 11px; text-transform: uppercase; padding: 4px 0; line-height: 1.1; }
.upd-date strong { display: block; color: #fff; font-size: 18px; }

/* ── Navigasi bawah ponsel (pola cendekiamuslim.or.id / UPZ) ── */
.bottom-nav { display: none; }
.mobile-info { margin-top: 16px; background: var(--g-50); border-radius: 16px; padding: 16px; font-size: 14px; }
.mobile-info .mi-title { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g-700); margin-bottom: 8px; }
.mobile-info p { display: flex; gap: 10px; margin: 0 0 8px; color: var(--body); }
.mobile-info p i { color: var(--g-600); width: 16px; margin-top: 4px; }
.mobile-info .mi-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.mobile-info .mi-foot a { font-weight: 700; }
@media (max-width: 1100px) {
    .site-footer { display: none; }
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 57; height: calc(64px + env(safe-area-inset-bottom)); padding: 0 8px env(safe-area-inset-bottom); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(5,74,42,.3); }
    .bottom-nav a, .bottom-nav button { position: relative; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: inherit; font-size: 11px; font-weight: 700; color: var(--muted); background: none; border: 0; cursor: pointer; }
    .bottom-nav a i, .bottom-nav button i { font-size: 18px; }
    .bottom-nav a.on { color: var(--g-700); }
    .bottom-nav a.on::before { content: ''; position: absolute; top: 0; width: 32px; height: 4px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--lime-400), var(--g-500)); }
    .bottom-nav .bn-main { justify-content: flex-end; padding-bottom: 8px; color: var(--g-900); }
    .bottom-nav .bn-main span { width: 56px; height: 56px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--lime-400), var(--lime-600)); color: var(--g-950); font-size: 22px; box-shadow: 0 10px 20px -8px rgba(147,176,0,.8); border: 4px solid #fff; }
    .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); padding: 14px; }
    .wa-float span { display: none; }
    .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
    .mobile-nav { bottom: calc(64px + env(safe-area-inset-bottom)); padding-bottom: 24px; }
}
@media print { .bottom-nav { display: none !important; } }
