/* ==========================================================================
   SIT Ash-Shibgoh — redesign beranda
   Palet diturunkan dari logo: ungu #802890 sebagai warna utama.
   - Ungu    : header aktif, tombol, pita program, footer
   - Putih + lavender sangat muda: dasar halaman, section berselang-seling
   - Kuning emas (dari banner sekolah): satu aksen, khusus ajakan Penerimaan Siswa
   Font: Plus Jakarta Sans (didesain di Indonesia, terbaca jelas untuk orang tua),
         Amiri hanya untuk salam berbahasa Arab.
   ========================================================================== */

:root {
    --brand-900: #2b0d33;
    --brand-800: #4a1658;
    --brand-700: #6a1f7e;
    --brand-600: #802890;
    --brand-100: #f3e8f6;
    --bg: #ffffff;
    --bg-2: #f8f3fa;
    --paper: #ffffff;
    --ink: #1f1a24;
    --ink-2: #554d5c;
    --line: #e7dcec;
    --gold: #f2b01e;
    --gold-ink: #2a1a00;

    --radius-sm: 6px;
    --radius: 14px;
    --wrap: 1180px;

    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-arab: "Amiri", "Traditional Arabic", serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); }
a:hover { color: var(--brand-900); }

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    background: var(--brand-800);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    z-index: 100;
}
.skip-link:focus { top: 12px; }

h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

/* ---------- Tombol ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-sm);
    font: 700 0.95rem/1 var(--font);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brand-800); color: #fff; }
.btn-primary:hover { background: var(--brand-900); color: #fff; }
.btn-ghost { border-color: var(--brand-800); color: var(--brand-800); background: transparent; }
.btn-ghost:hover { background: var(--brand-800); color: #fff; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #dc9c0c; color: var(--gold-ink); }

/* ---------- Bar atas ---------- */
.topbar {
    background: var(--brand-900);
    color: #e7d6ee;
    font-size: 0.85rem;
}
.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 40px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact i { margin-right: 6px; opacity: .8; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social { display: flex; gap: 2px; list-style: none; margin: 0 -8px 0 0; padding: 0; }
.topbar-social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    transition: background-color .15s ease, color .15s ease;
}
.topbar-social a:hover { background: rgba(255,255,255,.14); color: var(--gold); text-decoration: none; }

/* ---------- Header & navigasi ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}
.brand img { width: 208px; height: auto; }

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    font: 700 0.9rem var(--font);
    color: var(--ink);
    cursor: pointer;
}

.main-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}
.main-nav li { position: relative; }
.main-nav > ul > li > a,
.main-nav > ul > li > button {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: none;
    font: 600 0.95rem var(--font);
    color: var(--ink);
    text-decoration: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > button:hover { background: var(--brand-100); color: var(--brand-900); }
.main-nav a[aria-current="page"] { color: var(--brand-700); box-shadow: inset 0 -3px 0 var(--brand-700); border-radius: 0; }
.main-nav .bi-chevron-down { font-size: .7rem; transition: transform .15s ease; }
.main-nav button[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }

/* ---------- Dropdown menu (desktop): panel berisi, muncul lembut dengan item berurutan ---------- */
.has-drop { position: static; }
.main-nav > ul { position: relative; }
.main-nav button.is-current { color: var(--brand-700); box-shadow: inset 0 -3px 0 var(--brand-700); border-radius: 0; }
.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 60;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(43, 13, 51, .16), 0 2px 6px rgba(43, 13, 51, .06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.985);
    transform-origin: top center;
    transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
}
/* jembatan tak terlihat supaya kursor tidak "jatuh" di celah antara menu dan panel */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
li.is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s cubic-bezier(.2,.7,.2,1), transform .24s cubic-bezier(.2,.7,.2,1), visibility 0s;
}
.dropdown li { opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
li.is-open > .dropdown li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 30ms + 60ms); }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dd-label { margin: 0 0 10px 4px; font-size: 0.78rem; font-weight: 800; letter-spacing: .02em; color: var(--brand-600); }

/* Profil: tautan berikon + chip tenaga pendidik */
.dd-profil { display: grid; grid-template-columns: 1fr 200px; gap: 18px; width: 560px; left: 20px; }
.dd-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    transition: background-color .15s ease;
}
.dd-ico {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 1.1rem;
    transition: background-color .15s ease, color .15s ease, transform .2s ease;
}
.dd-text strong { display: block; font-size: 0.95rem; }
.dd-text small { display: block; font-size: 0.82rem; color: var(--ink-2); }
.dd-links a:hover, .dd-links a:focus-visible { background: var(--bg-2); }
.dd-links a:hover .dd-ico { background: var(--brand-700); color: #fff; transform: scale(1.05); }
.dd-aside { padding: 14px; border-radius: 12px; background: var(--bg-2); }
.dd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dd-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.dd-chips a:hover { border-color: var(--brand-700); background: var(--brand-700); color: #fff; }

/* Jenjang: empat kartu */
.dd-jenjang { width: 720px; left: 50%; translate: -50% 0; }
.dd-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dd-level { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s ease, box-shadow .2s ease; }
.dd-level:hover { border-color: #cfb3da; box-shadow: 0 10px 22px rgba(43, 13, 51, .08); }
.dd-level-main { display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; color: var(--ink); text-decoration: none; }
.dd-code { font-size: 1.1rem; font-weight: 800; color: var(--brand-700); }
.dd-level-name { font-size: 0.86rem; font-weight: 600; line-height: 1.35; }
.dd-level-main small { font-size: 0.78rem; color: var(--ink-2); }
.dd-level-main:hover .dd-code { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.dd-level-sub { display: flex; align-items: center; gap: 6px; margin-top: auto; padding: 9px 14px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 0.82rem; font-weight: 700; color: var(--brand-700); text-decoration: none; }
.dd-level-sub:hover { background: var(--brand-100); }
.dd-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--brand-800);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}
.dd-foot span { display: inline-flex; align-items: center; gap: 10px; }
.dd-foot .bi { color: var(--gold); transition: transform .15s ease; }
a.dd-foot:hover { color: #fff; background: var(--brand-700); }
a.dd-foot:hover > .bi { transform: translateX(3px); }

/* Galeri: baris jenjang dengan tombol foto & video */
.dd-galeri { width: 340px; left: auto; right: 0; }
.dd-gallery li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.dd-gallery li:last-child { border-bottom: 0; }
.dd-gallery a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--bg-2);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-700);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.dd-gallery a:hover { background: var(--brand-700); color: #fff; }
.dd-foot-split { padding: 6px; gap: 6px; }
.dd-foot-split a { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 38px; border-radius: 8px; color: #fff; text-decoration: none; }
.dd-foot-split a:hover { background: rgba(255,255,255,.12); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .dropdown, li.is-open > .dropdown, .dropdown li { transition: none; transform: none; }
    li.is-open > .dropdown li { transition-delay: 0s; }
}

.main-nav > ul > li > a.nav-cta {
    margin-left: 10px;
    padding: 0 18px;
    background: var(--brand-800);
    color: #fff;
}
.main-nav > ul > li > a.nav-cta:hover { background: var(--brand-900); color: #fff; }

/* ---------- Hero: selaras dengan CTA penerimaan (ungu berpola, bingkai mihrab, aksen emas) ---------- */
.hero {
    padding: 72px 0 80px;
    background-color: var(--brand-800);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E");
    color: #efe3f3;
}
.hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    font-weight: 800;
    font-size: 0.95rem;
    color: #e7d6ee;
}
.hero-levels li + li::before { content: "·"; margin-right: 18px; color: #cdb4d8; }
.hero h1 {
    font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 20px;
    color: #fff;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 1.12rem; color: #e3d3ea; max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 0;
    margin: 36px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
}
.hero-facts div {
    display: flex;
    flex-direction: column;
    padding-right: 24px;
    margin-right: 24px;
    border-right: 1px solid rgba(255,255,255,.14);
}
.hero-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts dt { font-size: 0.82rem; color: #cdb4d8; }
.hero-facts dd { order: -1; margin: 0; font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.2; }
.hero-facts dd .bi { font-size: 1.1rem; color: var(--gold); margin-right: 4px; }

/* Slideshow foto kegiatan (di Blade: diambil dari foto kegiatan CMS) */
.hero-slider { position: relative; }
.slides {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--brand-900);
    border: 2px solid rgba(242, 176, 30, .5);
}

.slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility 0s linear .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(180deg, rgba(43, 13, 51, 0), rgba(43, 13, 51, .75));
}
.slide figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}
.slide figcaption b {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 9px;
    border-radius: var(--radius-sm);
    background: var(--gold);
    color: var(--gold-ink);
    font-size: 0.8rem;
}
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 12px;
}
.slider-dots { display: flex; gap: 2px; margin: 0 4px; }
.slider-dot {
    width: 28px;
    height: 32px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    position: relative;
}
.slider-dot::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 14px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,.3);
    transition: background-color .2s ease;
}
.slider-dot[aria-current="true"]::before { background: var(--gold); }
.slider-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.slider-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Jenjang: jalur pendidikan sejak 1998 ---------- */
.levels { background: var(--bg-2); padding: 96px 0 104px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 40em; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.btn-sm { min-height: 42px; padding: 0 14px; font-size: 0.88rem; justify-content: center; }

.eyebrow-year {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-600);
}
.eyebrow-year::before { content: ""; width: 24px; height: 2px; background: var(--gold); }

.levels-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 72px;
    align-items: end;
    margin-bottom: 64px;
}
.levels-head h2 { max-width: 13em; }
.levels-head p { margin: 0 0 22px; color: var(--ink-2); }
.levels-facts {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    margin: 0;
    border-top: 1px solid var(--line);
}
.levels-facts div {
    display: flex;
    flex-direction: column-reverse;
    padding: 14px 28px 0 0;
    margin-right: 28px;
    border-right: 1px solid var(--line);
}
.levels-facts div:last-child { border-right: 0; margin-right: 0; }
.levels-facts dt { font-size: 0.85rem; color: var(--ink-2); }
.levels-facts dd { margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--brand-700); line-height: 1.2; white-space: nowrap; }

