/* =========================================================
   VALIDIKA — Public Site Stylesheet
   Tema: Biru Denim Soft | Mobile-first, responsif penuh
   ========================================================= */

:root {
  --denim-900: #1e3a5f;
  --denim-800: #234a73;
  --denim-700: #2d5a8c;
  --denim-600: #3a6da3;
  --denim-500: #4a7cb5;
  --denim-400: #6b97c6;
  --denim-300: #a8c5e0;
  --denim-200: #cfe0ef;
  --denim-100: #e8f0f8;
  --denim-50:  #f5f9fc;

  --gold: #c9a227;
  --gold-dark: #9c7d1a;
  --teal: #1f8a8a;
  --wa-green: #25D366;
  --wa-green-dark: #1da851;

  --ink: #1f2933;
  --muted: #5b6b7a;
  --muted-light: #8497a6;
  --white: #ffffff;
  --border: #dbe6f0;
  --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.08);
  --shadow-md: 0 8px 24px rgba(30, 58, 95, 0.12);
  --shadow-lg: 0 16px 40px rgba(30, 58, 95, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
/* scroll-behavior:smooth SENGAJA TIDAK dipakai — pada sebagian browser mobile
   (terutama saat ada elemen position:sticky bertingkat) smooth-scroll bawaan CSS
   bisa "berebut" dengan scroll asli pengguna dan terasa seperti halaman
   nyentak/lompat ke atas. Klik link kategori jadi lompat instan, lebih stabil. */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--denim-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; vertical-align: -0.125em; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; color: var(--denim-900); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--denim-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--denim-800); box-shadow: var(--shadow-md); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: var(--wa-green-dark); }
.btn-outline { background: transparent; border: 2px solid var(--denim-300); color: var(--denim-700); }
.btn-outline:hover { background: var(--denim-100); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

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

/* =============== HEADER / NAVBAR =============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; color: var(--denim-900); letter-spacing: .5px; }
.brand-text span { font-size: 0.68rem; color: var(--muted); font-weight: 600; }

.desktop-nav { display: none; }
.desktop-nav ul { display: flex; align-items: center; gap: 26px; }
.desktop-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--denim-800);
  position: relative;
  padding: 6px 0;
}
.desktop-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .2s ease;
}
.desktop-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-wa { display: none; }

/* Search di dalam header — HANYA tampil di mobile (antara logo & hamburger) */
.header-search { display: none; min-width: 0; }
.header-search .search-wrap { flex: 1; min-width: 0; margin: 0; max-width: none; }
.header-search .search-box { padding: 4px 6px 4px 14px; }
.header-search .search-icon { font-size: 0.85rem; }
.header-search .search-input { padding: 8px 0; font-size: 0.85rem; min-width: 0; }
.header-search .search-results { left: 0; right: 0; top: calc(100% + 10px); }

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--denim-700);
  border-radius: 10px;
  border: none;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile off-canvas menu */
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(15,30,48,0.5);
  z-index: 600; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: var(--white);
  z-index: 601;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px; border-bottom: 1px solid var(--border);
}
.mobile-menu-header img { height: 36px; }
.mobile-menu-close {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--denim-100); color: var(--denim-800); font-size: 1.1rem;
}
.mobile-menu-body { padding: 10px 8px; overflow-y: auto; flex: 1; }
.mobile-menu-body a {
  display: flex; align-items: center; padding: 13px 14px; border-radius: 10px;
  font-weight: 600; color: var(--denim-900); font-size: 0.95rem;
}
.mobile-menu-body a:active,
.mobile-menu-body a:hover { background: var(--denim-100); }
.mobile-menu-footer { padding: 16px 18px 22px; border-top: 1px solid var(--border); }

/* =============== HERO =============== */
.hero {
  background: linear-gradient(160deg, var(--denim-900) 0%, var(--denim-700) 55%, var(--denim-500) 100%);
  color: #fff;
  padding: 46px 0 54px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,162,39,0.35), transparent 70%);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .5px;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 14px;
}
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.12); }
.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  margin-top: 34px; position: relative; z-index: 1;
}
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--gold); }
.hero-stats span { font-size: 0.75rem; color: rgba(255,255,255,0.75); }

