/* ==========================================================================
   PUSKESMAS MALIMPUNG — HEALTH HUB V2 DESIGN SYSTEM
   Arsitektur Visual: Editorial Healthcare + Premium Enterprise Platform
   Kepatuhan: Mobile-First, WCAG 2.2 AA, Zero Horizontal Overflow
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* SATUSEHAT Inspired Direction V3.1 Tokens */
  --teal-primary: #16A5A1;
  --teal-deep: #087D79;
  --lime-fresh: #BED62F;
  --aqua-soft: #E6F8F6;
  --blue-sky: #65C6E8;
  --white-clean: #FFFFFF;
  --ink-v3: #18383A;

  /* Brand Palette: Forest & Jade */
  --forest-950: #07221d;
  --forest-900: #0e3b33;
  --forest-850: #12473e;
  --forest-800: #17574c;
  --jade-700: #136f5c;
  --jade-600: #18856f;
  --jade-500: #1fa288;
  --jade-400: #2fc3a6;
  
  /* Tint & Surface Palette */
  --mint-100: #d9f4e9;
  --mint-50: #effaf4;
  --warm-100: #fff0d8;
  --warm-50: #fff9ef;
  --sky-100: #e3eaf8;
  --sky-50: #f2f6fc;
  
  /* Neutral Palette */
  --surface: #fbfdfc;
  --surface-alt: #f3f7f5;
  --surface-card: #ffffff;
  --ink: #112d27;
  --ink-secondary: #4a665f;
  --ink-tertiary: #75928a;
  --border: #dbe7e1;
  --border-light: #ecf3ef;
  
  /* Accent & Alert Palette */
  --amber-600: #c27803;
  --amber-50: #fffbeb;
  --blue-600: #1d4ed8;
  --blue-50: #eff6ff;
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  --rose-600: #e11d48;
  --rose-50: #fff1f2;

  /* Typography Stack */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(14, 59, 51, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(14, 59, 51, 0.08), 0 2px 6px -1px rgba(14, 59, 51, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(14, 59, 51, 0.1), 0 4px 12px -2px rgba(14, 59, 51, 0.05);
  --shadow-xl: 0 20px 32px -8px rgba(14, 59, 51, 0.14), 0 8px 16px -4px rgba(14, 59, 51, 0.06);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 180ms;
  --duration-normal: 280ms;
  --duration-slow: 400ms;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color: var(--ink);
  background-color: var(--surface);
  font-family: var(--font-sans);
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus Visible Utility for WCAG */
:focus-visible {
  outline: 2px solid var(--jade-600);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. LAYOUT & CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

@media (max-width: 767px) {
  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Section Header Styles */
.section-header {
  margin-bottom: 2.75rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--mint-100);
  color: var(--forest-900);
  margin-bottom: 0.75rem;
}

.tag-badge.warm {
  background-color: var(--warm-100);
  color: var(--amber-600);
}

.tag-badge.sky {
  background-color: var(--sky-100);
  color: var(--blue-600);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--forest-950);
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--jade-600);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. TOP BAR & SITE HEADER
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--forest-950);
  color: #d1ded9;
  font-size: 0.8125rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-right a {
  color: #a8c2ba;
  transition: color var(--duration-fast);
}

.topbar-right a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(251, 253, 252, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--duration-normal);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Official Logo Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background-color: var(--border);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--forest-950);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jade-600);
}

/* Nav Menu */
.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.nav-link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: all var(--duration-fast);
}

.nav-link:hover {
  color: var(--forest-900);
  background-color: var(--mint-50);
}

.nav-link.active {
  color: var(--forest-950);
  background-color: var(--mint-100);
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-office-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--forest-900), var(--forest-850));
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(14, 59, 51, 0.2);
  transition: all var(--duration-fast);
}

.btn-office-shortcut:hover {
  background: linear-gradient(135deg, var(--jade-700), var(--forest-900));
  box-shadow: 0 4px 12px rgba(14, 59, 51, 0.3);
  transform: translateY(-1px);
}

.btn-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--forest-950);
  background-color: var(--surface-alt);
  transition: background-color var(--duration-fast);
}

