/* ==========================================================================
   PPID DKPP RI — Modern Design System
   ========================================================================== */

:root {
  /* Color palette — authoritative navy + dignified gold, for a judicial/oversight body */
  --c-primary-950: #071b2e;
  --c-primary-900: #0a2540;
  --c-primary-800: #0d3255;
  --c-primary-700: #123f6b;
  --c-primary-600: #1a5088;
  --c-primary-500: #2467a8;
  --c-primary-100: #e4eef7;
  --c-primary-50:  #f2f7fb;

  --c-gold-600: #a9781f;
  --c-gold-500: #c9a227;
  --c-gold-400: #dcb94a;
  --c-gold-100: #faf3dd;

  --c-ink-900: #101826;
  --c-ink-700: #2b3648;
  --c-ink-500: #5b6b7f;
  --c-ink-300: #94a3b8;
  --c-ink-100: #e5e9ef;
  --c-ink-50:  #f6f8fa;

  --c-white: #ffffff;
  --c-success: #17845a;
  --c-danger: #c2402f;

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.14), 0 4px 10px rgba(10, 37, 64, 0.08);
  --shadow-gold: 0 8px 20px rgba(201, 162, 39, 0.25);

  --container-w: 1240px;
  --header-h: 84px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink-700);
  background: var(--c-white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--c-ink-900); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--c-gold-400); outline-offset: 2px; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--c-primary-900); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar {
  background: var(--c-primary-950);
  color: #cfe0f0;
  font-size: 0.85rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; gap: 16px; flex-wrap: wrap; }
.topbar-contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-contact a { color: #cfe0f0; display: inline-flex; align-items: center; gap: 6px; transition: color .2s var(--ease); }
.topbar-contact a:hover { color: var(--c-gold-400); }
.topbar-social { display: flex; align-items: center; gap: 12px; }
.topbar-social a {
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border-radius: var(--radius-full); transition: all .2s var(--ease);
}
.topbar-social a:hover { background: var(--c-gold-500); color: var(--c-primary-950); transform: translateY(-2px); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-ink-100);
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }

.nav-menu { display: flex; }
.nav-menu > ul { display: flex; align-items: center; gap: 4px; }
.nav-menu > ul > li { position: relative; }
.nav-menu > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.94rem; color: var(--c-ink-700);
  transition: all .2s var(--ease);
}
.nav-menu > ul > li > a::after { content: ''; }
.nav-menu > ul > li.drop-down > a::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 2px; margin-top: -4px;
  transition: transform .2s var(--ease);
}
.nav-menu > ul > li > a:hover,
.nav-menu > ul > li > a.active { background: var(--c-primary-50); color: var(--c-primary-800); }

.nav-menu ul ul {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
  background: var(--c-white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-ink-100);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s var(--ease);
}
.nav-menu ul li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu ul ul li a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--c-ink-700); }
.nav-menu ul ul li a:hover { background: var(--c-primary-50); color: var(--c-primary-800); padding-left: 18px; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.header-icon-btn {
  width: 44px; height: 44px; border-radius: var(--radius-full); border: 1.5px solid var(--c-ink-100);
  background: var(--c-white); color: var(--c-ink-700); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; transition: all .2s var(--ease); flex-shrink: 0;
}
.header-icon-btn:hover, .header-icon-btn.is-active { background: var(--c-primary-50); border-color: var(--c-primary-600); color: var(--c-primary-700); }

.search-panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 850;
  background: var(--c-white); border-bottom: 1px solid var(--c-ink-100); box-shadow: var(--shadow-lg);
  max-height: 0; overflow: hidden; opacity: 0; transition: all .25s var(--ease);
}
.search-panel.is-open { max-height: 140px; opacity: 1; }
.search-panel .container { padding-top: 20px; padding-bottom: 20px; }
.search-panel-form { display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto; }
.search-panel-icon { font-size: 1.1rem; flex-shrink: 0; }
.search-panel-form input {
  flex: 1; border: none; border-bottom: 2px solid var(--c-ink-100); background: transparent;
  font-size: 1.05rem; padding: 8px 4px; min-width: 0; transition: border-color .2s var(--ease);
}
.search-panel-form input:focus { outline: none; border-color: var(--c-primary-600); }
@media (max-width: 640px) {
  .search-panel-form { flex-wrap: wrap; }
  .search-panel-form input { flex-basis: 100%; order: 1; }
  .search-panel-icon { order: 0; }
  .search-panel-form button { order: 2; margin-left: auto; }
}

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: var(--c-primary-50); border: none; border-radius: var(--radius-sm);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--c-primary-900); margin: 0 auto; transition: all .25s var(--ease); border-radius: 2px; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-full); border: 1.5px solid transparent;
  font-weight: 700; font-size: 0.94rem; white-space: nowrap; cursor: pointer;
  transition: all .22s var(--ease);
}
.btn-primary { background: var(--c-primary-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-primary-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--c-gold-500); color: var(--c-primary-950); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--c-gold-400); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--c-ink-100); color: var(--c-primary-800); }
.btn-outline:hover { border-color: var(--c-primary-700); background: var(--c-primary-50); }
.btn-ghost-light { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Hero / Carousel
   ========================================================================== */
.hero { position: relative; background: var(--c-primary-950); overflow: hidden; }
.hero-track { display: flex; transition: transform .6s var(--ease); }
.hero-slide {
  min-width: 100%; position: relative;
  min-height: 560px; display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,27,46,0.94) 0%, rgba(7,27,46,0.78) 42%, rgba(7,27,46,0.35) 75%, rgba(7,27,46,0.15) 100%);
}
.hero-slide-content { position: relative; z-index: 2; max-width: 640px; padding: 40px 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,0.16); border: 1px solid rgba(201,162,39,0.4); color: var(--c-gold-400);
  padding: 6px 16px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-slide h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.25; margin-bottom: 22px; }
