/* =============================================================
   custom.css — Design System UPT PPA Kota Palembang
   Government Website + Modern Public Service + Humanis
   ============================================================= */

/* -------------------------------------------------------------
   CSS VARIABLES
   ------------------------------------------------------------- */
:root {
  /* Warna Utama */
  --maroon-950: #2d0a12;
  --maroon-900: #4a1020;
  --maroon-800: #6b1a2e;
  --maroon-700: #8b2040;
  --maroon-600: #a82a50;

  /* Gold Accent */
  --gold-600:   #b8860b;
  --gold-500:   #d4a017;
  --gold-400:   #e8b830;
  --gold-300:   #f5cc50;
  --gold-200:   #fde68a;
  --gold-100:   #fef9e7;

  /* Neutral */
  --white:      #ffffff;
  --gray-50:    #f8f7f6;
  --gray-100:   #f0eeec;
  --gray-200:   #e2dedb;
  --gray-300:   #c9c3be;
  --gray-400:   #a8a09a;
  --gray-500:   #7a7068;
  --gray-600:   #5a524c;
  --gray-700:   #3d3530;
  --gray-800:   #2a2420;
  --gray-900:   #1a1410;

  /* Semantic */
  --bg-body:    #f8f7f6;
  --bg-white:   #ffffff;
  --bg-section: #f0eeec;
  --text-dark:  #2a2420;
  --text-body:  #4a4240;
  --text-muted: #7a7068;
  --border:     #e2dedb;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);

  /* Typography */
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Cinzel', serif;

  /* Spacing */
  --section-py: 5rem;

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* -------------------------------------------------------------
   LAYOUT
   ------------------------------------------------------------- */
.upt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.upt-section {
  padding: var(--section-py) 0;
}

.upt-section-sm {
  padding: 3rem 0;
}

/* Page Header (Banner di sub-halaman) */
.page-header {
  background: linear-gradient(135deg, var(--maroon-950) 0%, var(--maroon-800) 100%);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23d4a017' fill-opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}
.page-header .breadcrumb a { color: var(--gold-300); }
.page-header .breadcrumb a:hover { color: var(--white); }
.page-header .breadcrumb i { font-size: 0.6rem; }

/* -------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--maroon-700);
  background: rgba(107, 26, 46, 0.08);
  border: 1px solid rgba(107, 26, 46, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--maroon-950);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 0.75rem;
  line-height: 1.75;
}

.section-header {
  margin-bottom: 3rem;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Gold underline dekoratif */
.title-underline {
  display: inline-block;
  position: relative;
}
.title-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
}
.section-header.center .title-underline::after {
  left: 50%;
  transform: translateX(-50%);
}

/* -------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950));
  color: var(--white);
  border-color: var(--maroon-800);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74,16,32,0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--maroon-950);
  border-color: var(--gold-400);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212,160,23,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--maroon-800);
  border-color: var(--maroon-800);
}
.btn-outline:hover {
  background: var(--maroon-800);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-500);
  border-color: var(--gold-500);
}
.btn-outline-gold:hover {
  background: var(--gold-500);
  color: var(--maroon-950);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.72rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 0.85rem; }

/* -------------------------------------------------------------
   CARDS
   ------------------------------------------------------------- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-body { padding: 1.5rem; }
.card-img { width: 100%; height: 200px; object-fit: cover; }

/* Layanan Card */
.layanan-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 3px solid transparent;
}
.layanan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--maroon-700);
}
.layanan-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950));
  color: var(--gold-300);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.layanan-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon-950);
  margin-bottom: 0.35rem;
}
.layanan-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

/* Berita Card */
.berita-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.berita-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.berita-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--maroon-900), var(--maroon-950));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.berita-card-img-icon {
  font-size: 3rem;
  color: rgba(255,255,255,0.15);
}
.berita-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--maroon-800);
  color: var(--gold-200);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}
.berita-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.berita-card-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.berita-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  flex: 1;
}
.berita-card-title:hover { color: var(--maroon-700); }
.berita-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Edukasi Card */
.edukasi-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}
.edukasi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.edukasi-card-icon {
  width: 64px; height: 64px;
  background: var(--gold-100);
  color: var(--maroon-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  border: 2px solid var(--gold-200);
}
.edukasi-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon-950);
  margin-bottom: 0.5rem;
}
.edukasi-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question.open { color: var(--maroon-800); background: rgba(107,26,46,0.04); }
.faq-question .faq-icon {
  width: 24px; height: 24px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-question.open .faq-icon {
  background: var(--maroon-800);
  color: var(--white);
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 0px solid var(--border);
}
.faq-answer.open {
  max-height: 600px;
  padding: 1rem 1.25rem 1.25rem;
  border-top-width: 1px;
}

/* Alur Step */
.alur-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.alur-step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950));
  color: var(--gold-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.alur-step-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.alur-step-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* -------------------------------------------------------------
   TOP BAR
   ------------------------------------------------------------- */
.upt-topbar {
  background: var(--maroon-950);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212,160,23,0.2);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.topbar-left span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar-left i { color: var(--gold-400); }
.topbar-online { color: #4ade80; font-weight: 600; }
.pulse-dot { animation: pulseDot 2s ease-in-out infinite; font-size: 0.4rem; }
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.topbar-right a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-300);
  transition: color 0.2s;
}
.topbar-right a:hover { color: var(--white); }