/* Stepper 1–4 di atas tengah tiap kartu, disambung satu garis */
.levels-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.levels-grid::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-600) 0 8px, transparent 8px 14px);
    opacity: .45;
}
.level { display: flex; flex-direction: column; }
.level-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}
.level-num {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-700);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 0 0 6px var(--bg-2);
}
.level-year { font-size: 0.85rem; font-weight: 700; color: var(--brand-700); }

.level-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.level-card:hover { border-color: #cfb3da; box-shadow: 0 16px 36px rgba(43, 13, 51, .10); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .level-card:hover { transform: none; } }
.level-photo { position: relative; margin: 0; }
.level-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.level-code {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    background: var(--brand-700);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}
.level-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.level-grade { margin: 0 0 6px; font-size: 0.82rem; font-weight: 700; color: var(--brand-600); }
.level-body h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 8px; }
.level-focus { font-size: 0.92rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 20px; }
.level-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.level-more {
    list-style: none;
    margin: 16px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 2px;
}
.level-more a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    white-space: nowrap;
}
.level-more a:hover { color: var(--brand-700); text-decoration: underline; }
.level-more .bi { width: 18px; color: var(--brand-600); }
.level-more .bi-whatsapp { color: #1f9d55; }

/* ---------- Sambutan: nuansa Islami modern ----------
   Motif: bintang delapan (geometri Islam) dan lengkung mihrab sebagai bingkai video. */
.welcome { padding: 96px 0; background: var(--paper); }
.welcome .wrap {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    align-items: center;
}
.star8 { width: 1em; height: 1em; fill: currentColor; flex: none; }

.salam-block { margin-bottom: 26px; }
.salam {
    font-family: var(--font-arab);
    font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
    line-height: 1.6;
    color: var(--brand-600);
    margin: 0;
    text-align: left;
}
.salam-latin { font-style: italic; color: var(--ink-2); margin: 2px 0 16px; }
.ornament {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 220px;
    color: var(--gold);
    font-size: 14px;
}
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ornament::before { flex: 0 0 0; }

.welcome h2 { margin-bottom: 18px; }
.welcome h2 span { color: var(--brand-600); white-space: nowrap; }
.welcome-lead { font-size: 1.08rem; color: var(--ink); }
.welcome-text p { color: var(--ink-2); }
.welcome-text .welcome-lead { color: var(--ink); }

.values {
    list-style: none;
    margin: 4px 0 30px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.values li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-2);
    font-weight: 700;
    color: var(--brand-800);
}
.values .star8 { color: var(--brand-600); font-size: 16px; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bingkai lengkung mihrab berpola bintang delapan */
.mihrab {
    position: relative;
    padding: 34px 26px 26px;
    border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius);
    background-color: var(--brand-800);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E");
    color: #fff;
    text-align: center;
}
.mihrab::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(242, 176, 30, .45);
    border-radius: inherit;
    pointer-events: none;
}
.mihrab-word { margin: 70px 0 30px; line-height: 1.1; }
.mihrab-word span {
    display: block;
    font-family: var(--font-arab);
    font-size: 3.6rem;
    color: var(--gold);
}
.mihrab-word small { font-size: 0.85rem; letter-spacing: .04em; color: #e7d6ee; }

.video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--brand-900);
    box-shadow: 0 16px 36px rgba(20, 5, 26, .35);
}
.video button {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: none;
    color: #fff;
}
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transform: scale(1.08); }
.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--gold-ink);
    font-size: 1.9rem;
    transition: transform .15s ease;
}
.video button:hover .video-play { transform: scale(1.06); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin: 16px 0 4px; font-size: 0.85rem; color: #dccbe3; }
.video-caption strong { display: block; font-size: 1rem; color: #fff; }

/* ---------- Program unggulan & fasilitas ---------- */
.program {
    background-color: var(--brand-900);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E");
    color: #efe3f3;
    padding: 96px 0;
}
.program h2, .program h3 { color: #fff; }
.program-head { max-width: 640px; margin-bottom: 48px; }
.program-head .eyebrow-year { color: var(--gold); }
.program-head p { margin: 14px 0 0; color: #dccbe3; }

.program-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.program-feature {
    grid-row: 1 / span 2;
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 420px;
}
.program-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.program-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43, 13, 51, 0) 40%, rgba(43, 13, 51, .92) 100%);
}
.program-feature figcaption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 18px;
}
.feature-num {
    font-size: 4rem;
    font-weight: 800;
    line-height: .9;
    color: var(--gold);
    white-space: nowrap;
}
.feature-num small { font-size: 1.4rem; font-weight: 700; }
.feature-text { font-size: 1rem; font-weight: 600; color: #fff; max-width: 15em; padding-bottom: 4px; }

.program-group {
    padding: 26px 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
}
.program-group h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    margin-bottom: 18px;
}
.group-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--gold-ink);
    font-size: 1.05rem;
}
.program-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.program-items li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .06);
    transition: background-color .15s ease;
}
.program-items li:hover { background: rgba(255, 255, 255, .11); }
.program-items li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.program-items .bi { color: var(--gold); font-size: 1.15rem; line-height: 1.4; }
.program-items strong { display: block; font-size: 0.97rem; font-weight: 600; color: #fff; line-height: 1.4; }
.program-items span { display: block; font-size: 0.82rem; color: #cdb4d8; }

.facility { margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.facility-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.facility-head h3 { font-size: 1.35rem; }
.facility-head p { margin: 0; font-size: 0.85rem; color: #cdb4d8; }
.facility-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
.facility-list li {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--brand-800);
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
}
.facility-list .bi { font-size: 1.4rem; color: var(--gold); }

/* ---------- Aplikasi sekolah: penjelajah fitur ---------- */
.app { padding: 96px 0; background: var(--paper); overflow: hidden; }
.app .wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}
.app h2 { margin-bottom: 16px; }
.app-lead { color: var(--ink-2); margin-bottom: 30px; }

.app-tabs { display: grid; gap: 10px; margin-bottom: 18px; }
.app-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 14px 18px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    font-family: var(--font);
    color: var(--ink);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.app-tab:hover { border-color: #cfb3da; }
.app-tab > .bi {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 1.2rem;
}
.app-tab strong { display: block; font-size: 1rem; }
.app-tab small { display: block; font-size: 0.86rem; color: var(--ink-2); }
.app-tab[aria-selected="true"] { border-color: var(--brand-700); background: var(--bg-2); box-shadow: inset 4px 0 0 var(--brand-700); }
.app-tab[aria-selected="true"] > .bi { background: var(--brand-700); color: #fff; }

.app-features {
    list-style: none;
    margin: 0;
    padding: 6px 4px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.app-features[hidden] { display: none; }
.app-features li { display: flex; flex-direction: column; gap: 6px; }
.app-features .bi { font-size: 1.25rem; color: var(--brand-600); }
.app-features strong { display: block; font-size: 0.93rem; }
.app-features span { display: block; font-size: 0.84rem; color: var(--ink-2); line-height: 1.45; }

/* Bingkai HP: hanya menu ikon fitur asli, tanpa data siswa */
.app-visual {
    position: relative;
    display: grid;
    place-items: center;
    padding: 40px 0;
}
.app-visual::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 1px solid var(--line);
}
.phone {
    position: relative;
    width: 290px;
    padding: 12px;
    border-radius: 44px;
    background: var(--brand-900);
    box-shadow: 0 30px 60px rgba(43, 13, 51, .25);
}
.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    translate: -50% 0;
    width: 84px;
    height: 22px;
    border-radius: 12px;
    background: var(--brand-900);
    z-index: 1;
}
.phone-screen {
    border-radius: 34px;
    background: var(--bg-2);
    padding: 50px 16px 26px;
    min-height: 520px;
}
.phone-bar { background: var(--paper); border-radius: 12px; padding: 10px 12px; margin-bottom: 18px; }
.phone-bar img { width: 150px; }
.phone-title { margin: 0 0 12px 4px; font-size: 0.85rem; font-weight: 800; color: var(--ink); }
.phone-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.phone-grid li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 4px 12px;
    border-radius: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink-2);
    text-align: center;
    opacity: .45;
    transition: opacity .25s ease, transform .25s ease, border-color .25s ease;
}
.phone-grid .bi {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 1.15rem;
    transition: background-color .25s ease, color .25s ease;
}
.phone-grid li.is-on { opacity: 1; border-color: #cfb3da; color: var(--ink); transform: translateY(-2px); }
.phone-grid li.is-on .bi { background: var(--brand-700); color: #fff; }
@media (prefers-reduced-motion: reduce) { .phone-grid li { transition: none; } .phone-grid li.is-on { transform: none; } }

/* ---------- Berita: Kabar dari sekolah ---------- */
.news { background: var(--bg-2); padding: 96px 0; }
.news-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Tab jenjang: kontrol bersegmen */
.tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
}
.tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font: 700 0.9rem var(--font);
    color: var(--ink-2);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.tab:hover { color: var(--brand-700); background: var(--bg-2); }
.tab[aria-selected="true"] { background: var(--brand-700); color: #fff; }
.tab .count {
    min-width: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--bg-2);
    color: var(--brand-700);
    font-size: 0.75rem;
    line-height: 20px;
    text-align: center;
}
.tab[aria-selected="true"] .count { background: rgba(255,255,255,.2); color: #fff; }

.news-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.news-panel[hidden] { display: none; }

/* Label jenjang + tanggal */
.news-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--ink-2); }
.news-tags .lv {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: var(--brand-100);
    color: var(--brand-700);
    font-weight: 800;
    font-size: 0.75rem;
}

/* Berita utama: foto penuh, judul di atas foto */
.news-lead a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 460px;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: var(--brand-900);
}
.news-lead img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform .5s ease;
}
.news-lead a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .news-lead img { transition: none; } .news-lead a:hover img { transform: none; } }
.news-lead a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43,13,51,0) 30%, rgba(43,13,51,.55) 60%, rgba(43,13,51,.94) 100%);
}
.news-lead-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
}
.news-lead .news-tags { color: #eadcf0; }
.news-lead .news-tags .lv { background: var(--gold); color: var(--gold-ink); }
.news-lead-title {
    font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem);
    font-weight: 800;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-lead-excerpt {
    font-size: 0.95rem;
    color: #e3d3ea;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-read { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; color: var(--gold); }
.news-read .bi { transition: transform .15s ease; }
.news-lead a:hover .news-read .bi { transform: translateX(3px); }

/* Daftar samping */
.news-side { display: flex; flex-direction: column; gap: 16px; }
.news-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    transition: background-color .15s ease;
}
.news-list a:hover { background: var(--bg-2); }
.news-thumb { display: block; width: 96px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--brand-100); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-nophoto {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--brand-100);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%236a1f7e' stroke-opacity='.22' stroke-width='1.4'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
}
.news-item-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.news-item-title {
    font-weight: 700;
    font-size: 0.97rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list a:hover .news-item-title { color: var(--brand-700); }
.news-more { align-self: flex-start; }

/* ---------- Penerimaan siswa (CTA): pita penuh, padat, foto + jalur aksi ---------- */
.admission {
    padding: 64px 0;
    background-color: var(--brand-800);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E");
    color: #efe3f3;
}
.admission .wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}
.nowrap { white-space: nowrap; }

