/* ==========================================================================
   Legora: gaya utama
   Warna utama/aksen dioverride dari Customize lewat variabel di :root
   (lihat legora_css_vars). Nilai di bawah adalah cadangan.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #08264f;
  --navy-text: #08264f;
  --navy-dark: #061b37;
  --navy-deep: #041124;
  --navy-mid: #1c3d6e;
  --navy-soft: #eef2f8;
  --navy-tint: #dce4f0;
  --on-navy: #ffffff;
  --gold: #c69d44;
  --gold-light: #d0af66;
  --gold-soft: #f5eddd;
  --gold-ink: #7f642c;
  --on-gold: #08264f;

  --ivory: #fbf8f1;
  --white: #ffffff;
  --line: #e6dfcf;
  --line-cool: #d8dfeb;
  --ink: #12203a;
  --muted: #3c4864;
  --success: #1f6f4f;
  --flag: #f4b63f;

  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: 24px;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
a { color: var(--navy-text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy-text);
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 4.6vw, 60px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 24px; line-height: 1.2; }

:focus-visible { outline: 3px solid var(--navy-text); outline-offset: 3px; }
.on-dark :focus-visible, .section--navy :focus-visible { outline-color: var(--gold); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.screen-reader-text, .skip-link:not(:focus) {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--navy); color: var(--on-navy); font-weight: 700;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 2px solid transparent; border-radius: 12px;
  font: 700 15px/1.2 var(--font-sans);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn--primary { background: var(--navy); color: var(--on-navy); }
.btn--primary:hover { background: var(--navy-dark); }
.btn--outline { background: transparent; color: var(--navy-text); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--on-navy); }
.btn--gold { background: var(--gold); color: var(--on-gold); font-weight: 800; }
.btn--gold:hover { background: var(--gold-light); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
:root { --hdr-h: 72px; --adm-h: 0px; }
body.admin-bar { --adm-h: 32px; }
@media (max-width: 782px) { body.admin-bar { --adm-h: 46px; } }
@media (max-width: 600px) { body.admin-bar { --adm-h: 0px; } }
.site-header { position: sticky; top: var(--adm-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 12px;
}
.brand, .custom-logo-link { display: block; line-height: 0; }
.brand__img, .custom-logo { height: 44px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-cool); border-radius: 10px;
  background: var(--white); color: var(--navy-text); cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 8px var(--gutter) 24px;
  max-height: calc(100vh - var(--hdr-h) - var(--adm-h)); overflow-y: auto;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 28px rgba(8, 38, 79, .08);
}
.site-header.is-open .site-nav { display: block; }
.no-js .nav-toggle { display: none; }
.no-js .site-nav { display: block; position: static; box-shadow: none; padding: 0 var(--gutter) 16px; }

.nav-list, .site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  display: block; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.site-nav a:not(.btn):hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--navy-text); font-weight: 800; }
.site-nav .sub-menu { padding-left: 16px; }
.site-nav__cta { display: flex; width: 100%; margin-top: 20px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav,
  .no-js .site-nav {
    display: flex; align-items: center; gap: 36px;
    position: static; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav-list { display: flex; align-items: center; gap: 28px; }
  .site-nav a:not(.btn) {
    padding: 8px 0; border-bottom: 2px solid transparent; font-size: 14px;
  }
  .site-nav a:not(.btn):hover,
  .site-nav .current-menu-item > a,
  .site-nav .current_page_item > a { border-bottom-color: var(--gold); }
  .site-nav li { position: relative; }
  .site-nav .sub-menu {
    display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; padding: 8px 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 16px 28px rgba(8, 38, 79, .1);
  }
  .site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
  .site-nav .sub-menu a:not(.btn) { padding: 10px 0; border-bottom: 0; }
  .site-nav__cta { display: inline-flex; width: auto; margin-top: 0; }
}

/* ---------- Pola section ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--white { background: var(--white); }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3, .on-dark h2, .on-dark h3 { color: var(--on-navy); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head p:last-child { margin: 0; color: var(--muted); }

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--gold); }

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Hero ---------- */
.hero { background: var(--ivory); padding-block: clamp(40px, 6vw, 88px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }

.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__text > * { margin: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--gold-soft); color: #5b481f; font-size: 13px; font-weight: 700;
}
.badge__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--gold); }
.hero__desc { max-width: 540px; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); }

.stats {
  display: flex; flex-wrap: wrap; gap: 20px 40px; width: 100%;
  margin: 8px 0 0; padding-top: 24px; border-top: 1px solid var(--line);
}
.stats__item { display: flex; flex-direction: column-reverse; }
.stats__value { margin: 0; font: 600 34px/1 var(--font-serif); color: var(--navy-text); }
.stats__label { margin-top: 6px; font-size: 13px; color: var(--muted); }

.hero__frame { position: relative; padding: 0 16px 16px 0; max-width: 520px; margin-inline: auto; }
.hero__frame::before {
  content: ""; position: absolute; inset: 16px 0 0 16px;
  border: 2px solid var(--gold); border-radius: 28px;
}
.hero__photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 28px; background: var(--navy-tint);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__ph {
  position: absolute; inset: 0; padding: 24px 24px 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--navy-mid); text-align: center; font-size: 13px;
}
.hero__ph p { margin: 0; max-width: 260px; }
.hero__card {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 16px; background: var(--white);
  box-shadow: 0 10px 30px rgba(8, 38, 79, .16);
}
.hero__card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold);
}
.hero__card strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; }
.hero__card small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }


