/* ================================================================
   KONTEN WEBSITE PUBLIK
   Clients & Partner, Team, Blog, Tentang Kami, dan kontak dinamis.
   ================================================================ */

html {
  scroll-behavior: smooth;
}

.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.back-top:hover {
  opacity: 0.6;
}

[hidden] {
  display: none !important;
}

/* Navigasi sedikit dirapatkan agar menu baru tetap muat */
.site-header .primary-nav {
  gap: 22px;
}

.site-header .primary-nav > a:not(.nav-cta) {
  font-size: 11.5px;
}

/* ---------- Tentang Kami: motto, visi, misi ---------- */
.about-motto {
  margin: 0 0 18px;
  max-width: 520px;
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Motto highlight bar (homepage) */
.about-motto-highlight {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 44px;
  padding: 22px 28px;
  overflow: hidden;
  border-radius: 9px;
  background: linear-gradient(120deg, #153f30 0%, #0e2f24 100%);
  box-shadow: 0 22px 50px -30px rgba(16, 47, 37, .55);
}
.about-motto-highlight::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  pointer-events: none;
}
.about-motto-highlight-label {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(169, 207, 183, .45);
  border-radius: 3px;
  color: #a9cfb7;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.about-motto-highlight-text {
  position: relative;
  z-index: 1;
  flex: 1 1 440px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .5px;
  text-transform: none;
}

.about-vm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.about-vm-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.about-vm-card small {
  display: block;
  margin-bottom: 7px;
  color: var(--green-700);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.about-vm-card p {
  margin: 0;
  color: #5e6f64;
  font-size: 11px;
  line-height: 1.8;
}

/* ---------- Section umum ---------- */
.site-content-section {
  border-top: 1px solid var(--line);
}

.site-content-section.is-alt {
  background: var(--green-50);
}

.site-content-empty {
  padding: 28px;
  border: 1px dashed #cbdcd1;
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.site-content-empty[hidden] {
  display: none !important;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.section-link:hover {
  color: var(--green-950);
}

/* ---------- Clients & Partner Section ---------- */
.partners-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.partners-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.partners-filter-btn:hover {
  border-color: #a4ceb5;
  color: var(--green-950);
  background: #f6faf7;
}

.partners-filter-btn.is-active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 107, 77, 0.25);
}

.partners-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 10px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.partners-filter-btn.is-active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Showcase Grid & Cards */
.partners-showcase-wrap {
  position: relative;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  transition: opacity 0.25s ease;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px 20px;
  border: 1px solid #e5ece6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(18, 72, 47, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: #a4ceb5;
  box-shadow: 0 16px 36px rgba(18, 72, 47, 0.1);
}

.partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 78px;
  margin-bottom: 14px;
  padding: 4px 8px;
  background: transparent;
}

.partner-logo-box img {
  display: block;
  width: auto;
  height: auto;
  max-width: 130px;
  max-height: 46px;
  object-fit: contain;
  transition: transform 0.25s ease;
  filter: none;
}

.partner-card:hover .partner-logo-box img {
  transform: scale(1.08);
}

/* Optical Sizing: Logo teks melebar (BYD, Geely, Starcomp) dibuat seimbang */
.partner-logo-box img.is-wide-logo {
  max-height: 28px;
  max-width: 125px;
}

/* Optical Sizing: Logo lambang/persegi/bulat (SMK Yatpi, SMPN 1, Hyundai) diberi ruang besar & tajam */
.partner-logo-box img.is-tall-logo {
  max-height: 58px;
  max-width: 72px;
}

.partner-logo-fallback {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(23, 107, 77, 0.2);
}

.partner-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.partner-type-badge {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.partner-type-badge.is-partner {
  background: #d8f1e5;
  color: #0f5238;
}

.partner-type-badge.is-client {
  background: #eef3f0;
  color: #4b6355;
}

.partner-name {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.partner-detail {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.partner-link {
  margin-top: 6px;
  color: var(--green-800);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
  text-decoration: none;
}

.partner-link:hover {
  color: var(--green-950);
  text-decoration: underline;
}

/* Slider Controls & Dots */
.partners-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.partners-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #d3e2d7;
  background: #ffffff;
  color: var(--green-900);
  cursor: pointer;
  transition: all 0.2s ease;
}

.partners-nav-btn:hover:not(:disabled) {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 107, 77, 0.2);
}

.partners-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: #e2e8e3;
  color: #94a399;
}

.partners-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ccdcd0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.partner-dot.is-active {
  width: 24px;
  background: var(--green-800);
}

/* ---------- Team Section (Landscape / Horizontal Roster Card) ---------- */
.team-section {
  padding: clamp(2rem, 3.5vw, 4rem) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.team-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e1ece5;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(16, 47, 37, 0.03);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-2px);
  border-color: #9ecab1;
  box-shadow: 0 6px 18px rgba(18, 72, 47, 0.07);
}

.team-photo-box {
  position: relative;
  width: 76px;
  height: 86px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f7f5;
  border: 1px solid #dbe6de;
  padding: 0;
}

.team-photo-box.is-clickable {
  cursor: pointer;
}

.team-photo-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.24s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.team-photo-box.is-clickable:hover img {
  transform: scale(1.05);
}

.team-photo-zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 47, 37, 0.4);
  color: #ffffff;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.team-photo-box.is-clickable:hover .team-photo-zoom-hint {
  opacity: 1;
}

.team-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f2f7f4;
  color: #175338;
}

.team-fallback-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d5e3da;
  color: #175338;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.team-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding: 0;
}

