:root {
  --ink: #17231d;
  --muted: #5d6b63;
  --soft: #f6f8f4;
  --surface: #ffffff;
  --line: #dfe6dc;
  --primary: #166534;
  --primary-2: #0f5132;
  --accent: #d6a329;
  --accent-2: #f3d47b;
  --primary-rgb: 22, 101, 52;
  --primary-2-rgb: 15, 81, 50;
  --accent-rgb: 214, 163, 41;
  --accent-2-rgb: 243, 212, 123;
  --danger: #b42318;
  --success: #147a45;
  --shadow: 0 16px 50px rgba(23, 35, 29, 0.11);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, backdrop-filter 0.32s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(23, 35, 29, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header:not(.scrolled) .nav-links a:not(.nav-spotlight),
.site-header:not(.scrolled) .nav-dropdown summary {
  color: rgba(255, 255, 255, 0.92);
}

.site-header:not(.scrolled) .nav-dropdown summary::before,
.site-header:not(.scrolled) .nav-links > a:not(.nav-spotlight)::before {
  background: rgba(255, 255, 255, 0.75);
}

.site-header:not(.scrolled) .brand-text strong {
  color: #fff;
}

.site-header:not(.scrolled) .brand-text span {
  color: rgba(255, 255, 255, 0.72);
}

.site-header:not(.scrolled) .menu-button {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Dropdown menu always uses dark text — override the white-text from transparent header */
.site-header:not(.scrolled) .nav-links .nav-dropdown-menu a {
  color: var(--ink);
}

.site-header:not(.scrolled) .nav-links .nav-dropdown-menu a:hover {
  color: var(--primary);
}

.topbar {
  display: none;
}

.topbar .wrap {
  min-height: 34px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.mainnav {
  min-height: 72px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
  align-self: center;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 52px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links a,
.nav-dropdown summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #31453a;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-dropdown {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nav-dropdown summary {
  position: relative;
  list-style: none;
  cursor: pointer;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary:focus {
  outline: 0;
  box-shadow: none;
}

.nav-dropdown summary::before,
.nav-links > a:not(.nav-spotlight)::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-links > a:not(.nav-spotlight) {
  position: relative;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 4px;
  flex-shrink: 0;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.nav-dropdown:hover summary::after,
.nav-dropdown[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links > a:not(.nav-spotlight):hover,
.nav-dropdown:hover summary {
  background: transparent;
  color: var(--primary);
}

.nav-links > a:not(.nav-spotlight):hover::before,
.nav-dropdown:hover summary::before {
  opacity: 1;
  transform: scaleX(1);
}

.nav-dropdown.active summary,
.nav-dropdown[open] summary {
  background: transparent;
}

.nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 60;
  min-width: 210px;
  display: grid;
  gap: 4px;
  padding: 14px 8px 8px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  /* Hidden by default — shown via hover (desktop) or [open] (touch/mobile) */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}

/* Desktop hover — class added/removed via JS mouseenter/mouseleave with timer */
.nav-dropdown.hover-open > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Touch/click: show when [open] */
.nav-dropdown[open] > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-dropdown-menu a {
  justify-content: flex-start;
  width: 100%;
  border-radius: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.nav-dropdown-menu a:hover {
  background: #eaf3ec;
  color: var(--primary);
}

.nav-links a.nav-spotlight {
  min-height: 36px;
  margin-left: 10px;
  padding: 0 16px;
  gap: 7px;
  background: linear-gradient(135deg, #1a7a42 0%, var(--primary) 60%, #0f5c34 100%);
  color: #fff;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(22, 101, 52, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.16s ease, color 0.22s ease;
}

.nav-links a.nav-spotlight svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.nav-links a.nav-spotlight:hover,
.nav-links a.nav-spotlight.active {
  background: linear-gradient(135deg, #d6a32a 0%, var(--accent) 55%, #c8941e 100%);
  color: #1c1200;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 22px rgba(214, 163, 41, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--primary);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

@media (max-width: 1120px) {
  .menu-button {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 70;
  }

  .menu-button span {
    margin: 0;
  }

  .nav-links {
    position: fixed;
    inset: 78px 12px auto;
    z-index: 65;
    display: none;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links > a,
  .nav-links > .nav-dropdown {
    width: 100%;
    min-width: 0;
  }

  .nav-links a,
  .nav-dropdown summary {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid #e4ece2;
    border-radius: var(--radius);
    background: #f8fbf7;
    color: var(--ink);
    font-size: 0.9rem;
    text-align: center;
  }

  .site-header:not(.scrolled) .nav-links a:not(.nav-spotlight),
  .site-header:not(.scrolled) .nav-dropdown summary {
    color: var(--ink);
  }

  .nav-dropdown {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    gap: 8px;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid #e4ece2;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    display: none;
  }

  .nav-dropdown[open] > .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown[open] summary {
    background: #edf6ef;
    border-color: #cfe3d4;
    color: var(--primary);
  }

  .nav-dropdown-menu a {
    min-height: 40px;
    background: #fff;
    font-size: 0.86rem;
    font-weight: 650;
  }

  .nav-links a.nav-spotlight {
    grid-column: 1 / -1;
    min-height: 44px;
    margin-left: 0;
    border: 0;
    border-radius: 999px;
  }
}

@media (max-width: 640px) {
  body.menu-open .nav-links {
    grid-template-columns: 1fr;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: start;
  overflow: hidden;
  color: #fff;
  background-color: var(--primary-2);
}

/* slideshow slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

/* dark gradient overlay — sits above slides */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(var(--primary-2-rgb), 0.92) 0%,
      rgba(var(--primary-2-rgb), 0.72) 26%,
      rgba(var(--primary-rgb), 0.28) 54%,
      transparent 78%
    ),
    linear-gradient(
      to top,
      rgba(var(--primary-2-rgb), 0.40) 0%,
      transparent 35%
    );
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(0deg, var(--soft), transparent);
  pointer-events: none;
  z-index: 3;
}

/* ── Hero default color-background mode (no slides uploaded) ── */
.hero-color-bg {
  background-image:
    radial-gradient(ellipse 65% 55% at 84% 14%, rgba(22,163,74,0.22) 0%, transparent 62%),
    radial-gradient(ellipse 45% 45% at 4% 90%, rgba(5,150,105,0.18) 0%, transparent 58%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20L20 0L40 20L20 40Z' fill='none' stroke='white' stroke-opacity='0.045' stroke-width='1'/%3E%3C/svg%3E");
  background-size: auto, auto, 40px 40px;
}

.hero-color-bg .hero-overlay {
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.08) 50%,
    rgba(0, 0, 0, 0.00) 100%
  );
}

/* Decorative pattern layer */
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hp-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.10);
}

.hp-ring-1 {
  width: 560px;
  height: 560px;
  top: -210px;
  right: -150px;
}

.hp-ring-2 {
  width: 380px;
  height: 380px;
  top: -60px;
  right: 80px;
}

.hp-ring-3 {
  width: 210px;
  height: 210px;
  top: 60px;
  right: 235px;
  border-color: rgba(255, 255, 255, 0.07);
}

.hp-ring-4 {
  width: 180px;
  height: 180px;
  bottom: 60px;
  left: 6%;
  border-color: rgba(255, 255, 255, 0.06);
}

.hp-glow {
  position: absolute;
  border-radius: 50%;
}

.hp-glow-1 {
  width: 480px;
  height: 480px;
  top: -180px;
  right: -100px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.14) 0%, transparent 68%);
}

.hp-glow-2 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 65%);
}

.hero .wrap {
  width: min(1180px, calc(100% - 32px));
  position: relative;
  z-index: 2;
  padding: 94px 0 72px;
}

.hero-content {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Hero eyebrow — minimal, no badge */
.hero .eyebrow {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  gap: 12px;
  margin-bottom: 18px;
}

.hero .eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.eyebrow.dark {
  background: #edf6ef;
  border-color: #cce4d4;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 7vw, 5.7rem);
  line-height: 0.95;
  max-width: 760px;
}

.hero h1 {
  margin-top: 4px;
  font-size: clamp(2.6rem, 4.2vw, 3.9rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

p {
  line-height: 1.68;
}

.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
  max-width: 650px;
}

.hero .lead {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.72;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}

.section-lead {
  color: var(--muted);
  max-width: 100%;
  margin: 10px 0 0;
  font-size: 0.95rem;
  text-align: justify;
}

.cta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  background: var(--accent);
  color: #1f1a07;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.28);
}

.btn.primary:hover {
  background: var(--accent-2);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.36);
}

.btn.green {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.22);
}

.btn.green:hover {
  background: var(--primary-2);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.30);
}

.btn.danger {
  background: #dc2626;
  color: #fff;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn.light {
  border-color: var(--line);
  background: #fff;
  color: var(--primary);
}

.btn.full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.48;
  pointer-events: none;
  cursor: not-allowed;
}

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 52px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 18px 8px;
  width: fit-content;
}

