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

:root {
  --red:        #CC1F1F;
  --red-dark:   #a81818;
  --red-light:  #f8e8e8;
  --dark:       #111827;
  --gray-700:   #374151;
  --gray-500:   #6B7280;
  --gray-200:   #E5E7EB;
  --gray-100:   #F3F4F6;
  --white:      #ffffff;
  --font:       'Inter', sans-serif;
  --radius:     12px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===========================
   UTILS
   =========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-size: 14px;
  padding: 9px 20px;
  text-decoration: none;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(204,31,31,.35);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(204,31,31,.45);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--gray-200);
}
.btn--outline:hover {
  border-color: var(--dark);
  background: var(--gray-100);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn--ghost:hover {
  background: var(--dark);
  color: var(--white);
}

.btn--lg {
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 9px;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__logo {
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  letter-spacing: .5px;
  flex-shrink: 0;
}
/* Image variant – overrides red bg */
.brand__logo--img {
  background: transparent;
  padding: 0;
  width: 40px;
  height: 40px;
}
.brand__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
.brand__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  max-width: 200px;
  line-height: 1.3;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--red);
  background: var(--red-light);
}

/* Nav CTA */
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 4px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #fff 0%, #fef2f2 55%, #fff 100%);
  position: relative;
  overflow: hidden;
}

/* subtle decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,31,31,.06) 0%, transparent 70%);
  top: -120px; left: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,31,31,.05) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* --- Left content --- */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid #fca5a5;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
  animation: fadeInDown .6s ease both;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.25); }
}

/* Title */
.hero__title {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--dark);
  letter-spacing: -1px;
  animation: fadeInUp .65s .1s ease both;
}

/* Description */
.hero__desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 500px;
  animation: fadeInUp .65s .2s ease both;
}

/* Action buttons */
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp .65s .3s ease both;
}

/* Stats */
.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-200);
  animation: fadeInUp .65s .4s ease both;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat__value {
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -1px;
  line-height: 1;
}
.stat--year .stat__value {
  font-size: 24px;
}
.stat__label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

/* --- Right image --- */
.hero__image-wrap {
  position: relative;
  animation: fadeInRight .75s .15s ease both;
}

.hero__image-card {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.hero__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: var(--shadow-lg);
}

/* Floating info card */
.hero__floating-card {
  position: absolute;
  bottom: -20px;
  left: -28px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.16);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatUpDown 3.5s ease-in-out infinite;
}
.floating-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.floating-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.floating-card__label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}
.floating-card__value {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.5px;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ===========================
   RESPONSIVE – TABLET/MOBILE
   =========================== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__image-card { max-width: 540px; margin-inline: auto; }
  .hero__img { height: 340px; }
  .hero__floating-card { left: 12px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Mobile nav */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    animation: fadeInDown .2s ease;
  }
  .nav-links.open ~ .nav-cta {
    display: flex;
    position: absolute;
    top: calc(68px + (5 * 44px) + 32px);
    /* simply show below links; handled inline by JS */
  }
}

@media (max-width: 480px) {
  .hero__stats { gap: 24px; }
  .stat__value { font-size: 22px; }
  .stat--year .stat__value { font-size: 18px; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .22s; }
.reveal--delay-3 { transition-delay: .34s; }

/* ===========================
   SECTION SHARED
   =========================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 56px;
}
.section-title {
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.8px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ===========================
   TENTANG PROGRAM SECTION
   =========================== */
.tentang {
  padding: 100px 0 80px;
  background: var(--white);
}

.tentang__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --- Card --- */
.tentang-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 18px;
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.tentang-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #fca5a5;
}

/* Icon wrap */
.tentang-card__icon {
  width: 56px;
  height: 56px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Card title */
.tentang-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.3px;
}

/* Card description */
.tentang-card__desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray-500);
}

/* Bullet list */
.tentang-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
}
.tentang-card__list li {
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
  padding-left: 20px;
  position: relative;
}
.tentang-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* Responsive */
@media (max-width: 900px) {
  .tentang__grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .tentang { padding: 72px 0 60px; }
}
@media (max-width: 600px) {
  .tentang__grid { max-width: 100%; }
  .tentang-card { padding: 28px 22px 24px; }
}

/* 4th reveal delay */
.reveal--delay-4 { transition-delay: .46s; }

/* ===========================
   PERSYARATAN SECTION
   =========================== */
.persyaratan {
  padding: 100px 0 80px;
  background: var(--gray-100);
}

/* Small badge above title */
.syarat-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  border: 1.5px solid #fca5a5;
  letter-spacing: .3px;
}

/* 4-column grid */
.syarat__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

/* Requirement card */
.syarat-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.syarat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #fca5a5;
}

