/* ── VARIABLES (default — overridden by inline <style> dari DB) ── */
:root {
  --forest:       #2D1660;
  --forest-mid:   #4B2882;
  --forest-light: #7B52B8;
  --gold:         #C8962C;
  --gold-light:   #E8BC60;
  --gold-pale:    #F5EEFF;
  --cream:        #FAF7FF;
  --bark:         #5C3D8A;
  --text-dark:    #1A1A1F;
  --text-mid:     #3E3A4A;
  --text-muted:   #7A7285;
  --white:        #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: #f9f9f9;
  backdrop-filter: blur(8px);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  border-bottom: 3px solid var(--forest-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo .emblem {
  width: 42px; height: 42px;
  border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; color: var(--gold);
}
.nav-logo .brand { color: var(--forest); }
.nav-logo .brand strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; }
.nav-logo .brand span  { display: block; font-size: 11px; color: var(--forest-mid); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: baseline;}
.nav-links a {
  color: var(--text-mid); text-decoration: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--forest); }
.nav-cta {
  background: var(--forest-dark); color: var(--white); border: none;
  padding: 9px 22px; border-radius: 4px; font-size: 13px; font-weight: 600;
  cursor: pointer; letter-spacing: 0.05em; transition: background 0.2s; text-decoration: none;
}
.nav-cta:hover { background: var(--forest); }

/* ── NAV DROPDOWN ── */
.nav-links li { position: relative; }
.nav-links li.has-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-caret { transition: transform 0.2s; flex-shrink: 0; opacity: 0.6; }
.nav-dropdown {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
  padding: 6px 0; list-style: none; min-width: 180px; z-index: 200;
  border-top: 2px solid var(--forest-dark);
}
.nav-dropdown::before {
  content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: var(--forest-dark);
  border-top: none;
}
.nav-dropdown li a {
  display: block; padding: 9px 20px; font-size: 13px;
  color: var(--text-mid); text-decoration: none;
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-dropdown li a:hover { background: var(--cream); color: var(--forest); }
.has-dropdown:hover .nav-dropdown { display: block; }
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }

/* ── HERO ── */
#hero {
  min-height: 100vh; background: var(--forest);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 5% 80px;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.06;
  background-image:
    repeating-linear-gradient(60deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-60deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: -80px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,150,44,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; max-width: 1100px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,150,44,0.15); border: 1px solid rgba(200,150,44,0.4);
  border-radius: 20px; padding: 6px 16px;
  color: var(--gold-light); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge::before { content: '◆'; font-size: 8px; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 38px); font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 10px;
}
.hero-title em { font-style: italic; color: var(--gold-light); display: block; }
.hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; margin-bottom: 24px;
}
.hero-desc { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.7); max-width: 460px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--forest);
  padding: 14px 30px; border-radius: 4px; font-size: 14px;
  font-weight: 600; text-decoration: none; letter-spacing: 0.05em;
  transition: all 0.25s; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
  padding: 14px 30px; border-radius: 4px; font-size: 14px;
  font-weight: 500; text-decoration: none; letter-spacing: 0.05em;
  transition: all 0.25s; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.hero-right { position: relative; }