.stat {
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: none;
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

/* ── Hero body layout ── */
.hero-body {
  display: flex;
  flex-direction: column;
  max-width: 560px;
}

.section {
  padding: 88px 0;
  border-top: 1px solid transparent;
}

/* Batas tipis antar section yang berdampingan (sama bg) */
.section + .section {
  border-top-color: var(--line);
}

/* Kalau bg berbeda, hilangkan border */
.section.white + .section:not(.white),
.section:not(.white) + .section.white {
  border-top-color: transparent;
}

.section.tight {
  padding: 48px 0;
}

.section.white {
  background: #fff;
}

.section.green {
  background: #0f5132;
  color: #fff;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 30px;
}

.section-head > select {
  width: auto;
  align-self: flex-start;
  padding: 7px 32px 7px 12px;
  font-size: 0.85rem;
  cursor: pointer;
}

.grid {
  display: grid;
  gap: 18px;
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.promo-grid > .promo-card {
  flex: 0 0 210px;
  width: 210px;
}

.card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(23, 35, 29, 0.04), 0 1px 0 rgba(23, 35, 29, 0.02);
}

.card.pad {
  padding: 24px;
}

.card.hover {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card.hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(23, 35, 29, 0.10);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.metric {
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: #fff;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 2px 8px rgba(23, 35, 29, 0.05);
  transition: border-left-color 0.2s, box-shadow 0.2s;
}

.metric:hover {
  border-left-color: var(--primary);
  box-shadow: 0 4px 16px rgba(22, 101, 52, 0.10);
}

.metric strong {
  display: block;
  color: var(--primary);
  font-size: 1.55rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ── Stat cards: transparent glass, used in profil & about sections ── */
.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.50);
  border: 1px solid rgba(22, 101, 52, 0.10);
  box-shadow: 0 4px 24px rgba(22, 101, 52, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(22, 101, 52, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(22, 101, 52, 0.22);
}

.stat-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.10), rgba(22, 101, 52, 0.05));
  margin-bottom: 14px;
  color: var(--primary);
}

.stat-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
}

.stat-card-value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 7px;
}

.stat-card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card {
  display: grid;
  gap: 16px;
  min-height: 270px;
  cursor: pointer;
  border-top: 3px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-top-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(22, 101, 52, 0.13);
}

.product-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

/* ── Deskripsi sebagai bullet list ── */
.desc-bullets {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.desc-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.desc-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
}

