/* =========================================================
   PPID — Modern Premium · Biru klasik & biru langit
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ink: #0b1c33;
  --ink-soft: #243b57;
  --muted: #5b7290;
  --paper: #f5f9fd;
  --paper-2: #eef5fb;
  --white: #ffffff;
  --line: #d7e5f2;
  --line-strong: #b9d0e6;
  --brand: #1f6fbf;
  --brand-dark: #134a86;
  --brand-light: #eaf4fc;
  --sky: #4eb4ef;
  --sky-soft: #c8e8fa;
  --accent: #2f9fe0;
  --gold: #c9a227;
  --success: #157a42;
  --warning: #b7791f;
  --danger: #b42318;
  --info: #1d6fbf;
  --shadow: 0 10px 30px rgba(19, 74, 134, 0.08);
  --shadow-lg: 0 24px 60px rgba(19, 74, 134, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --nav-h: 78px;
  --font: 'Manrope', sans-serif;
  --display: 'Instrument Serif', Georgia, serif;
  --header-fg: #0b1c33;
  --footer-bg: #0a1f3a;
  --footer-fg: #f0f7fc;
  --footer-muted: #c5d8ea;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(78, 180, 239, .14), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(31, 111, 191, .08), transparent 50%),
    var(--paper);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 {
  line-height: 1.2; margin: 0 0 .55rem; color: var(--ink);
  letter-spacing: -0.02em;
}
p { margin: 0 0 1rem; color: var(--ink-soft); }

.container { width: min(1240px, calc(100% - 2rem)); margin-inline: auto; }

/* ========== HEADER / MENU ========== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #d5e4f2;
  box-shadow: 0 10px 30px rgba(11, 28, 51, .06);
}

.topbar {
  background: #0d3260;
  color: #ffffff;
  font-size: .8rem;
  font-weight: 600;
  padding: .5rem 0;
}
.topbar .container {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  align-items: center;
}
.topbar span, .topbar a { color: #ffffff !important; }
.topbar a:hover { color: #9fd8ff !important; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-contacts { display: inline-flex; align-items: center; flex-wrap: wrap; }
.topbar-sep { opacity: .45; margin: 0 .45rem; }

.navbar { background: #ffffff; }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: 84px; position: relative;
}

.brand {
  display: flex; align-items: center; gap: .85rem;
  color: var(--header-fg); min-width: 0; flex-shrink: 0;
  text-decoration: none;
}
.brand:hover { color: var(--header-fg); }
.brand-mark {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(145deg, #4eb4ef, #134a86);
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .82rem; letter-spacing: .05em;
  box-shadow: 0 10px 24px rgba(31, 111, 191, .28);
}
.brand-logo {
  flex-shrink: 0;
  width: 52px; height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d7e5f2;
  padding: 4px;
  box-shadow: 0 8px 18px rgba(19, 74, 134, .08);
}
.brand-logo-footer {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.96);
}
.brand-logo-admin {
  width: 44px; height: 44px;
  background: #fff;
}
.logo-preview-box {
  width: 88px; height: 88px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.logo-preview-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; padding: 6px;
}
.brand-text { min-width: 0; }
.brand-text strong {
  display: block; font-size: 1.02rem; font-weight: 800;
  color: #0b1c33; line-height: 1.2;
}
.brand-text span {
  display: block; font-size: .75rem; color: #4a6480;
  font-weight: 650; line-height: 1.35; margin-top: .1rem;
}

.nav-toggle {
  display: none;
  align-items: center; gap: .55rem;
  border: 1px solid #c5d8ea; background: #f7fbfe;
  border-radius: 12px; padding: .55rem .8rem; cursor: pointer;
  color: #0b1c33; font-weight: 750; font-size: .86rem;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars i { display: block; height: 2px; background: #134a86; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] { background: #eaf4fc; border-color: #8ebce3; }

.nav-panel {
  display: flex; align-items: center; gap: .75rem;
  margin-left: auto; min-width: 0;
}

.nav-links {
  display: flex; align-items: center; gap: .15rem;
  list-style: none; margin: 0; padding: .28rem;
  background: #f3f8fd;
  border: 1px solid #d7e5f2;
  border-radius: 999px;
}
.nav-links li { margin: 0; }
.nav-links a {
  display: block;
  padding: .62rem .95rem;
  border-radius: 999px;
  color: #163557;
  font-weight: 750;
  font-size: .9rem;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.nav-links a:hover {
  background: #ffffff;
  color: #0d3260;
  box-shadow: 0 4px 14px rgba(19, 74, 134, .08);
}
.nav-links a.active {
  background: linear-gradient(135deg, #1f6fbf, #134a86);
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(19, 74, 134, .22);
}

.has-submenu {
  position: relative;
}
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .62rem .95rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #163557;
  font: inherit;
  font-weight: 750;
  font-size: .9rem;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.submenu-toggle:hover,
.has-submenu:hover > .submenu-toggle {
  background: #ffffff;
  color: #0d3260;
  box-shadow: 0 4px 14px rgba(19, 74, 134, .08);
}
.submenu-toggle.active,
.has-submenu.active > .submenu-toggle {
  background: linear-gradient(135deg, #1f6fbf, #134a86);
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(19, 74, 134, .22);
}
.submenu-caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .75;
  margin-top: 1px;
}
.submenu {
  display: none;
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: .45rem;
  list-style: none;
  background: #ffffff;
  border: 1px solid #d7e5f2;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(11, 28, 51, .14);
  z-index: 60;
}
.has-submenu:hover > .submenu,
.has-submenu.open > .submenu {
  display: block;
}
.submenu a {
  display: block;
  padding: .7rem .85rem;
  border-radius: 12px;
  color: #163557;
  font-weight: 700;
  font-size: .88rem;
  white-space: normal;
}
.submenu a:hover {
  background: #eef5fb;
  color: #0d3260;
  box-shadow: none;
}

.profil-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: .4rem;
  background: #f3f8fd;
  border: 1px solid #d7e5f2;
  border-radius: 16px;
}
.profil-subnav a {
  display: inline-flex;
  padding: .55rem .95rem;
  border-radius: 999px;
  color: #163557;
  font-weight: 750;
  font-size: .88rem;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.profil-subnav a:hover { background: #fff; color: #0d3260; }
.profil-subnav a.active {
  background: linear-gradient(135deg, #1f6fbf, #134a86);
  color: #fff;
}
.profil-media {
  margin: 0 0 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d7e5f2;
  background: #f7fbfe;
}
.profil-media img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}
.profil-kicker {
  display: inline-block;
  margin-bottom: .45rem;
  color: #1f6fbf;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profil-visi-card,
.profil-misi-card {
  min-height: 100%;
}
.profil-content { line-height: 1.7; color: #23405f; }

/* ========== ALUR PPID INTERAKTIF ========== */
.alur-section { padding-top: 1.5rem; }
.alur-shell {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: 28px;
  border: 1px solid rgba(183, 208, 230, .9);
  background:
    linear-gradient(160deg, rgba(255,255,255,.96), rgba(234,244,252,.92) 48%, rgba(255,255,255,.98)),
    radial-gradient(900px 320px at 0% 0%, rgba(78,180,239,.16), transparent 55%);
  box-shadow: 0 28px 70px rgba(19, 74, 134, .1);
}
.alur-shell-glow {
  pointer-events: none;
  position: absolute;
  inset: auto -10% -40% auto;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,159,224,.22), transparent 68%);
  filter: blur(8px);
  animation: alurFloat 8s ease-in-out infinite;
}
@keyframes alurFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .7; }
  50% { transform: translate3d(-24px,-18px,0) scale(1.08); opacity: 1; }
}

