/* ============================================
   DESA TALAGAWANGI — Reusable Components
   ============================================ */

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.4);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  height: 60px;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-800);
  z-index: 1001;
}

.navbar__brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar__brand-text small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--neutral-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--primary-700);
  background: var(--primary-50);
}

.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary-500);
  border-radius: var(--radius-full);
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.navbar__dropdown:hover .navbar__dropdown-icon {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--neutral-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.navbar__dropdown-item:hover {
  background: var(--primary-50);
  color: var(--primary-700);
}

.navbar__dropdown-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-500);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  z-index: 1001;
  transition: background var(--transition-fast);
}

.navbar__hamburger:hover {
  background: var(--neutral-100);
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--neutral-700);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px);
}

/* Mobile Overlay */
.navbar__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.navbar__overlay.active {
  opacity: 1;
}


/* ============ HERO BANNER ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 24px 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 58, 45, 0.90) 0%,
    rgba(45, 106, 79, 0.80) 40%,
    rgba(82, 183, 136, 0.55) 100%
  );
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--neutral-50), transparent);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title span {
  background: linear-gradient(135deg, var(--accent-300), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============ PAGE HEADER (Inner pages) ============ */
.page-header {
  position: relative;
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header__title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-header__subtitle {
  color: var(--primary-200);
  font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-300);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb__separator {
  color: var(--primary-500);
}

.breadcrumb__current {
  color: var(--accent-400);
  font-weight: 500;
}


/* ============ CARDS ============ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card__icon--accent {
  background: linear-gradient(135deg, var(--accent-50), var(--accent-100));
}

.card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--neutral-900);
}

.card__text {
  color: var(--neutral-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Link Card (navigasi cepat) */
.card--link {
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card--link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-400));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.card--link:hover::before {
  transform: scaleX(1);
}

.card--link .card__icon {
  margin: 0 auto 16px;
  width: 64px;
  height: 64px;
  font-size: 1.75rem;
}

/* Quote Card (sambutan) */
.card--quote {
  border-left: 4px solid var(--primary-500);
  background: linear-gradient(135deg, var(--white), var(--primary-50));
}

.card--quote:hover {
  transform: none;
}


/* ============ STAT COUNTER ============ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-base);
}

.stat-item:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-glow);
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--neutral-500);
  font-weight: 500;
}

.stat-item__icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}


/* ============ DATA TABLE ============ */
.data-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table thead {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
}

.data-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--neutral-100);
  color: var(--neutral-700);
}

.data-table tbody tr:nth-child(even) {
  background: var(--neutral-50);
}

.data-table tbody tr:hover {
  background: var(--primary-50);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Progress bar in table */
.progress-bar {
  width: 100%;
  max-width: 200px;
  height: 8px;
  background: var(--neutral-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
  border-radius: var(--radius-full);
  transition: width 1s ease-out;
  width: 0;
}

.progress-bar__fill--accent {
  background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
}


/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-300), var(--primary-500), var(--primary-300));
  border-radius: var(--radius-full);
}

.timeline__item {
  position: relative;
  width: 50%;
  padding: 0 40px 48px;
}

.timeline__item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 60px;
}

.timeline__item:nth-child(even) {
  left: 50%;
  padding-left: 60px;
}

.timeline__dot {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--primary-500);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-100);
  z-index: 1;
}

.timeline__item:nth-child(odd) .timeline__dot {
  right: -8px;
}

.timeline__item:nth-child(even) .timeline__dot {
  left: -8px;
}

.timeline__year {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-100);
  color: var(--primary-700);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.timeline__content {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

.timeline__content h4 {
  margin-bottom: 8px;
}

.timeline__content p {
  font-size: 0.95rem;
  margin: 0;
}


/* ============ ORG CHART ============ */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.org-chart__level {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}

.org-chart__person {
  text-align: center;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  min-width: 180px;
  max-width: 220px;
  transition: all var(--transition-base);
  position: relative;
}

.org-chart__person:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.org-chart__person--head {
  border: 2px solid var(--primary-500);
  background: linear-gradient(to bottom, var(--primary-50), var(--white));
}

.org-chart__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-200), var(--primary-100));
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  overflow: hidden;
}

.org-chart__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.org-chart__name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--neutral-900);
}

.org-chart__title {
  font-size: 0.8rem;
  color: var(--neutral-500);
  font-weight: 500;
}

/* Connector lines */
.org-chart__connector {
  display: flex;
  justify-content: center;
}

.org-chart__connector::before {
  content: '';
  width: 2px;
  height: 32px;
  background: var(--primary-300);
}


/* ============ ACCORDION ============ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__item {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.accordion__item.active {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  transition: background var(--transition-fast);
  gap: 16px;
  width: 100%;
  text-align: left;
}

.accordion__header:hover {
  background: var(--neutral-50);
}

.accordion__item.active .accordion__header {
  background: var(--primary-50);
  border-bottom: 1px solid var(--primary-100);
}

.accordion__header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.accordion__header-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.accordion__item.active .accordion__header-icon {
  background: var(--primary-200);
}

.accordion__header-text h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.accordion__header-text p {
  font-size: 0.85rem;
  color: var(--neutral-500);
  margin: 0;
}

.accordion__chevron {
  width: 20px;
  height: 20px;
  color: var(--neutral-400);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion__item.active .accordion__chevron {
  transform: rotate(180deg);
  color: var(--primary-600);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion__body-inner {
  padding: 24px;
}


/* ============ CHECKLIST ============ */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.checklist__item:hover {
  background: var(--neutral-50);
}

