/* ==========================================================
   Polres Musi Banyuasin — Clean Luxury Government Theme
   ========================================================== */

:root {
  --navy: #0f172a;
  --navy-2: #111c33;
  --navy-3: #1a2744;
  --white: #ffffff;
  --off: #fafaf7;
  --gray-50: #f6f6f3;
  --gray-100: #eeeeea;
  --gray-200: #e2e2dd;
  --gray-400: #a8a8a0;
  --gray-600: #5f6168;
  --gray-700: #3d4048;
  --gold: #c9a96e;
  --gold-soft: #dcc48a;
  --gold-deep: #a88948;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08), 0 8px 16px rgba(15, 23, 42, 0.04);
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.section-eyebrow.light { color: var(--gold-soft); }

.eyebrow-line { width: 36px; height: 1px; background: var(--gold); }

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  margin-top: 14px;
  letter-spacing: -0.015em;
}
.section-title.light { color: var(--white); }

.gold-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 18px 0 22px;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin-top: 8px; }
.section-header.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}

.section { padding: 120px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.75rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(201, 169, 110, 0.25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.4);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(15,23,42,0.2);
}
.btn-ghost-dark:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Top Strip */
.top-strip {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  padding: 10px 0;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(201,169,110,0.15);
}
.top-strip-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.top-strip .divider { margin: 0 12px; color: rgba(255,255,255,0.25); }
.top-strip a:hover { color: var(--gold); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-100);
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,0.98);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-emblem {
  width: 48px; height: 48px;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background-image: url('/img/LOGO_BARU123.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.brand-emblem svg { display: none; }
.brand-emblem img { width: 100%; height: 100%; object-fit: contain; }
.brand-emblem.gold { color: var(--gold); }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand-subtitle {
  font-size: 0.7rem;
  color: var(--gray-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav ul { display: flex; gap: 38px; }
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--navy);
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    url("/img/BACKGROUND123.jpg") center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
  z-index: -2;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.72) 50%, rgba(15,23,42,0.88) 100%);
  z-index: -1;
}
.hero-inner {
  padding: 140px 32px;
  max-width: 1000px;
}
.hero .eyebrow { color: var(--gold-soft); margin-bottom: 28px; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title em { color: var(--gold); font-weight: 500; }
.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-meta {
  display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(201,169,110,0.2);
}
.hero-meta-item { display: flex; flex-direction: column; }
.meta-num {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.meta-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}
.hero-meta-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 12px;
}
.scroll-indicator span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0%, 100% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 10px); }
}

/* Sambutan */
.sambutan { background: var(--off); }
.sambutan-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 96px;
  align-items: center;
}
.sambutan-image { position: relative; }
.portrait {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.portrait img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.portrait:hover img { transform: scale(1.04); }
.portrait-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid var(--gold);
  pointer-events: none;
  opacity: 0.6;
}
.portrait-caption {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}
.caption-rank {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.portrait-caption h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; }
.portrait-caption p { font-size: 0.875rem; color: var(--gray-600); }

.sambutan-content p { margin-bottom: 18px; }
.sambutan-content .lead {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  margin: 24px 0;
}
.signature {
  margin-top: 36px;
  display: flex; align-items: center; gap: 16px;
}
.sig-line { width: 60px; height: 1px; background: var(--gold); }
.sig-name { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--navy); }

/* Services */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 42px 36px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: all 0.4s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--gold); color: var(--white); }
.service-card h3 { font-size: 1.375rem; margin-bottom: 12px; }
.service-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 22px;
}
.service-link {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-link span { transition: transform 0.3s var(--ease); }
.service-link:hover { color: var(--gold-deep); }
.service-link:hover span { transform: translateX(4px); }

/* News */
.news { background: var(--off); }
.link-more {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
}
.link-more span { transition: transform 0.3s var(--ease); }
.link-more:hover { color: var(--gold-deep); }
.link-more:hover span { transform: translateX(4px); }

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.news-img { overflow: hidden; aspect-ratio: 16/10; }
.news-card.featured .news-img { aspect-ratio: 16/9; }
.news-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-img img { transform: scale(1.05); }

.news-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.news-meta .tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  padding: 4px 10px;
  background: rgba(201,169,110,0.08);
  border-radius: 3px;
}
.news-meta .date { font-size: 0.8125rem; color: var(--gray-600); }
.news-card h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.35; margin-bottom: 12px; }
.news-card.featured h3 { font-size: 1.625rem; }
.news-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 18px;
  flex: 1;
}
.news-link {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  align-self: flex-start;
}
.news-link:hover { color: var(--gold-deep); }

