/* ==========================================================
   LPK PPI – Stylesheet utama
   ========================================================== */

:root {
  --navy: #0A2350;
  --navy-2: #12306A;
  --navy-3: #071A3D;
  --blue: #1847C4;
  --blue-dark: #0F3494;
  --blue-soft: #E1EAFB;
  --gold: #C9922E;
  --gold-light: #E3B964;
  --gold-soft: #FBF1DE;
  --orange-soft: #FDEBD3;
  --orange-text: #8A4B08;
  --ground: #F4F6FA;
  --text: #14213D;
  --muted: #4A5670;
  --muted-on-navy: #BFCBE3;
  --border: #E3E8F1;
  --border-strong: #C9D3E6;
  --white: #FFFFFF;
  --danger: #B42318;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px rgba(10, 35, 80, .16);
  --container: 1200px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.ic { flex-shrink: 0; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; text-align: center; line-height: 1.2; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; background: none; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--outline-gold { color: #fff; border-color: var(--gold-light); }
.btn--outline-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--gold-soft); color: var(--navy); }
.btn--outline-white { color: #fff; border-color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--navy); }
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--navy); background: var(--ground); }
.btn--danger { color: var(--danger); border-color: #F1C4C0; background: #fff; }
.btn--danger:hover { background: #FDECEA; color: var(--danger); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #D6DEEE; font-size: 13px; }
.topbar__inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__contact { display: flex; gap: 28px; }
.topbar a { color: #D6DEEE; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .ic { color: var(--gold-light); }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(10, 35, 80, .08); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 60px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav li a { color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 0; position: relative; }
.main-nav li a:hover, .main-nav li a[aria-current="page"] { color: var(--blue); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px; }
.main-nav__cta-mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

/* ---------- Umum ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0 72px; }
.section--tight-bottom { padding-bottom: 96px; }
.section--muted { background: var(--ground); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .section-title { color: #fff; }
.eyebrow { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow--gold { color: var(--gold-light); }
.section-title { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; }
.section-title--narrow { max-width: 720px; margin-bottom: 40px; }
.section-sub { margin-top: 12px; color: var(--muted-on-navy); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.pill { display: inline-block; padding: 8px 14px; background: var(--blue-soft); color: var(--blue-dark); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.card { border-radius: var(--radius); padding: 28px; }
.card--muted { background: var(--ground); }
.card--outline { border: 1px solid var(--border); }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checklist .ic { color: var(--blue); margin-top: 3px; stroke-width: 2.4; }
.link-strong { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.badge { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.badge--mr { background: var(--blue-soft); color: var(--blue-dark); }
.badge--agen { background: var(--orange-soft); color: var(--orange-text); }
.badge--gold { background: var(--gold-soft); color: #7A5310; }

/* ---------- Hero ---------- */
.hero { background: var(--ground); padding: 72px 0 128px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -1px; line-height: 1.12; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.65; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 8px 0 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.stat dd { margin: 0; font-size: 30px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.stat dt { font-size: 13px; color: var(--muted); line-height: 1.4; }
.hero__media { position: relative; height: 540px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); position: relative; }
.hero__shape { position: absolute; right: -24px; top: -24px; width: 220px; height: 220px; background: var(--gold); opacity: .18; border-radius: 28px; transform: rotate(12deg); }
.next-class { position: absolute; left: -40px; bottom: 36px; width: 330px; padding: 18px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; color: var(--navy); }
.next-class:hover { color: var(--navy); box-shadow: 0 22px 48px rgba(10, 35, 80, .24); }
.next-class__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.next-class__text { display: flex; flex-direction: column; gap: 3px; }
.next-class__label { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .4px; text-transform: uppercase; }
.next-class__title { font-size: 15px; font-weight: 700; line-height: 1.35; }

/* ---------- Alur ---------- */
.flow-wrap { margin-top: -56px; position: relative; z-index: 2; }
.flow { background: var(--navy); color: #fff; border-radius: 20px; padding: 36px 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.flow li { display: flex; gap: 14px; align-items: flex-start; }
.flow strong { display: block; font-size: 16px; margin-bottom: 4px; }
.flow span:not(.flow__num) { font-size: 14px; color: var(--muted-on-navy); line-height: 1.5; }
.flow__num { width: 40px; height: 40px; border-radius: 999px; background: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.flow__num--gold { background: var(--gold); color: var(--navy); }

/* ---------- Tentang ---------- */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: start; }
.about__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.about__text .eyebrow { margin-bottom: 0; }
.about__text p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.about__cards { display: flex; flex-direction: column; gap: 16px; }
.vision { font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.6; }

/* ---------- Program ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 12px; flex-wrap: wrap; }
.tabs--left { margin-bottom: 28px; }
.tabs__btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; }
.tabs__btn:hover { color: var(--navy); background: var(--ground); }
.tabs__btn.is-active { background: var(--navy); color: #fff; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.program-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.program-card[hidden] { display: none; }
.program-card__top { display: flex; justify-content: space-between; align-items: center; }
.level { font-size: 13px; font-weight: 800; color: var(--navy); padding: 5px 10px; border: 1.5px solid var(--navy); border-radius: 8px; }
.program-card h3 { font-size: 20px; line-height: 1.35; min-height: 54px; }
.program-card__meta { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px; padding: 14px 0; margin: 0; border-top: 1px solid #EEF1F6; border-bottom: 1px solid #EEF1F6; }
.program-card__meta dt { font-size: 12px; color: var(--muted); }
.program-card__meta dd { margin: 0; font-size: 15px; font-weight: 700; }
.program-card__target dd { line-height: 1.35; }
.schedule-item__date .ic { color: #fff; }
.schedule-empty { display: flex; align-items: center; gap: 20px; padding: 28px; border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--ground); }
.schedule-empty__icon { width: 64px; height: 64px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.schedule-empty strong { display: block; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.schedule-empty p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.program-card__month { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.program-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; border-radius: 20px; width: min(560px, calc(100% - 32px)); box-shadow: var(--shadow); color: var(--text); }
.modal::backdrop { background: rgba(7, 26, 61, .55); }
.modal__body { padding: 36px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.modal__body .eyebrow { margin-bottom: 0; }
.modal__body h3 { font-size: 24px; padding-right: 40px; }
.modal__lengkap { color: var(--muted); }
.modal__close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--ground); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal .note { margin-top: 0; }

/* ---------- Jadwal ---------- */
.schedule { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; }
.schedule__intro { display: flex; flex-direction: column; gap: 18px; }
.schedule__intro .eyebrow { margin-bottom: 0; }
.schedule__intro p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.schedule__list { display: flex; flex-direction: column; gap: 14px; }
.schedule-item { display: flex; align-items: center; gap: 24px; padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.schedule-item__date { width: 84px; height: 84px; flex-shrink: 0; border-radius: 14px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.schedule-item__date span { font-size: 22px; font-weight: 800; line-height: 1.1; }
.schedule-item__date small { font-size: 13px; color: var(--muted-on-navy); }
.schedule-item__info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.schedule-item__cat { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .5px; text-transform: uppercase; }
.schedule-item__info strong { font-size: 18px; color: var(--navy); }
.schedule-item__meta { font-size: 14px; color: var(--muted); }

/* ---------- Instruktur ---------- */
.instructor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.instructor { background: var(--navy-2); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.instructor__avatar { width: 64px; height: 64px; border-radius: 999px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.instructor strong { font-size: 16px; line-height: 1.35; }
.instructor__title { font-size: 13px; font-weight: 600; color: var(--gold-light); }
.instructor__meta { font-size: 13px; color: var(--muted-on-navy); margin-top: 6px; }

.page-hero { background: var(--navy); color: #fff; padding: 56px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 16px 0 12px; }
.page-hero p { color: var(--muted-on-navy); max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted-on-navy); }
.breadcrumb a { color: var(--gold-light); }
.instructor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.instructor-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; }
.instructor-row[hidden] { display: none; }
.instructor-row__avatar { width: 52px; height: 52px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.instructor-row__info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.instructor-row__info strong { color: var(--navy); }
.instructor-row__info span { font-size: 14px; color: var(--muted); }

/* ---------- Fasilitas ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.gallery img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); }
.facility-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.facility { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.facility .ic { color: var(--blue); }
.facility strong { font-size: 16px; color: var(--navy); }
.facility span { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band { background: var(--blue); border-radius: var(--radius-lg); padding: 56px 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; color: #fff; position: relative; overflow: hidden; }
.cta-band__shape { position: absolute; right: 22%; top: -60px; width: 200px; height: 200px; border-radius: 32px; background: var(--gold); opacity: .35; transform: rotate(18deg); }
.cta-band__text { position: relative; max-width: 700px; display: flex; flex-direction: column; gap: 12px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.25; }
.cta-band p { color: #DCE6FB; font-size: 17px; }
.cta-band__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Kontak & form ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 48px; }
.contact__info { display: flex; flex-direction: column; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin: 24px 0; }
.contact-list li { display: flex; gap: 14px; }
.contact-list__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list strong { display: block; }
.contact-list span { color: var(--muted); font-size: 15px; }
.map { flex: 1; min-height: 240px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--ground); }
.map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }
.form-card { background: var(--ground); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 18px; align-self: start; }
.form-card h3 { font-size: 22px; font-weight: 800; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .admin-status input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; font-size: 15px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 71, 196, .18); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field__error { font-size: 13px; color: var(--danger); font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; }
.alert--ok { background: #E6F4EA; color: #14532D; border: 1px solid #B7E0C2; }
.alert--error { background: #FDECEA; color: var(--danger); border: 1px solid #F5C2BD; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: var(--muted-on-navy); padding: 64px 0 32px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer__logo { display: inline-flex; align-items: center; margin-bottom: 16px; }
.site-footer__logo img { height: 48px; width: auto; display: block; }
.site-footer__logo span { font-size: 20px; font-weight: 800; color: #fff; }
.site-footer__brand p { line-height: 1.7; }
.site-footer__brand p:first-of-type { font-weight: 700; }
.site-footer__brand p + p { margin-top: 16px; }
.site-footer__title { font-size: 15px; color: #fff; margin-bottom: 14px; }
.site-footer__list { display: flex; flex-direction: column; gap: 10px; line-height: 1.55; }
.site-footer a { color: var(--muted-on-navy); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__bottom { border-top: 1px solid #1E3563; margin-top: 40px; padding-top: 24px; font-size: 13px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 999px; background: #1E8E4E; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 40; }
.wa-float:hover { background: #17733F; color: #fff; }

/* ---------- 404 ---------- */
.notfound__inner { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.notfound__code { font-size: 96px; font-weight: 800; color: var(--gold); line-height: 1; }
.notfound p { color: var(--muted); }

/* ==========================================================
   RESPONSIF
   ========================================================== */
@media (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .site-header__cta { display: none; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; }
  .hero__media { height: 460px; }
  .contact { grid-template-columns: minmax(0, 1fr) 480px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; width: auto; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 24px 24px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; box-shadow: 0 16px 30px rgba(10, 35, 80, .12); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid #EEF1F6; font-size: 16px; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav__cta-mobile { display: flex; width: 100%; margin-top: 16px; }

  .hero { padding: 48px 0 112px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { height: 380px; }
  .next-class { left: 16px; bottom: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .schedule, .contact { grid-template-columns: 1fr; gap: 40px; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .instructor-grid, .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 40px; }
}

@media (max-width: 720px) {
  .topbar__address { display: none; }
  .topbar__contact { gap: 16px; }
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hero h1 { letter-spacing: -.5px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__media { height: 240px; }
  .hero__shape { display: none; }
  .next-class { position: static; width: 100%; margin-top: 12px; box-shadow: none; border: 1px solid var(--border); }
  .hero__media img { height: 240px; }
  .hero__media { height: auto; }
  .flow { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .flow-wrap { margin-top: -72px; }
  .program-grid, .facility-grid, .gallery, .instructor-list, .form-row { grid-template-columns: 1fr; }
  .instructor-grid { gap: 12px; }
  .instructor { padding: 18px 16px; }
  .instructor__avatar { width: 48px; height: 48px; font-size: 17px; }
  .instructor strong { font-size: 15px; }
  .gallery img { height: 220px; }
  .section-head { align-items: flex-start; }
  .tabs { width: 100%; }
  .tabs__btn { flex: 1; padding: 0 10px; }
  .schedule-item { flex-wrap: wrap; gap: 16px; padding: 16px; }
  .schedule-item__date { width: 64px; height: 64px; }
  .schedule-item__date span { font-size: 18px; }
  .schedule-item .btn { width: 100%; }
  .schedule-empty { flex-direction: column; align-items: flex-start; padding: 20px; }
  .schedule-empty .btn { width: 100%; }
  .form-card { padding: 24px 18px; }
  .cta-band { padding: 32px 24px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .modal__body { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .topbar, .site-header, .wa-float, .form-card, .map, .cta-band { display: none !important; }
}

/* ==========================================================
   ADMIN
   ========================================================== */
body.admin { background: var(--ground); }
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth__card { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.auth__logo { width: 200px; margin-bottom: 8px; }
.auth h1 { font-size: 24px; }
.auth p { color: var(--muted); }
.auth code { background: var(--ground); padding: 2px 6px; border-radius: 6px; font-size: 14px; }
.auth__back { font-size: 14px; text-align: center; margin-top: 4px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

.admin-bar { background: #fff; border-bottom: 1px solid var(--border); }
.admin-bar__inner { max-width: 1400px; margin: 0 auto; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.admin-bar__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); }
.admin-bar__actions { display: flex; gap: 8px; align-items: center; }
.admin-main { max-width: 1400px; margin: 0 auto; padding: 32px 24px 64px; display: flex; flex-direction: column; gap: 20px; }
.admin-main h1 { font-size: 28px; }
.admin-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-summary__item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; color: var(--muted); font-size: 14px; }
.admin-summary__item.is-active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.admin-summary__num { font-size: 28px; font-weight: 800; color: var(--navy); }
.admin-filter { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; display: grid; grid-template-columns: 2fr 1fr 1.4fr auto; gap: 14px; align-items: end; }
.admin-filter__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-count { font-size: 14px; color: var(--muted); }
.admin-empty { background: #fff; border: 1px dashed var(--border-strong); border-radius: 14px; padding: 40px; text-align: center; color: var(--muted); }
.admin-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 980px; }
.admin-table th { text-align: left; padding: 12px 14px; background: var(--ground); color: var(--muted); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 14px; border-bottom: 1px solid #EEF1F6; vertical-align: top; }
.admin-table small { color: var(--muted); }
.admin-table__msg { max-width: 280px; color: var(--muted); }
.nowrap { white-space: nowrap; }
.admin-status { display: flex; flex-direction: column; gap: 8px; min-width: 220px; }
.admin-status select { min-height: 40px; border-radius: 8px; border: 1px solid var(--border-strong); padding: 0 10px; font-weight: 700; }
.admin-status input { min-height: 40px; font-size: 14px; }
.status--baru { background: var(--blue-soft); color: var(--blue-dark); }
.status--dihubungi { background: var(--gold-soft); color: #7A5310; }
.status--terdaftar { background: #E6F4EA; color: #14532D; }
.status--batal { background: #F1F2F5; color: var(--muted); }
.pager { display: flex; gap: 6px; flex-wrap: wrap; }
.pager a { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid var(--border); color: var(--navy); font-weight: 700; }
.pager a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-password { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; max-width: 480px; }
.admin-password summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.admin-password form { margin-top: 16px; }
@media (max-width: 900px) {
  .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-filter { grid-template-columns: 1fr; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__text strong { font-size: 20px; font-weight: 800; color: var(--navy); }
.brand__text small { font-size: 15px; color: var(--muted); font-weight: 700; }
@media (max-width: 400px) { .brand__text small { display: none; } }

/* Tautan masuk portal peserta (portal.lpkppi.id) */
.site-header__login { font-weight: 700; font-size: 15px; color: var(--navy); margin-right: 14px; white-space: nowrap; }
.site-header__login:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 1024px) { .site-header__login { display: none; } }