@media (min-width: 992px) {
  .btn-hamburger {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 34, 29, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  display: none;
  overflow: hidden;
  transition: opacity var(--duration-normal), visibility var(--duration-normal);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  display: block;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background-color: #ffffff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.mobile-nav-overlay.open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color var(--duration-fast);
}

.mobile-nav-link.active {
  background-color: var(--mint-100);
  color: var(--forest-950);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION V3.2: HUMAN-CENTERED EDITORIAL & SATUSEHAT ATMOSPHERE
   Prinsip: Terang, Bersih, Lapang, Bernapas Lega (White & Soft Aqua)
   -------------------------------------------------------------------------- */
.hero-v3-editorial {
  position: relative;
  background: radial-gradient(120% 120% at 85% 15%, rgba(230, 248, 246, 0.7) 0%, rgba(255, 255, 255, 0) 70%),
              linear-gradient(180deg, #ffffff 0%, #f4faf8 100%);
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-grid-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid-editorial {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

/* Kolom Kiri: Narasi Manfaat */
.hero-content-editorial {
  display: flex;
  flex-direction: column;
}

.hero-pill-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  background-color: var(--aqua-soft);
  border: 1px solid rgba(22, 165, 161, 0.3);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--teal-primary);
  box-shadow: 0 0 8px rgba(22, 165, 161, 0.6);
}

.hero-title-editorial {
  font-size: clamp(2.125rem, 4.4vw, 3.375rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--forest-950);
  margin-bottom: 1.25rem;
}

.hero-title-editorial em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--teal-deep);
}

.hero-lead-editorial {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions-editorial {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.btn-editorial-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  background-color: var(--teal-deep);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(8, 125, 121, 0.25);
  transition: all var(--duration-fast);
}

.btn-editorial-primary:hover {
  background-color: #066562;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 125, 121, 0.35);
}

.btn-editorial-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  background-color: #ffffff;
  color: var(--teal-deep);
  border: 1.5px solid var(--border);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast);
}

.btn-editorial-secondary:hover {
  background-color: var(--aqua-soft);
  border-color: var(--teal-primary);
  transform: translateY(-2px);
}

.hero-trust-editorial {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.trust-item-editorial {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.trust-item-editorial svg {
  color: var(--teal-primary);
}

/* Kolom Kanan: Visual Fotografi Asli & Floating Live Cards */
.hero-visual-editorial {
  position: relative;
  width: 100%;
  padding: 1rem 0;
}

.hero-photo-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(8, 125, 121, 0.18);
  border: 4px solid #ffffff;
  background-color: var(--surface-alt);
}

.hero-main-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.photo-overlay-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(7, 34, 29, 0.3) 100%);
  pointer-events: none;
}

/* Floating Live Cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(8, 125, 121, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.625rem 1rem;
  box-shadow: 0 12px 32px rgba(8, 125, 121, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: floatSubtle 4s ease-in-out infinite;
}

.hero-float-card.card-status {
  bottom: -14px;
  left: -14px;
}

.hero-float-card.card-ckg {
  top: -14px;
  right: -14px;
  animation-delay: 2s;
}

.float-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--emerald-600);
  box-shadow: 0 0 10px var(--emerald-600);
  flex-shrink: 0;
}

.float-icon-ckg {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background-color: var(--teal-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 900;
  flex-shrink: 0;
}

.float-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--forest-950);
  line-height: 1.2;
}

.float-subtitle {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--teal-deep);
}

/* Responsivitas Layar Mobile (< 768px) */
@media (max-width: 767px) {
  .hero-v3-editorial {
    padding-top: 4.25rem;
    padding-bottom: 3.5rem;
  }

  .hero-visual-editorial {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
  }

  .hero-photo-frame {
    border-radius: 20px;
    border-width: 3px;
  }

  .hero-float-card {
    position: static;
    width: 100%;
    box-sizing: border-box;
    animation: none;
  }
}


/* --------------------------------------------------------------------------
   6. QUICK ACTIONS BENTO GRID
   -------------------------------------------------------------------------- */
.quick-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .quick-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quick-bento {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bento-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-fast);
  text-decoration: none;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--jade-500);
}

.bento-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background-color: var(--mint-100);
  color: var(--forest-900);
}

.bento-card.warm .bento-icon-wrap {
  background-color: var(--warm-100);
  color: var(--amber-600);
}

.bento-card.sky .bento-icon-wrap {
  background-color: var(--sky-100);
  color: var(--blue-600);
}

.bento-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 0.375rem;
}

.bento-desc {
  font-size: 0.875rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.bento-action {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--jade-700);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* --------------------------------------------------------------------------
   7. DARK IMMERSIVE HEALTH FEATURE
   -------------------------------------------------------------------------- */
.feature-dark {
  background: linear-gradient(180deg, var(--forest-950) 0%, var(--forest-900) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.feature-dark-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .feature-dark-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-dark .section-title {
  color: #ffffff;
}

.feature-dark .section-title em {
  color: var(--mint-200);
}

.feature-dark .section-desc {
  color: #b3cdc4;
}

.insight-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.insight-metric-item {
  border-left: 2px solid var(--jade-500);
  padding-left: 0.875rem;
}

.insight-metric-item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

.insight-metric-item span {
  font-size: 0.75rem;
  color: #92b5a9;
}

.card-terminal {
  background-color: rgba(6, 30, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.terminal-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* --------------------------------------------------------------------------
   8. PROGRAM MOSAIC & CARDS
   -------------------------------------------------------------------------- */
.program-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .program-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .program-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
}

.program-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-fast);
}

.program-card:hover {
  border-color: var(--jade-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.program-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jade-700);
  margin-bottom: 0.5rem;
}

.program-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest-950);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.program-desc {
  font-size: 0.875rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-tertiary);
}

/* --------------------------------------------------------------------------
   9. ECOSYSTEM & CONSTELLATION SECTION
   -------------------------------------------------------------------------- */
