/* ============================================================
   SMA Negeri Tawangmangu — "Sekolah di Lereng Lawu"
   Tema visual: pegunungan Tawangmangu, lereng Gunung Lawu
   · Hijau hutan pinus  (primary)
   · Emas matahari terbit (aksen prestasi / CTA)
   · Krem hangat       (latar — bukan abu)
   Font: Lora (judul, serif berwibawa) + Poppins (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Warna utama = hijau hutan lereng Lawu */
  --green: #1F5A3A;
  --green-dark: #2A7450;
  --green-deep: #0F3322;
  --green-light: #E8F0E7;

  /* Aksen = emas matahari terbit (prestasi & CTA) */
  --gold: #E9A83A;
  --gold-dark: #C47F1C;

  /* Warna pendukung (alias biar komponen lama tetap jalan) */
  --blue: #1F5A3A;
  --teal: #1F5A3A;
  --teal-dark: #2A7450;
  --yellow: #E9A83A;

  --ink: #26342C;
  --muted: #66746B;

  /* PROPORS I: krem hangat jadi latar utama (nuansa pegunungan, bukan abu) */
  --bg: #F6F3EA;
  --bg-soft: #F6F3EA;
  --bg-white: #FEFCF5;
  --line: #E7E1D0;
  --radius: 18px;
  --shadow: 0 12px 32px -12px rgba(15, 51, 34, .18);
  --shadow-lg: 0 28px 60px -20px rgba(15, 51, 34, .28);

  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  /* aksen untuk grafik prestasi (plugin) */
  --cms-accent: #E9A83A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.7;
  background: var(--bg-soft);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.section { padding: 76px 0; }
.section-soft { background: var(--bg-white); }

/* Judul seksi — serif elegan, aksen emas */
.section-title { text-align: center; margin-bottom: 46px; }
.section-title .kicker {
  display: inline-block; font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--green);
  background: var(--green-light); padding: 6px 16px;
  border-radius: 999px; margin-bottom: 14px;
}
.section-title h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; }
.section-title h2 .gold, .gold { color: var(--gold-dark); }
.section-title p { color: var(--muted); margin-top: 12px; max-width: 640px; margin-left: auto; margin-right: auto; }

.gold-text { color: var(--gold-dark); }
.green-text { color: var(--green); }

/* ============================================================
   TOMBOL — pill, emas untuk aksi
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: all .25s ease; cursor: pointer; border: none;
  font-family: var(--font-body);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #241a06; box-shadow: 0 10px 24px -8px rgba(196, 127, 28, .55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(196, 127, 28, .7); }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; box-shadow: 0 10px 24px -8px rgba(15, 51, 34, .5); }
.btn-green:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all .3s ease; background: transparent;
}
.site-header.scrolled {
  background: rgba(15, 51, 34, .92);
  box-shadow: 0 4px 24px rgba(15, 51, 34, .25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; max-width: 42%; text-decoration: none; color: inherit; cursor: pointer; }
.brand:hover .name b { color: var(--gold); }
.brand .logo {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--bg-white); box-shadow: 0 4px 12px rgba(0,0,0,.18);
  border: 2px solid var(--gold);
}
.brand .logo img { width: 100%; height: 100%; object-fit: cover; }
.brand .name { line-height: 1.2; min-width: 0; overflow: hidden; }
.brand .name b {
  font-family: var(--font-head); font-size: 15px; font-weight: 700; display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand .name small {
  font-size: 10.5px; color: var(--muted); display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* warna teks header saat transparan vs solid */