.admission-photo { position: relative; margin: 0; }
.admission-photo img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 200px 200px var(--radius) var(--radius);
    border: 4px solid rgba(242, 176, 30, .55);
}
.admission-badge {
    position: absolute;
    left: -16px;
    bottom: 22px;
    max-width: 230px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink-2);
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 16px 34px rgba(20, 5, 26, .35);
}
.admission-badge strong { display: block; font-size: 1.35rem; color: var(--brand-700); }

.admission .eyebrow-year { color: var(--gold); }
.admission h2 { color: #fff; margin-bottom: 22px; }

.admission-steps {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #efe3f3;
}
.admission-steps li { display: inline-flex; align-items: center; gap: 8px; }
.admission-steps b {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 0.8rem;
}

.admission-levels {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.admission-levels a {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .2s ease, border-color .2s ease;
}
.admission-levels a:hover { transform: translateY(-3px); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .admission-levels a:hover { transform: none; } }
.adm-code { font-size: 1.15rem; font-weight: 800; color: var(--brand-700); }
.admission-levels small { font-size: 0.8rem; color: var(--ink-2); }
.admission-levels .bi { position: absolute; right: 14px; top: 16px; color: var(--brand-600); transition: transform .15s ease; }
.admission-levels a:hover .bi { transform: translateX(3px); }

.admission-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn .bi { font-size: 1.05rem; }

/* ==========================================================================
   Halaman profil (Tentang kami, Visi dan misi)
   ========================================================================== */
.page-header {
    background-color: var(--brand-800);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E");
    color: #efe3f3;
    padding-top: 40px;
}
.breadcrumb ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b89cc6; }
.breadcrumb a { color: #e7d6ee; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gold); font-weight: 700; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.page-lead { max-width: 40em; margin: 0; font-size: 1.1rem; color: #e3d3ea; }
.page-lead em { font-style: normal; color: var(--gold); font-weight: 700; }
.subnav { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.12); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    color: #e7d6ee;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.subnav a:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.subnav a[aria-current="page"] { color: #fff; border-color: var(--gold); }

/* Tentang kami: pengantar */
.about-intro { padding: 80px 0; background: var(--paper); }
.about-intro .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.about-photo { margin: 0; position: sticky; top: 104px; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% center; border-radius: var(--radius); }
.about-photo figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--ink-2); }
.about-intro h2 { margin-bottom: 18px; }
.about-intro p { color: var(--ink-2); }
.about-facts { display: flex; flex-wrap: wrap; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.about-facts div { display: flex; flex-direction: column; padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--line); }
.about-facts div:last-child { border: 0; margin: 0; padding: 0; }
.about-facts dt { font-size: 0.82rem; color: var(--ink-2); }
.about-facts dd { order: -1; margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--brand-700); line-height: 1.2; }

/* Multiple Intelligence */
.mi { padding: 80px 0; background: var(--bg-2); }
.mi .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.mi h2 { margin-bottom: 14px; }
.mi-quote p { color: var(--ink-2); margin: 0; }
.mi-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mi-list li {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    font-weight: 700;
    color: var(--ink);
}
.mi-list .bi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-100); color: var(--brand-700); font-size: 1.15rem; }

/* Linimasa yayasan */
.journey {
    padding: 80px 0;
    background-color: var(--brand-900);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E");
    color: #e3d3ea;
}
.journey h2, .journey h3 { color: #fff; }
.journey .eyebrow-year { color: var(--gold); }
.journey-head { margin-bottom: 48px; }
.journey-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.journey-list::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(242,176,30,.6) 0 8px, transparent 8px 14px); }
.journey-list li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.journey-year {
    align-self: flex-start;
    position: relative;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--gold-ink);
    font-weight: 800;
    margin-bottom: 10px;
}
.journey-list h3 { font-size: 1.1rem; }
.journey-list p { margin: 0; font-size: 0.92rem; line-height: 1.6; }
.journey-list a { margin-top: 6px; color: var(--gold); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.journey-list a:hover { text-decoration: underline; }

/* Komitmen + tautan halaman berikutnya */
.commit { padding: 80px 0; background: var(--paper); }
.commit h2 { margin-bottom: 28px; }
.commit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.commit-list li { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.commit-list .bi { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-700); color: #fff; font-size: 1.15rem; }
.commit-list h3 { font-size: 1rem; margin-bottom: 6px; }
.commit-list p { margin: 0; font-size: 0.92rem; color: var(--ink-2); line-height: 1.6; }
.next-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 22px 26px;
    border-radius: var(--radius);
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    transition: border-color .15s ease;
}
.next-page small { display: block; font-size: 0.82rem; font-weight: 600; color: var(--brand-600); }
.next-page > .bi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-700); color: #fff; transition: transform .15s ease; }
.next-page:hover { border-color: var(--brand-700); color: var(--ink); }
.next-page:hover > .bi { transform: translateX(4px); }

/* Visi */
.visi { padding: 72px 0 0; background: var(--paper); }
.visi-panel {
    position: relative;
    padding: 48px 56px;
    border-radius: 20px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
}
.visi-panel::before {
    content: "\201C";
    position: absolute;
    right: 36px;
    top: -30px;
    font-size: 14rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--brand-100);
    pointer-events: none;
}
.visi-text { position: relative; margin: 0 0 32px; }
.visi-text p { margin: 0; max-width: 20em; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: var(--brand-800); }
.visi-pillars { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.visi-pillars li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.visi-pillars .star8 { color: var(--gold); font-size: 20px; margin-top: 2px; }
.visi-pillars strong { display: block; color: var(--ink); }
.visi-pillars span { font-size: 0.88rem; color: var(--ink-2); }

/* Misi */
.misi { padding: 72px 0 80px; background: var(--paper); }
.misi-head { margin-bottom: 28px; }
.misi-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; counter-reset: none; }
.misi-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto;
    gap: 4px 16px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .15s ease, box-shadow .2s ease;
}
.misi-list li:hover { border-color: #cfb3da; box-shadow: 0 10px 24px rgba(43, 13, 51, .07); }
.misi-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.misi-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-700); color: #fff; font-weight: 800; }

.misi-list p { margin: 0; font-weight: 600; line-height: 1.5; color: var(--ink); }

/* Halaman jenjang (template TKIT/SDIT/SMPIT/SMAIT) */
.lv-intro { padding: 80px 0; background: var(--paper); }
.lv-intro .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lv-text h2 { margin-bottom: 18px; }
.lv-text p { color: var(--ink-2); }
.lv-facts { display: grid; grid-template-columns: auto auto 1fr; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.lv-facts div { display: flex; flex-direction: column; padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); }
.lv-facts div:last-child { border: 0; margin: 0; padding: 0; }
.lv-facts dt { font-size: 0.82rem; color: var(--ink-2); }
.lv-facts dd { order: -1; margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--brand-700); line-height: 1.3; }