.eco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .eco-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .eco-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.eco-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.eco-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--mint-50);
  color: var(--jade-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eco-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 0.25rem;
}

.eco-info p {
  font-size: 0.8125rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. SEARCH, FILTER & CATALOG LAYANAN
   -------------------------------------------------------------------------- */
.catalog-toolbar {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.search-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 1rem 0 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background-color: var(--surface-alt);
  font-size: 0.9375rem;
  color: var(--ink);
  transition: all var(--duration-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--jade-600);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(24, 133, 111, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-tertiary);
  pointer-events: none;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.chip {
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: var(--surface-alt);
  color: var(--ink-secondary);
  border: 1px solid var(--border-light);
  transition: all var(--duration-fast);
}

.chip:hover {
  background-color: var(--mint-50);
  color: var(--forest-900);
}

.chip.active {
  background-color: var(--forest-900);
  color: #ffffff;
  border-color: var(--forest-900);
}

.catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

/* Service Grid & Cards */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-fast);
}

.service-card:hover {
  border-color: var(--jade-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-top {
  margin-bottom: 1.25rem;
}

.service-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--mint-50);
  color: var(--jade-700);
  margin-bottom: 0.75rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest-950);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.service-summary {
  font-size: 0.875rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-tertiary);
}

.service-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.btn-detail {
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--surface-alt);
  color: var(--forest-900);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  transition: all var(--duration-fast);
}

.btn-detail:hover {
  background-color: var(--forest-900);
  color: #ffffff;
  border-color: var(--forest-900);
}

/* Modal Detail Layanan */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 34, 29, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal), visibility var(--duration-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform var(--duration-normal) var(--ease-out);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--ink-secondary);
  transition: background-color var(--duration-fast);
}

.modal-close:hover {
  background-color: var(--border);
  color: var(--ink);
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detail-section-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jade-700);
  margin-bottom: 0.375rem;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.detail-table tr {
  border-bottom: 1px solid var(--border-light);
}

.detail-table td {
  padding: 0.75rem 0.5rem;
}

.detail-table td:first-child {
  font-weight: 700;
  color: var(--forest-950);
  width: 35%;
}

.detail-table td:last-child {
  color: var(--ink-secondary);
}

/* --------------------------------------------------------------------------
   11. HEALTH INTELLIGENCE (KESEHATAN WILAYAH)
   -------------------------------------------------------------------------- */
.intelligence-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.topic-btn {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  background-color: #ffffff;
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  transition: all var(--duration-fast);
}

.topic-btn:hover {
  border-color: var(--jade-500);
  color: var(--forest-900);
}

.topic-btn.active {
  background-color: var(--forest-900);
  color: #ffffff;
  border-color: var(--forest-900);
}

.data-integrity-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.integrity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.integrity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background-color: var(--amber-50);
  color: var(--amber-600);
  border: 1px solid rgba(194, 120, 3, 0.2);
}

.integrity-badge.verified {
  background-color: var(--emerald-50);
  color: var(--emerald-600);
  border-color: rgba(5, 150, 105, 0.2);
}

.kpi-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .kpi-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kpi-stat-item {
  background-color: var(--surface-alt);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.kpi-stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--forest-950);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.kpi-stat-item span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.kpi-stat-item small {
  display: block;
  font-size: 0.6875rem;
  color: var(--ink-tertiary);
  margin-top: 0.5rem;
}

/* Methodological Sidecar */
.methodology-box {
  background-color: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.methodology-box h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Map & Territory Grid */
.territory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .territory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .territory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.village-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.village-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 0.25rem;
}

.village-facility {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--jade-600);
  margin-bottom: 0.75rem;
}

.village-meta {
  font-size: 0.75rem;
  color: var(--ink-tertiary);
}

/* --------------------------------------------------------------------------
   12. INFORMASI PUBLIK (HUB TRANSPARANSI)
   -------------------------------------------------------------------------- */
.public-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.public-tab-btn {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-secondary);
  transition: all var(--duration-fast);
}

.public-tab-btn:hover {
  color: var(--forest-900);
  background-color: var(--mint-50);
}

.public-tab-btn.active {
  background-color: var(--mint-100);
  color: var(--forest-950);
}

.transparency-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.transparency-card h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--forest-950);
  margin-bottom: 1rem;
}

.doc-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background-color: var(--surface-alt);
  transition: border-color var(--duration-fast);
}

.doc-download-item:hover {
  border-color: var(--jade-500);
}

.doc-meta h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 0.2rem;
}

.doc-meta span {
  font-size: 0.75rem;
  color: var(--ink-tertiary);
}

/* --------------------------------------------------------------------------
   13. SMART VIRTUAL OFFICE & CMS STUDIO
   -------------------------------------------------------------------------- */
.office-shell {
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.office-topbar {
  background-color: var(--forest-950);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.office-user-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jade-500), var(--forest-800));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  font-size: 0.875rem;
}