.team-name {
  margin: 0 0 3px;
  color: #0e291d;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  word-break: normal;
  overflow: visible;
}

.team-role {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #14593c;
  background: #edf5f0;
  border: 1px solid #d5e7dc;
  padding: 2px 6.5px;
  border-radius: 3px;
  margin: 0 0 5px 0;
  line-height: 1.25;
  max-width: 100%;
}

.team-bio {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 8px 0 0 0;
}

.team-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.team-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #f4f8f5;
  border: 1px solid #dce8e0;
  color: #175338;
  font-size: 11.5px;
  line-height: 1;
  transition: all 0.18s ease;
  text-decoration: none;
}

.team-social-btn:hover {
  background: #175338;
  border-color: #175338;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ---------- Team Photo Modal (Anti-Download & Protected) ---------- */
body.modal-open {
  overflow: hidden;
}

.team-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: teamModalFadeIn 0.2s ease;
}

.team-photo-modal[hidden] {
  display: none !important;
}

@keyframes teamModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.team-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 28, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.team-modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 380px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #c9ded0;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(8, 26, 18, 0.35);
  overflow: hidden;
  animation: teamModalPop 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes teamModalPop {
  from { transform: scale(0.94) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.team-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #10291e;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.team-modal-close:hover {
  background: #175338;
  color: #ffffff;
  transform: scale(1.08);
}

.team-modal-body {
  padding: 12px 12px 16px;
}

.team-modal-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  background: #0f261c;
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.team-modal-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* Transparent shield on top of image to block right-click saving and dragging */
.team-modal-shield {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
  cursor: default;
}

.team-modal-caption {
  padding: 12px 6px 0;
  text-align: center;
}

.team-modal-name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #0e291d;
}

.team-modal-role {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #15573b;
  background: #edf5f0;
  border: 1px solid #d4e7db;
  padding: 3px 9px;
  border-radius: 4px;
}

.team-modal-notice {
  margin-top: 8px;
  font-size: 9.5px;
  color: #728a7c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.team-modal-notice i {
  font-size: 12px;
}

/* Hide modal in print */
@media print {
  .team-photo-modal {
    display: none !important;
  }
}

@media (max-width: 800px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .team-card {
    padding: 8px 10px;
    gap: 10px;
    border-radius: 8px;
    min-height: 82px;
  }
  .team-photo-box {
    width: 60px;
    height: 70px;
    border-radius: 6px;
  }
  .team-fallback-badge {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .team-name {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 2px;
  }
  .team-role {
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 1.5px 5px;
    border-radius: 3px;
    margin: 0 0 3px;
    line-height: 1.2;
  }
  .team-socials {
    gap: 4px;
    margin-top: 2px;
  }
  .team-social-btn {
    width: 19px;
    height: 19px;
    font-size: 10px;
    border-radius: 3px;
  }
}

@media (max-width: 380px) {
  .team-grid {
    gap: 8px;
  }
  .team-card {
    padding: 7px 8px;
    gap: 8px;
    min-height: 76px;
  }
  .team-photo-box {
    width: 52px;
    height: 60px;
  }
  .team-name {
    font-size: 9px;
    line-height: 1.2;
  }
  .team-role {
    font-size: 7px;
    padding: 1px 4px;
  }
  .team-social-btn {
    width: 17px;
    height: 17px;
    font-size: 9px;
  }
}

/* ---------- Blog card ---------- */
/* ---------- Blog card & Grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5ede7;
  border-radius: 10px;
  background: #ffffff;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #bad3c2;
  box-shadow: 0 16px 36px -8px rgba(16, 47, 37, 0.1);
}

.blog-cover-box {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f5f2;
}

.blog-cover-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-cover-box img {
  transform: scale(1.03);
}

.blog-cover-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--green-900), var(--green-600));
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.35rem;
}

.blog-meta {
  margin-bottom: 0.5rem;
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card-title {
  margin: 0 0 0.625rem;
  color: #10291e;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card-title a {
  color: inherit;
  transition: color 0.18s ease;
}

.blog-card-title a:hover {
  color: var(--green-800);
}

.blog-card-excerpt {
  margin: 0 0 0.85rem;
  color: #526057;
  font-size: 12px;
  line-height: 1.55;
}

.blog-read-more {
  margin-top: auto;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.18s ease, color 0.18s ease;
  text-decoration: none;
}

.blog-read-more:hover {
  color: var(--green-950);
  gap: 0.6rem;
  text-decoration: none;
}

/* ---------- Halaman blog listing ---------- */
.blog-hero {
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid #e8eee9;
  background: linear-gradient(180deg, #f4f8f5 0%, #ffffff 100%);
}

.blog-hero h1 {
  max-width: 44rem;
  margin: 1rem 0 0.875rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.blog-hero p {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
}

.blog-listing {
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(4rem, 6vw, 6rem);
}

.blog-listing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.blog-listing-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.blog-loading,
.blog-empty,
.blog-error {
  padding: 3rem 1.5rem;
  border: 1px dashed #cbdcd1;
  border-radius: 10px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  font-size: 0.875rem;
}

.blog-error {
  color: #b42318;
  border-color: #fad2cf;
  background: #fce8e6;
}

/* ---------- Detail Halaman Blog ---------- */
.blog-detail-main {
  padding: clamp(2rem, 3.5vw, 3.5rem) 0 clamp(3rem, 5vw, 5rem);
  background: #ffffff;
}

.blog-detail-container {
  max-width: 720px;
  margin: 0 auto;
}

.blog-back-btn,
.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  background: #f2f7f4;
  border: 1px solid #d8e5dd;
  color: #175338;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1;
}

.blog-back-btn:hover,
.blog-back-link:hover {
  background: #175338;
  color: #ffffff;
  border-color: #175338;
  transform: translateX(-3px);
  text-decoration: none;
}

.blog-article {
  max-width: 100%;
}

.blog-article-header {
  margin-bottom: 1.25rem;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
}

.blog-meta-date {
  color: #175338;
}

.blog-meta-sep {
  color: #a4c2b0;
}

.blog-meta-author {
  color: #556b5e;
}

.blog-article h1,
.blog-article-title {
  margin: 0 0 1rem;
  color: #10291e;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* Cover Image Frame */
.blog-article-cover {
  overflow: hidden;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8faf9;
  box-shadow: 0 4px 16px -6px rgba(16, 47, 37, 0.08);
}

.blog-article-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  background: #fafcfa;
}

/* Article Content & Typography - max 12px for reading body */
.blog-article-content {
  color: #2e3e34;
  font-size: 12px;
  line-height: 1.7;
  font-family: var(--font-body);
}

.blog-article-content p {
  margin: 0 0 0.85rem;
  font-size: 12px;
  line-height: 1.7;
}

.blog-article-content strong,
.blog-article-content b {
  color: #10291e;
  font-weight: 700;
}

.blog-article-content h2 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #10291e;
  margin: 1.5rem 0 0.5rem;
  line-height: 1.35;
}

.blog-article-content h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #10291e;
  margin: 1.25rem 0 0.4rem;
  line-height: 1.4;
}

