/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --primary:        #6B48FF;
  --primary-dark:   #4A2FD9;
  --primary-light:  #9B7FFF;
  --secondary:      #00C2CB;
  --gold:           #C8A84B;
  --gold-light:     #E8C96A;

  /* Semantic */
  --success:  #10B981;
  --danger:   #EF4444;
  --warning:  #F59E0B;

  /* Text */
  --text-dark:  #0D0B20;
  --text-body:  #2D2B45;
  --text-muted: #6B6987;
  --text-light: #9D9BBB;

  /* Backgrounds */
  --bg-white:   #FFFFFF;
  --bg-light:   #F7F8FF;
  --bg-section: #F0F2FF;
  --border:     #E4E2FF;

  /* Dark (hero) */
  --dark-900: #06041A;
  --dark-800: #0A0824;
  --dark-700: #110E30;

  /* Radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(107,72,255,0.08);
  --shadow-md: 0 4px 20px rgba(107,72,255,0.12);
  --shadow-lg: 0 8px 40px rgba(107,72,255,0.16);
  --shadow-xl: 0 20px 60px rgba(107,72,255,0.22);

  /* Typography */
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: 0.22s ease;

  --navbar-h:  66px;
  --header-h:  var(--navbar-h);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark-900); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); }

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem; position: relative; z-index: 1; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--r-full);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: white; border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,72,255,0.4);
}
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-1px); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ===== NAVBAR ===== */
/*
 * IMPORTANT: No backdrop-filter on .navbar itself.
 * backdrop-filter creates a containing block for position:fixed children,
 * which would trap the nav-menu (now a body sibling) incorrectly.
 * Use ::before pseudo-element for the blur background instead.
 */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}
/* Blur background via pseudo-element — does NOT create containing block for fixed siblings */
.navbar::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: rgba(6,4,26,0.55);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transition: background var(--transition);
}
.navbar.scrolled { border-bottom-color: rgba(107,72,255,0.18); box-shadow: 0 4px 24px rgba(6,4,26,0.5); }
.navbar.scrolled::before { background: rgba(10,6,36,0.97); }

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--navbar-h); width: 100%; position: relative; z-index: 1;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-mark {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(107,72,255,0.4);
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-main {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700;
  color: rgba(255,255,255,0.95);
}
.brand-main strong { color: var(--primary-light); }
.brand-sub { font-size: 0.65rem; color: rgba(255,255,255,0.45); font-weight: 400; }

/*
 * .nav-menu is now a direct child of <body> (sibling of .navbar).
 * On desktop: absolutely-like positioning using fixed to align with navbar.
 * On mobile: true full-viewport overlay.
 */
.nav-menu {
  /* Desktop: row inside the navbar height strip */
  position: fixed;
  top: 0; right: 1.5rem;
  height: var(--navbar-h);
  z-index: 999;
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-link {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-weight: 500; font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: white; background: rgba(255,255,255,0.1);
}
.nav-link-cta {
  background: var(--primary); color: white !important;
  padding: 0.45rem 1.1rem;
  box-shadow: 0 4px 14px rgba(107,72,255,0.35);
}
.nav-link-cta:hover { background: var(--primary-dark); color: white !important; transform: translateY(-1px); }
.nav-icon { width: 15px; height: 15px; flex-shrink: 0; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.15);
  cursor: pointer; padding: 0; transition: all var(--transition); position: relative; z-index: 1;
}
.nav-toggle:hover { background: rgba(255,255,255,0.14); }
.toggle-icon-wrap { position: relative; width: 18px; height: 18px; }
.icon-menu, .icon-close {
  position: absolute; inset: 0; width: 18px; height: 18px;
  color: rgba(255,255,255,0.85);
  transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.icon-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.nav-toggle.open .icon-menu { opacity: 0; transform: rotate(90deg) scale(0.5); }
.nav-toggle.open .icon-close { opacity: 1; transform: rotate(0deg) scale(1); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  background: var(--dark-900);
  overflow: hidden;
}

/* Noise texture overlay */
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.35;
}

/* Ambient glow blobs */
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(107,72,255,0.45) 0%, transparent 70%);
  animation: glowShift 18s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  top: 20%; right: 5%;
  background: radial-gradient(circle, rgba(0,194,203,0.25) 0%, transparent 70%);
  animation: glowShift 14s ease-in-out infinite alternate-reverse;
}
.hero-glow-3 {
  width: 350px; height: 350px;
  bottom: 0; right: 25%;
  background: radial-gradient(circle, rgba(155,127,255,0.3) 0%, transparent 70%);
  animation: glowShift 20s ease-in-out infinite alternate;
}

@keyframes glowShift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Dot grid */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}

.hero-container {
  max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  width: 100%; position: relative; z-index: 2;
}

.hero-content { display: flex; flex-direction: column; }

/* Eyebrow */
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 1.75rem;
  animation: fadeDown 0.6s ease both;
}
.hero-badge-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(16,185,129,0.15); color: #4ade80;
  border: 1px solid rgba(74,222,128,0.25);
  padding: 0.28rem 0.8rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.28rem 0.75rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.73rem; font-weight: 600;
  backdrop-filter: blur(8px);
}

/* Hero Title */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  animation: fadeUp 0.7s ease 0.08s both;
}
.hero-title-gradient {
  background: linear-gradient(135deg, #9B7FFF 0%, #67E8F9 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title-pink {
  background: linear-gradient(135deg, #D4AAFF 0%, #FF7FD4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem; color: rgba(255,255,255,0.62);
  max-width: 480px; line-height: 1.85; margin-bottom: 2.25rem;
  animation: fadeUp 0.7s ease 0.16s both;
}

/* CTA Buttons */
.hero-actions {
  display: flex; gap: 0.9rem; flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease 0.24s both;
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: var(--primary);
  color: white; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: var(--r-full); border: 2px solid transparent;
  box-shadow: 0 8px 28px rgba(107,72,255,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all var(--transition); cursor: pointer;
}
.btn-hero-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(107,72,255,0.55);
}
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.88);
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: var(--r-full);
  border: 2px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  transition: all var(--transition); cursor: pointer;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.35); color: white;
  transform: translateY(-2px);
}
.btn-icon-wrap {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.btn-icon-wrap [data-lucide] { width: 14px; height: 14px; }
.btn-icon-outline { background: rgba(255,255,255,0.1); }
.btn-arrow { width: 16px; height: 16px; margin-left: -0.1rem; }

/* Office Card */
.office-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,168,75,0.25);
  border-radius: var(--r-lg); padding: 0.9rem 1.1rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
  animation: fadeUp 0.7s ease 0.32s both;
  transition: all var(--transition);
}
.office-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(200,168,75,0.4);
}
.office-seal { width: 52px; height: 52px; flex-shrink: 0; }
.office-seal svg { width: 100%; height: 100%; }
.office-info { display: flex; flex-direction: column; gap: 0.25rem; }
.office-name {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700;
  color: rgba(255,255,255,0.95);
}
.office-address {
  display: flex; align-items: flex-start; gap: 0.3rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.55); line-height: 1.4;
}

