/**
 * e-PKWT Landing Page Revamp (v3)
 * Dinas Tenaga Kerja, Transmigrasi dan Energi Provinsi DKI Jakarta
 * Bidang Hubungan Industrial — Pencatatan PKWT
 */

/* ============================================================
   1. Design Tokens (theme=perusahaan)
   ============================================================ */
:root {
  /* Brand palette dari spesifikasi */
  --head-gradient: linear-gradient(90deg, #75adf8, #3d7ac9 25.48%, #3465aa 49.52%, #3e76c2 71.15%, #75adf8);
  --primary-gradient: linear-gradient(90deg, #2d6cbf 61.06%, #5b93df);
  --pattern: rgba(117, 173, 248, .1);
  --pattern-strong: rgba(117, 173, 248, .2);
  --nav-active: #236cc5;
  --hero-cta: #236cc5;
  --theme-accent: #75adf8;
  --accent-strong: #236cc5;
  --decor: #75adf8;
  --hero-highlight: #75adf8;

  /* Turunan warna */
  --ink: #16325c;
  --ink-soft: #46608c;
  --surface: #ffffff;
  --surface-alt: #f5f9ff;
  --border: #e2ecfa;
  --text: #3d5878;

  /* Layout */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(22, 50, 92, .06);
  --shadow-md: 0 10px 30px rgba(35, 108, 197, .10);
  --shadow-lg: 0 18px 44px rgba(35, 108, 197, .16);
  --nav-height: 74px;
  --nav-height-scrolled: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================
   2. Base
   ============================================================ */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

a { color: var(--accent-strong); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--theme-accent); }

img { max-width: 100%; height: auto; }

::selection { background: var(--theme-accent); color: #fff; }

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

/* ============================================================
   3. Buttons
   ============================================================ */
.btn-v3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.9rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}

.btn-v3-primary {
  background: var(--primary-gradient);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(35, 108, 197, .35);
}
.btn-v3-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(35, 108, 197, .42);
  color: #fff !important;
}

.btn-v3-ghost {
  background: rgba(255, 255, 255, .14);
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}
.btn-v3-ghost:hover {
  background: rgba(255, 255, 255, .24);
  transform: translateY(-3px);
}

.btn-v3-outline {
  background: #fff;
  color: var(--accent-strong) !important;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-v3-outline:hover {
  color: #fff !important;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-3px);
}

.btn-v3 i { font-size: 1.15em; }

/* ============================================================
   4. Floating Pill Navigation (desktop)
   ============================================================ */
.nav-v3 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 24px 0;
  pointer-events: none;
  transition: padding .3s var(--ease);
}

.nav-v3.nav-scrolled { padding-top: 8px; }

.nav-pill {
  pointer-events: auto;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 10px 9px 14px;
  box-shadow: var(--shadow-md);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}

.nav-v3.nav-scrolled .nav-pill {
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-lg);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.nav-brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--head-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(35, 108, 197, .3);
  transition: transform .3s var(--ease);
}
.nav-brand:hover .nav-brand-logo { transform: rotate(-8deg) scale(1.06); }
.nav-brand-logo img { width: 62%; height: auto; }
.nav-brand-text { line-height: 1.15; min-width: 0; }
.nav-brand-title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: .5px;
}
.nav-brand-sub {
  display: block;
  font-size: .66rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-kolaborasi {
  height: 34px;
  width: auto;
  margin-left: 2px;
  flex: 0 0 auto;
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link-v3 {
  position: relative;
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .88rem;
  color: var(--ink-soft) !important;
  transition: background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.nav-link-v3 i { margin-right: 2px; vertical-align: -2px; }
.nav-link-v3:hover { background: var(--pattern-strong); color: var(--accent-strong) !important; }
.nav-link-v3.active {
  background: var(--nav-active);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(35, 108, 197, .3);
}

/* CTA di navbar */
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn-v3 { padding: .55rem 1.25rem; font-size: .84rem; border-radius: 999px; }
.btn-nav-login {
  background: #fff;
  color: var(--accent-strong) !important;
  border: 1.5px solid var(--border);
}
.btn-nav-login:hover { border-color: var(--accent-strong); transform: translateY(-2px); }
.btn-nav-registrasi {
  background: var(--primary-gradient);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(35, 108, 197, .35);
}
.btn-nav-registrasi:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(35, 108, 197, .42); }

/* ============================================================
   4B. Floating Bottom Nav (mobile, gesture)
   ============================================================ */
.bottomnav {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1000;
  display: none;
  align-items: stretch;
  justify-content: space-between;
  gap: 4px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow: 0 12px 34px rgba(22, 50, 92, .22);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.bottomnav.bottomnav-hidden {
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
}

.bn-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: .66rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.bn-item i { font-size: 1.25rem; line-height: 1; }
.bn-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bn-item:hover { color: var(--accent-strong); }
.bn-item.active {
  color: #fff;
  background: var(--nav-active);
  box-shadow: 0 4px 12px rgba(35, 108, 197, .35);
}
.bn-item.active span { color: #fff; }

.bn-cta {
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 64px;
  height: 64px;
  margin-top: -30px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-size: .6rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(35, 108, 197, .45);
  border: 3px solid rgba(255, 255, 255, .95);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.bn-cta i { font-size: 1.3rem; line-height: 1; }
.bn-cta:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(35, 108, 197, .5); }

/* ============================================================
   5. Hero
   ============================================================ */
.hero-v3 {
  position: relative;
  padding: calc(var(--nav-height) + 56px) 0 110px;
  background:
    linear-gradient(180deg, rgba(20, 46, 84, .22), rgba(20, 46, 84, .3)),
    var(--head-gradient);
  background-size: auto, 160% 100%;
  background-position: 0 0, 30% 0;
  color: #fff;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--pattern-strong) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: .55;
  pointer-events: none;
}

.hero-v3::before,
.hero-v3::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-v3::before {
  width: 480px; height: 480px;
  right: -140px; top: -160px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .16), transparent 65%);
}
.hero-v3::after {
  width: 340px; height: 340px;
  left: -120px; bottom: -140px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .12), transparent 65%);
}

