/* ==========================================================================
   SMKS PGRI 1 TRANSPRAM II — Stylesheet utama
   Hijau tua (utama), emerald (aksen), putih, abu muda, emas lembut.
   ========================================================================== */
:root {
  --green-950: #072a1f;
  --green-900: #0b3b2c;
  --green-800: #114a37;
  --green-700: #17614a;
  --emerald: #0e9f6a;
  --emerald-dark: #0b7f55;
  --emerald-50: #e7f5ee;
  --gold: #c9a24a;
  --gold-dark: #a8842f;
  --gold-50: #f7efd9;
  --white: #ffffff;
  --gray-50: #f4f6f5;
  --gray-100: #e9eeeb;
  --gray-300: #cdd7d2;
  --ink: #13241d;
  --muted: #55675f;
  --danger: #b3261e;
  --danger-50: #fdecea;

  --c-tkro: #0e9f6a;
  --c-tjkt: #127a8a;
  --c-akl: #b8892c;
  --c-tsm: #3d7f2e;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 59, 44, .06), 0 8px 24px rgba(11, 59, 44, .07);
  --shadow-lift: 0 2px 4px rgba(11, 59, 44, .08), 0 16px 36px rgba(11, 59, 44, .12);
  --header-h: 76px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--white); text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; color: var(--green-950); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--green-950); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container.narrow { width: min(100% - 40px, 820px); }
.center { text-align: center; }
.muted { color: var(--muted); }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.icon-sm { width: 1em; height: 1em; }
.icon-xs { width: .8em; height: .8em; vertical-align: -.05em; opacity: .85; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.35em; border-radius: 10px; border: 2px solid transparent;
  font: 700 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald); color: var(--white); }