.alur-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 1.35rem;
}
.alur-eyebrow {
  margin: 0 0 .4rem;
  color: #1f6fbf;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.alur-title {
  margin: 0 0 .55rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -.01em;
  color: #0b1c33;
}
.alur-lead {
  margin: 0;
  max-width: 54ch;
  color: #3d5878;
  font-size: .98rem;
}

.alur-progress-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  border: 1px solid #d3e4f4;
  box-shadow: 0 12px 30px rgba(19,74,134,.06);
  backdrop-filter: blur(8px);
}
.alur-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .55rem;
  font-size: .82rem;
  color: #5b7290;
  font-weight: 700;
}
.alur-progress-meta strong {
  font-size: 1.05rem;
  color: #0d3260;
  font-variant-numeric: tabular-nums;
}
.alur-progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e3eef8;
  overflow: hidden;
}
.alur-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4eb4ef, #1f6fbf 55%, #134a86);
  box-shadow: 0 0 16px rgba(78,180,239,.45);
  transition: width .45s cubic-bezier(.22,1,.36,1);
}
.alur-progress-hint {
  margin: .55rem 0 0;
  font-size: .84rem;
  font-weight: 650;
  color: #1f6fbf;
}

.alur-diagram {
  position: relative;
  z-index: 1;
  margin: 0 0 1.2rem;
  border-radius: 16px;
  border: 1px dashed #b9d0e6;
  background: rgba(255,255,255,.55);
  overflow: hidden;
}
.alur-diagram summary {
  cursor: pointer;
  list-style: none;
  padding: .85rem 1.1rem;
  font-weight: 750;
  color: #134a86;
}
.alur-diagram summary::-webkit-details-marker { display: none; }
.alur-diagram[open] summary { border-bottom: 1px solid #d7e5f2; }
.alur-diagram .profil-media { margin: 0; border: 0; border-radius: 0; }

.alur-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: .75rem;
  margin: 0 0 1.35rem;
  padding: .35rem 0 .2rem;
}
.alur-rail-line {
  position: absolute;
  left: 4%; right: 4%;
  top: 28px;
  height: 3px;
  border-radius: 999px;
  background: #d5e4f2;
  z-index: 0;
  overflow: hidden;
}
.alur-rail-line i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #4eb4ef, #1f6fbf);
  transition: width .45s cubic-bezier(.22,1,.36,1);
}