.site-header .nav-link { color: #fff; }
.site-header .brand .name b { color: #fff; }
.site-header .brand .name small { color: rgba(255,255,255,.85); }
.site-header.scrolled .nav-link { color: rgba(255,255,255,.9); }
.site-header.scrolled .brand .name b { color: #fff; }
.site-header.scrolled .brand .name small { color: rgba(255,255,255,.75); }

.main-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.main-nav .nav-link {
  font-size: 13.5px; font-weight: 500; padding: 7px 11px; border-radius: 8px;
  transition: all .2s ease; white-space: nowrap;
}
.main-nav .nav-link:hover { color: var(--gold); }
.main-nav .nav-link.active { color: var(--gold); font-weight: 700; }

.header-cta { margin-left: 6px; flex: 0 0 auto; }

.hamburger { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: #fff; padding: 6px; }
.site-header.scrolled .hamburger { color: #fff; }

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  display: none; background: var(--bg-white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(15, 51, 34, .1);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav .bn-inner { display: flex; justify-content: space-around; align-items: flex-end; }
.bn-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 500; color: var(--muted);
  padding: 6px 4px; border-radius: 12px; min-width: 56px; cursor: pointer;
  transition: color .2s ease;
}
.bn-item i { font-size: 19px; }
.bn-item.active { color: var(--green); font-weight: 700; }
.bn-item.bn-ppdb {
  color: #241a06; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 16px; margin-top: -22px; padding: 12px 14px 8px;
  box-shadow: 0 8px 20px -6px rgba(196, 127, 28, .6); font-weight: 700;
}
.bn-item.bn-ppdb i { font-size: 21px; }

/* drawer mobile */
.drawer {
  position: fixed; inset: 0; z-index: 1200; background: rgba(15, 51, 34, .98);
  display: none; flex-direction: column; padding: 20px;
  transform: translateY(100%); transition: transform .3s ease;
}
.drawer.open { transform: translateY(0); }
.drawer .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer .drawer-head .brand .name b { color: #fff; }
.drawer .drawer-head .brand .name small { color: rgba(255,255,255,.8); }
.drawer-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }
.drawer nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.drawer nav a {
  color: #fff; font-size: 16px; font-weight: 500; padding: 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 12px;
}
.drawer nav a i { width: 22px; text-align: center; color: var(--gold); }
.drawer nav a:hover { background: rgba(255,255,255,.08); }
.drawer .drawer-cta { margin-top: 18px; }

/* ============================================================
   HERO — "Sekolah di Lereng Lawu" (matahari terbit + siluet gunung)
   ============================================================ */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; padding: 120px 20px 120px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(233,168,58,.35) 0%, rgba(233,168,58,0) 55%),
    linear-gradient(180deg, #0F3322 0%, #1F5A3A 42%, #C47F1C 74%, #F0C987 100%);
  background-image:
    radial-gradient(120% 90% at 50% 0%, rgba(233,168,58,.35) 0%, rgba(233,168,58,0) 55%),
    linear-gradient(180deg, #0F3322 0%, #1F5A3A 42%, #C47F1C 74%, #F0C987 100%) !important;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 50% 22%, rgba(255,235,190,.35) 0%, rgba(255,235,190,0) 70%),
    linear-gradient(180deg, rgba(15,51,34,0) 0%, rgba(15,51,34,.25) 100%);
}
/* siluet pegunungan Lawu (3 lapis) */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: 46%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 340' preserveAspectRatio='none'%3E%3Cpath d='M0 250 L140 150 L290 220 L470 105 L640 235 L820 160 L1010 240 L1210 170 L1440 225 L1440 340 L0 340 Z' fill='%230F3322' fill-opacity='0.28'/%3E%3Cpath d='M0 285 L180 190 L360 275 L560 160 L760 280 L950 200 L1160 275 L1330 215 L1440 270 L1440 340 L0 340 Z' fill='%230F3322' fill-opacity='0.5'/%3E%3Cpath d='M0 315 L160 245 L350 305 L560 235 L770 310 L980 255 L1200 310 L1440 275 L1440 340 L0 340 Z' fill='%230F3322' fill-opacity='0.78'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: bottom;
  pointer-events: none;
}
.hero .hero-inner { position: relative; z-index: 2; max-width: 840px; }
.hero .badge {
  display: inline-block; background: rgba(255,255,255,.16); color: #fff;
  border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px);
  font-weight: 600; font-size: 13px; letter-spacing: 1px; padding: 8px 18px;
  border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-head); font-size: clamp(34px, 6.4vw, 60px);
  font-weight: 700; line-height: 1.12; margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(15,51,34,.35);
}
.hero h1 .gold { color: #FFD98A; }
.hero .motto {
  font-family: var(--font-head); font-style: italic; font-size: 20px;
  letter-spacing: 1px; color: rgba(255,255,255,.94); margin-bottom: 10px;
}
.hero p.lead { font-size: 17px; color: rgba(255,255,255,.92); max-width: 660px; margin: 0 auto 30px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.9); font-size: 26px; animation: bounce 2s infinite; z-index: 2;
}
@keyframes bounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,10px)} }

