/* =====================================================================
   TEMA ISLAMI MODERN - Hijau Tua, Putih, Aksen Emas
   Mobile-first: gaya dasar untuk HP, lalu diperluas via min-width.
   ===================================================================== */
:root {
  --green-950: #072a1f;
  --green-900: #0b3d2e;
  --green-800: #0f4f3a;
  --green-700: #14634a;
  --green-600: #1b7a5a;
  --green-100: #e3f1ea;
  --green-50:  #f1f8f4;
  --gold:       #c9a227;
  --gold-light: #e6c565;
  --gold-dark:  #a8841a;
  --cream:      #faf8f2;
  --ink:        #1d2b26;
  --muted:      #6b7a74;
  --radius:     14px;
  --shadow:     0 8px 30px rgba(11, 61, 46, .10);
  --shadow-lg:  0 16px 40px rgba(11, 61, 46, .18);
  --font:       'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Selaraskan variabel Bootstrap dengan tema */
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--ink);
  --bs-primary: var(--green-900);
  --bs-primary-rgb: 11, 61, 46;
  --bs-link-color: var(--green-700);
  --bs-link-hover-color: var(--gold-dark);
  --bs-border-radius: 10px;
}

/* ---------- Dasar ---------- */
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--green-900); font-weight: 600; line-height: 1.3; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--gold-light); color: var(--green-950); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: .5rem 1rem; z-index: 2000; }
.skip-link:focus { left: 0; }