/* ---------- Hero beranda: kata berganti + ilustrasi bergerak ---------- */
.hero__eyebrow { margin: 0; }
.rotor { display: grid; }
.rotor__w {
  grid-area: 1 / 1; opacity: 0; transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
  color: var(--gold-ink);
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 4px;
  text-underline-offset: 8px; text-decoration-skip-ink: none;
}
.rotor__w.is-on { opacity: 1; transform: none; }

.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1; margin-inline: auto; }
.orbit > span { position: absolute; }
.orbit__glow { inset: 0; border-radius: 50%; background: radial-gradient(circle, var(--navy-soft) 0%, var(--navy-tint) 78%); animation: lg-pulse 5s ease-in-out infinite; }
.orbit__ring { border-radius: 50%; }
.orbit__ring--a { inset: 6%; border: 2px dashed var(--gold); opacity: .7; animation: lg-spin 40s linear infinite; }
.orbit__ring--b { inset: 22%; border: 1.5px solid var(--navy-mid); opacity: .35; animation: lg-spin 28s linear infinite reverse; }
.orbit__core { inset: 32%; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); box-shadow: 0 24px 50px rgba(8, 38, 79, .3); }
.orbit__chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; box-shadow: 0 12px 30px rgba(8, 38, 79, .14); animation: lg-float 6s ease-in-out infinite; }
.orbit__chip strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.3; }
.orbit__chip small { display: block; font-size: 12px; }
.orbit__chip b { display: block; font: 600 30px/1 var(--font-serif); }
.orbit__chip--card { left: 0; top: 12%; background: var(--white); color: var(--navy-text); }
.orbit__chip--card small { color: var(--muted); }
.orbit__chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gold-soft); color: var(--gold-ink); flex: none; }
.orbit__chip--navy { right: -2%; top: 48%; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--navy); color: var(--on-navy); animation-duration: 7s; animation-delay: -2s; }
.orbit__chip--navy b { color: var(--gold-light); }
.orbit__chip--gold { left: 8%; bottom: 6%; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--gold); color: var(--on-gold); animation-duration: 8s; animation-delay: -4s; }
.orbit__chip--gold small { font-weight: 700; }
@media (max-width: 520px) {
  .orbit__chip { padding: 9px 12px; gap: 8px; }
  .orbit__chip strong { font-size: 13px; }
  .orbit__chip b { font-size: 24px; }
  .orbit__core svg { width: 56px; height: 56px; }
}
@keyframes lg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes lg-spin { to { transform: rotate(360deg); } }
@keyframes lg-pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  .orbit *, .orbit__chip { animation: none !important; }
  .rotor__w { transition: none; }
}

/* ---------- Hero Tentang Kami: editorial terpusat ---------- */
.ahero { background: var(--ivory); padding-bottom: clamp(40px, 6vw, 72px); }
.ahero__crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-block: 20px; font-size: 14px; color: var(--muted); }
.ahero__crumbs a { color: var(--muted); font-weight: 600; text-decoration: none; }
.ahero__crumbs a:hover { color: var(--navy-text); text-decoration: underline; }
.ahero__text { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding-top: clamp(12px, 3vw, 32px); }
.ahero__text > * { margin: 0; }
.ahero__eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.ahero__title { max-width: 880px; font-size: clamp(34px, 5.6vw, 64px); line-height: 1.06; }
.ahero__lead { max-width: 640px; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); }
.ahero__band {
  position: relative; margin-top: clamp(32px, 5vw, 56px); height: clamp(200px, 28vw, 320px);
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line-cool);
  background: linear-gradient(135deg, var(--navy-tint), var(--navy-soft));
}
.ahero__img { width: 100%; height: 100%; object-fit: cover; }
.ahero__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; color: var(--navy-mid); text-align: center; font-size: 13px; }
.ahero__ph p { margin: 0; max-width: 360px; }
.ahero__chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; box-shadow: 0 12px 32px rgba(8, 38, 79, .16); }
.ahero__chip--card { left: 24px; bottom: 24px; background: var(--white); color: var(--navy-text); }
.ahero__chip strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; }
.ahero__chip small { display: block; margin-top: 2px; font-size: 13px; }
.ahero__chip--card small { color: var(--muted); }
.ahero__chip-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); flex: none; }
.ahero__chip--navy { right: 24px; top: 24px; flex-direction: column; align-items: flex-start; gap: 2px; background: var(--navy); color: var(--on-navy); }
.ahero__chip--navy b { font: 600 34px/1 var(--font-serif); color: var(--gold-light); }
@media (max-width: 560px) {
  .ahero__chip { padding: 10px 12px; gap: 10px; border-radius: 14px; }
  .ahero__chip--card { left: 12px; bottom: 12px; }
  .ahero__chip--navy { right: 12px; top: 12px; }
  .ahero__chip strong { font-size: 13px; }
  .ahero__chip--navy b { font-size: 26px; }
  .ahero__chip-icon { width: 36px; height: 36px; }
}