/* -------------------------------------------------------------
   ANNOUNCEMENT BAR
   ------------------------------------------------------------- */
.upt-announcement {
  background: var(--gold-400);
  color: var(--maroon-950);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0;
  overflow: hidden;
}
.announcement-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ann-badge {
  background: var(--maroon-950);
  color: var(--gold-300);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ann-marquee-wrap { flex: 1; overflow: hidden; }
.ann-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}
@keyframes marqueeScroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* -------------------------------------------------------------
   NAVBAR
   ------------------------------------------------------------- */
.upt-navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.upt-navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950));
  color: var(--gold-300);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon-950);
  letter-spacing: 0.03em;
}
.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--maroon-700);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Desktop Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.navbar-menu > li { position: relative; }
.navbar-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.navbar-menu > li > a:hover,
.navbar-menu > li > a.nav-active {
  color: var(--maroon-800);
  background: rgba(107,26,46,0.06);
}
.dd-arrow {
  font-size: 0.55rem;
  transition: transform 0.25s;
}
.has-dropdown:hover .dd-arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.22s ease;
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all 0.18s;
}
.dropdown li a:hover {
  background: rgba(107,26,46,0.05);
  color: var(--maroon-800);
  padding-left: 1.25rem;
}
.dropdown li a i {
  width: 16px;
  text-align: center;
  color: var(--maroon-700);
  font-size: 0.8rem;
}

/* CTA Navbar */
.btn-navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: var(--radius-md);
  border: none;
  white-space: nowrap;
  transition: all 0.25s;
  flex-shrink: 0;
}
.btn-navbar-cta:hover {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900));
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(74,16,32,0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--maroon-950);
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu.open {
  max-height: 90vh;
  overflow-y: auto;
  padding-bottom: 1rem;
}
.mobile-menu ul {
  list-style: none;
  padding: 0.5rem 0;
}
.mobile-menu ul li > a,
.mobile-menu .mob-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.2s;
}
.mobile-menu ul li > a:hover,
.mobile-menu .mob-toggle:hover,
.mobile-menu .mob-toggle.active {
  background: rgba(107,26,46,0.05);
  color: var(--maroon-800);
}
.mobile-menu .mob-toggle i:last-child {
  margin-left: auto;
  font-size: 0.6rem;
  transition: transform 0.3s;
}
.mobile-menu .mob-toggle.active i:last-child { transform: rotate(180deg); }
.mob-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--gray-50);
}
.mob-sub.open { max-height: 500px; }
.mob-sub li a {
  padding: 0.6rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}
.mob-cta a {
  background: var(--maroon-950) !important;
  color: var(--white) !important;
  justify-content: center !important;
  margin: 0.75rem 1rem 0 !important;
  border-radius: var(--radius-md) !important;
  border-bottom: none !important;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.upt-footer {
  background: var(--maroon-950);
  color: rgba(255,255,255,0.75);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 40px; height: 40px;
  background: rgba(212,160,23,0.2);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold-300);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.footer-logo-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.footer-desc {
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.footer-socials {
  display: flex;
  gap: 0.6rem;
}
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.footer-socials a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--maroon-950);
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-300);
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212,160,23,0.2);
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
  padding: 0.1rem 0;
}
.footer-links a:hover {
  color: var(--gold-300);
  padding-left: 0.4rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}
.footer-contact i {
  color: var(--gold-400);
  font-size: 0.85rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--gold-300); }
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}

/* -------------------------------------------------------------
   FLOATING BUTTONS
   ------------------------------------------------------------- */
.float-wa {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 54px; height: 54px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all 0.3s;
  text-decoration: none;
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37,211,102,0.5);
}
.float-wa-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  background: var(--gray-800);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.float-wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--gray-800);
}
.float-wa:hover .float-wa-tooltip { opacity: 1; }