/* ---------- Tombol ---------- */
.btn { font-weight: 500; border-radius: 50px; padding: .6rem 1.5rem; transition: all .25s; }
.btn-green { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.btn-green:hover, .btn-green:focus { background: var(--green-950); border-color: var(--green-950); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); border-color: var(--gold); color: var(--green-950); font-weight: 600; }
.btn-gold:hover, .btn-gold:focus { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201, 162, 39, .4); }
.btn-outline-gold { border: 2px solid var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--green-950); }
.btn-outline-green { border: 2px solid var(--green-800); color: var(--green-800); background: transparent; }
.btn-outline-green:hover { background: var(--green-800); color: #fff; }
.badge-gold { display: inline-block; background: rgba(201, 162, 39, .15); color: var(--gold-light); border: 1px solid rgba(201, 162, 39, .5); padding: .3rem 1rem; border-radius: 50px; font-size: .8rem; letter-spacing: .5px; }

/* ---------- Topbar & Navbar ---------- */
.topbar { background: var(--green-950); color: #cfe3da; font-size: .8rem; padding: .45rem 0; }
.topbar span { margin-right: 1.25rem; }
.topbar i { color: var(--gold); margin-right: .35rem; }
.topbar-social a { color: #cfe3da; margin-left: .9rem; transition: color .2s; }
.topbar-social a:hover { color: var(--gold-light); }

.site-navbar { background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); padding: .55rem 0; transition: box-shadow .3s; z-index: 1030; }
.site-navbar.scrolled { box-shadow: 0 6px 24px rgba(11, 61, 46, .15); }
.brand-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--green-800), var(--green-950)); color: var(--gold-light); display: grid; place-items: center; font-size: 1.35rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--green-900); font-size: .95rem; }
.brand-text small { color: var(--gold-dark); font-size: .7rem; letter-spacing: 1.2px; text-transform: uppercase; }
.site-navbar .nav-link { color: var(--ink); font-weight: 500; font-size: .92rem; padding: .6rem .85rem; position: relative; }
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { color: var(--green-700); }
.site-navbar .dropdown-menu { border: 0; box-shadow: var(--shadow-lg); border-radius: 12px; padding: .5rem; }
.site-navbar .dropdown-item { border-radius: 8px; font-size: .9rem; padding: .55rem .9rem; }
.site-navbar .dropdown-item:hover { background: var(--green-50); color: var(--green-800); }
@media (min-width: 992px) {
  .site-navbar .nav-link::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
  .site-navbar .nav-link:hover::after, .site-navbar .nav-link.active::after { transform: scaleX(1); }
  .site-navbar .dropdown-toggle::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0 4rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 6l9 25 25 9-25 9-9 25-9-25-25-9 25-9z' fill='none' stroke='%23c9a227' stroke-opacity='.16' stroke-width='1.2'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 60%, var(--green-700) 100%);
}
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-title { color: #fff; font-weight: 700; font-size: 1.9rem; margin-bottom: 1rem; }
.hero-title span { color: var(--gold-light); }
.hero-sub { color: #d9ebe2; max-width: 620px; font-size: 1rem; }
@media (min-width: 768px) { .hero { padding: 6.5rem 0 5.5rem; } .hero-title { font-size: 2.8rem; } .hero-sub { font-size: 1.1rem; } }

/* ---------- Seksi & judul ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--cream); }
.section-green { background: var(--green-900); color: #fff; }
.section-green h2, .section-green h3, .section-green h4 { color: #fff; }
.section-title { margin-bottom: 2.5rem; }
.section-title .eyebrow { color: var(--gold-dark); font-size: .8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.section-title h2 { font-size: 1.6rem; font-weight: 700; margin: .3rem 0 .6rem; }
.section-title p { color: var(--muted); max-width: 640px; margin-inline: auto; }
.divider { display: flex; align-items: center; justify-content: center; gap: .75rem; color: var(--gold); font-size: .7rem; }
.divider::before, .divider::after { content: ''; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { transform: scaleX(-1); }
@media (min-width: 768px) { .section { padding: 5rem 0; } .section-title h2 { font-size: 2rem; } }

/* ---------- Kartu ---------- */
.card-soft { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; transition: transform .3s, box-shadow .3s; height: 100%; }
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-size: 1.6rem; margin-bottom: 1rem; transition: all .3s; }
.card-soft:hover .icon-circle { background: var(--green-800); color: var(--gold-light); }
.news-card .news-thumb { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: var(--radius) var(--radius) 0 0; background: var(--green-100); }
.news-card .news-meta { font-size: .78rem; color: var(--muted); }
.news-card .news-title a { color: var(--green-900); }
.news-card .news-title a:hover { color: var(--gold-dark); }
.badge-cat { background: var(--green-100); color: var(--green-800); font-weight: 500; font-size: .72rem; border-radius: 50px; padding: .3rem .8rem; }
.person-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: var(--radius) var(--radius) 0 0; background: var(--green-100); }
.stat-box { text-align: center; padding: 1.5rem 1rem; }
.stat-box .stat-icon { font-size: 1.8rem; color: var(--gold-light); margin-bottom: .5rem; }
.stat-box .stat-num { font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1.1; }
.stat-box .stat-label { color: #bcd8cb; font-size: .9rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); display: block; aspect-ratio: 4 / 3; background: var(--green-100); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-caption { position: absolute; inset: auto 0 0 0; padding: 1.5rem .9rem .7rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(7, 42, 31, .9)); }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; border-radius: 20px; padding: 2.5rem 1.5rem; position: relative; overflow: hidden; border: 1px solid rgba(201, 162, 39, .4); }
.cta-band h2 { color: #fff; }

/* ---------- Banner halaman dalam ---------- */
.page-banner { text-align: center; color: #fff; padding: 3rem 0 2.5rem; background: linear-gradient(135deg, var(--green-950), var(--green-800)); border-bottom: 4px solid var(--gold); }
.page-banner-title { color: #fff; font-size: 1.7rem; font-weight: 700; margin: 0; }
.page-banner-sub { color: #cfe3da; margin-top: .5rem; }
.page-banner .breadcrumb { --bs-breadcrumb-divider-color: var(--gold-light); font-size: .85rem; }
.page-banner .breadcrumb a { color: var(--gold-light); }
.page-banner .breadcrumb-item.active { color: #cfe3da; }
@media (min-width: 768px) { .page-banner { padding: 4rem 0 3rem; } .page-banner-title { font-size: 2.2rem; } }

/* ---------- Konten artikel ---------- */
.article-content { font-size: 1.02rem; }
.article-content img { border-radius: var(--radius); margin: 1rem 0; }
.article-content h2, .article-content h3 { margin-top: 1.8rem; }
.article-content blockquote { border-left: 4px solid var(--gold); background: var(--cream); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; }

/* ---------- Form ---------- */
.form-control, .form-select { border-radius: 10px; padding: .65rem .9rem; border-color: #d5e0db; }
.form-control:focus, .form-select:focus { border-color: var(--green-600); box-shadow: 0 0 0 .2rem rgba(27, 122, 90, .15); }
.form-label { font-weight: 500; font-size: .9rem; color: var(--green-900); }
.form-label .req { color: #c0392b; }
.form-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 1.5rem; border-top: 4px solid var(--gold); }
@media (min-width: 768px) { .form-card { padding: 2.25rem; } }

/* ---------- Paginasi ---------- */
.pagination { --bs-pagination-color: var(--green-800); --bs-pagination-hover-color: var(--green-950); --bs-pagination-active-bg: var(--green-800); --bs-pagination-active-border-color: var(--green-800); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(27, 122, 90, .2); gap: .25rem; }
.pagination .page-link { border-radius: 8px !important; border: 1px solid #dfe8e3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #b9d0c5; border-top: 4px solid var(--gold); }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: var(--gold); }
.footer-text { font-size: .9rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #b9d0c5; font-size: .9rem; transition: all .2s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .75rem; font-size: .9rem; }
.footer-contact i { color: var(--gold); margin-top: .3rem; width: 16px; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; margin-right: .5rem; transition: all .25s; }
.footer-social a:hover { background: var(--gold); color: var(--green-950); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.1rem 0; text-align: center; font-size: .82rem; }

/* ---------- Tombol melayang ---------- */
.wa-float { position: fixed; left: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 6px 18px rgba(37, 211, 102, .5); z-index: 1040; transition: transform .25s; }
.wa-float:hover { transform: scale(1.1); color: #fff; }
.back-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green-800); color: var(--gold-light); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; z-index: 1040; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Animasi muncul ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Lain-lain ---------- */
.error-code { font-size: 6rem; font-weight: 700; color: var(--gold); line-height: 1; }

/* ---------- Cetak (bukti pendaftaran) ---------- */
@media print {
  .topbar, .site-navbar, .site-footer, .wa-float, .back-top, .no-print { display: none !important; }
  body { background: #fff; }
  .section { padding: 0; }
}

/* =====================================================================
   MODUL 3: Beranda, Profil, Program
   ===================================================================== */
.text-gold-dark { color: var(--gold-dark); }
.eyebrow-text { color: var(--gold-dark); font-size: .8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- Hero beranda ---------- */
.hero-home { padding: 3.5rem 0 4rem; }
.hero-points li { color: #d9ebe2; font-size: .9rem; }
.hero-points i { color: var(--gold-light); margin-right: .35rem; }
.hero-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(201, 162, 39, .45); border-radius: 24px; padding: 2.5rem 1.5rem; backdrop-filter: blur(4px); color: #e8f3ed; }
.hero-card small { color: var(--gold-light); }
.hero-arabic { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 4.5rem; line-height: 1.4; color: var(--gold-light); text-shadow: 0 4px 20px rgba(0, 0, 0, .3); }
.hero-photo { border-radius: 24px; overflow: hidden; border: 4px solid var(--gold); box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 992px) { .hero-home { padding: 6rem 0 6rem; } .hero-home .hero-title { font-size: 3.1rem; } }

/* ---------- Sambutan ---------- */
.leader-frame { position: relative; max-width: 340px; margin: 0 auto; }
.leader-frame::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--gold); border-radius: 22px; z-index: 0; }
.leader-frame img, .leader-placeholder { position: relative; z-index: 1; width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); background: var(--green-100); }
.leader-placeholder { display: grid; place-items: center; font-size: 6rem; color: var(--green-700); background: linear-gradient(135deg, var(--green-100), #fff); }
.leader-sign strong { display: block; color: var(--green-900); font-size: 1.05rem; }
.leader-sign span { color: var(--gold-dark); font-size: .9rem; }

/* ---------- Statistik ---------- */
.stats-section { padding: 3rem 0; background: linear-gradient(135deg, var(--green-950), var(--green-800)); border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }
.stat-box .stat-num { font-size: 2.4rem; }
@media (min-width: 992px) { .stat-box .stat-num { font-size: 3rem; } }

/* ---------- Subnav (anchor antar bagian) ---------- */
.subnav { position: sticky; top: 62px; z-index: 1020; background: #fff; box-shadow: 0 2px 10px rgba(11, 61, 46, .08); }
.subnav-scroll { display: flex; gap: .25rem; overflow-x: auto; white-space: nowrap; padding: .5rem 0; scrollbar-width: none; justify-content: flex-start; }
.subnav-scroll::-webkit-scrollbar { display: none; }
.subnav-scroll a { color: var(--green-800); font-weight: 500; font-size: .9rem; padding: .45rem 1rem; border-radius: 50px; transition: all .2s; }
.subnav-scroll a:hover { background: var(--green-100); color: var(--green-900); }
@media (min-width: 768px) { .subnav-scroll { justify-content: center; } }
.anchor-section { scroll-margin-top: 120px; }

/* ---------- Visi misi ---------- */
.vm-card h3 { margin-bottom: .75rem; }
.vm-visi { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; }
.vm-visi h3, .vm-visi .article-content { color: #fff; }
.vm-visi .icon-circle { background: rgba(255, 255, 255, .12); color: var(--gold-light); }
.misi-list ul { padding-left: 0; list-style: none; margin: 0; }
.misi-list li { position: relative; padding-left: 1.9rem; margin-bottom: .75rem; }
.misi-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .15rem; font-size: .7rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }

/* ---------- Bagan organisasi ---------- */
.avatar-initial { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .75rem; display: grid; place-items: center; font-weight: 700; font-size: 1.5rem; color: var(--gold-light); background: linear-gradient(135deg, var(--green-700), var(--green-950)); border: 2px solid var(--gold); }
.avatar-initial.avatar-lg { width: 96px; height: 96px; font-size: 2.4rem; margin: 0; }
.org-top { display: flex; justify-content: center; position: relative; padding-bottom: 2rem; }
.org-top::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 2px; height: 2rem; background: var(--gold); }
.org-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1rem; text-align: center; height: 100%; border-top: 3px solid var(--gold); }
.org-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: .75rem; border: 2px solid var(--gold); }
.org-card span { font-size: .8rem; color: var(--gold-dark); font-weight: 500; }
.org-card-main { min-width: 260px; max-width: 320px; background: linear-gradient(135deg, var(--green-900), var(--green-700)); border-top-color: var(--gold-light); }
.org-card-main h3, .org-card-main span { color: #fff; }
.org-card-main span { color: var(--gold-light); }
.org-card-main img { width: 96px; height: 96px; }

/* ---------- Fasilitas & pengajar ---------- */
.fasilitas-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.person-card .person-placeholder { aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-100), #fff); }

/* ---------- Program ---------- */
.side-links a { display: flex; align-items: center; gap: .5rem; padding: .55rem 0; color: var(--ink); border-bottom: 1px dashed #dfe8e3; font-size: .92rem; }
.side-links a i { color: var(--gold); font-size: .7rem; }
.side-links a:hover { color: var(--green-700); padding-left: .25rem; }
.side-links li:last-child a { border-bottom: 0; }

/* =====================================================================
   MODUL 4: Berita
   ===================================================================== */
.cat-pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; flex-wrap: nowrap; }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pills a { white-space: nowrap; padding: .4rem 1rem; border-radius: 50px; background: var(--green-50); color: var(--green-800); font-size: .85rem; font-weight: 500; border: 1px solid #d8e8e0; transition: all .2s; }
.cat-pills a span { background: #fff; border-radius: 50px; padding: 0 .45rem; font-size: .72rem; margin-left: .25rem; }
.cat-pills a:hover { background: var(--green-100); }
.cat-pills a.active { background: var(--green-800); color: #fff; border-color: var(--green-800); }
@media (min-width: 768px) { .cat-pills { flex-wrap: wrap; } }

.sidebar-widget { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; margin-bottom: 1.5rem; }
.widget-title { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .6rem; position: relative; border-bottom: 1px solid #e8efeb; }
.widget-title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--gold); }
.search-box { display: flex; gap: .5rem; }
.search-box .btn { border-radius: 10px; padding: .6rem 1rem; }
.mini-news { display: flex; gap: .75rem; align-items: center; padding: .6rem 0; border-bottom: 1px dashed #dfe8e3; color: var(--ink); }
.mini-news:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-news img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--green-100); }
.mini-news strong { display: block; font-size: .86rem; font-weight: 500; line-height: 1.4; }
.mini-news small { color: var(--muted); font-size: .75rem; }
.mini-news:hover strong { color: var(--gold-dark); }

.article-title { font-size: 1.6rem; font-weight: 700; line-height: 1.35; }
@media (min-width: 768px) { .article-title { font-size: 2.1rem; } }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .85rem; margin: 1rem 0 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e8efeb; }
.article-meta i { color: var(--gold-dark); margin-right: .3rem; }
.article-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.75rem; box-shadow: var(--shadow); background: var(--green-100); }
.article-content p { margin-bottom: 1.1rem; }
.article-content ul, .article-content ol { margin-bottom: 1.1rem; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2.5rem; padding: 1rem 1.25rem; background: var(--cream); border-radius: var(--radius); }
.share-btn { display: inline-flex; align-items: center; gap: .4rem; border: 0; border-radius: 50px; padding: .4rem 1rem; font-size: .82rem; font-weight: 500; color: #fff; cursor: pointer; transition: opacity .2s, transform .2s; }
.share-btn:hover { opacity: .88; transform: translateY(-2px); color: #fff; }
.share-btn.wa { background: #25d366; } .share-btn.fb { background: #1877f2; } .share-btn.tw { background: #111; } .share-btn.cp { background: var(--green-800); }

/* ---------- Bukti pendaftaran ---------- */
.bukti { background: #fff; max-width: 780px; margin: 0 auto; padding: 2rem; border: 1px solid #d5e0db; border-radius: 12px; font-size: .92rem; }
.bukti-kop { display: flex; gap: 1rem; align-items: center; border-bottom: 3px double var(--green-900); padding-bottom: 1rem; margin-bottom: 1rem; }
.bukti-logo { width: 64px; height: 64px; display: grid; place-items: center; font-size: 2.2rem; color: var(--green-800); flex-shrink: 0; }
.bukti-logo img { width: 64px; height: 64px; object-fit: contain; }
.bukti-kop h2 { font-size: 1.2rem; margin: 0; text-transform: uppercase; }
.bukti-kop p { margin: 0; font-size: .8rem; color: var(--muted); }
.bukti-judul { text-align: center; font-size: 1.05rem; margin: 1rem 0; letter-spacing: 1px; text-decoration: underline; }
.bukti-tabel { width: 100%; border-collapse: collapse; }
.bukti-tabel th, .bukti-tabel td { padding: .4rem .5rem; border-bottom: 1px solid #e8efeb; vertical-align: top; }
.bukti-tabel th { width: 34%; font-weight: 500; color: var(--green-900); }
.bukti-no { font-size: 1.15rem; letter-spacing: 1px; }
.bukti-ttd { display: flex; justify-content: space-between; margin-top: 2rem; text-align: center; font-size: .85rem; }
.bukti-catatan { margin-top: 1.5rem; font-size: .78rem; color: var(--muted); border-top: 1px dashed #c8d6cf; padding-top: .75rem; }
@media print { .bukti { border: 0; padding: 0; max-width: none; } .bukti .badge { border: 1px solid #000; color: #000 !important; background: #fff !important; } }

/* =====================================================================
   MODUL 6: PSB, Galeri, Kontak
   ===================================================================== */
.form-section-title { display: flex; align-items: center; gap: .75rem; font-size: 1.05rem; margin: 0 0 1.1rem; padding-bottom: .6rem; border-bottom: 1px solid #e8efeb; }
.form-section-title span { width: 30px; height: 30px; border-radius: 50%; background: var(--green-800); color: var(--gold-light); display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; }
.info-list li { display: flex; gap: .6rem; margin-bottom: .55rem; }
.info-list i { color: var(--gold-dark); margin-top: .3rem; width: 16px; text-align: center; }
.alur-list li { margin-bottom: .4rem; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 11; background: var(--green-100); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Galeri & lightbox ---------- */
.gallery-play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: #fff; background: rgba(7, 42, 31, .35); transition: background .3s; }
.gallery-play i { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(201, 162, 39, .92); font-size: 1.3rem; padding-left: 4px; }
.gallery-item:hover .gallery-play { background: rgba(7, 42, 31, .15); }
.lb { position: fixed; inset: 0; z-index: 2000; background: rgba(4, 22, 16, .94); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lb[hidden] { display: none; }
.lb-stage { width: 100%; max-width: 1100px; max-height: 82vh; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 82vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lb-stage iframe { width: min(100%, 1000px); aspect-ratio: 16 / 9; height: auto; max-height: 82vh; border: 0; border-radius: 8px; background: #000; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-close:hover, .lb-nav:hover, .lb-close:focus-visible, .lb-nav:focus-visible { background: var(--gold); color: var(--green-950); }
.lb-close { top: 14px; right: 14px; font-size: 1.9rem; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #e8f3ed; padding: 0 4rem; font-size: .9rem; display: flex; flex-direction: column; }
.lb-cap span { color: #b9d0c5; font-size: .82rem; }
body.lb-open { overflow: hidden; }
@media (max-width: 575px) { .lb-nav { width: 38px; height: 38px; } .lb-cap { padding: 0 3rem; } }

/* =====================================================================
   REDESAIN BERANDA (mengikuti desain lampiran)
   Navbar gelap | Hero | Statistik melayang | Kartu | Prestasi | Guru | Ekskul | Banner | Footer
   ===================================================================== */
.text-gold-dark { color: var(--gold-dark); }
[data-pager-item][hidden] { display: none !important; }
.stars { color: var(--gold); font-size: .8rem; letter-spacing: 2px; }

/* ---------- Navbar gelap ---------- */
.site-navbar { background: var(--green-950); padding: .4rem 0; box-shadow: 0 2px 14px rgba(0, 0, 0, .28); border-bottom: 1px solid rgba(201, 162, 39, .28); }
.site-navbar.scrolled { box-shadow: 0 8px 26px rgba(0, 0, 0, .4); }
.site-navbar .brand-emblem { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.brand-lines { display: flex; flex-direction: column; line-height: 1.15; }
.brand-lines small { color: #cfe3da; font-size: .7rem; }
.brand-lines strong { color: #fff; font-size: 1.05rem; letter-spacing: .6px; text-transform: uppercase; font-weight: 700; }
.brand-lines em { font-style: normal; color: var(--gold-light); font-size: .6rem; margin-top: 2px; }
.site-navbar .nav-link { color: #e8f3ed; font-size: .88rem; font-weight: 500; padding: .7rem .9rem; }
.site-navbar .nav-link:hover, .site-navbar .nav-link:focus, .site-navbar .nav-link.active, .site-navbar .nav-link.show { color: var(--gold-light); }
.site-navbar .navbar-toggler { color: #fff; font-size: 1.4rem; }
.btn-ppdb { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--green-950); font-weight: 600; font-size: .85rem; border: 0; border-radius: 8px; padding: .55rem 1.2rem; }
.btn-ppdb:hover { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; transform: translateY(-1px); }
.nav-search-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; display: grid; place-items: center; transition: all .2s; }
.nav-search-btn:hover, .nav-search-btn[aria-expanded="true"] { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
.search-dd { min-width: 290px; border: 0; box-shadow: var(--shadow-lg); border-radius: 12px; }
@media (min-width: 992px) {
  .site-navbar .nav-link::after { content: none; }
  .site-navbar .dropdown-toggle::after { content: ""; display: inline-block; position: static; width: auto; height: 0; left: auto; right: auto; bottom: auto; background: none; transform: none; margin-left: .4em; vertical-align: .18em; border-top: .3em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent; }
  .site-navbar .nav-link::before { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: 3px; background: var(--gold); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .25s; }
  .site-navbar .nav-link:hover::before, .site-navbar .nav-link.active::before { transform: scaleX(1); }
  .site-navbar .nav-link { padding: 1.15rem .9rem; }
  .site-navbar .dropdown-menu { margin-top: 0; }
}
@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse { background: var(--green-900); border-radius: 12px; padding: 1rem; margin-top: .6rem; }
  .site-navbar .dropdown-menu { background: rgba(0, 0, 0, .2); border: 0; }
  .site-navbar .dropdown-item { color: #e8f3ed; }
  .site-navbar .dropdown-item:hover { background: rgba(255, 255, 255, .08); color: var(--gold-light); }
}

/* ---------- Hero ---------- */
.home-hero {
  position: relative; overflow: hidden; color: #fff; min-height: 470px; display: flex; align-items: center; padding: 3.5rem 0 6.5rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 6l9 25 25 9-25 9-9 25-9-25-25-9 25-9z' fill='none' stroke='%23c9a227' stroke-opacity='.1' stroke-width='1.2'/%3E%3C/svg%3E"),
    var(--green-950);
}
.home-hero > .container { width: 100%; }
.home-hero-bg { position: absolute; inset: 0; }
.home-hero-bg img { position: absolute; right: 0; top: 0; height: 100%; width: 72%; object-fit: cover; object-position: center top; }
.hero-mosque { position: absolute; right: 0; bottom: 0; height: 100%; width: 70%; }
.home-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-950) 0%, var(--green-950) 28%, rgba(7, 42, 31, .85) 46%, rgba(7, 42, 31, .3) 74%, rgba(7, 42, 31, .05) 100%); }
.hero-arch { position: absolute; left: 0; top: 0; height: 100%; width: auto; display: none; }
@media (min-width: 992px) { .hero-arch { display: block; } }
@media (max-width: 991.98px) {
  .home-hero-bg img { width: 100%; opacity: .4; }
  .home-hero-overlay { background: linear-gradient(180deg, rgba(7, 42, 31, .88), rgba(7, 42, 31, .72)); }
  .home-hero { text-align: center; }
  .home-hero .d-flex { justify-content: center; }
  .home-hero-text { margin-inline: auto; }
}
.hero-pill { display: inline-block; background: #1f8a4c; color: #fff; font-size: .72rem; font-weight: 500; padding: .3rem .9rem; border-radius: 6px; margin-bottom: 1rem; }
.home-hero-title span { display: block; font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; color: #fff; }
.home-hero-title em { display: block; font-style: normal; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--gold-light); font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.2; margin-top: .25rem; }
.home-hero-text { color: #d9ebe2; max-width: 520px; font-size: .92rem; margin: 1rem 0 0; }
.btn-hero-primary { background: #1f8a4c; border: 1px solid #1f8a4c; color: #fff; border-radius: 8px; padding: .7rem 1.4rem; font-weight: 500; font-size: .9rem; }
.btn-hero-primary:hover { background: #17703d; color: #fff; }
.btn-hero-outline { background: rgba(0, 0, 0, .15); border: 1px solid rgba(255, 255, 255, .5); color: #fff; border-radius: 8px; padding: .7rem 1.4rem; font-weight: 500; font-size: .9rem; }
.btn-hero-outline:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.hero-play { display: flex; flex-direction: column; align-items: center; gap: .55rem; color: #fff; text-align: center; font-size: .78rem; margin-top: 3.5rem; line-height: 1.3; }
.hero-play span { width: 62px; height: 62px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .28); display: grid; place-items: center; font-size: 1.2rem; padding-left: 4px; transition: all .25s; }
.hero-play:hover span { background: var(--gold); border-color: var(--gold); color: var(--green-950); transform: scale(1.08); }
.hero-play:hover { color: #fff; }

/* ---------- Statistik melayang ---------- */
.home-stats-wrap { margin-top: -3.4rem; position: relative; z-index: 5; }
.home-stats { background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(7, 42, 31, .2); display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .home-stats { grid-template-columns: repeat(4, 1fr); } }
.home-stat { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.4rem; }
.home-stat + .home-stat { border-left: 1px solid #eef3f0; }
.home-stat:nth-child(3) { border-left: 0; }
@media (min-width: 768px) { .home-stat:nth-child(3) { border-left: 1px solid #eef3f0; } }
.home-stat-ico { width: 48px; height: 48px; border-radius: 10px; background: var(--green-900); color: var(--gold-light); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.home-stat strong { display: block; font-size: 1.45rem; line-height: 1.1; color: var(--green-900); font-weight: 700; }
.home-stat small { color: var(--muted); font-size: .76rem; }

/* ---------- Badan beranda ---------- */
.home-body { background: #f6f8f6; padding: 2.5rem 0 1rem; margin-top: 2.5rem; }
.home-card { background: #fff; border: 1px solid #e7eee9; border-radius: 14px; padding: 1.2rem 1.35rem; box-shadow: 0 4px 18px rgba(11, 61, 46, .05); }
.home-card-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.home-card-head h2 { font-size: 1.02rem; font-weight: 600; margin: 0; }
.link-more { color: var(--green-700); font-size: .76rem; font-weight: 500; white-space: nowrap; }
.link-more:hover { color: var(--gold-dark); }
.link-more i { font-size: .65rem; margin-left: .25rem; }
.tag-green { display: inline-block; background: var(--green-100); color: var(--green-800); font-size: .64rem; font-weight: 600; padding: .12rem .55rem; border-radius: 4px; vertical-align: middle; }
.tag-solid { display: inline-block; background: #1f8a4c; color: #fff; font-size: .64rem; font-weight: 600; padding: .15rem .6rem; border-radius: 4px; white-space: nowrap; }
.ctrl-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #d9e5de; background: #fff; color: var(--green-800); font-size: .68rem; display: grid; place-items: center; transition: all .2s; }
.ctrl-btn:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.pager-nav { display: flex; gap: .5rem; margin-top: .75rem; }

/* Agenda */
.agenda-item { display: flex; gap: .95rem; padding: .8rem 0; border-bottom: 1px solid #eef3f0; }
.agenda-date { width: 62px; height: 66px; border-radius: 12px; background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1.1; }
.agenda-date strong { font-size: 1.5rem; }
.agenda-date span { font-size: .68rem; letter-spacing: 1px; }
.agenda-body h3 { font-size: .92rem; font-weight: 600; margin: .3rem 0 .15rem; }
.agenda-meta { font-size: .74rem; color: var(--muted); }
.agenda-meta i { color: var(--green-700); width: 14px; margin-right: .35rem; }
.agenda-past { opacity: .75; }

/* Pengumuman */
.ann-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem; padding: .75rem 0; border-bottom: 1px solid #eef3f0; color: var(--ink); }
.ann-item:last-child { border-bottom: 0; }
.ann-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.ann-body { display: flex; flex-direction: column; min-width: 0; }
.ann-meta { font-size: .68rem; color: var(--muted); }
.ann-body strong { font-size: .86rem; font-weight: 600; line-height: 1.35; }
.ann-body small { font-size: .74rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ann-arrow { color: #98a8a0; font-size: .7rem; }
.ann-item:hover strong { color: var(--gold-dark); }

/* Judul bagian */
.home-sec { margin-bottom: 3rem; }
.sec-head { position: relative; text-align: center; margin-bottom: 1.5rem; }
.sec-head-title h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .2rem; }
.sec-head-title p { font-size: .8rem; color: var(--muted); margin: 0; }
.sec-head-ctrl { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: .8rem; }
@media (min-width: 992px) { .sec-head-ctrl { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; } }

/* Prestasi */
.h-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { flex: 0 0 72%; scroll-snap-align: start; }
@media (min-width: 576px) { .h-scroll > * { flex-basis: calc((100% - 1rem) / 2); } }
@media (min-width: 768px) { .h-scroll > * { flex-basis: calc((100% - 2rem) / 3); } }
@media (min-width: 1200px) { .h-scroll > * { flex-basis: calc((100% - 4rem) / 5); } }
.prestasi-card { background: #fff; border: 1px solid #e7eee9; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(11, 61, 46, .05); height: 100%; }
.prestasi-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--green-100); }
.prestasi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prestasi-empty { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.6rem; color: var(--gold-light); background: linear-gradient(135deg, var(--green-700), var(--green-950)); }
.prestasi-badge { position: absolute; left: .6rem; bottom: .6rem; background: #fff; color: var(--green-900); font-size: .68rem; font-weight: 600; padding: .22rem .65rem; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.prestasi-badge i { color: var(--gold); margin-right: .3rem; }
.prestasi-body { padding: .8rem .9rem 1rem; }
.prestasi-body h3 { font-size: .84rem; font-weight: 600; margin: 0 0 .25rem; line-height: 1.35; }
.prestasi-body p { font-size: .76rem; color: var(--muted); margin: 0; }
.prestasi-body small { font-size: .72rem; color: #98a8a0; }

/* Guru teladan */
.guru-card { display: grid; grid-template-columns: 120px 1fr; background: #fff; border: 1px solid #e7eee9; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(11, 61, 46, .05); height: 100%; }
@media (min-width: 576px) { .guru-card { grid-template-columns: 170px 1fr; } }
.guru-photo { background: linear-gradient(135deg, var(--green-100), #fff); display: grid; place-items: center; min-height: 100%; }
.guru-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initial.avatar-xl { width: 96px; height: 96px; font-size: 2.4rem; margin: 0; }
.avatar-initial.avatar-sm { width: 44px; height: 44px; font-size: 1.1rem; margin: 0; flex-shrink: 0; }
.guru-info { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.guru-name { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.guru-name h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.guru-info p { font-size: .8rem; color: var(--muted); margin: 0; }
.guru-stats { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.guru-stats > div { display: grid; grid-template-columns: auto 1fr; column-gap: .45rem; align-items: center; }
.guru-stats i { grid-row: span 2; color: var(--gold); font-size: .95rem; }
.guru-stats strong { font-size: .86rem; line-height: 1.1; }
.guru-stats small { font-size: .68rem; color: var(--muted); }
.guru-info .btn { align-self: flex-start; border-radius: 8px; font-size: .78rem; padding: .4rem 1rem; }

/* Artikel */
.art-item { display: grid; grid-template-columns: 110px 1fr; gap: .85rem; padding: .8rem 0; border-bottom: 1px solid #eef3f0; color: var(--ink); }
.art-item:last-of-type { border-bottom: 0; }
.art-item img { width: 110px; height: 92px; object-fit: cover; border-radius: 10px; background: var(--green-100); }
.art-item > span { display: flex; flex-direction: column; min-width: 0; gap: .15rem; }
.art-item strong { font-size: .86rem; font-weight: 600; line-height: 1.35; }
.art-item small { font-size: .72rem; color: var(--muted); }
.art-meta i { color: var(--gold-dark); }
.art-item:hover strong { color: var(--gold-dark); }

/* Testimoni */
.testi-card { padding-top: .25rem; }
.testi-quote { font-family: 'Playfair Display', Georgia, serif; font-size: 3.6rem; line-height: .7; color: var(--gold); height: 1.5rem; }
.testi-text { font-size: .86rem; color: #3d4d46; margin: .6rem 0 1rem; line-height: 1.7; }
.testi-person { display: flex; align-items: center; gap: .7rem; }
.testi-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-person strong { display: block; font-size: .84rem; }
.testi-person small { color: var(--muted); font-size: .72rem; }

/* Fasilitas */
.fas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.fas-tile { text-align: center; color: var(--ink); }
.fas-img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: var(--gold-light); font-size: 1.5rem; }
.fas-img img { width: 100%; height: 100%; object-fit: cover; }
.fas-tile small { display: block; margin-top: .35rem; font-size: .7rem; line-height: 1.3; }
.fas-tile:hover small { color: var(--gold-dark); }

/* Ekstrakurikuler */
@media (min-width: 1200px) { .row-cols-xl-8 > * { flex: 0 0 12.5%; max-width: 12.5%; } }
.ekskul-tile { display: block; color: var(--ink); }
.ekskul-img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--green-700), var(--green-950)); color: var(--gold-light); font-size: 2rem; }
.ekskul-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ekskul-tile:hover .ekskul-img img { transform: scale(1.06); }
.ekskul-label { display: flex; align-items: center; gap: .4rem; margin-top: -15px; padding: 0 .35rem; font-size: .76rem; font-weight: 500; line-height: 1.2; position: relative; }
.ekskul-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--green-800); color: #fff; border: 2px solid #fff; display: grid; place-items: center; font-size: .7rem; flex-shrink: 0; }
.ekskul-tile:hover .ekskul-label { color: var(--gold-dark); }

/* ---------- Banner "Bergabunglah" ---------- */
.join-band { background: linear-gradient(90deg, var(--green-900), var(--green-950)); color: #fff; padding: 2rem 0; border-top: 1px solid rgba(201, 162, 39, .35); position: relative; overflow: hidden; }
.join-band::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 200px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0l8.5 21.5L60 30l-21.5 8.5L30 60l-8.5-21.5L0 30l21.5-8.5z' fill='none' stroke='%23c9a227' stroke-opacity='.3'/%3E%3C/svg%3E"); opacity: .6; pointer-events: none; }
.join-band h2 { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: .35rem; }
.join-band p { color: #cfe3da; font-size: .85rem; margin-bottom: 1rem; max-width: 460px; }
.join-photo { width: 220px; height: 150px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; font-size: 3.8rem; color: var(--gold-light); background: rgba(201, 162, 39, .12); border: 1px solid rgba(201, 162, 39, .3); flex-shrink: 0; position: relative; }
.join-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.join-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; position: relative; }
@media (min-width: 768px) { .join-features { grid-template-columns: repeat(4, 1fr); } }
.join-features li { text-align: center; font-size: .72rem; line-height: 1.35; color: #e8f3ed; }
.join-features span { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto .5rem; border: 1px solid rgba(201, 162, 39, .6); border-radius: 10px; color: var(--gold-light); font-size: 1.1rem; }

/* ---------- Footer baru ---------- */
.site-footer { background: var(--green-950); border-top: 0; }
.footer-brand .brand-emblem { width: 56px; height: 56px; object-fit: contain; }
.footer-brand .brand-lines strong { font-size: 1.15rem; }
.footer-title { font-size: .95rem; font-weight: 600; }
.footer-social a { background: transparent; border: 1px solid rgba(255, 255, 255, .25); }
.newsletter-form { display: flex; gap: .4rem; }
.newsletter-form .form-control { border-radius: 8px; font-size: .85rem; padding: .55rem .8rem; border: 0; }
.newsletter-form .btn { border-radius: 8px; background: #1f8a4c; border-color: #1f8a4c; flex-shrink: 0; padding: .5rem .9rem; }
.footer-legal i { margin: 0 .75rem; opacity: .4; font-style: normal; }
.footer-legal a { color: #b9d0c5; }
.footer-legal a:hover { color: var(--gold-light); }
.back-top { border-radius: 8px; background: #1f8a4c; color: #fff; }