.btn-primary:hover { background: var(--emerald-dark); color: var(--white); }
.btn-outline { border-color: var(--green-900); color: var(--green-900); background: transparent; }
.btn-outline:hover { background: var(--green-900); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-900); }
.btn-light:hover { background: var(--emerald-50); color: var(--green-950); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--green-950); }
.btn-gold:hover { background: #d8b45d; color: var(--green-950); }
.text-link { font-weight: 700; color: var(--emerald-dark); text-decoration: none; border-bottom: 2px solid var(--emerald-50); }
.text-link:hover { border-color: var(--emerald); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--gray-100); box-shadow: 0 6px 20px rgba(11,59,44,.06); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-950); min-width: 0; flex: none; }
.brand-logo { width: auto; height: 48px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: .98rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.brand-text small { font-size: .76rem; color: var(--muted); font-weight: 500; white-space: nowrap; }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-row { display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 7px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); white-space: nowrap; }
.has-sub .nav-link { padding-right: 2px; }
.nav-link:hover, .nav-item.is-active > .nav-link, .nav-item.is-active > .nav-row > .nav-link { color: var(--emerald-dark); }
.nav-item.is-active > .nav-link, .nav-item.is-active > .nav-row > .nav-link { box-shadow: inset 0 -2px 0 var(--emerald); border-radius: 0; }
.sub-toggle { background: none; border: 0; padding: 8px 6px; color: var(--muted); cursor: pointer; border-radius: 6px; display: inline-flex; }
.sub-toggle:hover { color: var(--emerald-dark); }
.sub-menu {
  list-style: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 300px;
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.sub-menu::before { content: ""; position: absolute; inset: -8px 0 auto; height: 8px; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; }
.sub-menu a:hover { background: var(--emerald-50); color: var(--green-900); }
@media (hover: hover) and (min-width: 1281px) {
  .has-sub:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
.nav-spmb { margin-left: 8px; }
.nav-spmb > .nav-row { background: var(--emerald); border-radius: 10px; padding-left: 6px; }
.nav-spmb > .nav-row > .nav-link, .nav-spmb > .nav-row > .sub-toggle { color: var(--white); }
.nav-spmb > .nav-row:hover { background: var(--emerald-dark); }
.nav-spmb.is-active > .nav-row > .nav-link { box-shadow: none; color: var(--white); }
.nav-spmb .sub-menu, .nav-item:last-child .sub-menu { right: 0; left: auto; }
.nav-cta-mobile, .menu-toggle { display: none; }

/* ---------- Hero beranda ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(14,159,106,.35), transparent 60%),
    linear-gradient(160deg, var(--green-900), var(--green-950));
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 42px);
}
.hero.has-photo { background: linear-gradient(100deg, rgba(7,42,31,.94) 0%, rgba(7,42,31,.82) 45%, rgba(7,42,31,.45) 100%), var(--hero-photo) center/cover no-repeat; }
.hero.has-photo::before { display: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 88px 0 96px; }
.hero-kicker { color: #bfe8d6; font-weight: 600; margin-bottom: 18px; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; max-width: 15ch; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #dcefe6; max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }

.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-tile {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 20px 20px; min-height: 168px;
  border-radius: var(--radius-lg); text-decoration: none; color: var(--white);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  transition: background-color .2s, transform .2s, border-color .2s;
  animation: tileIn .6s cubic-bezier(.2,.7,.2,1) both;
}
.hero-tile:nth-child(2) { animation-delay: .08s; } .hero-tile:nth-child(3) { animation-delay: .16s; } .hero-tile:nth-child(4) { animation-delay: .24s; }
@keyframes tileIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-tile::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--tile-c, var(--emerald)); }
.hero-tile:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); color: var(--white); transform: translateY(-3px); }
.tile-tkro { --tile-c: var(--c-tkro); } .tile-tjkt { --tile-c: #22b3c6; } .tile-akl { --tile-c: var(--gold); } .tile-tsm { --tile-c: #7cc35f; }
.tile-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255,255,255,.12); margin-bottom: auto; }
.tile-code { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin-top: 18px; }
.tile-name { font-size: .82rem; color: #cfe7dc; line-height: 1.35; }

/* ---------- Section umum ---------- */
.section { padding: 84px 0; }
.section-muted { background: var(--gray-50); }
.section-dark { background: var(--green-900); color: #e3f1ea; }
.section-dark .section-title { color: var(--white); }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.section-head.split .section-title { margin: 0; }
.section-title { font-size: clamp(1.55rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.025em; }
.section-title.small { font-size: 1.3rem; margin-top: 1.6em; }
.section-title .icon { color: var(--gold); }
.section-lead { font-size: 1.08rem; color: var(--muted); }
.tefa-band .section-lead { color: #cfe7dc; }

/* Profil singkat */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.about .section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 16ch; }
.about-copy p { font-size: 1.08rem; color: #2c3e36; }
.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 24px 0; }
.fact-list div { padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--gray-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.fact-list dt { font-size: .8rem; color: var(--muted); }
.fact-list dd { margin: 0; font-weight: 700; color: var(--green-950); }

/* ---------- Kartu program ---------- */
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.program-card {
  --pc: var(--emerald);
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.program-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.program-tkro { --pc: var(--c-tkro); } .program-tjkt { --pc: var(--c-tjkt); } .program-akl { --pc: var(--c-akl); } .program-tsm { --pc: var(--c-tsm); }
.program-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--green-900); overflow: hidden; }
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.program-card:hover .program-media img { transform: scale(1.04); }
.program-code {
  position: absolute; left: 16px; bottom: -6px; font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.program-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 26px 22px 22px; border-top: 4px solid var(--pc); }
.program-icon {
  position: absolute; top: -26px; right: 18px; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; background: var(--white); color: var(--pc); box-shadow: var(--shadow);
}
.program-body h3 { font-size: 1.1rem; margin-bottom: .5em; }
.program-body h3 a { color: inherit; text-decoration: none; }
.program-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.program-body .btn { align-self: flex-start; min-height: 42px; padding: .55em 1.1em; }

/* ---------- Keunggulan ---------- */
.advantage-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--gray-100); }
.advantage-list li { padding: 28px 22px 8px 0; border-right: 1px solid var(--gray-100); margin-right: 22px; }
.advantage-list li:last-child { border-right: 0; margin-right: 0; }
.adv-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-50); color: var(--emerald-dark); margin-bottom: 16px; }
.advantage-list h3 { font-size: 1.02rem; }
.advantage-list p { color: var(--muted); font-size: .92rem; }