.lv-media { position: relative; padding: 0 0 70px 40px; }
.lv-photo-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.lv-photo-sub {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 6px solid var(--paper);
    box-shadow: 0 18px 36px rgba(43, 13, 51, .18);
}
.lv-contact {
    position: absolute;
    right: 16px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--brand-800);
    color: #e3d3ea;
    font-size: 0.82rem;
    box-shadow: 0 16px 30px rgba(43, 13, 51, .25);
}
.lv-contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 1.05rem; font-weight: 800; text-decoration: none; }
.lv-contact a .bi { color: #4ade80; }
.lv-contact a:hover { color: var(--gold); }

.lv-values { padding: 0 0 80px; background: var(--paper); }
.lv-values ul { list-style: none; margin: 0; padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.lv-values li { display: flex; gap: 16px; }
.lv-values .bi { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-700); color: #fff; font-size: 1.2rem; }
.lv-values h3 { font-size: 1rem; margin-bottom: 4px; }
.lv-values p { margin: 0; font-size: 0.92rem; color: var(--ink-2); line-height: 1.55; }

/* Kabar dari jenjang: tata letak majalah */
.lv-news { padding: 80px 0; background: var(--bg-2); }
.lv-news-head { max-width: 640px; margin-bottom: 32px; }
.lv-news-head h2 { margin-bottom: 8px; }
.lv-news-head p { margin: 0; color: var(--ink-2); }
.kb-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-auto-rows: minmax(220px, auto);
    gap: 18px;
}
.kb-card.is-lead { grid-row: span 2; }
.kb-card a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 220px;
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: var(--brand-900);
    isolation: isolate;
}
.kb-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.kb-card a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(43,13,51,.05) 25%, rgba(43,13,51,.6) 60%, rgba(43,13,51,.95) 100%);
}
.kb-card a:hover img { transform: scale(1.05); }
.kb-date {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
    padding: 8px 10px 7px;
    border-radius: 12px;
    background: var(--paper);
    color: var(--brand-700);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.1;
    box-shadow: 0 8px 20px rgba(20,5,26,.25);
}
.kb-date b { font-size: 1.4rem; font-weight: 800; color: var(--brand-800); }
.kb-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; }
.kb-tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 0.75rem; font-weight: 800; }
.kb-body strong { font-size: 1.08rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kb-card.is-lead .kb-body { padding: 30px; gap: 10px; }
.kb-card.is-lead .kb-body strong { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); }
.kb-excerpt { font-size: 0.95rem; color: #e3d3ea; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kb-read { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 700; color: var(--gold); }
.kb-read .bi { transition: transform .2s ease; }
.kb-card a:hover .kb-read .bi { transform: translateX(4px); }

.kb-all a {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 16px;
    height: 100%;
    min-height: 140px;
    padding: 24px;
    border-radius: 16px;
    background-color: var(--brand-700);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E");
    color: #fff;
    text-decoration: none;
    transition: background-color .2s ease;
}
.kb-all a:hover { background-color: var(--brand-800); }
.kb-all a > .bi:first-child { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.14); font-size: 1.4rem; color: var(--gold); }
.kb-all strong { display: block; font-size: 1.05rem; }
.kb-all small { display: block; font-size: 0.85rem; color: #e3d3ea; }
.kb-all a > .bi:last-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); transition: transform .2s ease; }
.kb-all a:hover > .bi:last-child { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
    .kb-card img, .kb-read .bi, .kb-all a > .bi:last-child { transition: none; }
    .kb-card a:hover img { transform: none; }
}
@media (max-width: 960px) {
    .kb-grid { grid-template-columns: 1fr 1fr; }
    .kb-card.is-lead { grid-column: 1 / -1; grid-row: auto; }
    .kb-card.is-lead a { min-height: 380px; }
}
@media (max-width: 600px) {
    .kb-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
    .kb-card.is-lead a { min-height: 340px; }
    .kb-card.is-side a { min-height: 240px; }
    .kb-card.is-lead .kb-body, .kb-body { padding: 18px 20px; }
    .kb-all a { min-height: 0; padding: 18px 20px; grid-template-columns: 44px 1fr auto; }
    .kb-all a > .bi:first-child { width: 44px; height: 44px; }
}