/* Numbered lists inside article */
.blog-article-content ol,
.blog-article-ol {
  margin: 0.6rem 0 1rem;
  padding-left: 1.25rem;
  list-style: decimal;
}

.blog-article-content ol li,
.blog-article-ol li {
  margin-bottom: 0.35rem;
  padding-left: 0.25rem;
  color: #1e3a2c;
  font-size: 12px;
  line-height: 1.65;
}

/* Bullet lists inside article */
.blog-article-content ul,
.blog-article-ul {
  margin: 0.6rem 0 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.blog-article-content ul li,
.blog-article-ul li {
  margin-bottom: 0.35rem;
  padding-left: 0.25rem;
  color: #1e3a2c;
  font-size: 12px;
  line-height: 1.65;
}

/* Inline Images & Multi-Photo Galleries */
.blog-article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  margin: 1.25rem 0;
  box-shadow: 0 4px 14px -4px rgba(16, 47, 37, 0.08);
}

.blog-article-content figure {
  margin: 1.25rem 0;
}

.blog-article-content figure img {
  margin: 0;
}

.blog-article-content figcaption {
  font-size: 11px;
  color: #68756c;
  text-align: center;
  margin-top: 0.4rem;
  font-style: italic;
}

/* Multi-photo Grid Gallery - clean responsive layout for > 2 photos */
.blog-gallery,
.blog-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

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

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

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

.blog-gallery-item {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8faf9;
  box-shadow: 0 2px 8px -2px rgba(16, 47, 37, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(16, 47, 37, 0.1);
}

.blog-gallery-item img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .blog-gallery.cols-3,
  .blog-gallery-3col,
  .blog-gallery.cols-4,
  .blog-gallery-4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .blog-gallery,
  .blog-gallery-grid,
  .blog-gallery.cols-2,
  .blog-gallery-2col,
  .blog-gallery.cols-3,
  .blog-gallery-3col,
  .blog-gallery.cols-4,
  .blog-gallery-4col {
    grid-template-columns: 1fr;
  }
  .blog-gallery-item img {
    max-height: 200px;
  }
}

/* Article CTA & Footer */
.blog-article-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eef2ef;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-article-cta {
  padding: 0.85rem 1.15rem;
  border-radius: 6px;
  background: #f4f9f6;
  border-left: 3px solid var(--green-600, #1b6548);
  color: #1e3a2c;
}

.blog-article-cta p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #2e4a38;
}

.blog-article-cta a {
  color: #1b6548;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article-cta a:hover {
  color: #102f25;
}

.blog-cta-badge,
.blog-article-cta-content h4,
.blog-article-cta-content p,
.blog-cta-btn {
  display: none;
}

.blog-footer-back {
  align-self: flex-start;
  margin-bottom: 0;
}

/* ---------- Kontak dinamis ---------- */
.contact-detail span.contact-value {
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
}

.contact-detail a.contact-value {
  color: #fff;
  font-size: 11px;
}