.hero-v3-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4);
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .4px;
  margin-bottom: 22px;
}
.hero-badge i { color: var(--hero-highlight); }

.hero-v3 h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 14px rgba(15, 35, 66, .4);
}
.hero-v3 h1 .hero-highlight {
  color: #fff;
  text-shadow: 0 2px 14px rgba(15, 35, 66, .45);
  padding-bottom: 4px;
  background-image: linear-gradient(var(--hero-highlight), var(--hero-highlight));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 6px;
  border-radius: 3px;
}

.hero-v3 .hero-desc {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #fff;
  max-width: 560px;
  margin-bottom: 30px;
  text-shadow: 0 1px 10px rgba(15, 35, 66, .35);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 12px;
  background: rgba(20, 46, 84, .3);
  border: 1px dashed rgba(255, 255, 255, .45);
  text-shadow: 0 1px 8px rgba(15, 35, 66, .3);
}
.hero-note i { color: var(--hero-highlight); font-size: 1.1rem; }
.hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Hero visual card */
.hero-visual {
  position: relative;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 50px rgba(22, 50, 92, .25);
}
.hero-visual-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  background: #fff;
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 24px rgba(22, 50, 92, .28);
  margin-bottom: 18px;
}
.hero-visual h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; text-shadow: 0 1px 10px rgba(15, 35, 66, .35); }
.hero-visual p { color: #fff; font-size: .92rem; line-height: 1.7; margin-bottom: 18px; text-shadow: 0 1px 10px rgba(15, 35, 66, .35); }
.hero-visual .btn-v3 { width: 100%; padding: .75rem 1rem; }
.hero-visual-list { list-style: none; margin: 0 0 18px; padding: 0; }
.hero-visual-list li {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-size: .88rem;
  padding: 7px 0;
  text-shadow: 0 1px 10px rgba(15, 35, 66, .35);
}
.hero-visual-list li i { color: var(--hero-highlight); font-size: 1.05rem; flex: 0 0 auto; }

/* Lengkungan bawah hero */
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* ============================================================
   6. Sections umum
   ============================================================ */
.section-v3 { padding: 88px 0; position: relative; }
.section-v3.section-alt {
  background-color: var(--surface-alt);
  background-image: radial-gradient(var(--pattern) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
}

.section-v3 .container-v3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section title */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--pattern-strong);
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head p { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; margin: 0; }
.section-head .title-bar {
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: var(--primary-gradient);
  margin: 16px auto 0;
}

/* Kartu generik */
.card-v3 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card-v3:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--theme-accent);
}