/* hero informasi (kalau dipakai) — biarkan penuh, bukan 420px */

/* ============================================================
   PAGE HERO (halaman dalam)
   ============================================================ */
.page-hero {
  position: relative; padding: 150px 20px 84px; text-align: center; color: #fff;
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(233,168,58,.3) 0%, rgba(233,168,58,0) 55%),
    linear-gradient(180deg, #0F3322 0%, #1F5A3A 45%, #C47F1C 78%, #F0C987 100%);
  background-image:
    radial-gradient(100% 80% at 50% 0%, rgba(233,168,58,.3) 0%, rgba(233,168,58,0) 55%),
    linear-gradient(180deg, #0F3322 0%, #1F5A3A 45%, #C47F1C 78%, #F0C987 100%) !important;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(15,51,34,.15), rgba(15,51,34,.3));
}
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 38%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 340' preserveAspectRatio='none'%3E%3Cpath d='M0 250 L140 150 L290 220 L470 105 L640 235 L820 160 L1010 240 L1210 170 L1440 225 L1440 340 L0 340 Z' fill='%230F3322' fill-opacity='0.28'/%3E%3Cpath d='M0 285 L180 190 L360 275 L560 160 L760 280 L950 200 L1160 275 L1330 215 L1440 270 L1440 340 L0 340 Z' fill='%230F3322' fill-opacity='0.5'/%3E%3Cpath d='M0 315 L160 245 L350 305 L560 235 L770 310 L980 255 L1200 310 L1440 275 L1440 340 L0 340 Z' fill='%230F3322' fill-opacity='0.78'/%3E%3C/svg%3E");
  background-size: 100% 100%; background-repeat: no-repeat; background-position: bottom;
  pointer-events: none;
}
.page-hero .inner { position: relative; z-index: 2; }
.page-hero .crumb {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: #FFD98A; font-weight: 700; margin-bottom: 10px;
}
.page-hero h1 { font-family: var(--font-head); font-size: clamp(30px, 5vw, 46px); font-weight: 700; text-shadow: 0 2px 24px rgba(15,51,34,.35); }

/* ============================================================
   STATS — angka besar serif, kartu krem melayang
   ============================================================ */
.stats-strip { margin-top: -56px; position: relative; z-index: 5; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--bg-white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 30px 10px; text-align: center;
  border: 1px solid var(--line);
}
.stat { padding: 6px 10px; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 46px; width: 1px; background: var(--line);
}
.stat .num {
  font-family: var(--font-head); font-size: 38px; font-weight: 700;
  color: var(--green); line-height: 1.1;
}
.stat .num.gold { color: var(--gold-dark); }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   GRID / CARDS — kartu krem, aksen emas
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); transition: all .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.card .icon {
  width: 56px; height: 56px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
  background: var(--green-light); color: var(--green);
}
.card.gold .icon { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #241a06; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }
.card .num-tag {
  display: inline-block; font-size: 12px; font-weight: 800; color: var(--green);
  background: var(--green-light); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}

/* ============================================================
   SPLIT / TENTANG
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split h3 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.split p { color: var(--muted); margin-bottom: 12px; }

/* sambutan kepsek */
.sambutan { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.sambutan .foto {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--green-light); border: 1px solid var(--line);
}
.sambutan .foto img { width: 100%; }
.sambutan .quote {
  font-family: var(--font-head); font-style: italic;
  font-size: 18px; line-height: 1.75; color: #33433A;
  border-left: 4px solid var(--gold); padding-left: 22px; margin-bottom: 18px;
}
.sambutan .who { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--green-deep); }
.sambutan .role { font-size: 13px; color: var(--muted); }

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

/* ============================================================
   BERITA / KEGIATAN (item statis + cms-blog)
   ============================================================ */