.lv-explore { padding: 72px 0; background: var(--paper); }
.lv-explore h2 { margin-bottom: 22px; }
.lv-actions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.lv-actions a {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease;
}
.lv-actions a > .bi:first-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-size: 1.15rem; }
.lv-actions strong { display: block; }
.lv-actions small { display: block; font-size: 0.85rem; color: var(--ink-2); }
.lv-actions a > .bi:last-child { color: var(--brand-600); transition: transform .15s ease; }
.lv-actions a:hover { border-color: var(--brand-700); background: var(--bg-2); }
.lv-actions a:hover > .bi:last-child { transform: translateX(3px); }
.lv-actions a.is-wa > .bi:first-child { background: #1f9d55; color: #fff; }

@media (max-width: 960px) {
    .lv-intro .wrap { grid-template-columns: 1fr; gap: 40px; }
    .lv-values ul { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
    .lv-intro, .lv-news, .lv-explore { padding: 56px 0; }
    .lv-values { padding-bottom: 56px; }
    .lv-values ul { padding: 20px; }
    .lv-facts { grid-template-columns: 1fr 1fr; gap: 14px 0; }
    .lv-facts div:nth-child(2) { border: 0; }
    .lv-facts div:last-child { grid-column: 1 / -1; }
    .lv-media { padding: 0 0 56px 24px; }
    .lv-contact { right: 8px; bottom: 12px; padding: 10px 14px; }
    .lv-contact a { font-size: 0.95rem; }
}

/* Kontak */
.page-header:not(:has(.subnav)) { padding-bottom: 96px; }
.ct-quick { position: relative; margin-top: -56px; padding-bottom: 8px; }
.ct-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr) minmax(0,1.25fr); gap: 14px; }
.ct-cards a, .ct-cards li > div {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 14px 32px rgba(43, 13, 51, .10);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s ease, transform .2s ease;
}
.ct-cards a:hover { border-color: var(--brand-700); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .ct-cards a:hover { transform: none; } }
.ct-cards .bi { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-100); color: var(--brand-700); font-size: 1.2rem; }
.ct-cards .bi.is-wa { background: #1f9d55; color: #fff; }
.ct-cards small { display: block; font-size: 0.8rem; color: var(--ink-2); }
.ct-cards strong { display: block; font-size: 0.95rem; overflow-wrap: break-word; }

.ct-main { padding: 56px 0 88px; background: var(--paper); }
.ct-main .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.ct-form-card { padding: 36px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.ct-form-card h2 { margin-bottom: 10px; }
.ct-form-lead { color: var(--ink-2); margin-bottom: 24px; }
.ct-form { display: grid; gap: 16px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    font: 400 1rem var(--font);
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #9a8fa3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 4px rgba(106, 31, 126, .14); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field-error { margin: 6px 0 0; font-size: 0.85rem; font-weight: 600; color: #b42318; }
.field-error::before { content: "\F33A"; font-family: "bootstrap-icons"; margin-right: 6px; }
.ct-submit { justify-self: start; }
.ct-status { margin: 0; font-size: 0.92rem; }
.ct-status.is-info { padding: 12px 14px; border-radius: 10px; background: var(--brand-100); color: var(--brand-800); font-weight: 600; }

.ct-location { display: grid; gap: 18px; }
.ct-map { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--brand-800); }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ct-map-load {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    cursor: pointer;
    background-color: var(--brand-800);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E");
    color: #fff;
    font-family: var(--font);
}
.ct-map-load .bi { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-size: 1.7rem; margin-bottom: 8px; transition: transform .2s ease; }
.ct-map-load strong { font-size: 1.05rem; }
.ct-map-load small { color: #dccbe3; }
.ct-map-load:hover .bi { transform: translateY(-3px); }
.ct-address { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); }
.ct-address h2 { font-size: 1.1rem; margin-bottom: 8px; }
.ct-address address { font-style: normal; color: var(--ink-2); line-height: 1.6; margin-bottom: 14px; }
.ct-levels { padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.ct-levels h3 { font-size: 1rem; margin-bottom: 10px; }
.ct-levels ul { list-style: none; margin: 0; padding: 0; }
.ct-levels li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.ct-levels li:last-child { border-bottom: 0; }
.ct-levels span { font-weight: 700; color: var(--brand-700); }
.ct-levels a { font-weight: 700; color: var(--ink); text-decoration: none; }
.ct-levels a:hover { color: var(--brand-700); text-decoration: underline; }

@media (max-width: 960px) {
    .ct-cards { grid-template-columns: 1fr 1fr; }
    .ct-main .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .page-header:not(:has(.subnav)) { padding-bottom: 80px; }
    .ct-cards { grid-template-columns: 1fr; gap: 10px; }
    .ct-cards a, .ct-cards li > div { padding: 14px 16px; }
    .ct-main { padding: 36px 0 56px; }
    .ct-form-card { padding: 24px 18px; }
    .ct-row { grid-template-columns: 1fr; }
    .ct-submit { justify-self: stretch; justify-content: center; }
}

/* Galeri */
/* flow-root mencegah margin negatif panel filter "bocor" ke section (margin collapsing) */
.gallery { display: flow-root; padding: 0 0 88px; background: var(--paper); }
.g-toolbar {
    position: relative;
    z-index: 2;
    margin-top: -36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px 20px;
    flex-wrap: wrap;
    padding: 14px;
    border-radius: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(43, 13, 51, .10);
}
.g-type { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-2); }
.g-type button, .g-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font: 700 0.92rem var(--font);
    color: var(--ink-2);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.g-type button:hover { color: var(--brand-700); }
.g-type button[aria-pressed="true"] { background: var(--brand-700); color: #fff; box-shadow: 0 6px 14px rgba(106, 31, 126, .25); }
.g-levels { display: flex; flex-wrap: wrap; gap: 6px; }
.g-filter { border: 1px solid var(--line); border-radius: 999px; min-height: 40px; padding: 0 14px; }
.g-filter:hover { border-color: var(--brand-700); color: var(--brand-700); }
.g-filter[aria-pressed="true"] { background: var(--brand-100); border-color: var(--brand-700); color: var(--brand-800); }
.g-filter.is-zero:not([aria-pressed="true"]) { color: #9a8fa3; }
.count { min-width: 22px; padding: 0 6px; border-radius: 999px; background: rgba(0,0,0,.06); font-size: 0.75rem; line-height: 20px; text-align: center; }
.g-type button[aria-pressed="true"] .count { background: rgba(255,255,255,.22); }
.g-summary { margin: 22px 0 16px; font-size: 0.9rem; color: var(--ink-2); min-height: 1.4em; }

.g-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.g-item[hidden] { display: none; }
.g-album.is-featured { grid-column: span 2; grid-row: span 2; }
.g-album a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 240px;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: var(--brand-900);
    isolation: isolate;
}
.g-album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.g-album a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,13,51,0) 28%, rgba(43,13,51,.78) 62%, rgba(43,13,51,.96) 100%); }
.g-nocover { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; padding-bottom: 40px; background-color: var(--brand-700); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E"); }
.g-nocover .bi { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 1.4rem; color: #fff; }
.g-album a:hover img { transform: scale(1.06); }
.g-chip { position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 0.75rem; font-weight: 800; }
.g-count { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 5, 26, .6); backdrop-filter: blur(4px); font-size: 0.78rem; font-weight: 700; }
.g-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.g-body strong { font-size: 0.98rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g-body time { font-size: 0.8rem; color: #e3d3ea; }
.g-album.is-featured .g-body { padding: 26px; }
.g-album.is-featured .g-body strong { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }

.g-video > a, .g-video > button {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    font-family: var(--font);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.g-video > a:hover, .g-video > button:hover { border-color: #cfb3da; box-shadow: 0 14px 30px rgba(43, 13, 51, .10); transform: translateY(-3px); }
.g-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background-color: var(--brand-800); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h6M50 28h6M28 0v6M28 50v6'/%3E%3C/g%3E%3C/svg%3E"); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.g-playicon {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--gold-ink);
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(20,5,26,.35);
    transition: transform .2s ease;
}
.g-thumb.is-empty .g-playicon { background: rgba(255,255,255,.14); color: #fff; font-size: 1.3rem; box-shadow: none; }
.g-video > *:hover .g-playicon { transform: scale(1.08); }
.g-vbody { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.g-vbody strong { font-size: 0.95rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-vbody time { font-size: 0.8rem; color: var(--ink-2); }
.g-src { margin-top: 4px; font-size: 0.8rem; font-weight: 700; color: var(--brand-600); }

.g-empty { margin-top: 8px; padding: 56px 24px; text-align: center; border-radius: 18px; background: var(--bg-2); border: 1px dashed #cfb3da; }
.g-empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-size: 1.6rem; margin-bottom: 14px; }
.g-empty h3 { font-size: 1.2rem; margin-bottom: 8px; }
.g-empty p { max-width: 32em; margin: 0 auto 20px; color: var(--ink-2); }

.g-modal { width: min(960px, 92vw); padding: 0; border: 0; border-radius: 16px; background: var(--brand-900); color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.g-modal::backdrop { background: rgba(20, 5, 26, .75); backdrop-filter: blur(3px); }
.g-modal[open] { animation: g-pop .22s cubic-bezier(.2,.7,.2,1); }
@keyframes g-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.g-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; }
.g-modal-head h2 { color: #fff; font-size: 1rem; margin: 0; }
.g-modal-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.1rem; cursor: pointer; }
.g-modal-close:hover { background: rgba(255,255,255,.2); }
.g-modal-frame { aspect-ratio: 16 / 9; background: #000; }
.g-modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (prefers-reduced-motion: reduce) {
    .g-album img, .g-playicon, .g-video > a, .g-video > button { transition: none; }
    .g-album a:hover img, .g-video > *:hover { transform: none; }
    .g-modal[open] { animation: none; }
}
@media (max-width: 1100px) { .g-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .g-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .gallery { padding-bottom: 56px; }
    .g-toolbar { padding: 10px; gap: 10px; }
    .g-type { width: 100%; }
    .g-type button { flex: 1; justify-content: center; }
    .g-levels { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .g-filter { flex: none; }
    .g-grid { gap: 10px; }
    .g-album.is-featured { grid-column: 1 / -1; grid-row: auto; }
    .g-album.is-featured a { min-height: 300px; }
    .g-album a { min-height: 200px; }
    .g-album:not(.is-featured) .g-count { display: none; }
    .g-body { padding: 12px; }
    .g-body strong { font-size: 0.86rem; }
    .g-video { grid-column: 1 / -1; }
}

/* Panduan penerimaan siswa */
.pd { padding: 40px 0 88px; background: var(--paper); }
.pd-status-banner {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--bg-2);
    margin-bottom: 36px;
}
.pd-banner-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-700); color: #fff; font-size: 1.3rem; }
.pd-status-banner strong { display: block; font-size: 1.05rem; }
.pd-status-banner p { margin: 2px 0 0; font-size: 0.92rem; color: var(--ink-2); }
.pd-status-banner.is-open { background: #ecfdf3; border-color: #abefc6; }
.pd-status-banner.is-open .pd-banner-icon { background: #1f9d55; }
.pd-status-banner.is-closed { background: #fff8eb; border-color: #f7d9a4; }
.pd-status-banner.is-closed .pd-banner-icon { background: var(--gold); color: var(--gold-ink); }

.pd-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.pd-block + .pd-block { margin-top: 44px; }
.pd-block h2 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 18px; }
.pd-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-size: 0.95rem; font-weight: 800; flex: none; }
.pd-hint { margin: -8px 0 14px; font-size: 0.88rem; color: var(--ink-2); }

.pd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.pd-steps li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.pd-steps li::after { content: "\F285"; font-family: "bootstrap-icons"; position: absolute; right: -14px; top: 50%; translate: 0 -50%; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--brand-600); font-size: 0.75rem; }
.pd-steps li:last-child::after { display: none; }
.pd-steps .bi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-700); color: #fff; font-size: 1.2rem; }
.pd-steps strong { display: block; margin-bottom: 4px; }
.pd-steps span { font-size: 0.9rem; color: var(--ink-2); line-height: 1.5; }

.pd-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-checklist label {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: border-color .15s ease, background-color .15s ease;
}
.pd-checklist label:hover { border-color: #cfb3da; }
.pd-checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pd-check { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #cbbcd3; color: transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.pd-checklist input:checked + .pd-check { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.pd-checklist input:focus-visible + .pd-check { outline: 3px solid var(--gold); outline-offset: 2px; }
.pd-checklist label:has(input:checked) { background: var(--bg-2); border-color: var(--brand-700); }
.pd-progress { margin: 12px 0 0; font-size: 0.9rem; font-weight: 700; color: var(--brand-700); }

.pd-waves { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd-wave { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.pd-wave strong { display: block; }
.pd-wave div span { font-size: 0.9rem; color: var(--ink-2); }
.pd-wave-dot { width: 14px; height: 14px; border-radius: 50%; background: #cbbcd3; }
.pd-status { padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.pd-wave.is-open { border-color: #1f9d55; background: #ecfdf3; }
.pd-wave.is-open .pd-wave-dot { background: #1f9d55; box-shadow: 0 0 0 4px rgba(31,157,85,.18); }
.pd-wave.is-open .pd-status { background: #1f9d55; color: #fff; }
.pd-wave.is-soon .pd-wave-dot { background: var(--brand-600); }
.pd-wave.is-soon .pd-status { background: var(--brand-100); color: var(--brand-700); }
.pd-wave.is-done { opacity: .75; }

.pd-side { display: grid; gap: 16px; position: sticky; top: 100px; }
.pd-card { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
.pd-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 14px; }
.pd-card h2 .bi { color: var(--brand-600); }
.pd-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.pd-table th, .pd-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.pd-table tr:last-child th, .pd-table tr:last-child td { border-bottom: 0; }
.pd-table th { font-weight: 600; color: var(--ink-2); }
.pd-table td { font-weight: 700; text-align: right; }
.pd-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pd-contacts li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pd-contacts li:last-child { border-bottom: 0; }
.pd-contacts .avatar { width: 40px; height: 40px; font-size: 0.85rem; }
.pd-contacts .avatar.is-school { background: var(--brand-100); color: var(--brand-700); }
.pd-contacts strong { display: block; font-size: 0.93rem; }
.pd-contacts small { display: block; font-size: 0.82rem; color: var(--ink-2); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #18834a; color: #fff; }
.pd-profile { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--brand-800); color: #fff; text-decoration: none; font-weight: 800; }
.pd-profile small { display: block; font-size: 0.8rem; font-weight: 600; color: #dccbe3; }
.pd-profile .bi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); transition: transform .15s ease; }
.pd-profile:hover { color: #fff; background: var(--brand-700); }
.pd-profile:hover .bi { transform: translateX(3px); }

@media (max-width: 960px) {
    .pd-grid { grid-template-columns: 1fr; }
    .pd-side { position: static; }
}
@media (max-width: 600px) {
    .pd { padding: 28px 0 56px; }
    .pd-status-banner { grid-template-columns: 40px 1fr; padding: 16px; }
    .pd-banner-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .pd-status-banner .btn { grid-column: 1 / -1; justify-content: center; }
    .pd-steps { grid-template-columns: 1fr; }
    .pd-steps li { flex-direction: row; align-items: flex-start; }
    .pd-steps li::after { display: none; }
    .pd-wave { grid-template-columns: 14px 1fr; }
    .pd-status { grid-column: 2; justify-self: start; }
}

/* Tenaga pendidik */
.tp { padding: 40px 0 88px; background: var(--paper); }
.tp-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.tp-search { position: relative; display: block; flex: 0 1 340px; }
.tp-search .bi { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--ink-2); pointer-events: none; }
.tp-search input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px 0 40px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font: 400 0.95rem var(--font);
    color: var(--ink);
    background: var(--paper);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tp-search input:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 4px rgba(106, 31, 126, .14); }
.tp-group { margin-top: 28px; }
.tp-group[hidden] { display: none; }
.tp-group h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 16px; }
.tp-group h2::before { content: ""; width: 24px; height: 2px; background: var(--gold); }
.tp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tp-grid.is-lead { grid-template-columns: repeat(4, 1fr); }
.tp-card[hidden] { display: none; }
.tp-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.tp-card:hover { border-color: #cfb3da; box-shadow: 0 14px 30px rgba(43, 13, 51, .09); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .tp-card:hover { transform: none; } }
.tp-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.tp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transform: scale(1.45); transform-origin: center 22%; }
.tp-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.tp-lvs { display: flex; gap: 4px; margin-bottom: 4px; }
.tp-lv { padding: 2px 8px; border-radius: 999px; background: var(--brand-100); color: var(--brand-700); font-size: 0.7rem; font-weight: 800; }
.tp-card h3 { font-size: 0.98rem; line-height: 1.35; }
.tp-role { margin: 0; font-size: 0.86rem; color: var(--ink-2); line-height: 1.45; }
.tp-nick { display: inline-flex; align-items: center; gap: 6px; margin: auto 0 0; padding-top: 8px; font-size: 0.82rem; font-weight: 700; color: var(--brand-600); }
.tp-card.is-lead { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.tp-card.is-lead h3 { color: #fff; font-size: 1.05rem; }
.tp-card.is-lead .tp-role { color: var(--gold); font-weight: 700; }
.tp-card.is-lead .tp-nick { color: #dccbe3; }
.tp-card.is-lead .tp-lv { background: rgba(255,255,255,.14); color: #fff; }
.tp-card.is-lead .tp-photo { background: var(--brand-900); }
.tp .g-empty { margin-top: 24px; }
@media (max-width: 1100px) { .tp-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) { .tp-grid, .tp-grid.is-lead { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
    .tp { padding: 28px 0 56px; }
    .tp-search { flex: 1 1 100%; }
    .tp .g-levels { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .tp-grid, .tp-grid.is-lead { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tp-body { padding: 12px; }
    .tp-card h3 { font-size: 0.9rem; }
    .tp-role { font-size: 0.8rem; }
}

/* Alumni */
.al { padding: 40px 0 88px; background: var(--paper); }
.al-stats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.al-stats li { padding: 22px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.al-stats strong { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1.05; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.al-stats span { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.45; }

.al-card { padding: 28px; border-radius: 18px; border: 1px solid var(--line); }
.al-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.al-head h2 { font-size: 1.3rem; margin-bottom: 4px; }
.al-head p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.al-panel[hidden] { display: none; }

.al-chart { margin: 0; }
.al-chart figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; font-size: 0.92rem; }
.al-chart figcaption span { color: var(--ink-2); }
.al-plot { position: relative; height: 300px; padding-left: 36px; }
.al-grid { position: absolute; inset: 0 0 28px 36px; }
.al-grid span { position: absolute; left: 0; right: 0; bottom: var(--y); border-top: 1px solid #ece6f0; }
.al-grid span:first-child { border-top-color: #cfc3d6; }
.al-grid i { position: absolute; left: -36px; top: -9px; width: 28px; text-align: right; font-style: normal; font-size: 0.75rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.al-bars { position: absolute; inset: 0 0 0 36px; list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 2px; }
.al-bar { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 28px; outline: none; cursor: default; }
.al-col {
    position: relative;
    display: block;
    height: var(--h);
    margin: 0 18%;
    border-radius: 4px 4px 0 0;
    background: #802890;
    transition: background-color .15s ease;
}
.al-val { position: absolute; left: 50%; bottom: 100%; translate: -50% -4px; font-size: 0.8rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.al-year .y-short { display: none; }
.al-year { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 0.75rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.al-tip {
    position: absolute;
    left: 50%;
    bottom: calc(var(--h) + 40px);
    translate: -50% 0;
    z-index: 3;
    min-width: 128px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--brand-900);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(20,5,26,.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity .12s ease;
    pointer-events: none;
}
.al-tip b { display: block; color: var(--gold); }
.al-bar:hover .al-col, .al-bar:focus-visible .al-col { background: #5f1d6b; }
.al-bar:hover .al-tip, .al-bar:focus .al-tip { opacity: 1; visibility: visible; }
.al-bar:focus .al-col { background: #5f1d6b; }
.al-bar:focus-visible .al-col { outline: 3px solid var(--gold); outline-offset: 2px; }
.al-bar:first-child .al-tip { translate: -20% 0; }
.al-bar:last-child .al-tip { translate: -80% 0; }

.al-table { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.al-table summary { cursor: pointer; font-weight: 700; color: var(--brand-700); min-height: 32px; display: flex; align-items: center; }
.al-table table { width: 100%; max-width: 560px; margin-top: 12px; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.al-table th, .al-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.al-table thead th { font-size: 0.82rem; color: var(--ink-2); font-weight: 700; background: var(--bg-2); }
.al-table tbody th { font-weight: 700; }
.al .g-empty { margin-top: 0; }

@media (max-width: 960px) { .al-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
    .al { padding: 28px 0 56px; }
    .al-stats { gap: 10px; }
    .al-stats li { padding: 16px; }
    .al-stats strong { font-size: 1.8rem; }
    .al-card { padding: 18px 14px; }
    .al-head .tabs { width: 100%; }
    .al-plot { height: 240px; padding-left: 28px; }
    .al-grid { left: 28px; }
    .al-bars { left: 28px; gap: 1px; }
    .al-grid i { left: -30px; width: 24px; }
    .al-col { margin: 0 10%; }
    .al-year { font-size: 0.68rem; }
    .al-year .y-full { display: none; }
    .al-year .y-short { display: inline; }
}

/* Testimoni */
.testi { padding: 72px 0 88px; background: var(--paper); }
.testi .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.testi-summary {
    position: sticky;
    top: 100px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--bg-2);
    border: 1px solid var(--line);
}
.testi-summary h2 { font-size: 1rem; margin-bottom: 8px; color: var(--ink-2); }
.testi-avg { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.testi-avg strong { font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--brand-700); }
.testi-avg span { color: var(--ink-2); }
.stars { display: inline-flex; gap: 3px; color: var(--gold); font-size: 1.05rem; }
.stars .bi-star { color: #d9c6e1; }
.testi-total { margin: 8px 0 20px; font-size: 0.9rem; color: var(--ink-2); }
.testi-dist { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.testi-dist li { display: grid; grid-template-columns: 12px 14px 1fr 18px; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-2); }
.testi-dist .bi { color: var(--gold); font-size: 0.8rem; }
.testi-dist .bar { height: 8px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.testi-dist .bar span { display: block; height: 100%; background: var(--brand-700); border-radius: 4px; }
.testi-dist .cnt { text-align: right; font-weight: 700; color: var(--ink); }

.testi-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.testi-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    transition: border-color .15s ease, box-shadow .2s ease;
}
.testi-card:hover { border-color: #cfb3da; box-shadow: 0 12px 28px rgba(43, 13, 51, .07); }
.testi-card::after {
    content: "\201D";
    position: absolute;
    right: 20px;
    top: 6px;
    font: 5rem/1 Georgia, serif;
    color: var(--brand-100);
    pointer-events: none;
}
.testi-card blockquote { margin: 0; }
.testi-card blockquote p { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-700); color: #fff; font-weight: 800; font-size: 0.9rem; }
.testi-person a { font-weight: 700; color: var(--ink); text-decoration: none; }
.testi-person a:hover { color: var(--brand-700); text-decoration: underline; }

.testi-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding: 24px 28px;
    border-radius: var(--radius);
    background: var(--brand-800);
    color: #e3d3ea;
}
.testi-share h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.testi-share p { margin: 0; font-size: 0.93rem; max-width: 32em; }
.testi-share .btn { flex: none; background: var(--gold); color: var(--gold-ink); }
.testi-share .btn:hover { background: #dc9c0c; color: var(--gold-ink); }

@media (max-width: 960px) {
    .testi .wrap { grid-template-columns: 1fr; gap: 28px; }
    .testi-summary { position: static; }
}
@media (max-width: 600px) {
    .testi { padding: 48px 0 56px; }
    .testi-grid { grid-template-columns: 1fr; }
    .testi-share { flex-direction: column; align-items: stretch; padding: 22px 20px; }
    .testi-share .btn { justify-content: center; }
}

@media (max-width: 960px) {
    .about-intro .wrap, .mi .wrap { grid-template-columns: 1fr; gap: 36px; }
    .about-photo { position: static; }
    .journey-list { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .journey-list::before { display: none; }
    .commit-list, .visi-pillars { grid-template-columns: 1fr; }
    .misi-list { grid-template-columns: 1fr; }
    .visi-panel { padding: 36px 28px; }
}
@media (max-width: 600px) {
    .page-header { padding-top: 28px; }
    .subnav { margin-top: 24px; }
    .about-intro, .mi, .journey, .commit { padding: 56px 0; }
    .about-photo img { aspect-ratio: 16 / 10; }
    .mi-list { grid-template-columns: 1fr 1fr; }
    .journey-list { grid-template-columns: 1fr; gap: 28px; }
    .visi { padding-top: 48px; }
    .visi-panel { padding: 28px 20px; }
    .visi-panel::before { font-size: 9rem; right: 12px; top: -16px; }
    .misi { padding: 48px 0 56px; }
    .misi-list li { padding: 16px; gap: 4px 14px; grid-template-columns: 38px 1fr; }
    .misi-num { width: 38px; height: 38px; }
    .next-page { font-size: 1rem; padding: 18px; }
}

/* ---------- Pagination (dipakai galeri, berita, testimoni; Blade: vendor/pagination/ashshibgoh) ---------- */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 24px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.pagination[hidden] { display: none; }
.pg-info { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.pg-info b { color: var(--ink); }
.pg-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.pg-list > li > a, .pg-list > li > button, .pg-list > li > span {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    font: 700 0.92rem var(--font);
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
}
.pg-list a:hover, .pg-list button:hover { border-color: var(--brand-700); color: var(--brand-700); }
.pg-list a:active, .pg-list button:active { transform: scale(.96); }
.pg-list [aria-current="page"] { background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: 0 6px 14px rgba(106, 31, 126, .25); cursor: default; }
.pg-list [aria-current="page"]:hover { color: #fff; }
.pg-list .pg-gap { border: 0; background: none; min-width: 24px; padding: 0; color: var(--ink-2); cursor: default; }
.pg-list .pg-step { display: inline-flex; gap: 8px; padding: 0 16px; }
.pg-list .pg-step[aria-disabled="true"] { color: #b6aabd; border-color: var(--line); background: var(--bg-2); cursor: not-allowed; pointer-events: none; }
.pg-list .pg-compact { display: none; border: 0; background: none; font-weight: 600; color: var(--ink-2); cursor: default; }
@media (prefers-reduced-motion: reduce) { .pg-list a:active, .pg-list button:active { transform: none; } }
@media (max-width: 600px) {
    .pagination { justify-content: center; }
    .pg-info { width: 100%; text-align: center; }
    .pg-list { width: 100%; justify-content: space-between; }
    .pg-list .pg-num, .pg-list .pg-gap { display: none; }
    .pg-list .pg-compact { display: inline-grid; }
    .pg-list .pg-step .pg-label { display: none; }
    .pg-list .pg-step { padding: 0; min-width: 48px; height: 48px; }
}

/* ---------- Footer: senada dengan hero & CTA ---------- */
.site-footer {
    position: relative;
    background: var(--brand-900);
    color: #d6c3de;
    font-size: 0.93rem;
    border-top: 3px solid var(--gold);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.9fr 1.15fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 56px;
}
.footer-logo { display: inline-block; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--paper); margin-bottom: 18px; }
.footer-logo img { width: 180px; }
.footer-brand p { margin: 0 0 22px; max-width: 28em; line-height: 1.6; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social-label { margin: 22px 0 10px; font-size: 0.82rem; font-weight: 700; color: #cdb4d8; }
.footer-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 1.15rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--gold-ink); transform: translateY(-2px); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .footer-social a:hover { transform: none; } }
.site-footer .btn-gold, .site-footer .btn-gold:hover { color: var(--gold-ink); }

.site-footer h3 {
    position: relative;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
}
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: #d6c3de; }
.footer-col a:hover { color: #fff; }
.footer-levels li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-levels li > a:first-child { color: #fff; font-weight: 700; }
.footer-levels .ft-sub { font-size: 0.85rem; color: #cdb4d8; }
.footer-levels .ft-sub:hover { color: var(--gold); }

.footer-visit address { font-style: normal; }
.footer-visit p { display: grid; grid-template-columns: 22px 1fr; gap: 8px; margin: 0 0 12px; line-height: 1.55; }
.footer-visit .bi { color: var(--gold); }
.footer-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.footer-map:hover { border-color: var(--gold); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 0.85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom a { color: #d6c3de; }
.footer-bottom a:hover { color: #fff; }
.to-top .bi { margin-left: 4px; }

.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1f9d55;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.wa-float:hover { background: #18834a; color: #fff; }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) and (min-width: 961px) {
    .main-nav > ul > li > a.nav-cta { display: none; }
    .main-nav > ul > li > a, .main-nav > ul > li > button { padding: 0 9px; }
}

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        padding: 8px 24px 20px;
    }
    .main-nav.is-open { display: block; }
    .main-nav > ul { flex-direction: column; align-items: stretch; }
    .main-nav > ul > li > a, .main-nav > ul > li > button { width: 100%; justify-content: space-between; padding: 0 4px; }
    .main-nav a[aria-current="page"] { box-shadow: none; }
    .dropdown, .dd-jenjang, .dd-galeri, .dd-profil {
        position: static;
        display: none;
        width: auto;
        translate: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        margin: 4px 0 12px;
        padding: 12px;
        box-shadow: none;
        border-radius: 12px;
        background: var(--bg-2);
    }
    .dropdown::before { display: none; }
    .dropdown li, li.is-open > .dropdown li { opacity: 1; transform: none; transition: none; }
    li.is-open > .dropdown { display: block; }
    li.is-open > .dd-profil { display: grid; grid-template-columns: 1fr; gap: 12px; }
    .dd-aside { padding: 0; background: none; }
    .dd-levels { grid-template-columns: 1fr 1fr; }
    .dd-level { background: var(--paper); }
    .main-nav > ul > li > a.nav-cta { margin: 12px 0 0; justify-content: center; }

    .hero { padding: 44px 0 56px; }

    .welcome .wrap { gap: 48px; }
    .program-grid { grid-template-columns: 1fr; }
    .facility-list { display: flex; flex-wrap: wrap; gap: 10px; }
    .facility-list li { flex-direction: row; align-items: center; padding: 10px 14px; }
    .facility-list .bi { font-size: 1.1rem; }
    .program-feature { grid-row: auto; min-height: 340px; }
    .news-lead a { min-height: 380px; }
    .hero .wrap, .welcome .wrap, .news-panel { grid-template-columns: 1fr; gap: 36px; }
    .levels-head { grid-template-columns: 1fr; margin-bottom: 48px; }
    .levels-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
    .levels-grid::before { display: none; }
    .app .wrap { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .admission .wrap { grid-template-columns: 1fr; gap: 36px; }
    .admission-photo { max-width: 460px; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .wrap { padding: 0 18px; }
    .topbar .hide-sm { display: none; }
    .brand img { width: 170px; }
    .section-head { display: block; }
    .levels { padding: 64px 0 72px; }
    .levels-facts div { padding-right: 14px; margin-right: 14px; }
    .levels-facts dd { font-size: 1.2rem; }
    .levels-facts dt { font-size: 0.78rem; }
    .levels-grid { grid-template-columns: 1fr; gap: 32px; }
    .level-step { flex-direction: row; justify-content: flex-start; gap: 10px; margin-bottom: 12px; }
    .level-num { width: 32px; height: 32px; font-size: 0.9rem; box-shadow: none; }
    .welcome, .program, .app, .news { padding: 60px 0; }
    .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 14px; width: 100%; scrollbar-width: none; }
    .tab { flex: none; padding: 0 14px; }
    .news-lead a { min-height: 340px; }
    .news-lead-body { padding: 20px; }
    .news-list a { grid-template-columns: 76px 1fr; gap: 12px; padding: 10px; }
    .news-thumb { width: 76px; }
    .news-more { align-self: stretch; justify-content: center; }
    .mihrab { padding: 26px 16px 18px; }
    .mihrab-word { margin: 34px 0 22px; }
    .mihrab-word span { font-size: 2.8rem; }
    .welcome-actions .btn { flex: 1 1 100%; justify-content: center; }
    .app-features { grid-template-columns: 1fr; gap: 12px; }
    .app-features li { flex-direction: row; align-items: flex-start; gap: 12px; }
    .app-visual::before { width: 320px; height: 320px; }
    .phone { width: 268px; }
    .phone-screen { padding-left: 12px; padding-right: 12px; }
    .phone-grid { gap: 8px; }
    .phone-grid li { font-size: 0.66rem; padding: 12px 2px 10px; }
    .phone-grid .bi { width: 36px; height: 36px; }
    .phone-screen { min-height: 460px; }
    .program-items { grid-template-columns: 1fr; }
    .program-group { padding: 22px 18px; }
    .feature-num { font-size: 3.2rem; }
    .program-feature figcaption { left: 20px; right: 20px; bottom: 20px; }
    .facility-head { display: block; }
    .facility-head p { margin-top: 6px; }
    .facility-list { gap: 8px; }
    .facility-list li { font-size: 0.88rem; padding: 9px 12px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
    .footer-actions .btn { flex: 1 1 auto; justify-content: center; }
    .footer-col[aria-labelledby="ft-sekolah"] ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
    .footer-bottom .wrap { flex-direction: column; align-items: flex-start; padding-top: 18px; padding-bottom: 80px; }
    .admission { padding: 48px 0; }
    .admission-photo img { aspect-ratio: 16 / 10; border-radius: 120px 120px var(--radius) var(--radius); }
    .admission-badge { left: 12px; bottom: 12px; padding: 10px 14px; }
    .admission-badge strong { font-size: 1.1rem; }
    .admission-levels { grid-template-columns: 1fr 1fr; }
    .admission-contact .btn { flex: 1 1 100%; justify-content: center; }
    .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
    .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
    .hero-facts div { padding: 0 10px; margin: 0; }
    .hero-facts div:first-child { padding-left: 0; }
    .hero-facts dd { font-size: 1.2rem; }
    .hero-facts dt { font-size: 0.75rem; }
}

/* ===== Tambahan implementasi Laravel ===== */
img.avatar { object-fit: cover; padding: 0; }
.ct-status.is-success { padding: 12px 14px; border-radius: 10px; background: #e7f6ec; color: #145c2e; font-weight: 600; }
.ct-status.is-error { padding: 12px 14px; border-radius: 10px; background: #fdecec; color: #8a1c1c; font-weight: 600; }
.ct-submit[disabled] { opacity: .7; cursor: progress; }

/* Artikel / halaman topik */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 0 0; color: rgba(255,255,255,.82); font-size: 0.92rem; }
.article-meta .lv { padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 0.78rem; letter-spacing: .04em; }
.article-meta i { margin-right: 6px; }
.article { padding: 56px 0 80px; background: var(--paper); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.article-grid.is-page { grid-template-columns: minmax(0, 820px); justify-content: center; }
.article-photo { margin: 0 0 32px; }
.article-photo img { width: 100%; height: auto; max-height: 620px; object-fit: cover; border-radius: var(--radius); background: var(--bg-2); }
.article-video { position: relative; margin: 0 0 32px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--brand-900); }
.article-video.is-portrait { aspect-ratio: 9 / 14; max-width: 460px; margin-inline: auto; }
.article-video iframe, .article-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-video blockquote { margin: 0 auto !important; }
.prose { color: var(--ink); font-size: 1.05rem; line-height: 1.8; overflow-wrap: anywhere; }
.prose p,
.prose li,
.lv-text > p,
.lv-text .prose-more > p,
.about-intro-text > p,
.about-intro-text .prose-more > p { text-align: justify; text-justify: inter-word; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; color: var(--brand-800); line-height: 1.3; }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--gold); color: var(--ink-2); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.album { margin-top: 40px; }
.album h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 16px; }
.album h2 .count { padding: 2px 10px; border-radius: 999px; background: var(--brand-100); color: var(--brand-700); font-size: 0.85rem; }
.album-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.album-link { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-2); }
.album-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
a.album-link:hover img { transform: scale(1.05); }
a.album-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.article-files { margin-top: 36px; }
.article-files h2 { font-size: 1.2rem; margin-bottom: 12px; }
.article-files ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.article-files a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.article-files a:hover { border-color: var(--brand-600); background: var(--bg-2); }
.article-files i { font-size: 1.3rem; color: var(--brand-700); }
.article-files small { margin-left: auto; color: var(--ink-2); font-weight: 700; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share > span { font-weight: 700; color: var(--ink-2); margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; min-width: 42px; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--brand-700); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.share a:hover, .share button:hover { border-color: var(--brand-600); background: var(--brand-100); }
.article-aside { display: grid; gap: 20px; position: sticky; top: 104px; }
.article-aside .pd-card p { color: var(--ink-2); margin: 0 0 14px; }
.aside-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.article-aside .news-list { margin: 0; }
.article-aside .news-more { margin-top: 12px; }
.lightbox { width: min(96vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: #120617; color: #fff; }
.lightbox::backdrop { background: rgba(18, 6, 23, .82); }
.lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.2rem; cursor: pointer; }
.lightbox-close { top: 10px; right: 10px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav[data-dir="-1"] { left: 10px; }
.lightbox-nav[data-dir="1"] { right: 10px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-count { margin: 0; padding: 10px; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,.75); }
@media (max-width: 960px) {
    .article-grid { grid-template-columns: 1fr; }
    .article-aside { position: static; }
}
@media (prefers-reduced-motion: reduce) { .album-link img { transition: none; } }

/* Galeri & daftar: kontrol sebagai tautan (halaman per jenjang di server) */
.g-type a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
    border-radius: 10px; font: 700 0.92rem var(--font); color: var(--ink-2); text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.g-type a:hover { color: var(--brand-700); }
.g-type a[aria-current="page"] { background: var(--brand-700); color: #fff; box-shadow: 0 6px 14px rgba(106, 31, 126, .25); }
a.g-filter { text-decoration: none; }
.g-filter[aria-current="page"] { background: var(--brand-100); border-color: var(--brand-700); color: var(--brand-800); }
.gallery .pagination { margin-top: 32px; }
@media (max-width: 640px) { .g-type a { flex: 1; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .g-type a { transition: none; } }

/* Alumni: detail angkatan & tautan jenjang */
.al-bar { cursor: pointer; }
.al-bar.is-selected .al-col { background: var(--gold); }
.al-bar:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.al-detail { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.al-detail-hint { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.al-detail-hint i { margin-right: 8px; color: var(--brand-700); }
.al-detail-year { display: block; font-weight: 800; color: var(--brand-800); font-size: 1.1rem; margin-bottom: 12px; }
.al-detail dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.al-detail dl div { padding: 12px 14px; border-radius: 10px; background: var(--paper); }
.al-detail dt { font-size: 0.8rem; color: var(--ink-2); }
.al-detail dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.al-detail dd.is-up { color: #1d7a3e; }
.al-detail dd.is-down { color: #a12a2a; }
.al-more { margin-top: 20px; }
.al-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }
.al-levels a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; background: var(--paper); }
.al-levels a:hover { border-color: var(--brand-700); background: var(--bg-2); }
.al-levels small { color: var(--ink-2); }
.al-levels i { margin-left: auto; color: var(--brand-700); }
@media (max-width: 760px) { .al-detail dl { grid-template-columns: 1fr 1fr; } }

/* Profil jenjang: tombol di bawah fakta */
.lv-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lv-cta .btn { flex: 0 0 auto; }
@media (max-width: 520px) { .lv-cta .btn { flex: 1 1 100%; justify-content: center; } }

/* Dua kolom teks + foto: tetap rapi walau teks dari DB panjang */
.lv-intro .wrap, .about-intro .wrap { align-items: start; }
@media (min-width: 961px) {
    .lv-media { position: sticky; top: 104px; }
}
.prose-more > p:first-child { margin-top: 0; }
.prose-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 8px 0;
    border: 0; background: none; color: var(--brand-700); font: 700 0.95rem var(--font); cursor: pointer;
}
.prose-toggle:hover { color: var(--brand-800); text-decoration: underline; text-underline-offset: 3px; }
.prose-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.prose-toggle i { transition: transform .2s ease; }
.prose-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .prose-toggle i { transition: none; } }

/* ===== Foto utuh tanpa terpotong =====
   Bingkai ".fit" (style="--fit:url(foto)") menampilkan foto utuh (contain),
   sisa bingkai diisi versi blur dari foto yang sama supaya tetap rapi. */
.fit { overflow: hidden; isolation: isolate; background-color: var(--brand-100); }
.fit::before {
    content: ""; position: absolute; inset: -32px; z-index: -3;
    background: var(--fit, none) center / cover no-repeat;
    filter: blur(24px) saturate(1.15) brightness(.78);
}
.fit img { object-fit: contain !important; object-position: center !important; transform: none !important; }
.news-thumb.fit, .tp-photo.fit, .album-link.fit, .article-photo.fit, .g-thumb.fit,
.lv-photo-main.fit, .about-photo.fit, .adm-img.fit { position: relative; }
.about-photo.fit { position: sticky; }
@media (max-width: 960px) { .about-photo.fit { position: relative; } }
.about-photo.fit, .article-photo.fit { border-radius: var(--radius); }
.about-photo.fit img { border-radius: 0; }
.article-photo.fit img { border-radius: 0; background: none; max-height: 620px; }
.news-thumb.fit img, .album-link.fit img, .g-thumb.fit img, .tp-photo.fit img { width: 100%; height: 100%; }

/* Kolase foto profil jenjang: bingkai berpindah dari <img> ke pembungkus */
.lv-photo-main.fit, .lv-photo-sub.fit { display: block; }
.lv-photo-main.fit img, .lv-photo-sub.fit img { display: block; width: 100%; height: 100%; }

/* Foto penerimaan: bingkai lengkung & garis emas di pembungkus agar badge tidak terpotong */
.admission-photo .adm-img { display: block; aspect-ratio: 5 / 4; border-radius: 200px 200px var(--radius) var(--radius); border: 4px solid rgba(242, 176, 30, .55); }
.admission-photo .adm-img img { display: block; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
@media (max-width: 600px) {
    .admission-photo .adm-img { aspect-ratio: 16 / 10; border-radius: 120px 120px var(--radius) var(--radius); }
}

/* Pertanyaan umum (FAQ) */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\F282"; font-family: "bootstrap-icons"; color: var(--brand-700); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 12px; }
.faq-item p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* Testimoni: ulasan Google */
.testi-google { display: grid; gap: 8px; margin-top: 18px; }
.testi-google .btn { justify-content: center; }
.testi-card.is-google { border-top: 3px solid #4285f4; }
.testi-who { display: flex; flex-direction: column; min-width: 0; }
.testi-who small { color: var(--ink-2); font-size: 0.8rem; }
.testi-attr { margin: 14px 0 0; font-size: 0.85rem; color: var(--ink-2); }
.testi-attr i { margin-right: 6px; }
.testi-share-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Ikon dari pemilih ikon dashboard (FontAwesome) di program & fasilitas */
.program-items .fa { color: var(--gold); font-size: 1.05rem; line-height: 1.5; width: 1.25em; text-align: center; }
.facility-list .fa { font-size: 1.25rem; color: var(--gold); width: 1.3em; text-align: center; }
.group-icon .fa { font-size: 1.1rem; }
@media (max-width: 960px) { .facility-list .fa { font-size: 1.05rem; } }

/* Beranda: testimoni / ulasan Google */
.testi-home { padding: 72px 0; background: var(--bg-2); }
.testi-home-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 28px; }
.testi-home-head h2 { margin: 6px 0 0; }
.g-rating { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 0.92rem; }
.g-rating:hover { border-color: var(--brand-700); }
.g-rating .bi-google { color: #4285f4; font-size: 1.1rem; }
.g-rating strong { font-size: 1.05rem; color: var(--brand-700); }
.testi-grid.is-home { grid-template-columns: repeat(3, 1fr); }
.testi-grid.is-home .testi-card blockquote p { font-size: 1rem; font-weight: 500; line-height: 1.65; }
.testi-more { font-size: 0.9rem; font-weight: 700; color: var(--brand-700); }
.testi-home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 960px) { .testi-grid.is-home { grid-template-columns: 1fr; } }

/* ---------- WhatsApp: label unit di tombol melayang + panel pilih unit ---------- */
.wa-float { overflow: visible; }
.wa-float-tag {
    position: absolute; top: -6px; right: -4px; padding: 2px 6px; border-radius: 999px;
    background: var(--gold); color: var(--gold-ink); font-size: .66rem; font-weight: 800; letter-spacing: .03em; line-height: 1.3;
    box-shadow: 0 0 0 2px #fff;
}
.wa-chooser {
    position: fixed; right: 20px; bottom: 88px; z-index: 41; width: min(360px, calc(100vw - 32px));
    padding: 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(43, 13, 51, .22);
}
.wa-chooser[hidden] { display: none; }
.wa-chooser-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.wa-chooser-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e7f6ec; color: #1f9d55; font-size: 1.25rem; }
.wa-chooser-title { margin: 0; font-weight: 800; color: var(--ink); line-height: 1.3; }
.wa-chooser-sub { margin: 2px 0 0; font-size: .85rem; line-height: 1.45; color: var(--ink-2); }
.wa-chooser-close {
    display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin: -6px -6px 0 auto;
    border: 0; border-radius: 10px; background: none; color: var(--ink-2); cursor: pointer;
}
.wa-chooser-close:hover { background: var(--bg-2); color: var(--ink); }
.wa-chooser-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wa-chooser-list a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
    color: var(--ink); text-decoration: none; transition: border-color .15s ease, background-color .15s ease;
}
.wa-chooser-list a:hover { border-color: #1f9d55; background: #f3fbf6; }
.wa-chooser-list a:focus-visible, .wa-chooser-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wa-unit-code {
    display: grid; place-items: center; flex: none; min-width: 58px; height: 34px; padding: 0 8px; border-radius: 8px;
    background: var(--brand-100); color: var(--brand-700); font-size: .8rem; font-weight: 800; letter-spacing: .03em;
}
.wa-unit-text { display: grid; flex: 1; min-width: 0; }
.wa-unit-text strong { font-size: .92rem; line-height: 1.3; }
.wa-unit-text small { font-size: .8rem; color: var(--ink-2); }
.wa-chooser-list .bi-chevron-right { color: #1f9d55; }
@media (max-width: 480px) { .wa-chooser { right: 16px; bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .wa-chooser-list a { transition: none; } }