/* Activities */
.activities { background: var(--white); }
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}
.activity-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.activity-item.tall { grid-row: span 2; }
.activity-item.wide { grid-column: span 2; }
.activity-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.activity-item:hover img { transform: scale(1.08); }
.activity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.3) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  color: var(--white);
  transition: all 0.4s var(--ease);
}
.activity-item:hover .activity-overlay {
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.5) 50%, rgba(15,23,42,0.2) 100%);
}
.act-cat {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}
.activity-overlay h4 { color: var(--white); font-size: 1.25rem; font-weight: 500; }

/* Stats */
.stats {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.08), transparent 70%);
}
.section-header.dark .section-title { color: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 32px 16px;
  border-left: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.stat-item:first-child { border-left: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  display: inline-block;
}
.stat-plus {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  vertical-align: top;
  margin-left: 4px;
}
.stat-label {
  display: block;
  margin-top: 14px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* CTA */
.cta { padding: 120px 0; background: var(--off); }
.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  background: var(--white);
  padding: 72px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  align-items: center;
}
.cta-content p {
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 480px;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-info {
  display: flex; flex-direction: column; gap: 28px;
  padding-left: 60px;
  border-left: 1px solid var(--gray-100);
}
.info-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.info-item p { font-size: 0.9375rem; color: var(--navy); line-height: 1.6; }

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .brand-title { color: var(--white); }
.footer .brand-subtitle { color: rgba(255,255,255,0.5); }
.footer-desc {
  margin-top: 24px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 340px;
}
.footer-col h5 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-col li { margin-bottom: 12px; font-size: 0.9375rem; line-height: 1.7; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom { padding: 28px 0; font-size: 0.8125rem; color: rgba(255,255,255,0.5); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .section { padding: 90px 0; }
  .sambutan-grid { grid-template-columns: 1fr; gap: 56px; max-width: 640px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: span 2; }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-item.wide { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:nth-child(3) { border-left: none; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; padding: 56px; }
  .cta-info { padding-left: 0; border-left: none; padding-top: 40px; border-top: 1px solid var(--gray-100); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 14px 20px; }
  .top-strip { font-size: 0.7rem; }
  .top-strip-right { display: none; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 85%; max-width: 360px;
    height: 100vh;
    background: var(--white);
    padding: 100px 36px 36px;
    box-shadow: -20px 0 40px rgba(15,23,42,0.15);
    transition: right 0.4s var(--ease);
    z-index: 99;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .main-nav a { font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .hero { min-height: 88vh; }
  .hero-inner { padding: 100px 20px; }
  .hero-meta { gap: 20px; }
  .hero-meta-divider { display: none; }
  .meta-num { font-size: 1.75rem; }

  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 32px 28px; }

  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: span 1; }

  .activities-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .activity-item.tall, .activity-item.wide { grid-column: span 1; grid-row: span 1; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .cta-inner { padding: 40px 28px; }
  .cta-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .section-header { margin-bottom: 48px; }
  .section-header.split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand-subtitle { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-item:first-child { border-top: none; }
}

/* =========================================================
   PAGE-LEVEL STYLES (sub pages)
   ========================================================= */

/* Dropdown nav */
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a::before { content: ""; }
.main-nav .sub-menu {
  position: absolute;
  top: 100%; left: -20px;
  background: var(--white);
  min-width: 240px;
  padding: 14px 0;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  flex-direction: column !important;
  gap: 0 !important;
}
.main-nav .has-sub:hover .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .sub-menu li { margin: 0 !important; }
.main-nav .sub-menu a {
  display: block;
  padding: 10px 22px;
  font-size: 0.875rem;
  color: var(--gray-700);
  border-left: 2px solid transparent;
}
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover {
  background: var(--off);
  border-left-color: var(--gold);
  color: var(--navy);
}

/* Page hero (smaller, page-specific variants) */
.page-hero {
  position: relative;
  padding: 140px 0 100px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-position: center; background-size: cover;
  z-index: -2;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.92), rgba(15,23,42,0.75));
  z-index: -1;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-top: 18px;
}
.page-hero h1 em { color: var(--gold); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .hero-desc {
  margin-top: 20px; max-width: 680px;
  font-size: 1.0625rem; color: rgba(255,255,255,0.8);
}

/* Hero variants */
.hero-side {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 64px; align-items: center;
  padding: 120px 0;
}
.hero-side .side-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.hero-side .side-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-split {
  padding: 0;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-split .split-left {
  background: var(--navy);
  color: var(--white);
  padding: 100px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-split .split-right {
  background-size: cover;
  background-position: center;
}
.hero-minimal {
  padding: 160px 0 80px;
  background: var(--off);
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}
.hero-minimal h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-top: 14px;
}
.hero-minimal h1 em { color: var(--gold); }
.hero-minimal .gold-rule { margin: 24px auto 0; }

/* Breadcrumb */
.breadcrumb {
  padding: 20px 0;
  background: var(--off);
  border-bottom: 1px solid var(--gray-100);
}
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.8125rem;
  color: var(--gray-600);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: "/"; color: var(--gray-400);
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb .current { color: var(--navy); font-weight: 500; }

/* Two-column content layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: flex-start;
}
.content-main h2 { font-size: 2rem; margin: 36px 0 16px; }
.content-main h3 { font-size: 1.375rem; margin: 28px 0 12px; }
.content-main p { margin-bottom: 18px; color: var(--gray-700); }
.content-main ul { margin: 0 0 22px 20px; }
.content-main ul li { margin-bottom: 10px; color: var(--gray-700); }
.content-main blockquote {
  border-left: 3px solid var(--gold);
  padding: 18px 24px;
  margin: 28px 0;
  background: var(--off);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--navy);
}

.sidebar {
  position: sticky;
  top: 120px;
  display: flex; flex-direction: column; gap: 24px;
}
.side-card {
  background: var(--off);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
}
.side-card.dark {
  background: var(--navy); color: rgba(255,255,255,0.75); border: none;
}
.side-card.dark h4 { color: var(--white); }
.side-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.side-card .side-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  color: var(--gold-deep); margin-bottom: 12px; display: block;
}
.side-card ul { list-style: none; margin-top: 12px; }
.side-card ul li { margin-bottom: 10px; font-size: 0.9375rem; }
.side-card a { color: inherit; }
.side-card a:hover { color: var(--gold); }

/* Feature list / numbered list */
.num-list { counter-reset: num; list-style: none; margin: 0 !important; }
.num-list li {
  counter-increment: num;
  position: relative;
  padding: 18px 24px 18px 68px;
  background: var(--off);
  border-left: 2px solid var(--gold);
  border-radius: 4px;
  margin-bottom: 12px !important;
}
.num-list li::before {
  content: counter(num, decimal-leading-zero);
  position: absolute;
  left: 24px; top: 18px;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 600;
}

/* Mission / value cards */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.vm-card {
  background: var(--white);
  padding: 48px 40px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vm-card .vm-num {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.25;
  position: absolute;
  top: 24px; right: 36px;
  font-weight: 500;
}
.vm-card h3 { font-size: 1.5rem; margin-bottom: 14px; }

/* Org chart */
.org-chart {
  display: flex; flex-direction: column; align-items: center;
  gap: 24px;
}
.org-row { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.org-node {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 220px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.org-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.org-node.top {
  background: var(--navy); color: var(--white); border-color: var(--gold);
  min-width: 280px; padding: 28px;
}
.org-node.top strong, .org-node.top small { color: inherit; }
.org-node strong { display: block; font-family: var(--serif); font-size: 1.0625rem; color: var(--navy); margin-bottom: 4px; }
.org-node small { display: block; color: var(--gray-600); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.org-line {
  width: 2px; height: 32px; background: var(--gray-200);
}

/* Officers grid */
.officers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.officer-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease);
}
.officer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.officer-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}
.officer-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.officer-card:hover .officer-photo img { transform: scale(1.05); }
.officer-info { padding: 24px 28px 30px; border-top: 2px solid var(--gold); }
.officer-info .rank {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 6px; display: block;
}
.officer-info h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 4px; }
.officer-info .position { font-size: 0.875rem; color: var(--gray-600); }

/* Process timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute;
  top: 28px; left: 12%; right: 12%;
  height: 2px; background: var(--gold); opacity: 0.3;
}
.tl-step { text-align: center; position: relative; padding: 0 16px; }
.tl-step .tl-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative; z-index: 1;
  font-weight: 600;
}
.tl-step h4 { font-size: 1rem; margin-bottom: 8px; }
.tl-step p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 6px;
  color: var(--navy);
  transition: all 0.3s var(--ease);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
.form-submit { margin-top: 14px; }

/* Tables */
.table-wrap { overflow-x: auto; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.info-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 20px;
  text-align: left;
}
.info-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9375rem;
}
.info-table tr:last-child td { border-bottom: none; }
.info-table tr:hover td { background: var(--off); }
.info-table .badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(201,169,110,0.12);
  color: var(--gold-deep);
}

/* Gallery masonry */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.gallery-filters button {
  background: transparent;
  border: 1px solid var(--gray-200);
  color: var(--navy);
  padding: 8px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.masonry {
  columns: 3;
  column-gap: 16px;
}
.masonry .m-item {
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.masonry .m-item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s var(--ease);
}
.masonry .m-item:hover img { transform: scale(1.04); }
.masonry .m-item .m-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(to top, rgba(15,23,42,0.85), transparent);
  opacity: 0; transform: translateY(10px);
  transition: all 0.4s var(--ease);
}
.masonry .m-item:hover .m-cap { opacity: 1; transform: translateY(0); }
.masonry .m-cap small { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; }
.masonry .m-cap h4 { color: var(--white); font-size: 1rem; font-weight: 500; margin-top: 4px; }

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-item {
  display: flex; gap: 18px;
  padding: 22px 24px;
  background: var(--off);
  border-radius: var(--radius);
  border-left: 2px solid var(--gold);
}
.contact-item .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
}
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.9375rem; color: var(--gray-700); line-height: 1.6; }

.map-wrap {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Callout */
.callout {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--white);
  padding: 56px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,169,110,0.15), transparent 70%);
}
.callout h3 {
  font-size: 1.75rem; color: var(--white);
  position: relative; z-index: 1;
  margin-bottom: 10px;
}
.callout p { color: rgba(255,255,255,0.75); position: relative; z-index: 1; }

