/* =========================================================
   style.css — situs publik SIT Insan Cendikia Inderalaya
   Palet: hijau zamrud + emas di atas latar krem.
   ========================================================= */

/* ---------- token ---------- */
:root {
  --emerald-950: #041F17;
  --emerald-900: #06281E;
  --emerald-800: #083626;
  --emerald-700: #0B4029;
  --emerald-600: #0E5A3A;
  --emerald-500: #12754C;
  --emerald-400: #1A9361;
  --emerald-200: #BFE3CE;
  --emerald-100: #DDEFE3;
  --emerald-50: #F0F7F2;
  --gold-700: #9B7620;
  --gold-600: #BC9127;
  --gold-500: #D9AF43;
  --gold-300: #EED9A1;
  --gold-100: #F8EED4;
  --gold-50: #FCF7E9;
  --cream: #FBF8F0;
  --cream-2: #F4EFE1;
  --white: #FFFFFF;
  --ink: #0E2018;
  --ink-2: #1D3529;
  --muted: #5C7268;
  --line: rgba(11, 64, 41, 0.12);
  --line-gold: rgba(188, 145, 39, 0.28);
  --shadow-sm: 0 4px 14px -8px rgba(6, 40, 30, 0.28);
  --shadow: 0 18px 40px -26px rgba(6, 40, 30, 0.42);
  --shadow-lg: 0 30px 70px -40px rgba(6, 40, 30, 0.55);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --font-body: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  /*
   * Huruf JUDUL = huruf ISI (permintaan pengguna, November 2026: "sesuaikan font
   * judul dengan isi, judul mengikuti isi").
   *
   * Sebelumnya judul memakai JetBrains Mono (monospace) sementara isi memakai
   * Inter, sehingga judul terlihat tidak nyambung dengan isinya. Sekarang semua
   * judul, nama, tanggal, dan angka memakai keluarga huruf yang sama dengan isi
   * (Inter). Jangan mengganti ini menjadi font lain tanpa memeriksa tampilan di
   * 390px dan 1440px — ukuran judul di bawah diatur untuk huruf proporsional.
   */
  --font-display: var(--font-body);
  --font-arab: "Reem Kufi", Inter, sans-serif;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M48 6 54 42 90 48 54 54 48 90 42 54 6 48 42 42Z' fill='none' stroke='%23BC9127' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body.site {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  /* Huruf proporsional (Inter) tidak butuh perapat selebar monospace dulu. */
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--emerald-900);
  margin: 0 0 .5em;
}
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
button { font: inherit; }
::selection { background: var(--gold-300); color: var(--emerald-950); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 90;
  background: var(--emerald-700); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

.shell {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}
.section { padding: clamp(48px, 6vw, 88px) 0; }
.center { text-align: center; }
.ico { width: 20px; height: 20px; flex: none; }
.ico--xs { width: 15px; height: 15px; }

/* ---------- teks kecil & label ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-700);
  margin: 0 0 .85rem;
}
.kicker .ico { width: 15px; height: 15px; }
.kicker--light { color: var(--gold-300); }

.sec-head { max-width: 62ch; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head__title {
  font-size: clamp(1.26rem, 2.2vw, 1.8rem);
  margin: 0 0 .55rem;
  color: var(--emerald-900);
}
.sec-head__title::after {
  content: "";
  display: block;
  width: 54px; height: 2px;
  margin-top: .9rem;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.sec-head--center .sec-head__title::after { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); width: 90px; }
.sec-head__intro { color: var(--muted); margin: 0; font-size: 1.02rem; }

.split-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(20px, 2.4vw, 34px);
}
.split-head .sec-head { margin-bottom: 0; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem; font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(120deg, var(--emerald-700), var(--emerald-500));
  color: #fff;
  box-shadow: 0 12px 26px -16px rgba(6, 40, 30, .8);
}
.btn--primary:hover { box-shadow: 0 16px 30px -14px rgba(6, 40, 30, .55); }
.btn--ghost {
  background: transparent; color: var(--emerald-700);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--gold-500); background: var(--gold-50); color: var(--emerald-800); }
.btn--gold { background: linear-gradient(120deg, var(--gold-500), #C9A038); color: var(--emerald-950); }
.btn--ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .18); }
.btn--sm { padding: .56rem 1rem; font-size: .85rem; }
.btn--tiny { padding: .3rem .55rem; font-size: .8rem; border-radius: 8px; background: var(--cream-2); color: var(--emerald-800); border-color: var(--line); }
.btn--tiny:disabled { opacity: .35; cursor: not-allowed; }
.btn--danger { background: #FBE9E7; color: #8E2F22; border-color: #F0C9C1; }
.btn--danger:hover { background: #F6D7D1; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 600;
  color: var(--emerald-600);
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 2px;
}
.link-more:hover { color: var(--gold-700); border-color: var(--gold-500); }

/* ---------- chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .18rem .6rem;
  border-radius: 999px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  color: var(--emerald-700);
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
}
.chip--sm { font-size: .68rem; padding: .12rem .5rem; }
.chip--gold { background: var(--gold-100); border-color: var(--gold-300); color: var(--gold-700); }
.chip--kategori { background: var(--gold-100); border-color: var(--gold-300); color: var(--gold-700); text-transform: uppercase; }

/* =========================================================
   Bar atas & header
   ========================================================= */
.topline {
  background: var(--emerald-900);
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topline__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px; flex-wrap: wrap;
}
.topline__motto { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; color: var(--gold-300); }
.topline__links { display: flex; align-items: center; gap: 14px; }
.topline__links a { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.75); }
.topline__links a:hover { color: #fff; }
.topline__links .ico { width: 15px; height: 15px; }
.topline__tel { font-variant-numeric: tabular-nums; }

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 240, .92);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  display: flex; align-items: center; gap: 18px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__mark { width: 46px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--emerald-900);
  letter-spacing: -0.01em;
}
.brand__text small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .55rem .7rem;
  border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: var(--ink-2);
  transition: background .16s ease, color .16s ease;
}
.nav__link:hover { background: var(--emerald-50); color: var(--emerald-700); }
.nav__item.is-active > .nav__link,
.nav > .nav__link.is-active { color: var(--emerald-700); background: var(--emerald-50); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 50;
  min-width: 292px;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
/*
 * JEMBATAN HOVER — wajib ada.
 *
 * Panel submenu diberi jarak 10px dari tautan induk. Tanpa area penghubung,
 * kursor yang bergerak dari tautan ke panel melewati celah yang bukan bagian
 * dari .nav__item (panel memakai position:absolute sehingga tidak menambah
 * tinggi induk), sehingga :hover hilang dan submenu langsung tertutup sebelum
 * bisa diklik. Pseudo-elemen ini milik panel, jadi menutup celah itu.
 */
.nav__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -13px;
  height: 13px;
}
/*
 * Terbuka karena kursor (layar lebar) ATAU karena diklik/diketuk (.is-open).
 *
 * :focus-within sengaja TIDAK dipakai: ia membuat panel tetap terbuka selama
 * tautan induk masih fokus, sehingga tombol Escape tidak bisa menutupnya
 * (fokus baru dilepas setelah panel menghilang). Pembukaan lewat keyboard
 * ditangani JS (fokus + :focus-visible).
 */
.nav__item.is-open .nav__menu,
.nav__item:hover .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
/*
 * Escape saat kursor masih berada di atas menu: :hover akan langsung
 * memunculkan panel lagi, jadi ditandai "is-tutup" (dilepas lagi saat kursor
 * keluar/masuk) agar panel benar-benar tertutup.
 */
.nav__item.is-tutup:hover .nav__menu { opacity: 0; visibility: hidden; transform: translateY(-6px); }
.nav__link .ico { transition: transform .18s ease; }
.nav__item.is-open > .nav__link .ico { transform: rotate(180deg); }
.nav__sublink { display: grid; gap: 2px; padding: .55rem .7rem; border-radius: 12px; }
.nav__sublink span { font-size: .9rem; font-weight: 600; color: var(--emerald-800); }
.nav__sublink small { font-size: .74rem; color: var(--muted); }
.nav__sublink:hover { background: var(--gold-50); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--emerald-800);
  position: relative; content: "";
}
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

