/* ==========================================================================
   Anaya Semesta — stylesheet publik
   Semua warna, font, radius diatur dari Admin → Tampilan (variabel CSS di <head>)
   ========================================================================== */

:root {
  --primary: #C67C4E; --primary-rgb: 198,124,78;
  --secondary: #4A6741; --secondary-rgb: 74,103,65;
  --dark: #1A1A1A; --dark-rgb: 26,26,26;
  --bg: #FFFBF5; --bg-rgb: 255,251,245;
  --surface: #FFFFFF; --surface-rgb: 255,255,255;
  --muted: #F6F1EB; --muted-rgb: 246,241,235;
  --text: #1A1A1A; --text-rgb: 26,26,26;
  --wa: #25D366; --wa-rgb: 37,211,102;
  --font-h: "Instrument Serif", Georgia, serif;
  --font-b: "Inter", system-ui, sans-serif;
  --radius: 24px;
  --btn-radius: 999px;
  --container: 1280px;
  --h-scale: 1;
  --h-weight: 400;
  --header-h: 76px;
  --line: rgba(var(--text-rgb), .1);
  --line-strong: rgba(var(--text-rgb), .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-lg: calc(var(--radius) * 1.15);
  --r-md: calc(var(--radius) * .8);
  --r-sm: calc(var(--radius) * .6);
  --r-xs: calc(var(--radius) * .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-b); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--primary-rgb), .22); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(var(--primary-rgb), .35); border-radius: 999px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: rgba(var(--text-rgb), .6); font-size: 13px; }
.center { text-align: center; }