/* ---------- Klien ---------- */
.clients { background: var(--white); border-block: 1px solid var(--line); }
.clients__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-block: 28px; }
.clients__label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.clients__list { display: flex; flex-wrap: wrap; gap: 8px 40px; list-style: none; font: 600 20px/1.3 var(--font-serif); color: #5a6783; }

/* ---------- Layanan ---------- */
.svc__cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.svc-card {
  appearance: none; display: flex; flex-direction: column; gap: 16px;
  padding: 28px; text-align: left; font: inherit; color: var(--ink);
  background: var(--white); border: 2px solid var(--line); border-radius: 20px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.svc-card:hover { border-color: var(--navy-tint); }
.svc-card[aria-selected="true"] { border-color: var(--navy); box-shadow: 0 14px 36px rgba(8, 38, 79, .14); }
.svc-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy-soft); color: var(--navy-text);
}
.svc-card[aria-selected="true"] .svc-card__icon { background: var(--navy); color: var(--gold); }
.svc-card__title { font: 600 26px/1.15 var(--font-serif); color: var(--navy-text); }
.svc-card__desc { font-size: 15px; line-height: 1.65; color: var(--muted); }
.svc-card__cta {
  margin-top: auto; display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--navy-text);
}
.svc-card[aria-selected="true"] .svc-card__cta { color: var(--gold-ink); }
.svc-card[aria-selected="true"] .when-off,
.svc-card:not([aria-selected="true"]) .when-on { display: none; }

.svc__panels { margin-top: 24px; }
.svc-panel { scroll-margin-top: calc(var(--adm-h) + var(--hdr-h) + 16px); }
.svc-panel {
  display: grid; gap: 32px 48px; align-items: start;
  margin-bottom: 24px; padding: clamp(24px, 4vw, 44px);
  border-radius: 24px; background: var(--navy); color: var(--on-navy);
}
.svc-panel__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.svc-panel__intro > * { margin: 0; }
.svc-panel__intro h3 { font-size: clamp(26px, 2.6vw, 34px); }
.svc-panel__intro p:not(.eyebrow) { font-size: 15px; color: #dce4f0; color: color-mix(in srgb, var(--on-navy) 86%, transparent); }
.svc-panel__intro .btn { margin-top: 8px; }
.svc-list { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.svc-list li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07);
  font-size: 15px; font-weight: 600; line-height: 1.4;
}
.svc-list .icon { color: var(--gold); stroke-width: 2.6; }
@media (min-width: 900px) { .svc-panel { grid-template-columns: 1fr 2fr; } }

/* ---------- Learning ---------- */
.learning { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .learning { grid-template-columns: 1fr 1fr; } .learning--solo { grid-template-columns: minmax(0, 720px); justify-content: center; } }
.learning__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.learning__text > * { margin: 0; }
.learning__desc { max-width: 520px; font-size: 16px; color: #dce4f0; color: color-mix(in srgb, var(--on-navy) 86%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-size: 14px; font-weight: 600; }

.exam-mock { overflow: hidden; border-radius: 24px; background: var(--white); color: var(--ink); max-width: 520px; margin-inline: auto; }
.exam-mock__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 22px; background: var(--navy-dark); color: #fff; font-size: 14px; font-weight: 700;
}
.exam-mock__time { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.exam-mock__body { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; }
.exam-mock__no { margin: 0; font-size: 13px; font-weight: 700; color: #5a6783; }
.skel { display: block; height: 10px; border-radius: 999px; background: var(--navy-tint); }
.skel--short { width: 70%; }
.exam-mock__opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line-cool); border-radius: 12px; }
.opt b {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border: 2px solid #8793ab; border-radius: 999px; font-size: 12px; font-weight: 800;
}
.opt i { flex: 1; height: 8px; border-radius: 999px; background: #eef1f6; }
.opt--on { border-color: var(--navy); background: var(--navy-soft); }
.opt--on b { border-color: var(--navy); background: var(--navy); color: var(--on-navy); }
.opt--on i { background: var(--navy-tint); }
.exam-mock__grid { display: flex; flex-wrap: wrap; gap: 6px; }
.n {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border: 2px solid #b9c2d3; border-radius: 7px; font-size: 12px; font-weight: 800;
}
.n--done { border-color: var(--success); background: var(--success); color: #fff; }
.n--flag { border-color: #d99a1e; background: var(--flag); color: #2e2200; }

/* ---------- Keunggulan ---------- */
.feature { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--ivory); }
.feature > * { margin: 0; }
.feature__icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 999px; background: var(--gold); color: var(--on-gold);
}
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- Alur ---------- */
.steps { display: grid; gap: 32px 28px; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-cool); }
.step > * { margin: 0; }
.step__no {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; background: var(--gold-soft); color: var(--navy-text);
  font-size: 15px; font-weight: 800;
}
.step h3 { font: 800 18px/1.3 var(--font-sans); }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Testimoni ---------- */
.quote { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--ivory); }
.quote__mark { color: var(--gold); line-height: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 15px; line-height: 1.75; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.quote__avatar--text {
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-tint); color: var(--navy-text); font-size: 14px; font-weight: 800;
}
.quote__by strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.3; }
.quote__by small { display: block; font-size: 13px; color: var(--muted); }

