/* Design tokens */
:root {
  --primary: #1F7A3A;
  --primary-dark: #124d24;
  --secondary: #F5C518;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --border: #E5E7EB;
  --fg: #0F172A;
  --muted: #64748B;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg); color: var(--fg); line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Header */
.header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: .75rem; }
.logo-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--secondary); display: grid; place-items: center; font-weight: 900; font-size: 20px; border: 2px solid rgba(245,197,24,.6); }
.logo-text { line-height: 1.15; }
.logo-text .top, .logo-text .bot { font-size: 9px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.logo-text .bot { letter-spacing: .3em; }
.logo-text .mid { font-size: 18px; font-weight: 800; color: var(--primary); }
.nav { display: none; gap: 1.75rem; font-size: 14px; font-weight: 600; color: rgba(15,23,42,.8); }
.nav a { padding-bottom: 4px; }
.nav a.active { color: var(--primary); border-bottom: 2px solid var(--primary); }
.nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1rem; border-radius: 10px; font-size: 14px; font-weight: 600; transition: .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: #1a1a1a; }
.btn-secondary:hover { opacity: .9; }
.btn-outline { border: 1px solid var(--border); background: var(--surface); }
.btn-outline:hover { background: #f1f5f9; }
.burger { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--surface); padding: .75rem 1rem; flex-direction: column; gap: .25rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: .75rem; border-radius: 8px; font-size: 14px; font-weight: 600; }
.mobile-nav a.active { background: rgba(31,122,58,.08); color: var(--primary); }
.mobile-nav a:hover { background: #f1f5f9; }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger { display: none; }
  .mobile-nav.open { display: none; }
}
@media (max-width: 640px) {
  .header-actions .btn-secondary, .header-actions .btn-outline { display: none; }
}

/* Hero */
.hero { background: var(--surface); overflow: hidden; }
.hero-inner { display: grid; gap: 2.5rem; padding: 3rem 1rem; max-width: 1200px; margin: 0 auto; align-items: center; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; padding: 4rem 1rem; } }
.chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; background: rgba(245,197,24,.15); border: 1px solid rgba(245,197,24,.4); border-radius: 999px; padding: .5rem 1rem; font-size: 12px; font-weight: 600; }
.chip .dot { color: var(--secondary); }
.hero h1 { margin-top: 1.5rem; font-size: 2.5rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--primary); display: block; }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero p { margin-top: 1.5rem; color: var(--muted); max-width: 36rem; }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-features { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.feat { background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.04); border: 1px solid var(--border); border-radius: 12px; padding: .75rem 1rem; display: flex; align-items: center; gap: .75rem; }
.feat-icon { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; }
.feat-icon.primary { background: rgba(31,122,58,.1); color: var(--primary); }
.feat-icon.secondary { background: rgba(245,197,24,.2); color: #7a5c00; }
.feat-text { font-size: 14px; line-height: 1.2; }
.feat-text .t { font-weight: 700; }
.feat-text .s { font-size: 12px; color: var(--muted); }
.hero-image { position: relative; }
.hero-image .glow { position: absolute; inset: -1rem; background: linear-gradient(135deg, rgba(31,122,58,.2), rgba(245,197,24,.2)); border-radius: 24px; filter: blur(32px); }
.hero-image .frame { position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.hero-image .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-image .overlay { position: absolute; inset: 0; background: linear-gradient(45deg, rgba(31,122,58,.4), transparent 60%); }
.wave { display: block; width: 100%; height: 32px; color: var(--secondary); }

/* Stats */
.stats-wrap { max-width: 1200px; margin: -2rem auto 0; padding: 0 1rem; position: relative; z-index: 10; }
.stats { background: var(--surface); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); border: 1px solid var(--border); display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(6, 1fr); } }
.stat { padding: 1.25rem; text-align: center; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.stat:nth-child(-n+2), .stats > .stat:nth-child(1), .stats > .stat:nth-child(2) { border-top: 0; }
.stat .icon { color: var(--primary); font-size: 24px; }
.stat.gold .icon { color: var(--secondary); }
.stat .v { font-size: 1.875rem; font-weight: 800; margin-top: .5rem; }
.stat .l { font-size: 12px; color: var(--muted); margin-top: .25rem; }

/* Section title */
.section { max-width: 1200px; margin: 0 auto; padding: 4rem 1rem; }
.section-title { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }
.section-title h2 { font-size: 1.75rem; font-weight: 800; color: var(--primary); }
@media (min-width: 1024px) { .section-title h2 { font-size: 2rem; } }
.section-title .arr { color: var(--primary); font-size: 20px; }

/* Programs grid */
.programs { display: grid; gap: 1.25rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .programs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .programs { grid-template-columns: repeat(5, 1fr); } }
.card { background: var(--surface); border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04); border: 1px solid var(--border); overflow: hidden; transition: .2s; }
.card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-4px); }
.card-img { height: 128px; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; bottom: -20px; left: 16px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); border: 2px solid var(--surface); }
.card-badge.p { background: var(--primary); }
.card-badge.s { background: var(--secondary); }
.card-body { padding: 1rem; padding-top: 1.75rem; }
.card-body h3 { font-size: 14px; font-weight: 700; }
.card-body p { font-size: 12px; color: var(--muted); margin-top: .5rem; line-height: 1.5; }
.text-center { text-align: center; }
.btn-outline-primary { border: 2px solid var(--primary); color: var(--primary); background: transparent; padding: .625rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 14px; }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* Berita + agenda */
.two-col { display: grid; gap: 2rem; background: linear-gradient(135deg, rgba(31,122,58,.05), rgba(245,197,24,.05)); border-radius: 24px; padding: 1.5rem; border: 1px solid var(--border); }
@media (min-width: 768px) { .two-col { grid-template-columns: repeat(2, 1fr); padding: 2.5rem; } }
.col-title { font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-bottom: 1.25rem; }
.news-item, .agenda-item { background: var(--surface); border-radius: 12px; padding: .75rem; display: flex; align-items: center; gap: .75rem; box-shadow: 0 1px 2px rgba(0,0,0,.04); border: 1px solid transparent; transition: .15s; margin-bottom: .75rem; }
.news-item:hover { border-color: rgba(31,122,58,.4); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.news-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.news-item .content { flex: 1; min-width: 0; }
.news-item .title { font-weight: 700; font-size: 14px; }
.news-item .date { font-size: 12px; color: var(--muted); margin-top: .25rem; }
.news-item .arr { color: var(--primary); }
.agenda-item .date-box { text-align: center; padding: 0 .5rem; flex-shrink: 0; }
.agenda-item .date-box .d { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.agenda-item .date-box .m { font-size: 10px; font-weight: 700; color: var(--primary); letter-spacing: .1em; margin-top: .25rem; }
.agenda-item .info { border-left: 1px solid var(--border); padding-left: 1rem; flex: 1; }
.agenda-item .info .t { font-weight: 700; font-size: 14px; }
.agenda-item .info .m { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: .25rem; margin-top: .25rem; }

/* Footer */
.footer { background: var(--primary-dark); color: #fff; margin-top: 2.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 1rem; display: grid; gap: 2rem; font-size: 14px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { font-weight: 700; color: var(--secondary); margin-bottom: 1rem; }
.footer p, .footer li { color: rgba(255,255,255,.8); margin-bottom: .5rem; }
.footer ul { list-style: none; }
.footer ul a:hover { color: var(--secondary); }
.footer .logo-mark { border-color: rgba(245,197,24,.6); }
.footer .logo-text .top, .footer .logo-text .bot { color: rgba(255,255,255,.6); }
.footer .logo-text .mid { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: 12px; color: rgba(255,255,255,.6); }

/* Page shell */
.page-hero { background: linear-gradient(135deg, rgba(31,122,58,.1), rgba(245,197,24,.1), transparent); border-bottom: 1px solid var(--border); padding: 3rem 1rem; }
.page-hero .container h1 { font-size: 2rem; font-weight: 800; color: var(--primary); }
.page-hero .container p { color: var(--muted); margin-top: .5rem; max-width: 42rem; }
@media (min-width: 1024px) { .page-hero .container h1 { font-size: 2.5rem; } }
.page-main { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1rem; }

/* Utility cards */
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.panel h2 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: .75rem; }
.panel ul { padding-left: 1.25rem; color: var(--muted); }
.panel ul li { margin-bottom: .5rem; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery .tile { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.gallery .tile:hover img { transform: scale(1.05); }

.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: .25rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: .5rem .75rem; border: 1px solid var(--border);
  border-radius: 8px; background: var(--bg); font: inherit;
}

.steps li { margin-bottom: .75rem; display: flex; gap: .75rem; align-items: flex-start; }
.steps li::before { content: "✓"; color: var(--primary); font-weight: 800; }

.article { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .article { grid-template-columns: 2fr 1fr; } }
.article-cover { aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 14px; color: var(--muted); margin: 1rem 0; }
.article-body p { margin-bottom: 1rem; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--primary); font-weight: 600; font-size: 14px; margin-bottom: 1rem; }
.back-link:hover { text-decoration: underline; }
.article-tag { display: inline-block; padding: .25rem .5rem; background: rgba(245,197,24,.3); color: #5a4300; font-size: 12px; font-weight: 600; border-radius: 4px; }

.news-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: .2s; }
.news-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-4px); }
.news-card .cover { aspect-ratio: 16/10; overflow: hidden; }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.news-card:hover .cover img { transform: scale(1.05); }
.news-card .body { padding: 1.25rem; }
.news-card h3 { font-weight: 700; margin: .75rem 0; }
.news-card p { font-size: 14px; color: var(--muted); }
.news-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; font-size: 12px; }
.news-card .foot .read { color: var(--primary); font-weight: 600; }