.contact-detail a.contact-value:hover {
  text-decoration: underline;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #8ce1b2;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.contact-detail:hover .contact-detail-icon {
  border-color: rgba(140, 225, 178, 0.45);
  background: rgba(23, 107, 77, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.contact-detail-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  color: inherit;
}

/* ================================================================
   CONTACT SECTION & TWIN WHITE CARDS — editorial, symmetrical, modern
   ================================================================ */

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section.section-pad {
  padding: clamp(3.5rem, 5vw, 5.5rem) 0;
}

.contact-header {
  max-width: 44rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-header .eyebrow {
  margin-bottom: 0.75rem;
}

.contact-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.contact-header p {
  color: #b9d3c4;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.65;
  margin: 0;
}

.contact-section .contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* --- Left Card: Office Hub (Pure White) --- */
.contact-section .office-hub-card {
  margin-top: 0;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 45px -12px rgba(0, 0, 0, 0.22), 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.contact-section .contact-form {
  margin-top: 0;
  height: 100%;
}

/* --- Segmented Switcher Track --- */
.office-switcher-track {
  display: flex;
  gap: 4px;
  padding: 10px 18px 0;
  background: #f8faf9;
  border-bottom: 1px solid #eef2ef;
}

.office-switch-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px 12px;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #556b5e;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color 0.18s ease, border-color 0.18s ease;
  user-select: none;
  margin-bottom: -1px;
}

.office-switch-btn:hover:not(.is-active) {
  color: #173827;
}

.office-switch-btn.is-active {
  border-bottom-color: #16a34a;
  color: #10291e;
}

.office-switch-tag {
  display: none;
}

.office-switch-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.office-switch-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
  letter-spacing: 0.1px;
}

.office-switch-sub {
  font-size: 10px;
  color: #7a8e82;
  font-weight: 500;
  transition: color 0.18s ease;
}

.office-switch-btn.is-active .office-switch-sub {
  color: #16a34a;
  font-weight: 600;
}

/* --- Card Body --- */
.office-card-body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

/* --- Address Block --- */
.office-address-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #eef2ef;
}

.office-address-text {
  margin: 0;
  color: #1a2e24;
  font-size: 0.8125rem;
  line-height: 1.6;
  font-weight: 500;
  flex: 1;
}

.office-copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #d4ded8;
  background: #f6f9f7;
  color: #2e493c;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.office-copy-btn:hover {
  background: #eaf1ed;
  color: #10291e;
  border-color: #bad0c2;
}

.office-copy-btn:active {
  transform: scale(0.97);
}

.office-copy-btn.is-copied {
  border-color: #86efac;
  background: #f0fdf4;
  color: #16a34a;
}

/* --- Contact Links (Grid) --- */
.office-contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  column-gap: 20px;
  row-gap: 0;
}

.office-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  min-width: 0;
  border: none;
  border-bottom: 1px solid #f2f5f3;
  background: transparent;
  color: #3b5045;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.office-chip:last-child {
  border-bottom: none;
}

.office-chip .chip-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.office-chip:hover {
  color: #15803d;
}

.office-chip svg {
  display: block;
  flex-shrink: 0;
  color: #16a34a;
  transition: color 0.15s ease;
}

.office-chip:hover svg {
  color: #15803d;
}

/* --- Map Container & Viewport (Flex Stretch) --- */
.office-map-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  border-top: 1px solid #eef2ef;
  background: #f2f5f3;
  min-height: 12rem;
}

.office-map-viewport {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 11rem;
}

.office-map-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

/* --- Map Footer --- */
.office-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border-top: 1px solid #eef2ef;
  background: #f8faf9;
}

.office-map-label-row {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #556c60;
  font-size: 0.75rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.office-map-label-row svg {
  flex-shrink: 0;
  color: #16a34a;
}

.office-map-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.office-map-cta:hover {
  color: #14532d;
}

.office-map-cta svg {
  transition: transform 0.15s ease;
}

.office-map-cta:hover svg {
  transform: translate(1px, -1px);
}

/* --- Right Card: Consultation Form (Pure White) --- */
.contact-form {
  background: #ffffff;
  color: #18221d;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1rem 2.5rem -0.75rem rgba(0, 0, 0, 0.18), 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.625rem;
  margin-bottom: 0.875rem;
  border-bottom: 1px solid #eef2ef;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #166534;
  font-weight: 800;
}

.form-row-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2c3e34;
  margin: 0 0 0.35rem;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #d4ded7;
  background: #ffffff;
  color: #11291e;
  border-radius: 0.375rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a39b;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #a4c2b0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 5rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.375rem;
  background: #166534;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-submit:hover {
  background: #14532d;
  transform: translateY(-1px);
  box-shadow: 0 0.375rem 1rem rgba(20, 83, 45, 0.25);
}

.form-note {
  margin: 0.5rem 0 0;
  color: #718077;
  font-size: 0.6875rem;
  line-height: 1.5;
}

/* Responsif Contact Layout */
@media (max-width: 960px) {
  .contact-section .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .office-map-viewport {
    min-height: 12rem;
  }
}

@media (max-width: 640px) {
  .office-card-body,
  .contact-form {
    padding: 1.25rem 1rem;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
  .office-switcher-track {
    padding: 0.5rem 0.75rem 0;
  }
  .office-switch-btn {
    padding: 0.5rem 0.75rem 0.625rem;
  }
}

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
  .site-header .primary-nav {
    gap: 15px;
  }

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

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(165px, 195px));
    gap: 22px 14px;
  }
}

@media (max-width: 900px) {
  .about-vm {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 190px));
    gap: 20px 12px;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .team-info {
    padding: 8px 0 0;
  }

  .team-name {
    font-size: 11.5px;
    margin-bottom: 2px;
    min-height: 30px;
  }

  .team-role {
    font-size: 8.5px;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
  }

  .team-fallback-badge {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

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

  .partner-card {
    padding: 16px 10px 14px;
    border-radius: 10px;
  }

  .partner-logo-box {
    height: 52px;
    margin-bottom: 8px;
    padding: 2px;
  }

  .partner-logo-box img {
    max-height: 36px;
    max-width: 100px;
  }

  .partner-logo-box img.is-tall-logo {
    max-height: 44px;
    max-width: 52px;
  }

  .partner-logo-box img.is-wide-logo {
    max-height: 20px;
    max-width: 90px;
  }

  .partner-type-badge {
    font-size: 7.5px;
    padding: 2px 6px;
    margin-bottom: 4px;
  }

  .partner-name {
    font-size: 11.5px;
    line-height: 1.3;
    margin: 0 0 3px;
    word-break: break-word;
  }

  .partner-detail {
    font-size: 9.5px;
    line-height: 1.4;
    margin: 0 0 5px;
  }

  .partner-link {
    font-size: 9.5px;
    margin-top: 2px;
  }

  .blog-hero {
    padding: 46px 0 36px;
  }

  .blog-listing {
    padding: 44px 0 64px;
  }

  .blog-listing-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */

.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.wa-float:hover {
  background: #20ba5c;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.wa-float:active {
  transform: scale(0.95);
}

.wa-float i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 28px;
}