/* ---------- Ajakan akhir ---------- */
.cta-wrap { padding-top: clamp(40px, 5vw, 72px); }
.cta {
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 28px; background: var(--navy); color: var(--on-navy);
}
.cta > * { margin: 0; }
.cta__bar { width: 48px; height: 3px; border-radius: 999px; background: var(--gold); }
.cta h2 { max-width: 720px; line-height: 1.15; }
.cta p { max-width: 520px; color: #dce4f0; color: color-mix(in srgb, var(--on-navy) 86%, transparent); }
.cta .btn-row { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; gap: 40px 48px; padding-block: 56px 32px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 2fr; } }
.site-footer__about { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.site-footer__about p { margin: 0; max-width: 340px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.social { display: flex; gap: 10px; list-style: none; }
.social a {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line-cool); border-radius: 10px; color: var(--navy-text);
}
.social a:hover { background: var(--navy-soft); }
.footer-title { margin: 0 0 16px; font: 800 13px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.footer-links { display: flex; flex-direction: column; gap: 12px; list-style: none; font-size: 14px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.contact-list { display: flex; flex-direction: column; gap: 14px; list-style: none; font-size: 14px; line-height: 1.55; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list .icon { margin-top: 2px; color: var(--navy-text); }
.contact-list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.site-footer__bar { border-top: 1px solid var(--line); }
.site-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 20px; font-size: 13px; color: var(--muted); }
.site-footer__bar-inner a { color: var(--muted); font-weight: 600; text-decoration: none; }

/* ---------- Halaman, artikel, arsip ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 40px); background: var(--ivory); }
.page-head h1 { max-width: 820px; }
.entry { max-width: 760px; margin-inline: auto; font-size: 17px; line-height: 1.8; }
.entry > * + * { margin-top: 1.2em; }
.entry h2 { margin-top: 1.8em; font-size: clamp(26px, 3vw, 34px); }
.entry h3 { margin-top: 1.6em; }
.entry img { border-radius: 16px; }
.entry details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; background: var(--white); }
.entry details + details { margin-top: 10px; }
.entry summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.entry details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.entry details p { margin: 0 0 14px; }
.entry blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--muted); }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--line-cool); text-align: left; }
.entry__thumb { margin-bottom: 1.6em; }
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; max-width: 760px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }
.post-nav a { text-decoration: none; }

.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--ivory); }
.post-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__meta { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.post-card__title { margin-bottom: 10px; font-size: 22px; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; }
.post-card__excerpt { margin: 0; font-size: 15px; color: var(--muted); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-cool); border-radius: 10px; text-decoration: none; font-weight: 700;
}
.pagination .current { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }

.notfound { max-width: 560px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.notfound > * { margin: 0; }

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

/* ==========================================================================
   Halaman: Tentang, Layanan, E-Learning, Hubungi, Masuk, Daftar
   ========================================================================== */

/* ---------- Kepala halaman ---------- */
.page-head__crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.page-head__crumbs a { color: var(--muted); font-weight: 600; text-decoration: none; }
.page-head__crumbs a:hover { color: var(--navy-text); text-decoration: underline; }
.page-head__lead { max-width: 640px; margin: 16px 0 0; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); }
.admin-hint { margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--gold-soft); color: var(--ink); font-size: 14px; }
.admin-hint a { color: var(--navy-text); font-weight: 700; }

@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.btn--block { width: 100%; }

/* ---------- Tentang ---------- */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.about__text > * { margin: 0; }
.about__text p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.pillar { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.pillar > * { margin: 0; }
.pillar p { color: var(--muted); font-size: 15px; }
.member { text-align: center; }
.member__photo { overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 16px; border-radius: 20px; background: var(--navy-soft); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__initials { font: 600 48px/1 var(--font-serif); color: var(--navy-text); }
.member h3 { margin: 0 0 4px; font-size: 20px; }
.member p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Layanan Hukum ---------- */
.pills { position: sticky; top: calc(var(--adm-h) + var(--hdr-h)); z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.pills__list { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; }
.pills__list a { flex: none; padding: 10px 18px; border: 1px solid var(--line-cool); border-radius: 999px; color: var(--navy-text); font-size: 14px; font-weight: 700; text-decoration: none; }
.pills__list a:hover { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.lsec { scroll-margin-top: calc(var(--adm-h) + var(--hdr-h) + 64px); }
html { scroll-padding-top: calc(var(--adm-h) + var(--hdr-h) + 8px); }
.lsec__grid { display: grid; gap: 32px 56px; align-items: start; }
@media (min-width: 900px) { .lsec__grid { grid-template-columns: 1fr 1.6fr; } }
.lsec__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lsec__intro > * { margin: 0; }
.lsec__intro p { color: var(--muted); }
.lsec__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.lsec__list li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-size: 15px; font-weight: 600; line-height: 1.5; }
.section--white .lsec__list li { background: var(--ivory); }
.lsec__list .icon { flex: none; margin-top: 2px; color: var(--success); stroke-width: 2.6; }

/* ---------- E-Learning ---------- */
.program { display: flex; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--ivory); }
.program h3 { margin: 0; font-size: 18px; font-family: var(--font-sans); font-weight: 700; line-height: 1.4; }
.callout { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; margin: 32px auto 0; padding: 18px 22px; border-radius: 14px; background: var(--navy-soft); color: var(--ink); }
.callout .icon { flex: none; margin-top: 2px; color: var(--navy-text); }
.callout p { margin: 0; font-size: 15px; }
.elearn-actions { margin-top: 32px; }

/* ---------- Hubungi ---------- */
.contact { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.contact__info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--ivory); }
.info-card h3 { margin: 0 0 4px; font: 700 15px/1.3 var(--font-sans); }
.info-card p, .info-card a { margin: 0; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.info-card a { font-weight: 600; color: var(--navy-text); }
.map-wrap { margin-top: 40px; }
.map { display: block; width: 100%; height: 360px; border: 0; border-radius: 20px; }

/* ---------- Formulir ---------- */
.form-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 12px 32px rgba(8, 38, 79, .06); }
.form-card h2 { margin-bottom: 20px; font-size: 26px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field > label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #8a95ab; border-radius: 10px; background: var(--white); color: var(--ink);
  font: 500 16px/1.4 var(--font-sans);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.field__hint { margin: 0; font-size: 13px; color: var(--muted); }
.field--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.field--row a { font-weight: 700; color: var(--navy-text); }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--navy); }
.field__pw { position: relative; }
.field__pw input { padding-right: 52px; }
.pw-toggle { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.pw-toggle:hover { color: var(--navy-text); }
.pw-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 10px; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; border: 1px solid; font-size: 14px; font-weight: 600; }
.alert--error { background: #fbeceb; border-color: #e5b3b0; color: #8a1d17; }
.alert--success { background: #e8f3ee; border-color: #a9d1bf; color: #165139; }
.alert--info { background: var(--navy-soft); border-color: var(--navy-tint); color: var(--ink); }

/* ---------- Masuk / Daftar ---------- */
.auth { padding-block: clamp(24px, 5vw, 64px); background: var(--ivory); }
.auth__grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .auth__grid { grid-template-columns: .9fr 1.1fr; gap: 0; } }
.auth__brand {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px;
  padding: clamp(32px, 5vw, 56px); border-radius: 24px; background: var(--navy); color: var(--on-navy);
}
@media (min-width: 900px) { .auth__brand { border-radius: 24px 0 0 24px; } }
.auth__brand > * { margin: 0; }
.auth__brand .cta__bar { position: static; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--gold); }
.auth__brand h2 { font-size: clamp(28px, 3vw, 38px); }
.auth__brand p { color: #dce4f0; color: color-mix(in srgb, var(--on-navy) 86%, transparent); }
.auth__panel { padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
@media (min-width: 900px) { .auth__panel { border-radius: 0 24px 24px 0; border-left: 0; } }
.auth__logo { margin-bottom: 20px; }
.auth__logo img { max-width: 190px; height: auto; }
.auth__panel h1 { margin-bottom: 20px; font-size: clamp(28px, 3vw, 36px); }
.auth__switch { margin: 22px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.auth__switch a { font-weight: 700; color: var(--navy-text); }

/* ==========================================================================
   v1.2: alat header, slider, paket, logo klien, mode gelap, bahasa
   ========================================================================== */

/* ---------- Alat header (bahasa, mode gelap) ---------- */
.site-header__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; height: 44px; padding: 0 10px;
  border: 0; border-radius: 10px; background: transparent; color: var(--navy-text);
  font: 800 13px/1 var(--font-sans); letter-spacing: .04em; cursor: pointer;
}
.tool-btn:hover { background: var(--navy-soft); }
.tool-btn__sun { display: none; line-height: 0; }
.tool-btn__moon { line-height: 0; }
html[data-theme="dark"] .tool-btn__sun { display: inline; }
html[data-theme="dark"] .tool-btn__moon { display: none; }
@media (min-width: 900px) {
  .site-header__tools { margin-left: 0; }
  .site-nav { order: 2; margin-left: auto; margin-right: 8px; }
  .site-header__tools { order: 3; }
  .site-header .brand, .site-header .custom-logo-link { order: 1; }
}
@media (max-width: 899px) {
  .site-header__bar { gap: 8px; }
}

/* ---------- Slider kartu ---------- */
.slider { position: relative; }
.slider__track {
  position: relative; display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { flex: 0 0 86%; scroll-snap-align: start; }
.slider__track:focus-visible { outline-offset: 6px; border-radius: 12px; }
@media (min-width: 700px) {
  .slider__track > * { flex-basis: calc((100% - 20px) / 2); }
}
@media (min-width: 1000px) {
  .slider:not(.slider--many) .slider__track {
    display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); overflow: visible;
  }
  .slider--many .slider__track > * { flex-basis: calc((100% - 40px) / 3); }
}
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.slider__btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-cool); border-radius: 999px; background: var(--white); color: var(--navy-text); cursor: pointer;
}
.slider__btn:first-child .icon { transform: scaleX(-1); }
.slider__btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.slider__btn:disabled { opacity: .4; cursor: default; }
.slider__dots { display: flex; align-items: center; gap: 2px; }
.slider__dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider__dot::before {
  content: ""; position: absolute; inset: 8px; border-radius: 999px; background: var(--line-cool); transition: background-color .15s, inset .15s;
}
.slider__dot.is-on::before { inset: 6px; background: var(--gold); }

/* ---------- Paket ---------- */
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--white);
}
.plan > * { margin: 0; }
.plan--featured { border: 2px solid var(--gold); box-shadow: 0 18px 44px rgba(8, 38, 79, .12); }
.plan__badge {
  position: absolute; top: -14px; left: 28px; padding: 6px 14px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.plan__name { font: 600 26px/1.15 var(--font-serif); color: var(--navy-text); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.plan__old { font-size: 15px; color: var(--muted); }
.plan__now { font: 600 38px/1 var(--font-serif); color: var(--navy-text); }
.plan__price small { font-size: 14px; color: var(--muted); }
.plan__save { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: 13px; font-weight: 800; }
.plan__list { list-style: none; display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.plan__list .icon { margin-top: 3px; color: var(--success); stroke-width: 2.8; }
.plan__for { margin-top: auto !important; padding-top: 4px; font-size: 14px; color: var(--muted); }
.plan .btn { width: 100%; }
.plan-switch {
  display: flex; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
}
.plan-switch__btn {
  min-height: 44px; padding: 0 28px; border: 0; border-radius: 999px; background: none;
  font: 700 15px/1 var(--font-sans, inherit); color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s;
}
.plan-switch__btn:hover { color: var(--navy-text); }
.plan-switch__btn.is-on { background: var(--navy); color: var(--on-navy); }
.plan-switch__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.plan-panel__desc { max-width: 640px; margin: 0 auto 32px; text-align: center; color: var(--muted); }
.plan-panel[hidden] { display: none; }
.no-js .plan-switch { display: none; }
.no-js .plan-panel[hidden] { display: block; margin-top: 40px; }
.plan--service .plan__list { margin-bottom: 8px; }
.plan--service .btn { margin-top: auto; }
.plan__tiers { display: grid; gap: 8px; }
.plan__tiers > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--gold-soft); }
.plan__tiers dt { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--gold-ink); }
.plan__tiers dd { margin: 0; font: 600 28px/1.1 var(--font-serif); color: var(--navy-text); }