/* =========================================================
   Hero beranda
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 78px) 0 clamp(28px, 4vw, 44px);
  background:
    radial-gradient(1000px 520px at 82% -10%, rgba(18, 117, 76, .16), transparent 62%),
    radial-gradient(720px 420px at 0% 100%, rgba(217, 175, 67, .18), transparent 60%),
    var(--cream);
}
.hero__aura {
  position: absolute; inset: auto -10% -30% auto;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 117, 76, .18), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__pattern {
  position: absolute; inset: 0;
  background-image: var(--pattern);
  opacity: .5;
  mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
  pointer-events: none;
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__title {
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--emerald-900);
  text-wrap: balance;
}
.hero__sub { font-size: 1.03rem; color: var(--muted); max-width: 54ch; margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.9rem; }
.hero__units {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .6rem;
}
.hero__units a {
  display: flex; align-items: baseline; gap: .7rem;
  padding: .7rem .95rem;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: 12px;
  font-size: .92rem; color: var(--ink-2);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.hero__units a:hover { transform: translateX(3px); background: #fff; border-color: var(--gold-300); }
.hero__units span { font-family: var(--font-display); font-size: .88rem; font-weight: 700; color: var(--emerald-600); min-width: 74px; }

.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 430px; }
.hero__arch {
  position: relative;
  border-radius: 240px 240px 26px 26px;
  overflow: hidden;
  background: var(--emerald-100);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 6;
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__ring {
  position: absolute; inset: 12px;
  border: 1px solid rgba(238, 217, 161, .7);
  border-radius: 226px 226px 18px 18px;
  pointer-events: none;
}
.hero__seal {
  position: absolute; left: -26px; bottom: 26px;
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .95rem .6rem .6rem;
  background: #fff;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero__seal img { width: 44px; height: 44px; }
.hero__seal span { font-family: var(--font-display); font-size: .74rem; font-weight: 700; color: var(--emerald-800); max-width: 140px; line-height: 1.2; }

.hero__motto {
  list-style: none; margin: clamp(26px, 4vw, 44px) 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex; gap: clamp(16px, 4vw, 48px); flex-wrap: wrap;
}
.hero__motto li {
  font-family: var(--font-display);
  font-size: clamp(.78rem, 1.3vw, .98rem);
  color: var(--emerald-700);
  display: flex; align-items: center; gap: .6rem;
}
.hero__motto li::before { content: ""; width: 6px; height: 6px; background: var(--gold-500); transform: rotate(45deg); }

/* =========================================================
   Kepala halaman dalam
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--emerald-900), var(--emerald-700) 62%, var(--emerald-600));
  color: #fff;
  padding: clamp(34px, 5vw, 64px) 0;
}
.page-hero__pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 10 67 52 109 60 67 68 60 110 53 68 11 60 53 52Z' fill='none' stroke='%23EED9A1' stroke-opacity='.22'/%3E%3C/svg%3E");
  opacity: .5; pointer-events: none;
  mask-image: radial-gradient(120% 100% at 100% 0%, #000 10%, transparent 70%);
}
.page-hero__in {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
.page-hero__title { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2.1rem); margin: 0 0 .6rem; text-wrap: balance; }
.page-hero__intro { color: rgba(255, 255, 255, .82); max-width: 62ch; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .78rem; color: rgba(255, 255, 255, .62); margin-bottom: .9rem; }
.crumbs a { color: rgba(255, 255, 255, .82); border-bottom: 1px solid rgba(255,255,255,.25); }
.crumbs a:hover { color: var(--gold-300); }
.page-hero__media {
  margin: 0; width: clamp(180px, 26vw, 300px);
  border-radius: 160px 160px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(238, 217, 161, .45);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .6);
  background: rgba(255, 255, 255, .08);
}
.page-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.page-hero__media figcaption { font-size: .72rem; color: rgba(255,255,255,.72); padding: .5rem .8rem; }
.page-hero__seal { display: grid; place-items: center; width: clamp(130px, 20vw, 190px); }
.page-hero__seal img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }

/* =========================================================
   Pilar
   ========================================================= */
.pilar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.pilar {
  position: relative;
  padding: 26px 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pilar::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--emerald-500));
  opacity: 0; transition: opacity .2s ease;
}
.pilar:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.pilar:hover::after { opacity: 1; }
.pilar__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--gold-50);
  border: 1px solid var(--gold-300);
  color: var(--emerald-700);
}
.pilar h3 { font-size: .98rem; margin: 0 0 .35rem; }
.pilar p { margin: 0; font-size: .9rem; color: var(--muted); }

/* =========================================================
   Unit pendidikan
   ========================================================= */
.section--units { background: linear-gradient(180deg, transparent, rgba(240, 247, 242, .7)); }
.unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}
.unit-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.unit-card__media { aspect-ratio: 16 / 9; background: var(--emerald-100); overflow: hidden; }
.unit-card__media img { width: 100%; height: 100%; object-fit: cover; }
.unit-card__ph { display: grid; place-items: center; height: 100%; color: var(--emerald-500); }
.unit-card__ph .ico { width: 42px; height: 42px; }
.unit-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.unit-card__title { font-size: 1.1rem; margin: 0; }
.unit-card__text { color: var(--muted); font-size: .95rem; margin: 0 0 .4rem; }
.unit-card__body .link-more { margin-top: auto; align-self: flex-start; }

.yayasan-strip {
  display: flex; align-items: center; gap: 18px;
  margin-top: clamp(18px, 2.4vw, 26px);
  padding: 20px 24px;
  border-radius: var(--radius);
  background: linear-gradient(110deg, var(--emerald-900), var(--emerald-700));
  color: #fff;
  border: 1px solid rgba(238, 217, 161, .28);
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.yayasan-strip:hover { transform: translateY(-2px); }
.yayasan-strip__mark { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(238, 217, 161, .35); flex: none; }
.yayasan-strip__text { display: grid; gap: .15rem; min-width: 0; }
.yayasan-strip__text small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.yayasan-strip__text strong { font-family: var(--font-display); font-size: .96rem; }
.yayasan-strip__text span { font-size: .86rem; color: rgba(255, 255, 255, .75); }
.yayasan-strip__cta { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--gold-300); white-space: nowrap; }

/* =========================================================
   Sambutan
   ========================================================= */