@media (max-width: 640px) {
  .wa-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .wa-float i {
    font-size: 24px;
  }
}

/* ================================================================
   PRODUCT SECTION — RESPONSIVE FIX
   Merapikan product showcase: foto produk fixed size, tab wrap,
   layout tidak berantakan saat banyak produk dari database
   ================================================================ */

/* Pastikan product-showcase-wrap tidak melebihi lebar kolom */
.product-showcase-wrap {
  min-width: 0;
  overflow: hidden;
}

/* Tabs nav: wrap ke baris baru jika banyak produk, tidak overflow */
.product-tabs-nav {
  flex-wrap: wrap !important;
  overflow-x: visible !important;
  gap: 6px !important;
  padding-bottom: 4px !important;
}

/* Product panel: pastikan tidak melebihi container */
.product-panel {
  min-width: 0;
  box-sizing: border-box;
}

/* ================================================================
   PRODUCT SHOWCASE UI PREVIEW (Homepage & Catalog)
   Menampilkan foto/screenshot UI asli dari database & admin
   ================================================================ */

.product-ui-preview {
  margin: 10px 0 8px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid #dce8df;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 47, 37, 0.07);
  transition: box-shadow 0.25s ease;
}

.product-ui-preview:hover {
  box-shadow: 0 18px 46px rgba(16, 47, 37, 0.12);
}

.product-ui-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 10px;
  background: #f1f6f2;
  border-bottom: 1px solid #e2ebe4;
}

.product-ui-browser-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-ui-dots {
  display: flex;
  gap: 4px;
}

.product-ui-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.product-ui-dots .dot-red { background: #ff5f56; }
.product-ui-dots .dot-yellow { background: #ffbd2e; }
.product-ui-dots .dot-green { background: #27c93f; }

.product-ui-address {
  font-size: 9.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #176b4d;
  background: #ffffff;
  padding: 2px 9px;
  border-radius: 10px;
  border: 1px solid #dbe6de;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.product-ui-address:hover {
  background: #e8f3ec;
  border-color: #176b4d;
  color: #0d4631;
}

.product-ui-open-hint {
  font-size: 9px;
  font-weight: 700;
  color: #1b6548;
  letter-spacing: 0.3px;
  display: none;
  align-items: center;
  gap: 3px;
  opacity: 0.7;
}

.product-ui-screen {
  position: relative;
  width: 100%;
  height: 160px;
  max-height: 160px;
  overflow: hidden;
  background: #f8fbf9;
  display: block;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.product-ui-img {
  width: 100%;
  height: 160px;
  max-height: 160px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
  cursor: zoom-in;
  flex-shrink: 0;
}

.product-ui-hover-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(16, 47, 37, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.product-ui-screen:hover .product-ui-img {
  transform: scale(1.02);
  filter: brightness(0.92);
}

.product-ui-screen:hover .product-ui-hover-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.product-ui-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f7faf8;
  border-top: 1px solid #e7efe9;
  overflow-x: auto;
}

.product-ui-thumb-btn {
  border: 1px solid #d8e4db;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #43594c;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.product-ui-thumb-btn:hover {
  background: #eef5f0;
  color: var(--green-900);
}

.product-ui-thumb-btn.active {
  background: var(--green-800);
  color: #ffffff;
  border-color: var(--green-800);
  box-shadow: 0 2px 6px rgba(27, 101, 72, 0.25);
}

/* Modul styling saat gambar aktif — sembunyikan modul agar panel tidak terlalu penuh */
.product-panel.has-image .module-grid {
  display: none;
}

.product-panel.has-image .module-item {
  padding: 6px 9px;
}

.product-panel-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid #eef4f0;
}

.product-panel-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #637769;
}

.product-panel-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.product-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.button-app-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  background: var(--green-800, #176b4d);
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(23, 107, 77, 0.2);
  transition: all 0.2s ease;
}

.button-app-primary:hover {
  background: var(--green-900, #0f4a35);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(23, 107, 77, 0.32);
}

.button-detail-link {
  font-weight: 700;
  color: var(--green-800, #176b4d);
  text-decoration: none;
  font-size: 12.5px;
  transition: color 0.2s ease;
}

.button-detail-link:hover {
  color: var(--green-900, #0f4a35);
  text-decoration: underline;
}

/* ================================================================
   KATALOG PRODUK (produk.html)
   ================================================================ */

.catalog-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--green-50) 0%, #ffffff 100%);
}

.catalog-hero h1 {
  max-width: 680px;
  margin: 14px 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.4px;
}

.catalog-hero p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.catalog-section {
  padding: 40px 0 80px;
}

.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.catalog-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.catalog-filter-btn:hover {
  border-color: var(--green-700);
  color: var(--green-900);
  background: var(--green-50);
}

.catalog-filter-btn.is-active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 107, 77, 0.2);
}

.catalog-filter-count {
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #eef3ef;
  color: var(--ink-soft);
  font-family: ui-monospace, monospace;
  font-weight: 700;
  transition: all 0.2s ease;
}

.catalog-filter-btn.is-active .catalog-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.catalog-filter-note {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

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

.catalog-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border: 1px dashed #cbdcd1;
  border-radius: 12px;
  background: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.catalog-empty strong {
  font-size: 16px;
  color: var(--ink);
  font-family: var(--font-display);
}

.catalog-empty span {
  font-size: 13px;
  color: var(--muted);
}

/* Card Detail: Scalable & Compact */
.product-detail-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dce8df;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 47, 37, 0.04);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  padding: 18px 18px 16px;
}