.berita { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.berita .item { background: var(--bg-white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: all .3s ease; }
.berita .item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.berita .item .thumb { height: 190px; overflow: hidden; background: var(--green-light); }
.berita .item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.berita .item:hover .thumb img { transform: scale(1.06); }
.berita .item .body { padding: 18px 20px 22px; }
.berita .item .date { font-size: 12px; color: var(--gold-dark); font-weight: 600; }
.berita .item h3 { font-size: 17px; font-weight: 700; margin: 6px 0 8px; line-height: 1.35; }
.berita .item p { font-size: 13px; color: var(--muted); }

/* cms-blog (dari plugin) */
.cms-blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px;
}
.cms-blog-card {
  display: flex; flex-direction: column; background: var(--bg-white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease;
}
.cms-blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.cms-blog-th { height: 180px; background-size: cover; background-position: center; background-color: var(--green-light); }
.cms-blog-th-none { display: flex; align-items: center; justify-content: center; font-size: 42px; opacity: .5; }
.cms-blog-body { padding: 18px 19px 21px; }
.cms-blog-date { font-size: 12px; font-weight: 600; letter-spacing: .3px; color: var(--gold-dark); margin-bottom: 6px; }
.cms-blog-title { font-family: var(--font-head); font-size: 17px; line-height: 1.35; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.cms-blog-sum { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ============================================================
   PRESTASI
   ============================================================ */
.prestasi-list { max-width: 760px; margin: 0 auto; }
.prestasi-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.prestasi-list li .medal { color: var(--gold-dark); font-size: 20px; flex-shrink: 0; }
.prestasi-list li span { font-size: 15px; }

/* grafik prestasi (plugin) */
.cms-prestasi {
  max-width: 900px; margin: 0 auto; background: var(--bg-white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow);
}
.cms-pr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cms-pr-total b { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--green); }
.cms-pr-total span { font-size: 14px; color: var(--muted); margin-left: 8px; }
.cms-pr-ta { font-size: 13px; color: var(--muted); }
.cms-pr-stage { position: relative; }
.cms-pr-chart { width: 100%; height: auto; display: block; }
.cms-pr-line { stroke: var(--gold-dark); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cms-pr-area { fill-opacity: .9; }
.cms-pr-badge text { fill: #241a06; font-size: 12px; font-weight: 700; font-family: var(--font-body); text-anchor: middle; }
.cms-pr-replay {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: var(--green-light); color: var(--green); border: none; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 13px;
  font-family: var(--font-body); transition: all .2s ease;
}
.cms-pr-replay:hover { background: var(--green); color: #fff; }
.cms-pr-replay svg { width: 16px; height: 16px; }
.cms-pr-tip {
  position: absolute; background: var(--green-deep); color: #fff; padding: 8px 14px;
  border-radius: 10px; font-size: 12px; pointer-events: none; transform: translate(-50%, -110%);
  box-shadow: 0 8px 20px rgba(15,51,34,.3); white-space: nowrap;
}
.cms-pr-tip b { font-family: var(--font-head); font-size: 16px; display: block; }
.cms-pr-tip span { font-size: 11px; opacity: .85; }

/* ============================================================
   GALERI
   ============================================================ */
.galeri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galeri .g { border-radius: 14px; overflow: hidden; height: 230px; position: relative; cursor: zoom-in; }
.galeri .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.galeri .g:hover img { transform: scale(1.08); }

/* galeri plugin */
.cms-galeri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cms-gal-item { border-radius: 14px; overflow: hidden; height: 230px; position: relative; }
.cms-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cms-gal-item:hover img { transform: scale(1.08); }
.cms-gal-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  font-size: 12px; color: #fff; background: linear-gradient(180deg, transparent, rgba(15,51,34,.8));
}

/* ============================================================
   KALENDER
   ============================================================ */
.kal-block { max-width: 780px; margin: 0 auto; }
.kal-block .sem { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--green-deep); margin: 26px 0 10px; }
.kal-block .sem:first-child { margin-top: 0; }
.kal-row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kal-row .tgl { min-width: 130px; font-weight: 700; color: var(--gold-dark); font-size: 14px; }
.kal-row .desc { font-size: 14px; color: #33433A; }

/* ============================================================
   KONTAK
   ============================================================ */
.kontak-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kontak-cards .card { text-align: center; }
.kontak-cards .card .icon { margin-left: auto; margin-right: auto; }

/* ============================================================
   PPDB
   ============================================================ */
.ppdb-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; text-align: center; }
.ppdb-steps .step { background: var(--bg-white); border-radius: 14px; padding: 22px 12px; border: 1px solid var(--line); }
.ppdb-steps .step .n {
  width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-head);
}
.ppdb-steps .step span { font-size: 13px; font-weight: 600; }

.ppdb-form { max-width: 560px; margin: 0 auto; background: var(--bg-white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 14px; transition: border .2s ease; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(160deg, var(--green-deep), #143a29);
  color: rgba(255,255,255,.85); padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 44px; }
.footer-grid h4 { font-family: var(--font-head); color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-grid .brand .name b { color: #fff; font-size: 16px; }
.footer-grid p, .footer-grid li { font-size: 13px; line-height: 1.8; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid li a:hover { color: var(--gold); }
.footer-grid .socmed { display: flex; gap: 10px; margin-top: 16px; }
.footer-grid .socmed a {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); color: #fff; transition: all .2s ease;
}
.footer-grid .socmed a:hover { background: var(--gold); color: #241a06; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.6); }
.footer-bottom b { color: var(--gold); }

/* ============================================================
   HERO VIDEO (plugin) — sesuaikan tema
   ============================================================ */
.hero-video-top {
  background: linear-gradient(180deg, var(--green-deep) 0%, var(--green) 60%, var(--bg-soft) 100%);
  padding-top: 108px; padding-bottom: 48px;
}
.hero-video-top .section-title { margin-bottom: 26px; }
.hero-video-top .section-title h2 { color: #fff; }
.hero-video-top .section-title .kicker { background: rgba(233,168,58,.2); color: #FFD98A; }
.hero-video-top .cms-hero-video { box-shadow: 0 30px 80px -25px rgba(15,51,34,.55); border: 1px solid rgba(233,168,58,.25); }

/* ============================================================
   DETAIL ARTIKEL
   ============================================================ */
.item-link { display: block; text-decoration: none; color: inherit; transition: transform .25s ease; }
.item-link:hover { transform: translateY(-4px); }
.item-link:hover h3 { color: var(--green); }

.artikel-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.artikel-tanggal { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--green); }
.artikel-kembali { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .2s ease, gap .2s ease; }
.artikel-kembali:hover { color: var(--green); gap: 10px; }
.artikel-judul { font-family: var(--font-head); font-size: clamp(24px, 4vw, 36px); line-height: 1.25; font-weight: 700; margin: 0 0 22px; color: var(--ink); }
.artikel-gambar { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; box-shadow: var(--shadow); }
.artikel-gambar img { width: 100%; height: auto; display: block; }
.artikel-isi p { font-size: 16px; line-height: 1.85; color: #2b3a40; margin: 0 0 20px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.galeri .g { cursor: zoom-in; }
.cms-lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8, 20, 15, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
.cms-lightbox.open { opacity: 1; visibility: visible; }
.cms-lb-stage { max-width: min(94vw, 1400px); max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 12px; }
.cms-lb-stage img {
  max-width: 100%; max-height: 80vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.75);
  opacity: 0; transform: scale(.96); transition: opacity .3s ease, transform .3s ease; background: #0d1b14;
}
.cms-lb-stage img.siap { opacity: 1; transform: scale(1); }
.cms-lb-caption { color: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; text-align: center; max-width: 90vw; }
.cms-lb-count { position: absolute; top: 20px; left: 24px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.cms-lb-close, .cms-lb-nav {
  position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .bottom-nav { display: block; }
  body { padding-bottom: 70px; }
  .site-footer { padding-bottom: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .section { padding: 54px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 22px 6px; }
  .stat:nth-child(3)::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .sambutan { grid-template-columns: 1fr; gap: 26px; }
  .sambutan .foto { max-width: 220px; margin: 0 auto; }
  .program { grid-template-columns: 1fr; }
  .berita, .cms-blog-grid, .cms-galeri { grid-template-columns: 1fr; }
  .galeri { grid-template-columns: repeat(2, 1fr); }
  .galeri .g, .cms-gal-item { height: 160px; }
  .kontak-cards { grid-template-columns: 1fr; }
  .ppdb-steps { grid-template-columns: repeat(3, 1fr); }
  .kal-row { flex-direction: column; gap: 4px; }
  .kal-row .tgl { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { min-height: 84vh; }
  .hero::after { height: 40%; }
  .stat .num { font-size: 30px; }
}