.desc-bullets li.desc-more {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.desc-bullets li.desc-more::before {
  display: none;
}

/* Modal: bullets sedikit lebih besar */
.product-modal-body .desc-bullets li {
  font-size: 0.95rem;
  color: #374151;
  gap: 6px;
}

.product-modal-body .desc-bullets {
  gap: 8px;
}

.icon-tile {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f3ea 0%, #fdf7e3 100%);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(22, 101, 52, 0.10);
}

.icon-tile-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex-shrink: 0;
}

.tag,
.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6f0;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.badge.gold {
  background: #fbf1d0;
  color: #775711;
}

.badge.red {
  background: #fee4e2;
  color: var(--danger);
}

.badge.gray {
  background: #eef1ef;
  color: #46534b;
}

.muted {
  color: var(--muted);
}

/* ============================================================
   OFFICIALS SECTION — Circular Photo Cards (like reference)
   ============================================================ */

.official-section {
  margin-bottom: 52px;
}

.official-section:last-child {
  margin-bottom: 0;
}

.official-section-head {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.official-section-icon {
  display: none;
}

.official-section-head h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  line-height: 1.2;
}

.official-section-head p {
  color: var(--muted);
  font-size: 0.83rem;
  margin: 6px 0 0;
}

.official-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 210px));
  gap: 22px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Official card: full-photo with slide-up detail panel on hover ── */
.official-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  cursor: default;
  box-shadow: 0 2px 10px rgba(22, 101, 52, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  background: linear-gradient(155deg, #dff0e4 0%, #f0f8f2 50%, #fdf3d0 100%);
}

.official-card:hover,
.official-card:focus {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(22, 101, 52, 0.18);
  outline: none;
}

/* Full-bleed background photo */
.official-photo-full {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.official-photo-full > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.38s ease;
  display: block;
}

.official-card:hover .official-photo-full > img,
.official-card:focus .official-photo-full > img {
  transform: scale(1.05);
}

/* Initial placeholder when no photo */
.official-initial {
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.25;
  letter-spacing: -0.02em;
  user-select: none;
}

/* Name/role strip always visible at bottom */
.official-label {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 14px 15px;
  background: linear-gradient(0deg, rgba(8, 42, 26, 0.90) 0%, rgba(8, 42, 26, 0.55) 55%, transparent 100%);
  z-index: 1;
  transition: opacity 0.26s ease;
}

.official-card:hover .official-label,
.official-card:focus .official-label {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.official-label .official-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  line-height: 1.25;
}

.official-label .official-role-label {
  font-size: 0.73rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* Dark overlay detail panel — foto tetap terlihat di balik overlay */
.official-detail {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(4, 20, 13, 0.97) 0%,
    rgba(8, 42, 26, 0.90) 42%,
    rgba(8, 42, 26, 0.55) 70%,
    rgba(8, 42, 26, 0.08) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 13px 14px;
  opacity: 0;
  transition: opacity 0.26s ease;
  z-index: 2;
}

.official-card:hover .official-detail,
.official-card:focus .official-detail {
  opacity: 1;
}

/* Foto lingkaran di dalam panel — sembunyikan, foto sudah ada di balik overlay */
.official-detail-photo {
  display: none;
}

/* Nama di dalam overlay — putih */
.official-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.25;
}

/* Jabatan di dalam overlay — emas lembut */
.official-role-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.03em;
  margin: 0;
}

/* Bio — area scrollable di dalam overlay */
.official-detail-bio {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  overflow-y: auto;
  max-height: 80px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.official-detail-bio::-webkit-scrollbar {
  width: 3px;
}

.official-detail-bio::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 99px;
}

.official-detail-bio p,
.official-detail-bio ul,
.official-detail-bio ol,
.official-detail-bio li {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.official-detail-bio p {
  white-space: pre-line;
}

.official-detail-bio ul,
.official-detail-bio ol {
  padding-left: 1.1em;
  list-style: disc;
}

.official-detail-bio li {
  margin-bottom: 2px;
  list-style: inherit;
}

/* Home page officials group label */
.officials-group-label {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  display: block;
  width: fit-content;
  margin: 0 0 18px;
  padding: 0 0 9px;
  border: none;
  border-radius: 0;
  background: none;
  border-bottom: 2.5px solid var(--primary);
}

.officials-grid + .officials-group-label {
  margin-top: 40px;
}

.officials-cta,
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* Home page compact officials strip */
.officials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 20px;
}

/* ── Partner Logo Grid ── */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(22, 101, 52, 0.10);
  border-color: rgba(22, 101, 52, 0.22);
}

.partner-logo-wrap {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-wrap img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter 0.2s ease;
}

a.partner-card:hover .partner-logo-wrap img {
  filter: grayscale(0);
}

.partner-initial {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.35;
  letter-spacing: -0.02em;
}

.partner-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin: 0;
  line-height: 1.35;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: #f4f8f3;
  color: #2c4335;
  font-size: 0.82rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.map-shell {
  min-height: 350px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.map-shell iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}

.page-hero {
  padding: 120px 0 58px;
  color: #fff;
  background-color: var(--primary-2);
  background-image:
    linear-gradient(90deg, rgba(var(--primary-2-rgb), 0.94), rgba(var(--primary-rgb), 0.74)),
    var(--hero-bg, none);
  background-size: auto, cover;
  background-position: center, center;
}

.page-hero-actions {
  margin-top: 24px;
}

.page-hero.requirements {
  background-image:
    linear-gradient(90deg, rgba(var(--primary-2-rgb), 0.94), rgba(var(--primary-rgb), 0.62)),
    var(--hero-bg, none);
}

