/* PDDIKTI Undip — halaman publik layanan (tema korporat navy + gold)
   Dimuat SETELAH style.css: memakai variabel warna & komponen dasar dari sana. */

.pub-body {
  background:
    radial-gradient(1100px 420px at 90% -10%, rgba(17, 87, 158, 0.1), transparent 62%),
    radial-gradient(900px 400px at 0% 0%, rgba(243, 179, 27, 0.1), transparent 60%),
    var(--bg);
  scroll-behavior: smooth;
}

.pub-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  border-color: #e0a30f;
  box-shadow: 0 6px 16px rgba(243, 179, 27, 0.28);
}
.btn-gold:hover { background: #ffc53d; border-color: #d99b08; }

/* ------------------------------ kerangka ------------------------------ */

.pub-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pub-section { display: flex; flex-direction: column; gap: 0; }

.pub-section-head h2 { font-size: 21px; font-weight: 700; }
.pub-section-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ------------------------------ hero (tentang) ------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 46px 46px 44px;
  background:
    radial-gradient(760px 460px at 88% 6%, rgba(243, 179, 27, 0.22), transparent 62%),
    radial-gradient(620px 420px at 4% 96%, rgba(17, 87, 158, 0.5), transparent 66%),
    linear-gradient(135deg, #07224b 0%, #0a2e63 55%, #0e4a8a 100%);
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 22px 46px rgba(7, 34, 75, 0.22);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow-gold { color: var(--gold); }

.hero-title {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 43px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 10px;
}

.hero-sub {
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  margin-top: 12px;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14.5px;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts dt { color: var(--gold); font-weight: 700; font-size: 18px; line-height: 1.2; }
.hero-facts dd { color: rgba(255, 255, 255, 0.7); font-size: 11.5px; margin: 4px 0 0; letter-spacing: 0.01em; }

/* poster layanan */
.hero-poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.poster-btn {
  position: relative;
  display: block;
  width: 100%;
  max-width: 360px;
  padding: 10px;
  background: #fff;
  border: 0;
  border-radius: 14px;
  cursor: zoom-in;
  box-shadow: 0 28px 54px rgba(2, 16, 38, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-btn:hover { transform: translateY(-3px); box-shadow: 0 34px 62px rgba(2, 16, 38, 0.5); }
.poster-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.poster-btn img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.poster-zoom-hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(7, 34, 75, 0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.poster-hint { color: rgba(255, 255, 255, 0.66); font-size: 11.5px; margin: 0; }

/* ------------------------------ kartu artikel ------------------------------ */

.article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 30px;
}

.article > h2 { font-size: 18px; font-weight: 700; }
.article > h2 + .prose,
.article > h2 + .legal-list,
.article > h2 + .contact-row { margin-top: 14px; }

.article-accent {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafe 100%);
  border-top: 3px solid var(--gold);
}

.prose { color: #2b3d55; font-size: 14.5px; line-height: 1.78; }
.prose p + p { margin-top: 12px; }

.pub-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #2b3d55;
  line-height: 1.75;
  font-size: 14px;
}
.pub-list li + li { margin-top: 6px; }

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* dasar hukum */
.legal-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: legal;
}

.legal-list li {
  counter-increment: legal;
  position: relative;
  padding-left: 42px;
}

.legal-list li::before {
  content: counter(legal);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--blue-050);
  border: 1px solid #c9d9f0;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 12.5px;
  display: grid;
  place-items: center;
}

.legal-list strong { display: block; font-size: 13.5px; color: var(--navy-900); line-height: 1.55; }
.legal-list span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.6; }

/* ringkasan alur */
.mini-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #2b3d55; line-height: 1.65; }

.mini-step-num {
  flex: 0 0 auto;
  min-width: 52px;
  padding: 4px 7px;
  border-radius: 8px;
  background: var(--navy-900);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

/* kartu navigasi */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.nav-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.nav-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue-600);
  border-left-color: var(--gold);
  box-shadow: 0 14px 30px rgba(10, 46, 99, 0.12);
}