/* Tabs */
.tabs-nav {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 40px;
  overflow-x: auto;
}
.tabs-nav button {
  background: transparent;
  border: none;
  padding: 16px 28px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.tabs-nav button.active { color: var(--navy); }
.tabs-nav button::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.tabs-nav button.active::after { transform: scaleX(1); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s var(--ease); }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* News list layout */
.news-list-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}
.news-list-item:first-child { padding-top: 0; }
.news-list-item .nli-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}
.news-list-item .nli-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-list-item:hover .nli-img img { transform: scale(1.05); }
.news-list-item h3 { font-size: 1.5rem; margin: 10px 0 12px; }
.news-list-item p { color: var(--gray-600); font-size: 0.9375rem; margin-bottom: 16px; }

/* Himbauan cards */
.warn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.warn-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: all 0.4s var(--ease);
}
.warn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.warn-card .warn-tag {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600;
  padding: 4px 12px;
  background: rgba(201,169,110,0.1);
  color: var(--gold-deep);
  border-radius: 3px; margin-bottom: 14px;
}
.warn-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.warn-card p { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; }
.warn-card .warn-date { display: block; margin-top: 14px; font-size: 0.8125rem; color: var(--gray-600); }

/* Stat bar */
.stat-bars { display: flex; flex-direction: column; gap: 20px; }
.stat-bar .sb-head {
  display: flex; justify-content: space-between; margin-bottom: 8px;
  font-size: 0.9375rem;
}
.stat-bar .sb-head strong { color: var(--navy); font-family: var(--serif); }
.stat-bar .sb-track { height: 6px; background: var(--gray-100); border-radius: 999px; overflow: hidden; }
.stat-bar .sb-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); border-radius: 999px; transition: width 1.4s var(--ease); }