.user-role-select {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.user-role-select option {
  background-color: var(--forest-950);
  color: #ffffff;
}

.office-nav-tabs {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  overflow-x: auto;
  padding: 0 1rem;
  gap: 0.5rem;
}

.office-tab-item {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-secondary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--duration-fast);
}

.office-tab-item:hover {
  color: var(--forest-900);
}

.office-tab-item.active {
  color: var(--forest-950);
  border-bottom-color: var(--jade-600);
}

.office-content {
  padding: 1.5rem;
}

/* CMS Editor Form Styles */
.cms-panel {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 0.375rem;
}

.form-control {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  background-color: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--jade-600);
  box-shadow: 0 0 0 2px rgba(24, 133, 111, 0.15);
}

.btn-cms-publish {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--jade-600);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background-color var(--duration-fast);
}

.btn-cms-publish:hover {
  background-color: var(--jade-700);
}

/* --------------------------------------------------------------------------
   14. FOOTER INSTITUSIONAL LENGKAP
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--forest-950);
  color: #c9dbd5;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #9abdb2;
  margin-bottom: 1.25rem;
}

.footer-col h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.8125rem;
}

.footer-links a {
  color: #9abdb2;
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: #799d93;
}

/* --------------------------------------------------------------------------
   15. UTILITIES & ANIMATIONS
   -------------------------------------------------------------------------- */
.page {
  display: none;
}

.page.active {
  display: block;
}

.fade-in {
  animation: fadeIn var(--duration-normal) var(--ease-out) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--forest-950);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   16. ACTIVITY GALLERY & COMMUNITY HEALTH
   -------------------------------------------------------------------------- */
.activity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .activity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.activity-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-fast);
}

.activity-card:hover {
  transform: translateY(-3px);
  border-color: var(--jade-600);
  box-shadow: var(--shadow-md);
}

.activity-badge-bar {
  padding: 1.25rem 1.25rem 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.activity-body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.activity-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--forest-950);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.activity-desc {
  font-size: 0.8125rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.activity-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-tertiary);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   17. STRONG CLOSING CTA
   -------------------------------------------------------------------------- */
.closing-cta {
  background: radial-gradient(circle at 100% 0%, rgba(24, 133, 111, 0.15) 0%, transparent 50%),
              linear-gradient(135deg, var(--forest-900) 0%, var(--forest-950) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.closing-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.closing-cta h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mint-200);
}

.closing-cta p {
  font-size: 1.0625rem;
  color: #b3cdc4;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.closing-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   18. SURVEI KEPUASAN MASYARAKAT (SKM)
   -------------------------------------------------------------------------- */
.skm-score-card {
  background: linear-gradient(135deg, var(--mint-50), #ffffff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skm-score-val {
  font-size: 3rem;
  font-weight: 800;
  color: var(--forest-950);
  line-height: 1;
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE TABLE & EXTREME CONSTRAINT (320px - 360px) UTILITIES
   -------------------------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  word-break: break-word;
}

.detail-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.detail-table td, .detail-table th {
  padding: 0.625rem 0.5rem;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.detail-table td:first-child {
  width: 35%;
  font-weight: 700;
  color: var(--forest-950);
}

.transparency-card, .program-card, .service-card, .bento-card, .hero-visual-card {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 480px) {
  .detail-table td {
    display: block;
    width: 100% !important;
    padding: 0.25rem 0;
  }
  .detail-table tr {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn-primary, .hero-actions .btn-secondary {
    width: 100%;
  }
  .hero-metrics-grid {
    grid-template-columns: 1fr;
  }
  .insight-metrics-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   20. MASTER TECHNICAL DIRECTION V3.2 DESIGN SPECIFICATIONS
   Tone: SATUSEHAT (Teal, Lime, White, Soft Aqua)
   Experience: Mekari (Organic storytelling, depth, distinct rhythm)
   Identity: Puskesmas Malimpung, Kabupaten Pinrang
   ========================================================================== */

/* --------------------------------------------------------------------------
   20.1 TOPBAR & HEADER MASTER V3.2
   -------------------------------------------------------------------------- */
.topbar {
  background-color: #084236;
  color: #ffffff;
  padding: 0.4rem 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #e2f3ee;
}

.topbar-badge-icon {
  height: 18px;
  width: auto;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-link {
  color: #d1ede4;
  text-decoration: none;
  transition: color var(--duration-fast);
}

.topbar-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.topbar-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.625rem;
}

/* Header V3.2 */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(14, 59, 51, 0.04);
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo-img {
  height: 42px;
  width: auto;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background-color: var(--border);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--forest-950);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.01em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-search-trigger {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.btn-search-trigger:hover {
  background-color: var(--aqua-soft);
  color: var(--teal-deep);
  border-color: var(--teal-primary);
}

.btn-contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: var(--teal-deep);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--duration-fast);
  box-shadow: 0 4px 12px rgba(8, 125, 121, 0.2);
}

.btn-contact-pill:hover {
  background-color: #066562;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(8, 125, 121, 0.3);
}

@media (max-width: 768px) {
  .btn-contact-pill {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-subtitle {
    display: none;
  }
  .brand-title {
    font-size: 0.875rem;
  }
  .brand-logo-img {
    height: 32px;
  }
}

@media (max-width: 360px) {
  .btn-search-trigger {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--teal-deep);
  background-color: var(--aqua-soft);
}

.nav-arrow {
  color: var(--ink-tertiary);
  font-size: 1.125rem;
}

.mobile-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.btn-drawer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--teal-deep);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  margin-bottom: 1rem;
}

.drawer-socials {
  text-align: center;
}

.drawer-social-title {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-tertiary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.drawer-social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.drawer-social-icons a {
  color: var(--ink-secondary);
  transition: color var(--duration-fast);
}

.drawer-social-icons a:hover {
  color: var(--teal-deep);
}

/* --------------------------------------------------------------------------
   20.2 HERO MASTER V3.2
   -------------------------------------------------------------------------- */
.hero-v3-master {
  background: radial-gradient(100% 100% at 80% 20%, rgba(230, 248, 246, 0.6) 0%, rgba(255, 255, 255, 0) 65%),
              linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-master-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-master-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-master-kicker {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-master-title {
  font-size: clamp(2.25rem, 4.4vw, 3.625rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #18383A;
  margin-bottom: 1.25rem;
}

.hero-title-highlight {
  color: var(--teal-deep);
}

.hero-master-desc {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-master-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-hero-master-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-md);
  background-color: var(--teal-deep);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(8, 125, 121, 0.25);
  transition: all var(--duration-fast);
}

.btn-hero-master-primary:hover {
  background-color: #066562;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 125, 121, 0.35);
}

.btn-hero-master-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--ink);
  border: 1.5px solid var(--border);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast);
}

.btn-hero-master-secondary:hover {
  background-color: var(--aqua-soft);
  border-color: var(--teal-primary);
  color: var(--teal-deep);
  transform: translateY(-2px);
}

/* Kolom Kanan Visual */
.hero-master-visual {
  position: relative;
  width: 100%;
}

.hero-master-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(8, 125, 121, 0.12);
  border: 4px solid #ffffff;
  background-color: var(--surface-alt);
}

.hero-master-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero-curve-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(22, 165, 161, 0.95), rgba(8, 125, 121, 0.98));
  color: #ffffff;
  padding: 0.625rem 1.25rem;
  border-top-left-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: -4px -4px 16px rgba(8, 125, 121, 0.15);
}