.hero-slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: all .2s var(--ease);
}
.hero-nav:hover { background: var(--c-gold-500); color: var(--c-primary-950); border-color: var(--c-gold-500); }
.hero-nav.prev { left: 24px; }
.hero-nav.next { right: 24px; }
.hero-dots { position: absolute; bottom: 24px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; padding: 0; transition: all .2s var(--ease); }
.hero-dots button.is-active { background: var(--c-gold-500); width: 26px; border-radius: var(--radius-full); }

/* ==========================================================================
   Homepage search
   ========================================================================== */
.search-hero-wrap { position: relative; z-index: 20; }
.search-hero {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-ink-100);
  margin-top: -44px;
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.search-hero-label { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.search-hero-icon {
  width: 50px; height: 50px; border-radius: var(--radius-md);
  background: var(--c-primary-100); color: var(--c-primary-700);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.search-hero-label strong { display: block; font-size: 1.02rem; color: var(--c-ink-900); }
.search-hero-label span { display: block; font-size: 0.84rem; color: var(--c-ink-500); margin-top: 2px; }
.search-hero-form {
  flex: 1; min-width: 260px; max-width: 560px;
  display: flex; align-items: center; gap: 8px;
  background: var(--c-ink-50); border: 1.5px solid var(--c-ink-100); border-radius: var(--radius-full);
  padding: 6px 6px 6px 20px; transition: all .2s var(--ease);
}
.search-hero-form:focus-within { border-color: var(--c-primary-600); background: var(--c-white); box-shadow: 0 0 0 4px var(--c-primary-100); }
.search-hero-form input { flex: 1; border: none; background: transparent; font-size: 0.94rem; padding: 8px 0; min-width: 0; }
.search-hero-form input:focus { outline: none; }
.search-hero-form button {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--c-primary-800); color: #fff; border: none; border-radius: var(--radius-full);
  padding: 12px 22px; font-weight: 700; font-size: 0.9rem; transition: all .2s var(--ease);
}
.search-hero-form button:hover { background: var(--c-primary-700); }
@media (max-width: 768px) {
  .search-hero { margin-top: -28px; padding: 22px; flex-direction: column; align-items: stretch; }
  .search-hero-form { max-width: none; }
}

/* ==========================================================================
   Sections / Titles
   ========================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--c-ink-50); }
.section-dark { background: var(--c-primary-950); color: #cfe0f0; }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-title .eyebrow {
  display: inline-block; color: var(--c-gold-600); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.section-title h2 strong { color: var(--c-primary-700); }
.section-dark .section-title h2 { color: #fff; }
.section-title p { color: var(--c-ink-500); margin-top: 12px; }
.section-dark .section-title p { color: #a9c2da; }

/* ==========================================================================
   Grid utility
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.layout-2col { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .layout-2col { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--c-primary-900), var(--c-primary-700));
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.25), transparent 70%);
  top: -140px; right: -80px;
}
.cta-band h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; position: relative; }
.cta-band p { color: #cfe0f0; margin: 0; position: relative; }
.cta-band .btn { position: relative; flex-shrink: 0; }

/* ==========================================================================
   Service / icon cards
   ========================================================================== */
.icon-card {
  background: var(--c-white); border: 1px solid var(--c-ink-100); border-radius: var(--radius-lg);
  padding: 32px 26px; transition: all .25s var(--ease); height: 100%;
}
.icon-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.icon-card .icon-wrap {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--c-primary-100); color: var(--c-primary-700);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  font-size: 1.5rem;
}
.icon-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.icon-card h4 a:hover { color: var(--c-primary-700); }
.icon-card p { color: var(--c-ink-500); font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   News / portfolio cards
   ========================================================================== */
.news-card {
  background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--c-ink-100); transition: all .25s var(--ease); height: 100%; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.news-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--c-ink-100); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.news-card:hover .news-card-img img { transform: scale(1.07); }