/* =============== KENAPA PILIH KAMI (FITUR/KEUNGGULAN) =============== */
/* Satu baris, scroll horizontal (swipe) di layar sempit — otomatis tidak perlu
   scroll kalau semua kartu sudah cukup muat di layar lebar. */
.features-section { background: #fff; padding: 26px 0; border-bottom: 1px solid var(--border); }
.features-grid {
  display: flex; gap: 8px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 8px; margin-bottom: -8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--denim-300) transparent;
}
.features-grid::-webkit-scrollbar { height: 5px; }
.features-grid::-webkit-scrollbar-track { background: transparent; }
.features-grid::-webkit-scrollbar-thumb { background: var(--denim-300); border-radius: 999px; }

.feature-item {
  flex: 0 0 auto; width: 122px;
  text-align: center; padding: 6px 4px;
  scroll-snap-align: start;
}
@media (min-width: 480px) { .feature-item { width: 132px; } }
@media (min-width: 700px) { .feature-item { width: 148px; } }
@media (min-width: 1024px) { .feature-item { width: 158px; } }

.feature-icon {
  width: 34px; height: 34px; margin: 0 auto 6px;
  border-radius: 50%; background: var(--denim-100); color: var(--denim-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 16px; height: 16px; }
.feature-item h4 { font-size: 0.72rem; color: var(--denim-900); line-height: 1.28; margin-bottom: 3px; }
.feature-item p {
  font-size: 0.66rem; color: var(--muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 700px) {
  .feature-icon { width: 40px; height: 40px; }
  .feature-icon svg { width: 18px; height: 18px; }
  .feature-item h4 { font-size: 0.78rem; }
  .feature-item p { font-size: 0.7rem; }
}

/* =============== SECTIONS =============== */
.section { padding: 46px 0; }
.section-head { max-width: 680px; margin: 0 auto 30px; text-align: center; }
.section-eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px;
  color: var(--denim-600); text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.35rem, 3.4vw, 1.9rem); }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }

/* =============== SEARCH BOX =============== */
.search-wrap { position: relative; max-width: 620px; margin: 0 auto 34px; }
.search-box {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 2px solid var(--border);
  border-radius: 999px; padding: 6px 8px 6px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search-box:focus-within { border-color: var(--denim-500); box-shadow: 0 0 0 4px rgba(74,124,181,0.15); }
.search-icon { font-size: 1rem; flex-shrink: 0; opacity: .6; }
.search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 0.95rem; font-family: inherit; color: var(--ink);
  min-width: 0; padding: 10px 0;
}
.search-input::placeholder { color: var(--muted-light); }
.search-clear {
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: var(--denim-100); color: var(--denim-700);
  font-size: 1.1rem; line-height: 1; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.search-clear:hover { background: var(--denim-200); }

.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 360px; overflow-y: auto;
  z-index: 350;
  padding: 8px;
}
.search-result-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 12px; border-radius: 10px; cursor: pointer;
  transition: background .12s ease;
}
.search-result-item:hover, .search-result-item.active { background: var(--denim-50); }
.search-result-text { min-width: 0; }
.search-result-text strong { display: block; font-size: 0.87rem; color: var(--denim-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-text span { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.search-result-price { flex-shrink: 0; font-size: 0.8rem; font-weight: 800; color: var(--denim-700); white-space: nowrap; }
.search-empty { padding: 20px 14px; text-align: center; color: var(--muted); font-size: 0.85rem; }

@keyframes searchPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,23,0); }
  20% { box-shadow: 0 0 0 6px rgba(212,160,23,0.35); }
  50% { box-shadow: 0 0 0 3px rgba(212,160,23,0.25); }
}
.search-target-highlight {
  animation: searchPulse 1.4s ease-out 2;
  border-color: var(--gold) !important;
}

.category-block { margin-bottom: 44px; scroll-margin-top: calc(var(--header-h) + 16px); }
.category-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.category-head-text h3 {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.category-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--denim-700); color: #fff; font-size: 0.85rem; font-weight: 800;
  flex-shrink: 0;
}
.category-head-text p { color: var(--muted); font-size: 0.85rem; margin-top: 6px; max-width: 640px; }