.sambutan {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.sambutan__card {
  position: relative;
  padding: clamp(24px, 3.2vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.sambutan__card::before {
  content: "”";
  position: absolute; top: 8px; right: 26px;
  font-family: var(--font-body);
  font-size: 5rem; line-height: 1;
  color: var(--gold-300);
  pointer-events: none;
}
.sambutan__text p { color: var(--ink-2); font-size: .98rem; }
/*
   * Paragraf pembuka sambutan: pakai huruf ISI (bukan monospace). Monospace hanya
   * untuk judul; paragraf panjang dalam monospace terlalu lebar dan melelahkan dibaca.
   */
.sambutan__text p:first-of-type { font-family: var(--font-body); font-size: 1.06rem; font-weight: 600; color: var(--emerald-800); line-height: 1.62; }
.sambutan--reverse { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.sambutan--reverse .sambutan__card { order: 1; }
.sambutan--reverse .sambutan__aside { order: 2; }
.sambutan__sign { display: flex; flex-direction: column; gap: .1rem; margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.sambutan__sign strong { font-family: var(--font-display); font-size: .92rem; color: var(--emerald-800); }
.sambutan__sign span { font-size: .82rem; color: var(--muted); }
.sambutan__aside { display: grid; gap: 18px; }
.sambutan__photo { margin: 0; border-radius: 180px 180px 20px 20px; overflow: hidden; border: 1px solid var(--line); background: var(--emerald-100); box-shadow: var(--shadow); }
.sambutan__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sambutan__photo figcaption { font-size: .76rem; color: var(--muted); padding: .55rem .9rem; background: #fff; }
.sambutan__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sambutan__facts li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .8rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  font-size: .85rem; color: var(--muted);
}
.sambutan__facts .ico { color: var(--gold-600); margin-top: 2px; }
.sambutan__facts strong { display: block; font-size: .94rem; color: var(--emerald-800); }

/* =========================================================
   Berita
   ========================================================= */
.news-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.news-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card__link { display: flex; flex-direction: column; height: 100%; }
.news-card__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--emerald-100); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__media--empty { display: grid; place-items: center; color: var(--emerald-500); }
.news-card__media--empty .ico { width: 40px; height: 40px; }
.news-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0; font-size: .74rem; color: var(--muted); }
.news-card__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.news-card__meta .ico { width: 13px; height: 13px; }
.news-card__title { font-size: .98rem; margin: 0; }
.news-card__excerpt { color: var(--muted); font-size: .89rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__body .link-more { margin-top: auto; padding-top: .5rem; }

.news-card--lead { display: grid; }
.news-card--lead .news-card__link { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.news-card--lead .news-card__media { aspect-ratio: auto; height: 100%; min-height: 280px; }
.news-card--lead .news-card__body { padding: clamp(22px, 3vw, 34px); justify-content: center; }
.news-card--lead .news-card__title { font-size: clamp(1.1rem, 1.75vw, 1.45rem); }
.news-card--lead .news-card__excerpt { -webkit-line-clamp: 4; font-size: .95rem; }

.berita-lead { margin-bottom: clamp(20px, 3vw, 32px); }
.berita-list { display: grid; gap: 10px; }
.news-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .18s ease, transform .18s ease;
}
.news-row:hover { border-color: var(--gold-300); transform: translateX(3px); }
.news-row__date {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--emerald-50); border: 1px solid var(--emerald-100);
  line-height: 1;
}
.news-row__date strong { font-family: var(--font-display); font-size: 1rem; color: var(--emerald-700); }
.news-row__date small { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.news-row__text { display: grid; gap: .12rem; min-width: 0; }
.news-row__cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-700); }
.news-row__text strong { font-size: .96rem; font-weight: 600; color: var(--ink); }
.news-row__arrow { margin-left: auto; color: var(--emerald-600); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(20px, 3vw, 30px); }
.filter-bar__btn {
  padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: .84rem; font-weight: 500; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.filter-bar__btn:hover { border-color: var(--gold-300); background: var(--gold-50); }
.filter-bar__btn.is-on { background: var(--emerald-700); color: #fff; border-color: var(--emerald-700); }
.berita-empty { color: var(--muted); font-style: italic; }

/* =========================================================
   Agenda
   ========================================================= */
.agenda-home {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(24px, 4vw, 44px); align-items: start;
}
.agenda-home__list { display: grid; gap: 12px; }
.agenda-home__aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.agenda {
  display: grid; grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.agenda--past { opacity: .72; }
.agenda__date {
  display: grid; place-content: center; justify-items: center; gap: .1rem;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--emerald-800), var(--emerald-600));
  color: #fff; padding: .6rem .3rem;
  line-height: 1;
}
.agenda__date strong { font-family: var(--font-display); font-size: 1.28rem; }
.agenda__date small { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-300); }
.agenda__date span { font-size: .66rem; color: rgba(255, 255, 255, .65); }
.agenda__body { min-width: 0; }
.agenda__meta { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 0 0 .35rem; font-size: .76rem; color: var(--muted); }
.agenda__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.agenda__meta .ico { width: 14px; height: 14px; }
.agenda__title { font-size: .98rem; margin: 0 0 .25rem; }
.agenda__text { margin: 0; font-size: .89rem; color: var(--muted); }

.aside-card {
  padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: 1.02rem; margin: 0 0 .4rem; }
.aside-card p { font-size: .89rem; color: var(--muted); }
.aside-card .btn { margin-top: .5rem; }
.aside-card__visi { font-family: var(--font-display); font-size: .9rem; color: var(--emerald-800); line-height: 1.55; }
.aside-card__kontak { display: flex; align-items: center; gap: .45rem; color: var(--emerald-700); font-weight: 600; }
.aside-galeri { display: grid; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.aside-galeri__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aside-galeri__grid .galeri-card__cap { display: none; }
.aside-galeri .link-more { justify-self: start; }

.unit-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.unit-links a { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; background: var(--emerald-50); border-radius: 12px; font-size: .85rem; }
.unit-links a span { font-family: var(--font-display); font-weight: 700; color: var(--emerald-600); }
.unit-links a strong { font-weight: 500; color: var(--ink-2); flex: 1; }
.unit-links a .ico { color: var(--emerald-600); }
.unit-links a:hover { background: var(--gold-50); }

/* =========================================================
   Galeri
   ========================================================= */
.galeri-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.galeri-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.galeri-card__btn { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--emerald-100); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.galeri-card__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galeri-card:hover .galeri-card__btn img { transform: scale(1.05); }
.galeri-card__count {
  position: absolute; right: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .18rem .55rem; border-radius: 999px;
  background: rgba(4, 31, 23, .74); color: #fff; font-size: .72rem;
}
.galeri-card__cap { display: grid; gap: .1rem; padding: 14px 16px 16px; }
.galeri-card__cap strong { font-family: var(--font-display); font-size: .88rem; color: var(--emerald-800); }
.galeri-card__cap small { font-size: .76rem; color: var(--muted); }
.galeri-card__ph { display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--emerald-400); background: var(--emerald-50); }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 10px;
  padding: clamp(14px, 3vw, 40px);
  background: rgba(4, 20, 15, .92);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: grid; gap: .7rem; justify-items: center; max-height: 100%; }
.lightbox__fig img { max-height: 78vh; width: auto; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.lightbox__fig figcaption { color: rgba(255, 255, 255, .85); font-size: .86rem; text-align: center; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.lightbox__nav {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.lightbox__nav--prev .ico { transform: rotate(90deg); }
.lightbox__nav--next .ico { transform: rotate(-90deg); }

/* =========================================================
   Halaman profil unit
   ========================================================= */
.profil-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(26px, 4vw, 52px); align-items: start;
}
.profil-lead p:first-child {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  font-weight: 600; line-height: 1.62; color: var(--emerald-800);
}
.prose p { color: var(--ink-2); }
.prose h2 { font-size: 1.12rem; margin-top: 1.6rem; }
.prose h3 { font-size: .94rem; margin-top: 1.3rem; }
.prose ul, .prose ol { color: var(--ink-2); }
.prose blockquote {
  margin: 1.4rem 0; padding: .9rem 1.2rem;
  border-left: 3px solid var(--gold-500);
  background: var(--gold-50); border-radius: 0 12px 12px 0;
  font-family: var(--font-display); font-size: .92rem; line-height: 1.6;
}
.prose a { color: var(--emerald-600); border-bottom: 1px solid var(--line-gold); }
.profil-nilai { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.profil-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.kv { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .55rem; }
.kv li { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; padding-bottom: .55rem; border-bottom: 1px dashed var(--line); }
.kv span { color: var(--muted); }
.kv strong { color: var(--emerald-800); text-align: right; }
.kv--block li { display: grid; gap: .1rem; }
.kv--block strong { text-align: left; }

.section--misi { background: linear-gradient(180deg, rgba(240, 247, 242, .8), transparent); }
.visi-misi { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 28px); }
.visi-misi__visi, .visi-misi__misi {
  padding: clamp(24px, 3vw, 34px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.visi-misi__visi { background: linear-gradient(150deg, var(--emerald-900), var(--emerald-700)); border-color: rgba(238,217,161,.28); color: #fff; }
.visi-misi__visi h3 { color: var(--gold-300); font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font-body); }
.visi-misi__visi p { font-family: var(--font-display); font-size: clamp(.9rem, 1.35vw, 1.06rem); line-height: 1.6; margin: 0; }
.visi-misi__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--gold-300); margin-bottom: 1rem; }
.visi-misi__misi h3 { font-size: 1.02rem; }

.point-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.point-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.point-list .ico { color: var(--emerald-500); margin-top: 4px; }

.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.program-card {
  position: relative; padding: 24px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.program-card__num {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--gold-500); display: block; margin-bottom: .5rem;
}
.program-card h3 { font-size: .94rem; margin: 0 0 .3rem; }
.program-card p { margin: 0; font-size: .88rem; color: var(--muted); }

.fas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.fas-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.fas-card__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--emerald-100); }
.fas-card__media img { width: 100%; height: 100%; object-fit: cover; }
.fas-card__body { padding: 18px 20px 20px; display: grid; gap: .35rem; }
.fas-card__body h3 { font-size: .94rem; margin: 0; }
.fas-card__body p { margin: 0; font-size: .87rem; color: var(--muted); }
.fas-card__body .chip { justify-self: start; }

.guru-block { margin-bottom: clamp(26px, 4vw, 40px); }
.guru-block__title { font-size: 1.45rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.guru-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.guru-card {
  padding: 20px 18px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.guru-card__photo {
  width: 92px; height: 92px; margin: 0 auto 14px;
  border-radius: 50%; overflow: hidden;
  background: var(--emerald-50); border: 2px solid var(--gold-100);
  display: grid; place-items: center;
}
.guru-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.guru-card__initial { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--emerald-600); }
.guru-card h3 { font-size: .88rem; margin: 0 0 .15rem; }
.guru-card p { margin: 0; font-size: .82rem; color: var(--muted); }
.guru-card .chip { margin-top: .5rem; }

.ekskul-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ekskul {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.ekskul__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-50); color: var(--gold-700); flex: none; }
.ekskul__text { display: grid; gap: .1rem; min-width: 0; }
.ekskul__text strong { font-size: .95rem; color: var(--emerald-800); }
.ekskul__text small { font-size: .82rem; color: var(--muted); }
.ekskul .chip { margin-left: auto; }

.section--prestasi { background: linear-gradient(180deg, transparent, rgba(240,247,242,.75)); }
.prestasi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.prestasi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.prestasi-card__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--emerald-100); }
.prestasi-card__media img { width: 100%; height: 100%; object-fit: cover; }
.prestasi-card__medal {
  display: grid; place-items: center; aspect-ratio: 16 / 7;
  background: linear-gradient(140deg, var(--gold-50), var(--emerald-50));
  color: var(--gold-600);
}
.prestasi-card__medal .ico { width: 38px; height: 38px; }
.prestasi-card__body { padding: 18px 20px 20px; display: grid; gap: .3rem; }
.prestasi-card__meta { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .76rem; color: var(--muted); }
.prestasi-card__body h3 { font-size: .94rem; margin: 0; }
.prestasi-card__body p { margin: 0; font-size: .86rem; color: var(--muted); }