.syarat-card__icon {
  width: 60px;
  height: 60px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.syarat-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.2px;
}

.syarat-card__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--red);
}

/* Document banner */
.syarat-banner {
  background: var(--red-light);
  border: 1.5px solid #fca5a5;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.syarat-banner__content {
  flex: 1;
}

.syarat-banner__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.syarat-banner__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-700);
}

.syarat-banner__highlight {
  color: var(--red);
  font-weight: 600;
}

/* Outline-red button variant */
.btn--outline-red {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 9px;
  white-space: nowrap;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn--outline-red:hover {
  background: var(--red);
  color: var(--white);
}

/* Persyaratan responsive */
@media (max-width: 900px) {
  .syarat__grid { grid-template-columns: repeat(2, 1fr); }
  .persyaratan { padding: 72px 0 60px; }
}
@media (max-width: 600px) {
  .syarat__grid { grid-template-columns: 1fr; }
  .syarat-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .btn--outline-red { width: 100%; text-align: center; }
}

/* 5th reveal delay */
.reveal--delay-5 { transition-delay: .58s; }

/* ===========================
   PROSES SELEKSI SECTION
   =========================== */
.seleksi {
  padding: 100px 0 90px;
  background: #111827;  /* dark navy */
  position: relative;
  overflow: hidden;
}

/* Background decorative blobs */
.seleksi::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,31,31,.12) 0%, transparent 65%);
  top: -200px; right: -180px;
  pointer-events: none;
}
.seleksi::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,31,31,.08) 0%, transparent 65%);
  bottom: -120px; left: -100px;
  pointer-events: none;
}

/* Override shared text colors for dark bg */
.seleksi-badge {
  display: inline-block;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.18);
  letter-spacing: .3px;
  margin-bottom: 4px;
}

.seleksi__title {
  color: #ffffff !important;
}

.seleksi__subtitle {
  color: rgba(255,255,255,.55) !important;
}

/* Steps container */
.seleksi__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
  margin-bottom: 60px;
  position: relative;
}

/* Connector line between cards */
.seleksi__line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(204,31,31,.6), rgba(204,31,31,.2));
  margin-top: 72px;   /* align with center of icon */
  position: relative;
}

/* Step card */
.seleksi-card {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 22px 18px 24px;
  position: relative;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.seleksi-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(204,31,31,.5);
  transform: translateY(-5px);
}

/* Numbered badge top-right */
.seleksi-card__num {
  position: absolute;
  top: -14px;
  right: 14px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(204,31,31,.55);
  letter-spacing: .5px;
}

/* Icon square */
.seleksi-card__icon {
  width: 52px; height: 52px;
  background: rgba(204,31,31,.18);
  color: var(--red);
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(204,31,31,.3);
}

/* Title */
.seleksi-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -.2px;
}

/* Description */
.seleksi-card__desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
}

/* Dot on the right connector side */
.seleksi-card__dot {
  position: absolute;
  right: -9px;
  top: 68px;  /* same level as connector line */
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #111827;
  box-shadow: 0 0 0 2px var(--red);
  z-index: 2;
}

/* CTA area */
.seleksi__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.seleksi__duration {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

/* Solid red button (explicit override for dark bg) */
.btn--red-solid {
  background: var(--red) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(204,31,31,.5);
  padding: 15px 48px;
  font-size: 16px;
}
.btn--red-solid:hover {
  background: var(--red-dark) !important;
  box-shadow: 0 6px 28px rgba(204,31,31,.65);
  transform: translateY(-2px);
}

/* Seleksi responsive */
@media (max-width: 1024px) {
  .seleksi-card { width: 150px; padding: 18px 14px 20px; }
  .seleksi-card__title { font-size: 13px; }
  .seleksi-card__desc { font-size: 12px; }
}

@media (max-width: 768px) {
  .seleksi__steps {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 40px;
  }
  .seleksi-card { width: 100%; max-width: 420px; margin-inline: auto; }
  .seleksi__line {
    width: 2px;
    height: 28px;
    margin-top: 0;
    margin-inline: auto;
    background: linear-gradient(180deg, rgba(204,31,31,.6), rgba(204,31,31,.2));
  }
  .seleksi-card__dot { display: none; }
}

/* ===========================
   DISTRIBUSI WILAYAH SECTION
   =========================== */
.distribusi {
  padding: 100px 0 90px;
  background: var(--white);
}

.distribusi__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* --- Left: map wrap --- */
.distribusi__map-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.distribusi__map-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: var(--shadow-lg);
}

/* Stats overlay card at bottom of image */
.distribusi__stats-card {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--gray-200);
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  border-radius: 0 0 20px 20px;
}

.dist-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dist-stat__value {
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -1px;
  line-height: 1;
}