.badge-flag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: .4px;
  background: linear-gradient(135deg, var(--gold), #e0bd4a);
  color: #4a3400;
  white-space: nowrap;
}
.category-block.flagship {
  background: linear-gradient(180deg, #fbf6ea 0%, var(--denim-50) 100%);
  border: 1px solid #ecd9a3;
  border-radius: var(--radius);
  padding: 22px 18px 26px;
}
.category-block.niche .category-num { background: var(--teal); }

/* =============== PRODUCT GRID (gaya e-commerce) =============== */
.items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.items-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 560px) {
  .items-grid.grid-2 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 992px) {
  .items-grid.grid-2 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.product-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--denim-100); }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-media-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--denim-700) 0%, var(--denim-500) 100%);
}
.product-media-placeholder img { width: 42%; height: auto; max-height: 60%; object-fit: contain; opacity: .9; filter: brightness(0) invert(1); }

.product-badge-trust {
  position: absolute; top: 7px; left: 7px;
  display: flex; align-items: center; gap: 3px;
  background: rgba(255,255,255,0.95); color: var(--denim-800);
  font-size: 0.6rem; font-weight: 800; padding: 4px 7px 4px 6px; border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0,0,0,.14);
}
.product-badge-trust svg { width: 9px; height: 9px; color: #1f8a5c; }
.product-badge-flag {
  position: absolute; top: 7px; right: 7px;
  background: linear-gradient(135deg, var(--gold), #e0bd4a); color: #4a3400;
  font-size: 0.58rem; font-weight: 800; padding: 4px 7px; border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0,0,0,.16);
}

/* Kartu 2-kolom (mobile) terlalu sempit untuk dua badge sejajar — tumpuk vertikal */
@media (max-width: 559px) {
  .product-badge-trust { max-width: calc(100% - 14px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .product-badge-flag { top: 30px; }
}

.product-body { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-cat { font-size: 0.6rem; text-transform: uppercase; letter-spacing: .4px; color: var(--muted-light); font-weight: 800; }
.product-name {
  font-size: 0.82rem; color: var(--denim-900); line-height: 1.32; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.2em;
}
.product-desc {
  font-size: 0.7rem; color: var(--muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price-row { margin-top: auto; padding-top: 5px; }
.product-price-row .label { display: block; font-size: 0.58rem; color: var(--muted-light); text-transform: uppercase; letter-spacing: .3px; }
.product-price { font-size: 0.98rem; font-weight: 800; color: var(--denim-700); }
.product-price .note { font-size: 0.64rem; font-weight: 700; color: var(--muted); }

.btn-order {
  margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--wa-green); color: #fff;
  padding: 9px 8px; border-radius: 8px;
  font-size: 0.74rem; font-weight: 700;
  transition: background .15s ease;
}
.btn-order:hover { background: var(--wa-green-dark); }
.btn-order svg { width: 13px; height: 13px; }

/* Kompatibilitas: price-row/price-tag/wa-mini masih dipakai di dalam bundle-body */
.price-row {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 10px; border-top: 1px dashed var(--border);
}
.price-tag { display: flex; flex-direction: column; }
.price-tag .label { font-size: 0.66rem; color: var(--muted-light); text-transform: uppercase; letter-spacing: .5px; }
.price-tag .amount { font-size: 1.05rem; font-weight: 800; color: var(--denim-700); }
.price-tag .amount .note { font-size: 0.72rem; font-weight: 600; color: var(--muted); }

.wa-mini {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--wa-green); color: #fff;
  padding: 9px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  flex-shrink: 0;
  transition: background .15s ease;
}
.wa-mini:hover { background: var(--wa-green-dark); }
.wa-mini svg { width: 14px; height: 14px; }

@media (max-width: 420px) {
  .price-row { flex-direction: column; align-items: stretch; }
  .wa-mini { justify-content: center; }
}

/* =============== BUNDLE / PAKET CARD =============== */
.bundle-card {
  background: #fff;
  border: 1px solid #ecd9a3;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
}
.bundle-card:hover { box-shadow: var(--shadow-md); }
.bundle-media { position: relative; aspect-ratio: 16 / 9; background: var(--denim-100); flex-shrink: 0; }
.bundle-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bundle-media-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, #e0bd4a 100%);
}
.bundle-media-placeholder img { width: 30%; height: auto; max-height: 60%; object-fit: contain; opacity: .9; filter: brightness(0) invert(1); }
.bundle-badge {
  position: absolute; top: 9px; left: 9px;
  background: rgba(255,255,255,.96); color: var(--gold-dark); font-size: 0.62rem; font-weight: 800;
  padding: 5px 10px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.14);
}
.bundle-body { padding: 16px 16px 18px; border-left: 4px solid var(--gold); flex: 1; }
.bundle-body h4 { font-size: 1.02rem; margin-bottom: 8px; }
.bundle-body .detail-list { margin-bottom: 14px; }

@media (min-width: 680px) {
  .bundle-card { flex-direction: row; }
  .bundle-media { width: 240px; aspect-ratio: auto; }
  .bundle-body { border-left: none; border-top: none; }
}

/* =============== TESTIMONIALS =============== */
.testimonial-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 700px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.testimonial-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; }
.testimonial-msg { font-size: 0.88rem; color: var(--ink); line-height: 1.6; font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  background: var(--denim-200); color: var(--denim-800);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: 0.85rem; color: var(--denim-900); }
.testimonial-person span { display: block; font-size: 0.72rem; color: var(--muted); }

/* =============== GALERI SCREENSHOT TESTIMONI =============== */
.screenshot-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px;
}
@media (min-width: 700px) { .screenshot-gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 992px) { .screenshot-gallery { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
.screenshot-thumb {
  position: relative;
  aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border); background: var(--denim-100);
  cursor: pointer; padding: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.screenshot-thumb:hover, .screenshot-thumb:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.screenshot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screenshot-zoom {
  position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: center;
  padding: 14px 0 8px; background: linear-gradient(to top, rgba(15,30,48,.62), rgba(15,30,48,0));
  opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.screenshot-zoom svg { width: 18px; height: 18px; color: #fff; }
.screenshot-thumb:hover .screenshot-zoom, .screenshot-thumb:focus-visible .screenshot-zoom { opacity: 1; }

/* =============== PAGINATION =============== */
.pagination {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px; margin-top: 26px;
}
.pg-btn {
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; font-weight: 700; text-decoration: none;
  border: 1px solid var(--border); color: var(--denim-700); background: #fff;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
a.pg-btn:hover { background: var(--denim-100); border-color: var(--denim-300); }
.pg-current { background: var(--denim-700); border-color: var(--denim-700); color: #fff; }
.pg-disabled { opacity: .35; pointer-events: none; }
.pg-ellipsis { padding: 0 4px; color: var(--muted-light); font-weight: 700; }
@media (max-width: 420px) {
  .pg-btn { min-width: 36px; height: 36px; font-size: 0.82rem; }
}

/* =============== MODAL / LIGHTBOX (detail produk & screenshot) =============== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,30,48,0.65);
  z-index: 800; display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-dialog {
  background: #fff; border-radius: var(--radius); max-width: 480px; width: 100%;
  max-height: 88vh; overflow-y: auto; position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); transition: transform .2s ease;
}
.modal-overlay.active .modal-dialog { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.92); color: var(--denim-800);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
}
.modal-close svg { width: 14px; height: 14px; }
.modal-media { aspect-ratio: 9 / 16; max-height: 46vh; background: var(--denim-100); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-body { padding: 18px 20px 22px; }
.modal-cat { font-size: 0.65rem; text-transform: uppercase; letter-spacing: .4px; color: var(--muted-light); font-weight: 800; }
.modal-body h3 { font-size: 1.1rem; margin: 4px 0 10px; }
.modal-desc { font-size: 0.85rem; color: var(--ink); line-height: 1.55; margin-bottom: 10px; }
.modal-detail-box {
  background: var(--denim-50); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 14px;
}
.modal-detail-box h5 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .4px; color: var(--denim-700); margin-bottom: 6px; }
.modal-detail-box p { font-size: 0.82rem; color: var(--ink); line-height: 1.55; white-space: pre-line; }
.modal-price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 12px; border-top: 1px dashed var(--border); margin-bottom: 14px;
}
.modal-price { font-size: 1.15rem; font-weight: 800; color: var(--denim-700); }
.modal-price .note { font-size: 0.72rem; font-weight: 600; color: var(--muted); }

.lightbox-dialog { max-width: 420px; background: transparent; box-shadow: none; }
.lightbox-dialog img { width: 100%; border-radius: var(--radius); display: block; }
.lightbox-caption { color: #fff; text-align: center; font-size: 0.82rem; margin-top: 10px; }

/* =============== CTA =============== */
.cta-band {
  background: var(--denim-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  margin: 10px auto 0;
}
.cta-band h3 { color: #fff; font-size: clamp(1.15rem, 3vw, 1.5rem); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 0.9rem; }

/* =============== FOOTER =============== */
.site-footer { background: var(--denim-900); color: rgba(255,255,255,0.75); padding: 40px 0 26px; margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 26px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 42px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.65); }
.footer-col h5 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; fill: #fff; }
.footer-social a:hover { background: var(--gold); }
.footer-note {
  font-size: 0.72rem; color: rgba(255,255,255,0.45); line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 16px;
}

/* =============== FLOATING BUTTONS =============== */
.floating-wrap {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.social-stack {
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-end;
  margin-bottom: 2px;
}
.social-stack a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(10px) scale(.7);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.social-stack svg { width: 18px; height: 18px; }
.floating-wrap.social-open .social-stack a {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.floating-wrap.social-open .social-stack a:nth-child(1) { transition-delay: .02s; }
.floating-wrap.social-open .social-stack a:nth-child(2) { transition-delay: .06s; }
.floating-wrap.social-open .social-stack a:nth-child(3) { transition-delay: .10s; }
.floating-wrap.social-open .social-stack a:nth-child(4) { transition-delay: .14s; }
.floating-wrap.social-open .social-stack a:nth-child(5) { transition-delay: .18s; }

.fab {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; box-shadow: var(--shadow-md);
  transition: transform .2s ease;
}
.fab:active { transform: scale(0.92); }
.fab-wa { background: var(--wa-green); }
.fab-wa svg { width: 26px; height: 26px; fill: #fff; }
.fab-share { background: var(--denim-700); }
.fab-share svg { width: 20px; height: 20px; fill: #fff; transition: transform .25s ease; }
.floating-wrap.social-open .fab-share svg { transform: rotate(135deg); }

@media (max-width: 480px) {
  .floating-wrap { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); gap: 8px; }
  .fab { width: 46px; height: 46px; }
  .fab-wa svg { width: 23px; height: 23px; }
  .social-stack a { width: 36px; height: 36px; }
  .social-stack svg { width: 16px; height: 16px; }
}

/* Landscape phones: shrink floating buttons further so they don't eat viewport height */
@media (max-height: 480px) and (orientation: landscape) {
  .floating-wrap { bottom: 8px; right: 10px; gap: 6px; }
  .fab { width: 40px; height: 40px; }
  .social-stack a { width: 32px; height: 32px; }
}

/* =============== BOTTOM NAV (mobile & tablet/iPad, <1024px) =============== */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 650;
  display: flex; background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(30,58,95,0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 8px 2px 7px; color: var(--muted); font-size: 0.62rem; font-weight: 700;
}
.bottom-nav-item svg { width: 19px; height: 19px; }
.bottom-nav-item.active { color: var(--denim-700); }
.bottom-nav-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1023px) {
  .bottom-nav { display: flex; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .floating-wrap { bottom: calc(56px + 14px + env(safe-area-inset-bottom)); }
}

/* =============== RESPONSIVE NAV VISIBILITY =============== */
@media (min-width: 1024px) {
  .desktop-nav { display: block; }
  .hamburger, .mobile-menu, .mobile-menu-overlay, .bottom-nav { display: none !important; }
  .header-actions .btn-wa { display: inline-flex; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .desktop-nav ul { gap: 16px; }
  .desktop-nav a { font-size: 0.85rem; }
}

/* Mobile & tablet/iPad (<1024px): search pindah ke header (antara logo & hamburger),
   teks "Validika" di sebelah logo disembunyikan supaya ada ruang,
   search versi halaman (#layanan) disembunyikan supaya tidak dobel,
   dan bottom nav (Beranda/Paket/Testimoni/Galeri/Artikel) muncul. */
@media (max-width: 1023px) {
  .brand-text { display: none; }
  .header-inner { gap: 10px; }
  .header-search { display: flex; flex: 1; min-width: 0; }
  #searchWrap { display: none; }
}

/* Small phones ≤480px fine-tuning */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero { padding: 34px 0 42px; }
  .section { padding: 34px 0; }
  .brand img { height: 36px; }
  .brand-text strong { font-size: 0.92rem; }
  .brand-text span { display: none; }
  :root { --header-h: 64px; }
}

/* Tablet / iPad portrait */
@media (min-width: 600px) and (max-width: 991px) {
  .hero-actions { justify-content: center; }
}

/* Large desktop */
@media (min-width: 1200px) {
  .container { padding: 0 24px; }
}

/* =============== PAGE HERO (halaman selain beranda) =============== */
.page-hero { padding: 34px 0; text-align: center; }
.page-hero .hero-inner { max-width: 640px; }
.page-hero h1 { font-size: clamp(1.4rem, 4vw, 2rem); }
.page-hero p { margin-bottom: 0; }

/* =============== GALERI =============== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 560px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.gallery-item {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border); background: var(--denim-100); padding: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(15,30,48,0.25);
}
.gallery-play svg {
  width: 44px; height: 44px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(15,30,48,0.85), transparent);
  color: #fff; font-size: 0.72rem; font-weight: 700; padding: 18px 10px 8px; text-align: left;
}

/* =============== ARTIKEL (daftar) =============== */
.article-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 640px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .article-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.article-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-media { aspect-ratio: 16/10; background: var(--denim-100); }
.article-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-media-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--denim-700) 0%, var(--denim-500) 100%);
}
.article-media-placeholder img { width: 32%; height: auto; object-fit: contain; opacity: .9; filter: brightness(0) invert(1); }
.article-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.article-date { font-size: 0.68rem; text-transform: uppercase; letter-spacing: .4px; color: var(--muted-light); font-weight: 800; }
.article-body h3 { font-size: 1.02rem; line-height: 1.35; }
.article-body p { font-size: 0.84rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-readmore { margin-top: auto; padding-top: 8px; font-size: 0.8rem; font-weight: 700; color: var(--denim-700); }

/* =============== ARTIKEL (detail) =============== */
.article-detail-inner { max-width: 760px; }
.article-detail-head { text-align: center; margin-bottom: 20px; }
.article-detail-head h1 { font-size: clamp(1.4rem, 4vw, 2.1rem); margin-top: 8px; }
.article-detail-media { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; aspect-ratio: 16/9; background: var(--denim-100); }
.article-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-detail-content { font-size: 0.98rem; line-height: 1.75; color: var(--ink); }
.article-detail-content h2 { font-size: 1.35rem; margin: 1.3em 0 0.5em; }
.article-detail-content h3 { font-size: 1.12rem; margin: 1.2em 0 0.5em; }
.article-detail-content p { margin: 0 0 1em; }
.article-detail-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 0.8em 0; }
.article-detail-content a { color: var(--denim-700); text-decoration: underline; }
.article-detail-content ul, .article-detail-content ol { margin: 0 0 1em; padding-left: 1.5em; }
.article-detail-content blockquote {
  margin: 1em 0; padding: 10px 18px; border-left: 3px solid var(--denim-500);
  background: var(--denim-50); color: var(--muted); font-style: italic;
}
.article-back { margin-top: 30px; text-align: center; }
.article-back a { color: var(--denim-700); font-weight: 700; font-size: 0.9rem; }

/* =============== VIDEO MODAL (galeri) =============== */
.video-dialog { max-width: 640px; }
.video-embed-wrap { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.hidden { display: none !important; }