.kurikulum-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 26px); }
.kurikulum-card {
  padding: clamp(24px, 3vw, 34px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.kurikulum-card h2 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.kurikulum-card .link-more { margin-top: .5rem; }

.poster { margin: clamp(24px, 3vw, 34px) 0 0; text-align: center; }
.poster img { max-height: 620px; margin-inline: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.poster figcaption { margin-top: .7rem; font-size: .82rem; color: var(--muted); }
.poster--side { margin: 0 0 18px; }
.poster--side img { width: 100%; max-height: none; }

/* =========================================================
   PPDB
   ========================================================= */
.ppdb-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.ppdb-main { display: grid; gap: clamp(18px, 2.6vw, 28px); }
.ppdb-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.ppdb-status {
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(140deg, var(--emerald-900), var(--emerald-700));
  color: #fff; border-radius: var(--radius-lg);
  border: 1px solid rgba(238, 217, 161, .3);
  box-shadow: var(--shadow);
}
.ppdb-status h2 { color: #fff; font-size: clamp(1.1rem, 1.9vw, 1.4rem); margin: .6rem 0 .5rem; }
.ppdb-status p { color: rgba(255, 255, 255, .82); margin-bottom: 1.2rem; }
.ppdb-status__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  font-size: .78rem; color: var(--gold-300);
}
.ppdb-status--ditutup { background: linear-gradient(140deg, #3B2A22, #6B4A38); }
.ppdb-status__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.ppdb-block { padding: clamp(22px, 3vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ppdb-block .point-list { margin-top: 1rem; }
.ppdb-note {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 16px 20px; border-radius: 14px;
  background: var(--gold-50); border: 1px solid var(--gold-300); color: var(--gold-700);
  font-size: .88rem;
}
.ppdb-note p { margin: 0; }
.steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; counter-reset: step; }
.steps__item { display: flex; gap: .9rem; align-items: flex-start; }
.steps__num {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--emerald-50); border: 1px solid var(--emerald-200);
  color: var(--emerald-700); font-weight: 700; font-size: .86rem;
}
.steps__text { font-size: .93rem; color: var(--ink-2); padding-top: .25rem; }

/* =========================================================
   Kontak
   ========================================================= */
.kontak-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.kontak-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kontak-card { padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.kontak-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-50); color: var(--emerald-600); margin-bottom: .9rem; }
.kontak-card h3 { font-size: .94rem; margin: 0 0 .3rem; }
.kontak-card p { font-size: .89rem; color: var(--muted); margin: 0 0 .4rem; }
.kontak-side { display: grid; gap: 18px; }
.kontak-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 1.6rem; }
.kontak-strip__item { display: flex; gap: .7rem; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.kontak-strip__item .ico { color: var(--gold-600); margin-top: 3px; }
.kontak-strip__item div { display: grid; gap: .1rem; }
.kontak-strip__item strong { font-size: .85rem; color: var(--emerald-800); }
.kontak-strip__item span { font-size: .82rem; color: var(--muted); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-embed--empty { display: grid; place-items: center; gap: .6rem; padding: 34px 22px; text-align: center; color: var(--muted); }
.map-embed--empty .ico { width: 32px; height: 32px; color: var(--emerald-500); }

/* =========================================================
   Panel ajakan (CTA)
   ========================================================= */
.section--cta { padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--emerald-900), var(--emerald-700) 60%, var(--emerald-600));
  color: #fff;
  border: 1px solid rgba(238, 217, 161, .3);
  box-shadow: var(--shadow-lg);
}
.cta-panel__glow { position: absolute; inset: auto -8% -60% auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(217,175,67,.35), transparent 68%); pointer-events: none; }
.cta-panel__text { position: relative; max-width: 62ch; }
.cta-panel__text h2 { color: #fff; font-size: clamp(1.16rem, 2vw, 1.6rem); margin: .3rem 0 .6rem; }
.cta-panel__text p { color: rgba(255, 255, 255, .82); margin-bottom: 1.4rem; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cta-panel__seal { position: relative; margin-left: auto; flex: none; opacity: .95; filter: drop-shadow(0 14px 26px rgba(0,0,0,.35)); }

/* =========================================================
   Artikel
   ========================================================= */
.artikel { padding: clamp(28px, 4vw, 52px) 0; }
.artikel__in { max-width: 860px; }
.artikel .crumbs { color: var(--muted); margin-bottom: 1.2rem; }
.artikel .crumbs a { color: var(--emerald-600); border-color: var(--line); }
.artikel__head h1 { font-size: clamp(1.32rem, 2.4vw, 1.9rem); margin: .6rem 0 .7rem; }
.artikel__meta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; font-size: .8rem; color: var(--muted); margin: 0 0 1.6rem; }
.artikel__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.artikel__meta .ico { width: 14px; height: 14px; }
.artikel__media { margin: 0 0 clamp(24px, 3vw, 34px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--emerald-100); }
.artikel__media img { width: 100%; max-height: 520px; object-fit: cover; }
.artikel__media figcaption { padding: .7rem 1.1rem; background: #fff; font-size: .8rem; color: var(--muted); }
.artikel__body { font-size: 1.02rem; }
.artikel__body p { color: var(--ink-2); }
.artikel__body h2 { font-size: clamp(1.08rem, 1.8vw, 1.36rem); margin-top: 1.8rem; }
.artikel__body h3 { font-size: .96rem; margin-top: 1.5rem; }
.artikel__body ul, .artikel__body ol { color: var(--ink-2); display: grid; gap: .35rem; }
.artikel__body li::marker { color: var(--gold-600); }
.artikel__body blockquote {
  margin: 1.6rem 0; padding: 1rem 1.3rem;
  border-left: 3px solid var(--gold-500); background: var(--gold-50);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display); font-size: .94rem; line-height: 1.6;
}
.artikel__body a { color: var(--emerald-600); border-bottom: 1px solid var(--line-gold); }
.artikel__body hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.share__label { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .4rem; }
.share__btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .42rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: .82rem; color: var(--emerald-700); cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.share__btn:hover { background: var(--emerald-50); border-color: var(--emerald-200); }
.share-wrap { margin-top: clamp(24px, 3vw, 34px); }
.share--compact { margin-top: 0; padding-top: 0; border-top: 0; }

/* =========================================================
   Catatan kosong
   ========================================================= */
.empty-note {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  padding: 18px 22px;
  background: #fff; border: 1px dashed var(--line-gold); border-radius: var(--radius);
  color: var(--muted); font-size: .9rem;
}
.empty-note p { margin: 0; flex: 1; min-width: 200px; }
.empty-note .ico { color: var(--gold-600); }

/* =========================================================
   Kaki halaman
   ========================================================= */
.site-foot {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(38px, 5vw, 64px);
  background: linear-gradient(160deg, var(--emerald-950), var(--emerald-900));
  color: rgba(255, 255, 255, .72);
  border-top: 3px solid var(--gold-500);
}
.site-foot__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3.5vw, 44px);
  padding-bottom: clamp(30px, 4vw, 48px);
}
.site-foot__brand img { margin-bottom: 14px; }
.site-foot__name { font-family: var(--font-display); font-size: .96rem; color: #fff; margin: 0 0 .5rem; max-width: 26ch; }
.site-foot__text { font-size: .84rem; margin-bottom: 1rem; max-width: 34ch; }
.site-foot__social { display: flex; gap: .5rem; }
.site-foot__social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .8);
  transition: background .16s ease, color .16s ease;
}
.site-foot__social a:hover { background: var(--gold-500); color: var(--emerald-950); border-color: var(--gold-500); }
.site-foot__col h3 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin: 0 0 .9rem; }
.site-foot__col a { display: block; font-size: .86rem; padding: .22rem 0; color: rgba(255, 255, 255, .72); }
.site-foot__col a:hover { color: #fff; }
.site-foot__col--kontak p { display: flex; gap: .5rem; align-items: flex-start; font-size: .84rem; margin: 0 0 .5rem; }
.site-foot__col--kontak .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--gold-400, var(--gold-500)); flex: none; }
.site-foot__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
}
.site-foot__bottom p { margin: 0; }
.site-foot__admin { color: rgba(255, 255, 255, .55); }
.site-foot__admin:hover { color: var(--gold-300); }
.site-foot__social--dark a { background: rgba(11, 64, 41, .06); border-color: var(--line); color: var(--emerald-700); }