/* ---------- Tipografi ---------- */
.h-font { font-family: var(--font-h); font-weight: var(--h-weight); letter-spacing: -.02em; }
.t-primary { color: var(--primary); }
.t-secondary { color: var(--secondary); }
.t-mark { position: relative; display: inline-block; z-index: 0; }
.t-mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; z-index: -1;
  background: rgba(var(--primary-rgb), .22); transform: rotate(-1deg);
}
.dark-band .t-mark::after { background: rgba(var(--primary-rgb), .45); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .06em; color: rgba(var(--text-rgb), .6);
}
.eyebrow i { width: 32px; height: 1px; background: rgba(var(--text-rgb), .3); }
.section-title {
  margin-top: 12px;
  font-size: calc(clamp(38px, 5.6vw, 72px) * var(--h-scale)); line-height: .92; letter-spacing: -.03em;
}
.lead { margin-top: 20px; font-size: 15px; line-height: 1.75; color: rgba(var(--text-rgb), .7); max-width: 60ch; }
.section { padding: 88px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 22px; border-radius: var(--btn-radius);
  font-size: 14px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  border: 1px solid transparent; transition: background .2s, color .2s, box-shadow .25s, transform .2s var(--ease), border-color .2s;
  will-change: transform;
}
.btn-dark { background: var(--dark); color: var(--bg); box-shadow: 0 10px 30px -12px rgba(var(--dark-rgb), .55); }
.btn-dark:hover { background: #000; box-shadow: 0 16px 40px -14px rgba(var(--dark-rgb), .6); }
.btn-light { background: var(--surface); border-color: var(--line); }
.btn-light:hover { background: var(--dark); color: var(--bg); }
.btn-outline { border-color: var(--line-strong); background: transparent; }
.btn-outline:hover { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.btn-ghost { background: rgba(var(--text-rgb), .05); }
.btn-ghost:hover { background: rgba(var(--text-rgb), .1); }
.btn-white { background: #fff; color: var(--secondary); font-weight: 600; }
.btn-white:hover { transform: translateY(-1px); }
.btn-lg { height: 50px; padding: 0 28px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-bubble {
  width: 24px; height: 24px; border-radius: 50%; background: var(--bg); color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; margin-right: -8px;
}
.round-btn {
  width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .3s var(--ease), background .2s, color .2s;
}
.round-btn:hover { background: var(--dark); color: var(--bg); transform: rotate(45deg); }

.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 500; background: var(--surface); border: 1px solid var(--line); white-space: nowrap;
}
.chip-dark { background: var(--dark); color: var(--bg); border-color: transparent; font-weight: 600; letter-spacing: .02em; }
.chip-glass { background: rgba(255,255,255,.9); backdrop-filter: blur(6px); color: #1a1a1a; border-color: rgba(0,0,0,.08); }
.chip:empty { display: none; }

.pill-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pill-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
.dot-secondary { background: var(--secondary); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- Progress & header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--primary), var(--secondary)); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform .6s var(--ease), background .3s, box-shadow .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled {
  background: rgba(var(--bg-rgb), .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.announce { background: var(--dark); color: var(--bg); text-align: center; font-size: 12.5px; padding: 8px 16px; }
.announce a:hover { text-decoration: underline; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; letter-spacing: -.02em;
}
.brand-sm .brand-mark { width: 32px; height: 32px; font-size: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; font-size: 16px; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 6px; }
.brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); transition: transform .3s var(--ease); }
.brand:hover .brand-dot { transform: scale(1.8); }
.brand-tag { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; font-weight: 500; margin-top: 2px; }
.brand-img { width: auto; max-width: 200px; object-fit: contain; }

.nav-pill {
  display: none; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(var(--surface-rgb), .72); backdrop-filter: blur(10px); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.nav-link { padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: -.01em; transition: background .2s, color .2s; }
.nav-link:hover, .nav-link.is-current { background: var(--dark); color: var(--bg); }
.nav-link .ext { font-size: 10px; opacity: .6; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
.menu-toggle {
  width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 16px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu {
  margin: 0 16px 12px; padding: 10px; border-radius: var(--r-md); background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0,0,0,.25);
  display: grid; gap: 2px; animation: dropIn .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-link { padding: 12px 16px; border-radius: 12px; font-weight: 500; font-size: 14px; }
.mobile-link:hover { background: var(--bg); }
.mobile-menu .btn { margin-top: 8px; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 900px) {
  .nav-pill, .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 48px) 0 56px; }
@media (min-width: 768px) { .hero { padding: calc(var(--header-h) + 100px) 0 88px; } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.has-grid .hero-bg, .has-grid .page-hero .hero-bg {
  background-image: linear-gradient(rgba(var(--text-rgb), .035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--text-rgb), .035) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow-a { width: 560px; height: 560px; top: -130px; right: -130px; background: radial-gradient(circle, rgba(var(--primary-rgb), .33), transparent 60%); filter: blur(60px); }
.glow-b { width: 520px; height: 520px; top: 160px; left: -160px; background: radial-gradient(circle, rgba(var(--secondary-rgb), .3), transparent 65%); filter: blur(70px); }
.glow-disc { position: absolute; right: 18%; top: 40%; width: 260px; height: 260px; border-radius: 50%; background: rgba(var(--primary-rgb), .1); }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; } .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; } }
.hero-title { margin-top: 24px; font-size: calc(clamp(46px, 7.6vw, 104px) * var(--h-scale)); line-height: .9; letter-spacing: -.035em; }
.hero-desc { margin-top: 24px; max-width: 520px; font-size: 16px; line-height: 1.7; color: rgba(var(--text-rgb), .7); }
.hero-desc strong { color: var(--text); font-weight: 600; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars img, .avatar-count {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; margin-left: -10px; background: var(--muted);
}
.avatars > :first-child { margin-left: 0; }
.avatar-count { background: var(--dark); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.trust-text { font-size: 12px; line-height: 1.4; }
.stars { color: var(--primary); letter-spacing: 2px; font-size: 13px; }

/* Visual hero: planet partikel WebGL + foto lengkung + kartu orbit */
.hero-visual { position: relative; height: 480px; }
@media (min-width: 1024px) { .hero-visual { height: 620px; } }
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(var(--text-rgb), .1); pointer-events: none; }
.orbit-ring-1 { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
.orbit-ring-2 { width: 520px; height: 520px; margin: -260px 0 0 -260px; border-style: dashed; border-color: rgba(var(--text-rgb), .12); }
.orbit-ring-2 i { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .15), 0 0 24px rgba(var(--primary-rgb), .8); }
.anim .orbit-ring-2 { animation: spin 38s linear infinite; }
.anim .orbit-ring-1 { animation: spin 60s linear infinite reverse; }
@media (min-width: 1024px) {
  .orbit-ring-1 { width: 470px; height: 470px; margin: -235px 0 0 -235px; }
  .orbit-ring-2 { width: 640px; height: 640px; margin: -320px 0 0 -320px; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-photo {
  position: absolute; left: 50%; top: 50%; width: 230px; height: 300px; margin: -150px 0 0 -115px; z-index: 1;
  border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--muted);
  box-shadow: 0 40px 90px -30px rgba(var(--dark-rgb), .45), 0 0 0 1px rgba(var(--text-rgb), .06), 0 0 0 10px rgba(var(--surface-rgb), .35);
}
@media (min-width: 1024px) { .hero-photo { width: 300px; height: 400px; margin: -200px 0 0 -150px; } }
.hero-photo-media { position: absolute; inset: 0; }
.hero-photo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.hero-photo-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), transparent 50%); pointer-events: none; z-index: 2; }
.hero-photo-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; z-index: 3; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  border-radius: var(--r-sm); background: rgba(var(--surface-rgb), .78); border: 1px solid rgba(var(--text-rgb), .08);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.28);
}
.fc-icon { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.fc-text { display: flex; flex-direction: column; line-height: 1.3; }
.fc-text b { font-size: 12.5px; font-weight: 600; }
.fc-text small { font-size: 11px; opacity: .6; }
.fc-light .fc-icon { background: var(--secondary); color: #fff; }
.fc-dark { background: rgba(var(--dark-rgb), .88); color: var(--bg); border-color: rgba(255,255,255,.08); }
.fc-dark .fc-icon { background: var(--primary); color: #fff; }
.fc-dark .fc-text small { opacity: .7; }
.fc-soft .fc-icon { background: rgba(var(--primary-rgb), .14); }
.float-card-1 { left: 0; top: 64%; }
.float-card-2 { right: 0; top: 12%; }
.float-card-3 { left: 6%; top: 8%; }
@media (min-width: 768px) {
  .float-card-1 { left: 2%; top: 66%; }
  .float-card-2 { right: 2%; top: 22%; }
  .float-card-3 { left: 8%; top: 10%; }
}
.anim .float-card-1 { animation: floatA 6s ease-in-out infinite; }
.anim .float-card-2 { animation: floatB 7s ease-in-out infinite; }
.anim .float-card-3 { animation: floatC 5.5s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes floatB { 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes floatC { 50% { transform: translateY(-18px); } }
.scroll-hint { position: relative; margin: 40px auto 0; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: .6; width: max-content; z-index: 1; }
.scroll-hint span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.scroll-hint i { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(var(--text-rgb), .4), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 22px; background: var(--primary); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(240%); } }
@media (max-width: 1023px) { .scroll-hint { display: none; } }

/* ---------- Statistik ---------- */
.stats { background: var(--surface); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding-block: 36px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-block: 44px; } }
.stat { display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.stat-num { font-size: calc(30px * var(--h-scale)); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 4px; font-size: 13px; font-weight: 600; }
.stat-sub { font-size: 11px; opacity: .6; }

/* ---------- Tentang ---------- */
.about-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.mini-boxes { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.mini-box { padding: 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.mini-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; opacity: .6; }
.mini-box p { margin-top: 8px; font-size: 13px; line-height: 1.5; font-weight: 500; }
.about-right { display: grid; gap: 16px; }
.feature {
  display: flex; gap: 20px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.feature:hover { box-shadow: 0 20px 60px -20px rgba(0,0,0,.14); }
.feature-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--r-xs); background: rgba(var(--primary-rgb), .12); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.feature:nth-child(2) .feature-icon { background: rgba(var(--secondary-rgb), .14); }
.feature:nth-child(3) .feature-icon { background: var(--muted); }
.feature h3 { font-size: 15px; font-weight: 600; }
.feature p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(var(--text-rgb), .65); }
.values-card { position: relative; overflow: hidden; padding: 30px; border-radius: var(--radius); background: var(--dark); color: var(--bg); }
.values-glow { position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(var(--primary-rgb), .35); filter: blur(30px); }
.values-title { position: relative; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.values-tags { position: relative; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.values-tags span { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); font-size: 12px; }
.values-card blockquote { position: relative; margin: 24px 0 0; font-size: calc(21px * var(--h-scale)); line-height: 1.25; max-width: 30ch; }

/* ---------- Kartu produk ---------- */
.grid-3 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.featured-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .featured-grid { grid-template-columns: repeat(3, 1fr); } }

.pcard { height: 100%; }
.pcard-link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .3s;
}
.pcard-link:hover { box-shadow: 0 24px 60px -22px rgba(0,0,0,.22); transform: translateY(-3px); border-color: var(--line-strong); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--muted); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard-link:hover .pcard-media img { transform: scale(1.06); }
.pcard-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; opacity: .5; }
.pcard-noimg.big { position: static; min-height: 360px; font-size: 80px; }
.pcard-tags { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard-arrow {
  position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); color: var(--text); box-shadow: 0 4px 14px rgba(0,0,0,.14);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; transition: transform .4s var(--ease), background .2s, color .2s;
}
.pcard-link:hover .pcard-arrow { transform: rotate(45deg); background: var(--dark); color: var(--bg); }
.pcard-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-title { font-size: 14.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.pcard-desc { font-size: 12.5px; line-height: 1.6; color: rgba(var(--text-rgb), .6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-specs { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-specs span { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; background: rgba(var(--text-rgb), .05); border: 1px solid var(--line); }
.pcard-feature .pcard-link { background: var(--bg); border-radius: var(--radius); }
.pcard-feature .pcard-media { aspect-ratio: 16 / 11; }
.pcard-feature .pcard-body { padding: 22px; }
.pcard-feature .pcard-title { font-size: 16px; }
.tilt-wrap { perspective: 1000px; }
.tilt-wrap .pcard { transition: transform .35s var(--ease); transform-style: preserve-3d; }

/* Tampilan daftar */
.products-grid.is-list { grid-template-columns: 1fr; }
.products-grid.is-list .pcard-link { flex-direction: row; }
.products-grid.is-list .pcard-media { width: 200px; flex-shrink: 0; aspect-ratio: auto; min-height: 150px; }
.products-grid.is-list .pcard-body { padding: 20px 24px; justify-content: center; }
.products-grid.is-list .pcard-desc { -webkit-line-clamp: 3; }
.products-grid.is-list .pcard-specs { margin-top: 6px; }
@media (max-width: 560px) { .products-grid.is-list .pcard-media { width: 120px; } }

/* ---------- Katalog di beranda ---------- */
.catalog-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 290px 1fr; gap: 40px; align-items: start; } .catalog-side { position: sticky; top: calc(var(--header-h) + 20px); } }
.side-title { font-size: calc(32px * var(--h-scale)); line-height: .95; }
.side-desc { margin-top: 12px; font-size: 13px; line-height: 1.6; color: rgba(var(--text-rgb), .6); }
.search-box { position: relative; display: block; margin-top: 20px; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.search-box input {
  width: 100%; height: 46px; padding: 0 16px 0 42px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: 13.5px; transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus { outline: none; border-color: rgba(var(--primary-rgb), .5); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12); }
.cat-list { margin-top: 20px; padding: 6px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 2px; }
.cat-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500; text-align: left; transition: background .2s, color .2s; }
.cat-item b { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: rgba(var(--text-rgb), .06); }
.cat-item:hover { background: var(--bg); }
.cat-item.is-active { background: var(--dark); color: var(--bg); }
.cat-item.is-active b { background: rgba(255,255,255,.18); }
.promo-box { position: relative; overflow: hidden; margin-top: 16px; padding: 22px; border-radius: var(--r-md); background: var(--secondary); color: #fff; }
.promo-glow { position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.1); }
.promo-title { position: relative; font-weight: 600; font-size: 14px; }
.promo-box p { position: relative; margin: 6px 0 14px; font-size: 12.5px; line-height: 1.5; opacity: .85; }
.promo-box .btn { position: relative; }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.bar-right { display: flex; align-items: center; gap: 10px; }
.catalog-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.catalog-grid .pcard[hidden] { display: none; }
.catalog-more { margin-top: 32px; display: flex; justify-content: center; }
.empty-state { margin-top: 24px; padding: 64px 24px; text-align: center; border-radius: var(--r-md); background: var(--surface); border: 1px dashed var(--line-strong); }
.empty-state[hidden] { display: none; }
.empty-title { font-weight: 600; }
.empty-state p { font-size: 13px; opacity: .6; margin: 4px 0 16px; }

/* ---------- Testimoni ---------- */
.slider-nav { display: flex; gap: 8px; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
@media (min-width: 1024px) { .testi-track { grid-auto-columns: calc((100% - 40px) / 3); } }
.testi-track::-webkit-scrollbar { display: none; }
.testi { margin: 0; scroll-snap-align: start; padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.testi blockquote { margin: 0; font-size: 15px; line-height: 1.65; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption img, .testi-initial { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testi-initial { background: var(--dark); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.testi figcaption span { display: flex; flex-direction: column; line-height: 1.3; }
.testi figcaption b { font-size: 13.5px; }
.testi figcaption small { font-size: 12px; opacity: .6; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } .faq-intro { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-intro .btn { margin-top: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: 0 16px 40px -20px rgba(0,0,0,.14); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 15px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { background: var(--dark); color: var(--bg); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 24px 22px; font-size: 14px; line-height: 1.75; color: rgba(var(--text-rgb), .72); }

/* ---------- Kontak ---------- */
.dark-band { position: relative; overflow: hidden; background: var(--dark); color: var(--bg); }
.dark-band .lead { color: rgba(var(--bg-rgb), .62); }
.glow-c { width: 600px; height: 600px; top: -160px; right: -160px; background: rgba(var(--primary-rgb), .22); filter: blur(80px); }
.glow-d { width: 500px; height: 500px; bottom: -160px; left: -160px; background: rgba(var(--secondary-rgb), .32); filter: blur(80px); }
.contact-grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact .section-title { margin-top: 20px; }
.contact-info { margin-top: 32px; display: grid; gap: 14px; }
.info-row { display: flex; gap: 16px; padding: 16px; border-radius: var(--r-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .2s; }
.info-row:hover { background: rgba(255,255,255,.09); }
.info-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; }
.info-k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.info-v { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 500; line-height: 1.4; }
a.info-v:hover { color: var(--primary); }
.hours { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-sm); background: var(--primary); color: #fff; font-size: 13px; line-height: 1.4; }
.hours > span { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: rgba(0,0,0,.18); display: inline-flex; align-items: center; justify-content: center; }
.map { border-radius: var(--r-sm); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.map iframe { display: block; width: 100%; height: 240px; border: 0; }

.contact-form, .quote-form {
  padding: 28px; border-radius: var(--r-lg); background: var(--bg); color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); display: grid; gap: 16px; align-content: start;
}
@media (min-width: 768px) { .contact-form { padding: 36px; } }
.contact-form h3 { font-size: 18px; font-weight: 600; }
.form-note { font-size: 12.5px; opacity: .65; margin-top: -8px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.form-grid label { display: grid; gap: 6px; }
.form-grid label > span { font-size: 11.5px; font-weight: 500; opacity: .75; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: 13.5px; transition: border-color .2s, box-shadow .2s;
}
.form-grid textarea { height: auto; min-height: 112px; padding: 14px 16px; border-radius: var(--r-sm); resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: rgba(var(--primary-rgb), .5); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12); }
.form-privacy { font-size: 11px; opacity: .6; text-align: center; }
.form-ok { padding: 10px 14px; border-radius: 12px; background: rgba(var(--secondary-rgb), .12); color: var(--secondary); font-size: 13px; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: flex; flex-direction: column; gap: 40px; justify-content: space-between; }
@media (min-width: 900px) { .footer-inner { flex-direction: row; } }
.footer-brand p { margin-top: 14px; font-size: 12.5px; line-height: 1.6; opacity: .62; max-width: 360px; }
.footer-brand .copyright { margin-top: 12px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 13px; }
.footer-title { font-weight: 600; margin-bottom: 12px; }
.footer-cols ul { display: grid; gap: 8px; }
.footer-cols a, .footer-cols span { opacity: .7; transition: opacity .2s; }
.footer-cols a:hover { opacity: 1; }

/* ---------- Tombol melayang ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float-label {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); opacity: 0; pointer-events: none;
  background: var(--dark); color: var(--bg); font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; white-space: nowrap; transition: .25s var(--ease);
}
.wa-float:hover .wa-float-label { opacity: 1; transform: translate(0, -50%); }
.to-top {
  position: fixed; right: 28px; bottom: 88px; z-index: 89; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
body:not(:has(.wa-float)) .to-top { bottom: 24px; }

/* ---------- Jendela info produk ---------- */
.pmodal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pmodal[hidden] { display: none; }
.pmodal-backdrop { position: absolute; inset: 0; background: rgba(var(--dark-rgb), .55); backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
.pmodal-dialog {
  position: relative; width: 100%; max-width: 1000px; max-height: min(88vh, 760px); overflow: hidden;
  display: grid; background: var(--bg); border-radius: var(--r-lg); box-shadow: 0 40px 120px -30px rgba(0,0,0,.5);
  animation: popIn .45s var(--ease);
}
@media (min-width: 820px) { .pmodal-dialog { grid-template-columns: 1fr 1fr; } }
.pmodal-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.pmodal-close:hover { background: var(--dark); color: var(--bg); }
.pmodal-media { background: var(--muted); display: flex; flex-direction: column; min-height: 0; }
.pm-main { flex: 1; min-height: 260px; position: relative; }
.pm-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.pm-thumbs:empty { display: none; }
.pm-thumbs button { width: 58px; height: 58px; flex-shrink: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .65; }
.pm-thumbs button.is-active { border-color: var(--primary); opacity: 1; }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pmodal-body { padding: 32px 28px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.pm-tags { display: flex; gap: 6px; flex-wrap: wrap; padding-right: 44px; }
.pm-title { font-size: calc(clamp(28px, 3.4vw, 38px) * var(--h-scale)); line-height: 1; }
.pm-short { font-size: 14px; color: rgba(var(--text-rgb), .7); }
.pm-section[hidden] { display: none; }
.pm-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .55; margin-bottom: 8px; }
.pm-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-actions { margin-top: auto; padding-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm-actions .btn { padding: 0 14px; }
.pm-actions .btn-ghost { grid-column: span 2; }
@media (max-width: 819px) {
  .pmodal { padding: 0; align-items: flex-end; }
  .pmodal-dialog { max-height: 92vh; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow-y: auto; animation: sheetUp .45s var(--ease); }
  .pmodal-body { overflow: visible; }
  .pm-main { min-height: 240px; }
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes sheetUp { from { transform: translateY(100%); } }
body.modal-open { overflow: hidden; }

.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-chips span { font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--surface); border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 42%; font-weight: 500; color: rgba(var(--text-rgb), .6); }
.spec-table td { font-weight: 500; }

.prose { font-size: 14.5px; line-height: 1.8; color: rgba(var(--text-rgb), .8); }
.prose > * + * { margin-top: .9em; }
.prose h3, .prose h4 { color: var(--text); font-weight: 600; font-size: 16px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--primary); font-style: italic; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 250; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--dark); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); transition: .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Halaman produk ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 48px) 0 36px; }
.page-hero .container { position: relative; }
.page-title { margin-top: 18px; font-size: calc(clamp(40px, 6vw, 68px) * var(--h-scale)); line-height: .95; letter-spacing: -.03em; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(var(--text-rgb), .55); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb b { color: var(--text); font-weight: 500; }
.filter-bar { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-bar .search-box { margin: 0; flex: 1 1 300px; }
.search-lg input { height: 50px; font-size: 14px; }
.sort-box { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.sort-box span { opacity: .6; }
.sort-box select { border: 0; background: transparent; font-weight: 500; padding: 0 6px; height: 100%; cursor: pointer; }
.sort-box select:focus { outline: none; }
.filter-bar .btn { height: 50px; }
.products-section { padding: 12px 0 96px; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 20px; margin-bottom: 8px; scrollbar-width: thin; }
.cat-chip { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: .2s; }
.cat-chip b { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(var(--text-rgb), .07); }
.cat-chip:hover { border-color: var(--line-strong); }
.cat-chip.is-active { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.cat-chip.is-active b { background: rgba(255,255,255,.2); }
.view-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.view-toggle button { width: 32px; height: 28px; border-radius: 999px; font-size: 14px; opacity: .55; }
.view-toggle button.is-active { background: var(--dark); color: var(--bg); opacity: 1; }
.pagination { margin-top: 48px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pages { display: flex; gap: 4px; align-items: center; }
.page-num { min-width: 40px; height: 40px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; }
.page-num:hover { background: var(--surface); }
.page-num.is-active { background: var(--dark); color: var(--bg); }
.dots { opacity: .5; padding: 0 4px; }
.cta-band {
  position: relative; overflow: hidden; margin-top: 72px; padding: 44px; border-radius: var(--r-lg);
  background: var(--secondary); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band .glow-c { background: rgba(255,255,255,.12); }
.cta-band > div { position: relative; max-width: 620px; }
.cta-band h2 { font-size: calc(clamp(28px, 3.6vw, 42px) * var(--h-scale)); line-height: 1; }
.cta-band .t-primary { color: #fff; opacity: .75; }
.cta-band p { margin-top: 10px; opacity: .8; font-size: 14px; }
.cta-band .btn { position: relative; }

/* ---------- Detail produk ---------- */
.detail { padding: calc(var(--header-h) + 36px) 0 96px; }
.detail-grid { margin-top: 24px; display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } .gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.gallery-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--muted); border: 1px solid var(--line); aspect-ratio: 1 / 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery-badge { position: absolute; left: 16px; top: 16px; }
.gallery-thumbs { margin-top: 12px; display: flex; gap: 10px; overflow-x: auto; }
.gallery-thumbs button { width: 76px; height: 76px; flex-shrink: 0; border-radius: var(--r-xs); overflow: hidden; border: 2px solid transparent; opacity: .6; transition: .2s; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { border-color: var(--primary); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.detail-title { font-size: calc(clamp(36px, 4.6vw, 56px) * var(--h-scale)); line-height: .98; letter-spacing: -.03em; }
.detail-info .lead { margin-top: 0; font-size: 16px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.detail-block { width: 100%; margin-top: 8px; }
.detail-lower { margin-top: 64px; display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .detail-lower { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.detail-desc { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.block-title { font-size: calc(28px * var(--h-scale)); line-height: 1; margin-bottom: 16px; }
.quote-form { box-shadow: none; border: 1px solid var(--line); background: var(--surface); }
.quote-form .block-title { margin-bottom: 0; }
.quote-form .form-note { margin-top: 0; }
.quote-form .form-grid input, .quote-form .form-grid textarea { background: var(--bg); }
.related { margin-top: 96px; }

/* ---------- Halaman perawatan ---------- */
.maint { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 40px 24px; }
.maint h1 { font-size: calc(clamp(40px, 6vw, 64px) * var(--h-scale)); line-height: 1; }
.maint p { max-width: 520px; opacity: .7; }

/* ---------- Animasi masuk ---------- */
.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.anim .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim .reveal { opacity: 1; transform: none; transition: none; }
  .anim .float-card, .dot, .dot-live, .scroll-hint i::after { animation: none !important; }
  * { transition-duration: .01ms !important; }
}
@media print {
  .site-header, .wa-float, .to-top, .scroll-progress, .quote-form, .detail-actions { display: none !important; }
  .anim .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   LAPISAN GERAK v2 — WebGL, preloader, transisi, kursor, teks, mikro-interaksi
   ========================================================================== */

/* ---------- Susunan lapisan: latar aurora < bagian < partikel < konten ---------- */
html { background: var(--bg); }
body { background: transparent; }
html.smooth-on { scroll-behavior: auto; }
.gl-bg, .gl-stage { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }
.gl-bg { z-index: -1; opacity: 0; transition: opacity 1.8s var(--ease); }
.gl-bg.is-on { opacity: 1; }
.gl-stage { z-index: 0; }
.gl-on main .container, .gl-on .site-footer .container, .gl-on .marquee, .gl-on .scroll-hint { position: relative; z-index: 1; }
.gl-on .hero .glow, .gl-on .hero .glow-disc, .gl-on .page-hero .glow { display: none; }
.gl-on .band, .gl-on .stats { background: rgba(var(--surface-rgb), .55); }
.gl-on .site-footer { background: transparent; }
.gl-on.has-grid .hero-bg, .gl-on .has-grid .hero-bg { opacity: .6; }
.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .045; width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.anim .grain { animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); } 60% { transform: translate(-6%,-2%); } 80% { transform: translate(5%,4%); } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: var(--dark); color: var(--bg);
  clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.76,0,.24,1);
  animation: failsafeHide 0s 7s forwards;
}
.no-js .preloader, .pl-seen .preloader, .reduced .preloader { display: none; }
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.pl-inner { width: min(460px, 84vw); display: grid; gap: 16px; transition: transform 1.1s cubic-bezier(.76,0,.24,1), opacity .5s; }
.preloader.is-done .pl-inner { transform: translateY(-90px); opacity: 0; }
.pl-orbit { position: relative; width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 8px; }
.pl-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.pl-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--bg-rgb), .25); border-top-color: var(--primary); animation: spin 1.1s linear infinite; }
.pl-orbit i + i { inset: -10px; border-style: dashed; border-top-color: rgba(var(--bg-rgb), .25); animation-duration: 6s; animation-direction: reverse; }
.pl-name { font-size: calc(clamp(42px, 9vw, 84px) * var(--h-scale)); line-height: .9; letter-spacing: -.03em; animation: plName 1.2s var(--ease) both; }
@keyframes plName { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } }
.pl-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.pl-count b { font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: 0; }
.pl-bar { height: 1px; background: rgba(var(--bg-rgb), .18); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: var(--primary); transform-origin: left; transform: scaleX(0); }
@keyframes failsafeHide { to { visibility: hidden; opacity: 0; pointer-events: none; } }

/* ---------- Tirai transisi halaman ---------- */
.curtain { position: fixed; inset: 0; z-index: 450; pointer-events: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.curtain i { background: var(--dark); transform: scaleY(0); transform-origin: bottom; transition: transform .6s cubic-bezier(.76,0,.24,1); }
.curtain i:nth-child(2) { transition-delay: .05s; }
.curtain i:nth-child(3) { transition-delay: .1s; }
.curtain::after { content: ""; background: var(--dark); transform: scaleY(0); transform-origin: bottom; transition: transform .6s cubic-bezier(.76,0,.24,1) .15s; }
.curtain-mark {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  opacity: 0; transform: scale(.4); transition: opacity .3s, transform .5s var(--ease);
}
.curtain.is-entering { pointer-events: auto; }
.curtain.is-entering i, .curtain.is-entering::after { transform: scaleY(1); }
.curtain.is-entering .curtain-mark { opacity: 1; transform: none; transition-delay: .35s; }
.pt-in .curtain { animation: failsafeHide 0s 3.5s forwards; }
.pt-in .curtain i, .pt-in .curtain::after { transform: scaleY(1); transition: none; }
.pt-in .curtain .curtain-mark { opacity: 1; transform: none; transition: none; }
.pt-in .curtain.is-leaving i, .pt-in .curtain.is-leaving::after { transform: scaleY(0); transform-origin: top; transition: transform .8s cubic-bezier(.76,0,.24,1); }
.pt-in .curtain.is-leaving i:nth-child(2) { transition-delay: .06s; }
.pt-in .curtain.is-leaving i:nth-child(3) { transition-delay: .12s; }
.pt-in .curtain.is-leaving::after { transition-delay: .18s; }
.pt-in .curtain.is-leaving .curtain-mark { opacity: 0; transform: scale(.6); transition: opacity .25s, transform .4s; }
.no-js .curtain, .reduced .curtain { display: none; }

/* ---------- Kursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 600; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-visible { opacity: 1; }
.c-dot, .c-ring { position: fixed; left: 0; top: 0; will-change: transform; }
.c-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--primary); transition: opacity .2s; }
.c-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; display: grid; place-items: center; }
.c-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--primary-rgb), .55);
  transition: transform .45s var(--ease), background .3s, border-color .3s, opacity .3s;
}
.cursor.is-link .c-ring::before { transform: scale(1.55); background: rgba(var(--primary-rgb), .12); }
.cursor.is-label .c-ring::before { transform: scale(2.3); background: var(--dark); border-color: transparent; }
.cursor.is-label .c-dot, .cursor.is-text .c-dot { opacity: 0; }
.cursor.is-text .c-ring::before { transform: scale(.3); opacity: 0; }
.cursor.is-down .c-ring::before { transform: scale(.75); }
.c-label { position: relative; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--bg); opacity: 0; transform: scale(.5); transition: opacity .25s, transform .4s var(--ease); white-space: nowrap; }
.cursor.is-label .c-label { opacity: 1; transform: none; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header: indikator meluncur ---------- */
.nav-pill { position: relative; }
.nav-ind { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; background: var(--dark); opacity: 0; z-index: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.nav-pill.has-ind .nav-link { position: relative; z-index: 1; background: transparent !important; color: inherit; transition: color .3s; }
.nav-pill.has-ind .nav-link.is-hot { color: var(--bg); }
.mobile-menu:not([hidden]) .mobile-link, .mobile-menu:not([hidden]) .btn { animation: mIn .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes mIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Tombol: isian meluncur + kilau ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .3s, color .3s, box-shadow .3s, transform .45s var(--ease), border-color .3s; }
.btn-label { display: inline-block; transition: transform .45s var(--ease); }
.btn-dark::after, .btn-light::after, .btn-outline::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--primary);
  transform: translateY(102%); transition: transform .55s var(--ease);
}
.btn-light::after, .btn-outline::after { background: var(--dark); }
.btn-dark:hover { background: var(--dark); }
.btn-dark:hover::after, .btn-light:hover::after, .btn-outline:hover::after { transform: none; }
.btn-light:hover, .btn-outline:hover { background: transparent; color: var(--bg); }
.btn-shine::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transform: translateX(-150%) skewX(-20deg);
}
.anim .btn-shine::before { animation: shine 4.5s var(--ease) infinite 1.5s; }
@keyframes shine { 0% { transform: translateX(-150%) skewX(-20deg); } 35%, 100% { transform: translateX(350%) skewX(-20deg); } }
.btn-bubble { transition: transform .45s var(--ease); }
.btn:hover .btn-bubble { transform: rotate(-45deg); }
.round-btn { transition: transform .45s var(--ease), background .3s, color .3s; }

/* ---------- Teks terpecah ---------- */
.fx-text [data-split]:not(.split) { opacity: 0; animation: failsafeShow 0s 2.5s forwards; }
@keyframes failsafeShow { to { opacity: 1; } }
.split.reveal, .anim .split.reveal { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em 0; margin: 0 -.06em -.14em 0; }
.split .wi { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 55ms); will-change: transform; }
.split.is-in .wi { transform: none; }
.split .t-mark::after { transform: rotate(-1deg) scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .7s; }
.split.is-in .t-mark::after { transform: rotate(-1deg) scaleX(1); }
.hero-title .t-primary .wi, .hero-title .t-primary.wi {
  background: linear-gradient(100deg, var(--primary) 20%, var(--secondary) 50%, var(--primary) 80%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.anim .hero-title .t-primary .wi { animation: sheen 7s linear infinite; }
@keyframes sheen { to { background-position: -220% 0; } }
[data-scramble] { font-variant-numeric: tabular-nums; }

/* ---------- Hero: kemunculan ---------- */
.anim .hero-photo { clip-path: inset(100% 0 0 0 round 999px 999px var(--r-lg) var(--r-lg)); transition: clip-path 1.6s var(--ease) .25s; }
.anim.is-ready .hero-photo { clip-path: inset(0 0 0 0 round 999px 999px var(--r-lg) var(--r-lg)); }
.anim .hero-photo .hero-photo-media img { transform: scale(1.35); transition: transform 2s var(--ease) .25s; }
.anim.is-ready .hero-photo .hero-photo-media img { transform: scale(1); }
.anim .float-card { opacity: 0; scale: .7; transition: opacity .9s var(--ease), scale 1.1s var(--ease); }
.anim.is-ready .float-card { opacity: 1; scale: 1; }
.anim.is-ready .float-card-1 { transition-delay: .7s; }
.anim.is-ready .float-card-2 { transition-delay: .9s; }
.anim.is-ready .float-card-3 { transition-delay: 1.1s; }
.anim .orbit-ring { opacity: 0; scale: .8; transition: opacity 1.4s var(--ease) .3s, scale 1.6s var(--ease) .3s; }
.anim.is-ready .orbit-ring { opacity: 1; scale: 1; }
.hero-copy { will-change: transform, opacity; }

/* ---------- Pita berjalan ---------- */
.marquee { padding: 26px 0 22px; overflow: hidden; border-block: 1px solid var(--line); background: rgba(var(--bg-rgb), .35); }
.marquee-row { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; }
.mq-item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: calc(clamp(34px, 5.2vw, 70px) * var(--h-scale)); line-height: 1.05; letter-spacing: -.02em; }
.mq-item:nth-child(even) .h-font { color: transparent; -webkit-text-stroke: 1px rgba(var(--text-rgb), .45); }
.mq-ic { font-size: .55em; }
.mq-star { font-style: normal; color: var(--primary); font-size: .42em; }
.marquee-row-alt { margin-top: 10px; }
.marquee-row-alt .mq-item { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; opacity: .6; gap: 18px; padding-right: 18px; }
.mq-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--secondary); }

/* ---------- Sorotan cahaya pada kartu ---------- */
.spot, .pcard-link, .contact-form, .quote-form, .cat-list { position: relative; isolation: isolate; }
.spot::before, .pcard-link::before, .contact-form::before, .quote-form::before, .cat-list::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--primary-rgb), .13), transparent 45%);
}
.spot:hover::before, .pcard-link:hover::before, .contact-form:hover::before, .quote-form:hover::before, .cat-list:hover::before { opacity: 1; }
.dark-band .spot::before, .values-card.spot::before { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.1), transparent 50%); }
.values-card .values-glow { z-index: -1; }
.feature { transition: box-shadow .45s var(--ease), transform .45s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-3px); border-color: rgba(var(--primary-rgb), .3); }
.feature-icon { transition: transform .6s var(--ease); }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.pcard-link { transition: box-shadow .5s var(--ease), transform .5s var(--ease), border-color .3s; }
.pcard-link:hover { transform: translateY(-5px); }

/* Kartu miring + kilau */
.tilt-wrap { perspective: 1100px; }
.tilt-wrap .pcard { transition: transform .6s var(--ease); transform-style: preserve-3d; }
.tilt-wrap.is-tilting .pcard { transition: transform .12s linear; }
.glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), transparent 55%); }
.is-tilting .glare { opacity: 1; }

/* Distorsi WebGL pada gambar */
.gl-distort { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; display: block; z-index: 0; }
.pcard-media > .gl-distort ~ .pcard-tags, .pcard-media > .gl-distort ~ .pcard-arrow { z-index: 2; }
.hero-photo-media .gl-distort { z-index: 1; }

/* Kemunculan gambar produk */
.anim .reveal .pcard-media img { transform: scale(1.22); transition: transform 1.6s var(--ease); }
.anim .reveal.is-in .pcard-media img { transform: scale(1); }
.anim .reveal.is-in .pcard-link:hover .pcard-media img { transform: scale(1.06); transition-duration: 1.1s; }
.pcell[hidden] { display: none; }
.pcell { height: 100%; }
.pop-in { animation: popIn .6s var(--ease) both; animation-delay: var(--d, 0ms); }

/* ---------- Statistik ---------- */
.stat-icon { transition: transform .6s var(--ease), background .3s; }
.stat:hover .stat-icon { transform: rotate(-12deg) scale(1.1); background: rgba(var(--primary-rgb), .14); }
.stat-num { font-size: calc(clamp(32px, 3.4vw, 44px) * var(--h-scale)); }

/* ---------- FAQ ---------- */
.faq-item { transition: box-shadow .4s, border-color .3s, background .3s; }
.faq-item:hover { border-color: rgba(var(--primary-rgb), .3); }
.faq-item[open] .faq-a { animation: faqIn .6s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Kontak: pita gelap membulat ---------- */
.dark-band { margin-inline: clamp(0px, 1.2vw, 18px); border-radius: calc(var(--radius) * 1.6); }
.gl-on .dark-band .glow { opacity: .7; }
.contact-form { transition: transform .6s var(--ease); }

/* ---------- Footer: tulisan raksasa ---------- */
.footer-giant-wrap { overflow: hidden; }
.footer-giant {
  margin-top: 56px; text-align: center; white-space: nowrap; user-select: none;
  font-size: calc(min(14.5vw, 210px) * var(--h-scale)); line-height: .82; letter-spacing: -.045em;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--text-rgb), .2);
}
.footer-giant .ch { display: inline-block; transition: transform 1.1s var(--ease), color .4s, -webkit-text-stroke-color .4s; transition-delay: calc(var(--i) * 35ms), 0s, 0s; }
.anim .footer-giant .ch { transform: translateY(105%); }
.anim .footer-giant.is-in .ch { transform: none; }
.footer-giant .ch:hover { color: var(--primary); -webkit-text-stroke-color: transparent; transition-delay: 0s; }

/* ---------- Jendela produk: muncul dari kartu ---------- */
@media (min-width: 820px) {
  .pmodal-dialog { animation: modalIn .7s var(--ease); }
  @keyframes modalIn { from { opacity: 0; transform: translate(var(--ox, 0), var(--oy, 0)) scale(.35); } }
}
.pmodal.is-closing .pmodal-dialog { animation: modalOut .26s ease forwards; }
.pmodal.is-closing .pmodal-backdrop { animation: fadeOut .26s forwards; }
@keyframes modalOut { to { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fadeOut { to { opacity: 0; } }
.gallery-main img.is-swapping { opacity: 0; transform: scale(1.04); }
.gallery-main img { transition: opacity .25s, transform .6s var(--ease); }
.giant-404 { font-size: calc(clamp(120px, 26vw, 320px) * var(--h-scale)); line-height: .8; }

/* ---------- Gerak dikurangi ---------- */
@media (prefers-reduced-motion: reduce) {
  .preloader, .curtain, .cursor, .grain { display: none !important; }
  .split .wi, .footer-giant .ch { transform: none !important; }
  .anim .float-card, .anim .orbit-ring { opacity: 1; scale: 1; }
  .anim .hero-photo { clip-path: none; }
}
@media print { .gl-bg, .gl-stage, .grain, .cursor, .curtain, .preloader, .marquee { display: none !important; } }