.nav-card strong { color: var(--navy-900); font-size: 15px; }
.nav-card span { color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ------------------------------ band judul halaman ------------------------------ */

.page-band {
  border-radius: 20px;
  padding: 38px 42px;
  background:
    radial-gradient(620px 320px at 92% 0%, rgba(243, 179, 27, 0.18), transparent 62%),
    linear-gradient(135deg, #07224b 0%, #0a2e63 58%, #0e4a8a 100%);
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 18px 38px rgba(7, 34, 75, 0.18);
}

.page-band h1 {
  color: #fff;
  font-size: clamp(25px, 2.9vw, 34px);
  line-height: 1.15;
  margin-top: 8px;
  letter-spacing: -0.02em;
}

.page-band p:last-child {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.75;
  margin-top: 12px;
  max-width: 82ch;
}

/* ------------------------------ jenis layanan ------------------------------ */

.type-stack { display: flex; flex-direction: column; gap: 22px; }

.type-card {
  display: flex;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.type-badge {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}

.type-body { min-width: 0; }
.type-body h2 { font-size: 17px; }
.type-intro { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

.type-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #22364f;
  background: var(--blue-050);
  border-left: 3px solid var(--blue-600);
  border-radius: 10px;
  padding: 13px 15px;
}

/* ------------------------------ prosedur ------------------------------ */

.callout {
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid transparent;
}

.callout strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.callout p { font-size: 13.5px; line-height: 1.72; }

.callout-info {
  background: var(--blue-050);
  border-color: #c9d9f0;
  color: #1b3a63;
  margin-bottom: 26px;
}
.callout-info strong { color: var(--navy-900); }

.callout-gold {
  background: var(--gold-soft);
  border-color: #f2dfa9;
  color: #6b4c04;
  margin-top: 16px;
}
.callout-gold strong { color: #6b4c04; }

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.step { display: flex; gap: 20px; position: relative; }

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 50px;
  bottom: -22px;
  width: 2px;
  background: linear-gradient(180deg, #cfdcec 0%, #e7eef7 100%);
}

.step-marker {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(10, 46, 99, 0.1);
}

.step-content {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.step-content h2 {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 16.5px;
  margin-bottom: 12px;
}

.step-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.step-content p { color: #2b3d55; font-size: 14px; line-height: 1.78; }
.step-content p + p,
.step-content p + .pub-list,
.step-content .pub-list + p { margin-top: 10px; }

.step-emphasis { color: var(--navy-900) !important; font-weight: 500; }

.step-note {
  font-size: 13px !important;
  color: var(--muted) !important;
  border-left: 3px solid var(--border-strong);
  padding-left: 13px;
  margin-top: 12px;
}

/* ------------------------------ ketentuan ------------------------------ */

.num-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: ketentuan;
}

.num-list li {
  counter-increment: ketentuan;
  position: relative;
  padding-left: 44px;
  color: #2b3d55;
  font-size: 14.5px;
  line-height: 1.78;
}

.num-list li::before {
  content: counter(ketentuan);
  position: absolute;
  left: 0;
  top: 1px;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--blue-050);
  border: 1px solid #c9d9f0;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
}

/* ------------------------------ CTA ------------------------------ */

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: 18px;
  border-bottom: 4px solid var(--gold);
  background:
    radial-gradient(520px 260px at 94% 0%, rgba(243, 179, 27, 0.2), transparent 64%),
    linear-gradient(135deg, #07224b 0%, #0a2e63 60%, #0e4a8a 100%);
  box-shadow: 0 16px 34px rgba(7, 34, 75, 0.16);
}

.cta-panel h2 { color: #fff; font-size: 18px; }
.cta-panel p { color: rgba(255, 255, 255, 0.78); font-size: 13.5px; margin-top: 6px; max-width: 62ch; }

/* ------------------------------ kontak ------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-card > h2 { font-size: 18px; }

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}

.contact-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.6;
  text-decoration: none;
}
a.contact-value:hover { color: var(--blue-700); text-decoration: underline; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.contact-note { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.7; }

.contact-side-intro { color: var(--muted); font-size: 13.5px; margin-top: 10px; line-height: 1.7; }

.contact-links {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-links a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--blue-050);
  border: 1px solid #dbe7f6;
  color: var(--blue-700);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}
.contact-links a:hover { background: #e2ecfa; }

.commit-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.commit-panel p {
  color: var(--navy-900);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.78;
}

/* ------------------------------ FAQ ------------------------------ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.faq-list { display: flex; flex-direction: column; gap: 16px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-margin-top: 88px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item[open] {
  border-color: rgba(17, 87, 158, 0.32);
  box-shadow: 0 12px 28px rgba(7, 34, 75, 0.1);
}

.faq-summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--navy-900);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { background: rgba(17, 87, 158, 0.04); }
.faq-summary:focus-visible { outline: 3px solid rgba(17, 87, 158, 0.35); outline-offset: -3px; }

.faq-num {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 87, 158, 0.1);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
}
.faq-item[open] .faq-num { background: var(--gold); color: var(--navy-900); }

.faq-q { flex: 1 1 auto; }

/* ikon + / − */
.faq-icon {
  flex: 0 0 auto;
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 4px;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.faq-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-item[open] .faq-icon::before { background: #b07d05; }

.faq-body {
  padding: 0 20px 20px 61px;
  color: #2b3d55;
  font-size: 14px;
  line-height: 1.78;
}
.faq-body p + p { margin-top: 12px; }
.faq-body .pub-list { margin-top: 10px; font-size: 13.8px; }

.faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.faq-channels {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 18px;
}
.faq-channels li { display: flex; align-items: baseline; gap: 8px; font-size: 13.8px; }
.faq-channels .ch-label {
  flex: 0 0 84px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.faq-channels a { color: var(--blue-700); font-weight: 600; text-decoration: none; }
.faq-channels a:hover { text-decoration: underline; }
.faq-channels .ch-handle { color: var(--navy-900); font-weight: 600; }

.faq-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.faq-side-card { padding: 24px 24px 26px; }
.faq-side-card > h2 { font-size: 17px; }
.faq-side-intro { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 8px; }
.faq-side-card .btn { margin-top: 16px; }
.faq-side-card .contact-links a { font-size: 13px; padding: 10px 12px; }

/* ------------------------------ footer ------------------------------ */

.pub-footer {
  margin-top: 4px;
  padding: 34px 36px 22px;
  border-radius: 18px;
  border-top: 4px solid var(--gold);
  background: linear-gradient(135deg, #07224b 0%, #0a2e63 60%, #0e4a8a 100%);
  color: rgba(255, 255, 255, 0.75);
}

.pub-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 32px;
}

.pub-footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.pub-footer-brand strong { color: #fff; font-size: 14.5px; }
.pub-footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 12.5px; margin-top: 3px; line-height: 1.6; }

.pub-footer-col h3 {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.pub-footer-col a,
.pub-footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.65;
  text-decoration: none;
  margin-bottom: 7px;
}
.pub-footer-col a:hover { color: #fff; text-decoration: underline; }

.pub-footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------ lightbox poster ------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 16, 38, 0.9);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(94vw, 720px);
  max-height: 88vh;
  height: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

body.lightbox-open { overflow: hidden; }

/* ------------------------------ lacak pengajuan ------------------------------ */

/* item nav "Lacak Pengajuan" dibuat menonjol (titik emas) */
.nav-link.nav-highlight {
  border-color: rgba(243, 179, 27, 0.42);
  color: #fff;
  font-weight: 600;
}
.nav-link.nav-highlight:hover { background: rgba(243, 179, 27, 0.16); border-color: rgba(243, 179, 27, 0.7); }
.nav-link.nav-highlight::before {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(243, 179, 27, 0.24);
}

/* hero pencarian */
.lacak-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 46px 44px 40px;
  background:
    radial-gradient(720px 380px at 86% -6%, rgba(243, 179, 27, 0.28), transparent 62%),
    radial-gradient(640px 360px at 4% 106%, rgba(17, 87, 158, 0.55), transparent 66%),
    linear-gradient(135deg, #061c3f 0%, #0a2e63 52%, #0e4a8a 100%);
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 24px 50px rgba(7, 34, 75, 0.24);
  text-align: center;
}

.lacak-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.lacak-ring-a {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -150px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 46px rgba(255, 255, 255, 0.035);
}
.lacak-ring-b {
  width: 260px;
  height: 260px;
  left: -110px;
  bottom: -160px;
  border: 1px solid rgba(243, 179, 27, 0.3);
  box-shadow: inset 0 0 0 34px rgba(243, 179, 27, 0.06);
}

.lacak-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lacak-title {
  color: #fff;
  font-size: clamp(28px, 3.3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 10px;
}

.lacak-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 64ch;
}

.lacak-form { width: 100%; margin-top: 26px; }

.lacak-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 38px rgba(3, 18, 41, 0.3);
  transition: box-shadow 0.2s ease;
}
.lacak-input:focus-within { box-shadow: 0 0 0 4px rgba(243, 179, 27, 0.34), 0 18px 38px rgba(3, 18, 41, 0.32); }

.lacak-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue-050);
  color: var(--blue-700);
}

.lacak-input input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  outline: none;
}
.lacak-input input::placeholder { font-weight: 500; letter-spacing: 0; color: #97a4b8; }

.lacak-btn { flex: 0 0 auto; padding: 13px 24px; border-radius: 13px; font-size: 14px; }

.lacak-form-note { margin-top: 12px; color: rgba(255, 255, 255, 0.62); font-size: 12px; }

.lacak-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.lacak-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 11.5px;
  font-weight: 600;
}
.lacak-badges svg { color: var(--gold); }

/* judul hasil */
#hasil-lacak { scroll-margin-top: 86px; }

.lacak-hasil-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.lacak-hasil-head h2 { font-size: 21px; font-weight: 700; color: var(--navy-900); }
.lacak-hasil-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

.lacak-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ok-bg);
  border: 1px solid #bfe6d1;
  color: var(--ok);
  font-size: 12px;
  font-weight: 700;
}

.lacak-result { display: flex; flex-direction: column; gap: 20px; }

/* kartu satu pengajuan */
.track-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.track-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 22px;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.track-head-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.track-id { font-size: 14px; font-weight: 700; color: var(--navy-900); }
.track-updated { font-size: 11.5px; color: var(--muted); }

.track-progress { display: flex; align-items: center; gap: 12px; padding: 14px 22px 0; }
.track-progress-bar {
  flex: 1 1 auto;
  height: 8px;
  border-radius: 999px;
  background: #e8eef7;
  overflow: hidden;
}
.track-progress-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #11579e 0%, var(--gold) 100%);
}
.track-progress-text { flex: 0 0 auto; font-size: 11.5px; color: var(--muted); }
.track-progress-text b { color: var(--navy-900); font-size: 12.5px; }

.track-body { display: flex; flex-direction: column; gap: 20px; padding: 18px 22px 22px; }

.track-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px 22px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7fafe;
  border: 1px solid #e8eef7;
}
.track-meta dt {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c8ba1;
}
.track-meta dd { margin: 4px 0 0; font-size: 13.5px; font-weight: 600; color: var(--navy-900); line-height: 1.45; }