.checklist__checkbox {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--neutral-300);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist__item.checked .checklist__checkbox {
  background: var(--primary-500);
  border-color: var(--primary-500);
}

.checklist__checkbox::after {
  content: '';
  width: 6px;
  height: 10px;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.checklist__item.checked .checklist__checkbox::after {
  opacity: 1;
}

.checklist__label {
  font-size: 0.95rem;
  color: var(--neutral-700);
  line-height: 1.5;
  transition: all var(--transition-fast);
}

.checklist__item.checked .checklist__label {
  color: var(--neutral-400);
  text-decoration: line-through;
}

/* Progress */
.checklist-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
}

.checklist-progress__bar {
  flex: 1;
  height: 6px;
  background: var(--primary-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.checklist-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.checklist-progress__text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-700);
  white-space: nowrap;
}


/* ============ TABS (Scroll Spy) ============ */
.tabs {
  position: sticky;
  top: var(--navbar-height);
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

.tabs__list {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  overflow-x: auto;
}

.tabs__item {
  position: relative;
  padding: 16px 24px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--neutral-500);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
}

.tabs__item:hover {
  color: var(--primary-700);
}

.tabs__item.active {
  color: var(--primary-700);
  font-weight: 600;
}

.tabs__item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-400));
  border-radius: var(--radius-full) var(--radius-full) 0 0;
}


/* ============ SAMBUTAN (Kepala Desa) ============ */
.sambutan {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.sambutan__photo-wrapper {
  position: relative;
}

.sambutan__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.sambutan__photo-wrapper::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 3px solid var(--primary-300);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.sambutan__name {
  margin-top: 16px;
  text-align: center;
}

.sambutan__name h4 {
  color: var(--primary-800);
  margin-bottom: 4px;
}

.sambutan__name p {
  font-size: 0.85rem;
  color: var(--neutral-500);
  margin: 0;
}

.sambutan__text blockquote {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--neutral-700);
  padding-left: 24px;
  border-left: 4px solid var(--primary-400);
  margin-bottom: 24px;
  font-style: italic;
}

.sambutan__text blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 5rem;
  color: var(--primary-100);
  font-family: Georgia, serif;
  line-height: 1;
}


/* ============ VISI MISI ============ */
.visi-card {
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  border-radius: var(--radius-xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.visi-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.visi-card h3 {
  color: var(--accent-400);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.visi-card p {
  font-size: 1.35rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.misi-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.misi-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-base);
}

.misi-item:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.misi-item__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.misi-item__text {
  font-size: 0.95rem;
  color: var(--neutral-700);
  line-height: 1.6;
  padding-top: 6px;
}


/* ============ POTENSI SHOWCASE ============ */
.potensi-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-base);
}

.potensi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.potensi-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.potensi-card__body {
  padding: 24px;
}

.potensi-card__badge {
  margin-bottom: 12px;
}

.potensi-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.potensi-card__text {
  font-size: 0.925rem;
  color: var(--neutral-600);
  line-height: 1.7;
}


/* ============ PROCEDURES ============ */
.procedure {
  counter-reset: step;
}

.procedure__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--neutral-200);
}

.procedure__step:last-child {
  border-bottom: none;
}

.procedure__step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-100);
  color: var(--primary-700);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.procedure__step p {
  padding-top: 4px;
  margin: 0;
}

/* Service info */
.service-info {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding: 16px;
  background: var(--accent-50);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.service-info__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-700);
}


/* ============ FOOTER ============ */
.footer {
  background: var(--primary-900);
  color: var(--primary-200);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.footer__desc {
  font-size: 0.9rem;
  color: var(--primary-300);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-400);
  border-radius: var(--radius-full);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: var(--primary-300);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--primary-300);
}

.footer__contact-item span:first-child {
  flex-shrink: 0;
  font-size: 1.1rem;
}

.footer__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 180px;
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--primary-400);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom a {
  color: var(--accent-400);
}

.footer__bottom a:hover {
  color: var(--accent-300);
}


/* ============ BUDGET / APBDes ============ */
.budget-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.budget-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.budget-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
}

.budget-card--accent::before {
  background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
}

.budget-card--info::before {
  background: linear-gradient(90deg, var(--info), #5BA8C8);
}

.budget-card--success::before {
  background: linear-gradient(90deg, var(--success), var(--primary-400));
}

.budget-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.budget-card__icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.budget-card__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.budget-card__value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1.2;
}

.budget-card--accent .budget-card__value {
  color: var(--accent-700);
}

.budget-card--info .budget-card__value {
  color: var(--info);
}

.budget-card--success .budget-card__value {
  color: var(--success);
}

/* Realisasi bar */
.realisasi {
  margin-top: 12px;
}

.realisasi__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--neutral-500);
  margin-bottom: 6px;
}

.realisasi__bar {
  height: 6px;
  background: var(--neutral-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.realisasi__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
  transition: width 1s ease-out;
  width: 0;
}

/* Budget Table */
.budget-table-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  overflow: hidden;
}

.budget-table-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-bottom: 1px solid var(--primary-200);
}

.budget-table-card__header h3 {
  font-size: 1.1rem;
  margin: 0;
}

.budget-table-card__header span {
  font-size: 1.4rem;
}


/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.contact-info-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card__text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-card__text p {
  font-size: 0.9rem;
  color: var(--neutral-600);
  margin: 0;
  line-height: 1.5;
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  padding: 32px;
}

.contact-form-card h3 {
  margin-bottom: 8px;
}

.contact-form-card > p {
  font-size: 0.9rem;
  color: var(--neutral-500);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--neutral-800);
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--neutral-400);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Map embed */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--neutral-200);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