.product-detail-card:hover {
  border-color: #bcd5c4;
  box-shadow: 0 14px 32px rgba(16, 47, 37, 0.08);
  transform: translateY(-2px);
}

.product-card-head {
  margin-bottom: 12px;
}

.product-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.product-category-pill {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
}

.product-category-pill.is-software {
  background: #e1f5eb;
  color: #0d5438;
}

.product-category-pill.is-aplikasi {
  background: #e0f2fe;
  color: #0369a1;
}

.product-category-pill.is-website {
  background: #fef3c7;
  color: #92400e;
}

.product-badge-pill {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f0f4f1;
  color: #485c50;
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-big-symbol {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(23, 107, 77, 0.2);
}

.product-title-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.product-title-text span {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Compact Visual Preview (Photo / Screen) */
.product-visual-pane {
  margin-bottom: 14px;
}

.preview-box {
  background: #ffffff;
  border: 1px solid #dce8df;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 47, 37, 0.03);
}

.preview-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 11px;
  background: #f2f7f4;
  border-bottom: 1px solid #e2ebe5;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}

.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  color: #15803d;
  font-weight: 600;
}

.preview-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

/* Compact photo frame (height 120px) */
.catalog-ui-box {
  padding: 0 !important;
  overflow: hidden;
}

.catalog-ui-screen {
  width: 100%;
  height: 96px;
  max-height: 96px;
  overflow: hidden;
  background: #091a11;
  position: relative;
  cursor: zoom-in;
}

/* Elegant system placeholder when product has no uploaded screenshot */
.catalog-ui-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b2216 0%, #06150e 100%);
  position: relative;
  cursor: default;
  background-image: 
    radial-gradient(rgba(34, 197, 94, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, #0b2216 0%, #06150e 100%);
  background-size: 14px 14px, 100% 100%;
}

.catalog-ui-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 12px;
  gap: 3px;
}

.catalog-ui-placeholder-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-display);
}

.catalog-ui-placeholder-text {
  font-size: 10px;
  font-weight: 700;
  color: #e2f0e7;
  letter-spacing: 0.2px;
}

.catalog-ui-placeholder-sub {
  font-size: 8.5px;
  color: #8da496;
}

.catalog-ui-screen-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.catalog-ui-box .product-catalog-ui-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.25s ease, filter 0.2s ease;
}

.catalog-ui-screen-link:hover .product-catalog-ui-img {
  transform: scale(1.02);
  filter: brightness(0.92);
}

.catalog-ui-screen-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(14, 43, 31, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  opacity: 0.9;
  pointer-events: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.catalog-ui-screen-link:hover .catalog-ui-screen-badge {
  opacity: 1;
  transform: scale(1.05);
  background: rgba(14, 43, 31, 0.98);
}

.catalog-ui-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  background: #f7faf8;
  border-top: 1px solid #e4ede6;
  font-size: 9.5px;
  color: var(--muted);
}

.catalog-ui-footer-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.catalog-ui-footer-note i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.catalog-ui-footer-action {
  color: var(--green-800);
  font-weight: 700;
}

.preview-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 8px 10px;
  background: #ffffff;
}

.preview-metric-box {
  padding: 5px 8px;
  background: #f8faf8;
  border-radius: 5px;
  border: 1px solid #e7efe9;
}

.preview-metric-box small {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.preview-metric-box strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink);
}

/* Card Body */
.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-modules-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

.detail-module-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #f7faf8;
  border: 1px solid #e2ebe5;
  transition: all 0.15s ease;
}

.detail-module-chip:hover {
  border-color: #bcd5c4;
  background: #f0f7f3;
}

.detail-module-chip span {
  color: var(--green-800);
  font-weight: 800;
  font-size: 9px;
  font-family: ui-monospace, monospace;
}