/* ============================================================
   7. Icon boxes — menu navigasi cepat
   ============================================================ */
.menu-box-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.quick-card {
  padding: 30px 24px;
  text-align: center;
  display: block;
}
.quick-card .qc-icon {
  width: 66px; height: 66px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: var(--pattern);
  color: var(--accent-strong);
  font-size: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.quick-card h4 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.quick-card span.qc-desc { font-size: .85rem; color: var(--ink-soft); line-height: 1.55; display: block; }
.quick-card:hover .qc-icon {
  background: var(--accent-strong);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

/* ============================================================
   8. Tentang e-PKWT
   ============================================================ */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 56px;
}
.vm-card { padding: 32px 30px; position: relative; overflow: hidden; }
.vm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: var(--head-gradient);
}
.vm-card .vm-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--pattern);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.vm-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.vm-card p { font-size: .95rem; line-height: 1.8; color: var(--ink-soft); margin: 0; text-align: justify; }
.vm-card p + p { margin-top: 10px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.about-card { padding: 32px 30px; display: flex; flex-direction: column; }
.about-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.about-card p { font-size: .93rem; line-height: 1.8; text-align: justify; margin-bottom: 12px; }
.about-list { list-style: none; padding: 0; margin: 0 0 8px; }
.about-list li {
  display: flex;
  gap: 10px;
  font-size: .93rem;
  line-height: 1.7;
  padding: 6px 0;
}
.about-list li i { color: var(--accent-strong); font-size: 1.1rem; margin-top: 3px; flex: 0 0 auto; }
.about-card .card-footer-v3 { margin-top: auto; padding-top: 14px; }

/* ============================================================
   9. Alur proses
   ============================================================ */
.alur-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.alur-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--pattern) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  pointer-events: none;
}
.alur-frame img { position: relative; z-index: 1; width: 100%; }

/* ============================================================
   10. Accordion (Dasar Hukum & LKS Bipartit)
   ============================================================ */
.accordion-v3 { list-style: none; margin: 0; padding: 0; }
.accordion-v3 > li { margin-bottom: 14px; }

.acc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.acc-header:hover { border-color: var(--theme-accent); background: var(--surface-alt); }

.acc-num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--pattern-strong);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
}
.acc-toggle { margin-left: auto; color: var(--accent-strong); font-size: 1.3rem; transition: transform .3s var(--ease); }
.acc-header[aria-expanded="true"] { border-color: var(--accent-strong); background: var(--pattern); }
.acc-header[aria-expanded="true"] .acc-toggle { transform: rotate(180deg); }

.acc-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 6px 20px 20px;
  font-size: .93rem;
  line-height: 1.75;
}
.acc-body p { margin-bottom: 8px; }
.acc-body ol, .acc-body ul { padding-left: 20px; margin-bottom: 8px; }

/* ============================================================
   11. Tujuan & Manfaat
   ============================================================ */
.point-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.point-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.point-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--theme-accent); }
.point-item .pt-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--pattern);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.point-item p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--ink-soft); }

/* ============================================================
   12. CTA Banner
   ============================================================ */