/* bagan tahapan (horizontal, 5 kolom) */
.track-wrap { overflow-x: auto; padding: 4px 0 6px; }

.track-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  min-width: 640px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.track-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 8px;
  animation: trackIn 0.42s ease both;
}
.track-step:nth-child(2) { animation-delay: 0.05s; }
.track-step:nth-child(3) { animation-delay: 0.1s; }
.track-step:nth-child(4) { animation-delay: 0.15s; }
.track-step:nth-child(5) { animation-delay: 0.2s; }

@keyframes trackIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* garis penghubung: dari titik tengah tahap sebelumnya ke titik tengah tahap ini */
.track-step::before {
  content: '';
  position: absolute;
  top: 21px;
  left: -50%;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #e3e9f2;
}
.track-step:first-child::before { display: none; }
.track-step.is-done::before,
.track-step.is-current::before { background: linear-gradient(90deg, #d9a41c 0%, var(--gold) 100%); }

.track-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #dde5ef;
  color: #93a3ba;
  font-size: 13.5px;
  font-weight: 700;
}

.track-step.is-done .track-node {
  background: linear-gradient(135deg, #0a2e63 0%, #11579e 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 16px rgba(10, 46, 99, 0.22);
}

.track-step.is-current .track-node {
  background: linear-gradient(135deg, #ffd35c 0%, var(--gold) 100%);
  border-color: #fff;
  color: var(--navy-900);
  animation: trackPulse 2.4s ease-in-out infinite;
}

.track-step.is-current.tone-merah .track-node { background: linear-gradient(135deg, #e2564a 0%, #c0392b 100%); color: #fff; }
.track-step.is-current.tone-hijau .track-node { background: linear-gradient(135deg, #19a06a 0%, var(--ok) 100%); color: #fff; }

@keyframes trackPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(243, 179, 27, 0.3), 0 10px 20px rgba(217, 155, 8, 0.26); }
  50% { box-shadow: 0 0 0 10px rgba(243, 179, 27, 0.08), 0 10px 20px rgba(217, 155, 8, 0.26); }
}

.track-label { font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--muted); max-width: 16ch; }
.track-step.is-done .track-label,
.track-step.is-current .track-label { color: var(--navy-900); }
.track-step.is-current .track-label { font-weight: 700; }
.track-step.is-todo .track-label { color: #90a0b5; }

.track-date { font-size: 11px; color: #8b9ab0; min-height: 14px; }
.track-step.is-current .track-date { color: #8a6205; font-weight: 700; }

.track-note { padding: 14px 16px; border-radius: 12px; background: var(--danger-bg); border: 1px solid #f4c7c2; }
.track-note strong {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--danger);
}
.track-note p { margin-top: 6px; font-size: 13px; line-height: 1.65; color: #7e2a24; white-space: pre-line; }

.track-foot { font-size: 11.5px; color: var(--muted); }

/* belum ada hasil / NIM salah */
.lacak-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.lacak-empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-050);
  color: var(--blue-700);
}
.lacak-empty-warn .lacak-empty-icon { background: var(--danger-bg); color: var(--danger); }
.lacak-empty h2 { font-size: 19px; font-weight: 700; color: var(--navy-900); }
.lacak-empty p { font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 62ch; }
.lacak-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* panduan sebelum mencari */
.lacak-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.lacak-how { display: flex; flex-direction: column; gap: 16px; margin: 18px 0 0; padding: 0; list-style: none; }
.lacak-how li { display: flex; gap: 14px; align-items: flex-start; }
.lacak-how-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}
.lacak-how strong { display: block; font-size: 13.5px; color: var(--navy-900); }
.lacak-how p { margin-top: 3px; font-size: 12.8px; line-height: 1.65; color: var(--muted); }

.lacak-side { display: flex; flex-direction: column; gap: 12px; }
.lacak-side p { font-size: 13.5px; line-height: 1.72; color: #2b3d55; }
.lacak-side-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

.lacak-cta-panel { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  .track-step,
  .track-step.is-current .track-node { animation: none; }
}

/* ------------------------------ responsif ------------------------------ */

@media (max-width: 1080px) {
  .nav-link { padding: 9px 10px; font-size: 13px; }
  .brand-text small { display: none; }
  /* menu publik: rapatkan topbar agar tidak meluber sebelum menu mobile aktif */
  .topbar-inner { gap: 14px; }
  .brand-logo { height: 40px; }
}

/* 7 menu publik (Tentang, Jenis, Prosedur, Lacak, FAQ, Ketentuan, Kontak) lebih lebar:
   di antara menu mobile (≤860px) dan desktop lebar, topbar dirapatkan lagi. */
@media (min-width: 861px) and (max-width: 1010px) {
  .topbar-inner { gap: 10px; }
  .mainnav { gap: 2px; }
  .nav-link { padding: 9px 6px; font-size: 12.5px; }
  .nav-link.nav-highlight { gap: 5px; }
  .pub-actions { gap: 8px; }
  .brand-logo { height: 36px; }
}

@media (max-width: 980px) {
  .hero { padding: 32px 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-poster { order: 2; }
  .poster-btn { max-width: 320px; }
  .hero-facts { gap: 16px 26px; }
  .split-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .lacak-info-grid { grid-template-columns: minmax(0, 1fr); }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .pub-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .pub-actions { order: 3; margin-left: 0; }
  .pub-main { padding: 20px 16px 44px; gap: 24px; }
  .article { padding: 22px; }
  .type-card { padding: 22px; }
  .step-content { padding: 18px 18px; }
}

@media (max-width: 640px) {
  .hero { padding: 26px 20px; border-radius: 16px; }
  .hero-title { font-size: 27px; }
  .hero-sub { font-size: 13.5px; }
  .hero-actions .btn { width: 100%; }
  .poster-btn { max-width: 280px; }
  .page-band { padding: 26px 22px; border-radius: 16px; }
  .page-band h1 { font-size: 24px; }
  .page-band p:last-child { font-size: 13.5px; }
  .article { padding: 20px 18px; }
  .type-card { flex-direction: column; gap: 14px; padding: 20px 18px; }
  .step { gap: 12px; }
  .step:not(:last-child)::before { left: 17px; top: 44px; }
  .step-marker { width: 36px; height: 36px; font-size: 13.5px; }
  .step-content { padding: 16px 16px; }
  .step-content h2 { font-size: 15.5px; }
  .num-list li,
  .prose,
  .pub-list { font-size: 13.8px; }
  .cta-panel { padding: 22px; }
  .cta-panel .btn { width: 100%; }
  .contact-actions .btn { flex: 1 1 auto; }
  .commit-panel { padding: 20px 18px; }
  .pub-footer { padding: 26px 22px 18px; }
  .pub-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .pub-footer-brand { grid-column: auto; }
  .pub-footer-bar { font-size: 11.5px; }
  .lightbox { padding: 14px; }
  .lightbox img { max-height: 84vh; }

  /* lacak pengajuan */
  .lacak-hero { padding: 30px 20px 28px; border-radius: 16px; }  .lacak-title { font-size: 25px; }
  .lacak-sub { font-size: 13.5px; }
  .lacak-input { flex-wrap: wrap; padding: 12px; border-radius: 16px; }
  .lacak-input input { flex: 1 1 120px; padding: 8px 4px; }
  .lacak-btn { flex: 1 1 100%; }
  .lacak-form-note { font-size: 11.5px; }
  .lacak-badges { gap: 6px; }
  .lacak-hasil-head h2 { font-size: 19px; }
  .track-head,
  .track-progress { padding-left: 16px; padding-right: 16px; }
  .track-body { padding: 16px 16px 20px; }
  .track-meta { gap: 12px 16px; padding: 12px 14px; }
  .track-steps { min-width: 0; }
  .track-node { width: 40px; height: 40px; font-size: 12.5px; }
  .track-label { font-size: 12px; }

  /* di layar HP bagan jadi vertikal (tanpa perlu digeser) */
  .track-wrap { overflow-x: visible; }
  .track-steps { display: flex; flex-direction: column; }
  .track-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    justify-items: start;
    text-align: left;
    padding: 0 0 18px;
  }
  .track-step:last-child { padding-bottom: 0; }
  .track-step::before { top: -18px; left: 18px; width: 4px; height: 18px; }
  .track-node { grid-row: 1 / span 2; align-self: start; }
  .track-label { grid-column: 2; grid-row: 1; max-width: none; }
  .track-date { grid-column: 2; grid-row: 2; min-height: 0; }
  .lacak-empty { padding: 30px 20px; }
  .lacak-empty-actions .btn { flex: 1 1 auto; }
  .lacak-side-actions .btn { flex: 1 1 auto; }

  /* FAQ */
  .faq-summary { padding: 16px 16px; gap: 12px; font-size: 14px; }
  .faq-num { width: 24px; height: 24px; border-radius: 8px; font-size: 11.5px; }
  .faq-body { padding: 0 16px 18px 52px; font-size: 13.6px; }
  .faq-channels { grid-template-columns: minmax(0, 1fr); }
  .faq-side-card { padding: 20px 18px 22px; }
}