.detail-module-chip b {
  color: var(--ink);
  font-weight: 600;
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card CTA */
.product-card-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.product-card-cta .button {
  flex: 1 1 auto;
  padding: 7px 12px;
  font-size: 11.5px;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.product-cta-note {
  width: 100%;
  margin: 2px 0 0;
  text-align: center;
  font-size: 9.5px;
  color: var(--muted);
}

.button-app-outline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1.5px solid var(--green-800, #176b4d);
  background: #ffffff;
  color: var(--green-800, #176b4d);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.button-app-outline:hover {
  background: var(--green-800, #176b4d);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 107, 77, 0.2);
}

/* CRUCIAL: Filtering hide class */
.product-detail-card.is-hidden,
.is-hidden {
  display: none !important;
}

#catalogEmpty[hidden] {
  display: none !important;
}

/* Responsive Overrides */
@media (max-width: 860px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .catalog-hero {
    padding: 38px 0 24px;
  }
  .catalog-section {
    padding: 20px 0 44px;
  }
  .catalog-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }
  .catalog-filters {
    gap: 6px;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .catalog-filter-btn {
    padding: 6px 12px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .product-detail-card {
    padding: 16px 14px 14px;
  }
  .catalog-ui-screen {
    height: 88px;
    max-height: 88px;
  }
}

/* ================================================================
   LIGHTBOX / PHOTO VIEWER MODAL
   Muncul saat klik foto produk di homepage & katalog
   ================================================================ */

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 22, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.photo-lightbox[hidden] {
  display: none !important;
}

.photo-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: min(92vw, 1000px);
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #0d1f17;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo-lightbox.is-open .lightbox-inner {
  transform: scale(1) translateY(0);
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #101e17;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 12px;
  flex-shrink: 0;
}

.lightbox-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  font-family: var(--font-display, sans-serif);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lightbox-counter {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  font-family: ui-monospace, monospace;
  font-weight: 600;
}

.lightbox-close {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.lightbox-close:hover {
  background: rgba(255,80,80,0.25);
  color: #ff8080;
}

.lightbox-img-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1710;
  min-height: 200px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: opacity 0.18s ease;
}

.lightbox-img.is-loading {
  opacity: 0;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

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

.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

.lightbox-nav:disabled {
  opacity: 0.2;
  pointer-events: none;
}

.lightbox-thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #0d1a12;
  border-top: 1px solid rgba(255,255,255,0.07);
  overflow-x: auto;
  flex-shrink: 0;
}

.lightbox-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 36px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.55;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.active {
  border-color: #27c93f;
  opacity: 1;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: #0d1a12;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.lightbox-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: var(--green-800, #176b4d);
  color: #ffffff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.lightbox-footer-link:hover { background: #0f4a35; }

/* ================================================================
   FRONTEND PAGINATION BAR (Max 10 Data per Halaman)
   ================================================================ */
.site-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(18, 72, 47, 0.04);
}

.site-pagination-info {
  font-size: 13px;
  color: var(--ink-soft);
}

.site-pagination-info strong {
  color: var(--ink);
  font-weight: 700;
}

.site-pagination-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.site-page-btn:hover:not(:disabled):not(.is-active) {
  border-color: #a3c9b3;
  color: var(--green-900);
  background: var(--green-50);
}

.site-page-btn.is-active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #ffffff;
  cursor: default;
  box-shadow: 0 2px 8px rgba(23, 107, 77, 0.25);
}

.site-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f8faf8;
}

.site-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 36px;
  color: var(--ink-soft);
  font-weight: 700;
}

@media (max-width: 640px) {
  .site-pagination-bar {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 14px;
  }
}

/* ===== VISI & MISI SECTION (COMPACT, SENIOR UI/UX & FULLY RESPONSIVE) ===== */
.about-vm-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 76px) 0;
}

.about-vm-section .section-heading {
  margin-bottom: 28px;
}

.about-vm-section .section-heading h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.22;
  letter-spacing: -1.2px;
}

.about-vm-section .section-heading > p {
  font-size: 13px;
  line-height: 1.75;
  max-width: 440px;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: stretch;
}

.vm-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  position: relative;
}

.vm-card:hover {
  border-color: #c5d9cd;
  box-shadow: 0 12px 28px -6px rgba(16, 47, 37, 0.06);
  transform: translateY(-2px);
}

.vm-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.vm-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--green-800);
  background: var(--green-100);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.vm-tag::before {
  content: "";
  display: inline-block;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: var(--green-600);
}

.vm-index {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.vm-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.4px;
  line-height: 1.3;
  margin: 0 0 14px;
}

/* Visi Card */
.vm-card-vision {
  background: #ffffff;
}

.vm-vision-quote {
  margin: 0 0 16px;
  padding: 16px 18px;
  background: var(--green-50);
  border-left: 3px solid var(--green-700);
  border-radius: 0 6px 6px 0;
}

.vm-vision-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14.5px;
  line-height: 1.65;
  font-weight: 600;
  color: var(--green-950);
  letter-spacing: -0.2px;
}

.vm-vision-pillars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #fbfdfb;
  border: 1px dashed #dce7df;
  border-radius: 6px;
}

.vm-pillar-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #3b5043;
}

.vm-pillar-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-700);
  flex-shrink: 0;
}

.vm-vision-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
}

.vm-vision-meta-icon {
  width: 15px;
  height: 15px;
  color: var(--green-700);
  flex-shrink: 0;
}

/* Misi Card */
.vm-card-mission {
  background: #ffffff;
}

.vm-mission-container {
  flex: 1;
}

.vm-mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.vm-mission-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2ee;
}

.vm-mission-item:first-child {
  padding-top: 0;
}

.vm-mission-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vm-mission-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
  margin-top: 1px;
}

.vm-mission-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 500;
  flex: 1;
}

/* ===== GLOBAL RESPONSIVE ENHANCEMENTS FOR ABOUT PAGE ===== */
.page-hero-about h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.16;
  letter-spacing: -1.4px;
}

.about-story {
  padding: clamp(48px, 6vw, 76px) 0;
}

.about-copy h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.22;
  letter-spacing: -1px;
}

.about-copy > p {
  font-size: 13px;
  line-height: 1.85;
}

.principles-section {
  padding: clamp(48px, 6vw, 76px) 0;
}

.principles-section .section-heading {
  margin-bottom: 32px;
}