/* Responsive tweaks */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-side { grid-template-columns: 1fr; gap: 40px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .split-left { padding: 60px 32px; }
  .hero-split .split-right { min-height: 320px; }
  .vm-grid { grid-template-columns: 1fr; }
  .officers-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .timeline::before { display: none; }
  .masonry { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .warn-grid { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 768px) {
  .main-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 16px; background: transparent;
    min-width: 0;
  }
  .main-nav .sub-menu a { padding: 8px 0; }
  .page-hero { padding: 100px 0 72px; }
  .form-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .officers-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .news-list-item { grid-template-columns: 1fr; gap: 16px; }
  .org-node.top, .org-node { min-width: 0; width: 100%; }
}

/* ==== New page component styles ==== */

/* Layanan index hero-side wrapper */
.hero-side .hero-side-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
  padding: 120px 0;
}
.hero-side { padding: 0; display: block; }
.hero-side-text h1 {
  font-family: var(--serif); font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500; color: var(--navy); line-height: 1.1; margin: 18px 0 18px;
}
.hero-side-text h1 em { color: var(--gold-deep); font-style: italic; }
.hero-side-text p { font-size: 1.0625rem; color: var(--gray-600); max-width: 480px; }
.hero-side-media {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
}
.hero-side-media img { width: 100%; height: 100%; object-fit: cover; }