.dist-stat__label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

/* --- Right: content --- */
.distribusi__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Small loc badge */
.dist-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-light);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1.5px solid #fca5a5;
  width: fit-content;
}

.distribusi__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 1.2;
}

.distribusi__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--red);
}

.distribusi__highlight {
  color: var(--red);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .distribusi__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .distribusi__map-img { height: 300px; }
  .distribusi { padding: 72px 0 60px; }
}
@media (max-width: 480px) {
  .distribusi__stats-card {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    padding: 14px 16px;
  }
  .dist-stat__value { font-size: 18px; }
}

/* ===========================
   PLATFORM DIGITAL SECTION
   =========================== */
.platform {
  padding: 100px 0 90px;
  background: var(--gray-100);
}

/* Badge */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red-light);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  border: 1.5px solid #fca5a5;
  letter-spacing: .3px;
}

/* Image wrap */
.platform__img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.platform__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* Stats row BELOW image – standalone cards */
.platform__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 48px;
}

/* Individual stat card – standalone */
.platform-stat {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.platform-stat:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Colored icon */
.platform-stat__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.platform-stat__icon--red    { background: #fef2f2; color: #dc2626; }
.platform-stat__icon--green  { background: #f0fdf4; color: #16a34a; }
.platform-stat__icon--blue   { background: #eff6ff; color: #2563eb; }
.platform-stat__icon--purple { background: #faf5ff; color: #9333ea; }

.platform-stat__value {
  font-size: 20px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

.platform-stat__label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

/* Platform responsive */
@media (max-width: 768px) {
  .platform__img { height: 320px; }
  .platform__stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .platform__img { height: 240px; }
  .platform-stat__value { font-size: 16px; }
  .platform-stat { padding: 14px; }
  .platform__stats-row { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   DASHBOARD FEATURE CARDS
   =========================== */
.dash__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.dash-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 18px;
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.dash-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #fca5a5;
}

.dash-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dash-card__icon--red    { background: var(--red);    color: #fff; }
.dash-card__icon--blue   { background: #2563eb;       color: #fff; }
.dash-card__icon--green  { background: #16a34a;       color: #fff; }

.dash-card__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.3px;
}

.dash-card__sub {
  font-size: 13.5px;
  color: var(--red);
  font-weight: 500;
  line-height: 1.5;
}

.dash-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.dash-card__list li {
  font-size: 13.5px;
  color: var(--gray-700);
  font-weight: 500;
  padding-left: 24px;
  position: relative;
}
/* Green checkmark */
.dash-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Dashboard responsive */
@media (max-width: 900px) {
  .dash__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .dash__grid { max-width: 100%; }
  .dash-card { padding: 22px 18px; }
}

/* ===========================
   PLATFORM BANNER (RED)
   =========================== */
.platform-banner {
  background: var(--red);
  border-radius: 18px;
  padding: 40px 48px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(204,31,31,.35);
}

.platform-banner__title {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -.4px;
  margin-bottom: 10px;
}

.platform-banner__desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
}
.platform-banner__desc strong {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 600px) {
  .platform-banner { padding: 28px 24px; }
  .platform-banner__title { font-size: 18px; }
  .platform-banner__desc { font-size: 14px; }
  .platform-banner__desc br { display: none; }
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #0d1117;
  padding-top: 72px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,31,31,.5), transparent);
}

/* 4-column grid */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
}

/* Brand col */
.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer__brand-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.footer__brand-sub {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}
.footer__brand-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
}

/* Link columns */
.footer__col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: .1px;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--red); }

/* Admin login link with arrow */
.footer__admin-link {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  color: var(--red) !important;
  font-weight: 600 !important;
}

/* Contact list */
.footer__contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  line-height: 1.6;
}
.footer__contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}

/* Social icons */
.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__social {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.footer__social:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Divider */
.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 0 0 40px;
}

/* Partner logos */
.footer__partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-bottom: 40px;
}
.footer__partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer__partner-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.7);
  letter-spacing: .5px;
}
.footer__partner-logo--bumn { color: #16a34a; border-color: rgba(22,163,74,.3); }
.footer__partner-logo--kdmp { color: var(--red); border-color: rgba(204,31,31,.3); }
.footer__partner-name {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  font-weight: 500;
  text-align: center;
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
}
.footer__copy {
  font-size: 12.5px;
  color: rgba(255,255,255,.3);
}
.footer__bottom-links {
  display: flex;
  gap: 24px;
}
.footer__bottom-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__bottom-links a:hover { color: rgba(255,255,255,.7); }

/* Footer responsive */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__partners { gap: 28px; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer__partners { flex-wrap: wrap; gap: 20px; }
}