/* ---------- Logo klien ---------- */
/* Label di kiri, garis pemisah, lalu logo abu-abu. Tetap rapi walau logonya sedikit. */
.clients__label { font: 700 17px/1.2 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--navy-text); }
.clients__inner--logos { flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 32px; padding-block: 24px; }
.clients__inner--logos > * { min-width: 0; }
.clients__inner--logos .clients__label { flex: none; align-self: stretch; display: flex; align-items: center; padding-right: 32px; border-right: 1px solid var(--line); }
.clients__inner--logos .logos, .clients__inner--logos .marquee { flex: 1; }
.logos__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 20px 48px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 720px) {
  .clients__inner--logos { flex-direction: column; align-items: stretch; gap: 16px; }
  .clients__inner--logos .clients__label { justify-content: center; padding: 0; border-right: 0; }
  .logos__list { justify-content: center; }
}
.logos__item a { display: block; }
.logos__img { width: auto; height: 36px; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos__item:hover .logos__img, .logos__item a:focus-visible .logos__img { filter: none; opacity: 1; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: lg-marquee 45s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee .logos__list { flex-wrap: nowrap; gap: 56px; justify-content: flex-start; }
@keyframes lg-marquee { to { transform: translateX(calc(-50% - 28px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; animation: none; justify-content: center; }
  .marquee .logos__list { flex-wrap: wrap; justify-content: center; gap: 20px 48px; }
  .marquee .logos__list[aria-hidden="true"] { display: none; }
}

/* ---------- Bahasa: sembunyikan sesaat sampai terjemahan terpasang ---------- */
html.i18n-pending body { visibility: hidden; animation: lg-reveal 0s 1.5s forwards; }
@keyframes lg-reveal { to { visibility: visible; } }

/* ---------- Logo terang/gelap ---------- */
.brand__img--dark { display: none; }
html[data-theme="dark"] .has-dark-logo .brand__img--dark { display: block; }
html[data-theme="dark"] .brand.has-dark-logo .brand__img--light,
html[data-theme="dark"] .custom-logo-link.has-dark-logo .custom-logo { display: none; }

/* ---------- Mode gelap ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --white: #0f1b33;
  --ivory: #0a1426;
  --ink: #e7ecf5;
  --muted: #b4bfd3;
  --line: #22304d;
  --line-cool: #2c3b5c;
  --navy-text: #eef2f9;
  --navy-soft: #15233f;
  --navy-tint: #2a3a5c;
  --navy-dark: #050b18;
  --gold-soft: #2b2516;
  --gold-ink: #dcb95f;
}
html[data-theme="dark"] .btn--primary { background: var(--gold); color: var(--on-gold); }
html[data-theme="dark"] .btn--primary:hover { background: var(--gold-light); }
html[data-theme="dark"] .btn--outline { border-color: var(--navy-text); color: var(--navy-text); }
html[data-theme="dark"] .btn--outline:hover { background: var(--navy-text); color: var(--navy-dark); }
html[data-theme="dark"] .badge { color: var(--gold-ink); }
html[data-theme="dark"] .clients__list,
html[data-theme="dark"] .exam-mock__no { color: var(--muted); }
html[data-theme="dark"] .svc-card[aria-selected="true"] { border-color: var(--gold); }
html[data-theme="dark"] .svc-card[aria-selected="true"] .svc-card__icon { background: var(--gold); color: var(--on-gold); }
html[data-theme="dark"] .alert--error { background: #3a1613; border-color: #7a2f2a; color: #ffb4ad; }
html[data-theme="dark"] .alert--success { background: #12301f; border-color: #2f6b4a; color: #a6e3c3; }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea { border-color: #6c7b99; }
html[data-theme="dark"] .logos__img { background: #fff; padding: 8px 14px; border-radius: 10px; height: 60px; filter: none; opacity: .92; }
html[data-theme="dark"] .slider__btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
html[data-theme="dark"] .plan-switch { background: transparent; }
html[data-theme="dark"] .plan--featured { box-shadow: 0 18px 44px rgba(0, 0, 0, .4); }
html[data-theme="dark"] .exam-mock .opt i { background: var(--line-cool); }
html[data-theme="dark"] .pillar,
html[data-theme="dark"] .program { background: var(--white); }

/* ---------- Blog: kategori dan arsip ---------- */
.blog-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.blog-nav__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.blog-nav__list a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-cool); border-radius: 999px; color: var(--navy-text); font-size: 14px; font-weight: 700; text-decoration: none; }
.blog-nav__list a:hover { border-color: var(--navy-text); }
.blog-nav__list a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
html[data-theme="dark"] .blog-nav__list a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.arsip { max-width: 860px; }
.arsip__search { display: flex; gap: 10px; margin-bottom: 40px; }
.arsip__search input[type="search"] { flex: 1; min-height: 44px; padding: 0 14px; border: 1px solid #8a95ab; border-radius: 10px; background: var(--white); color: var(--ink); font: 500 16px var(--font-sans); }
.arsip__year { margin-bottom: 40px; }
.arsip__year h2 { padding-bottom: 12px; border-bottom: 2px solid var(--gold); font-size: 32px; }
.arsip__month { margin: 24px 0 8px; font: 800 13px/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.arsip__list { list-style: none; }
.arsip__list li { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.arsip__list time { font-size: 14px; color: var(--muted); }
.arsip__list a { font-weight: 700; text-decoration: none; }
.arsip__list a:hover { text-decoration: underline; }
.arsip__cat { padding: 2px 10px; border-radius: 999px; background: var(--navy-soft); font-size: 12px; font-weight: 700; color: var(--muted); }
@media (max-width: 560px) { .arsip__list li { grid-template-columns: 1fr; gap: 2px; } .arsip__cat { justify-self: start; } }
html[data-theme="dark"] .hero__ph { color: var(--muted); }
html[data-theme="dark"] .plan__list .icon, html[data-theme="dark"] .lsec__list .icon { color: #5fd0a0; }

/* ---- Artikel tunggal ---- */
.post-head { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 36px 0 40px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.post-meta__cats a { color: var(--gold-ink); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 800; }
.post-meta__cats a:hover { text-decoration: underline; }
.post-meta__sep { color: var(--line-cool); }
.post-head__title { margin: 14px 0 24px; max-width: none; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12; }
.byline { display: flex; align-items: center; gap: 10px; margin: 0; }
.byline__avatar img { display: block; border-radius: 50%; }
.byline__text { color: var(--muted); font-size: 15px; }
.byline__text strong { color: var(--ink); }
.post-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } .post-side { position: sticky; top: calc(var(--adm-h) + var(--hdr-h) + 24px); } }
.post-main .entry { max-width: none; margin: 0; }
.entry--post .entry__thumb { margin: 0 0 28px; }
.entry--post .entry__thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-tags { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-tags__title { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-sans); }
.chips--tags { gap: 8px; margin: 0; padding: 0; }
.chips--tags li { margin: 0; padding: 0; border: 0; border-radius: 0; font-weight: inherit; }
.tag { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-cool); border-radius: 6px; background: var(--navy-soft); color: var(--navy-text); font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1.3; }
.tag:hover { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.post-nav--wide { max-width: none; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-bottom: 20px; }
.side-card__title { margin: 0 0 14px; font-size: 20px; }
.side-card--cta { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.side-card--cta .side-card__title { color: var(--on-navy); }
.side-card--cta p { margin: 0 0 16px; opacity: .88; }
.side-card--cta .btn { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.side-card--cta .btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.rank { margin: 0; padding: 0; list-style: none; }
.rank li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rank li:first-child { border-top: 0; padding-top: 0; }
.rank__no { flex: none; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--gold-soft); color: var(--gold-ink); }
.rank li:nth-child(-n+3) .rank__no { background: var(--gold); color: var(--on-gold); }
.rank a { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.4; }
.rank a:hover { text-decoration: underline; }
.related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.related__title { margin: 0 0 24px; }
.post-card__ph { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--navy-soft); color: var(--navy-text); }
.post-card__cat { color: var(--gold-ink); font-weight: 700; }
.post-card__title { font-size: 20px; }

/* ---- Masuk / Daftar layar penuh tanpa header dan footer ---- */
.bare-tools { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; pointer-events: none; }
.bare-tools > * { pointer-events: auto; }
.bare-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; }
.bare-back svg { transform: scaleX(-1); }
.bare-back:hover { color: var(--navy-text); }
.bare-tools .site-header__tools { margin-left: 0; }
.site-main--bare { min-height: 100vh; }
.auth--bare { padding: 0; min-height: 100vh; background: var(--white); }
.auth--bare .auth__grid { min-height: 100vh; gap: 0; }
@media (min-width: 900px) { .auth--bare .auth__grid { grid-template-columns: 1fr 1fr; } }
.auth--bare .auth__brand { border-radius: 0; padding: clamp(40px, 6vw, 88px); justify-content: flex-end; min-height: 220px; }
.auth--bare .auth__brand h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.12; max-width: 16ch; }
.auth--bare .auth__panel { border: 0; border-radius: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 8vw, 96px) clamp(20px, 6vw, 88px) 48px; }
.auth--bare .auth__panel > * { width: 100%; max-width: 420px; margin-inline: auto; }
.auth--bare .auth__logo { margin-bottom: 24px; }
@media (max-width: 899px) { .auth--bare .auth__brand { order: 2; padding: 32px 24px 40px; min-height: 0; } .auth--bare .auth__brand h2 { font-size: 26px; } .auth--bare .auth__panel { padding-top: 84px; } }

@media (min-width: 900px) { .bare-tools .bare-back { color: #fff; } .bare-tools .bare-back:hover { color: var(--gold); } }

/* ---------- Blog 4 kolom, artikel terkait, slider layanan ---------- */
.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 700px) { .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.grid--4 .post-card { border-radius: 16px; }
.grid--4 .post-card__body { padding: 14px; }
.grid--4 .post-card__meta { font-size: 12px; margin-bottom: 6px; }
.grid--4 .post-card__title { font-size: 15px; line-height: 1.3; margin-bottom: 0; }
.grid--4 .post-card__excerpt { display: none; }
@media (min-width: 700px) {
  .grid--4 .post-card__body { padding: 18px; }
  .grid--4 .post-card__title { font-size: 18px; margin-bottom: 8px; }
  .grid--4 .post-card__excerpt { display: -webkit-box; font-size: 14px; }
}
.infinite-status { margin: 28px 0 0; text-align: center; font-size: 14px; color: var(--muted); min-height: 20px; }
.is-infinite + .pagination { display: none; }
/* Artikel terkait: geser di HP, grid 4 kolom di layar lebar. */
@media (max-width: 699px) {
  .grid--slide { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .grid--slide::-webkit-scrollbar { display: none; }
  .grid--slide > .post-card { flex: 0 0 62%; scroll-snap-align: start; }
}
/* Layanan: kartu bisa digeser di HP dan tablet agar panel cakupan tetap dekat. */
@media (max-width: 899px) {
  .svc__cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none; }
  .svc__cards::-webkit-scrollbar { display: none; }
  .svc-card { flex: 0 0 78%; max-width: 360px; scroll-snap-align: center; padding: 22px; gap: 12px; }
  .svc-card__title { font-size: 22px; }
  .svc__panels { margin-top: 8px; }
}
@media (min-width: 600px) and (max-width: 899px) { .svc-card { flex-basis: 46%; } }

/* ---------- Halaman legal ---------- */
.legal { display: grid; gap: 24px; }
@media (min-width: 900px) { .legal { grid-template-columns: 270px minmax(0, 1fr); gap: 56px; align-items: start; } }
.legal__toc { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
@media (min-width: 900px) { .legal__toc { position: sticky; top: calc(var(--adm-h) + var(--hdr-h) + 24px); } }
.legal__toc summary { cursor: pointer; font-weight: 800; color: var(--navy-text); }
.legal__toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; max-height: 60vh; overflow-y: auto; }
.legal__toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); font-weight: 600; text-decoration: none; line-height: 1.35; }
.legal__toc a:hover { background: var(--cream, #faf7f0); color: var(--navy-text); }
.legal__toc a.is-on { background: var(--cream, #faf7f0); color: var(--navy-text); box-shadow: inset 3px 0 0 var(--gold); }
.legal__body.entry { max-width: none; margin: 0; font-size: 16.5px; }
.legal__body h2 { font-size: clamp(21px, 2.4vw, 27px); margin-top: 2em; scroll-margin-top: calc(var(--adm-h) + var(--hdr-h) + 16px); }
.legal__body h2:first-of-type { margin-top: 1.4em; }
.legal__body ul { padding-left: 1.3em; }
.legal__body li + li { margin-top: .5em; }
.legal__meta { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.legal__more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 15px; }
.legal__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-text); text-decoration: none; }
.legal__more a:hover { text-decoration: underline; }
mark.legal-fill { background: #fff3b0; color: #7a5b00; padding: 1px 6px; border-radius: 4px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.field--check .check { align-items: flex-start; font-weight: 500; font-size: 14px; line-height: 1.5; }
.field--check .check input { margin-top: 3px; flex: none; }
.field--check .check a { color: var(--navy-text); font-weight: 700; }

/* Revisi 1.5.2: kartu blog rapi (judul 2 baris, ringkasan 3 baris, baca selengkapnya, gambar berbingkai). */
.post-card { display: flex; flex-direction: column; }
.post-card__img { display: block; border-bottom: 1px solid var(--line); background: var(--navy-soft); }
.post-card__body { display: flex; flex-direction: column; flex: 1; }
.post-card__title { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; }
.post-card__more:hover { text-decoration: underline; }
.grid--4 .post-card__more { font-size: 13px; padding-top: 10px; }