/* Stat bars */
.stat-bars { display: grid; gap: 18px; max-width: 720px; margin: 24px auto 0; }
.stat-bar-row { display: grid; grid-template-columns: 180px 1fr 60px; gap: 16px; align-items: center; }
.stat-bar-row .sb-label { font-size: 0.9375rem; color: var(--gray-700); font-weight: 500; }
.stat-bar-row .sb-track { height: 8px; background: var(--gray-100); border-radius: 99px; overflow: hidden; }
.stat-bar-row .sb-fill { height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 99px; }
.stat-bar-row .sb-val { text-align: right; color: var(--navy); font-weight: 600; font-size: 0.9375rem; }

/* Event cards (kegiatan) */
.event-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 960px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .event-grid { grid-template-columns: 1fr; } }
.event-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.event-card:hover .event-media img { transform: scale(1.05); }
.event-date {
  position: absolute; top: 14px; left: 14px;
  background: var(--white); padding: 10px 14px; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; min-width: 54px;
  box-shadow: var(--shadow-lg);
}
.event-date strong { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); line-height: 1; }
.event-date span { font-size: 0.6875rem; color: var(--gray-600); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.event-body { padding: 22px 24px 26px; }
.event-body .tag {
  display: inline-block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 10px;
}
.event-body h3 {
  font-family: var(--serif); font-size: 1.375rem; font-weight: 500; color: var(--navy);
  line-height: 1.25; margin-bottom: 10px;
}
.event-body p { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.65; }

/* News list (berita) */
.news-list { display: grid; gap: 32px; }
.news-list .news-list-item {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px;
  padding: 24px 0; border-top: 1px solid var(--gray-100);
}
.news-list .news-list-item .news-thumb {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
}
.news-list .news-list-item .news-thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease);
}
.news-list .news-list-item:hover .news-thumb img { transform: scale(1.05); }
.news-list .news-list-item .news-meta {
  display: block; font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 10px;
}
.news-list .news-list-item h3 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  color: var(--navy); line-height: 1.25; margin-bottom: 10px;
}
.news-list .news-list-item p { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 14px; }
.news-list .news-list-item .read-more {
  color: var(--gold-deep); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.04em; text-decoration: none; display: inline-flex; gap: 8px; align-items: center;
}
.news-list .news-list-item .read-more:hover { color: var(--navy); }
@media (max-width: 720px) {
  .news-list .news-list-item { grid-template-columns: 1fr; }
}

/* Tab links (as anchors) */
.tabs-nav .tab-link {
  position: relative; padding: 14px 2px;
  font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  color: var(--gray-600); text-decoration: none; transition: color 0.25s var(--ease);
}
.tabs-nav .tab-link.active, .tabs-nav .tab-link:hover { color: var(--navy); }
.tabs-nav .tab-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.tabs-nav .tab-link.active::after { transform: scaleX(1); }

/* Warn badge & critical variant */
.warn-card .warn-badge {
  display: inline-block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-bottom: 12px;
  padding: 4px 10px; background: rgba(201, 169, 110, 0.12); border-radius: 99px;
}
.warn-card.critical { border-color: rgba(201, 169, 110, 0.5); background: linear-gradient(180deg, var(--white), rgba(201, 169, 110, 0.06)); }
.warn-card.critical .warn-badge { background: var(--gold-deep); color: var(--white); }

/* Gallery filter buttons & masonry items */
.gallery-filters .filter-btn {
  padding: 10px 20px; background: transparent; border: 1px solid var(--gray-100);
  color: var(--gray-700); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em;
  border-radius: 99px; cursor: pointer; transition: all 0.25s var(--ease);
}
.gallery-filters .filter-btn:hover, .gallery-filters .filter-btn.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.masonry .masonry-item {
  break-inside: avoid; margin-bottom: 16px; position: relative; overflow: hidden;
  border-radius: var(--radius); display: block;
}
.masonry .masonry-item img {
  width: 100%; display: block; transition: transform 0.7s var(--ease);
}
.masonry .masonry-item:hover img { transform: scale(1.05); }
.masonry .masonry-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px; color: var(--white); font-size: 0.875rem; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.8));
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.masonry .masonry-item:hover figcaption { opacity: 1; }