.page-hero.career {
  background-image:
    linear-gradient(90deg, rgba(var(--primary-2-rgb), 0.96), rgba(var(--primary-rgb), 0.62)),
    var(--hero-bg, none);
}

/* ── Requirements tab toggle ── */
.req-tabs {
  display: inline-flex;
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  margin-bottom: 32px;
}

.req-tab {
  padding: 9px 28px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  background: #fff;
  transition: background 0.18s, color 0.18s;
  border: none;
}

.req-tab + .req-tab {
  border-left: 1.5px solid var(--line);
}

.req-tab.active {
  background: var(--primary);
  color: #fff;
}

.req-tab:hover:not(.active) {
  background: var(--soft);
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.admin-color-field {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.admin-color-field label {
  grid-column: 1 / -1;
}

.admin-color-field input[type="color"] {
  width: 68px;
  height: 42px;
  padding: 4px;
}

.admin-color-field code {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
  color: var(--ink);
  font-weight: 750;
}

.admin-color-chip {
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: 8px;
  border: 1px solid rgba(23, 35, 29, 0.18);
  border-radius: 50%;
  background: var(--chip-color, var(--primary));
  vertical-align: -4px;
}

.admin-theme-preview {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--preview-primary) 14%, transparent), color-mix(in srgb, var(--preview-accent) 14%, transparent)),
    #fff;
}

.admin-theme-overview {
  margin-top: -2px;
}

.admin-theme-sample {
  min-height: 72px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-content: center;
  column-gap: 12px;
  padding: 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--preview-primary), var(--preview-primary-2));
  color: #fff;
  overflow: hidden;
}

.admin-theme-sample span {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--preview-accent), var(--preview-accent-2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.admin-theme-sample strong,
.admin-theme-sample small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-theme-sample strong {
  align-self: end;
  font-size: 0.98rem;
}

.admin-theme-sample small {
  align-self: start;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-theme-palette {
  display: flex;
  align-items: center;
  gap: 7px;
}

.admin-theme-palette span {
  width: 34px;
  height: 34px;
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #dbe5f0, 0 8px 18px rgba(16, 24, 39, 0.12);
}

.admin-theme-buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-theme-buttons span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-theme-buttons span:first-child {
  background: var(--preview-primary);
}

.admin-theme-buttons span:last-child {
  background: var(--preview-accent);
  color: #1f1a07;
}

label {
  font-weight: 750;
  color: #263a2f;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd8cf;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.12);
}

.field small,
.error {
  color: var(--muted);
  font-size: 0.82rem;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
}

.field.invalid .error {
  color: var(--danger);
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.filterbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.filterbar select,
.filterbar input {
  width: min(240px, 100%);
}

.job-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.87rem;
}

.status-open {
  background: #dcfae6;
  color: var(--success);
}

.status-closed {
  background: #fee4e2;
  color: var(--danger);
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-stack section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-stack ul {
  margin: 12px 0 0;
  padding-left: 20px;
  line-height: 1.75;
}

.sim-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.sim-panel {
  position: sticky;
  top: 102px;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 12px;
  align-items: center;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--primary);
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.radio-tile {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.radio-tile input {
  width: 18px;
}

.result-hero {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), #1b7b42);
  color: #fff;
}

.result-hero strong {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.result-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.chart {
  min-height: 260px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.pie {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 var(--principalDeg), var(--accent) var(--principalDeg) 360deg);
  box-shadow: inset 0 0 0 34px #fff, 0 0 0 1px var(--line);
}

.legend {
  display: grid;
  gap: 10px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--primary);
}

.swatch.gold {
  background: var(--accent);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.accordion {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 17px 19px;
  font-weight: 850;
}

details .details-body {
  padding: 0 19px 19px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  min-height: 230px;
  display: grid;
  align-content: end;
  padding: 18px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15, 81, 50, 0.1), rgba(214, 163, 41, 0.1));
  color: #fff;
  text-align: left;
  position: relative;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gallery-bg);
  background-position: center 68%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 45, 28, 0.72), rgba(8, 45, 28, 0.08) 58%, rgba(8, 45, 28, 0.02));
}

.gallery-item:hover::before {
  transform: scale(1.08);
}

.gallery-item span,
.gallery-item strong {
  position: relative;
  z-index: 1;
}

.gallery-item strong {
  font-size: 1.1rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 19, 13, 0.72);
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(820px, 100%);
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-image {
  min-height: 430px;
  background-image: var(--gallery-bg);
  background-position: center 68%;
  background-repeat: no-repeat;
  background-size: cover;
}

.modal-body {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  place-items: start center;
  padding: 32px 16px;
  background: rgba(7, 19, 13, 0.75);
  overflow-y: auto;
}

.promo-modal.open {
  display: grid;
}

.promo-modal-card {
  position: relative;
  width: min(720px, 100%);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
}

.promo-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #166534;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}

.promo-modal-close:hover {
  background: #fff;
  color: #0f5132;
}

.promo-modal-cover {
  height: 260px;
  background: center/cover no-repeat #e5e7eb;
}

.promo-modal-body {
  padding: 28px 32px 36px;
}

.promo-modal-body .article-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.promo-modal-body h2 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 18px;
}

.promo-modal-content {
  color: #374151;
  line-height: 1.78;
  font-size: 0.97rem;
}

.promo-article-body p {
  margin: 0 0 1.1em;
}

.promo-article-body p:last-child {
  margin-bottom: 0;
}

.promo-modal-body .article-meta {
  flex-wrap: wrap;
  row-gap: 6px;
}

/* ── Promo Banner Cards ── */
.promo-card {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #0d3d22;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.20);
}

.promo-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  transform: translateY(-5px);
}

/* media wrapper — clip + zoom effect */
.promo-card-media {
  position: relative;
  overflow: hidden;
}