.hero-script-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   20.3 STRIP 3 FAKTA STRUKTUR WILAYAH
   -------------------------------------------------------------------------- */
.hero-facts-strip {
  margin-top: 2.5rem;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 4px 16px rgba(14, 59, 51, 0.05);
}

.fact-card-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--aqua-soft);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fact-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest-950);
  display: block;
  line-height: 1.2;
}

.fact-label {
  font-size: 0.8125rem;
  color: var(--ink-tertiary);
  display: block;
}

.fact-card-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-light);
}

@media (max-width: 767px) {
  .hero-facts-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }
  .fact-card-divider {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   20.4 5 PILAR AKSES CEPAT
   -------------------------------------------------------------------------- */
.section-pillars {
  padding: 3rem 0;
  background-color: var(--surface-alt);
  border-bottom: 1px solid var(--border-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .pillars-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pillar-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 59, 51, 0.08);
  border-color: var(--teal-primary);
}

.pillar-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--aqua-soft);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.pillar-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #18383A;
  margin-bottom: 0.35rem;
}

.pillar-desc {
  font-size: 0.75rem;
  color: var(--ink-secondary);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   20.5 LAYANAN UNGGULAN
   -------------------------------------------------------------------------- */
.section-featured-services {
  padding: 3.5rem 0;
  background-color: #ffffff;
}

.section-head-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title-master {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #18383A;
  line-height: 1.2;
}

.section-subtitle-master {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  margin-top: 0.25rem;
}

.link-master-see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
  transition: gap var(--duration-fast);
}

.link-master-see-all:hover {
  color: #066562;
  gap: 0.5rem;
}

.featured-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .featured-services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.featured-svc-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.featured-svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14, 59, 51, 0.08);
  border-color: var(--teal-primary);
}

.featured-svc-img-frame {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--surface-alt);
}

.featured-svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-svc-card:hover .featured-svc-img {
  transform: scale(1.05);
}

.featured-svc-body {
  padding: 0.875rem 1rem;
  text-align: center;
}

.featured-svc-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: #18383A;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   20.6 BERITA & INFORMASI FEED
   -------------------------------------------------------------------------- */
.section-news-feed {
  padding: 3.5rem 0;
  background-color: var(--surface-alt);
  border-top: 1px solid var(--border-light);
}

.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .news-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.news-feed-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.news-feed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14, 59, 51, 0.08);
  border-color: var(--teal-primary);
}

.news-feed-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--surface-alt);
}

.news-feed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-feed-card:hover .news-feed-img {
  transform: scale(1.04);
}