.back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  z-index: 999;
  width: 40px; height: 40px;
  background: var(--maroon-800);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--maroon-700); }

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(135deg, var(--maroon-950) 0%, var(--maroon-900) 50%, var(--maroon-800) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23d4a017' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold-300);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.hero-title span {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Hero info panel */
.hero-info-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-info-panel-title {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-300);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-layanan-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0.4rem;
  transition: background 0.2s;
}
.hero-layanan-row:hover { background: rgba(255,255,255,0.08); }
.hero-layanan-num {
  width: 26px; height: 26px;
  background: var(--gold-500);
  color: var(--maroon-950);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.hero-layanan-name { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.hero-layanan-sub  { font-size: 0.68rem; color: rgba(255,255,255,0.45); margin-top: 1px; }
.hero-layanan-icon { margin-left: auto; color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* Hero kontak panel */
.hero-kontak-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero-kontak-row:last-child { border-bottom: none; }
.hero-kontak-row i { color: var(--gold-400); width: 14px; text-align: center; }
.hero-kontak-row .kontak-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #4ade80;
}

/* Stats bar hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 0.75rem;
}
.hero-stat {
  padding: 0.85rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* SK Badge */
.hero-sk-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.hero-sk-badge i { color: var(--gold-400); font-size: 1rem; }
.hero-sk-badge-text p:first-child {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-300);
}
.hero-sk-badge-text p:last-child {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}

/* -------------------------------------------------------------
   SECTION BACKGROUNDS
   ------------------------------------------------------------- */
.bg-white   { background: var(--bg-white); }
.bg-gray    { background: var(--bg-section); }
.bg-maroon  { background: linear-gradient(135deg, var(--maroon-950), var(--maroon-900)); }
.bg-maroon-light { background: rgba(107,26,46,0.04); }

/* CTA Butuh Bantuan */
.cta-section {
  background: linear-gradient(135deg, var(--maroon-950) 0%, var(--maroon-800) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23d4a017' fill-opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; }

/* Image placeholder */
.img-placeholder {
  background: linear-gradient(135deg, var(--maroon-900), var(--maroon-950));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.3);
  min-height: 280px;
  font-size: 3rem;
  border: 2px dashed rgba(212,160,23,0.2);
}
.img-placeholder span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Tentang UPT 2-col */
.tentang-img-col .img-placeholder { min-height: 380px; }
.tentang-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tentang-text-col p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.8;
}
.tentang-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(107,26,46,0.05);
  border-left: 3px solid var(--maroon-700);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.tentang-highlight i { color: var(--maroon-700); margin-top: 2px; }
.tentang-highlight span { font-size: 0.82rem; color: var(--text-body); line-height: 1.65; }

/* Alur Steps */
.alur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.alur-grid::before {
  content: '';
  position: absolute;
  top: 22px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--maroon-800), var(--gold-400), var(--maroon-800));
  opacity: 0.3;
}
.alur-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s;
}
.alur-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.alur-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950));
  color: var(--gold-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}
.alur-icon {
  font-size: 1.5rem;
  color: var(--maroon-700);
  margin-bottom: 0.75rem;
}
.alur-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}
.alur-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Utilities */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* AOS supplement */
[data-aos] { will-change: transform, opacity; }

/* Hide utilities */
.hide-sm { display: inline; }
.hide-md { display: inline-flex; }

/* -------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1200px) {
  .navbar-menu > li > a { padding: 0.55rem 0.45rem; font-size: 0.74rem; }
  .logo-title { font-size: 0.82rem; }
}
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .alur-grid { grid-template-columns: repeat(2, 1fr); }
  .alur-grid::before { display: none; }
  .hero-inner { gap: 2.5rem; }
}

@media (max-width: 900px) {
  .navbar-menu { display: none; }
  .btn-navbar-cta.hide-md { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .grid-2-1 { grid-template-columns: 1fr; }
  .grid-1-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-py: 3rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .alur-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-section { padding: 3rem 0 2.5rem; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .page-header h1 { font-size: 1.5rem; }
  .hide-sm { display: none; }
  .topbar-right { display: none; }
}

@media (max-width: 480px) {
  .upt-container { padding: 0 1rem; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .hero-stat-num { font-size: 1rem; }
}

/* -------------------------------------------------------------
   PAGE BODY
   ------------------------------------------------------------- */
.page-body { padding: 3.5rem 0 4.5rem; }
.page-intro {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 2rem;
}
.notice-box {
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.7;
}
.notice-box.maroon {
  background: rgba(107,26,46,0.05);
  border-color: rgba(107,26,46,0.12);
  border-left-color: var(--maroon-700);
}
.conf-notice {
  background: rgba(107,26,46,0.06);
  border: 1px solid rgba(107,26,46,0.15);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.75;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.conf-notice i { color: var(--maroon-700); margin-top: 0.2rem; }

.placeholder-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* Hero visual (dokumentasi / placeholder resmi) */
.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(160deg, rgba(45,10,18,0.4), rgba(74,16,32,0.2));
}
.hero-visual-frame {
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(45,10,18,0.15), rgba(45,10,18,0.55)),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8L52 32L76 36L58 54L62 78L40 66L18 78L22 54L4 36L28 32z' fill='%23d4a017' fill-opacity='0.07'/%3E%3C/svg%3E");
}
.hero-visual-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.35);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.hero-visual-caption {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  max-width: 280px;
  line-height: 1.65;
}
.hero-visual-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* Link selengkapnya */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--maroon-800);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.btn-text:hover { color: var(--gold-600); gap: 0.6rem; }