.alur-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: .45rem;
  margin: 0;
  padding: .35rem .25rem .55rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: #5b7290;
  transition: color .25s ease, transform .25s ease;
}
.alur-node:hover { color: #134a86; transform: translateY(-2px); }
.alur-node-ring {
  position: absolute;
  top: 2px;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, transform .35s ease;
}
.alur-node-icon {
  position: relative;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #c9dced;
  color: #1f6fbf;
  box-shadow: 0 8px 18px rgba(19,74,134,.08);
  transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
.alur-node-icon svg { width: 20px; height: 20px; }
.alur-node-index {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #7a90a8;
}
.alur-node-label {
  font-size: .82rem;
  font-weight: 750;
  text-align: center;
  line-height: 1.25;
  color: inherit;
}

.alur-node.is-done .alur-node-icon {
  border-color: #8ec4ef;
  background: #eef6fc;
}
.alur-node.is-active {
  color: #0d3260;
}
.alur-node.is-active .alur-node-icon {
  background: linear-gradient(145deg, #2f9fe0, #134a86);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 28px rgba(19,74,134,.28);
  transform: scale(1.08);
}
.alur-node.is-active .alur-node-ring {
  border-color: rgba(78,180,239,.55);
  box-shadow: 0 0 0 6px rgba(78,180,239,.12);
  transform: scale(1.12);
  animation: alurPulse 2.2s ease-in-out infinite;
}
.alur-node.is-active .alur-node-index { color: #1f6fbf; }
@keyframes alurPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(78,180,239,.12); }
  50% { box-shadow: 0 0 0 10px rgba(78,180,239,.08); }
}

.alur-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 1rem;
  --alur-accent: #1f6fbf;
}
.alur-stage[data-tone="sky"] { --alur-accent: #2f9fe0; }
.alur-stage[data-tone="brand"] { --alur-accent: #1f6fbf; }
.alur-stage[data-tone="deep"] { --alur-accent: #134a86; }
.alur-stage[data-tone="gold"] { --alur-accent: #b8891c; }
.alur-stage[data-tone="success"] { --alur-accent: #157a42; }
.alur-stage[data-tone="warn"] { --alur-accent: #b7791f; }

.alur-panel {
  position: relative;
  padding: 1.45rem 1.5rem 1.35rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #d7e5f2;
  box-shadow: 0 18px 40px rgba(19,74,134,.08);
  overflow: hidden;
  min-height: 240px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.alur-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--alur-accent), #4eb4ef);
}
.alur-panel.is-switching {
  animation: alurPanelIn .42s cubic-bezier(.22,1,.36,1);
}
@keyframes alurPanelIn {
  from { opacity: .35; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.alur-panel-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-bottom: .85rem;
}
.alur-panel-badge span {
  display: inline-flex;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--alur-accent) 14%, white);
  color: var(--alur-accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.alur-panel-badge em {
  font-style: normal;
  font-size: .84rem;
  font-weight: 700;
  color: #5b7290;
}
.alur-panel-title {
  margin: 0 0 .65rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-family: var(--display);
  font-weight: 400;
}
.alur-panel-body {
  margin: 0 0 1.25rem;
  color: #2c4664;
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 62ch;
}
.alur-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}
.alur-panel-actions .btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.alur-aside {
  display: grid;
  gap: .85rem;
  align-content: start;
}
.alur-aside-card {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(160deg, #0d3260, #134a86 55%, #1f6fbf);
  color: #f0f7fc;
  box-shadow: 0 18px 40px rgba(13,50,96,.28);
}
.alur-aside-card strong {
  display: block;
  margin-bottom: .65rem;
  font-size: .95rem;
  letter-spacing: .02em;
}
.alur-aside-card ul {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: .45rem;
  color: #d7e8f7;
  font-size: .9rem;
  line-height: 1.5;
}
.alur-aside-links {
  display: grid;
  gap: .35rem;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  border: 1px solid #d7e5f2;
}
.alur-aside-links a {
  font-weight: 750;
  font-size: .9rem;
  color: #134a86;
  padding: .35rem 0;
}
.alur-aside-links a:hover { color: #1f6fbf; }

@media (max-width: 980px) {
  .alur-top,
  .alur-stage { grid-template-columns: 1fr; }
  .alur-rail-line { display: none; }
  .alur-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .alur-shell { padding: 1.15rem 1rem 1.25rem; border-radius: 22px; }
  .alur-rail { grid-template-columns: repeat(2, 1fr); gap: .55rem; }
  .alur-node-label { font-size: .78rem; }
  .alur-panel { padding: 1.2rem 1.1rem 1.15rem; }
}

/* ========== STRUKTUR ORGANISASI INTERAKTIF ========== */
.struktur-section { padding-top: 1.5rem; }
.struktur-shell {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: 28px;
  border: 1px solid rgba(183, 208, 230, .9);
  background:
    linear-gradient(165deg, rgba(255,255,255,.97), rgba(234,244,252,.9) 42%, rgba(255,255,255,.98)),
    radial-gradient(800px 280px at 100% 0%, rgba(31,111,191,.12), transparent 55%);
  box-shadow: 0 28px 70px rgba(19, 74, 134, .1);
}
.struktur-shell-glow {
  pointer-events: none;
  position: absolute;
  left: -12%; top: -30%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,180,239,.2), transparent 70%);
  animation: alurFloat 9s ease-in-out infinite;
}
.struktur-top {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 1.1rem;
  align-items: end;
  margin-bottom: 1.3rem;
}
.struktur-eyebrow {
  margin: 0 0 .4rem;
  color: #1f6fbf;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.struktur-title {
  margin: 0 0 .55rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 400;
  color: #0b1c33;
}
.struktur-lead {
  margin: 0;
  max-width: 58ch;
  color: #3d5878;
  font-size: .98rem;
}
.struktur-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .85rem;
  justify-content: flex-end;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  border: 1px solid #d3e4f4;
  font-size: .8rem;
  font-weight: 750;
  color: #3d5878;
}
.struktur-legend i {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: .35rem;
  vertical-align: middle;
}
.struktur-legend .lg-top { background: #134a86; }
.struktur-legend .lg-mid { background: #1f6fbf; }
.struktur-legend .lg-base { background: #4eb4ef; }

.struktur-diagram {
  position: relative; z-index: 1;
  margin: 0 0 1.2rem;
  border-radius: 16px;
  border: 1px dashed #b9d0e6;
  background: rgba(255,255,255,.55);
  overflow: hidden;
}
.struktur-diagram summary {
  cursor: pointer;
  list-style: none;
  padding: .85rem 1.1rem;
  font-weight: 750;
  color: #134a86;
}
.struktur-diagram summary::-webkit-details-marker { display: none; }
.struktur-diagram[open] summary { border-bottom: 1px solid #d7e5f2; }
.struktur-diagram .profil-media { margin: 0; border: 0; border-radius: 0; }

.struktur-chart {
  position: relative; z-index: 1;
  display: grid;
  gap: .15rem;
  margin-bottom: 1.35rem;
  padding: .5rem 0 .2rem;
}
.struktur-connector {
  display: grid;
  place-items: center;
  height: 28px;
}
.struktur-connector span {
  width: 2px; height: 100%;
  background: linear-gradient(180deg, #8ec4ef, #c9dced);
  border-radius: 999px;
}
.struktur-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
}
.struktur-row-base { gap: .75rem; }

.struktur-node {
  position: relative;
  isolation: isolate;
  min-width: min(100%, 200px);
  max-width: 260px;
  margin: 0;
  padding: 1.05rem 1.15rem 1rem;
  border-radius: 20px;
  border: 1px solid #cfe0f0;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 32px rgba(19,74,134,.08);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #163557;
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s ease;
}
.struktur-row-top .struktur-node {
  min-width: min(100%, 280px);
  max-width: 340px;
  padding: 1.25rem 1.35rem 1.15rem;
}
.struktur-node:hover {
  transform: translateY(-4px);
  border-color: #8ebce3;
  box-shadow: 0 20px 40px rgba(19,74,134,.14);
}
.struktur-node-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at 20% 0%, rgba(78,180,239,.18), transparent 55%);
  transition: opacity .28s ease;
  z-index: -1;
}
.struktur-node-rank {
  display: inline-flex;
  margin-bottom: .45rem;
  padding: .22rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #eaf4fc;
  color: #1f6fbf;
}
.struktur-node-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #0b1c33;
}
.struktur-row-top .struktur-node-title { font-size: 1.18rem; }
.struktur-node-cta {
  display: inline-block;
  margin-top: .65rem;
  font-size: .8rem;
  font-weight: 750;
  color: #1f6fbf;
  opacity: .85;
}
.struktur-node.tone-deep .struktur-node-rank { background: #e8eef6; color: #134a86; }
.struktur-node.tone-brand .struktur-node-rank { background: #eaf4fc; color: #1f6fbf; }
.struktur-node.tone-sky .struktur-node-rank { background: #e8f6fd; color: #1a86c4; }
.struktur-node.tone-gold .struktur-node-rank { background: #f8f1de; color: #9a7318; }
.struktur-node.tone-success .struktur-node-rank { background: #e6f5ec; color: #157a42; }

.struktur-node.is-active {
  border-color: transparent;
  background: linear-gradient(145deg, #0d3260, #1f6fbf);
  color: #fff;
  box-shadow: 0 22px 48px rgba(13,50,96,.32);
  transform: translateY(-4px) scale(1.02);
}
.struktur-node.is-active .struktur-node-glow { opacity: 1; }
.struktur-node.is-active .struktur-node-rank {
  background: rgba(255,255,255,.16);
  color: #c8e8fa;
}
.struktur-node.is-active .struktur-node-title,
.struktur-node.is-active .struktur-node-cta { color: #fff; }

.struktur-detail {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr .75fr;
  gap: 1rem;
  --struktur-accent: #1f6fbf;
}
.struktur-detail[data-tone="sky"] { --struktur-accent: #2f9fe0; }
.struktur-detail[data-tone="brand"] { --struktur-accent: #1f6fbf; }
.struktur-detail[data-tone="deep"] { --struktur-accent: #134a86; }
.struktur-detail[data-tone="gold"] { --struktur-accent: #b8891c; }
.struktur-detail[data-tone="success"] { --struktur-accent: #157a42; }

.struktur-panel {
  position: relative;
  padding: 1.45rem 1.5rem 1.35rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #d7e5f2;
  box-shadow: 0 18px 40px rgba(19,74,134,.08);
  overflow: hidden;
  min-height: 220px;
}
.struktur-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--struktur-accent), #4eb4ef);
}
.struktur-panel.is-switching {
  animation: alurPanelIn .42s cubic-bezier(.22,1,.36,1);
}
.struktur-panel-badge {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  margin-bottom: .85rem;
}
.struktur-panel-badge span {
  display: inline-flex;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--struktur-accent) 14%, white);
  color: var(--struktur-accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.struktur-panel-badge em {
  font-style: normal;
  font-size: .84rem;
  font-weight: 700;
  color: #5b7290;
}
.struktur-panel-title {
  margin: 0 0 .65rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-family: var(--display);
  font-weight: 400;
}
.struktur-panel-body {
  margin: 0 0 1.2rem;
  color: #2c4664;
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 62ch;
}
.struktur-panel-actions {
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.struktur-aside-card {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(160deg, #0d3260, #134a86 55%, #1f6fbf);
  color: #f0f7fc;
  box-shadow: 0 18px 40px rgba(13,50,96,.28);
  height: 100%;
}
.struktur-aside-card strong {
  display: block;
  margin-bottom: .65rem;
  font-size: .95rem;
}
.struktur-aside-card ul {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: .45rem;
  color: #d7e8f7;
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .struktur-top,
  .struktur-detail { grid-template-columns: 1fr; }
  .struktur-legend { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .struktur-shell { padding: 1.15rem 1rem 1.25rem; border-radius: 22px; }
  .struktur-node { min-width: 100%; max-width: none; }
  .struktur-row-top .struktur-node { min-width: 100%; max-width: none; }
}

.nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
  padding: .68rem 1.15rem !important;
  font-size: .88rem !important;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .72rem 1.2rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .9rem; cursor: pointer; transition: .2s ease;
  font-family: inherit; text-decoration: none; letter-spacing: .01em;
}
.btn-primary {
  background: linear-gradient(135deg, #2b7fd0, #134a86);
  color: #fff; box-shadow: 0 8px 20px rgba(19, 74, 134, .22);
}
.btn-primary:hover { background: #134a86; color: #fff; }
.btn-outline {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.75);
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--brand-dark); }
.btn-ghost {
  background: #fff; border-color: var(--line-strong); color: var(--ink);
  box-shadow: 0 2px 8px rgba(19, 74, 134, .04);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-accent {
  background: linear-gradient(135deg, #57c0f5, #2a93d8);
  color: #fff; box-shadow: 0 10px 22px rgba(47, 159, 224, .28);
}
.btn-accent:hover { filter: brightness(.97); color: #fff; }
.btn-sm { padding: .48rem .9rem; font-size: .82rem; }
.btn-danger { background: var(--danger); color: #fff; }

/* ========== Media Slider ========== */
.media-slider {
  position: relative;
  width: 100%;
  height: min(76vh, 600px);
  overflow: hidden;
  background: #0a1f3a;
  color: #fff;
}
.slider-track { position: absolute; inset: 0; }
.slider-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
  z-index: 1;
}
.slider-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slider-media { position: absolute; inset: 0; background: #12365f center/cover no-repeat; }
.slider-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); transition: transform 8s ease;
}
.slider-slide.is-active .slider-img { transform: scale(1); }
.slider-video-wrap { position: absolute; inset: 0; }
.slider-iframe { position: absolute; inset: 0; }
.slider-iframe iframe { width: 100%; height: 100%; border: 0; }
.slider-play {
  position: absolute; inset: 0; margin: auto;
  width: 88px; height: 88px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(10, 31, 58, .55);
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
  backdrop-filter: blur(8px);
  transition: transform .25s ease, background .25s ease;
  z-index: 3;
}
.slider-play .play-icon { font-size: 1.35rem; margin-left: 4px; line-height: 1; }
.slider-play .play-label {
  position: absolute; bottom: -2rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: .76rem; font-weight: 700; letter-spacing: .04em;
}
.slider-play:hover { transform: scale(1.06); background: rgba(47, 159, 224, .8); }
.slider-slide.is-playing .slider-play,
.slider-slide.is-playing .slider-thumb,
.slider-slide.is-playing .slider-overlay { opacity: 0; pointer-events: none; }
.slider-slide.is-playing .slider-iframe { z-index: 4; }

.slider-overlay {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(10, 31, 58, .88) 0%, rgba(16, 58, 107, .55) 45%, rgba(10, 31, 58, .2) 100%),
    linear-gradient(0deg, rgba(10, 31, 58, .92) 0%, transparent 58%);
  padding: 0 0 4.6rem;
  transition: opacity .35s ease;
}
.slider-caption { max-width: 720px; animation: rise .65s ease both; }
.slider-caption h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  color: #fff; margin-bottom: .7rem; max-width: 16ch;
  font-weight: 400; letter-spacing: -0.01em;
}
.slider-caption p { color: #e8f3fb; font-size: 1.05rem; max-width: 46ch; margin-bottom: 0; font-weight: 500; }
.slider-caption .hero-actions { margin-top: 1.3rem; }

.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(10, 31, 58, .5); color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  backdrop-filter: blur(8px); transition: .2s;
}
.slider-nav:hover { background: rgba(31, 111, 191, .9); }
.slider-nav.prev { left: 1rem; }
.slider-nav.next { right: 1rem; }
.slider-dots {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  z-index: 5; display: flex; gap: .45rem;
}
.slider-dot {
  width: 9px; height: 9px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.4); cursor: pointer; padding: 0;
  transition: width .25s ease, background .25s ease;
}
.slider-dot.is-active { width: 26px; background: #7fd0ff; }
.slider-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255,255,255,.12); z-index: 5;
}
.slider-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--sky), #fff);
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(125deg, rgba(16, 58, 107, .96) 0%, rgba(31, 111, 191, .88) 50%, rgba(78, 180, 239, .78) 100%),
    radial-gradient(circle at 85% 15%, rgba(200, 232, 250, .35), transparent 42%);
  padding: 4.2rem 0 3.6rem;
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 70px;
  background: linear-gradient(to top, var(--paper), transparent);
}
.hero-compact { padding: 3rem 0 2.8rem; }
.hero-compact::after { display: none; }
.hero-compact h1 { max-width: 18ch; font-size: clamp(1.85rem, 3.2vw, 2.55rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.2rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: #dff0fb; margin-bottom: 1rem; font-weight: 700;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: .35rem .75rem; border-radius: 999px;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(2.1rem, 4vw, 3.15rem);
  color: #fff; margin-bottom: 1rem; max-width: 16ch; font-weight: 400;
}
.hero p { color: #edf6fc; font-size: 1.05rem; max-width: 46ch; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-panel {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px; padding: 1.45rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  animation: rise .7s ease both;
}
.hero-panel h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-weight: 700; }
.quick-links { display: grid; gap: .6rem; }
.quick-links a {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.14); color: #fff; padding: .9rem 1rem;
  border-radius: 14px; font-weight: 700; transition: .2s;
  border: 1px solid transparent;
}
.quick-links a:hover {
  background: #fff; color: var(--brand-dark);
  border-color: #fff;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-copy { animation: rise .6s ease both; }

/* ========== CONTENT ========== */
.section { padding: 3.8rem 0; }
.section-head { margin-bottom: 2rem; max-width: 640px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1rem; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.stat-card, .info-card, .news-card, .panel, .form-card, .category-card, .prose {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(215, 229, 242, .95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.35rem 1.4rem;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--sky), var(--brand-dark));
}
.stat-card .label {
  color: var(--muted); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.stat-card .value {
  font-size: 2rem; font-weight: 800; color: var(--brand-dark);
  letter-spacing: -0.03em; margin-top: .2rem;
}

.category-card {
  padding: 1.5rem; transition: .28s cubic-bezier(.2,.8,.2,1);
  text-decoration: none; color: inherit; display: block;
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: #9ec5e8;
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.category-card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #eaf4fc, #d7ecfa);
  color: var(--brand-dark); font-weight: 800; margin-bottom: 1rem;
  border: 1px solid #d0e5f5;
}
.category-card h3 { font-size: 1.08rem; color: var(--ink); }
.category-card p { font-size: .92rem; margin-bottom: .85rem; color: var(--ink-soft); }
.category-card strong { color: var(--brand); font-size: .9rem; }

.info-card, .news-card { overflow: hidden; transition: .28s cubic-bezier(.2,.8,.2,1); }
.info-card:hover, .news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #9ec5e8;
}
.info-card .body, .news-card .body { padding: 1.35rem 1.4rem 1.5rem; }
.info-card h3 a, .news-card h3 a { color: var(--ink); }
.info-card h3 a:hover, .news-card h3 a:hover { color: var(--brand); }
.meta {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  color: var(--muted); font-size: .8rem; margin-bottom: .7rem; font-weight: 600;
}
.chip {
  display: inline-flex; align-items: center; padding: .22rem .6rem;
  border-radius: 999px; background: var(--brand-light); color: var(--brand-dark);
  font-size: .72rem; font-weight: 750; border: 1px solid #d0e5f5;
}

.page-hero {
  background:
    linear-gradient(120deg, #103a6b 0%, #1f6fbf 55%, #4eb4ef 100%);
  color: #fff; padding: 2.6rem 0 2.2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.page-hero h1 {
  color: #fff; font-family: var(--display);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem); font-weight: 400;
}
.page-hero p { color: #e8f4fc; margin: 0; max-width: 60ch; font-weight: 500; }
.breadcrumb { font-size: .84rem; color: #cfe4f5; margin-bottom: .65rem; font-weight: 600; }
.breadcrumb a { color: #ffffff; text-decoration: underline; text-underline-offset: 2px; }

/* Forms */
.form-card { padding: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block; font-weight: 700; font-size: .88rem;
  margin-bottom: .4rem; color: var(--ink);
}
.form-group .req { color: var(--danger); }
.form-control, select.form-control, textarea.form-control {
  width: 100%; padding: .8rem .95rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: #fff; font: inherit; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(31, 111, 191, .14);
}
textarea.form-control { min-height: 110px; resize: vertical; }
.help { font-size: .8rem; color: var(--muted); margin-top: .35rem; }

.alert {
  padding: 1rem 1.1rem; border-radius: 14px; margin-bottom: 1rem; font-weight: 650;
}
.alert-success { background: #e8f7ef; color: #0f5c34; border: 1px solid #b7e4c7; }
.alert-error { background: #fef3f2; color: #912018; border: 1px solid #fecdca; }
.alert-info { background: #eff8ff; color: #134a86; border: 1px solid #b2ddff; }

.badge {
  display: inline-flex; align-items: center; padding: .24rem .6rem;
  border-radius: 999px; font-size: .74rem; font-weight: 750;
}
.badge-success { background: #e8f7ef; color: #0f5c34; }
.badge-warning { background: #fef7e8; color: #93370d; }
.badge-danger { background: #fef3f2; color: #912018; }
.badge-info { background: #eff8ff; color: #134a86; }
.badge-secondary { background: #f2f4f7; color: #344054; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table.data {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
table.data th, table.data td {
  padding: .95rem 1.05rem; text-align: left; border-bottom: 1px solid var(--line);
  font-size: .92rem; vertical-align: top;
}
table.data th {
  background: #f3f8fc; color: #3d5875; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .05em; font-weight: 750;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: #f8fbfe; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative; padding: 0 0 1.25rem 1.45rem;
  border-left: 2px solid var(--line);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -6px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px var(--brand-light);
}
.timeline .time { font-size: .8rem; color: var(--muted); font-weight: 600; }

.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: .75rem; overflow: hidden; box-shadow: 0 4px 14px rgba(19,74,134,.04);
}
.faq-item summary {
  cursor: pointer; padding: 1.05rem 1.25rem; font-weight: 700; list-style: none;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--brand-dark); background: var(--brand-light); }
.faq-item .answer { padding: 0 1.25rem 1.15rem; color: var(--ink-soft); }

/* ========== FOOTER (high readability) ========== */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding: 3.4rem 0 1.6rem;
  margin-top: 3rem;
  border-top: 3px solid var(--sky);
}
.footer-inner { position: relative; z-index: 1; }
.footer-watermark {
  position: absolute;
  right: clamp(-4%, -1vw, 2%);
  bottom: clamp(-28%, -8vw, -10%);
  width: min(560px, 62vw);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: .14;
  user-select: none;
}
.footer-logo-watermark {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .9;
  transform: rotate(-8deg);
}
.footer-watermark-fallback {
  display: grid;
  place-items: end;
  font-family: var(--display);
  font-size: clamp(7rem, 18vw, 14rem);
  line-height: .8;
  color: #fff;
  letter-spacing: -.04em;
  opacity: .1;
  padding-right: 4%;
  padding-bottom: 2%;
}
.footer-watermark-fallback span { display: block; transform: rotate(-8deg); }
.footer h4 {
  color: #ffffff !important;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.footer p,
.footer li,
.footer span,
.footer-bottom {
  color: var(--footer-muted) !important;
  font-weight: 500;
  line-height: 1.7;
}
.footer a {
  color: #ffffff !important;
  font-weight: 600;
  opacity: .92;
}
.footer a:hover {
  color: #7fd0ff !important;
  opacity: 1;
}
.footer-brand-mark {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-bottom: 1rem;
}
.footer-brand-mark .brand-mark {
  width: 42px; height: 42px; border-radius: 12px; font-size: .75rem;
}
.footer-brand-mark strong {
  display: block; color: #fff; font-size: 1rem;
}
.footer-brand-mark span {
  display: block; color: #c5d8ea; font-size: .78rem; font-weight: 600;
}
.footer-grid {
  display: grid; grid-template-columns: 1.45fr 1fr 1fr;
  gap: 2.2rem; margin-bottom: 2.2rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 1.25rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .86rem;
}
.footer-contact-item {
  display: flex; gap: .55rem; margin-bottom: .55rem;
  color: var(--footer-muted);
}
.footer-contact-item strong {
  color: #fff; min-width: 3.4rem; font-size: .82rem;
}

.empty {
  text-align: center; padding: 2.8rem 1.2rem; color: var(--muted);
  background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  font-weight: 600;
}

.pagination { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1.6rem; }
.pagination a, .pagination span {
  display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 0 .65rem; font-weight: 700;
}
.pagination .active {
  background: var(--brand-dark); color: #fff; border-color: var(--brand-dark);
}

.prose { padding: 1.75rem; }
.prose h3 { margin-top: 1.5rem; }
.maklumat-box {
  background: linear-gradient(145deg, #fff, #eaf4fc);
  border: 1px solid var(--line);
  border-radius: 20px; padding: 2.2rem;
  font-family: var(--display); font-size: 1.2rem; line-height: 1.75;
  text-align: center; color: var(--ink); box-shadow: var(--shadow);
}

/* ========== ADMIN (Modern Premium) ========== */
.admin-body {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(78,180,239,.16), transparent 55%),
    radial-gradient(700px 380px at 0% 0%, rgba(31,111,191,.10), transparent 50%),
    #edf3f9;
}
.admin-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(78,180,239,.18), transparent 60%),
    linear-gradient(175deg, #0c2f5c 0%, #0a1f3a 55%, #08182e 100%);
  color: #e8f2fb;
  border-right: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.admin-sidebar-top {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1.15rem 1rem .4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(159,216,255,.35) transparent;
}
.admin-brand {
  color: #fff !important;
  margin-bottom: 1.15rem;
  padding: .75rem .7rem .95rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  border-radius: 14px 14px 0 0;
}
.admin-sidebar .brand-text strong {
  color: #ffffff;
  font-size: 1rem;
}
.admin-sidebar .brand-text span {
  color: #b7d0e6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}
.side-nav {
  display: grid; gap: 1.05rem;
  padding-bottom: .6rem;
}
.side-group {
  display: grid; gap: .18rem;
  padding: .35rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px;
}
.side-nav .section-label {
  margin: .25rem .55rem .3rem;
  font-size: .68rem; letter-spacing: .11em;
  text-transform: uppercase; color: #93b0cb; font-weight: 800;
}
.side-link {
  display: flex; align-items: center; gap: .72rem;
  padding: .7rem .78rem; border-radius: 11px;
  color: #e4eef8 !important; font-weight: 700; font-size: .91rem;
  border: 1px solid transparent;
  transition: .18s ease;
  text-decoration: none;
}
.side-link:hover {
  background: rgba(255,255,255,.09);
  color: #ffffff !important;
}
.side-link.active {
  background: linear-gradient(135deg, rgba(78,180,239,.34), rgba(31,111,191,.42));
  color: #ffffff !important;
  border-color: rgba(159,216,255,.32);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}
.side-link-muted { opacity: .92; }
.side-ico {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255,255,255,.08);
  color: #9fd8ff;
}
.side-ico svg { display: block; }
.side-link.active .side-ico {
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* Footer menu + tombol Keluar selalu fix di bawah */
.admin-sidebar-foot {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin-top: auto;
  padding: .85rem 1rem 1.05rem;
  background: linear-gradient(180deg, rgba(8,24,46,.55), rgba(8,24,46,.96) 28%);
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  display: grid; gap: .45rem;
  box-shadow: 0 -12px 28px rgba(0,0,0,.18);
}
.btn-logout {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%;
  padding: .78rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(254, 178, 178, .35);
  background: linear-gradient(135deg, #c0352b, #912018);
  color: #fff !important;
  font-weight: 800; font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(145, 32, 24, .28);
  transition: .18s ease;
}
.btn-logout:hover {
  filter: brightness(1.06);
  color: #fff !important;
  transform: translateY(-1px);
}
.btn-logout-top {
  width: auto;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .82rem;
  box-shadow: 0 8px 18px rgba(145, 32, 24, .18);
}

.admin-workspace {
  min-width: 0;
  display: flex; flex-direction: column;
}
.admin-topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #d7e5f2;
  box-shadow: 0 8px 24px rgba(11,28,51,.04);
}
.admin-eyebrow {
  margin: 0 0 .2rem;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: #5b7290;
}
.admin-topbar h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0b1c33;
}
.admin-topbar-right {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
}
.admin-user-chip {
  display: flex; align-items: center; gap: .65rem;
  padding: .4rem .7rem .4rem .4rem;
  background: #f3f8fd;
  border: 1px solid #d7e5f2;
  border-radius: 999px;
}
.admin-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2f7fd1, #134a86);
  color: #fff; font-weight: 800; font-size: .9rem;
}
.admin-user-chip strong {
  display: block; font-size: .86rem; color: #0b1c33; line-height: 1.2;
}
.admin-user-chip span {
  display: block; font-size: .72rem; color: #5b7290; font-weight: 650;
}

.admin-main {
  padding: 1.35rem 1.5rem 2.2rem;
}
.admin-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(215,229,242,.95);
  border-radius: 18px;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 12px 32px rgba(19,74,134,.07);
  margin-bottom: 1.15rem;
}
.admin-card > h3,
.admin-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1c33;
}
.admin-card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: .8rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.admin-link {
  color: #1f6fbf; font-weight: 750; font-size: .88rem;
}
.admin-link:hover { color: #134a86; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.admin-stat-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e5f2;
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1.15rem;
  box-shadow: 0 12px 30px rgba(19,74,134,.07);
}
.admin-stat-card::before {
  content: '';
  position: absolute; inset: 0 auto 0 0; width: 4px;
}
.admin-stat-card.tone-blue::before { background: linear-gradient(180deg, #4eb4ef, #1f6fbf); }
.admin-stat-card.tone-sky::before { background: linear-gradient(180deg, #7fd0ff, #2f9fe0); }
.admin-stat-card.tone-navy::before { background: linear-gradient(180deg, #2f7fd1, #0d3260); }
.admin-stat-card.tone-ice::before { background: linear-gradient(180deg, #b8e0fa, #5b7290); }
.admin-stat-label {
  font-size: .75rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  color: #5b7290;
}
.admin-stat-value {
  margin-top: .25rem;
  font-size: 2rem; font-weight: 800;
  letter-spacing: -.03em; color: #0d3260;
  line-height: 1.1;
}
.admin-stat-meta {
  margin-top: .35rem;
  font-size: .82rem; font-weight: 650; color: #5b7290;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}
.admin-grid-2 > .admin-card { margin-bottom: 0; }

.admin-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.admin-quick-item {
  display: grid; gap: .2rem;
  padding: .95rem 1rem;
  border-radius: 14px;
  background: #f5f9fd;
  border: 1px solid #d7e5f2;
  text-decoration: none;
  transition: .2s ease;
}
.admin-quick-item:hover {
  transform: translateY(-2px);
  border-color: #9ec5e8;
  box-shadow: 0 10px 24px rgba(19,74,134,.1);
  background: #fff;
}
.admin-quick-ico {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #eaf4fc, #d7ecfa);
  color: #134a86; font-weight: 800; margin-bottom: .35rem;
}
.admin-quick-item strong {
  color: #0b1c33; font-size: .92rem;
}
.admin-quick-item span {
  color: #5b7290; font-size: .8rem; font-weight: 600;
}
.ticket-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82rem;
  background: #f3f8fd;
  border: 1px solid #d7e5f2;
  border-radius: 8px;
  padding: .18rem .45rem;
  color: #134a86;
}

.admin-main .toolbar {
  display: flex; gap: .7rem; flex-wrap: wrap;
  margin-bottom: 1rem; align-items: center;
}
.admin-main .toolbar .form-control { width: auto; min-width: 180px; }
.admin-main .data {
  border-radius: 14px;
  overflow: hidden;
}
.admin-main .admin-card .form-group label {
  color: #0b1c33;
}

.login-page {
  min-height: 100vh; display: grid; place-items: center;
  background:
    linear-gradient(135deg, rgba(16, 58, 107, .94), rgba(31, 111, 191, .8)),
    radial-gradient(circle at 20% 80%, rgba(78, 180, 239, .4), transparent 40%);
  padding: 1.5rem;
}
.login-card {
  width: min(420px, 100%); background: #fff; border-radius: 22px;
  padding: 2rem; box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #e4eef7;
}
.brand-logo-login {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  padding: 6px;
  background: #fff;
  border: 1px solid #d7e5f2;
  box-shadow: 0 10px 24px rgba(19, 74, 134, .12);
  object-fit: contain;
}
.login-brand .brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: .95rem;
}
.login-brand-text {
  min-width: 0;
}
.login-brand-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1c33;
  line-height: 1.25;
}
.login-brand-text span {
  display: block;
  margin-top: .2rem;
  font-size: .8rem;
  font-weight: 650;
  color: #5b7290;
  line-height: 1.35;
}
.login-intro {
  margin-bottom: 1.1rem;
}
.login-intro h1 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0 0 .35rem;
  color: #0b1c33;
}
.login-intro p {
  margin: 0;
  color: #5b7290;
  font-size: .92rem;
  font-weight: 600;
}
.login-card .hint { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

@media (max-width: 480px) {
  .login-card { padding: 1.4rem 1.2rem; border-radius: 18px; }
  .brand-logo-login,
  .login-brand .brand-mark { width: 56px; height: 56px; }
  .login-intro h1 { font-size: 1.5rem; }
}

/* Admin mobile helpers (default hidden on desktop) */
.admin-menu-toggle,
.admin-sidebar-close,
.admin-overlay { display: none; }
.admin-sidebar-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem;
}
.admin-sidebar-head .admin-brand { flex: 1; margin-bottom: 1.15rem; border-bottom: 0; padding-bottom: .35rem; }
.admin-topbar-left { display: flex; align-items: center; gap: .75rem; }

/* Responsive: Desktop → Tablet → HP */
@media (max-width: 1180px) {
  .container { width: min(100% - 1.6rem, 1100px); }
  .nav-links a { padding: .56rem .7rem; font-size: .84rem; }
  .nav-cta { padding: .6rem .9rem !important; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    left: 0; right: 0; top: calc(100% + 2px);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #d5e4f2;
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(11, 28, 51, .14);
    z-index: 50;
  }
  .nav-panel.open { display: flex; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: .45rem;
    gap: .2rem;
  }
  .nav-links a {
    border-radius: 12px;
    padding: .85rem 1rem;
    font-size: .95rem;
    color: #12304f;
    white-space: normal;
  }
  .nav-links a.active {
    background: linear-gradient(135deg, #1f6fbf, #134a86);
    color: #fff !important;
  }
  .submenu-toggle {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    padding: .85rem 1rem;
    font-size: .95rem;
  }
  .submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: .15rem 0 .35rem;
    padding: .25rem;
    box-shadow: none;
    border-radius: 12px;
    background: #eaf3fb;
  }
  .has-submenu.open > .submenu { display: block; }
  .has-submenu:hover > .submenu { display: none; }
  .has-submenu.open:hover > .submenu { display: block; }
  .submenu a { padding: .7rem .9rem; }
  .nav-cta { width: 100%; justify-content: center; }
  .navbar-inner { min-height: 72px; }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-grid, .footer-grid, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .admin-stats, .admin-grid-2, .admin-quick-grid { grid-template-columns: 1fr 1fr; }

  .admin-shell { grid-template-columns: 1fr; }
  .admin-menu-toggle {
    display: inline-grid;
    gap: 4px;
    width: 42px; height: 42px;
    place-content: center;
    border: 1px solid #c5d8ea;
    border-radius: 12px;
    background: #f7fbfe;
    cursor: pointer; padding: 0;
  }
  .admin-menu-toggle span {
    display: block; width: 18px; height: 2px;
    background: #134a86; border-radius: 2px;
  }
  .admin-sidebar-close {
    display: inline-grid; place-items: center;
    width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #fff; cursor: pointer; font-size: 1rem;
  }
  .admin-overlay {
    display: block;
    position: fixed; inset: 0; z-index: 90;
    background: rgba(8, 24, 46, .45);
    backdrop-filter: blur(2px);
  }
  .admin-overlay[hidden] { display: none !important; }
  .admin-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(300px, 86vw); height: 100vh;
    z-index: 100;
    transform: translateX(-105%);
    transition: transform .28s ease;
    box-shadow: 20px 0 50px rgba(0,0,0,.25);
  }
  .admin-sidebar.is-open { transform: translateX(0); }
  body.admin-menu-open { overflow: hidden; }

  .media-slider { height: min(62vh, 520px); }
  .section { padding: 2.8rem 0; }
  .page-hero { padding: 2rem 0 1.7rem; }
}

/* HP */
@media (max-width: 760px) {
  .container { width: calc(100% - 1.25rem); }
  .topbar .container { gap: .35rem; }
  .topbar-item, .topbar-contacts { width: 100%; }
  .brand-text strong { font-size: .92rem; }
  .brand-text span { font-size: .7rem; max-width: 58vw; }
  .brand-logo, .brand-mark { width: 42px; height: 42px; }

  .hero-grid, .grid-4, .grid-3, .grid-2, .form-grid, .footer-grid,
  .admin-stats, .admin-grid-2, .admin-quick-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 2.2rem 0 2rem; }
  .hero-compact { padding: 2rem 0 1.8rem; }
  .hero h1, .hero-compact h1 { max-width: none; }
  .hero-panel { padding: 1.1rem; }

  .media-slider { height: min(58vh, 420px); }
  .slider-caption h2 { max-width: none; font-size: clamp(1.35rem, 6vw, 1.9rem); }
  .slider-caption p { font-size: .95rem; }
  .slider-nav { width: 36px; height: 36px; font-size: 1.2rem; }
  .slider-nav.prev { left: .4rem; }
  .slider-nav.next { right: .4rem; }
  .slider-overlay { padding-bottom: 3.4rem; }
  .slider-play { width: 68px; height: 68px; }
  .slider-play .play-label { font-size: .7rem; }

  .section { padding: 2.2rem 0; }
  .section-head { margin-bottom: 1.3rem; }
  .stat-card .value, .admin-stat-value { font-size: 1.65rem; }

  .admin-topbar { padding: .85rem .9rem; }
  .admin-topbar h1 { font-size: 1.15rem; }
  .admin-main { padding: .9rem .9rem 1.6rem; }
  .admin-card { padding: 1rem; border-radius: 14px; }
  .admin-user-chip strong { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .btn-logout-top span { display: none; }
  .btn-logout-top { padding: .55rem .7rem; }

  .footer { padding: 2.2rem 0 1.2rem; }
  .footer-grid { gap: 1.4rem; }
  .footer-bottom { font-size: .8rem; }

  .table-wrap { margin: 0 -.2rem; }
  table.data th, table.data td { padding: .75rem .7rem; font-size: .86rem; }
}

@media (max-width: 480px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .slider-caption .hero-actions .btn { width: 100%; }
  .admin-topbar-right .btn-ghost { display: none; }
}