/* ---------- TEFA band ---------- */
.tefa-band { background: var(--green-950); color: #e3f1ea; }
.tefa-band .section-title { color: var(--white); }
.tefa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.process-steps { list-style: none; counter-reset: step; display: grid; gap: 10px; }
.process-steps li { counter-increment: step; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--gray-50); font-weight: 600; }
.process-steps li::before { content: counter(step); flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald); color: var(--white); font-weight: 800; font-size: .9rem; }
.tefa-band .process-steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--white); }
.tefa-band .process-steps li::before { background: var(--gold); color: var(--green-950); }
.process-steps.horizontal { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.process-steps.horizontal li { flex-direction: column; align-items: flex-start; background: var(--white); box-shadow: var(--shadow); }
.tefa-products { list-style: none; display: grid; gap: 12px; }
.tefa-products a { display: flex; gap: 16px; align-items: center; padding: 12px; border-radius: var(--radius); text-decoration: none; background: rgba(255,255,255,.06); color: var(--white); border: 1px solid rgba(255,255,255,.1); }
.tefa-products a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.tefa-products img, .tefa-products .prod-ph { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.tefa-products strong { display: block; } .tefa-products small { color: #b9d8ca; }
.tefa-products.light a { background: var(--white); color: var(--ink); border-color: var(--gray-100); box-shadow: var(--shadow); }
.tefa-products.light small { color: var(--muted); }
.prod-ph { display: grid; place-items: center; background: var(--emerald-50); color: var(--emerald-dark); border-radius: var(--radius); aspect-ratio: 4/3; }
.prod-ph .icon { width: 36px; height: 36px; }
.prod-ph.large { width: 100%; min-height: 280px; }

/* ---------- Berita ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-media { display: block; aspect-ratio: 16 / 9; background: var(--gray-50); overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-placeholder { display: grid; place-items: center; height: 100%; color: var(--gray-300); background: linear-gradient(135deg, var(--emerald-50), var(--gray-50)); }
.news-placeholder .icon { width: 44px; height: 44px; color: var(--emerald); opacity: .5; }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.news-body h3 { font-size: 1.1rem; line-height: 1.35; }
.news-body h3 a { color: var(--green-950); text-decoration: none; }
.news-body h3 a:hover { color: var(--emerald-dark); }
.news-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.news-body .text-link { align-self: flex-start; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--emerald-50); color: var(--emerald-dark); font-size: .78rem; font-weight: 700; text-decoration: none; }

/* ---------- Agenda & galeri beranda ---------- */
.agenda-gallery { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.event-list { list-style: none; display: grid; gap: 14px; }
.event-list li { display: flex; gap: 16px; padding: 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.event-date { flex: none; width: 64px; text-align: center; border-radius: 12px; background: var(--green-900); color: var(--white); padding: 8px 0; line-height: 1.1; }
.event-date strong { display: block; font-size: 1.6rem; font-weight: 800; }
.event-date span { font-size: .8rem; color: var(--gold-50); }
.event-list h3 { font-size: 1rem; margin-bottom: .3em; }
.event-meta { font-size: .85rem; color: var(--muted); margin-bottom: .4em; }
.event-list p:last-child { margin: 0; font-size: .9rem; }
.photo-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photo-mosaic a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--gray-100); }
.photo-mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-mosaic a:hover img { transform: scale(1.05); }

/* ---------- Banner SPMB ---------- */
.spmb-banner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 44px 48px;
  border-radius: var(--radius-lg); color: #e3f1ea;
  background: linear-gradient(120deg, var(--green-900), var(--green-800)); position: relative; overflow: hidden;
}
.spmb-banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(201,162,74,.18); }
.spmb-banner h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.spmb-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(255,255,255,.12); color: var(--gold-50); margin-bottom: 14px; }
.status-pill.open { background: var(--gold); color: var(--green-950); }
.status-card .status-pill, .status-result .status-pill { background: var(--gray-100); color: var(--green-900); }
.status-card .status-pill.open, .status-result .status-pill.open { background: var(--emerald); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #b9d0c6; padding-top: 64px; font-size: .94rem; }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand-logo { height: 64px; }
.site-footer .brand-text small { color: #9fbcaf; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-title { font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #d6e7df; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-contact { list-style: none; display: grid; gap: 12px; margin-bottom: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 3px; }
.footer-more { font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; gap: 6px; align-items: center; }
.social-list { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.social-list a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); }
.social-list.large a { width: auto; height: auto; display: inline-flex; gap: 8px; padding: 10px 16px; background: var(--emerald-50); color: var(--green-900); font-weight: 600; text-decoration: none; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px; background: #1f9d55; color: var(--white); font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
.wa-float:hover { background: #17834a; color: var(--white); }
.wa-float .icon { width: 26px; height: 26px; }

/* ---------- Halaman dalam ---------- */
.page-hero { background: linear-gradient(160deg, var(--green-900), var(--green-950)); color: #d6e9e0; padding: 46px 0 52px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 42px); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; max-width: 26ch; margin-bottom: .3em; }
.page-hero .lead { font-size: 1.1rem; max-width: 60ch; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; margin-bottom: 18px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: #bfe0d2; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb span { color: var(--white); }

.prose-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.prose { font-size: 1.04rem; max-width: 72ch; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose blockquote, blockquote.vision { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--gold-50); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.1rem; font-weight: 600; color: var(--green-950); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col.align-start { align-items: start; }

.check-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-grid.single { grid-template-columns: 1fr; }
.check-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 600; }
.check-grid .icon { color: var(--emerald); margin-top: 4px; }
.plain-list { list-style: none; display: grid; gap: 10px; margin-bottom: 1em; }
.plain-list li { display: flex; gap: 10px; align-items: flex-start; }
.plain-list .icon { color: var(--emerald); margin-top: 4px; }
.plain-list.on-dark .icon { color: var(--gold); }
ol.numbered { padding-left: 1.4em; display: grid; gap: 8px; margin-bottom: 1.4em; }

/* Program detail */
.program-hero { --pc: var(--emerald); background: linear-gradient(160deg, var(--green-900), var(--green-950)); color: #d6e9e0; padding: 46px 0 60px; }
.program-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.program-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; }
.program-hero-code { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--pc); margin: 0 0 .1em; }
.program-tjkt .program-hero-code { color: #34c0d2; } .program-akl .program-hero-code { color: var(--gold); } .program-tsm .program-hero-code { color: #84c96a; }
.program-hero-media img { border-radius: var(--radius-lg); width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--gray-100); }
.subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 14px 14px; white-space: nowrap; color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--green-900); border-color: var(--emerald); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.info-card img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 14px; }
.info-card h3 { font-size: 1.05rem; }
.info-card h3 a { color: inherit; text-decoration: none; }
.info-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.product-media { display: block; margin-bottom: 14px; }
.product-media img { margin: 0; }

.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 32px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border-left: 6px solid var(--gold); margin-bottom: 40px; }
.cta-strip h2 { font-size: 1.4rem; margin-bottom: .2em; }
.cta-strip p { margin: 0; color: var(--muted); }
.other-programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other-programs.four { grid-template-columns: repeat(4, 1fr); }
.other-program { --pc: var(--emerald); display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border-top: 4px solid var(--pc); transition: transform .2s, box-shadow .2s; }
.other-program:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--ink); }
.other-program .tile-icon { background: var(--emerald-50); color: var(--pc); margin: 0; }
.other-program strong { display: block; font-size: 1.15rem; color: var(--green-950); }
.other-program small { color: var(--muted); line-height: 1.3; display: block; }