.news-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card-date { font-size: 0.78rem; font-weight: 700; color: var(--c-gold-600); text-transform: uppercase; letter-spacing: 0.04em; }
.news-card h4 { font-size: 1.05rem; line-height: 1.4; }
.news-card h4 a:hover { color: var(--c-primary-700); }
.news-card-more { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--c-primary-700); display: inline-flex; align-items: center; gap: 6px; }
.news-card-more svg { transition: transform .2s var(--ease); }
.news-card:hover .news-card-more svg { transform: translateX(4px); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border-radius: var(--radius-lg); overflow: hidden; }
.stat-item { background: var(--c-primary-900); padding: 36px 20px; text-align: center; }
.stat-item .num { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--c-gold-400); font-variant-numeric: tabular-nums; }
.stat-item .label { color: #a9c2da; font-size: 0.86rem; margin-top: 6px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Breadcrumb / page header
   ========================================================================== */
.page-header { background: var(--c-primary-950); background-image: radial-gradient(circle at 90% 10%, rgba(201,162,39,0.14), transparent 45%); padding: 46px 0; }
.page-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-header h1 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.86rem; color: #a9c2da; }
.breadcrumb a { color: #a9c2da; font-weight: 600; }
.breadcrumb a:hover { color: var(--c-gold-400); }
.breadcrumb span { color: var(--c-gold-400); font-weight: 700; }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ==========================================================================
   Article / blog detail
   ========================================================================== */
.article { background: var(--c-white); border: 1px solid var(--c-ink-100); border-radius: var(--radius-lg); overflow: hidden; }
.article-img img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.article-body { padding: 36px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--c-ink-500); font-size: 0.86rem; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--c-ink-100); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-content { font-size: 1.02rem; line-height: 1.85; color: var(--c-ink-700); }
.article-content img { border-radius: var(--radius-md); margin: 20px 0; }
.article-content p { margin-bottom: 1.2em; }

.list-empty { text-align: center; padding: 70px 20px; color: var(--c-ink-500); }
.list-empty .icon { font-size: 2.4rem; margin-bottom: 14px; opacity: .5; }

/* ==========================================================================
   Search results
   ========================================================================== */
.result-list { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin: 0 auto; }
.result-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--c-white); border: 1px solid var(--c-ink-100); border-radius: var(--radius-md);
  padding: 20px 24px; transition: all .2s var(--ease);
}
.result-card:hover { border-color: var(--c-primary-600); box-shadow: var(--shadow-md); transform: translateX(4px); }
.result-card h4 { font-size: 1rem; margin: 6px 0 0; flex-basis: 100%; }
.result-type {
  display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--c-primary-700); background: var(--c-primary-100); padding: 4px 12px; border-radius: var(--radius-full);
}
.result-date { font-size: 0.8rem; color: var(--c-ink-500); flex-basis: 100%; }

/* ==========================================================================
   Sidebar widgets
   ========================================================================== */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.widget { background: var(--c-white); border: 1px solid var(--c-ink-100); border-radius: var(--radius-lg); padding: 26px; }
