
:root {
  --ink: #130d0d;
  --paper: #faf8f4;
  --white: #ffffff;
  --red: #b7161d;
  --red-dark: #8c1015;
  --gold: #d4a74f;
  --muted: #6d625d;
  --line: rgba(19,13,13,.10);
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand-icon {
  width: 31px;
  height: 31px;
  object-fit: cover;
}

.brand-wordmark {
  width: 84px;
  height: 23px;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--red);
}

.program-hero {
  padding: 46px 0 24px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: #a16e18;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.program-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.03em;
}

.lead {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--muted);
}

.program-list-section {
  padding: 10px 0 82px;
}

.program-list {
  max-width: 900px;
  display: grid;
  gap: 22px;
}

.program-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 48% 52%;
  border-radius: 18px;
  background: #201919;
  box-shadow: 0 14px 32px rgba(24,12,12,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(24,12,12,.13);
}

.program-card__overlay {
  position: relative;
  z-index: 3;
  min-height: 210px;
  padding: 29px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.theme-red .program-card__overlay {
  background: linear-gradient(110deg, rgba(183,22,29,.97), rgba(183,22,29,.85));
}

.theme-dark .program-card__overlay {
  background: linear-gradient(110deg, rgba(35,35,35,.97), rgba(35,35,35,.88));
}

.program-number {
  position: absolute;
  right: 18px;
  top: 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: rgba(255,255,255,.16);
}

.program-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.02;
  letter-spacing: -.02em;
}

.program-card p {
  max-width: 350px;
  margin: 11px 0 0;
  color: rgba(255,255,255,.80);
  font-size: 12px;
}

.program-card__visual {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 15%, rgba(212,167,79,.20), transparent 28%),
    linear-gradient(145deg, #332525, #110b0b);
}

.program-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.12), transparent 40%);
  pointer-events: none;
}

/* visual reseller */
.visual-box {
  position: absolute;
  width: 132px;
  height: 92px;
  border: 2px solid rgba(212,167,79,.55);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(183,22,29,.26), transparent),
    #171313;
  box-shadow: 0 16px 25px rgba(0,0,0,.25);
}
.box-a { right: 50px; top: 25px; transform: rotate(7deg); }
.box-b { right: 165px; top: 77px; transform: rotate(-8deg); }
.box-c { right: 24px; bottom: 12px; transform: rotate(-3deg); }

/* B2B */
.visual-b2b {
  background: linear-gradient(145deg,#0c2132,#162f3d);
}
.visual-stack {
  position: absolute;
  width: 150px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(90deg,#154b6a,#0e2737);
  box-shadow: 0 15px 25px rgba(0,0,0,.25);
}
.stack-1 { right: 40px; top: 30px; transform: rotate(7deg); }
.stack-2 { right: 135px; top: 90px; transform: rotate(-6deg); }
.stack-3 { right: 28px; bottom: 18px; }

/* partner */
.visual-partner {
  background:
    repeating-linear-gradient(90deg,#1d1d1d 0 30px,#282828 30px 34px),
    #1b1b1b;
}
.shop {
  position: absolute;
  bottom: 25px;
  width: 78px;
  height: 90px;
  background: #181818;
  border: 2px solid rgba(212,167,79,.45);
  border-radius: 5px 5px 0 0;
}
.shop::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 12px;
  height: 25px;
  background: rgba(183,22,29,.7);
}
.shop-1 { right: 210px; }
.shop-2 { right: 120px; height: 110px; }
.shop-3 { right: 30px; height: 82px; }

/* wakaf */
.visual-wakaf {
  background: linear-gradient(145deg,#eee9df,#bfc7ca);
}
.wakaf-badge {
  position: absolute;
  right: 38px;
  top: 30px;
  color: #35698a;
  font-weight: 900;
  letter-spacing: .08em;
}
.songkok-shape {
  position: absolute;
  width: 130px;
  height: 88px;
  border-radius: 48% 48% 18px 18px;
  background: linear-gradient(180deg,#1f1f1f,#080808);
  box-shadow: 0 18px 30px rgba(0,0,0,.22);
}
.songkok-one { right: 55px; bottom: 25px; }
.songkok-two { right: 175px; bottom: 42px; transform: scale(.72); }

/* merah putih */
.visual-merah-putih {
  background: #eee;
}
.flag-red,
.flag-white {
  position: absolute;
  right: 0;
  width: 100%;
  height: 50%;
}
.flag-red { top: 0; background: #b7161d; }
.flag-white { bottom: 0; background: #f4f1ec; }
.people-row {
  position: absolute;
  left: 38px;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.people-row span {
  width: 34px;
  height: 84px;
  border-radius: 16px 16px 5px 5px;
  background: linear-gradient(#f5f5f5 0 55%,#b7161d 55%);
  box-shadow: 0 9px 14px rgba(0,0,0,.16);
}

/* paskibra */
.visual-paskibra {
  background:
    radial-gradient(circle at 70% 20%,rgba(183,22,29,.42),transparent 26%),
    #160d0d;
}
.songkok-large {
  right: 100px;
  top: 55px;
  width: 190px;
  height: 116px;
}
.ribbon {
  position: absolute;
  width: 250px;
  height: 42px;
  right: 52px;
  bottom: 16px;
  background: #8d0f15;
  transform: rotate(-7deg);
  opacity: .85;
}

/* affiliate */
.visual-affiliate {
  background: linear-gradient(145deg,#2b558e,#458fb7);
}
.phone {
  position: absolute;
  width: 88px;
  height: 155px;
  right: 84px;
  top: 27px;
  border-radius: 14px;
  background: #101820;
  border: 5px solid #151515;
  box-shadow: 0 18px 26px rgba(0,0,0,.25);
}
.phone::after {
  content: "P";
  position: absolute;
  inset: 22px 10px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg,#b7161d,#d4a74f);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}
.affiliate-dot {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 9px 20px rgba(0,0,0,.17);
}
.dot-1 { right: 210px; top: 35px; }
.dot-2 { right: 225px; bottom: 30px; width: 56px; height: 56px; }
.dot-3 { right: 30px; top: 75px; }

.site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: #bfb1aa;
  font-size: 11px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 820px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .program-card {
    grid-template-columns: 46% 54%;
  }
}

@media (max-width: 650px) {
  .navbar {
    min-height: 68px;
  }

  .main-nav {
    overflow-x: auto;
    margin-left: 10px;
    gap: 17px;
    padding-bottom: 3px;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .program-hero {
    padding-top: 34px;
  }

  .program-card {
    min-height: 330px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .program-card__overlay,
  .program-card__visual {
    min-height: 160px;
  }

  .program-card__overlay {
    padding: 24px;
  }

  .program-card__visual {
    min-height: 170px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