.news-feed-content {
  padding: 1rem 1.125rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-feed-date {
  font-size: 0.75rem;
  color: var(--ink-tertiary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.375rem;
}

.news-feed-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #18383A;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   20.7 SECTION KOMPOSIT: HEALTH ATLAS & KANTOR VIRTUAL
   -------------------------------------------------------------------------- */
.section-composite-bottom {
  padding: 3.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.composite-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .composite-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Sisi Kiri: Health Atlas */
.atlas-composite-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.atlas-composite-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #18383A;
  margin-bottom: 0.25rem;
}

.atlas-composite-desc {
  font-size: 0.875rem;
  color: var(--ink-secondary);
  margin-bottom: 1.25rem;
}

.btn-atlas-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: var(--teal-deep);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--duration-fast);
}

.btn-atlas-action:hover {
  background-color: #066562;
  transform: translateY(-1px);
}

.atlas-map-box {
  margin-top: 1.5rem;
  background-color: #f0f9f8;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(8, 125, 121, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.atlas-svg-map {
  width: 100%;
  height: auto;
  max-height: 240px;
}

.map-poly {
  transition: filter 0.2s ease;
  cursor: pointer;
}

.map-poly:hover {
  filter: brightness(1.08);
}

/* Sisi Kanan: Wilayah Kerja & Smart Virtual Office (Kotak Toska Gelap) */
.virtual-office-composite-card {
  background: linear-gradient(145deg, #093f35 0%, #052620 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(5, 38, 32, 0.2);
  display: flex;
  flex-direction: column;
}

.region-block-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.region-numbers-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.region-num-item {
  display: flex;
  flex-direction: column;
}

.region-num-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--lime-fresh);
  line-height: 1;
}

.region-num-lbl {
  font-size: 0.75rem;
  color: #a5cec3;
  margin-top: 0.25rem;
}

.region-names-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: #e2f3ee;
}

.list-bullet {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal-primary);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.composite-divider-line {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  margin: 1.5rem 0;
}

.launcher-block-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
}

.launcher-block-sub {
  font-size: 0.8125rem;
  color: #a5cec3;
  margin-bottom: 1rem;
}

.launcher-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.launcher-app-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 0.875rem;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  transition: background-color var(--duration-fast), border-color var(--duration-fast);
}

.launcher-app-item:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.launcher-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.launcher-app-name {
  font-size: 0.875rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.launcher-app-url {
  font-size: 0.75rem;
  color: #a5cec3;
  display: block;
}

/* --------------------------------------------------------------------------
   20.8 HALAMAN BERITA & INFORMASI (#page-news)
   -------------------------------------------------------------------------- */
.news-hero-banner {
  background: linear-gradient(135deg, #093f35 0%, #062b24 100%);
  color: #ffffff;
  padding: 3rem 0 3.5rem;
}

.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #a5cec3;
  margin-bottom: 1rem;
}

.news-breadcrumb a {
  color: #d1ede4;
  text-decoration: none;
}

.news-breadcrumb a:hover {
  text-decoration: underline;
}

.news-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.news-hero-sub {
  font-size: 1rem;
  color: #cde6de;
  max-width: 600px;
}

.news-catalog-section {
  padding: 3rem 0;
  background-color: var(--surface);
}

.news-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .news-layout-grid {
    grid-template-columns: 1fr 340px;
  }
}

.news-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.news-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--ink-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.news-pill:hover, .news-pill.active {
  background-color: var(--teal-deep);
  color: #ffffff;
  border-color: var(--teal-deep);
}

.news-search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
  margin-bottom: 2rem;
}

.news-search-bar input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.875rem;
  color: var(--ink);
}

.news-feed-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

@media (min-width: 640px) {
  .news-item-card {
    grid-template-columns: 240px 1fr;
  }
}

.news-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 59, 51, 0.06);
  border-color: var(--teal-primary);
}

.news-item-thumb {
  width: 100%;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  background-color: var(--surface-alt);
}

.news-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item-card:hover .news-item-img {
  transform: scale(1.05);
}

.news-item-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.news-badge-cat {
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--aqua-soft);
  color: var(--teal-deep);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-badge-cat.warm {
  background-color: var(--warm-100);
  color: var(--amber-600);
}

.news-badge-cat.sky {
  background-color: var(--sky-100);
  color: var(--blue-600);
}

.news-item-date {
  font-size: 0.75rem;
  color: var(--ink-tertiary);
}

.news-item-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #18383A;
  line-height: 1.35;
  margin-bottom: 0.625rem;
}

.news-item-excerpt {
  font-size: 0.8125rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-read-more {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.page-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.page-num:hover, .page-num.active {
  background-color: var(--teal-deep);
  color: #ffffff;
  border-color: var(--teal-deep);
}

/* Sidebar Widgets */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.widget-title {
  font-size: 1rem;
  font-weight: 800;
  color: #18383A;
  margin-bottom: 1.125rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border-light);
}

.widget-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.widget-cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--ink-secondary);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--duration-fast), color var(--duration-fast);
}