.principles-section .section-heading h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.22;
  letter-spacing: -1px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.principle-card {
  padding: 22px 18px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 960px) {
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-visual {
    min-height: auto;
    max-height: 240px;
    padding: 20px;
  }
  .about-visual img {
    max-height: 180px;
  }
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== MOTTO BAND STYLES (SENTENCE CASE) ===== */
.motto-band-text {
  text-transform: none !important;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.7;
  color: var(--green-900);
}

@media (max-width: 640px) {
  .vm-card {
    padding: 20px 18px;
  }
  .vm-vision-quote {
    padding: 14px 16px;
  }
  .vm-vision-quote p {
    font-size: 13.5px;
  }
  .principle-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .motto-band-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }
  .motto-band-text {
    font-size: 12.5px;
    line-height: 1.6;
  }
  .about-values {
    gap: 10px;
  }
  .about-values div {
    font-size: 12px;
  }
}

/* ================================================================
   HALAMAN LEGAL (TERMS & PRIVACY PAGES)
   ================================================================ */

.page-hero-legal {
  padding: clamp(60px, 8vw, 90px) 0;
  background: linear-gradient(135deg, #f8fbfa 0%, #f5f9f7 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-legal .page-hero-copy h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--ink);
  margin: 12px 0 14px;
}

.page-hero-legal .page-hero-copy h1 em {
  color: var(--green-700);
  font-style: normal;
  font-weight: 700;
}

.page-hero-legal .page-hero-lead {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.legal-content {
  padding: clamp(48px, 6vw, 76px) 0;
  background: #ffffff;
}

.legal-grid {
  max-width: 760px;
  margin: 0 auto;
}

.legal-article {
  color: var(--ink);
}

.legal-article h2 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 28px 0 14px;
  padding-top: 12px;
}

.legal-article h2:first-child {
  margin-top: 0;
  padding-top: 0;
}

.legal-article h3 {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.4px;
  margin: 24px 0 12px;
}

.legal-article p {
  font-size: 13.5px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.legal-article ul {
  list-style: none;
  margin: 12px 0 16px;
  padding: 0;
}

.legal-article li {
  font-size: 13.5px;
  line-height: 1.75;
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
}

.legal-article li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 600;
}

.legal-article h2:not([style*="color"]),
.legal-article h3:not([style*="color"]) {
  color: var(--ink);
}

.legal-article p:not([style*="color"]),
.legal-article li:not([style*="color"]) {
  color: var(--ink-soft);
}

.legal-article strong:not([style*="color"]),
.legal-article b:not([style*="color"]) {
  color: var(--ink);
  font-weight: 700;
}

.legal-link {
  color: var(--green-700);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.22s ease, color 0.22s ease;
}

.legal-link:hover {
  color: var(--green-800);
  border-bottom-color: var(--green-700);
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero-legal {
    padding: 48px 0;
  }

  .page-hero-legal .page-hero-copy h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 10px 0 12px;
  }

  .legal-article h2 {
    font-size: clamp(16px, 2vw, 20px);
    margin: 24px 0 12px;
  }

  .legal-article p,
  .legal-article li {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .page-hero-legal {
    padding: 40px 0;
  }

  .page-hero-legal .page-hero-copy h1 {
    font-size: 26px;
    margin: 8px 0 10px;
  }

  .page-hero-legal .page-hero-lead {
    font-size: 13px;
  }

  .legal-content {
    padding: 36px 0;
  }

  .legal-grid {
    max-width: 100%;
  }

  .legal-article h2 {
    font-size: 16px;
    margin: 20px 0 10px;
  }

  .legal-article p,
  .legal-article li {
    font-size: 12.5px;
    line-height: 1.7;
  }

  .legal-article li {
    margin: 6px 0;
  }
}


/* ================================================================
   PRODUCT SECTION — RESPONSIVE OVERRIDES (Tambahan Fix)
   Mencegah foto produk melebar/berantakan saat banyak data produk
   ================================================================ */

/* Pastikan product-ui-preview tidak stretch secara vertikal */
.product-ui-preview {
  flex-shrink: 0;
}

/* Fix: foto produk SELALU fixed height, tidak ikut stretch container */
.product-ui-screen,
.product-ui-img {
  height: 160px !important;
  max-height: 160px !important;
  min-height: 160px !important;
  width: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: top center !important;
  overflow: hidden;
}

.product-ui-screen {
  position: relative !important;
}

/* Tabs nav responsive: wrap agar tidak overflow saat banyak produk */
@media (max-width: 1050px) {
  .product-tabs-nav {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }

  .product-tab-btn {
    flex-shrink: 0;
  }
}

/* Mobile: semua ukuran harus proporsional */
@media (max-width: 760px) {
  .product-showcase-wrap {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .product-tabs-nav {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 6px !important;
  }

  .product-tab-btn {
    padding: 5px 11px !important;
    font-size: 10px !important;
  }

  .product-panel {
    padding: 16px !important;
    min-width: 0;
    overflow: hidden;
  }

  .product-ui-screen,
  .product-ui-img {
    height: 140px !important;
    max-height: 140px !important;
    min-height: 140px !important;
  }

  .module-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
  }

  .product-panel-bottom {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .product-panel-actions {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .product-showcase-footer {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .product-ui-screen,
  .product-ui-img {
    height: 120px !important;
    max-height: 120px !important;
    min-height: 120px !important;
  }

  .module-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .product-tab-btn {
    padding: 4px 10px !important;
    font-size: 9.5px !important;
  }
}