.hero-card-main {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(200,150,44,0.3);
  border-radius: 12px; padding: 36px; backdrop-filter: blur(4px);
}
.hero-bignum { font-family: 'Playfair Display', serif; font-size: 72px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.hero-bignum-label { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 32px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hero-stat .num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

/* ── SECTION BASE ── */
section { padding: 96px 5%; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(30px, 3.5vw, 46px); font-weight: 700; line-height: 1.15; color: var(--forest); margin-bottom: 20px; }
.section-desc { font-size: 16px; line-height: 1.75; color: var(--text-mid); max-width: 560px; }
.divider { width: 48px; height: 3px; background: var(--gold); margin: 20px 0; border-radius: 2px; }

/* ── TENTANG ── */
#tentang { background: var(--white); }
.tentang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1100px; margin: 0 auto; }
.tentang-img-box {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  border-radius: 16px; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.tentang-img-inner { text-align: center; }
.lily { font-family: 'Playfair Display', serif; font-size: 100px; color: var(--gold); line-height: 1; display: block; margin-bottom: 8px; }
.lily img { width: 120px; height: 120px; object-fit: contain; }
.lily-caption { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.tentang-float-card {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--gold-pale); border: 1px solid rgba(200,150,44,0.3);
  border-radius: 10px; padding: 20px 24px; width: 180px;
  box-shadow: 0 8px 32px rgba(26,58,42,0.12);
}
.tentang-visual { position: relative; }
.tentang-float-num { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--forest); line-height: 1; }
.tentang-float-lbl { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }
.nilai-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.nilai-item { display: flex; gap: 16px; align-items: flex-start; }
.nilai-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--gold-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.nilai-body strong { display: block; font-size: 15px; font-weight: 600; color: var(--forest); margin-bottom: 4px; }
.nilai-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── VISI MISI ── */
#visimisi { background: var(--forest); position: relative; overflow: hidden; }
#visimisi::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 28px);
}
blockquote {
    font-family: 'DM Sans';
}
#visimisi .section-title { color: var(--white); }
#visimisi .section-label { color: var(--gold-light); }
#visimisi .divider { background: var(--gold-light); }
.vm-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.vm-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(200,150,44,0.25); border-radius: 12px; padding: 36px; }
.vm-card-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.vm-card h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--white); margin-bottom: 16px; line-height: 1.25; }
.vm-card p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.65); }
.misi-list { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.misi-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.65); }
.misi-list li::before { content: '→'; color: var(--gold); font-size: 14px; flex-shrink: 0; margin-top: 2px; }

/* ── PROGRAM ── */
#program { background: var(--cream); }
.program-inner { max-width: 1100px; margin: 0 auto; }
.program-header { margin-bottom: 56px; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  background: var(--white); border: 1px solid rgba(26,58,42,0.08);
  border-radius: 14px; padding: 32px 28px; transition: all 0.3s; position: relative; overflow: hidden;
}
.program-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.program-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,58,42,0.1); }
.program-card:hover::before { transform: scaleX(1); }
.prog-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.prog-number { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: rgba(26,58,42,0.06); position: absolute; top: 16px; right: 20px; line-height: 1; user-select: none; }
.program-card h4 { font-size: 17px; font-weight: 600; color: var(--forest); margin-bottom: 10px; }
.program-card p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.prog-tag { display: inline-block; margin-top: 16px; background: var(--gold-pale); color: var(--bark); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }

/* ── PRESTASI ── */
#prestasi { background: var(--white); padding: 64px 5%; border-top: 1px solid rgba(26,58,42,0.06); border-bottom: 1px solid rgba(26,58,42,0.06); }
.prestasi-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.prestasi-label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.prestasi-divider { width: 1px; height: 40px; background: rgba(26,58,42,0.12); flex-shrink: 0; }
.prestasi-items { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.prestasi-item { text-align: center; }
.prestasi-item .p-num { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--forest); line-height: 1; }
.prestasi-item .p-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.05em; }

/* ── STRUKTUR ── */
#struktur { background: var(--cream); }
.struktur-inner { max-width: 960px; margin: 0 auto; }
.struktur-header { text-align: center; margin-bottom: 64px; }
.struktur-header .divider { margin: 20px auto; }
.struktur-header .section-desc { margin: 0 auto; }