/* real <img> — shows full image, no crop */
.promo-card-img-el {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.promo-card:hover .promo-card-img-el,
.promo-card:focus-visible .promo-card-img-el {
  transform: scale(1.05);
}

/* no-image placeholder */
.promo-card-no-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(148deg, #092b17 0%, #124d28 42%, #1a6b38 80%, #0f5132 100%);
  position: relative;
}

.promo-card-no-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* gradient over bottom of image */
.promo-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(
    to top,
    rgba(4, 17, 9, 0.95) 0%,
    rgba(4, 17, 9, 0.70) 35%,
    rgba(4, 17, 9, 0.20) 65%,
    transparent 100%
  );
  pointer-events: none;
}

/* text body — over the gradient */
.promo-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.promo-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-card-badge {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(6px);
  line-height: 1.6;
}

.promo-card-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.promo-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.34;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.promo-card:hover .promo-card-cta,
.promo-card:focus-visible .promo-card-cta {
  color: #fff;
  gap: 9px;
}

.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 50px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.wa-fab-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.wa-fab-label {
  letter-spacing: 0.01em;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  width: min(390px, calc(100% - 36px));
  display: none;
  padding: 15px 17px;
  border-radius: var(--radius);
  background: #10291d;
  color: #fff;
  box-shadow: var(--shadow);
}

.toast.show {
  display: block;
}

.public-toast {
  left: 50%;
  right: auto;
  bottom: auto;
  top: 50%;
  z-index: 121;
  width: min(620px, calc(100% - 32px));
  min-height: 120px;
  padding: 26px 28px 26px 92px;
  border: 1px solid rgba(25, 135, 84, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(25, 135, 84, 0.12), rgba(242, 187, 67, 0.1)),
    #fff;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 760;
  line-height: 1.55;
  transform: translate(-50%, -50%);
  box-shadow: 0 34px 110px rgba(7, 19, 13, 0.34);
}

.public-toast::before {
  content: "INFO";
  position: absolute;
  left: 24px;
  top: 26px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #198754;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
}

.status-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(7, 19, 13, 0.68);
  backdrop-filter: blur(5px);
}

.status-modal.open {
  display: grid;
}

.status-card {
  position: relative;
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 18px;
  padding: 34px;
  border: 1px solid rgba(25, 135, 84, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(25, 135, 84, 0.11), rgba(242, 187, 67, 0.1)),
    #fff;
  box-shadow: 0 34px 110px rgba(7, 19, 13, 0.34);
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  border-radius: 18px 18px 0 0;
  background: #198754;
}

.status-card.error {
  border-color: rgba(220, 38, 38, 0.2);
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(242, 187, 67, 0.06)),
    #fff;
}

.status-card.error::before {
  background: #dc2626;
}

.status-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border: 1px solid #dbe5df;
  border-radius: 50%;
  background: #fff;
  color: #344054;
  cursor: pointer;
}

.status-icon {
  grid-row: span 4;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #198754;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.status-card.error .status-icon {
  background: #dc2626;
}

.status-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.05;
}

.status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.status-detail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.status-detail div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #dbe5df;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.status-detail span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.status-detail strong {
  color: var(--ink);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.status-card .btn {
  grid-column: 2;
  justify-self: start;
  min-width: 160px;
  margin-top: 4px;
}

.footer {
  background: #0c2619;
  color: #e9f5ed;
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 32px;
}

.footer a {
  color: #e9f5ed;
}

.footer ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(233, 245, 237, 0.7);
  font-size: 0.88rem;
}

.empty-state {
  padding: 32px;
  border: 1px dashed #b9c8bd;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  color: var(--muted);
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
}

.admin-side {
  position: sticky;
  top: 102px;
  height: fit-content;
}

.admin-side a,
.admin-side button {
  display: block;
  width: 100%;
  border: 0;
  padding: 11px 12px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  text-align: left;
}

.admin-side a.active,
.admin-side a:hover,
.admin-side button.active,
.admin-side button:hover {
  background: #eaf3ec;
  color: var(--primary);
}

.admin-crud {
  display: grid;
  gap: 14px;
}

.admin-table table {
  min-width: 860px;
  font-size: 0.84rem;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.section-head.compact {
  margin-bottom: 0;
}

body:has(.admin-app) .site-header {
  display: none;
}

.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  background: #f3f6fb;
  font-size: 0.9rem;
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 90px 24px 24px;
  background:
    linear-gradient(135deg, rgba(47, 109, 242, 0.16), rgba(22, 101, 52, 0.12)),
    #101827;
}

.admin-login-card {
  width: min(440px, 100%);
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.admin-login-card h1 {
  color: #101827;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.login-brand {
  min-height: auto;
  padding: 0 0 18px;
  border-bottom-color: #e4eaf3;
  color: #101827;
}

.login-brand small {
  color: #667085;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: #101827;
  color: #f8fbff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-brand-mark,
.admin-user-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #2f6df2;
  color: #fff;
  font-weight: 850;
}

.admin-brand strong,
.admin-user strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.1;
}

.admin-brand small,
.admin-user small {
  display: block;
  margin-top: 3px;
  color: #b8c3d5;
  font-size: 0.78rem;
}

.admin-nav {
  overflow-y: auto;
  padding: 14px 10px;
  scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
}