/* Contact icon alias */
.contact-item .contact-icon {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--navy); color: var(--gold);
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  margin-bottom: 14px;
}

/* Side card links */
.side-card a { color: var(--gold-deep); text-decoration: none; font-weight: 500; }
.side-card a:hover { color: var(--navy); }
.side-card.dark a { color: var(--gold); }

/* Badge utility inside tables */
.info-table .badge {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  background: rgba(15, 23, 42, 0.06); color: var(--navy);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .hero-side .hero-side-inner { grid-template-columns: 1fr; gap: 40px; padding: 100px 0 60px; }
  .stat-bar-row { grid-template-columns: 1fr; text-align: left; }
  .stat-bar-row .sb-val { text-align: left; }
  .news-featured { grid-template-columns: 1fr !important; }
}

/* ==== Article page styles ==== */
.article-hero {
  position: relative; padding: 140px 0 80px; color: var(--white); overflow: hidden;
}
.article-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.4);
}
.article-hero .container { position: relative; z-index: 2; max-width: 900px; }
.article-hero .article-cat {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 18px;
  padding: 6px 14px; background: rgba(201, 169, 110, 0.12); border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 99px;
}
.article-hero h1 {
  font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500; line-height: 1.15; margin-bottom: 20px;
}
.article-hero h1 em { color: var(--gold-soft); font-style: italic; }
.article-hero .article-meta {
  display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.875rem;
  color: rgba(255,255,255,0.75); margin-top: 20px;
}
.article-hero .article-meta span { display: inline-flex; gap: 6px; align-items: center; }

.article-body { max-width: 760px; margin: 0 auto; padding: 60px 0 40px; }
.article-body .lead {
  font-family: var(--serif); font-size: 1.375rem; line-height: 1.5; color: var(--navy);
  margin-bottom: 32px; font-weight: 500; font-style: italic;
  padding-left: 20px; border-left: 3px solid var(--gold);
}
.article-body h2 {
  font-family: var(--serif); font-size: 1.75rem; font-weight: 600; color: var(--navy);
  margin: 40px 0 16px; line-height: 1.25;
}
.article-body h3 {
  font-family: var(--serif); font-size: 1.375rem; font-weight: 600; color: var(--navy);
  margin: 32px 0 12px;
}
.article-body p {
  font-size: 1.0625rem; line-height: 1.8; color: var(--gray-700); margin-bottom: 18px;
}
.article-body a {
  color: var(--gold-deep); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; font-weight: 500;
}
.article-body a:hover { color: var(--navy); }
.article-body ul, .article-body ol { margin: 0 0 20px 20px; color: var(--gray-700); }
.article-body li { margin-bottom: 8px; line-height: 1.7; font-size: 1.0625rem; }
.article-body blockquote {
  margin: 30px 0; padding: 24px 28px; background: var(--off);
  border-left: 4px solid var(--gold); font-family: var(--serif); font-size: 1.25rem;
  line-height: 1.5; color: var(--navy); font-style: italic;
}
.article-body figure { margin: 30px 0; }
.article-body figure img { width: 100%; border-radius: var(--radius); }
.article-body figcaption { font-size: 0.875rem; color: var(--gray-600); margin-top: 10px; text-align: center; font-style: italic; }

.article-tags {
  max-width: 760px; margin: 0 auto; padding: 20px 0 40px;
  border-top: 1px solid var(--gray-100); display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.article-tags strong { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-600); margin-right: 6px; }
.article-tags a {
  font-size: 0.8125rem; padding: 6px 14px; border: 1px solid var(--gray-100);
  border-radius: 99px; color: var(--gray-700); text-decoration: none; transition: all 0.25s var(--ease);
}
.article-tags a:hover { border-color: var(--navy); color: var(--navy); background: var(--off); }

.related-articles { background: var(--off); padding: 60px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-100); transition: all 0.35s var(--ease);
  display: flex; flex-direction: column;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related-card .rel-thumb { aspect-ratio: 16/10; overflow: hidden; }
.related-card .rel-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.related-card:hover .rel-thumb img { transform: scale(1.05); }
.related-card .rel-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.related-card .rel-cat { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 8px; }
.related-card h4 { font-family: var(--serif); font-size: 1.125rem; font-weight: 500; color: var(--navy); line-height: 1.3; margin-bottom: 10px; }
.related-card a.rel-link { margin-top: auto; color: var(--gold-deep); font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.related-card a.rel-link:hover { color: var(--navy); }