.cta-v3 {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--head-gradient);
  background-size: 200% 100%;
  padding: 46px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg);
}
.cta-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1.6px, transparent 1.6px);
  background-size: 24px 24px;
  opacity: .5;
  pointer-events: none;
}
.cta-v3-text { position: relative; z-index: 1; }
.cta-v3-text h3 { color: #fff; font-size: 1.55rem; font-weight: 700; margin-bottom: 8px; }
.cta-v3-text p { color: rgba(255, 255, 255, .9); margin: 0; font-size: 1rem; }
.cta-v3 .btn-v3 { position: relative; z-index: 1; background: #fff; color: var(--accent-strong) !important; box-shadow: 0 10px 26px rgba(22, 50, 92, .3); padding: .95rem 2.4rem; }
.cta-v3 .btn-v3:hover { transform: translateY(-3px) scale(1.03); }

/* ============================================================
   13. LKS Bipartit
   ============================================================ */
.lks-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 34px;
  align-items: start;
}
.lks-video { position: relative; min-width: 0; overflow: visible; }
.lks-video video {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #000;
  overflow: hidden;
  border-radius: var(--radius);
}
.lks-content { min-width: 0; overflow: visible; }
.lks-content .lks-head { margin-bottom: 22px; }
.lks-content h3 { font-size: 1.4rem; margin-bottom: 12px; }
.lks-content h3 strong { color: var(--accent-strong); }
.lks-content .lks-head p { font-size: .94rem; line-height: 1.75; }
.lks-content .lks-head ol { padding-left: 20px; font-size: .94rem; line-height: 1.75; }
.lks-content .lks-head ol li { margin-bottom: 6px; }
.lks-content .lks-head strong { color: var(--ink); }

.table-v3-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.table-v3 {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 480px;
}
.table-v3 th {
  background: var(--pattern-strong);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}
.table-v3 td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}
.table-v3 tbody tr:nth-child(even) { background: var(--surface-alt); }
.table-v3 td.num {
  width: 44px;
  font-weight: 700;
  color: var(--accent-strong);
  text-align: center;
}

/* ============================================================
   14. Footer
   ============================================================ */