.admin-nav-group {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.admin-nav-title {
  padding: 0 11px 5px;
  color: #7f8ca3;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-nav button,
.admin-nav a {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0 11px;
  background: transparent;
  color: #eef4ff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.admin-nav a span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.admin-nav-badge {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #f43f5e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
}

.admin-nav button:hover,
.admin-nav button.active,
.admin-nav a:hover,
.admin-nav a.active {
  background: #2f6df2;
  color: #fff;
}

.admin-nav-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #cbd5e1;
}

.admin-nav-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-nav button.active .admin-nav-icon,
.admin-nav button:hover .admin-nav-icon,
.admin-nav a.active .admin-nav-icon,
.admin-nav a:hover .admin-nav-icon {
  color: #fff;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-user-avatar {
  border-radius: 50%;
  width: 34px;
  height: 34px;
}

.admin-main {
  min-width: 0;
  padding: 22px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-topbar h1 {
  margin-top: 8px;
  color: #111827;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.admin-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.approval-bell {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 7px;
  border: 1px solid #dbe5f0;
  border-radius: 9px;
  background: #fff;
  color: #101827;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(16, 24, 39, 0.08);
}

.approval-bell.has-alert {
  border-color: rgba(244, 63, 94, 0.32);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(47, 109, 242, 0.06)), #fff;
}

.approval-bell-icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #101827;
  color: #fff;
}

.approval-bell.has-alert .approval-bell-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f43f5e;
}

.approval-bell svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approval-bell strong,
.approval-bell small {
  display: block;
  line-height: 1.1;
}

.approval-bell strong {
  font-size: 1rem;
}

.approval-bell small {
  margin-top: 3px;
  color: #667085;
  font-size: 0.73rem;
  font-weight: 800;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-stat {
  padding: 14px;
  border: 1px solid #dde5f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 39, 0.06);
}

.admin-stat span {
  color: #667085;
  font-size: 0.76rem;
  font-weight: 750;
}

.admin-stat strong {
  display: block;
  margin-top: 7px;
  color: #101827;
  font-size: 1.45rem;
  line-height: 1;
}

.admin-stat.alert {
  border-color: rgba(244, 63, 94, 0.28);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(16, 24, 39, 0.03)), #fff;
}

.admin-id-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  padding: 0 9px;
  border: 1px solid #cfd9e7;
  border-radius: 999px;
  background: #f8fafc;
  color: #101827;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.admin-id-button {
  cursor: pointer;
  background: #eff6ff;
  color: #1d4ed8;
}

.admin-id-button:hover {
  border-color: #2f6df2;
  background: #dbeafe;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 14px;
}

.admin-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(47, 109, 242, 0.12), rgba(22, 101, 52, 0.09)),
    #fff;
}

.admin-activity {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.admin-activity div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e4eaf3;
  border-radius: 9px;
  background: #f8fafc;
}

.admin-activity strong,
.admin-activity small {
  display: block;
}

.admin-activity small {
  color: #667085;
}

.admin-main .card {
  border-color: #dde5f0;
  box-shadow: 0 10px 30px rgba(16, 24, 39, 0.05);
}

.admin-main .section-lead {
  font-size: 0.9rem;
}

.admin-main h2 {
  font-size: 1.35rem;
  line-height: 1.18;
}

.admin-main h3 {
  font-size: 0.98rem;
}

.admin-main .section-head h2 {
  font-size: 1.35rem;
}

.admin-main .card.pad {
  padding: 16px;
}

.admin-main .section-head {
  gap: 14px;
  margin-bottom: 16px;
}

.admin-main .cta-row {
  gap: 8px;
  margin-top: 14px;
}

.admin-main .btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.admin-main th,
.admin-main td {
  padding: 10px 11px;
}

.admin-main .field label {
  font-size: 0.78rem;
}

.admin-main input,
.admin-main select,
.admin-main textarea {
  min-height: 38px;
  font-size: 0.86rem;
}

.admin-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 11px 12px;
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
}

.admin-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-toggle-track {
  width: 52px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.18s ease;
}

.admin-toggle-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 39, 0.22);
  transition: transform 0.18s ease;
}

.admin-toggle input[type="checkbox"]:checked + .admin-toggle-track {
  background: #198754;
}

.admin-toggle input[type="checkbox"]:checked + .admin-toggle-track .admin-toggle-thumb {
  transform: translateX(22px);
}

.admin-toggle-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-toggle-copy strong {
  color: #101827;
  font-size: 0.88rem;
}

.admin-toggle-copy small {
  color: #667085;
  font-size: 0.76rem;
  font-weight: 750;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(16, 24, 39, 0.58);
}

.admin-modal.open {
  display: grid;
}

.admin-modal-card {
  width: min(820px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(16, 24, 39, 0.28);
}

.admin-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5edf6;
}

.admin-modal-head h3 {
  margin: 6px 0 0;
  color: #101827;
  font-size: 1.22rem;
}

.admin-modal-card .admin-form {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
}

.admin-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.admin-confirm-backdrop.open {
  display: grid;
}

.admin-confirm-backdrop.closing {
  display: none;
}

.admin-confirm-card {
  width: min(430px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px 14px;
  padding: 20px;
  border: 1px solid rgba(219, 229, 240, 0.92);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.26);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.16s ease;
}

.admin-confirm-backdrop.open .admin-confirm-card {
  transform: translateY(0) scale(1);
}

.admin-confirm-icon {
  grid-row: 1 / 4;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ecfdf3;
  color: #166534;
  font-size: 1.2rem;
  font-weight: 900;
}

.admin-confirm-backdrop.danger .admin-confirm-icon {
  background: #fef2f2;
  color: #dc2626;
}

.admin-confirm-kicker {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-confirm-card h3 {
  margin: 0;
  color: #101827;
  font-size: 1.08rem;
  line-height: 1.18;
}

.admin-confirm-card p {
  margin: 0;
  color: #475467;
  font-size: 0.88rem;
  line-height: 1.55;
}

.admin-confirm-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 8px;
}

.admin-confirm-actions .btn {
  min-width: 92px;
  min-height: 38px;
}