.faq details { border-bottom: 1px solid var(--gray-100); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; position: relative; color: var(--green-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--emerald); font-weight: 600; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 14px; }

.achievement-list { list-style: none; display: grid; gap: 12px; }
.achievement-list li { display: flex; gap: 14px; padding: 16px 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.achievement-list > li > .icon { color: var(--gold-dark); width: 28px; height: 28px; }
.achievement-list small { display: block; color: var(--muted); }
.achievement-list p { margin: 6px 0 0; font-size: .93rem; }

/* Profil */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.link-card { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); color: var(--green-950); text-decoration: none; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.link-card .icon { color: var(--emerald); width: 28px; height: 28px; }
.with-aside { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.side-nav ul { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--gray-100); }
.side-nav a { display: block; padding: 9px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .93rem; }
.side-nav a:hover { color: var(--green-900); }
.side-nav a[aria-current="page"] { color: var(--emerald-dark); border-color: var(--emerald); }
.page-body { min-width: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.data-table th, .data-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
.data-table tbody th { width: 220px; color: var(--muted); font-weight: 600; }
.data-table thead th { background: var(--green-900); color: var(--white); font-weight: 700; }
.data-table.striped tbody tr:nth-child(even) { background: var(--gray-50); }
.principal { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.principal img { border-radius: var(--radius-lg); }
.org-chart { display: grid; gap: 20px; }
.org-level { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; position: relative; }
.org-level + .org-level::before { content: ""; position: absolute; top: -20px; left: 50%; height: 20px; border-left: 2px solid var(--gray-300); }
.org-node { min-width: 180px; padding: 16px; text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--emerald); display: grid; justify-items: center; gap: 4px; }
.org-node img { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; }
.org-node span { color: var(--muted); font-size: .9rem; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.staff-card { text-align: center; background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.staff-card img, .staff-ph { width: 120px; height: 150px; object-fit: cover; border-radius: 12px; margin: 0 auto 12px; }
.staff-ph { display: grid; place-items: center; background: var(--gray-50); color: var(--gray-300); }
.staff-ph .icon { width: 48px; height: 48px; }
.staff-card h3 { font-size: 1rem; margin-bottom: .2em; }
.staff-card p { font-size: .86rem; color: var(--muted); margin: 0; }

/* Berita & galeri */
.filter-bar { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 30px; }
.filter-bar.column { flex-direction: column; align-items: stretch; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--gray-300); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; background: var(--white); }
.chip:hover { border-color: var(--emerald); color: var(--emerald-dark); }
.chip.active { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.search-form { display: flex; gap: 8px; }
.search-form input { min-width: 240px; }
.result-note { color: var(--muted); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; gap: 4px; min-width: 42px; height: 42px; padding: 0 12px; justify-content: center; border-radius: 10px; border: 1px solid var(--gray-300); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.article-wrap { width: min(100%, 780px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.article-cover img { border-radius: var(--radius-lg); width: 100%; margin-bottom: 28px; }
.article-cover { margin: 0; }
.article-body { font-size: 1.08rem; line-height: 1.75; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--gray-100); }
.share > span { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; margin-right: 6px; }
.share a, .share button { padding: 8px 14px; border-radius: 999px; background: var(--gray-50); border: 1px solid var(--gray-100); color: var(--green-900); font: 600 .88rem var(--font); text-decoration: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.share a:hover, .share button:hover { background: var(--emerald-50); }
.related-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-list a { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.related-list img { width: 96px; height: 68px; object-fit: cover; border-radius: 8px; flex: none; }
.related-list small { display: block; color: var(--muted); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.album-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--ink); }
.album-media { position: relative; display: block; aspect-ratio: 4/3; background: var(--gray-50); }
.album-media img { width: 100%; height: 100%; object-fit: cover; }
.album-ph { display: grid; place-items: center; height: 100%; color: var(--emerald); }
.play-badge { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); background: rgba(0,0,0,.18); }
.play-badge .icon { width: 56px; height: 56px; }
.album-body { padding: 14px 16px 16px; }
.album-body strong { display: block; } .album-body small { color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 30px; }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid figcaption { font-size: .86rem; color: var(--muted); padding-top: 6px; }
.video-frame, .map-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-100); margin-bottom: 30px; }
.map-frame { aspect-ratio: 21/9; }
.video-frame iframe, .map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.partner-card { padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.partner-card img { max-height: 56px; width: auto; margin-bottom: 12px; }
.product-figure { margin: 0; }
.product-figure img { border-radius: var(--radius-lg); width: 100%; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,20,14,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #dcefe6; margin-top: 14px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 14px; top: 50%; } .lb-next { right: 14px; top: 50%; }

/* Formulir */
.card-form { background: var(--white); padding: 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--green-950); }
input, textarea, select {
  width: 100%; font: 400 1rem var(--font); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--gray-300); border-radius: 10px; padding: 11px 14px; min-height: 46px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(14,159,106,.15); }
.has-error input, .has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; margin: 6px 0 0; }
.alert { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.alert-success { background: var(--emerald-50); color: var(--green-900); border: 1px solid #bfe5d2; }
.alert-error { background: var(--danger-50); color: var(--danger); border: 1px solid #f3c2bd; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list > li > .icon { color: var(--emerald); width: 24px; height: 24px; margin-top: 2px; }
.contact-list strong { display: block; font-size: .86rem; color: var(--muted); font-weight: 600; }
.contact-list.on-dark { margin: 0; }
.contact-list.on-dark .icon { color: var(--gold); }
.contact-list.on-dark a { color: var(--white); }
.status-card, .status-result { padding: 26px; border-radius: var(--radius-lg); background: var(--gray-50); border: 1px solid var(--gray-100); display: grid; gap: 12px; justify-items: start; }
.status-card.open { background: var(--emerald-50); border-color: #bfe5d2; }
.status-result { margin-top: 24px; background: var(--white); box-shadow: var(--shadow); }
.notice { display: flex; gap: 18px; padding: 28px; border-radius: var(--radius-lg); background: var(--gold-50); border: 1px solid #ead9a8; }
.notice > .icon { color: var(--gold-dark); width: 32px; height: 32px; }
.notice h2 { font-size: 1.3rem; }

.empty-state { display: flex; gap: 14px; align-items: center; padding: 22px 24px; border-radius: var(--radius); border: 1.5px dashed var(--gray-300); color: var(--muted); background: var(--white); }
.empty-state > .icon { color: var(--emerald); width: 28px; height: 28px; }
.empty-state p { margin: 0; }
.tefa-band .empty-state, .section-dark .empty-state { background: transparent; border-color: rgba(255,255,255,.25); color: #cfe7dc; }

.error-page { padding: 110px 0; }
.error-code { font-size: 6rem; font-weight: 800; letter-spacing: -.05em; color: var(--emerald); line-height: 1; margin-bottom: .2em; }


/* ==========================================================================
   Beranda modern & dinamis: bar info, slider, statistik, sambutan, animasi
   ========================================================================== */
.topbar-info { background: var(--green-950); color: #cfe2d9; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-info ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.topbar-info a, .tb-hours { display: inline-flex; align-items: center; gap: 7px; color: #d9ebe3; text-decoration: none; }
.topbar-info a:hover { color: var(--gold); }
.topbar-info .icon { color: var(--gold); }
.tb-social { gap: 4px 6px !important; }
.tb-social a { width: 30px; height: 30px; justify-content: center; border-radius: 8px; }
.tb-social a:hover { background: rgba(255,255,255,.08); }

.slider { position: relative; height: clamp(440px, 74vh, 700px); background: var(--green-950); color: #fff; overflow: hidden; isolation: isolate; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide.is-active .slide-img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.slide::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(7,42,31,.92) 0%, rgba(7,42,31,.72) 42%, rgba(7,42,31,.2) 100%),
              linear-gradient(0deg, rgba(7,42,31,.55), transparent 40%); }
.slide-copy { position: relative; z-index: 1; padding-bottom: 40px; }
.slide-title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; max-width: 17ch; margin-bottom: .35em; }
.slide .hero-lead { max-width: 52ch; }
.slide.is-active .slide-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.slide.is-active .slide-copy > *:nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide-copy > *:nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.slider.has-stats .slider-ui { bottom: 96px; }
.slider.has-stats .slide-copy { padding-bottom: 110px; }
.slider-dots { display: flex; gap: 8px; }
.dot { width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.dot span { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.dot span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.dot.is-active span::after { animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
.slider.is-paused .dot.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.slider-btns { display: flex; gap: 8px; }
.sl-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(7,42,31,.35); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: .8rem; backdrop-filter: blur(4px); }
.sl-btn:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.sl-btn .i-play, .slider.is-paused .sl-btn .i-pause { display: none; }
.slider.is-paused .sl-btn .i-play { display: inline; }

.stats-wrap { position: relative; z-index: 5; padding: 40px 0 0; }
.stats-wrap.overlap { margin-top: -64px; padding-top: 0; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); overflow: hidden; }
.stats li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 24px 26px; border-right: 1px solid var(--gray-100); }
.stats li:last-child { border-right: 0; }
.stats .stat-ic { grid-row: span 2; width: 50px; height: 50px; border-radius: 14px; background: var(--emerald-50); color: var(--emerald-dark); display: grid; place-items: center; }
.stats .stat-ic .icon { width: 26px; height: 26px; }
.stat-num { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1; color: var(--green-950); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats .stat-label { color: var(--muted); font-size: .9rem; font-weight: 600; }

.welcome-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 64px; align-items: center; }
.welcome-grid.no-photo { grid-template-columns: 1fr; max-width: 820px; }
.welcome-photo { margin: 0; position: relative; }
.welcome-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.welcome-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.eyebrow { color: var(--gold-dark); font-weight: 700; margin-bottom: 10px; }
.welcome-quote { margin: 0 0 22px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.7; color: #24362e; position: relative; padding-left: 26px; border-left: 4px solid var(--emerald); }
.welcome-name { display: flex; flex-direction: column; margin-bottom: 22px; }
.welcome-name strong { font-size: 1.15rem; color: var(--green-950); }
.welcome-name span { color: var(--muted); }

/* Animasi muncul saat digulir (hanya bila JavaScript aktif) */
.reveal-ready .reveal, .reveal-ready .reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-ready .reveal.is-visible, .reveal-ready .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-ready .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-ready .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-ready .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-ready .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-ready .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }

@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 44px; }
  .welcome-photo { max-width: 340px; }
  .stats li { border-right: 0; border-bottom: 1px solid var(--gray-100); }
  .tb-hours { display: none !important; }
}
@media (max-width: 600px) {
  .topbar-inner { justify-content: center; }
  .tb-contact span { display: none; }
  .tb-contact a { width: 30px; height: 30px; justify-content: center; }
  .slider { height: clamp(460px, 82vh, 620px); }
  .slide::after { background: linear-gradient(0deg, rgba(7,42,31,.95) 0%, rgba(7,42,31,.7) 55%, rgba(7,42,31,.35) 100%); }
  .slide { align-items: flex-end; }
  .slide-copy { padding-bottom: 96px; }
  .slider-ui { bottom: 22px; }
  .slider.has-stats .slider-ui { bottom: 86px; }
  .slider.has-stats .slide-copy { padding-bottom: 150px; }
  .dot { width: 28px; }
  .sl-btn { width: 40px; height: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { grid-template-columns: 1fr; grid-template-rows: auto; text-align: center; justify-items: center; align-content: start; row-gap: 6px; padding: 20px 12px; }
  .stats li:nth-child(odd) { border-right: 1px solid var(--gray-100); }
  .stats .stat-ic { grid-row: auto; }
  .welcome-photo::before { inset: 14px -14px -14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-active .slide-img, .slide.is-active .slide-copy > * { animation: none !important; }
  .reveal-ready .reveal, .reveal-ready .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1280px) {
  .menu-toggle {
    display: inline-flex; margin-left: auto; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--gray-100); border-radius: 12px; background: var(--white); color: var(--green-900); cursor: pointer;
  }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); overflow-y: auto; padding: 12px 20px 40px;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; margin: 0;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--gray-100); }
  .nav-row { justify-content: space-between; }
  .nav-link { padding: 15px 4px; font-size: 1.02rem; }
  .nav-item.is-active > .nav-link, .nav-item.is-active > .nav-row > .nav-link { box-shadow: none; color: var(--emerald-dark); }
  .sub-toggle { width: 44px; height: 44px; justify-content: center; align-items: center; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 8px; display: none; min-width: 0; }
  .has-sub.is-open > .sub-menu { display: block; }
  .nav-cta-mobile { display: flex; margin-top: 20px; }
  .nav-spmb { margin-left: 0; }
  .nav-spmb > .nav-row { background: none; padding: 0; }
  .nav-spmb > .nav-row > .nav-link { color: var(--emerald-dark); font-weight: 800; }
  .nav-spmb > .nav-row > .sub-toggle { color: var(--muted); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1180px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-list { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .advantage-list li:nth-child(3n) { border-right: 0; margin-right: 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .section { padding: 64px 0; }
  .hero-grid, .about-grid, .tefa-grid, .agenda-gallery, .prose-grid, .two-col, .program-hero-grid, .contact-grid, .spmb-banner, .with-aside { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { padding: 60px 0 68px; }
  .news-grid, .related-list { grid-template-columns: repeat(2, 1fr); }
  .advantage-list { grid-template-columns: repeat(2, 1fr); }
  .advantage-list li, .advantage-list li:nth-child(3n) { border-right: 0; margin-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .spmb-banner { padding: 34px 28px; }
  .side-nav { position: static; }
  .side-nav ul { display: flex; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--gray-100); }
  .side-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -2px; }
  .side-nav a[aria-current="page"] { border-color: var(--emerald); }
  .other-programs, .other-programs.four { grid-template-columns: repeat(2, 1fr); }
  .principal { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container, .container.narrow { width: min(100% - 32px, var(--container)); }
  .brand-text strong { font-size: .86rem; }
  .brand-text small { display: none; }
  .brand-logo { height: 42px; }
  .program-grid, .news-grid, .related-list, .check-grid, .footer-grid, .form-row.two, .other-programs, .other-programs.four, .advantage-list { grid-template-columns: 1fr; }
  .hero-tiles { gap: 10px; }
  .hero-tile { min-height: 138px; padding: 16px; }
  .tile-code { font-size: 1.7rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .photo-mosaic { grid-template-columns: repeat(3, 1fr); }
  .search-form { width: 100%; } .search-form input { min-width: 0; flex: 1; }
  .card-form { padding: 20px; }
  .data-table tbody th { width: 40%; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .lightbox { padding: 60px 10px; }
  .map-frame { aspect-ratio: 4/3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .wa-float, .subnav, .share { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0; } .page-hero h1 { color: #000; }
}