.widget-cat-item:hover, .widget-cat-item.active {
  color: var(--teal-deep);
  background-color: var(--aqua-soft);
  font-weight: 700;
}

.cat-count {
  font-size: 0.75rem;
  color: var(--ink-tertiary);
}

.widget-popular-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-item {
  display: flex;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
}

.popular-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.popular-date {
  font-size: 0.6875rem;
  color: var(--ink-tertiary);
  display: block;
}

.popular-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #18383A;
  line-height: 1.35;
  margin-top: 0.2rem;
}

.popular-item:hover .popular-title {
  color: var(--teal-deep);
}

.widget-download-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-doc-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: var(--surface-alt);
  text-decoration: none;
  color: inherit;
  transition: all var(--duration-fast);
}

.download-doc-card:hover {
  background-color: var(--aqua-soft);
  border-color: var(--teal-primary);
}

.doc-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #ffffff;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.doc-file-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #18383A;
}

.doc-file-size {
  display: block;
  font-size: 0.6875rem;
  color: var(--ink-tertiary);
}

/* --------------------------------------------------------------------------
   20.9 FOOTER RESMI MASTER V3.2
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #062b24;
  color: #ffffff;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2.5rem;
}

.footer-top-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logos-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-img {
  height: 38px;
  width: auto;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-inst-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-inst-sub {
  font-size: 0.75rem;
  color: #a5cec3;
}

.footer-top-address p {
  font-size: 0.875rem;
  color: #cde6de;
  max-width: 440px;
}

.footer-grid-master {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .footer-grid-master {
    grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  }
}

.footer-heading-m {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.125rem;
  letter-spacing: 0.02em;
}

.footer-links-m {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links-m a {
  color: #cde6de;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color var(--duration-fast);
}

.footer-links-m a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social-icons {
  display: flex;
  gap: 0.875rem;
}

.footer-soc-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: background-color var(--duration-fast);
}

.footer-soc-link:hover {
  background-color: var(--teal-primary);
}

.berakhlak-logo-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.625rem;
  max-width: 260px;
  transition: transform var(--duration-fast), border-color var(--duration-fast);
}

.berakhlak-logo-card picture {
  display: block;
  width: 100%;
}

.berakhlak-logo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-berakhlak-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 8px;
  display: block;
}

.berakhlak-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
}

.berakhlak-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.berakhlak-sub {
  font-size: 0.75rem;
  color: var(--lime-fresh);
  font-weight: 600;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #8fb9ad;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom-links a {
  color: #8fb9ad;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   21. MASTER TECHNICAL DIRECTION V3.2 — HOMEPAGE 12 SECTIONS STYLING
   ========================================================================== */

/* --------------------------------------------------------------------------
   21.1 SECTION 3: AKSES CEPAT WARGA
   -------------------------------------------------------------------------- */
.section-quick-access {
  padding: 3.5rem 0 2.5rem;
  background-color: var(--surface);
}

.quick-access-header {
  margin-bottom: 2rem;
}

.quick-access-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-primary);
  display: block;
  margin-bottom: 0.35rem;
}

.quick-access-title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #18383A;
  line-height: 1.2;
}

.quick-access-subtitle {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  margin-top: 0.35rem;
  max-width: 680px;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

@media (min-width: 1200px) {
  .quick-access-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

.quick-card-item {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink-primary);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast), border-color var(--duration-fast);
}

.quick-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 59, 51, 0.06);
  border-color: var(--teal-primary);
}