.admin-detail-card {
  width: min(980px, calc(100vw - 32px));
}

.admin-detail-id {
  max-width: min(620px, calc(100vw - 96px));
  margin: 8px 0 0;
  overflow: hidden;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-detail-body {
  display: grid;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
}

.approval-detail-item {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fff;
}

.approval-review-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #f8fafc;
}

.approval-review-panel .approval-detail-item {
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-doc-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 2px 5px 2px 0;
  padding: 0 9px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #166534;
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.admin-doc-link:hover {
  background: #dcfce7;
}

.admin-file-path {
  margin-top: 5px;
  color: #667085;
  overflow-wrap: anywhere;
}

.approval-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.approval-detail-head h4 {
  margin: 8px 0 0;
  color: #101827;
  font-size: 1rem;
}

.approval-action {
  padding: 6px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.approval-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.approval-detail-meta div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e5edf6;
  border-radius: 8px;
  background: #f8fafc;
}

.approval-detail-meta dt {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.approval-detail-meta dd {
  margin: 5px 0 0;
  color: #101827;
  font-size: 0.84rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.approval-detail-meta dd small {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 0.75rem;
  font-weight: 700;
}

.approval-changes {
  display: grid;
  gap: 9px;
}

.approval-changes h5 {
  margin: 0;
  color: #101827;
  font-size: 0.9rem;
}

.approval-change-table,
.approval-object-list {
  display: grid;
  gap: 8px;
}

.approval-change-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid #e5edf6;
  border-radius: 8px;
  background: #fbfdff;
}

.approval-change-row strong,
.approval-object-list > strong {
  color: #101827;
  font-size: 0.82rem;
}

.approval-change-row span,
.approval-object-list div {
  min-width: 0;
  color: #344054;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.approval-change-row small,
.approval-object-list span {
  display: block;
  margin-bottom: 4px;
  color: #667085;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.approval-object-list div {
  padding: 9px 10px;
  border: 1px solid #e5edf6;
  border-radius: 8px;
  background: #fbfdff;
}

.approval-object-list p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  color: var(--primary);
  padding: 10px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

@media (max-width: 980px) {
  .hero {
    min-height: 100svh;
  }

  .hero .wrap {
    width: min(100%, calc(100% - 32px));
    padding: 96px 0 60px;
  }

.cols-4,
  .metric-grid,
  .stat-card-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cols-3,
  .officials-grid,
  .official-grid,
  .sim-grid,
  .footer-grid,
  .admin-shell,
  .admin-app,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .sim-panel,
  .admin-side {
    position: static;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    max-height: none;
  }

  .admin-nav {
    max-height: 420px;
  }

  .admin-main {
    padding: 22px 16px;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approval-detail-meta,
  .approval-change-row {
    grid-template-columns: 1fr;
  }

  .admin-theme-preview {
    grid-template-columns: 1fr;
  }

  .admin-theme-palette,
  .admin-theme-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .topbar .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }

  .mainnav {
    min-height: 62px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.86rem;
  }

  .brand-text span {
    display: none;
  }

  .cols-2,
  .cols-3,
  .cols-4,
  .metric-grid,
  .stat-card-grid,
  .form-grid,
  .result-cards,
  .download-grid,
  .gallery-grid,
  body.menu-open .nav-links {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 40px;
    padding: 14px 6px;
    border-radius: 12px;
    width: auto;
  }

  .stat {
    padding: 0 18px;
  }

  .officials-grid,
  .official-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .hero .wrap {
    width: min(100%, calc(100% - 24px));
    padding: 84px 0 54px;
  }

  .hero-prev,
  .hero-next {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    align-items: center;
    flex-direction: column;
  }

  .range-row,
  .chart {
    grid-template-columns: 1fr;
  }

  .pie {
    margin: 0 auto;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .admin-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .status-modal {
    padding: 16px;
  }

  .status-card {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }

  .status-icon {
    grid-row: auto;
  }

  .status-detail {
    grid-template-columns: 1fr;
  }

  .status-card .btn {
    grid-column: auto;
    width: 100%;
  }

  .public-toast {
    padding: 86px 20px 22px;
  }

  .public-toast::before {
    left: 20px;
    top: 22px;
  }

  .approval-detail-head,
  .admin-modal-head {
    flex-direction: column;
  }

  .admin-confirm-card {
    grid-template-columns: 1fr;
  }

  .admin-confirm-icon {
    grid-row: auto;
  }

  .admin-confirm-actions {
    justify-content: stretch;
  }

  .admin-confirm-actions .btn {
    flex: 1;
  }

  .modal-image {
    min-height: 300px;
  }

  .promo-grid > .promo-card {
    flex: 0 0 calc(50% - 9px);
    width: calc(50% - 9px);
  }

  .promo-modal {
    padding: 16px 12px;
    align-items: start;
  }

  .promo-modal-cover {
    height: 190px;
  }

  .promo-modal-body {
    padding: 20px 18px 28px;
  }

  .promo-modal-body h2 {
    font-size: 1.2rem;
  }

  .promo-card-title {
    font-size: 0.95rem;
  }
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.vm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.vm-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.1), rgba(214, 163, 41, 0.12));
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.vm-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.vm-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vm-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.vm-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: vm-counter;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vm-list li {
  counter-increment: vm-counter;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.vm-list li::before {
  content: counter(vm-counter);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* ============================================================
   HERO SLIDESHOW DOTS
   ============================================================ */

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
  pointer-events: auto;
}

.hero-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.hero-dot.active {
  background: rgba(255, 255, 255, 0.92);
  width: 40px;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.08);
}

/* ============================================================
   PRODUCT DETAIL MODAL
   ============================================================ */

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 19, 13, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-modal.open {
  display: grid;
}

.product-modal-card {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 32px 96px rgba(7, 19, 13, 0.32);
  overflow: hidden;
}

.product-modal-top {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, #f0f8f2 0%, #fefaee 100%);
  border-bottom: 1px solid var(--line);
}

.product-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.product-modal-header .icon-tile-lg {
  flex-shrink: 0;
}

.product-modal-meta {
  min-width: 0;
}

.product-modal-meta .tag-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.product-modal-meta h2 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}

.product-modal-close:hover {
  background: #f5f5f5;
  color: var(--ink);
}

.product-modal-body {
  padding: 24px 28px;
}

.product-modal-body p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 20px;
  font-size: 0.97rem;
}

.product-modal-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 20px;
}