.footer-v3 {
  position: relative;
  background: #10294d;
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
}
.footer-v3::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--head-gradient);
}
.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(117, 173, 248, .12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 0;
  display: grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  gap: 40px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 46px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.footer-brand .fb-title { font-family: 'Poppins', sans-serif; font-weight: 700; color: #fff; font-size: 1.2rem; line-height: 1.2; }
.footer-brand .fb-sub { display: block; font-size: .72rem; color: rgba(255, 255, 255, .7); }
.footer-about p { font-size: .9rem; line-height: 1.8; margin: 0; }

.footer-v3 h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-v3 h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  border-radius: 999px;
  background: var(--theme-accent);
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255, 255, 255, .78);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-links a i { color: var(--theme-accent); font-size: 1rem; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }

.footer-contact { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.6; }
.footer-contact li i { color: var(--theme-accent); margin-top: 4px; flex: 0 0 auto; }
.footer-contact a { color: rgba(255, 255, 255, .78); }
.footer-contact a:hover { color: #fff; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.footer-social a:hover {
  background: var(--accent-strong);
  color: #fff;
  transform: translateY(-4px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 24px;
  text-align: center;
  font-size: .84rem;
  color: rgba(255, 255, 255, .65);
}
.footer-bottom strong { color: rgba(255, 255, 255, .85); }
.footer-bottom a { color: var(--theme-accent); }

/* ============================================================
   15. Modal Pengumuman (native BS4)
   ============================================================ */
.modal-pengumuman .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(22, 50, 92, .35);
}
.modal-pengumuman .modal-head-v3 {
  background: var(--head-gradient);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.modal-pengumuman .modal-head-v3 h5 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-pengumuman .close-v3 {
  background: rgba(255, 255, 255, .16);
  border: 0;
  border-radius: 10px;
  color: #fff;
  width: 36px; height: 36px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.modal-pengumuman .close-v3:hover { background: rgba(255, 255, 255, .3); }

.pengumuman-carousel .carousel-item { padding: 26px 30px 20px; }
.pengumuman-carousel .judul-pengumuman {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.pengumuman-carousel .isi-pengumuman {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 16px;
}
.pengumuman-carousel .isi-pengumuman img { max-width: 100%; }
.pengumuman-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}
.pengumuman-meta .by { font-size: .85rem; font-weight: 600; color: var(--ink); }

/* ============================================================
   16. Modal Tugas Fungsi
   ============================================================ */
.modal-tugas .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}
.modal-tugas .modal-head-v3 {
  background: var(--head-gradient);
  color: #fff;
  padding: 18px 24px;
}
.modal-tugas .modal-head-v3 h5 { color: #fff; margin: 0; font-size: 1.1rem; }
.modal-tugas .modal-body-v3 { padding: 24px 30px 30px; }
.modal-tugas .about-list li { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.modal-tugas .about-list li:last-child { border-bottom: 0; }

/* ============================================================
   17. Floating: back-to-top & preloader
   ============================================================ */
.back-to-top-v3 {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 998;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-strong);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(35, 108, 197, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-to-top-v3.active { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top-v3:hover { background: var(--nav-active); transform: translateY(-4px); }

/* ============================================================
   17B. Floating Layanan Konsultasi (di atas back-to-top)
   ============================================================ */
.consult-float {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 997;
}

.consult-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  min-width: 268px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.consult-float.open .consult-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.consult-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 10px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.consult-head strong {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  color: var(--ink);
}
.consult-close {
  background: var(--pattern);
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: var(--accent-strong);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease);
}
.consult-close:hover { background: var(--pattern-strong); }

.consult-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink-soft) !important;
  transition: background .25s var(--ease);
}
.consult-item:hover { background: var(--surface-alt); }
.consult-item i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}
.consult-wa i { background: #25d366; }
.consult-mail i { background: var(--accent-strong); }
.consult-item-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.consult-item-text strong {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  color: var(--ink);
}
.consult-item-text span {
  font-size: .74rem;
  color: var(--ink-soft);
  word-break: break-all;
}

.consult-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #77bdf6;
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(35, 108, 197, .4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.consult-btn:hover { transform: translateY(-3px); background: var(--accent-strong); }
.consult-btn .consult-ic-close { display: none; }
.consult-float.open .consult-btn .consult-ic-open { display: none; }
.consult-float.open .consult-btn .consult-ic-close { display: block; }
.consult-float.open .consult-btn { background: var(--accent-strong); }

.consult-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translate(8px, -50%);
  white-space: nowrap;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  padding: .42rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.consult-btn:hover .consult-label,
.consult-float.open .consult-label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

#preloader-v3 {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease, visibility .4s;
}
#preloader-v3.hidden-pre { opacity: 0; visibility: hidden; }
.preloader-v3-logo {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--pattern-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloader-pulse 1.2s var(--ease) infinite;
}
.preloader-v3-logo img { width: 40px; }
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(117, 173, 248, .45); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(117, 173, 248, 0); }
}

/* ============================================================
   18. Responsive
   ============================================================ */
@media (max-width: 1199px) {
  .nav-kolaborasi { display: none; }
  .hero-v3-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lks-grid { grid-template-columns: 1fr; }
  .lks-video { max-width: 560px; }
}

@media (max-width: 991px) {
  /* Desktop pill nav disembunyikan, diganti floating bottom nav */
  .nav-v3 { display: none; }
  .bottomnav { display: flex; }
  body { padding-bottom: 96px; }

  /* Widget layanan konsultasi: tombol mengambang di atas back-to-top
     (posisi base sudah di atas back-to-top, cukup rapatkan di mobile) */
  .consult-float { right: 16px; }

  .menu-box-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid, .about-grid, .point-grid, .hero-v3-inner { grid-template-columns: 1fr; }
  .hero-v3 { padding-top: 56px; padding-bottom: 90px; }
  .hero-visual { max-width: 520px; }
  .section-v3 { padding: 64px 0; }
  .cta-v3 { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
  .menu-box-grid { grid-template-columns: 1fr; }
  .hero-actions .btn-v3 { flex: 1 1 100%; }
  .hero-visual { padding: 22px; }
  .vm-card, .about-card { padding: 26px 22px; }
  .acc-header { font-size: .9rem; padding: 14px 16px; }
  .acc-body { padding: 4px 16px 16px; }
  .section-head { margin-bottom: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .modal-pengumuman .carousel-item { padding: 20px 18px 16px; }
  .hero-wave svg { height: 40px; }
  .bottomnav { left: 10px; right: 10px; bottom: 8px; padding: 6px 8px; }
  .bn-item { font-size: .6rem; }
  .bn-cta { width: 68px; height: 68px; margin-top: -46px; }
  .back-to-top-v3 { bottom: 108px; }
  .consult-float { bottom: 170px; right: 14px; }
}

/* ============================================================
   19. Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* Smooth anchor scroll */
html { scroll-behavior: smooth; }