/* =========================================================
   404
   ========================================================= */
.notfound { padding: clamp(60px, 10vw, 130px) 0; }
.notfound__in { text-align: center; max-width: 560px; }
.notfound__in img { margin: 0 auto 1rem; }
.notfound__in h1 { font-size: clamp(1.35rem, 2.9vw, 1.85rem); }
.notfound__in p { color: var(--muted); }
.notfound__actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* =========================================================
   Responsif
   ========================================================= */
@media (max-width: 1080px) {
  .brand__text small { display: none; }
  .hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .pilar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guru-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontak-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/*
 * Menu utama kini 8 butir dengan 5 dropdown (November 2026), jadi tidak lagi
 * muat berdampingan pada layar sedang: tombol menu (panel) dipakai sejak
 * 1080px. Ambang ini dinaikkan dari 900px — tanpa itu halaman meluber ke
 * samping sekitar 60px pada 1024px.
 */
@media (max-width: 1080px) {
  .site-head__in { flex-wrap: wrap; row-gap: 10px; padding-block: 10px; }
  .nav-toggle { display: inline-flex; }
  .site-head__cta { order: 2; }
  .nav {
    order: 5;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: .7rem .6rem; border-radius: 10px; font-size: .95rem; justify-content: space-between; }
  .nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 1px solid var(--line); background: var(--emerald-50);
    min-width: 0; margin: 4px 0 6px;
    display: none;
  }
  /* jembatan hover tidak berlaku di layar kecil (panel ikut alur, bukan melayang) */
  .nav__menu::before { display: none; }
  .nav__item.is-open .nav__menu { display: grid; }
  .nav__sublink small { display: block; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { order: -1; justify-self: center; max-width: 340px; }
  .hero__seal { left: 0; }
  .page-hero__in { grid-template-columns: 1fr; }
  .page-hero__media, .page-hero__seal { display: none; }
  .sambutan, .sambutan--reverse { grid-template-columns: 1fr; }
  .sambutan--reverse .sambutan__card { order: 0; }
  .sambutan--reverse .sambutan__aside { order: 0; }
  .agenda-home, .profil-grid, .ppdb-grid, .kontak-grid { grid-template-columns: 1fr; }
  .agenda-home__aside, .profil-side, .ppdb-side { position: static; }
  .news-grid, .galeri-grid, .prestasi-grid, .fas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visi-misi, .kurikulum-grid, .kontak-cards { grid-template-columns: 1fr; }
  .ekskul-list { grid-template-columns: 1fr; }
  .news-card--lead .news-card__link { grid-template-columns: 1fr; }
  .news-card--lead .news-card__media { min-height: 200px; aspect-ratio: 16 / 10; }
  .cta-panel__seal { display: none; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body.site { font-size: 16px; }
  .shell { width: calc(100% - 2rem); }
  .topline__motto { display: none; }
  .topline__in { justify-content: center; }
  .hero__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero__units span { min-width: 60px; font-size: .95rem; }
  .hero__seal { position: static; margin-top: 14px; box-shadow: var(--shadow-sm); }
  .hero__motto { gap: 14px; }
  .unit-grid, .news-grid, .galeri-grid, .prestasi-grid, .fas-grid, .guru-grid, .program-grid, .kontak-strip { grid-template-columns: 1fr; }
  .hero__units a { flex-direction: column; gap: .1rem; }
  .yayasan-strip { flex-wrap: wrap; gap: 14px; }
  .yayasan-strip__text { flex: 1 1 60%; }
  .yayasan-strip__cta { margin-left: 0; flex-basis: 100%; }
  .sambutan__photo, .hero__arch { border-radius: 160px 160px 18px 18px; }
  .agenda { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .agenda__date strong { font-size: 1.5rem; }
  .news-row { padding: 12px 14px; gap: 12px; }
  .news-row__date { width: 46px; height: 46px; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .site-foot__bottom { flex-direction: column; align-items: flex-start; }
  .profil-side { order: -1; }
  .visi-misi__visi, .visi-misi__misi, .kurikulum-card, .sambutan__card { padding: 22px 20px; }
  .kontak-cards { grid-template-columns: 1fr; }
  .ekskul { flex-wrap: wrap; }
  .ekskul .chip { margin-left: 0; }
  .lightbox { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
  .lightbox__nav { justify-self: center; }
  .lightbox__nav--prev { order: 3; }
  .lightbox__nav--next { order: 4; }
  .share { gap: .4rem; }
  .artikel__in { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   DESAIN 2026 — lapisan tampilan baru (lebih berwarna & tegas)
   -------------------------------------------------------------------------
   Permintaan pengguna (November 2026): "desain ulang yang lebih powerfull,
   penuh warna dan lebih menarik", sekaligus menambah sub-menu, kartu
   sambutan pimpinan, galeri video, dan formulir pesan WhatsApp.

   Lapisan ini ditulis SETELAH aturan lama supaya bisa menimpanya tanpa
   membongkar tata letak yang sudah diuji (dropdown menu, hero, kartu berita).
   Palet dasar tetap hijau zamrud + emas (identitas sekolah); yang ditambah
   adalah aksen warna tambahan (teal, langit, mawar) dan gradasi yang lebih
   hidup. Jangan menghapus token lama: panel (admin.css) memakainya.
   ========================================================================= */

:root {
  /* aksen tambahan untuk kartu & ikon */
  --teal-600: #0F766E;
  --teal-400: #2DD4BF;
  --sky-600: #0369A1;
  --sky-400: #38BDF8;
  --rose-600: #BE123C;
  --rose-400: #FB7185;
  --amber-500: #F59E0B;
  --violet-600: #6D28D9;

  --grad-emerald: linear-gradient(135deg, #0B4029 0%, #12754C 52%, #0F766E 100%);
  --grad-gold: linear-gradient(135deg, #BC9127 0%, #E9C766 55%, #F6E4A8 100%);
  --grad-cta: linear-gradient(135deg, #0B4029 0%, #12754C 45%, #BC9127 130%);

  --ring-emerald: 0 0 0 1px rgba(18, 117, 76, .12), 0 22px 46px -30px rgba(6, 40, 30, .55);
  --shadow-soft: 0 26px 60px -40px rgba(6, 40, 30, .5);
}

/* ---------- latar halaman: krem dengan cahaya warna ---------- */
body.site {
  background-color: var(--cream);
  background-image:
    radial-gradient(900px 520px at 8% -6%, rgba(45, 212, 191, .13), transparent 62%),
    radial-gradient(760px 460px at 96% 4%, rgba(238, 217, 161, .3), transparent 60%),
    radial-gradient(680px 520px at 50% 104%, rgba(18, 117, 76, .1), transparent 62%);
  background-attachment: fixed;
}

/* Judul section diberi garis aksen gradasi */
.sec-head__title { position: relative; }
.sec-head--center .sec-head__title::after,
.sec-head:not(.sec-head--center) .sec-head__title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: .55rem;
  border-radius: 999px;
  background: var(--grad-gold);
}
.sec-head--center .sec-head__title::after { margin-inline: auto; }

/* Kicker jadi pil berwarna */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .62rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(18, 117, 76, .12), rgba(188, 145, 39, .16));
  color: var(--emerald-700);
  font-weight: 700;
}
.kicker--light {
  background: rgba(255, 255, 255, .16);
  color: #F8EED4;
}

/* ---------- tombol ---------- */
.btn--lg { padding: .85rem 1.35rem; font-size: .95rem; border-radius: 14px; }
.btn--primary {
  background: var(--grad-emerald);
  border-color: transparent;
  box-shadow: 0 16px 32px -20px rgba(11, 64, 41, .8), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(11, 64, 41, .22); background: rgba(255, 255, 255, .72); }
.btn--ghost:hover { border-color: var(--gold-500); background: #fff; transform: translateY(-1px); }

/* ---------- baris atas & header ---------- */
.topline {
  background: linear-gradient(90deg, var(--emerald-900), var(--emerald-600) 55%, var(--teal-600));
  color: rgba(255, 255, 255, .86);
}
.topline__links a:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.site-head {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(11, 64, 41, .1);
}
.site-head__cta { background: var(--grad-gold); color: #3B2A05; font-weight: 700; }
.site-head__cta:hover { filter: brightness(1.05); color: #3B2A05; }

/* dropdown: garis aksen di atas + butir sub-menu berwarna saat hover */
.nav__menu {
  border-top: 3px solid transparent;
  border-image: var(--grad-gold) 1;
  box-shadow: 0 26px 54px -32px rgba(6, 40, 30, .6), 0 2px 0 rgba(11, 64, 41, .06);
}
.nav__sublink { position: relative; transition: background .16s ease, transform .16s ease; }
.nav__sublink::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; border-radius: 3px;
  background: var(--grad-gold);
  transition: height .18s ease;
}
.nav__sublink:hover { background: linear-gradient(100deg, var(--gold-50), rgba(45, 212, 191, .12)); transform: translateX(2px); }
.nav__sublink:hover::before { height: 60%; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(720px 420px at 82% 8%, rgba(45, 212, 191, .28), transparent 62%),
    radial-gradient(660px 400px at 6% 92%, rgba(238, 217, 161, .34), transparent 60%),
    linear-gradient(150deg, #04211A 0%, #083626 46%, #0B4029 72%, #0F5A48 100%);
}
.hero__title {
  background: linear-gradient(100deg, #FFFFFF 20%, #F8EED4 60%, #EED9A1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { color: rgba(255, 255, 255, .84); }
.hero__motto li {
  border: 1px solid rgba(238, 217, 161, .42);
  background: linear-gradient(120deg, rgba(238, 217, 161, .18), rgba(45, 212, 191, .14));
  color: #F8EED4;
  font-weight: 600;
}
.hero__units a {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.hero__units a:hover { background: rgba(255, 255, 255, .18); border-color: var(--gold-300); }
.hero__units span { color: var(--gold-300); }
.hero__seal {
  background: linear-gradient(160deg, #fff, var(--gold-50));
  border: 1px solid var(--gold-300);
  box-shadow: 0 22px 44px -26px rgba(4, 25, 18, .8);
}

/* ---------- kepala halaman dalam ---------- */
.page-hero {
  background:
    radial-gradient(620px 320px at 88% -10%, rgba(45, 212, 191, .34), transparent 60%),
    radial-gradient(520px 300px at 4% 110%, rgba(188, 145, 39, .3), transparent 62%),
    var(--grad-emerald);
}
.page-hero__title { color: #fff; }
.page-hero__intro { color: rgba(255, 255, 255, .84); }
.crumbs { color: rgba(255, 255, 255, .68); }
.crumbs a:hover { color: var(--gold-300); }
.page-hero__seal img { filter: drop-shadow(0 20px 36px rgba(0, 0, 0, .35)); }

/* ---------- seksi bergantian ---------- */
.section--pilar { background: linear-gradient(180deg, rgba(240, 247, 242, .9), rgba(251, 248, 240, 0)); }
.section--units { background: radial-gradient(700px 380px at 90% 10%, rgba(238, 217, 161, .28), transparent 60%); }
.section--agenda { background: linear-gradient(180deg, rgba(240, 247, 242, .85), rgba(251, 248, 240, 0)); }
.section--kontak { background: radial-gradient(620px 340px at 12% 20%, rgba(56, 189, 248, .14), transparent 62%); }
.section--cta { background: transparent; }

/* ---------- kartu umum: naik saat disentuh ---------- */
.pilar, .unit-card, .news-card, .galeri-card, .prestasi-card, .guru-card, .fas-card, .program-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pilar:hover, .unit-card:hover, .news-card:hover, .galeri-card:hover,
.prestasi-card:hover, .guru-card:hover, .fas-card:hover, .program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(188, 145, 39, .38);
}
.pilar { border-top: 3px solid transparent; border-image: var(--grad-gold) 1; }

/* ---------- kartu sub-menu (halaman induk) ---------- */
.subcard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.subcard-grid--tiga { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.subcard {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.subcard::after {
  content: "";
  position: absolute; inset: auto -40px -60px auto;
  width: 180px; height: 180px; border-radius: 50%;
  opacity: .16; pointer-events: none;
  background: var(--grad-emerald);
}
.subcard--gold::after { background: var(--grad-gold); }
.subcard--sky::after { background: linear-gradient(135deg, var(--sky-600), var(--sky-400)); }
.subcard--rose::after { background: linear-gradient(135deg, var(--rose-600), var(--rose-400)); }
.subcard:hover { transform: translateY(-5px); box-shadow: 0 34px 70px -44px rgba(6, 40, 30, .6); border-color: var(--gold-300); }
.subcard__badge {
  display: grid; place-items: center;
  width: 54px; height: 54px; flex: none;
  border-radius: 18px;
  color: #fff;
  background: var(--grad-emerald);
  box-shadow: 0 16px 30px -20px rgba(11, 64, 41, .9);
}
.subcard--gold .subcard__badge { background: var(--grad-gold); color: #3B2A05; }
.subcard--sky .subcard__badge { background: linear-gradient(135deg, var(--sky-600), var(--sky-400)); }
.subcard--rose .subcard__badge { background: linear-gradient(135deg, var(--rose-600), var(--rose-400)); }
.subcard__badge .ico { width: 26px; height: 26px; stroke-width: 1.9; }
.subcard__title { font-size: clamp(1.12rem, 1.9vw, 1.35rem); margin: .2rem 0 .35rem; }
.subcard__title a { color: var(--emerald-900); }
.subcard__title a:hover { color: var(--emerald-600); }
.subcard__note { color: var(--muted); font-size: .92rem; margin: 0 0 .8rem; }
.subcard__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .3rem; }
.subcard__list li { display: flex; gap: .4rem; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.subcard__list .ico { color: var(--emerald-500); margin-top: 3px; flex: none; }
.subcard__cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 700; font-size: .88rem; color: var(--emerald-700);
}
.subcard__cta:hover { color: var(--gold-700); gap: .55rem; }

/* ---------- beranda: sambutan pimpinan + informasi lain ---------- */
.sambutan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
  align-items: start;
}
.sambutan-hero {
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 280px at 100% 0%, rgba(238, 217, 161, .34), transparent 62%),
    linear-gradient(160deg, #fff, var(--cream-2));
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow);
}
.sambutan-hero__photo {
  margin: 0;
  border-radius: 120px 120px 20px 20px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 26px 48px -30px rgba(6, 40, 30, .65);
  background: var(--emerald-50);
}
.sambutan-hero__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.sambutan-hero__photo figcaption {
  padding: .5rem .7rem; font-size: .72rem; color: var(--emerald-800);
  background: rgba(255, 255, 255, .92); text-align: center; line-height: 1.35;
}
.sambutan-hero__title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: .15rem 0 .1rem; color: var(--emerald-900); }
.sambutan-hero__role { font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); margin: 0 0 .8rem; }
.sambutan-hero__quote {
  margin: 0 0 1rem; padding: .8rem 1rem;
  border-left: 3px solid var(--gold-500);
  background: rgba(255, 255, 255, .74);
  border-radius: 0 12px 12px 0;
  font-style: italic; color: var(--emerald-800);
}
.sambutan__text { font-size: .95rem; color: var(--ink-2); }
.sambutan__text p:last-child { margin-bottom: 0; }
.sambutan-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1rem; }
.sambutan__sign { display: grid; }
.sambutan__sign strong { color: var(--emerald-900); }
.sambutan__sign small { font-size: .76rem; color: var(--muted); }

.sambutan-info { display: grid; gap: 14px; }
.infocard {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.infocard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.infocard__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 14px; color: #fff;
  background: var(--grad-emerald);
}
.infocard--gold .infocard__icon { background: var(--grad-gold); color: #3B2A05; }
.infocard--sky .infocard__icon { background: linear-gradient(135deg, var(--sky-600), var(--sky-400)); }
.infocard--rose .infocard__icon { background: linear-gradient(135deg, var(--rose-600), var(--rose-400)); }
.infocard .kicker { font-size: .68rem; padding: .12rem .5rem; margin: 0 0 .2rem; }
.infocard__value { font-weight: 700; color: var(--emerald-900); margin: 0 0 .1rem; font-size: .98rem; }
.infocard__note { margin: 0; font-size: .82rem; color: var(--muted); }
.infocard__link {
  grid-column: 2;
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .8rem; font-weight: 700; color: var(--emerald-600);
}
.infocard__link:hover { color: var(--gold-700); gap: .45rem; }

/* ---------- kurikulum ---------- */
.kurikulum-grid--tiga { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.kurikulum-card { border-top: 3px solid transparent; }
.kurikulum-card--tk { border-image: linear-gradient(135deg, var(--sky-600), var(--teal-400)) 1; }
.kurikulum-card--sd { border-image: var(--grad-emerald) 1; }
.kurikulum-card--umum { border-image: var(--grad-gold) 1; }
.materi-list { display: grid; gap: 12px; margin: 1rem 0; }
.materi {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--emerald-50);
  border: 1px solid rgba(18, 117, 76, .12);
}
.materi__icon {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 12px; background: #fff; color: var(--emerald-600);
  box-shadow: var(--shadow-sm);
}
.materi h3 { margin: 0 0 .2rem; font-size: .96rem; }
.materi p { margin: 0; font-size: .86rem; color: var(--muted); }
.materi__isi { font-size: .87rem; color: var(--ink-2); margin-top: .4rem; }
.materi__isi p:last-child { margin-bottom: 0; }

/* ---------- kartu CTA strip (tautan ke sub-menu) ---------- */
.cta-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(460px 260px at 92% 8%, rgba(238, 217, 161, .32), transparent 62%),
    linear-gradient(150deg, #fff, var(--emerald-50));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cta-strip__icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 18px; color: #fff; background: var(--grad-emerald);
}
.cta-strip h2 { margin: .1rem 0 .3rem; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.cta-strip p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- galeri video ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 24px); }
.video-card {
  display: grid; gap: 0;
  border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-card__thumb {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; cursor: pointer; background: #0B2B1F;
  aspect-ratio: 16 / 9; overflow: hidden;
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; background: rgba(4, 25, 18, .28);
  transition: background .18s ease;
}
.video-card__play .ico { width: 54px; height: 54px; stroke-width: 1.2; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.video-card__thumb:hover .video-card__play { background: rgba(4, 25, 18, .42); }
.video-card__thumb--luar { display: grid; place-items: center; background: var(--emerald-50); }
.video-card__fallback { display: grid; place-items: center; gap: .4rem; color: var(--emerald-700); font-size: .82rem; }
.video-card__fallback .ico { width: 34px; height: 34px; }
.video-card__frame { aspect-ratio: 16 / 9; background: #04120D; }
.video-card__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-card__body { padding: 14px 16px 18px; display: grid; gap: .3rem; }
.video-card__title { font-size: 1rem; margin: 0; }
.video-card__meta { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .76rem; color: var(--muted); margin: 0; }
.video-card__meta i { font-style: normal; opacity: .5; }
.video-card__note { margin: .1rem 0 0; font-size: .85rem; color: var(--ink-2); }

/* ---------- agenda ringkas ---------- */
.agenda-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 16px 20px; margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(18, 117, 76, .1), rgba(238, 217, 161, .26));
  border: 1px solid var(--line);
}
.agenda-summary__icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 14px; color: #fff; background: var(--grad-emerald);
}
.agenda-summary .kicker { margin: 0 0 .1rem; }
.agenda-summary__value { margin: 0; font-weight: 700; color: var(--emerald-900); }
.agenda-summary__next { margin-left: auto; font-size: .85rem; color: var(--ink-2); }

/* ---------- kontak: media sosial & formulir WhatsApp ---------- */
.kontak-sosial { grid-column: 1 / -1; }
.sosial-list { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sosial-item a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sosial-item a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.sosial-item__icon {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 13px; color: #fff;
  background: var(--grad-emerald);
}
.sosial-item--instagram .sosial-item__icon { background: linear-gradient(135deg, #B7217B, #E1306C 55%, #F77737); }
.sosial-item--facebook .sosial-item__icon { background: linear-gradient(135deg, #1454C4, #3B82F6); }
.sosial-item--tiktok .sosial-item__icon { background: linear-gradient(135deg, #0E0E10, #25F4EE 120%); }
.sosial-item--youtube .sosial-item__icon { background: linear-gradient(135deg, #B91C1C, #EF4444); }
.sosial-item__text { display: grid; line-height: 1.25; min-width: 0; }
.sosial-item__text strong { font-size: .9rem; color: var(--emerald-900); }
.sosial-item__text small { font-size: .74rem; color: var(--muted); }
.sosial-item a > .ico:last-child { margin-left: auto; color: var(--muted); }

.kontak-pesan {
  grid-column: 1 / -1;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 300px at 96% 0%, rgba(45, 212, 191, .22), transparent 60%),
    linear-gradient(150deg, #04241B, #0B4029 60%, #12604A);
  color: #fff;
  box-shadow: 0 34px 70px -46px rgba(4, 25, 18, .9);
}
.kontak-pesan__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 1.2rem; }
.kontak-pesan__icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 16px; background: rgba(255, 255, 255, .14); color: var(--gold-300);
}
.kontak-pesan h2 { color: #fff; font-size: clamp(1.15rem, 2vw, 1.4rem); margin: .1rem 0 .35rem; }
.kontak-pesan p { color: rgba(255, 255, 255, .8); margin: 0; font-size: .92rem; }
.kontak-pesan .kicker { background: rgba(255, 255, 255, .16); color: var(--gold-300); }
.wa-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.wa-form__field { display: grid; gap: .35rem; }
.wa-form__field--wide { grid-column: 1 / -1; }
.wa-form__field > span { font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .86); }
.wa-form .input {
  background: rgba(255, 255, 255, .96); border-color: transparent; border-radius: 12px;
  color: var(--ink);
}
.wa-form .input:focus { outline: 2px solid var(--gold-400, var(--gold-500)); outline-offset: 1px; }
.wa-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1rem; }
.wa-form__actions .btn--primary { background: var(--grad-gold); color: #3B2A05; }
.wa-form__note { color: rgba(255, 255, 255, .7); font-size: .78rem; }

.kontak-card { border-top: 3px solid transparent; border-image: var(--grad-gold) 1; }
.kontak-card--wa { border-image: linear-gradient(135deg, #0E9F6E, #25D366) 1; }
.kontak-card--pin { border-image: linear-gradient(135deg, var(--rose-600), var(--amber-500)) 1; }
.kontak-card--mail { border-image: linear-gradient(135deg, var(--sky-600), var(--sky-400)) 1; }
.kontak-card--clock { border-image: linear-gradient(135deg, var(--violet-600), #A78BFA) 1; }
.kontak-card__icon { color: #fff; background: var(--grad-emerald); }
.kontak-card--wa .kontak-card__icon { background: linear-gradient(135deg, #0E9F6E, #25D366); }
.kontak-card--pin .kontak-card__icon { background: linear-gradient(135deg, var(--rose-600), var(--amber-500)); }
.kontak-card--mail .kontak-card__icon { background: linear-gradient(135deg, var(--sky-600), var(--sky-400)); }
.kontak-card--clock .kontak-card__icon { background: linear-gradient(135deg, var(--violet-600), #A78BFA); }
.map-embed--full { grid-column: 1 / -1; }
.map-embed--full iframe { width: 100%; height: 340px; border: 0; }

/* ---------- panel ajakan PPDB & kaki halaman ---------- */
.ppdb-panel, .cta-panel { background: var(--grad-cta); }
.site-foot {
  background:
    radial-gradient(620px 320px at 8% 0%, rgba(45, 212, 191, .18), transparent 60%),
    linear-gradient(160deg, #04211A, #06281E 55%, #0B4029);
}
.site-foot__social a { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); }
.site-foot__social a:hover { background: var(--grad-gold); color: #3B2A05; }
.site-foot__col a:hover { color: var(--gold-300); }

/* ---------- responsif lapisan baru ---------- */
@media (max-width: 1180px) {
  /* menu bertambah (8 butir + CTA): CTA disembunyikan lebih awal agar menu tetap muat */
  .site-head__cta { display: none; }
}
@media (max-width: 1080px) {
  .subcard-grid--tiga { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kurikulum-grid--tiga { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sosial-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sambutan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .subcard-grid, .subcard-grid--tiga { grid-template-columns: 1fr; }
  .sambutan-hero { grid-template-columns: 1fr; }
  .sambutan-hero__photo { max-width: 240px; }
  .cta-strip { grid-template-columns: 1fr; justify-items: start; }
  .video-grid { grid-template-columns: 1fr; }
  .wa-form__grid { grid-template-columns: 1fr; }
  .agenda-summary__next { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 640px) {
  .sosial-list { grid-template-columns: 1fr; }
  .subcard { grid-template-columns: minmax(0, 1fr); }
  .subcard__badge { width: 46px; height: 46px; border-radius: 15px; }
  .sambutan-hero__photo { max-width: 100%; }
  .infocard { grid-template-columns: auto minmax(0, 1fr); }
}

/* =========================================================
   BANNER PPDB · KEPALA HALAMAN PROFIL · KONTRAS HERO
   (November 2026)
   ========================================================= */

/* ---------- kicker di atas hero beranda ----------
   Dulu `.kicker` memakai hijau tua (--emerald-700) di atas hero hijau tua,
   sehingga tulisan "Yayasan Syahzili Insan Cendikia Inderalaya" tidak terbaca.
   Sekarang memakai emas muda di píl tembus cahaya: kontrasnya tinggi. */
.hero .kicker {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(238, 217, 161, .42);
  color: var(--gold-300);
}

/* ---------- kepala halaman profil: lebih ringkas, foto persegi ----------
   Permintaan pengguna: perkecil media pada kepala halaman profil dan jadikan
   fotonya persegi, berlaku untuk ketiga sub-menu Profil (Yayasan, TK IT, SD IT).
   Modifier `.page-hero--foto` dipasang pageHero() hanya bila halaman punya foto,
   jadi halaman dalam lain tidak ikut berubah. */
.page-hero--foto { padding: clamp(20px, 2.8vw, 34px) 0; }
.page-hero--foto .page-hero__in { gap: clamp(16px, 2.6vw, 30px); }
.page-hero--foto .crumbs { margin-bottom: .6rem; }
.page-hero--foto .page-hero__title { margin-bottom: .4rem; }
.page-hero--foto .page-hero__media {
  width: clamp(132px, 15vw, 180px);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  flex: none;
}
.page-hero--foto .page-hero__media img { aspect-ratio: 1 / 1; height: 100%; }
.page-hero--foto .page-hero__media figcaption {
  padding: .32rem .55rem;
  font-size: .66rem;
  line-height: 1.25;
}

/* ---------- banner PPDB (media 1920 × 600 px di atas halaman PPDB) ---------- */
.banner-ppdb { padding: clamp(18px, 2.6vw, 30px) 0 clamp(16px, 2.2vw, 26px); }
.banner-ppdb__list { display: grid; gap: clamp(14px, 2vw, 20px); }
.banner-ppdb__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow);
  background: var(--emerald-100);
}
.banner-ppdb__link { display: block; }
.banner-ppdb__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 600; /* 16:5 — ukuran yang diminta */
  object-fit: cover;
}
.banner-ppdb__link:hover img { transform: scale(1.01); }
.banner-ppdb__item img { transition: transform .3s ease; }
.banner-ppdb__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.1rem .7rem;
  font-size: .82rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 25, 18, .8));
}

/* Di ponsel foto kepala halaman profil tetap tampil sebagai persegi kecil
   (sebelumnya disembunyikan sama sekali di ≤760px). */
@media (max-width: 760px) {
  .page-hero--foto .page-hero__media {
    display: block;
    width: 104px;
    justify-self: start;
    margin-top: .9rem;
  }
  .banner-ppdb__cap { padding: .95rem .8rem .5rem; font-size: .74rem; }
}