.product-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   SECTION HEAD REFINEMENTS
   ============================================================ */

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 34px;
}

.section-head > select {
  width: auto;
  align-self: flex-start;
  padding: 7px 32px 7px 12px;
  font-size: 0.85rem;
  cursor: pointer;
}

h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.15;
}

/* ============================================================
   FOOTER REFINEMENT
   ============================================================ */

.footer {
  background: linear-gradient(180deg, #0d2b1a 0%, #08180f 100%);
  color: #e9f5ed;
  padding: 64px 0 28px;
}

/* ============================================================
   TOPBAR REFINEMENT
   ============================================================ */

.topbar {
  display: none;
}

/* ============================================================
   NAV LINKS REFINEMENT
   ============================================================ */

.nav-links a,
.nav-dropdown summary {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}


/* ============================================================
   PAGE HERO RESPONSIVE FIX
   ============================================================ */

@media (max-width: 980px) {
  .hero .wrap {
    width: min(100%, calc(100% - 32px));
    padding: 96px 0 46px;
  }
  .hero-dots {
    bottom: 16px;
  }
}

@media (max-width: 680px) {
  .hero .wrap {
    width: min(100%, calc(100% - 24px));
    padding: 84px 0 42px;
  }
  .hero-dots {
    bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }
  .product-modal-top,
  .product-modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  .product-modal-header {
    flex-direction: column;
  }
}

/* ============================================================
   ADMIN HERO BERANDA SLIDES
   ============================================================ */

.admin-hero-slides-section {
  margin-bottom: 20px;
}

.admin-hero-slides-section .section-head.compact {
  margin-bottom: 16px;
}

.hero-slides-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hero-slide-card {
  border: 2px dashed var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  transition: border-color 0.2s;
  background: #f8faf9;
}

.hero-slide-card.has-image {
  border-style: solid;
  border-color: var(--primary);
}

.hero-slide-num {
  padding: 6px 10px 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-slide-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f3ea 0%, #fdf7e3 100%);
  display: grid;
  place-items: center;
}

.hero-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.hero-slide-empty svg {
  opacity: 0.5;
}

.hero-slide-empty span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-slide-footer {
  padding: 8px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-slide-actions {
  display: flex;
  gap: 4px;
}

.hero-slide-upload-btn {
  display: inline-flex;
  min-height: 30px;
  padding: 0 8px;
  font-size: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
}

.hero-slide-upload-btn:hover {
  background: #edf6ef;
}

@media (max-width: 900px) {
  .hero-slides-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-slides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   OFFICIAL-GRID RESPONSIVE OVERRIDE
   ============================================================ */

@media (max-width: 740px) {
  .official-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 185px));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .official-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  .site-header,
  .footer,
  .sim-panel .btn,
  .topbar,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section,
  .page-hero {
    padding: 20px 0;
  }

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

/* ============================================================
   PENGURUS SECTION — CENTER LAYOUT
   ============================================================ */


#pengurus .officials-group-label {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#pengurus .officials-group-label {
  margin-left: auto;
  margin-right: auto;
}

#pengurus .officials-grid + .officials-group-label {
  margin: 40px auto 18px;
}

#pengurus .officials-grid {
  grid-template-columns: repeat(auto-fit, minmax(148px, 172px));
  justify-content: center;
  gap: 20px;
}

/* ============================================================
   FEATURE SECTION — TENTANG PERUSAHAAN
   ============================================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover {
  box-shadow: 0 8px 28px rgba(22, 101, 52, 0.10);
  transform: translateY(-3px);
  border-color: rgba(22, 101, 52, 0.22);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #edf6ef;
  border-radius: 12px;
  color: var(--primary);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-body {
  min-width: 0;
}

.feature-title {
  margin: 0 0 7px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.feature-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.68;
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ============================================================
   ADMIN FEATURES EDITOR (Keunggulan Perusahaan repeater)
   ============================================================ */

.features-editor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.feature-editor-row {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafcfb;
  overflow: hidden;
}

.feature-editor-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(22, 101, 52, 0.06);
  border-bottom: 1px solid var(--line);
}

.feature-editor-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-icon-sm {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-icon-sm:hover {
  border-color: #e53e3e;
  color: #e53e3e;
}

.feature-editor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  padding: 12px;
}

.fe-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.fe-label-full {
  grid-column: 1 / -1;
}

.fe-label select,
.fe-label input,
.fe-label textarea {
  font-size: 0.84rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 9px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}

.fe-label select:focus,
.fe-label input:focus,
.fe-label textarea:focus {
  border-color: var(--primary);
}

.fe-label textarea {
  resize: vertical;
  min-height: 58px;
}

.btn.sm {
  font-size: 0.82rem;
  padding: 6px 14px;
}

.result-cards.result-fees {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}

.card.pad.accent {
  background: linear-gradient(135deg, rgba(22,101,52,0.07), rgba(214,163,41,0.09));
  border-color: rgba(22,101,52,0.18);
}