/* Filter pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter-btn {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--maroon-800);
  border-color: var(--maroon-800);
  color: var(--white);
}

/* Search */
.search-wrap {
  position: relative;
  max-width: 420px;
  margin-bottom: 1.5rem;
}
.search-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}
.search-wrap input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-family: inherit;
  background: var(--white);
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--maroon-700);
  box-shadow: 0 0 0 3px rgba(107,26,46,0.08);
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.gform-wrap { padding: 1.25rem 1.25rem 0.5rem; }
.gform-frame {
  width: 100%;
  min-height: 720px;
  height: 80vh;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--gray-50);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
}
.form-group label .req { color: var(--maroon-700); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--white);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--maroon-700);
  box-shadow: 0 0 0 3px rgba(107,26,46,0.08);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.6;
}
.form-check input { margin-top: 0.25rem; }
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.form-success.show { display: block; }

/* Contact info cards */
.contact-item {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 42px; height: 42px;
  background: rgba(107,26,46,0.08);
  color: var(--maroon-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--maroon-950);
  margin-bottom: 0.15rem;
}
.contact-item p, .contact-item a {
  font-size: 0.85rem;
  color: var(--text-body);
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
  background: var(--gray-100);
}
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }

/* Visi */
.visi-panel {
  background: linear-gradient(135deg, var(--maroon-950), var(--maroon-800));
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.visi-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23d4a017' fill-opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.visi-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1rem;
}
.visi-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.45;
  position: relative;
  z-index: 1;
}
.misi-num {
  width: 40px; height: 40px;
  background: var(--gold-100);
  color: var(--maroon-800);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Org tree */
.org-tree { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-node {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--maroon-800);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 220px;
  box-shadow: var(--shadow-sm);
}
.org-node.gold { border-top-color: var(--gold-500); }
.org-node h4 { font-size: 0.88rem; color: var(--maroon-950); font-weight: 700; }
.org-node p { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.org-line {
  width: 2px;
  height: 28px;
  background: var(--gold-400);
}
.org-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  position: relative;
  padding-top: 0.5rem;
}
.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 180px;
  cursor: pointer;
  border: 1px solid var(--border);
}
.gallery-item .img-placeholder { min-height: 180px; border-radius: 0; border: none; }
.gallery-item-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(45,10,18,0.85));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
}
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20,10,12,0.88);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  max-width: 720px;
  width: 100%;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
}
.pagination button,
.pagination a {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}
.pagination button.active,
.pagination a.active {
  background: var(--maroon-800);
  color: var(--white);
  border-color: var(--maroon-800);
}

/* Article / berita detail */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.75rem 0 1.5rem;
}
.article-body { font-size: 0.95rem; line-height: 1.85; color: var(--text-body); }
.article-body p { margin-bottom: 1rem; }
.article-hero-img { margin-bottom: 1.5rem; }
.article-hero-img .img-placeholder { min-height: 320px; }

/* Timeline vertical (alur) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}
.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
}
.timeline-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950));
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.timeline-stem {
  width: 2px;
  flex: 1;
  background: var(--gold-200);
  min-height: 24px;
}
.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.timeline-card h3 { font-size: 0.95rem; color: var(--maroon-950); margin-bottom: 0.35rem; }
.timeline-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }

/* Info list cards */
.info-list li {
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem;
  color: var(--text-body);
}
.info-list i { color: var(--maroon-700); margin-top: 0.2rem; }

/* Layanan page extra */
.layanan-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.layanan-meta strong { color: var(--text-dark); display: block; margin-bottom: 0.15rem; }

/* Floating pengaduan */
.float-aduan {
  position: fixed;
  bottom: 5.6rem;
  right: 1.75rem;
  z-index: 999;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(74,16,32,0.35);
  transition: all 0.3s;
}
.float-aduan:hover { transform: scale(1.08); }
.float-aduan .float-wa-tooltip { right: calc(100% + 0.75rem); }
.float-aduan:hover .float-wa-tooltip { opacity: 1; }
.back-to-top { bottom: 9.4rem; }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item.hidden { display: none; }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual, .hero-visual-frame { min-height: 280px; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .visi-panel { padding: 2rem 1.25rem; }
  .org-node { min-width: 160px; }
}