/* Stats Row */
.hero-stats {
  display: flex; align-items: center;
  animation: fadeUp 0.7s ease 0.4s both;
}
.hero-stat { display: flex; align-items: center; gap: 0.65rem; padding: 0 1.5rem; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat-sep {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.12); flex-shrink: 0;
}
.hero-stat-icon {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: rgba(107,72,255,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--primary-light);
}
.hero-stat-icon [data-lucide] { width: 18px; height: 18px; }
.hero-stat-icon-teal { background: rgba(0,194,203,0.18); color: #67E8F9; }
.hero-stat-icon-gold { background: rgba(200,168,75,0.2); color: var(--gold-light); }
.hero-stat-body { display: flex; flex-direction: column; line-height: 1; }
.hero-stat-num {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 800;
  color: var(--primary-light);
}
.hero-stat-num-teal { color: #67E8F9; }
.hero-stat-num-gold { color: var(--gold-light); }
.hero-stat-label {
  font-size: 0.72rem; color: rgba(255,255,255,0.45); font-weight: 500; margin-top: 0.2rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: fadeLeft 0.9s ease 0.2s both;
}
.hero-visual-card {
  width: 100%; max-width: 430px;
  background: white; border-radius: var(--r-xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
}
.hero-visual-header {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  background: #F7F8FF; border-bottom: 1px solid var(--border);
}
.hero-visual-dots { display: flex; gap: 5px; }
.vdot { width: 10px; height: 10px; border-radius: 50%; }
.vdot-red { background: #FF5F57; }
.vdot-yellow { background: #FEBC2E; }
.vdot-green { background: #28C840; }
.hero-visual-label {
  font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
  flex: 1; text-align: center; font-family: var(--font-head);
}
.hero-visual-body { padding: 1.1rem; }
.hero-kode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.hero-kode-item {
  border-radius: var(--r-md); padding: 0.85rem 0.6rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  text-align: center; transition: transform var(--transition);
  cursor: pointer;
}
.hero-kode-item:hover { transform: translateY(-2px); }
.kode-abbr { font-family: var(--font-head); font-size: 1rem; font-weight: 800; line-height: 1; }
.kode-name { font-size: 0.62rem; font-weight: 500; line-height: 1.3; opacity: 0.82; }
.hero-visual-footer {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: #F7F8FF; border-top: 1px solid var(--border);
  font-size: 0.7rem; color: var(--text-muted); font-weight: 500;
}
.hero-visual-dot-green {
  width: 6px; height: 6px; border-radius: 50%; background: #28C840; flex-shrink: 0;
}

/* Hero kode colors */
.kode-merah  { background: rgba(239,68,68,0.1);   color: #DC2626; }
.kode-oranye { background: rgba(245,158,11,0.1);   color: #D97706; }
.kode-biru   { background: rgba(107,72,255,0.1);   color: var(--primary); }
.kode-ungu   { background: rgba(124,58,237,0.1);   color: #7C3AED; }
.kode-hijau  { background: rgba(16,185,129,0.1);   color: #059669; }
.kode-hitam  { background: rgba(30,41,59,0.08);    color: #1E293B; }
.kode-emas   { background: rgba(200,168,75,0.12);  color: var(--gold); }
.kode-teal   { background: rgba(20,184,166,0.1);   color: #0D9488; }
.kode-gelap  { background: rgba(15,23,42,0.08);    color: #0F172A; }

/* Float cards */
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 0.6rem;
  background: white; padding: 0.65rem 0.9rem; border-radius: var(--r-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3); font-size: 0.78rem; z-index: 10;
  border: 1px solid rgba(255,255,255,0.15); white-space: nowrap;
}
.hero-float strong { display: block; color: var(--text-dark); font-weight: 700; font-size: 0.8rem; font-family: var(--font-head); }
.hero-float small  { color: var(--text-muted); font-size: 0.7rem; }
.hero-float-1 { top: 8%; right: -4%; animation: floatCard 4s ease-in-out infinite; }
.hero-float-2 { bottom: 10%; left: -6%; animation: floatCard 4s ease-in-out infinite 2s; }
.float-icon-wrap {
  width: 34px; height: 34px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-icon-wrap [data-lucide] { width: 15px; height: 15px; }
.float-purple { background: rgba(107,72,255,0.12); color: var(--primary); }
.float-teal   { background: rgba(0,194,203,0.12);  color: var(--secondary); }

/* Hero wave */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; z-index: 3; }

/* ===== SECTION SHARED STYLES ===== */
.section-eyebrow {
  display: inline-block;
  background: rgba(107,72,255,0.1); color: var(--primary);
  border: 1px solid rgba(107,72,255,0.2);
  padding: 0.3rem 1rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.02em; margin-bottom: 0.85rem;
}
.section-eyebrow-light {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.2);
}
.section-title {
  font-family: var(--font-head); font-weight: 800;
  color: var(--text-dark); margin-bottom: 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.section-title-light { color: #fff; }
.section-desc { color: var(--text-muted); max-width: 520px; margin: 0 auto; font-size: 0.95rem; }
.section-desc-light { color: rgba(255,255,255,0.6); max-width: 520px; margin: 0 auto; font-size: 0.95rem; }

.section-header-center { text-align: center; margin-bottom: 3rem; }

/* ===== ABOUT SECTION ===== */
.about-section {
  position: relative;
  background: linear-gradient(145deg, #FAFBFF 0%, #F3F0FF 50%, #EFF8FF 100%);
}
.about-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(107,72,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(0,194,203,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
}
.about-left .section-eyebrow { margin-bottom: 0.85rem; }
.about-left .section-title { margin-bottom: 1rem; }
.about-left p { color: var(--text-body); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.85rem; }
.about-left .btn { margin-top: 0.5rem; }

.pillar-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.25rem 0; }
.pillar-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: white; border: 1.5px solid var(--border);
  padding: 0.4rem 0.9rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  color: var(--text-body); transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.pillar-chip [data-lucide] { width: 13px; height: 13px; }
.pillar-chip:hover {
  border-color: var(--primary); color: var(--primary);
  background: rgba(107,72,255,0.05); transform: translateY(-1px);
}

/* Stat cards grid */
.stat-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: white; border-radius: var(--r-lg); padding: 1.4rem;
  border: 1.5px solid var(--border); transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card-icon {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem;
}
.stat-card-icon [data-lucide] { width: 18px; height: 18px; }
.stat-card-num {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 800;
  display: block; margin-bottom: 0.3rem;
}
.stat-card-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; font-weight: 500; }

.stat-card-red    .stat-card-icon { background: rgba(239,68,68,0.1);   color: #DC2626; }
.stat-card-red    .stat-card-num  { color: #DC2626; }
.stat-card-amber  .stat-card-icon { background: rgba(245,158,11,0.1);  color: #D97706; }
.stat-card-amber  .stat-card-num  { color: #D97706; }
.stat-card-purple .stat-card-icon { background: rgba(107,72,255,0.1);  color: var(--primary); }
.stat-card-purple .stat-card-num  { color: var(--primary); }
.stat-card-teal   .stat-card-icon { background: rgba(0,194,203,0.12);  color: #0891B2; }
.stat-card-teal   .stat-card-num  { color: #0891B2; }

/* ===== DATA SECTION ===== */
.data-section {
  position: relative;
  background: linear-gradient(135deg, #06041A 0%, #0F0A2E 50%, #060F26 100%);
  overflow: hidden;
}
.data-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(107,72,255,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0,194,203,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 5%, rgba(155,127,255,0.15) 0%, transparent 40%);
  pointer-events: none;
}

/* Charts */
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.chart-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl); padding: 1.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3); transition: all var(--transition);
}
.chart-card:hover {
  box-shadow: 0 12px 48px rgba(107,72,255,0.25);
  transform: translateY(-2px);
  border-color: rgba(155,127,255,0.25);
}
.chart-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.chart-label {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: rgba(255,255,255,0.5); margin-bottom: 0.3rem;
}
.chart-label [data-lucide] { width: 11px; height: 11px; }
.chart-title { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.chart-badge {
  white-space: nowrap; padding: 0.28rem 0.75rem;
  border-radius: var(--r-full); font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.chart-badge-green { background: rgba(16,185,129,0.2); color: #6EE7B7; border: 1px solid rgba(16,185,129,0.3); }
.chart-wrap { position: relative; height: 190px; }
.chart-wrap canvas { width: 100% !important; height: 100% !important; }
.chart-note { font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-top: 0.75rem; font-style: italic; }

/* Data highlights */
.data-highlights { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.data-hl-item {
  display: flex; align-items: center; gap: 0.85rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.1rem; border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.1); transition: all var(--transition);
}
.data-hl-item:hover { background: rgba(255,255,255,0.09); border-color: rgba(155,127,255,0.25); }
.data-hl-icon {
  width: 42px; height: 42px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.data-hl-icon [data-lucide] { width: 18px; height: 18px; }
.data-hl-icon-purple { background: rgba(107,72,255,0.2); color: var(--primary-light); }
.data-hl-icon-teal   { background: rgba(0,194,203,0.2);  color: #67E8F9; }
.data-hl-icon-amber  { background: rgba(245,158,11,0.2); color: #FCD34D; }
.data-hl-item strong { display: block; font-family: var(--font-head); font-size: 0.85rem; color: rgba(255,255,255,0.92); margin-bottom: 0.2rem; }
.data-hl-item span   { font-size: 0.76rem; color: rgba(255,255,255,0.5); line-height: 1.4; }

/* ===== MATERI SECTION ===== */
.materi-section {
  position: relative;
  background: linear-gradient(145deg, #EEF0FF 0%, #F5F2FF 50%, #EFF8FF 100%);
  overflow: hidden;
}
.materi-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 90% 50%, rgba(107,72,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 5% 30%, rgba(0,194,203,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.materi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.materi-card {
  display: flex; flex-direction: column; gap: 0.65rem;
  background: white; border-radius: var(--r-lg); padding: 1.4rem;
  border: 1.5px solid var(--border); position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.materi-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.materi-card-merah::before  { background: linear-gradient(90deg, #EF4444, #F87171); }
.materi-card-oranye::before { background: linear-gradient(90deg, #F59E0B, #FCD34D); }
.materi-card-biru::before   { background: linear-gradient(90deg, #6B48FF, #9B7FFF); }
.materi-card-ungu::before   { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.materi-card-hijau::before  { background: linear-gradient(90deg, #10B981, #6EE7B7); }
.materi-card-hitam::before  { background: linear-gradient(90deg, #1E293B, #475569); }
.materi-card-emas::before   { background: linear-gradient(90deg, #C8A84B, #E8C96A); }
.materi-card-teal::before   { background: linear-gradient(90deg, #0D9488, #5EEAD4); }
.materi-card-gelap::before  { background: linear-gradient(90deg, #0F172A, #334155); }
.materi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.materi-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.15rem; }
.materi-kode {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.22rem 0.65rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.5px;
}
.materi-num { font-size: 0.72rem; font-weight: 700; color: var(--text-light); font-family: var(--font-head); }
.materi-card-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.materi-card-desc  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.materi-card-foot  {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.2rem; padding-top: 0.75rem; border-top: 1px solid var(--border);
  font-size: 0.78rem;
}
.materi-subtopik {
  display: flex; align-items: center; gap: 0.3rem; color: var(--text-muted);
}
.materi-subtopik [data-lucide] { width: 12px; height: 12px; }
.materi-read {
  display: flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-head); font-weight: 600; color: var(--primary);
  transition: transform var(--transition);
}
.materi-read [data-lucide] { width: 13px; height: 13px; }
.materi-card:hover .materi-read { transform: translateX(3px); }

/* ===== FEATURES SECTION ===== */
.features-section {
  position: relative;
  background: linear-gradient(145deg, #FAFBFF 0%, #F0F8FF 50%, #F5F2FF 100%);
  overflow: hidden;
}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.feature-card {
  background: white; border-radius: var(--r-lg); padding: 1.75rem;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(107,72,255,0.15); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.feature-icon [data-lucide] { width: 22px; height: 22px; }
.feature-icon-blue   { background: rgba(107,72,255,0.1);  color: var(--primary); }
.feature-icon-green  { background: rgba(16,185,129,0.1);  color: #059669; }
.feature-icon-purple { background: rgba(124,58,237,0.1);  color: #7C3AED; }
.feature-icon-amber  { background: rgba(245,158,11,0.1);  color: #D97706; }
.feature-card h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  background: linear-gradient(145deg, #F5F2FF 0%, #EFF6FF 100%);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(107,72,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 80%, rgba(0,194,203,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  background: linear-gradient(135deg, #6B48FF 0%, #4A2FD9 50%, #2D1AA3 100%);
  border-radius: var(--r-2xl); padding: 3.5rem;
  box-shadow: 0 24px 60px rgba(107,72,255,0.4);
  overflow: hidden; position: relative;
}
.cta-box::before {
  content: ''; position: absolute;
  top: -40%; right: -5%; width: 400px; height: 400px;
  border-radius: 50%; background: rgba(255,255,255,0.05); pointer-events: none;
}
.cta-box::after {
  content: ''; position: absolute;
  bottom: -35%; left: -5%; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(255,255,255,0.04); pointer-events: none;
}
.cta-content { position: relative; z-index: 1; flex: 1; }
.cta-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.28rem 0.9rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.73rem; font-weight: 700;
  margin-bottom: 0.85rem;
}
.cta-content h2 { color: white; font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 0.75rem; }
.cta-content p  { color: rgba(255,255,255,0.78); max-width: 420px; font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.5rem; }
.cta-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.cta-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0.35rem 0.85rem; border-radius: var(--r-full);
  font-size: 0.8rem; font-weight: 500; backdrop-filter: blur(8px);
}
.cta-chip [data-lucide] { width: 13px; height: 13px; }
.btn-white-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: white; color: var(--primary);
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.75rem; border-radius: var(--r-full);
  border: 2px solid white; cursor: pointer; transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-white-cta:hover { background: var(--bg-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.btn-white-cta [data-lucide] { width: 17px; height: 17px; }

/* CTA Visual */
.cta-visual { position: relative; z-index: 1; flex-shrink: 0; }
.cta-score-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-xl); padding: 1.75rem 2rem; min-width: 220px;
  text-align: center;
}
.cta-score-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); font-weight: 500; margin-bottom: 0.5rem; }
.cta-score-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: white; line-height: 1;
  margin-bottom: 0.5rem;
}
.cta-score-num span { font-size: 1.5rem; }
.cta-score-stars { display: flex; align-items: center; justify-content: center; gap: 0.2rem; margin-bottom: 0.5rem; }
.cta-score-tag {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 700;
  color: rgba(255,255,255,0.9); margin-bottom: 1rem;
}
.cta-score-bar-wrap { margin-bottom: 0.75rem; }
.cta-score-bar { background: rgba(255,255,255,0.2); border-radius: var(--r-full); height: 6px; }
.cta-score-fill { height: 100%; background: #4ade80; border-radius: var(--r-full); transition: width 1s ease; }
.cta-score-detail { display: flex; justify-content: center; gap: 1.25rem; font-size: 0.78rem; }
.detail-correct { display: flex; align-items: center; gap: 0.3rem; color: #4ade80; font-weight: 600; }
.detail-wrong   { display: flex; align-items: center; gap: 0.3rem; color: #F87171; font-weight: 600; }

/* ===== FOOTER ===== */
.footer { background: var(--dark-900); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { padding: 4rem 0 3rem; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo-mark {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 14px rgba(107,72,255,0.4);
}
.footer-logo-mark span { color: white; font-family: var(--font-head); font-size: 1rem; font-weight: 800; }
.footer-brand-main { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.9); display: block; }
.footer-brand-sub  { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 1rem; }
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.3rem 0.75rem; border-radius: var(--r-full);
  font-size: 0.72rem; font-weight: 500; white-space: nowrap;
}
.footer-badge [data-lucide] { width: 11px; height: 11px; }
.footer-links h4 {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 700;
  color: rgba(255,255,255,0.85); margin-bottom: 1.1rem; letter-spacing: 0.02em;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 0.4rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-links a [data-lucide] { width: 11px; height: 11px; opacity: 0.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 1.25rem 0;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-align: center; }

/* ===== MATERI PAGE ===== */
.materi-page {
  padding-top: var(--header-h);
  background: var(--bg-light); min-height: 100vh;
}
.materi-layout { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; display: flex; gap: 2rem; }
.sidebar {
  width: 280px; flex-shrink: 0;
  background: white; border-radius: var(--r-xl);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  overflow: hidden; position: sticky; top: calc(var(--header-h) + 1.5rem);
  max-height: calc(100vh - var(--header-h) - 3rem);
  display: flex; flex-direction: column;
}
.sidebar-header {
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-light);
}
.sidebar-header-left { display: flex; align-items: center; gap: 0.5rem; }
.sidebar-header-icon {
  width: 28px; height: 28px; border-radius: var(--r-sm);
  background: rgba(107,72,255,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sidebar-header-icon [data-lucide] { width: 14px; height: 14px; }
.sidebar-header h3 { font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; color: var(--text-dark); }
.sidebar-close-btn {
  display: none; width: 28px; height: 28px; border-radius: var(--r-sm);
  background: rgba(239,68,68,0.1); color: #DC2626; border: none;
  align-items: center; justify-content: center; cursor: pointer;
}
.sidebar-progress-bar { height: 2px; background: var(--border); }
.sidebar-progress-fill { height: 100%; background: var(--primary); transition: width 0.5s ease; }
.sidebar-progress-label {
  font-size: 0.68rem; color: var(--text-muted); font-weight: 600;
  padding: 0.35rem 1.25rem; letter-spacing: 0.3px; background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.sidebar-nav { overflow-y: auto; flex: 1; padding: 0.5rem 0; }
.sidebar-link {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.65rem 1.25rem; color: var(--text-body);
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 500;
  transition: all var(--transition); position: relative;
  border-left: 3px solid transparent;
}
.sidebar-link:hover { background: var(--bg-section); color: var(--primary); }
.sidebar-link.active {
  background: rgba(107,72,255,0.06); color: var(--primary);
  border-left-color: var(--primary); font-weight: 700;
}
.sidebar-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-section); color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; flex-shrink: 0; transition: all var(--transition);
}
.sidebar-link.active .sidebar-num { background: var(--primary); color: white; }
.sidebar-active-icon { flex-shrink: 0; color: var(--primary); margin-left: auto; width: 14px; height: 14px; }
.sidebar-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); background: var(--bg-light); }
.sidebar-cta-text { font-size: 0.73rem; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 500; }
.sidebar-cta-btn { width: 100%; justify-content: center; }

/* Content area */
.materi-content { flex: 1; min-width: 0; }
.materi-content-inner {
  background: white; border-radius: var(--r-xl); padding: 2.5rem;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.5rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-light); flex-shrink: 0; width: 14px; height: 14px; }
.breadcrumb-current { color: var(--text-muted); font-weight: 500; }

/* Article header */
.article-header { margin-bottom: 2rem; }
.article-kode {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.28rem 0.8rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}
.article-title { font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 0.75rem; }
.article-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.article-meta-item {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; color: var(--text-muted); font-weight: 500;
}
.article-meta-item [data-lucide] { width: 13px; height: 13px; }

/* Tabs */
.tabs-bar {
  display: flex; gap: 0; overflow-x: auto; border-bottom: 2px solid var(--border);
  margin-bottom: 2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.1rem; white-space: nowrap; flex-shrink: 0;
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted); background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn [data-lucide] { width: 13px; height: 13px; flex-shrink: 0; }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.35s ease; }

/* Article body */
.article-body h2,
.article-body h3 {
  font-family: var(--font-head); color: var(--text-dark);
  margin: 2rem 0 0.75rem;
}
.article-body h2 { font-size: 1.3rem; }
.article-body h3 { font-size: 1.1rem; }
.article-body p {
  color: var(--text-body); font-size: 0.95rem; line-height: 1.85;
  margin-bottom: 1.1rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem; margin-bottom: 1.1rem; color: var(--text-body);
}
.article-body li { margin-bottom: 0.4rem; font-size: 0.95rem; line-height: 1.8; }
.article-body strong { color: var(--text-dark); font-weight: 700; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

/* Tab navigation */
.tab-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.tab-prev-btn, .tab-next-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition); border: 2px solid var(--border);
  background: white; color: var(--text-body);
}
.tab-prev-btn:hover, .tab-next-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-prev-btn [data-lucide], .tab-next-btn [data-lucide] { width: 14px; height: 14px; }

/* Materi nav (between topics) */
.materi-nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2.5rem; padding: 1.25rem 1.5rem;
  background: var(--bg-section); border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
}
.materi-nav-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  color: var(--primary); transition: all var(--transition);
}
.materi-nav-link:hover { opacity: 0.75; }
.materi-nav-link [data-lucide] { width: 16px; height: 16px; }
.materi-nav-center { text-align: center; flex: 1; }
.materi-nav-center span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Mobile menu */
.sidebar-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 190;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.sidebar-overlay.visible { opacity: 1; pointer-events: all; }
.menu-toggle-btn {
  display: none; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem; border-radius: var(--r-full);
  background: white; border: 1.5px solid var(--border);
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  color: var(--text-body); cursor: pointer; box-shadow: var(--shadow-sm);
}

/* ===== QUIZ PAGE ===== */
.quiz-page {
  padding-top: var(--header-h);
  background: linear-gradient(160deg, #1A0A3E 0%, #3B1FA8 45%, #1A0A3E 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.quiz-page::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(155,127,255,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(107,72,255,0.2) 0%, transparent 55%);
  pointer-events: none;
}

.quiz-container {
  max-width: 480px; margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  position: relative; z-index: 1;
}

/* Quiz Intro — glassmorphism card */
.quiz-intro {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.quiz-intro-inner {
  padding: 2rem 1.75rem 1.5rem;
  text-align: center;
}
.quiz-intro-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
  padding: 0.3rem 1rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(8px);
}
.quiz-intro-inner h1 {
  font-family: var(--font-head); font-size: clamp(1.6rem, 6vw, 2.1rem);
  font-weight: 800; color: #fff; margin-bottom: 0.65rem;
  line-height: 1.15;
}
.quiz-intro-inner > p {
  color: rgba(255,255,255,0.72); font-size: 0.9rem;
  line-height: 1.65; margin-bottom: 1.5rem;
  max-width: 340px; margin-left: auto; margin-right: auto;
}

/* Feature chips */
.quiz-intro-chips {
  display: flex; flex-direction: column; gap: 0.55rem;
  margin-bottom: 1.75rem;
}
.quiz-chip {
  display: flex; align-items: center; gap: 0.65rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  padding: 0.6rem 1.1rem;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-head); font-size: 0.83rem; font-weight: 600;
}
.quiz-chip svg { flex-shrink: 0; opacity: 0.8; }

/* CTA button — white on purple */
.quiz-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; padding: 0.9rem 1.5rem;
  background: #ffffff; color: var(--primary);
  border: none; border-radius: var(--r-full);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  margin-bottom: 0.85rem;
}
.quiz-cta-btn:hover {
  background: #F0EBFF; transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}
.quiz-intro-note {
  font-size: 0.75rem; color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* Result preview card */
.quiz-result-preview {
  margin: 0 1.75rem 1.75rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.qrp-label {
  font-size: 0.72rem; color: rgba(255,255,255,0.5);
  font-weight: 600; letter-spacing: 0.3px; margin-bottom: 0.5rem;
  font-family: var(--font-head);
}
.qrp-score {
  font-family: var(--font-head); font-size: 3rem; font-weight: 900;
  color: #fff; line-height: 1;
  margin-bottom: 0.5rem;
}
.qrp-score span { font-size: 1.4rem; font-weight: 700; color: rgba(255,255,255,0.7); }
.qrp-stars { display: flex; align-items: center; justify-content: center; gap: 3px; margin-bottom: 0.4rem; }
.qrp-grade {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700;
  color: rgba(255,255,255,0.8);
}

/* Quiz question card */
.quiz-main { background: white; border-radius: var(--r-xl); padding: 2.5rem; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.quiz-progress-labels { display: flex; justify-content: space-between; font-size: 0.83rem; font-weight: 600; color: var(--text-body); margin-bottom: 0.5rem; }
.quiz-progress-bar { background: var(--bg-section); border-radius: var(--r-full); height: 6px; margin-bottom: 2rem; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: var(--r-full); transition: width 0.4s ease; }
.quiz-question-tag {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--primary); margin-bottom: 0.65rem;
}
.quiz-question-text { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.5; }
.quiz-options { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.5rem; }
.quiz-option {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1rem; border-radius: var(--r-lg);
  border: 1.5px solid var(--border); background: white;
  cursor: pointer; transition: all var(--transition);
  font-family: var(--font-body); text-align: left; font-size: 0.93rem; color: var(--text-body); width: 100%;
}
.quiz-option:hover:not(:disabled) { border-color: var(--primary); background: rgba(107,72,255,0.03); }
.option-letter {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-section); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  transition: all var(--transition);
}
.quiz-option.selected { border-color: var(--primary); background: rgba(107,72,255,0.05); }
.quiz-option.selected .option-letter { background: var(--primary); color: white; }
.quiz-option.correct { border-color: var(--success); background: rgba(16,185,129,0.06); }
.quiz-option.correct .option-letter { background: var(--success); color: white; }
.quiz-option.wrong { border-color: var(--danger); background: rgba(239,68,68,0.06); }
.quiz-option.wrong .option-letter { background: var(--danger); color: white; }
.quiz-option:disabled { cursor: not-allowed; }
.quiz-feedback {
  margin-top: 1.25rem; padding: 1.1rem; border-radius: var(--r-md);
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.quiz-feedback.correct-feedback { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.3); }
.quiz-feedback.wrong-feedback   { background: rgba(239,68,68,0.06);  border: 1px solid rgba(239,68,68,0.25); }
.feedback-icon { font-size: 1.2rem; flex-shrink: 0; }
.feedback-text { font-size: 0.88rem; color: var(--text-body); line-height: 1.65; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.quiz-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; flex: 1; }
.quiz-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--border);
  cursor: pointer; transition: all var(--transition); border: none;
}
.quiz-dot.answered { background: var(--primary-light); }
.quiz-dot.current  { background: var(--primary); transform: scale(1.35); }
.quiz-dot.correct-dot { background: var(--success); }
.quiz-dot.wrong-dot   { background: var(--danger); }

/* Quiz Result */
.quiz-result {
  background: white; border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); border: 1.5px solid var(--border);
  overflow: hidden; animation: fadeUp 0.5s ease;
}
.result-header {
  padding: 3rem 2.5rem 2rem; text-align: center;
  background: linear-gradient(135deg, rgba(107,72,255,0.04), rgba(0,194,203,0.04));
}
.result-badge { font-size: 4.5rem; display: block; margin-bottom: 0.75rem; animation: bounceIn 0.6s ease; }
.result-header h2 { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 0.75rem; }
.result-header p  { color: var(--text-muted); max-width: 480px; margin: 0 auto; font-size: 0.95rem; }
.result-stats { display: flex; justify-content: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.result-stat { flex: 1; padding: 1.75rem 1rem; text-align: center; border-right: 1px solid var(--border); }
.result-stat:last-child { border-right: none; }
.result-stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.25rem; }
.result-stat-persen .result-stat-num {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.result-stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.result-review-section { padding: 2rem 2.5rem; }
.result-review-section h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.result-review-desc { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1.25rem; margin-top: -0.5rem; }
.review-item { padding: 1.1rem; border-radius: var(--r-md); margin-bottom: 0.85rem; border: 1px solid var(--border); }
.review-item.review-correct { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.04); }
.review-item.review-wrong   { border-color: rgba(239,68,68,0.3);  background: rgba(239,68,68,0.04); }
.review-item-header { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.55rem; }
.review-icon { font-size: 1rem; }
.review-num  { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); font-family: var(--font-head); }
.review-question { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.review-answers { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.65rem; }
.review-answer  { font-size: 0.8rem; }
.review-answer.correct-ans { color: #059669; font-weight: 600; }
.review-answer.wrong-ans   { color: #DC2626; }
.review-explanation { font-size: 0.8rem; color: var(--text-muted); background: var(--bg-light); padding: 0.65rem; border-radius: var(--r-sm); line-height: 1.6; }
.result-actions { display: flex; gap: 0.85rem; padding: 1.5rem 2.5rem 2.5rem; justify-content: center; flex-wrap: wrap; }
.result-stat-main { background: rgba(107,72,255,0.03); }

/* Error Pages */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--bg-section); padding-top: var(--header-h); }
.error-container { text-align: center; max-width: 480px; }
.error-code {
  font-family: var(--font-head); font-size: 8rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.5rem;
}
.error-emoji { font-size: 4rem; margin-bottom: 1rem; }
.error-container h1 { font-family: var(--font-head); margin-bottom: 0.75rem; }
.error-container p  { color: var(--text-muted); margin-bottom: 2rem; }

/* Lucide icons */
[data-lucide] { display: inline-block; vertical-align: -0.15em; stroke-width: 2; flex-shrink: 0; }
.icon-xs { width: 12px !important; height: 12px !important; }
.icon-sm { width: 14px !important; height: 14px !important; }
.icon-md { width: 18px !important; height: 18px !important; }
.icon-lg { width: 22px !important; height: 22px !important; }
.icon-xl { width: 28px !important; height: 28px !important; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-8px) rotate(0.5deg); }
  66%       { transform: translateY(-4px) rotate(-0.4deg); }
}
@keyframes bounceIn {
  0%   { transform: scale(0.3); opacity: 0; }
  50%  { transform: scale(1.1); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.7; }
  50%  { transform: translateY(-60px) translateX(20px) scale(1.1); opacity: 0.4; }
  100% { transform: translateY(-120px) translateX(-10px) scale(0.8); opacity: 0; }
}

/* ===== RESPONSIVE — TABLET (max 1024px) ===== */
@media (max-width: 1024px) {
  /* Hero: single column, LEFT-aligned to match reference design */
  .hero-container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .hero-float { display: none; }
  .office-card { max-width: 520px; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-row { justify-content: flex-start; }
  .about-left { text-align: left; }

  .charts-grid { grid-template-columns: 1fr; }
  .data-highlights { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .cta-box { flex-direction: column; text-align: center; padding: 2.5rem 2rem; }
  .cta-content p { margin: 0 auto 1.5rem; }
  .cta-chips { justify-content: center; }

  /* Sidebar — full-screen slide-in panel */
  .materi-layout { flex-direction: column; padding-top: 1.5rem; }
  .sidebar {
    width: min(300px, 85vw); position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
    height: 100dvh; height: 100vh;
    transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    border-radius: 0; max-height: none; overflow: hidden;
    box-shadow: 4px 0 30px rgba(0,0,0,0.25);
    display: flex; flex-direction: column;
  }
  .sidebar .sidebar-nav { flex: 1; overflow-y: auto; min-height: 0; }
  .sidebar.open { transform: translateX(0); }
  /* show the close button — HTML uses class .sidebar-close */
  .sidebar-close { display: flex !important; }
  .sidebar-close-btn { display: flex; }
  .menu-toggle-btn { display: flex; margin-bottom: 1.25rem; }
  /* push sidebar content below the navbar */
  .sidebar-header { padding-top: calc(var(--header-h) + 0.85rem); }
}

/* ===== MOBILE (max 768px) ===== */
@media (max-width: 768px) {
  :root { --navbar-h: 58px; --header-h: 58px; }

  .nav-toggle { display: flex; }

  /* Full-screen dark overlay menu */
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100dvh; height: 100vh;
    background: rgba(6,4,26,0.98);
    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    padding: calc(var(--navbar-h) + 1.5rem) 1.5rem 2rem;
    flex-direction: column; gap: 0.5rem; align-items: stretch;
    transform: translateX(100%); opacity: 0; pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
    z-index: 998; overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateX(0); opacity: 1; pointer-events: all;
  }
  .nav-link {
    width: 100%; padding: 1rem 1.1rem;
    border-radius: var(--r-lg); font-size: 1rem; font-weight: 600;
    color: rgba(255,255,255,0.8) !important;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
  }
  .nav-link:hover, .nav-link.active {
    color: white !important;
    background: rgba(107,72,255,0.18);
    border-color: rgba(107,72,255,0.3);
  }
  .nav-link-cta {
    background: var(--primary) !important;
    border-color: transparent !important;
    color: white !important;
    box-shadow: 0 4px 18px rgba(107,72,255,0.4);
  }
  .nav-link-cta:hover { background: var(--primary-dark) !important; }

  /* Hero — left-aligned, compact for phone */
  .hero-container { padding: 2.5rem 1.25rem 3.5rem; }
  .hero-eyebrow { gap: 0.4rem; margin-bottom: 1.25rem; }
  .hero-badge-pill, .hero-tag { font-size: 0.68rem; padding: 0.22rem 0.6rem; }
  .hero-title { font-size: clamp(1.75rem, 9vw, 2.6rem); margin-bottom: 1rem; }
  .hero-desc { font-size: 0.88rem; margin-bottom: 1.5rem; max-width: 100%; }

  /* CTA buttons — full width stacked on mobile */
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .btn-hero-primary, .btn-hero-outline {
    width: 100%; justify-content: space-between;
    padding: 0.9rem 1.25rem;
  }

  .office-card { max-width: 100%; padding: 0.8rem; gap: 0.75rem; }
  .office-seal { width: 42px; height: 42px; }
  .office-name { font-size: 0.78rem; }
  .office-address { font-size: 0.7rem; }

  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 0.75rem; }
  .hero-stat:first-child { padding-left: 0; }
  .hero-stat-num { font-size: 1.2rem; }
  .hero-stat-icon { width: 30px; height: 30px; }
  .hero-stat-icon [data-lucide] { width: 14px; height: 14px; }

  .section-container { padding: 3rem 1.25rem; }
  .materi-grid { grid-template-columns: 1fr; }
  .stat-cards-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .charts-grid { grid-template-columns: 1fr; }

  .cta-box { padding: 2rem 1.25rem; }
  .cta-visual { width: 100%; }
  .cta-score-card { min-width: unset; width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Materi page */
  .materi-layout { padding: 1rem 1rem 2rem; }
  .content-topbar { margin-bottom: 1rem; }
  .materi-content-inner { padding: 1.25rem; }
  .article-header { padding: 1.25rem; }
  .article-header-inner { flex-direction: column; gap: 0.75rem; }
  .article-kode-badge { width: 42px; height: 42px; font-size: 0.78rem; }
  .tab-content-wrapper { padding: 0 1.25rem 1.5rem; }
  .fakta-grid { padding: 0.85rem 1.25rem; }
  .fakta-cards { flex-direction: column; }
  .materi-nav-bottom { flex-direction: column; }
  .tab-navigation { flex-direction: column; }

  /* Quiz page */
  .quiz-container { padding: 1.5rem 1rem 3rem; }
  .quiz-main { padding: 1.25rem; }
  .quiz-card { padding: 1.25rem; }
  .quiz-intro-inner { padding: 1.5rem 1.25rem 1.25rem; }
  .quiz-result-preview { margin: 0 1.25rem 1.25rem; }
  .result-review-section { padding: 1.25rem; }
  .result-actions { padding: 1.25rem 1.25rem 2rem; }
  .tab-nav-row { flex-direction: column; }
  .tab-prev-btn, .tab-next-btn { width: 100%; justify-content: center; }
  .materi-nav-bar { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 0.6rem; }
  .hero-stat-num { font-size: 1.15rem; }
  .hero-stat-label { font-size: 0.65rem; }
  .hero-stat-icon { width: 32px; height: 32px; }
  .hero-stat-icon [data-lucide] { width: 14px; height: 14px; }

  .stat-cards-grid { grid-template-columns: 1fr; }
  .result-stats { flex-direction: column; }
  .result-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .result-stat:last-child { border-bottom: none; }
}

/* ===== MATERI PAGE EXTENDED ===== */
.sidebar-close {
  display: none; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: var(--r-sm);
  background: rgba(239,68,68,0.1); color: #DC2626; border: none;
  cursor: pointer; flex-shrink: 0;
}
.sidebar-kode {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.18rem 0.5rem; border-radius: var(--r-sm);
  font-family: var(--font-head); font-size: 0.62rem; font-weight: 800;
  flex-shrink: 0;
}
.sidebar-text { flex: 1; font-size: 0.8rem; line-height: 1.35; }
.sidebar-cta { padding: 1rem 1.25rem; border-top: 1px solid var(--border); background: var(--bg-light); }

/* Content area */
.content-area { flex: 1; min-width: 0; }
.content-topbar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

/* Article */
.materi-article {
  background: white; border-radius: var(--r-xl);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  overflow: hidden; margin-bottom: 1.25rem;
}
.article-header {
  padding: 2rem 2rem 1.5rem;
  position: relative; overflow: hidden;
}
.warna-header-merah  { background: linear-gradient(135deg, rgba(239,68,68,0.08),  rgba(248,113,113,0.04)); border-bottom: 3px solid #EF4444; }
.warna-header-oranye { background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(252,211,77,0.04));  border-bottom: 3px solid #F59E0B; }
.warna-header-biru   { background: linear-gradient(135deg, rgba(107,72,255,0.08), rgba(155,127,255,0.04)); border-bottom: 3px solid #6B48FF; }
.warna-header-ungu   { background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(167,139,250,0.04)); border-bottom: 3px solid #7C3AED; }
.warna-header-hijau  { background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(110,231,183,0.04)); border-bottom: 3px solid #10B981; }
.warna-header-hitam  { background: linear-gradient(135deg, rgba(30,41,59,0.08),   rgba(71,85,105,0.04));   border-bottom: 3px solid #1E293B; }
.warna-header-emas   { background: linear-gradient(135deg, rgba(200,168,75,0.1),  rgba(232,201,106,0.05)); border-bottom: 3px solid #C8A84B; }
.warna-header-teal   { background: linear-gradient(135deg, rgba(20,184,166,0.08), rgba(94,234,212,0.04));  border-bottom: 3px solid #14B8A6; }
.warna-header-gelap  { background: linear-gradient(135deg, rgba(15,23,42,0.08),   rgba(51,65,85,0.04));    border-bottom: 3px solid #0F172A; }

.article-header-inner { display: flex; align-items: flex-start; gap: 1.25rem; }
.article-kode-badge {
  width: 52px; height: 52px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 900;
  background: var(--primary); color: white;
  box-shadow: 0 4px 14px rgba(107,72,255,0.35);
}
.article-header-text { flex: 1; }
.article-header-text h1 { font-family: var(--font-head); font-size: clamp(1.3rem,3vw,1.8rem); margin-bottom: 0.5rem; }
.article-ringkasan { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.6; }
.article-meta { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.article-meta-item { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.meta-sep { color: var(--text-light); }

/* Tab bar */
.tab-nav-wrap { border-bottom: 2px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tab-nav-wrap::-webkit-scrollbar { display: none; }
.tab-nav { display: flex; gap: 0; padding: 0 1.25rem; }
.tab-btn {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 0.9rem; white-space: nowrap; flex-shrink: 0;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted); background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-num {
  width: 20px; height: 20px; border-radius: 50%; background: var(--bg-section);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; flex-shrink: 0; transition: all var(--transition);
}
.tab-btn.active .tab-num { background: var(--primary); color: white; }
.tab-label { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

/* Fakta grid */
.fakta-grid { padding: 1.25rem 2rem; border-bottom: 1px solid var(--border); background: var(--bg-light); }
.fakta-grid-label {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 0.85rem;
}
.fakta-cards { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.fakta-card {
  background: white; border-radius: var(--r-lg); padding: 1rem 1.1rem;
  border: 1.5px solid var(--border); flex: 1; min-width: 140px;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.fakta-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.fakta-angka { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.fakta-label { font-size: 0.78rem; font-weight: 600; color: var(--text-body); margin-bottom: 0.2rem; }
.fakta-sumber { font-size: 0.7rem; color: var(--text-muted); }
.warna-text-merah  { color: #DC2626; }
.warna-text-oranye { color: #D97706; }
.warna-text-biru   { color: var(--primary); }
.warna-text-ungu   { color: #7C3AED; }
.warna-text-hijau  { color: #059669; }
.warna-text-hitam  { color: #1E293B; }
.warna-text-emas   { color: var(--gold); }
.warna-text-teal   { color: #0D9488; }
.warna-text-gelap  { color: #0F172A; }

/* Article image */
.article-image-wrap { padding: 0 2rem 1.5rem; }
.article-hero-img { width: 100%; border-radius: var(--r-lg); object-fit: cover; max-height: 360px; }
.article-img-caption {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; font-style: italic;
}

/* Tab content */
.tab-content-wrapper { padding: 0 2rem 2rem; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.3s ease; }
.tab-panel-header { margin-bottom: 1.5rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.tab-panel-num { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--primary); margin-bottom: 0.4rem; }
.tab-panel-header h2 { font-family: var(--font-head); font-size: clamp(1.2rem,2.5vw,1.5rem); }

/* Prose */
.prose { color: var(--text-body); font-size: 0.95rem; line-height: 1.85; }
.prose br { margin-bottom: 0.5rem; }
.prose strong { color: var(--text-dark); font-weight: 700; }

/* Tab navigation buttons */
.tab-navigation {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.tab-prev-btn, .tab-next-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}

/* Materi bottom nav */
.materi-nav-bottom {
  display: flex; gap: 1rem; margin-top: 1.25rem;
}
.nav-bottom-btn {
  flex: 1; display: flex; align-items: center; gap: 1rem;
  background: white; border-radius: var(--r-lg); padding: 1.1rem 1.25rem;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all var(--transition); color: var(--text-body);
}
.nav-bottom-btn:hover { border-color: var(--primary); box-shadow: var(--shadow-md); color: var(--primary); }
.nav-prev { justify-content: flex-start; }
.nav-next { justify-content: flex-end; flex-direction: row-reverse; }
.nav-bottom-btn small { display: block; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.nav-bottom-btn strong { display: block; font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; }
.nav-arrow { font-size: 1.2rem; flex-shrink: 0; color: var(--primary); }
.quiz-nav-btn { border-color: rgba(107,72,255,0.3); background: rgba(107,72,255,0.03); }
.text-right { text-align: right; }

/* Quiz container */
.quiz-container { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem; }
.quiz-header { margin-bottom: 1.5rem; }
.quiz-progress-wrap { background: white; border-radius: var(--r-lg); padding: 1.25rem 1.5rem; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.quiz-card {
  background: white; border-radius: var(--r-xl); padding: 2rem;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 1.25rem;
}
.quiz-question-text { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.55; }

/* Color utility */
.correct-color { color: var(--success) !important; }
.wrong-color   { color: var(--danger)  !important; }
.accent-color  {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Mobile materi page fixes */
@media (max-width: 768px) {
  .article-header { padding: 1.5rem; }
  .article-header-inner { flex-direction: column; gap: 0.85rem; }
  .article-image-wrap { padding: 0 1.25rem 1.25rem; }
  .tab-content-wrapper { padding: 0 1.25rem 1.5rem; }
  .fakta-grid { padding: 1rem 1.25rem; }
  .fakta-cards { flex-direction: column; }
  .materi-nav-bottom { flex-direction: column; }
  .tab-navigation { flex-direction: column; }
  .quiz-container { padding: 2rem 1.25rem; }
  .quiz-card { padding: 1.5rem; }
}

/* ================================================================
   DOKUMENTASI SECTION (Home Preview)
   ================================================================ */
.dokumen-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dokumen-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.dokumen-lihat-semua-desktop { flex-shrink: 0; }
.dokumen-lihat-semua-mobile { display: none; }

/* 3-column photo grid: featured spans 2 rows on left */
.dokumen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
}
.dokumen-card { border-radius: var(--r-xl); overflow: hidden; position: relative; cursor: pointer; }
.dokumen-card-featured {
  grid-row: 1 / 3;
}

.dokumen-img-wrap {
  position: relative; width: 100%; height: 100%; overflow: hidden;
}
.dokumen-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.dokumen-card:hover .dokumen-img-wrap img { transform: scale(1.06); }

.dokumen-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,4,26,0.85) 0%, rgba(6,4,26,0.2) 50%, transparent 100%);
  display: flex; align-items: flex-end; padding: 1.25rem;
  opacity: 0; transition: opacity 0.35s ease;
}
.dokumen-card:hover .dokumen-overlay { opacity: 1; }

.dokumen-overlay-inner { display: flex; flex-direction: column; gap: 0.4rem; }

.dokumen-cat-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.7rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  width: fit-content;
}
.dokumen-cat-kunjungan  { background: rgba(107,72,255,0.85); color: white; }
.dokumen-cat-sosialisasi { background: rgba(0,194,203,0.85); color: white; }
.dokumen-cat-pelatihan  { background: rgba(200,168,75,0.9); color: white; }
.dokumen-cat-dutaGenre  { background: rgba(239,68,68,0.85); color: white; }

.dokumen-overlay-title {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  color: white; line-height: 1.35; margin: 0;
}
.dokumen-card-featured .dokumen-overlay-title { font-size: 1.1rem; }
.dokumen-overlay-meta {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.7);
}

.dokumen-footer {
  margin-top: 2rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.dokumen-counter-row {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.dokumen-counter {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--text-body);
}
.dokumen-counter strong { color: var(--text-dark); font-family: var(--font-head); }

/* ================================================================
   KEGIATAN PAGE — HERO
   ================================================================ */
.kegiatan-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--dark-900) 0%, #1A0A3E 50%, #0A2045 100%);
  padding-top: var(--navbar-h);
}
.kegiatan-hero-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}
.kegiatan-hero-glow-1 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  top: -15%; left: -5%;
  background: radial-gradient(circle, rgba(107,72,255,0.4) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.kegiatan-hero-glow-2 {
  position: absolute; width: 350px; height: 350px; border-radius: 50%;
  bottom: 0; right: 10%;
  background: radial-gradient(circle, rgba(0,194,203,0.25) 0%, transparent 70%);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.kegiatan-hero-content { text-align: center; max-width: 700px; margin: 0 auto; }
.kegiatan-hero-title {
  font-family: var(--font-head); font-size: clamp(2rem,5vw,3.2rem); font-weight: 800;
  color: white; line-height: 1.2; margin: 1rem 0;
}
.kegiatan-hero-desc {
  color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.7;
  margin-bottom: 2.5rem;
}
.kegiatan-hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl); padding: 1.25rem 2rem; width: fit-content; margin: 0 auto;
}
.kh-stat { text-align: center; padding: 0 2rem; }
.kh-stat-num {
  display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800;
  color: white; line-height: 1;
}
.kh-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 0.3rem; display: block; }
.kh-stat-sep { width: 1px; height: 3rem; background: rgba(255,255,255,0.15); }

.kegiatan-hero-wave {
  position: relative; z-index: 2; margin-top: 3rem; line-height: 0;
}

/* ================================================================
   KEGIATAN PAGE — FILTER BAR
   ================================================================ */
.keg-filter-bar {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.keg-filter-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1.1rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
  background: white; color: var(--text-body);
  border: 1.5px solid var(--border);
  transition: all var(--transition); cursor: pointer;
}
.keg-filter-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(107,72,255,0.05); }
.keg-filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 14px rgba(107,72,255,0.3); }

.keg-count {
  font-size: 0.88rem; color: var(--text-muted); margin-bottom: 2rem;
}
.keg-count strong { color: var(--text-dark); font-family: var(--font-head); }

/* ================================================================
   KEGIATAN PAGE — GALLERY GRID
   ================================================================ */
.keg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.keg-gallery-item {
  background: white; border-radius: var(--r-xl); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all var(--transition); cursor: pointer;
}
.keg-gallery-item:hover {
  border-color: rgba(107,72,255,0.25);
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
}
.keg-highlight { border-color: rgba(107,72,255,0.3); box-shadow: var(--shadow-md); }

.keg-gallery-img-wrap {
  position: relative; width: 100%; height: 220px; overflow: hidden;
}
.keg-gallery-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.keg-gallery-item:hover .keg-gallery-img-wrap img { transform: scale(1.06); }

.keg-gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,4,26,0.6) 0%, transparent 60%);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0.75rem; opacity: 0; transition: opacity 0.3s ease;
}
.keg-gallery-item:hover .keg-gallery-overlay { opacity: 1; }
.keg-overlay-tag {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  color: white; text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.keg-overlay-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; color: white;
}
.keg-gallery-tag-top {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.keg-label-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.22rem 0.65rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700;
}
.keg-label-kunjungan  { background: var(--primary); color: white; }
.keg-label-sosialisasi { background: var(--secondary); color: white; }
.keg-label-pelatihan  { background: var(--gold); color: white; }
.keg-label-dutaGenre  { background: var(--danger); color: white; }
.keg-label-highlight  { background: rgba(245,158,11,0.9); color: white; }

.keg-gallery-body { padding: 1.1rem 1.25rem 1.25rem; }
.keg-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.keg-meta-item {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.75rem; color: var(--text-muted);
}
.keg-gallery-title {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.5rem; line-height: 1.4;
}
.keg-gallery-desc {
  font-size: 0.83rem; color: var(--text-muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.keg-empty {
  text-align: center; padding: 5rem 2rem;
  color: var(--text-muted);
}
.keg-empty-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg-section); margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center; color: var(--text-light);
}
.keg-empty h3 { color: var(--text-dark); margin-bottom: 0.5rem; }
.keg-empty p { margin-bottom: 1.5rem; }

/* ================================================================
   DUTA GENRE SECTION
   ================================================================ */
.duta-section {
  position: relative; background: var(--bg-section); overflow: hidden;
  border-top: 1px solid var(--border);
}
.duta-section-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(107,72,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.section-eyebrow-duta {
  background: rgba(107,72,255,0.1); color: var(--primary);
  border-color: rgba(107,72,255,0.2);
}

.duta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.duta-card {
  background: white; border-radius: var(--r-xl); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.duta-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-color: rgba(107,72,255,0.2);
}

.duta-card-top {
  position: relative; height: 120px;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 50px;
}
.duta-top-purple { background: linear-gradient(135deg, #6B48FF, #9B7FFF); }
.duta-top-teal   { background: linear-gradient(135deg, #00C2CB, #00E5EF); }
.duta-top-amber  { background: linear-gradient(135deg, #C8A84B, #E8C96A); }
.duta-top-blue   { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.duta-top-green  { background: linear-gradient(135deg, #10B981, #34D399); }
.duta-top-red    { background: linear-gradient(135deg, #EF4444, #F87171); }

.duta-photo-wrap {
  position: absolute; bottom: -42px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 84px;
}
.duta-photo {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 3px solid white; box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  position: relative; z-index: 2;
}
.duta-photo-ring {
  position: absolute; inset: -5px; border-radius: 50%; z-index: 1;
  opacity: 0.35;
}
.duta-ring-purple { border: 2px solid var(--primary); }
.duta-ring-teal   { border: 2px solid var(--secondary); }
.duta-ring-amber  { border: 2px solid var(--gold); }
.duta-ring-blue   { border: 2px solid #3B82F6; }
.duta-ring-green  { border: 2px solid var(--success); }
.duta-ring-red    { border: 2px solid var(--danger); }

.duta-angkatan-badge {
  position: absolute; top: 0.6rem; right: 0.75rem;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  color: white; padding: 0.2rem 0.65rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.3rem;
}

.duta-card-body {
  padding: 3.5rem 1.25rem 1.5rem;
  text-align: center;
}
.duta-nama {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.3rem;
}
.duta-sekolah {
  display: flex; align-items: center; justify-content: center; gap: 0.35rem;
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.85rem;
}
.duta-bidang-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.28rem 0.85rem; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  margin-bottom: 1rem;
}
.duta-chip-purple { background: rgba(107,72,255,0.1); color: var(--primary); }
.duta-chip-teal   { background: rgba(0,194,203,0.1);  color: #0099A8; }
.duta-chip-amber  { background: rgba(200,168,75,0.12); color: #9A7A28; }
.duta-chip-blue   { background: rgba(59,130,246,0.1);  color: #2563EB; }
.duta-chip-green  { background: rgba(16,185,129,0.1);  color: #059669; }
.duta-chip-red    { background: rgba(239,68,68,0.1);   color: #DC2626; }

.duta-prestasi {
  display: flex; align-items: flex-start; gap: 0.5rem;
  background: var(--bg-light); border-radius: var(--r-md);
  padding: 0.65rem 0.85rem; text-align: left;
}
.duta-prestasi-icon {
  color: var(--warning); flex-shrink: 0; margin-top: 1px;
}
.duta-prestasi span { font-size: 0.78rem; color: var(--text-body); line-height: 1.5; }

.duta-cta { margin-top: 1rem; }
.duta-cta-box {
  background: white; border-radius: var(--r-xl); padding: 2rem 2.5rem;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.duta-cta-icon {
  width: 56px; height: 56px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center; color: white;
  flex-shrink: 0; box-shadow: 0 4px 16px rgba(107,72,255,0.35);
}
.duta-cta-text { flex: 1; min-width: 200px; }
.duta-cta-text h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.3rem; }
.duta-cta-text p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ================================================================
   KEGIATAN — HERO EYEBROW & TITLE ACCENT
   ================================================================ */
.kh-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.38rem 1rem; border-radius: var(--r-full);
  background: rgba(155,127,255,0.18); border: 1px solid rgba(155,127,255,0.35);
  color: #C4B0FF; font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.kh-title-accent {
  background: linear-gradient(90deg, #C4B0FF 0%, #00E5EF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   KEGIATAN — DETAIL BUTTON ON CARD
   ================================================================ */
.keg-detail-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 0.85rem; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  color: var(--primary); transition: gap var(--transition);
}
.keg-gallery-item:hover .keg-detail-btn { gap: 0.6rem; }

/* ================================================================
   KEGIATAN — FILTER WRAP (scroll on mobile)
   ================================================================ */
.keg-filter-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem; padding-bottom: 0.25rem;
  scrollbar-width: none;
}
.keg-filter-wrap::-webkit-scrollbar { display: none; }
.keg-filter-bar {
  display: flex; align-items: center; gap: 0.5rem;
  min-width: max-content;
  margin-bottom: 0;
}

/* ================================================================
   KEGIATAN — MODAL DETAIL
   ================================================================ */
.keg-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(6,4,26,0.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.keg-modal-overlay.active {
  opacity: 1; pointer-events: all;
}
.keg-modal-box {
  background: white; border-radius: var(--r-xl);
  width: 100%; max-width: 680px; max-height: 90vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.keg-modal-overlay.active .keg-modal-box {
  transform: translateY(0) scale(1);
}
.keg-modal-close {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  transition: all var(--transition);
}
.keg-modal-close:hover { background: var(--primary); color: white; border-color: var(--primary); }
.keg-modal-img-wrap {
  position: relative; width: 100%; height: 280px; overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.keg-modal-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.keg-modal-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,4,26,0.55) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 1rem 1.25rem;
}
.keg-modal-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.keg-modal-body { padding: 1.5rem 1.75rem 2rem; }
.keg-modal-meta {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.keg-modal-title {
  font-family: var(--font-head); font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 800; color: var(--text-dark); line-height: 1.3;
  margin-bottom: 0.85rem;
}
.keg-modal-desc {
  font-size: 0.93rem; color: var(--text-body); line-height: 1.75;
  margin-bottom: 1.5rem;
}
.keg-modal-footer {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}

/* ================================================================
   RESPONSIVE — Dokumentasi & Kegiatan
   ================================================================ */
@media (max-width: 1024px) {
  .keg-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .duta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Dokumentasi Home */
  .dokumen-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 220px 220px;
  }
  .dokumen-card-featured { grid-row: auto; }
  .dokumen-section-head { flex-direction: column; align-items: flex-start; }
  .dokumen-lihat-semua-desktop { display: none; }
  .dokumen-lihat-semua-mobile { display: inline-flex; }
  .dokumen-footer { flex-direction: column; align-items: flex-start; }
  .dokumen-counter-row { gap: 1rem; }

  /* Kegiatan Hero */
  .kegiatan-hero-stats { padding: 1rem 1.25rem; }
  .kh-stat { padding: 0 0.75rem; }
  .kegiatan-hero-desc { font-size: 0.95rem; }

  /* Gallery */
  .keg-gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
  .keg-filter-btn { font-size: 0.78rem; padding: 0.45rem 0.85rem; }

  /* Modal */
  .keg-modal-img-wrap { height: 220px; }
  .keg-modal-body { padding: 1.25rem 1.25rem 1.75rem; }

  /* Duta */
  .duta-grid { grid-template-columns: repeat(2, 1fr); }
  .duta-cta-box { flex-direction: column; text-align: center; }
  .duta-cta-icon { margin: 0 auto; }
  .duta-cta-text { text-align: center; }
}

@media (max-width: 480px) {
  .duta-grid { grid-template-columns: 1fr; }
  .kh-stat-sep { display: none; }
  .kh-stat { padding: 0.5rem 0.75rem; }
  .kegiatan-hero-stats { flex-wrap: wrap; width: auto; justify-content: center; gap: 0; }
  .keg-gallery-img-wrap { height: 200px; }
  .keg-modal-footer { flex-direction: column; }
  .keg-modal-footer .btn { width: 100%; justify-content: center; }
}

/* ===== OFFICE CARD LINK ===== */
a.office-card-link {
  text-decoration: none;
  cursor: pointer;
  display: flex;
}
a.office-card-link:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(200,168,75,0.55);
  transform: translateY(-1px);
}
.office-card-arrow { margin-left: auto; display: flex; align-items: center; }

/* ===== BENGKULU SELATAN PAGE ===== */
.bs-page { background: #F3F4FF; }

/* HERO */
.bs-hero {
  position: relative;
  background: linear-gradient(145deg, #0A0722 0%, #160D3A 45%, #0D1A3A 100%);
  padding: 7rem 1.5rem 0;
  overflow: hidden;
  text-align: center;
}
.bs-hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; opacity: 0.55;
}
.bs-blob-1 { width: 400px; height: 400px; background: rgba(107,72,255,0.45); top: -100px; left: -80px; }
.bs-blob-2 { width: 320px; height: 320px; background: rgba(0,194,203,0.3); top: 40px; right: -60px; }
.bs-blob-3 { width: 260px; height: 260px; background: rgba(200,168,75,0.2); bottom: 40px; left: 50%; transform: translateX(-50%); }
.bs-hero-inner {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  padding-bottom: 4rem;
}
.bs-hero-logo-wrap {
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%; padding: 0.85rem;
  border: 2px solid rgba(200,168,75,0.4);
  box-shadow: 0 0 0 8px rgba(200,168,75,0.07), 0 12px 40px rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
}
.bs-hero-logo { width: 100%; height: 100%; object-fit: contain; }
.bs-pill {
  display: inline-block;
  background: rgba(107,72,255,0.25); border: 1px solid rgba(107,72,255,0.5);
  color: #C4B5FD; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 1rem; border-radius: 99px;
}
.bs-hero-text h1 {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  color: #fff; margin: 0.2rem 0;
  text-shadow: 0 2px 20px rgba(107,72,255,0.4);
}
.bs-hero-kabupaten {
  font-size: 1.1rem; font-weight: 700;
  color: rgba(200,168,75,0.95); margin: 0;
}
.bs-hero-full {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  line-height: 1.65; margin: 0;
}
.bs-br { display: none; }
.bs-hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.bs-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 600; padding: 0.38rem 0.9rem;
  border-radius: 99px; backdrop-filter: blur(8px);
}
.bs-chip i { width: 13px; height: 13px; }
.bs-chip-purple { background: rgba(107,72,255,0.2); border: 1px solid rgba(107,72,255,0.35); color: #C4B5FD; }
.bs-chip-teal   { background: rgba(0,194,203,0.15);  border: 1px solid rgba(0,194,203,0.3);  color: #67E8F9; }
.bs-chip-pink   { background: rgba(236,72,153,0.15); border: 1px solid rgba(236,72,153,0.3); color: #F9A8D4; }
.bs-chip-amber  { background: rgba(200,168,75,0.15); border: 1px solid rgba(200,168,75,0.3); color: #FDE68A; }
.bs-hero-wave { line-height: 0; margin-top: -1px; }
.bs-hero-wave svg { display: block; width: 100%; }

/* SECTIONS */
.bs-section { padding: 3.5rem 1.5rem; }
.bs-section-light { background: #F3F4FF; }
.bs-section-soft  { background: #EDEEFF; }
.bs-section-gradient {
  background: linear-gradient(135deg, #2D1B69 0%, #1A0A4A 50%, #0D2040 100%);
}
.bs-section-map { padding-bottom: 4rem; }
.bs-container { max-width: 900px; margin: 0 auto; }

/* Section label */
.bs-section-label {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.5rem;
}
.bs-label-light { color: rgba(255,255,255,0.5); }
.bs-label-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.bs-dot-purple { background: var(--primary); box-shadow: 0 0 6px rgba(107,72,255,0.6); }
.bs-dot-green  { background: var(--success); box-shadow: 0 0 6px rgba(16,185,129,0.6); }
.bs-dot-amber  { background: var(--warning); box-shadow: 0 0 6px rgba(245,158,11,0.6); }
.bs-dot-blue   { background: #3B82F6; box-shadow: 0 0 6px rgba(59,130,246,0.6); }
.bs-dot-white  { background: rgba(255,255,255,0.7); box-shadow: 0 0 6px rgba(255,255,255,0.3); }

/* IDENTITAS */
.bs-identitas-card {
  background: #fff; border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(107,72,255,0.07);
  overflow: hidden;
}
.bs-id-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.25rem;
  padding: 1rem 1.5rem; font-size: 0.875rem;
  border-bottom: 1px solid #EDEEFF;
  transition: background 0.15s;
}
.bs-id-row:hover { background: #F8F8FF; }
.bs-id-last { border-bottom: none; }
.bs-id-key { color: var(--text-muted); font-weight: 600; padding-top: 0.1rem; }
.bs-id-val { color: var(--text-body); line-height: 1.6; }

/* TUPOKSI */
.bs-tupoksi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.bs-tupoksi-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg); padding: 1.4rem 1.2rem;
  transition: all 0.25s; backdrop-filter: blur(8px);
}
.bs-tupoksi-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.bs-tp-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem;
}
.bs-tp-icon i { width: 20px; height: 20px; }
.bs-tp-purple { background: rgba(107,72,255,0.25); color: #C4B5FD; }
.bs-tp-teal   { background: rgba(0,194,203,0.2);   color: #67E8F9; }
.bs-tp-pink   { background: rgba(236,72,153,0.2);  color: #F9A8D4; }
.bs-tp-amber  { background: rgba(200,168,75,0.2);  color: #FDE68A; }
.bs-tp-green  { background: rgba(16,185,129,0.2);  color: #6EE7B7; }
.bs-tp-blue   { background: rgba(59,130,246,0.2);  color: #93C5FD; }
.bs-tupoksi-card h3 {
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 700;
  color: rgba(255,255,255,0.9); margin: 0 0 0.4rem;
}
.bs-tupoksi-card p {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  line-height: 1.55; margin: 0;
}

/* KABUPATEN */
.bs-kab-layout {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start;
}
.bs-kab-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.bs-kab-stat {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.35rem; padding: 1.25rem 1rem; border-radius: var(--r-lg);
  text-align: center; border: 1.5px solid transparent;
}
.bs-kab-stat i { width: 22px; height: 22px; margin-bottom: 0.2rem; }
.bs-kab-stat strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; }
.bs-kab-stat span { font-size: 0.72rem; color: var(--text-muted); }
.bs-stat-purple { background: rgba(107,72,255,0.07); border-color: rgba(107,72,255,0.15); color: var(--primary); }
.bs-stat-teal   { background: rgba(0,194,203,0.07);  border-color: rgba(0,194,203,0.15);  color: var(--secondary); }
.bs-stat-amber  { background: rgba(245,158,11,0.07); border-color: rgba(245,158,11,0.15); color: var(--warning); }
.bs-stat-green  { background: rgba(16,185,129,0.07); border-color: rgba(16,185,129,0.15); color: var(--success); }
.bs-kab-stat strong, .bs-kab-stat span { color: inherit; }
.bs-kab-stat span { color: var(--text-muted) !important; }
.bs-kab-desc { display: flex; flex-direction: column; gap: 0.85rem; }
.bs-kab-desc p { font-size: 0.885rem; color: var(--text-body); line-height: 1.75; margin: 0; }
.bs-kab-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.bs-kab-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(107,72,255,0.07); border: 1px solid rgba(107,72,255,0.18);
  color: var(--primary); font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.8rem; border-radius: 99px;
}
.bs-kab-tag i { width: 12px; height: 12px; }

/* KONTAK */
.bs-kontak-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.bs-kontak-card {
  background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(107,72,255,0.06);
  overflow: hidden; transition: all 0.22s;
}
.bs-kontak-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(107,72,255,0.12); }
.bs-kontak-top {
  padding: 1.1rem 1.1rem 0.85rem; display: flex; align-items: center; justify-content: center;
}
.bs-kontak-top i { width: 26px; height: 26px; }
.bs-kt-purple { background: linear-gradient(135deg, rgba(107,72,255,0.12), rgba(107,72,255,0.05)); color: var(--primary); }
.bs-kt-teal   { background: linear-gradient(135deg, rgba(0,194,203,0.12), rgba(0,194,203,0.05));  color: var(--secondary); }
.bs-kt-amber  { background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(245,158,11,0.05)); color: var(--warning); }
.bs-kt-green  { background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.05)); color: var(--success); }
.bs-kontak-body { padding: 0 1rem 1.1rem; text-align: center; }
.bs-kontak-body h4 { font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; color: var(--text-dark); margin: 0 0 0.3rem; }
.bs-kontak-body p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.bs-ext-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.78rem; font-weight: 600; color: var(--primary); text-decoration: none;
}
.bs-ext-link i { width: 11px; height: 11px; }
.bs-ext-link:hover { text-decoration: underline; }

/* MAP */
.bs-map-card {
  background: #fff; border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(107,72,255,0.07);
  overflow: hidden;
}
.bs-map-frame { position: relative; }
.bs-map-frame iframe { display: block; border-radius: 0; }
.bs-map-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border);
}
.bs-map-addr {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-muted); flex: 1; min-width: 0;
}
.bs-map-addr i { width: 15px; height: 15px; flex-shrink: 0; color: var(--primary); margin-top: 1px; }
.bs-map-btns { display: flex; gap: 0.65rem; flex-shrink: 0; }
.bs-btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--primary); color: #fff;
  font-size: 0.82rem; font-weight: 600;
  padding: 0.6rem 1.1rem; border-radius: var(--r-md);
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.bs-btn-primary i { width: 14px; height: 14px; }
.bs-btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.bs-btn-outline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
  font-size: 0.82rem; font-weight: 600;
  padding: 0.6rem 1.1rem; border-radius: var(--r-md);
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.bs-btn-outline i { width: 14px; height: 14px; }
.bs-btn-outline:hover { background: rgba(107,72,255,0.06); transform: translateY(-1px); }

/* BACK */
.bs-back-section {
  background: #F3F4FF; padding: 1.5rem 1.5rem 3.5rem;
  display: flex; justify-content: center;
}
.bs-back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.875rem; font-weight: 600;
  text-decoration: none; padding: 0.65rem 1.4rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  background: #fff; transition: all 0.2s;
}
.bs-back-link i { width: 15px; height: 15px; }
.bs-back-link:hover { color: var(--primary); border-color: var(--primary); box-shadow: 0 2px 10px rgba(107,72,255,0.12); }

/* ===== RESPONSIVE — BS PAGE ===== */
@media (max-width: 860px) {
  .bs-kontak-grid { grid-template-columns: repeat(2, 1fr); }
  .bs-tupoksi-grid { grid-template-columns: repeat(2, 1fr); }
  .bs-kab-layout { grid-template-columns: 1fr; }
  .bs-kab-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .bs-hero { padding: 6rem 1.25rem 0; }
  .bs-hero-logo-wrap { width: 90px; height: 90px; }
  .bs-hero-text h1 { font-size: 2.1rem; }
  .bs-hero-full br.bs-br { display: block; }
  .bs-section { padding: 2.5rem 1.1rem; }
  .bs-tupoksi-grid { grid-template-columns: 1fr; }
  .bs-kontak-grid { grid-template-columns: repeat(2, 1fr); }
  .bs-kab-stats { grid-template-columns: repeat(2, 1fr); }
  .bs-id-row { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.85rem 1rem; }
  .bs-id-key { font-size: 0.72rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
  .bs-map-footer { flex-direction: column; align-items: flex-start; }
  .bs-map-btns { width: 100%; }
  .bs-btn-primary, .bs-btn-outline { flex: 1; justify-content: center; }
}
@media (max-width: 400px) {
  .bs-kontak-grid { grid-template-columns: 1fr; }
  .bs-hero-chips { justify-content: center; }
}