.quick-card-highlight {
  border-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.quick-card-highlight:hover {
  border-color: #059669;
}

.quick-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ic-teal { background-color: #e6f7f5; color: #087d79; }
.ic-blue { background-color: #eff6ff; color: #2563eb; }
.ic-lime { background-color: #f7fee7; color: #65a30d; }
.ic-emerald { background-color: #ecfdf5; color: #059669; }
.ic-amber { background-color: #fffbeb; color: #d97706; }
.ic-rose { background-color: #fff1f2; color: #e11d48; }
.ic-indigo { background-color: #eef2ff; color: #4f46e5; }

.quick-card-info {
  flex: 1;
  min-width: 0;
}

.quick-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-ext-badge {
  font-size: 0.625rem;
  font-weight: 800;
  background-color: #d1fae5;
  color: #065f46;
  padding: 1px 6px;
  border-radius: 4px;
}

.quick-card-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #18383A;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.quick-card-desc {
  font-size: 0.75rem;
  color: var(--ink-secondary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.quick-card-arrow {
  font-size: 1rem;
  color: var(--ink-tertiary);
  font-weight: 700;
  transition: transform var(--duration-fast), color var(--duration-fast);
  flex-shrink: 0;
}

.quick-card-item:hover .quick-card-arrow {
  transform: translateX(3px);
  color: var(--teal-primary);
}

/* --------------------------------------------------------------------------
   21.2 SECTION 5: PROGRAM SIKLUS HIDUP ILP
   -------------------------------------------------------------------------- */
.section-life-stage-programs {
  padding: 3.5rem 0;
  background-color: var(--surface-alt);
  border-top: 1px solid var(--border-light);
}

.section-kicker-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-primary);
  display: block;
  margin-bottom: 0.35rem;
}

.tag-edu {
  color: #2563eb;
}

.lifestage-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 1200px) {
  .lifestage-cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.lifestage-item-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.lifestage-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14, 59, 51, 0.08);
  border-color: var(--teal-primary);
}

.lifestage-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.klaster-ibu { background-color: #ffe4e6; color: #be123c; }
.klaster-anak { background-color: #fef3c7; color: #b45309; }
.klaster-remaja { background-color: #ede9fe; color: #6d28d9; }
.klaster-dewasa { background-color: #dbeafe; color: #1d4ed8; }
.klaster-lansia { background-color: #e0e7ff; color: #3730a3; }

.lifestage-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #f0fdf4;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
}

.lifestage-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #18383A;
  margin-bottom: 0.35rem;
}

.lifestage-desc {
  font-size: 0.8125rem;
  color: var(--ink-secondary);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.lifestage-features {
  list-style: none;
  font-size: 0.75rem;
  color: var(--ink-primary);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lifestage-features li::before {
  content: "•";
  color: var(--teal-primary);
  font-weight: bold;
  display: inline-block;
  width: 0.75rem;
}

/* --------------------------------------------------------------------------
   21.3 SECTION 9: ARTIKEL & EDUKASI KESEHATAN (TERPISAH DARI BERITA)
   -------------------------------------------------------------------------- */
.section-articles-feed {
  padding: 3.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.articles-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .articles-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.article-edu-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast), border-color var(--duration-fast);
}

.article-edu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14, 59, 51, 0.08);
  border-color: #2563eb;
  background-color: #ffffff;
}

.article-edu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.article-category-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.cat-gizi { background-color: #fef3c7; color: #92400e; }
.cat-ptm { background-color: #fee2e2; color: #991b1b; }
.cat-imun { background-color: #e0f2fe; color: #075985; }
.cat-gigi { background-color: #ecfdf5; color: #065f46; }

.article-read-time {
  font-size: 0.6875rem;
  color: var(--ink-tertiary);
  font-weight: 600;
}

.article-edu-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #18383A;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.article-edu-excerpt {
  font-size: 0.8125rem;
  color: var(--ink-secondary);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.article-reviewer-bar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}

.reviewer-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #dbeafe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-meta {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #18383A;
  line-height: 1.2;
}

.review-date {
  font-size: 0.625rem;
  color: var(--ink-tertiary);
}

/* --------------------------------------------------------------------------
   21.4 SECTION 10: PROFIL & AKTIVITAS PUSKESMAS
   -------------------------------------------------------------------------- */
.section-profile-highlight {
  padding: 3.5rem 0;
  background-color: var(--surface-alt);
  border-top: 1px solid var(--border-light);
}

.profile-highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .profile-highlight-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.profile-highlight-lead {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.profile-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.profile-val-box {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.profile-val-box strong {
  font-size: 0.9375rem;
  color: var(--teal-deep);
  font-weight: 800;
}

.profile-val-box span {
  font-size: 0.75rem;
  color: var(--ink-secondary);
  line-height: 1.35;
}

.btn-profile-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background-color: var(--teal-deep);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--duration-fast);
}

.btn-profile-primary:hover {
  background-color: #066562;
  transform: translateY(-1px);
}

.profile-facilities-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.facilities-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #18383A;
  margin-bottom: 1rem;
}

.facilities-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--ink-primary);
  margin-bottom: 1.25rem;
}

.facility-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  margin-right: 0.5rem;
}

.facility-address-note {
  font-size: 0.75rem;
  color: var(--ink-tertiary);
  line-height: 1.4;
  border-top: 1px dashed var(--border);
  padding-top: 0.875rem;
}

/* --------------------------------------------------------------------------
   21.5 SECTION 11: INFORMASI PUBLIK & AKUNTABILITAS
   -------------------------------------------------------------------------- */
.section-public-transparency {
  padding: 3.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.transparency-banner {
  background: linear-gradient(135deg, #093f35 0%, #062b24 100%);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem);
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 12px 32px rgba(5, 38, 32, 0.15);
  box-sizing: border-box;
  width: 100%;
}

.transparency-left {
  flex: 1 1 240px;
  min-width: 0;
}

.transparency-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime-fresh);
  display: block;
  margin-bottom: 0.35rem;
}

.transparency-title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.transparency-desc {
  font-size: 0.875rem;
  color: #cde6de;
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 1.25rem;
}

.transparency-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trans-badge-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.trans-val {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--lime-fresh);
}

.trans-lbl {
  font-size: 0.75rem;
  color: #a5cec3;
  max-width: 180px;
  line-height: 1.25;
}

.transparency-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
  max-width: 320px;
}

.btn-transparency-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--teal-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--duration-fast);
}

.btn-transparency-action:hover {
  background-color: #2ea89a;
  transform: translateY(-1px);
}

.btn-trans-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-trans-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}