.widget-title { font-size: 1rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--c-primary-100); }
.search-widget { display: flex; gap: 0; border-radius: var(--radius-full); border: 1.5px solid var(--c-ink-100); overflow: hidden; padding: 4px; }
.search-widget input { flex: 1; border: none; padding: 10px 16px; background: transparent; }
.search-widget input:focus { outline: none; }
.search-widget button { background: var(--c-primary-800); color: #fff; border: none; width: 42px; height: 42px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.search-widget button:hover { background: var(--c-primary-700); }

.post-mini { display: flex; gap: 14px; align-items: flex-start; }
.post-mini + .post-mini { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--c-ink-100); }
.post-mini img { width: 68px; height: 68px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.post-mini h4 { font-size: 0.88rem; line-height: 1.4; margin-bottom: 6px; }
.post-mini h4 a:hover { color: var(--c-primary-700); }
.post-mini time { font-size: 0.76rem; color: var(--c-ink-500); }

.related-list li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--c-ink-100); font-size: 0.9rem; font-weight: 600; color: var(--c-ink-700); }
.related-list li:last-child a { border-bottom: none; }
.related-list li a:hover { color: var(--c-primary-700); padding-left: 6px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: var(--c-white); border: 1px solid var(--c-ink-100); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--c-ink-700); margin-bottom: 8px; }
.form-control, .form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--c-ink-100); border-radius: var(--radius-sm);
  background: var(--c-ink-50); color: var(--c-ink-900); font-size: 0.96rem; transition: all .2s var(--ease);
}
.form-control:focus, .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--c-primary-600); background: var(--c-white); box-shadow: 0 0 0 4px var(--c-primary-100);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--c-ink-500); margin-top: 6px; }
.form-message { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; margin-bottom: 18px; display: none; }
.form-message.is-error { background: #fdecea; color: var(--c-danger); display: block; }
.form-message.is-success { background: #e7f6ef; color: var(--c-success); display: block; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; border: 1.5px solid var(--c-ink-100); color: var(--c-ink-700);
  transition: all .2s var(--ease);
}
.pagination a:hover { border-color: var(--c-primary-700); color: var(--c-primary-700); }
.pagination .current, .pagination span.current { background: var(--c-primary-800); border-color: var(--c-primary-800); color: #fff; }

/* ==========================================================================
   Data table (dokumen informasi)
   ========================================================================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-ink-100); border-radius: var(--radius-lg); background: #fff; }
table.datatable { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.datatable th { background: var(--c-primary-950); color: #fff; text-align: left; padding: 16px 18px; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
table.datatable td { padding: 16px 18px; border-top: 1px solid var(--c-ink-100); color: var(--c-ink-700); vertical-align: middle; }
table.datatable tbody tr:hover { background: var(--c-primary-50); }
table.datatable a.dl-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: var(--radius-full);
  background: var(--c-primary-100); color: var(--c-primary-800); font-weight: 700; font-size: 0.82rem; transition: all .2s var(--ease);
}
table.datatable a.dl-btn:hover { background: var(--c-primary-800); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--c-primary-950); color: #a9c2da; }
.footer-top { padding: 68px 0 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand strong { color: #fff; font-size: 1.15rem; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-brand a { color: #a9c2da; }
.footer-brand a:hover { color: var(--c-gold-400); }
.footer-col h4 { color: #fff; font-size: 0.92rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; transition: all .2s var(--ease); }
.footer-col ul li a:hover { color: var(--c-gold-400); padding-left: 4px; }
.footer-app img { max-width: 170px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom .social { display: flex; gap: 10px; }
.footer-bottom .social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all .2s var(--ease); }
.footer-bottom .social a:hover { background: var(--c-gold-500); color: var(--c-primary-950); }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%; background: var(--c-primary-800); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--c-gold-500); color: var(--c-primary-950); }

/* ==========================================================================
   Reveal-on-scroll (replaces AOS)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.d-none { display: none; }
.icon-inline { display: inline-flex; align-items: center; }

/* ==========================================================================
   Responsive nav (mobile)
   ========================================================================== */
@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 12px; width: 44px; height: 44px; }
  .header-cta .btn-primary { display: none; }

  .site-header .container { gap: 8px; }
  .brand img { height: 40px; }

  .nav-menu {
    position: fixed; inset: 72px 0 0 0; background: var(--c-white); z-index: 890;
    padding: 12px 20px 32px; overflow-y: auto;
    display: flex; flex-direction: column; align-items: stretch;
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-menu > ul > li > a { padding: 14px 12px; justify-content: space-between; border-bottom: 1px solid var(--c-ink-100); border-radius: 0; }
  .nav-menu ul ul { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; display: none; min-width: 0; margin-top: 0; padding-left: 12px; }
  .nav-menu li.drop-down.is-open > ul { display: block; }
  .nav-menu li.drop-down.is-open > a::after { transform: rotate(-135deg); }
  .nav-mobile-cta { display: flex; gap: 10px; margin-top: 20px; }
}
@media (min-width: 992px) { .nav-mobile-cta { display: none; } }

/* ==========================================================================
   Responsive type/layout tweaks
   ========================================================================== */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero-slide { min-height: 460px; }
  .hero-nav { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .article-body { padding: 24px; }
  .form-card { padding: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-slide { min-height: 400px; }
  .hero-slide-content { padding: 24px 0; }
}