/* Kepengurusan — group header */
.kep-group { margin-bottom: 64px; }
.kep-group-header { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; padding-bottom: 14px; border-bottom: 2px solid var(--forest); }
.kep-letter { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: #fff; font-size: 18px; font-weight: 700; font-family: 'Playfair Display', serif; flex-shrink: 0; }
.kep-group-name { font-size: 16px; font-weight: 700; letter-spacing: 0.12em; color: var(--forest); text-transform: uppercase; }

/* Org chart (PIMPINAN) */
.org3 { display: flex; flex-direction: column; align-items: center; width: 100%; }
.org3-row { display: flex; justify-content: center; }
.org3-vconn { width: 2px; height: 32px; background: rgba(200,150,44,0.5); flex-shrink: 0; }

/* Shelf row — horizontal bar + per-card vertical stubs */
.org3-shelf {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  position: relative; padding-top: 32px; width: 100%;
}
.org3-shelf::before {
  content: ''; position: absolute; top: 0; left: 8%; right: 8%;
  height: 2px; background: rgba(200,150,44,0.4);
}
.org3-shelf-item { position: relative; }
.org3-shelf-item::before {
  content: ''; position: absolute; top: -32px; left: 50%;
  width: 2px; height: 32px; background: rgba(200,150,44,0.35);
  transform: translateX(-50%);
}

/* Cards */
.org3-card { border-radius: 12px; padding: 18px 22px; text-align: center; margin-bottom: 18px; }
.org3-ketua { background: var(--forest); min-width: 240px; box-shadow: 0 4px 20px rgba(45,22,96,0.25); }
.org3-ketua .org3-jabatan { color: rgba(255,255,255,0.5); }
.org3-ketua .org3-nama { color: var(--gold-light); font-size: 16px; }
.org3-wakil { background: var(--gold-pale); border: 1px solid rgba(45,22,96,0.15); width: 200px; }
.org3-wakil .org3-jabatan { color: var(--forest-mid); }
.org3-wakil .org3-nama { color: var(--forest); }
.org3-staff { background: var(--white); border: 1px solid rgba(45,22,96,0.12); width: 168px; }
.org3-staff .org3-jabatan { color: var(--text-muted); }
.org3-staff .org3-nama { color: var(--forest); }
.org3-jabatan { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.org3-nama { font-size: 14px; font-weight: 600; line-height: 1.4; }

/* Flat numbered list (fallback) */
.kep-list { list-style: none; padding: 0; margin: 0; counter-reset: kep; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 32px; }
.kep-item { counter-increment: kep; display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.kep-item::before { content: counter(kep) "."; min-width: 28px; font-size: 13px; font-weight: 700; color: var(--forest-mid); flex-shrink: 0; }
.kep-jabatan { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; flex: 1; }
.kep-nama { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

/* Bidang grid (ANDALAN DAERAH) */
.kep-bidang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.kep-bidang-card { background: #fff; border: 1px solid rgba(45,22,96,0.1); border-top: 3px solid var(--forest-mid); border-radius: 8px; padding: 20px; }
.kep-bidang-title { font-size: 13px; font-weight: 700; color: var(--forest); line-height: 1.4; margin-bottom: 14px; }
.kep-bidang-members { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.kep-bidang-members li { display: flex; flex-direction: column; padding-left: 10px; border-left: 2px solid rgba(45,22,96,0.15); }
.kep-bidang-jabatan { font-size: 12px; font-weight: 600; color: var(--forest-mid); text-transform: uppercase; letter-spacing: 0.06em; }
.kep-bidang-nama { font-size: 13px; color: var(--text); margin-top: 1px; }

/* ── GALERI ── */
#galeri { background: var(--white); }
.galeri-inner { max-width: 1100px; margin: 0 auto; }
.galeri-header { margin-bottom: 48px; }
.galeri-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.filter-btn {
  padding: 8px 20px; border-radius: 20px; border: 1.5px solid rgba(26,58,42,0.15);
  background: transparent; font-size: 13px; font-weight: 500;
  color: var(--text-muted); cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.filter-btn.active, .filter-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.galeri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galeri-item { border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 4/3; transition: transform 0.3s; }
.galeri-item:hover { transform: scale(1.02); }
.galeri-item:hover .galeri-overlay { opacity: 1; }
.galeri-item.tall { grid-row: span 2; aspect-ratio: unset; }
.galeri-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; }
.galeri-thumb-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 72px; opacity: 0.15; }
.galeri-overlay {
  position: absolute; inset: 0; background: rgba(26,58,42,0.82);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; padding: 20px; text-align: center;
}
.galeri-overlay h5 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.galeri-overlay p { color: var(--gold-light); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── BERITA ── */
#berita { background: var(--cream); }
.berita-inner { max-width: 1100px; margin: 0 auto; }
.berita-header { margin-bottom: 48px; }
.berita-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; }
.berita-featured { background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid rgba(26,58,42,0.08); transition: box-shadow 0.3s; cursor: pointer; }
.berita-featured:hover { box-shadow: 0 8px 32px rgba(26,58,42,0.1); }
.berita-thumb { height: 240px; display: flex; align-items: center; justify-content: center; font-size: 80px; position: relative; overflow: hidden; }
.berita-thumb-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 140px; opacity: 0.1; }
.berita-body { padding: 28px; }
.berita-cat { display: inline-block; background: var(--gold-pale); color: var(--bark); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.berita-featured .berita-body h3 { /*font-family: 'Playfair Display', serif; */ font-size: 22px; color: var(--forest); line-height: 1.3; margin-bottom: 12px; }
.berita-featured .berita-body p { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin-bottom: 16px; }
.berita-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--text-muted); }
.berita-list { display: flex; flex-direction: column; gap: 16px; }
.berita-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid rgba(26,58,42,0.08); display: flex; cursor: pointer; transition: box-shadow 0.3s; }
.berita-card:hover { box-shadow: 0 4px 20px rgba(26,58,42,0.08); }
.berita-card-thumb { width: 100px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; position: relative; overflow: hidden; }
.berita-card-body { padding: 16px; }
.berita-card-body h4 { font-size: 14px; font-weight: 600; color: var(--forest); line-height: 1.4; margin-bottom: 8px; }
.berita-more { margin-top: 40px; text-align: center; }
.btn-ghost {
  display: inline-block; padding: 12px 32px; border: 1.5px solid var(--forest); border-radius: 4px;
  color: var(--forest); font-size: 14px; font-weight: 600; letter-spacing: 0.05em; text-decoration: none;
  transition: all 0.25s; cursor: pointer; background: transparent; font-family: 'DM Sans', sans-serif;
}
.btn-ghost:hover { background: var(--forest); color: var(--white); }

/* ── KALENDER ── */
#kalender { background: var(--forest); position: relative; overflow: hidden; }
#kalender::before { content: ''; position: absolute; inset: 0; opacity: 0.04; background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 28px); }
#kalender .section-title { color: var(--white); }
#kalender .section-label { color: var(--gold-light); }
#kalender .divider { background: var(--gold); }
.kalender-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.kalender-layout { display: grid; grid-template-columns: 320px 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.mini-cal { background: rgba(255,255,255,0.06); border: 1px solid rgba(200,150,44,0.25); border-radius: 14px; padding: 24px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-nav h4 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--white); }
.cal-nav-btn { background: rgba(255,255,255,0.08); border: none; width: 32px; height: 32px; border-radius: 6px; color: var(--gold-light); font-size: 16px; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.cal-nav-btn:hover { background: rgba(200,150,44,0.2); }
.cal-days-header { display: grid; grid-template-columns: repeat(7,1fr); margin-bottom: 8px; }
.cal-day-name { text-align: center; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; padding: 4px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.6); border-radius: 6px; cursor: pointer; transition: all 0.15s; position: relative; }
.cal-day:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.cal-day.other-month { color: rgba(255,255,255,0.2); cursor: default; }
.cal-day.today { background: var(--gold); color: var(--forest); font-weight: 700; }
.cal-day.has-event::after { content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--gold-light); }
.cal-day.today.has-event::after { background: var(--forest); }
.cal-day.selected { background: rgba(200,150,44,0.25); border: 1px solid rgba(200,150,44,0.5); color: var(--gold-light); }
.event-list { display: flex; flex-direction: column; gap: 16px; }
.event-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(200,150,44,0.2); border-left: 3px solid var(--gold); border-radius: 10px; padding: 20px 24px; display: flex; gap: 20px; align-items: flex-start; transition: background 0.2s; cursor: pointer; }
.event-card:hover { background: rgba(255,255,255,0.08); }
.event-card.upcoming { border-left-color: var(--gold-light); }
.event-date-box { flex-shrink: 0; text-align: center; background: rgba(200,150,44,0.15); border: 1px solid rgba(200,150,44,0.3); border-radius: 8px; padding: 10px 14px; min-width: 56px; }
.event-date-box .e-day { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--gold); line-height: 1; }
.event-date-box .e-month { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.event-info h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.event-info p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.event-tags { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.event-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: rgba(200,150,44,0.15); color: var(--gold-light); border: 1px solid rgba(200,150,44,0.25); }

/* ── KONTAK ── */
#kontak { background: var(--forest); position: relative; overflow: hidden; }
#kontak::after { content: ''; position: absolute; bottom: -60px; left: -60px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(200,150,44,0.08) 0%, transparent 70%); pointer-events: none; }
#kontak .section-title { color: var(--white); }
#kontak .section-label { color: var(--gold-light); }
#kontak .divider { background: var(--gold); }
#kontak .section-desc { color: rgba(255,255,255,0.6); }
.kontak-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.kontak-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; margin-top: 56px; align-items: start; }
.kontak-info { display: flex; flex-direction: column; gap: 28px; }
.kontak-item { display: flex; gap: 16px; align-items: flex-start; }
.kontak-icon { width: 44px; height: 44px; flex-shrink: 0; background: rgba(200,150,44,0.15); border: 1px solid rgba(200,150,44,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.kontak-body strong { display: block; font-size: 13px; font-weight: 600; color: var(--gold-light); letter-spacing: 0.05em; margin-bottom: 4px; }
.kontak-body p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.kontak-form { background: rgba(255,255,255,0.05); border: 1px solid rgba(200,150,44,0.2); border-radius: 14px; padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(200,150,44,0.2);
  border-radius: 6px; padding: 12px 16px; color: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: 15px; outline: none; transition: border-color 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; background: var(--gold); color: var(--forest); border: none; padding: 14px;
  border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; transition: all 0.25s;
}
.btn-submit:hover:not(:disabled) { background: var(--gold-light); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* ── NAV LOGO IMG ── */
.nav-logo-img { height: 46px; width: auto; object-fit: contain; }

/* ── FOOTER ── */
footer {
  background: var(--forest-dark); padding: 32px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo-img { height: 44px; width: auto; object-fit: contain; }
.footer-emblem { font-size: 22px; color: var(--gold); }
.footer-brand strong { display: block; color: var(--white); font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.footer-brand span { font-size: 11px; color: rgba(255,255,255,0.35); }
.footer-center { text-align: center; }
.footer-motto { font-size: 12px; color: rgba(255,255,255,0.3); font-style: italic; letter-spacing: 0.04em; }

/* ── SOCIAL BUTTONS ── */
.footer-socials { display: flex; gap: 10px; align-items: center; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  color: var(--white); text-decoration: none;
  transition: all 0.2s; opacity: 0.7;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { opacity: 1; transform: translateY(-2px); }
.social-wa:hover { background: #25D366; }
.social-ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-fb:hover { background: #1877F2; }
.social-yt:hover { background: #FF0000; }
.social-tw:hover, .social-tk:hover { background: #000000; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge   { animation: fadeUp 0.6s ease 0.1s both; }
.hero-sub     { animation: fadeUp 0.6s ease 0.2s both; }
.hero-title   { animation: fadeUp 0.6s ease 0.3s both; }
.hero-desc    { animation: fadeUp 0.6s ease 0.45s both; }
.hero-actions { animation: fadeUp 0.6s ease 0.55s both; }
.hero-right   { animation: fadeUp 0.7s ease 0.65s both; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SPA PROGRESS BAR ── */
#spa-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--forest-mid), var(--forest-light), var(--gold-light));
  background-size: 200% 100%;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  transition: none;
}
#spa-bar.bar-start {
  opacity: 1;
  width: 75%;
  transition: width 2.5s cubic-bezier(0.05, 0.5, 0.1, 1);
  animation: bar-shimmer 1.5s linear infinite;
}
#spa-bar.bar-done  { width: 100%; opacity: 1; transition: width 0.15s ease; animation: none; }
#spa-bar.bar-fade  { opacity: 0; transition: opacity 0.35s ease; }
@keyframes bar-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── READING PROGRESS BAR ── */
#reading-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--forest), var(--forest-light));
  z-index: 9998;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── SHARE BUTTONS ── */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all .2s;
  background: none;
}
.share-wa   { background: #e8f5e9; color: #1b5e20; border-color: #a5d6a7; }
.share-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-copy { background: var(--gray-100,#f5f5f5); color: var(--forest); border-color: var(--gray-200,#e0e0e0); }
.share-copy:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.share-copy.copied { background: #22c55e; color: #fff; border-color: #22c55e; }

/* ── TO-TOP BUTTON ── */
#to-top {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--forest);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
#to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#to-top:hover { background: var(--forest-mid); transform: translateY(-2px) scale(1); }
#to-top svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
  #to-top { right: 16px; bottom: 80px; } /* clear the bottom nav */
}

/* ── BOTTOM NAV (mobile) ── */
.bottom-nav { display: none; }
@media (max-width: 600px) {
  body { padding-bottom: 72px; }
  nav { display: none; }
  section { padding: 48px 4% 32px; }
  #hero { padding-top: 56px; min-height: auto; }
  .program-grid { grid-template-columns: 1fr; }
  .org-row { flex-direction: column; align-items: center; }
  .org3-shelf::before { left: 0; right: 0; }
  .org3-wakil, .org3-staff { width: 100%; max-width: 320px; }
  .kep-list { grid-template-columns: 1fr; }
  .kep-bidang-grid { grid-template-columns: 1fr; }
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: var(--forest-dark); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(200,150,44,0.2);
    height: 68px; padding: 0 4px;
    align-items: stretch; justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bn-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; cursor: pointer; border: none; background: none;
    padding: 8px 4px 4px; border-radius: 12px; transition: all 0.2s; position: relative;
    color: rgba(255,255,255,0.4); font-family: 'DM Sans', sans-serif; text-decoration: none;
  }
  .bn-item.active { color: var(--gold); }
  .bn-item:active { transform: scale(0.92); }
  .bn-icon { font-size: 22px; line-height: 1; transition: transform 0.2s; }
  .bn-item.active .bn-icon { transform: translateY(-2px); }
  .bn-label { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
  .bn-active-dot { position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0; transform: scale(0); transition: all 0.2s; }
  .bn-item.active .bn-active-dot { opacity: 1; transform: scale(1); }
}

/* ── RESPONSIVE 900px ── */
@media (max-width: 900px) {
  .hero-inner, .tentang-grid, .vm-grid, .kontak-grid, .berita-grid, .kalender-layout { grid-template-columns: 1fr; }
  .galeri-grid { grid-template-columns: repeat(2, 1fr); }
  .galeri-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .tentang-float-card { right: 0; bottom: -16px; }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .hero-right { display: none; }
  .prestasi-inner { flex-direction: column; align-items: flex-start; }
}

[id] {
    scroll-margin-top: 78px; /* 68px navbar + 10px buffer agar tidak terlalu mepet */
}

.has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}