/* =====================================================================
   JualPlakat.id — tampilan baru (v2)
   Warna hijau brand, judul Marcellus (serif ukir) + teks Plus Jakarta Sans,
   aksen kuningan hanya untuk "pelat nama" di foto portofolio.
   ===================================================================== */

/* Judul: Marcellus (huruf ukir klasik, cocok dengan plakat & logam ukir). Teks & UI: Plus Jakarta Sans. */
@font-face {
  font-family: "Marcellus";
  src: url("/fonts/marcellus-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --green: #00a651;          /* hijau logo: aksen, ikon, garis fokus */
  --green-cta: #00843f;      /* tombol (kontras teks putih 4.8:1) */
  --green-cta-hover: #006b36;
  --green-deep: #0e4429;     /* footer, judul besar */
  --green-tint: #e6f4ec;
  --link: #007a45;
  --ink: #1e2b24;
  --muted: #5b6b62;
  --line: #dce5df;
  --bg: #f4f7f5;
  --white: #ffffff;
  --brass-1: #d9b86e;
  --brass-2: #b88b3f;
  --brass-ink: #2e220c;

  --radius-img: 14px;
  --radius-btn: 10px;
  --radius-chip: 999px;
  --header-h: 64px;
  --wrap: 1200px;
  --gutter: 16px;

  --fs-sm: 0.875rem;   /* 14 */
  --fs-base: 1rem;     /* 16 */
  --fs-md: 1.125rem;   /* 18 */
  --fs-lg: 1.375rem;   /* 22 */
  --fs-xl: 1.75rem;    /* 28 */
  --fs-2xl: 2.125rem;  /* 34 */
  --fs-3xl: 2.75rem;   /* 44 */
}

@media (min-width: 768px) {
  :root { --gutter: 28px; --header-h: 72px; }
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--green-cta-hover); }
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
/* judul besar: serif ukir, satu ketebalan (jangan dibuat tebal palsu) */
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: 1.14;
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); font-stretch: 108%; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
@media (min-width: 900px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.section { padding: 48px 0; }
.section--tint { background: var(--bg); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section__head h2 { margin: 0; }
.section__head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.section__more { white-space: nowrap; font-weight: 600; text-decoration: none; }
.section__more:hover { text-decoration: underline; }
@media (min-width: 900px) { .section { padding: 72px 0; } }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-btn); border: 2px solid transparent;
  font-weight: 650; font-size: var(--fs-base); line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--green-cta); color: #fff; }
.btn--primary:hover { background: var(--green-cta-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--green-deep); border-color: var(--line); }
.btn--outline:hover { border-color: var(--green-cta); color: var(--green-cta); }
.btn--light { background: #fff; color: var(--green-deep); }
.btn--light:hover { background: var(--green-tint); color: var(--green-deep); }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .7; cursor: progress; }

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header__bar { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.site-header__logo { display: flex; align-items: center; margin-right: auto; }
.site-header__logo img { height: 40px; width: auto; }
@media (min-width: 768px) { .site-header__logo img { height: 46px; } }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  border: 0; background: none; border-radius: 8px; cursor: pointer;
  color: var(--ink); font-weight: 550; text-decoration: none;
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { background: var(--bg); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--green-cta); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .15s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item--mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -24px rgba(14, 68, 41, .45);
  padding: 28px 0 32px;
}
.mega[hidden] { display: none; }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 32px; }
.mega__group h3 { font-size: var(--fs-base); margin: 0 0 8px; }
.mega__group h3 a { color: var(--ink); text-decoration: none; }
.mega__group h3 a:hover { color: var(--green-cta); }
.mega__group ul { list-style: none; margin: 0; padding: 0; }
.mega__group li a { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--muted); text-decoration: none; }
.mega__group li a:hover { color: var(--green-cta); }
.mega__count { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.mega__all { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 0; background: none; cursor: pointer; color: var(--ink);
}
.icon-btn:hover { background: var(--bg); }
.icon-btn svg { width: 22px; height: 22px; }
.site-header__cta { display: none; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .site-header__menu-btn { display: none; }
  .site-header__cta { display: inline-flex; min-height: 44px; padding: 0 18px; }
}

/* drawer menu (HP) */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(14, 30, 22, .45); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  background: #fff; display: flex; flex-direction: column;
  animation: drawer-in .2s ease-out;
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.drawer__head strong { font-stretch: 112%; font-size: var(--fs-md); }
.drawer__body { overflow-y: auto; padding: 8px 0 24px; flex: 1; }
.drawer__section { padding: 12px 20px; }
.drawer__section + .drawer__section { border-top: 1px solid var(--line); }
.drawer__label { font-size: var(--fs-sm); color: var(--muted); margin: 4px 0 8px; }
.drawer__cats > details, .drawer__cats > .drawer__link { border-bottom: 1px solid var(--line); }
.drawer__cats > :last-child { border-bottom: 0; }
.drawer summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; cursor: pointer; list-style: none; font-weight: 600;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 16px; height: 16px; transition: transform .15s; color: var(--muted); }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer__sub { list-style: none; margin: 0 0 12px; padding: 0 0 0 2px; }
.drawer__sub a, .drawer__link {
  display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px;
  color: var(--ink); text-decoration: none;
}
.drawer__sub a { color: var(--muted); min-height: 40px; }
.drawer__sub a:hover, .drawer__link:hover { color: var(--green-cta); }
.drawer__link { font-weight: 600; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* pencarian */
.search {
  position: fixed; inset: 0; z-index: 95; display: none;
  background: rgba(14, 30, 22, .45);
}
.search.is-open { display: block; }
.search__panel { background: #fff; padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.search__form { display: flex; gap: 8px; align-items: center; }
.search__input {
  flex: 1; min-height: 52px; padding: 0 16px;
  border: 2px solid var(--line); border-radius: var(--radius-btn); background: #fff;
  font-size: var(--fs-md);
}
.search__input:focus { border-color: var(--green); outline: none; }
.search__results { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.search__results a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.search__results a:hover, .search__results a:focus { background: var(--bg); }
.search__results img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.search__hint { margin: 10px 0 0; color: var(--muted); font-size: var(--fs-sm); }

/* bar CTA bawah (HP) */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
}
.cta-bar .btn { width: 100%; }
body.has-cta-bar { padding-bottom: 76px; }
@media (min-width: 1024px) {
  .cta-bar { display: none; }
  body.has-cta-bar { padding-bottom: 0; }
}

/* ----------------------------------------------------------- form WA */
.wa-sheet { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; }
.wa-sheet.is-open { display: flex; }
.wa-sheet__scrim { position: absolute; inset: 0; background: rgba(14, 30, 22, .5); }
.wa-sheet__panel {
  position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 18px 18px 0 0;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  animation: sheet-in .2s ease-out;
}
@keyframes sheet-in { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) {
  .wa-sheet { align-items: center; }
  .wa-sheet__panel { border-radius: 18px; padding: 28px; }
}
.wa-sheet__close { position: absolute; top: 10px; right: 10px; }
.wa-sheet h2 { font-size: var(--fs-lg); margin: 0 40px 6px 0; }
.wa-sheet__intro { color: var(--muted); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 2px solid var(--line); border-radius: var(--radius-btn); background: #fff;
}
.field input:focus { border-color: var(--green); outline: none; }
.field.has-error input { border-color: #c0392b; }
.field__error { color: #b42318; font-size: var(--fs-sm); margin-top: 6px; }
.wa-sheet__note { margin: 12px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.wa-sheet__done { text-align: left; }
.wa-sheet__done p { color: var(--muted); }

/* ---------------------------------------------------------- breadcrumb */
.crumbs { padding: 14px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-cta); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* -------------------------------------------------------------- hero */
.hero { padding: 28px 0 40px; background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); }
.hero__grid { display: grid; gap: 28px; }
.hero h1 { font-size: 2rem; font-stretch: 120%; line-height: 1.08; margin-bottom: 14px; color: var(--green-deep); max-width: 16ch; }
.hero__lead { font-size: var(--fs-md); color: var(--muted); max-width: 46ch; margin-bottom: 22px; }
.hero__badges { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
  background: var(--green-tint); color: var(--green-deep); font-weight: 600; font-size: 0.875rem; line-height: 1.25; text-decoration: none;
}
.hero__badge svg { width: 16px; height: 16px; flex: none; color: var(--green-cta); }
a.hero__badge:hover { background: #d5ecde; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__actions .btn { flex: 0 1 auto; }
@media (max-width: 520px) { .hero__actions .btn { flex: 1 1 100%; } }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink); font-weight: 550; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--green); flex: none; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; }
  .hero h1 { font-size: 3.25rem; }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* dinding portofolio + pelat nama kuningan (elemen khas) */
.wall {
  display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
  scrollbar-width: none;
}
.wall::-webkit-scrollbar { display: none; }
.wall__item { position: relative; margin: 0; border-radius: var(--radius-img); overflow: hidden; background: #e9efeb; aspect-ratio: 4 / 5; scroll-snap-align: start; }
@media (min-width: 640px) { .wall { grid-auto-columns: 30%; } }
@media (min-width: 900px) {
  .wall { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto; overflow: visible; padding: 0; }
  .wall__item:nth-child(2) { margin-top: 28px; }
  .wall__item:nth-child(3) { margin-top: -28px; }
}
.wall__item img { width: 100%; height: 100%; object-fit: cover; }
.wall__item a { display: block; height: 100%; }
.plate {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  max-width: calc(100% - 24px);
  padding: 5px 18px; border-radius: 3px;
  background: linear-gradient(180deg, var(--brass-1), var(--brass-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .25);
  color: var(--brass-ink);
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 400; letter-spacing: .02em; line-height: 1.3;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6d8, #7c5a22);
}
.plate::before { left: 6px; }
.plate::after { right: 6px; }
@media (min-width: 900px) { .plate { font-size: 0.8125rem; padding: 6px 22px; } }

/* ------------------------------------------------------- logo klien */
.logos { padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.logos__title { font-size: 1.125rem; color: var(--ink); margin: 0 0 18px; max-width: 32ch; }
@media (min-width: 1024px) { .logos__title { font-size: 1.375rem; max-width: none; } }
/* logo klien: 3 baris berjalan (atas & bawah ke kanan, tengah ke kiri), berhenti saat di-hover.
   File logo berupa kotak pastel berwarna (sebagian tulisan putih), jadi ditampilkan sebagai kartu
   membulat seragam dengan warna sedikit diredam. Hitam-putih membuat logo seperti PLN hilang. */
.marquee { display: grid; gap: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee-left var(--dur, 46s) linear infinite; }
.marquee__row--right .marquee__track { animation-name: marquee-right; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee { gap: 12px; }
.marquee__track img { flex: none; height: 50px; width: auto; margin-right: 12px; border-radius: 12px; filter: saturate(.8); }
@media (min-width: 1024px) { .marquee__track img { height: 62px; margin-right: 16px; } }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__row { overflow-x: auto; scrollbar-width: none; }
}

/* ------------------------------------------------------ kategori */
.cats {
  display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin;
}
.cats > * { scroll-snap-align: start; }
.cat {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-img); overflow: hidden; background: #fff;
}
.cat:hover { border-color: var(--green); color: var(--ink); }
.cat__img { aspect-ratio: 1; background: var(--bg); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__body { padding: 10px 12px 12px; }
.cat__name { display: block; font-weight: 650; font-stretch: 108%; line-height: 1.25; }
.cat__count { font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 640px) { .cats { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(6, 1fr); gap: 16px; } }

/* --------------------------------------------------------- chip / tab */
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 0 16px;
  scrollbar-width: none; list-style: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--radius-chip); background: #fff;
  color: var(--ink); text-decoration: none; font-weight: 550; cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--green-cta); color: var(--green-cta); }
.chip[aria-selected="true"], .chip[aria-current="page"], .chip.is-active { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.chip__count { font-size: 0.8125rem; opacity: .75; font-variant-numeric: tabular-nums; }
.chips--sub .chip { min-height: 36px; padding: 0 14px; font-size: var(--fs-sm); }
.chips--sub .chip[aria-current="page"] { background: var(--green-tint); border-color: var(--green); color: var(--green-deep); }
/* filter "Untuk acara": label di kiri, chip bernuansa kuningan supaya beda dari chip kategori */
.acara { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; }
.acara__label { flex: none; font-size: var(--fs-sm); color: var(--muted); }
.acara .chips { margin: 0; flex: 1; min-width: 0; padding-bottom: 6px; }
.chips--acara .chip { min-height: 36px; padding: 0 14px; font-size: var(--fs-sm); background: #fbf7ee; border-color: #eadfc4; }
.chips--acara .chip:hover { border-color: #b88b3f; color: #6b4f1d; }
.chips--acara .chip[aria-current="page"] { background: #f1e3c0; border-color: #b88b3f; color: #2e220c; }

/* -------------------------------------------------------- kartu produk */
/* Foto kartu tampil sesuai rasio aslinya (--r = lebar/tinggi, diisi per kartu).
   .grid = baris rata tinggi: lebar kartu ikut rasio, urutan tetap kiri ke kanan, baris terakhir tidak melar. */
.grid { --cols: 2; --gap-x: 12px; display: flex; flex-wrap: wrap; gap: 16px var(--gap-x); container-type: inline-size; }
.grid > .card { flex: var(--r, 1) 1 calc(((100cqw - (var(--cols) - 1) * var(--gap-x)) / var(--cols) - 1px) * var(--r, 1)); }
.grid::after { content: ""; flex: 1000 1 0; }
.grid--fill::after { display: none; }
@media (min-width: 640px) { .grid { --cols: 3; } }
@media (min-width: 1024px) { .grid { --cols: 4; --gap-x: 20px; row-gap: 28px; } }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; }
.card__img { aspect-ratio: var(--r, 1); border-radius: var(--radius-img); overflow: hidden; background: var(--bg); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.card__cat { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
.card__name {
  margin-top: 2px; font-weight: 600; line-height: 1.35; font-size: 0.9375rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .card__name { color: var(--green-cta); }

/* .rail = baris geser: tinggi foto sama, lebar kartu ikut rasio aslinya */
.rail {
  --rail-h: 180px; display: flex; align-items: flex-start; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin;
}
.rail > * { flex: none; scroll-snap-align: start; }
.rail > .card { width: calc(var(--rail-h) * var(--r, 1)); }
@media (min-width: 640px) { .rail { --rail-h: 220px; } }
@media (min-width: 1024px) { .rail { --rail-h: 270px; gap: 20px; } }
.rail__more {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: var(--rail-h); height: var(--rail-h); border: 1px dashed var(--line); border-radius: var(--radius-img);
  font-weight: 600; text-decoration: none; padding: 12px;
}
.tab-panel[hidden] { display: none; }
.tab-panel__foot { margin-top: 24px; }

/* ---------------------------------------------------------- keunggulan */
.benefits { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.benefit { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.benefit:first-child { border-top: 0; }
.benefit__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--green-cta); display: flex; align-items: center; justify-content: center; }
.benefit__icon svg { width: 22px; height: 22px; }
.benefit h3 { margin: 0 0 4px; font-size: var(--fs-base); }
.benefit p { margin: 0; color: var(--muted); }
@media (min-width: 768px) {
  .benefits { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .benefit:nth-child(2) { border-top: 0; }
}
@media (min-width: 1024px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefit:nth-child(3) { border-top: 0; }
}

/* ---------------------------------------------------------- cara pesan */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 18px 18px 18px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-img); counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--green-deep); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-stretch: 112%;
}
.step h3 { margin: 4px 0 4px; font-size: var(--fs-base); }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { padding: 64px 20px 20px; } .step::before { left: 20px; top: 20px; } }

/* ------------------------------------------------------------- FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--fs-md); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--green-cta); transition: transform .15s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__answer { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.faq__answer ol, .faq__answer ul { padding-left: 1.2em; margin: 0; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------- CTA + lokasi */
.cta-band { background: var(--green-deep); color: #fff; border-radius: 20px; padding: 28px 22px; display: grid; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #cfe5d8; margin: 0 0 18px; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band__actions .btn { flex: 1 1 220px; }
.cta-band .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn--outline:hover { border-color: #fff; color: #fff; }
.cta-band__visit { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 20px; }
.cta-band__visit h3 { color: #fff; font-size: var(--fs-base); margin-bottom: 6px; }
.cta-band__visit address { font-style: normal; color: #cfe5d8; margin-bottom: 10px; }
.cta-band__visit a { color: #fff; font-weight: 600; }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: 1.4fr 1fr; padding: 44px; gap: 44px; align-items: center; }
  .cta-band__actions .btn { flex: 0 0 auto; }
  .cta-band__visit { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .18); padding: 0 0 0 36px; }
}

/* -------------------------------------------------------------- footer */
.site-footer { background: #0b3a23; color: #cfe5d8; padding: 44px 0 0; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; gap: 28px; }
.site-footer h2 { font-size: var(--fs-base); color: #fff; margin-bottom: 10px; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__brand img { height: 46px; width: auto; margin-bottom: 12px; }
.site-footer__brand p { max-width: 36ch; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: rgba(255, 255, 255, .16); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.site-footer__bottom { margin-top: 36px; padding-top: 16px; padding-bottom: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

/* ------------------------------------------------------------ listing */
.listing-head { padding: 8px 0 18px; }
.listing-head h1 { margin: 6px 0 6px; }
.listing-head__meta { color: var(--muted); margin: 0; }
.listing-head__desc { color: var(--muted); max-width: 70ch; margin: 8px 0 0; }
.listing-head__desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-head__more { border: 0; background: none; padding: 0; color: var(--link); font-weight: 600; cursor: pointer; margin-top: 4px; }
.listing { padding-bottom: 32px; }
/* ---- banner katalog / kategori: foto dari CMS di belakang teks, atau panel hijau gelap + 3 foto produk */
.lban {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 12px; border-radius: 18px;
  background: #0f2a1e; color: #fff; min-height: 176px; display: flex; align-items: flex-end;
}
.lban--auto { background: radial-gradient(120% 140% at 100% 0%, #1d4a33 0%, #0f2a1e 55%, #0b2018 100%); }
.lban__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); }
.lban--image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8, 26, 18, .9) 0%, rgba(8, 26, 18, .55) 55%, rgba(8, 26, 18, .25) 100%);
}
.lban__body { position: relative; padding: 18px 20px 20px; max-width: 640px; }
.lban--photos .lban__body { padding-right: 132px; }
.lban .crumbs { padding: 0 0 10px; color: rgba(255, 255, 255, .66); font-size: 0.8125rem; }
.lban .crumbs a { color: rgba(255, 255, 255, .78); }
.lban .crumbs a:hover { color: #fff; }
.lban .crumbs li + li::before { color: rgba(255, 255, 255, .3); }
.lban .crumbs [aria-current] { color: #fff; }
.lban__title { margin: 0; color: #fff; font-size: 1.625rem; line-height: 1.14; text-wrap: balance; }
.lban__page { font-size: .6em; color: rgba(255, 255, 255, .7); }
.lban__line { width: 44px; height: 3px; border-radius: 2px; margin: 12px 0 10px; background: linear-gradient(90deg, var(--brass-1), var(--brass-2)); }
.lban__text {
  margin: 0; color: rgba(255, 255, 255, .82); font-size: 0.875rem; line-height: 1.55; max-width: 48ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lban__perks { display: none; }
.lban__photos { position: absolute; z-index: -1; right: 14px; top: 16px; bottom: 16px; width: 112px; }
.lban__photos img {
  position: absolute; width: 78px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: #183a2a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.lban__photos img:nth-child(1) { right: 0; top: 0; }
.lban__photos img:nth-child(2) { right: 34px; bottom: 0; }
.lban__photos img:nth-child(3) { display: none; }
.lban--compact { min-height: 0; }
.lban--compact .lban__body { padding-top: 16px; padding-bottom: 16px; }
.lban--compact .lban__title { font-size: 1.5rem; }
@media (min-width: 768px) {
  .lban { margin-top: 20px; border-radius: 22px; min-height: 280px; align-items: center; }
  .lban--image::before { background: linear-gradient(90deg, rgba(8, 26, 18, .9) 0%, rgba(8, 26, 18, .72) 38%, rgba(8, 26, 18, .12) 72%, rgba(8, 26, 18, 0) 100%); }
  .lban__body, .lban--photos .lban__body { padding: 36px 44px; max-width: 600px; }
  .lban .crumbs { padding-bottom: 16px; }
  .lban__title { font-size: 2.5rem; }
  .lban__line { margin: 16px 0 14px; }
  .lban__text { font-size: 1rem; -webkit-line-clamp: 2; }
  .lban__perks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 18px 0 0; padding: 0; font-size: 0.875rem; color: rgba(255, 255, 255, .86); }
  .lban__perks li { display: flex; align-items: center; gap: 8px; }
  .lban__perks svg { width: 18px; height: 18px; color: var(--brass-1); }
  .lban__photos { right: 40px; top: 0; bottom: 0; width: min(40%, 430px); }
  .lban__photos img { width: 30%; border-radius: 14px; top: auto; bottom: auto; }
  .lban__photos img:nth-child(1) { right: 66%; top: 22%; bottom: auto; }
  .lban__photos img:nth-child(2) { right: 34%; top: 9%; bottom: auto; }
  .lban__photos img:nth-child(3) { display: block; right: 2%; top: 26%; }
  .lban--compact { min-height: 0; }
  .lban--compact .lban__body { padding-top: 22px; padding-bottom: 22px; }
  .lban--compact .lban__title { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .lban { min-height: 320px; }
  .lban__title { font-size: 2.75rem; }
  .lban__photos img { width: 29%; }
}

/* navigasi kategori di bawah banner: chip dengan foto kecil, tanpa angka */
.lnav { margin-top: 16px; }
.chips--cats .chip { padding: 0 16px 0 5px; gap: 9px; min-height: 42px; }
.chips--cats .chip img, .chip__all { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--bg); flex: none; }
.chip__all { display: grid; place-items: center; background: var(--green-tint); color: var(--green-deep); }
.chip__all svg { width: 16px; height: 16px; }
.chips--cats .chip[aria-current="page"] .chip__all { background: rgba(255, 255, 255, .16); color: #fff; }
.chips--cats .chip[aria-current="page"] img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.listing-meta { margin: 2px 0 14px; color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 768px) {
  .lnav { margin-top: 22px; }
  .lnav .chips { flex-wrap: wrap; overflow: visible; }
  .lnav .acara .chips { flex-wrap: nowrap; overflow-x: auto; }
}

/* banner promo di tengah daftar produk */
.promo {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  margin: 26px 0; padding: 20px; border-radius: 18px; background: var(--green-tint); border: 1px solid #cfe6d8;
}
.promo__badge {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(140deg, var(--brass-1), var(--brass-2)); color: var(--brass-ink);
}
.promo__badge svg { width: 22px; height: 22px; }
.promo__body { display: contents; }     /* HP: ikon + judul sebaris, teks & tombol selebar kotak */
.promo__title { margin: 0; font-size: 1.375rem; color: var(--green-deep); align-self: center; }
.promo__text { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.9375rem; max-width: 52ch; }
.promo .btn { grid-column: 1 / -1; justify-self: start; }
.promo__img { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; order: -1; }
@media (min-width: 768px) {
  .promo { grid-template-columns: auto 1fr; padding: 26px 30px; gap: 20px; align-items: center; margin: 32px 0; }
  .promo--img { grid-template-columns: auto 1fr minmax(0, 300px); }
  .promo__img { grid-column: auto; order: 0; aspect-ratio: 4 / 3; }
  .promo__badge { width: 56px; height: 56px; align-self: start; }
  .promo__body { display: block; }
  .promo__title { font-size: 1.625rem; margin: 0 0 6px; }
  .promo__text { margin: 0 0 16px; }
}

/* teks lengkap kategori (SEO) di bawah daftar produk */
.about-list { margin: 8px 0 48px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 760px; }
.about-list h2 { font-size: 1.375rem; margin-bottom: 10px; }
.about-list__text { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }
.about-list__text p { margin: 0 0 10px; }
.about-list__text.is-clamped { max-height: 6.6em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }

.empty { padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius-img); text-align: center; color: var(--muted); }
.empty h2 { color: var(--ink); font-size: var(--fs-lg); }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 36px 0 0; list-style: none; padding: 0; }
.pager a, .pager span {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 550; font-variant-numeric: tabular-nums;
}
.pager a:hover { border-color: var(--green-cta); color: var(--green-cta); }
.pager [aria-current="page"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.pager .pager__gap { border: 0; min-width: 20px; padding: 0; }

/* ------------------------------------------------------------- produk */
.product { display: grid; gap: 22px; padding: 12px 0 8px; }
.gallery__main { border-radius: var(--radius-img); overflow: hidden; background: var(--bg); aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: none; width: 68px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--bg); cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--green-cta); }
.product__cats { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 6px; }
.product__cats a { color: var(--muted); }
.product h1 { font-size: 1.625rem; line-height: 1.15; margin-bottom: 12px; }
.product__summary { color: var(--muted); }
.product__summary p:last-child { margin-bottom: 0; }
.product__cta { display: grid; gap: 10px; margin: 20px 0; }
.product__perks { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.product__perks li { display: flex; align-items: center; gap: 10px; }
.product__perks svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.share { display: flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--muted); font-size: var(--fs-sm); }
.share a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); }
.share a:hover { border-color: var(--green-cta); }
.share svg { width: 18px; height: 18px; fill: var(--ink); }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 20px; align-items: start; }
  .product__info { position: sticky; top: calc(var(--header-h) + 20px); }
  .product h1 { font-size: 2.125rem; }
  .product__cta { grid-template-columns: 1fr; max-width: 420px; }
}
.product-desc { padding: 36px 0 8px; }
.product-desc__inner { max-width: 760px; }

/* --------------------------------------------------------------- prose */
.prose { font-size: 1.0625rem; line-height: 1.7; max-width: 72ch; }
.prose h2 { font-size: var(--fs-xl); margin: 1.6em 0 .5em; }
.prose h3 { font-size: var(--fs-lg); margin: 1.4em 0 .4em; }
.prose h4 { font-size: var(--fs-md); margin: 1.2em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius-img); margin: 1.2em 0; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--green); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: var(--fs-base); display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--bg); }
.prose iframe { max-width: 100%; }
.prose .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.prose .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius-img); }
.prose--wide { max-width: none; }

/* --------------------------------------------------------------- blog */
.posts { display: grid; gap: 28px; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 36px 28px; } }
.post-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.post-card__img { aspect-ratio: 16 / 10; border-radius: var(--radius-img); overflow: hidden; background: var(--bg); margin-bottom: 14px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 4px; }
.post-card h2, .post-card h3 { font-size: var(--fs-md); line-height: 1.3; margin: 0 0 8px; }
.post-card:hover h2, .post-card:hover h3 { color: var(--green-cta); }
.post-card p { color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.article { padding: 12px 0 40px; }
.article__head { max-width: 760px; margin: 0 auto; padding-top: 12px; }
.article__head h1 { font-size: 1.875rem; line-height: 1.15; }
.article__meta { color: var(--muted); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.article__meta img { width: 28px; height: 28px; border-radius: 50%; }
.article__author { display: inline-flex; align-items: center; gap: 8px; }
.article__cover { max-width: 960px; margin: 22px auto 0; border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__body { max-width: 760px; margin: 28px auto 0; }
.article__foot { max-width: 760px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .article__head h1 { font-size: 2.625rem; } }
.callout { background: var(--green-tint); border-radius: var(--radius-img); padding: 22px; margin: 28px 0 0; }
.callout h2 { font-size: var(--fs-lg); margin-bottom: 6px; }
.callout p { color: var(--ink); }

/* ------------------------------------------------------------- kontak */
.contact { display: grid; gap: 24px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--green-cta); display: flex; align-items: center; justify-content: center; }
.contact__icon svg { width: 22px; height: 22px; }
.contact__label { font-size: var(--fs-sm); color: var(--muted); }
.contact__value { font-weight: 600; }
.contact address { font-style: normal; font-weight: 500; }
.contact__map { border-radius: var(--radius-img); overflow: hidden; min-height: 300px; background: var(--bg); }
.contact__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 48px; } }

/* --------------------------------------------------- halaman WordPress */
.page-content { padding: 8px 0 48px; }
.page-content > .wrap > h1 { margin-top: 10px; }
.page-content .wp-block-post-featured-image img { border-radius: var(--radius-img); width: 100%; }
.page-content section { max-width: 100%; }

/* --------------------------------------------------------------- 404 */
.notfound { padding: 56px 0 72px; max-width: 640px; }
.notfound p { color: var(--muted); }
.notfound .search__form { margin: 20px 0 24px; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px; }

.staging-badge { position: fixed; right: 12px; top: calc(var(--header-h) + 8px); z-index: 100000; background: #e53935; color: #fff; font: 700 11px/1 sans-serif; padding: 6px 10px; border-radius: 6px; opacity: .85; pointer-events: none; }

/* ==============================================================
   BERANDA (20 Nov 2026): mobile-first, minimalis, hero slideshow
   ============================================================== */

/* header transparan di atas hero, putih setelah di-scroll (JS: .is-scrolled) */
.site-header--overlay { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background-color .25s ease, border-color .25s ease; }
.site-header--overlay .site-header__bar { padding-top: 8px; }
.site-header--overlay .site-header__logo img { transition: filter .25s ease; }
.site-header--overlay:not(.is-scrolled):not(:has(.nav__toggle[aria-expanded="true"])) .site-header__logo img { filter: brightness(0) invert(1); }  /* logo putih di atas foto */
.site-header--overlay:not(.is-scrolled):not(:has(.nav__toggle[aria-expanded="true"])) :is(.nav__link, .nav__toggle, .icon-btn) { color: #fff; }
.site-header--overlay:not(.is-scrolled):not(:has(.nav__toggle[aria-expanded="true"])) .icon-btn { background: rgba(255, 255, 255, .14); border-radius: 999px; }
.site-header--overlay:not(.is-scrolled):not(:has(.nav__toggle[aria-expanded="true"])) :is(.nav__link, .nav__toggle):hover { background: rgba(255, 255, 255, .14); color: #fff; }
.site-header--overlay.is-scrolled, .site-header--overlay:has(.nav__toggle[aria-expanded="true"]) {
  background: rgba(255, 255, 255, .97); border-bottom-color: var(--line); backdrop-filter: saturate(140%) blur(6px);
}
.site-header--overlay.is-scrolled .site-header__bar { padding-top: 0; }

/* tombol transparan di atas foto */
.btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--glass:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: #fff; }

/* ---- hero slideshow: HP = foto di atas, teks di bawah; desktop = teks kiri, foto kanan, latar blur foto yang sama */
.hero2 {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 8px; border-radius: 22px; background: #13201a; color: #fff;
  height: max(620px, min(calc(100svh - 64px), 760px));
}
.hero2::before { /* gelap tipis di atas supaya logo & ikon header terbaca */
  content: ""; position: absolute; inset: 0 0 auto; height: 120px; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 14, 11, .55), rgba(8, 14, 11, 0));
}
.hero2__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.hero2__slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.2s ease; z-index: 1; }
.hero2__media { position: absolute; inset: 0; overflow: hidden; }
.hero2__blur { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(34px) saturate(1.25) brightness(.42); }
.hero2__img {
  position: absolute; left: 0; top: 0; width: 100%; height: 62%; max-width: none;
  object-fit: cover; object-position: var(--focus, center);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  transform: scale(1.1); transition: transform 7s ease-out;
}
.hero2__slide.is-on .hero2__img { transform: scale(1); }
.hero2__plate { display: none; }
.hero2__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 6px 30px; }
.hero2__body > .wrap { padding-right: 52px; }
.hero2__tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero2__tag svg { width: 17px; height: 17px; color: var(--brass-1); flex: none; }
.hero2__title { margin: 0 0 14px; color: #fff; font-size: clamp(1.875rem, 8vw, 2.5rem); line-height: 1.1; max-width: 18ch; text-wrap: balance; }
.hero2__line { width: 56px; height: 3px; border-radius: 2px; margin-bottom: 14px; background: linear-gradient(90deg, var(--brass-1), var(--brass-2)); }
.hero2__text { margin: 0 0 20px; color: rgba(255, 255, 255, .86); max-width: 42ch; font-size: 0.9375rem; line-height: 1.55; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 639px) {
  .hero2__actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .hero2__actions .btn--glass { background: none; border-color: transparent; min-height: 44px; justify-content: center; }
}
/* teks naik bertahap saat slide aktif */
.hero2__body .wrap > * { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
/* slide pertama saat halaman dibuka langsung tampil (tanpa animasi) supaya judul & foto tidak telat muncul */
.hero2__slide.is-first .hero2__body .wrap > *, .hero2__slide.is-first .hero2__img { opacity: 1; transform: none; transition: none; }
/* teks slide lama hilang cepat (.25 dtk), teks baru baru muncul setelahnya, jadi tidak pernah bertumpuk */
.hero2__slide:not(.is-on) .hero2__body .wrap > * { transition-duration: .25s; transition-delay: 0s; }
.hero2__slide.is-on .hero2__body .wrap > * { opacity: 1; transform: none; transition-delay: .35s; }
.hero2__slide.is-on .hero2__body .wrap > :nth-child(2) { transition-delay: .45s; }
.hero2__slide.is-on .hero2__body .wrap > :nth-child(3) { transition-delay: .53s; }
.hero2__slide.is-on .hero2__body .wrap > :nth-child(4) { transition-delay: .61s; }
.hero2__slide.is-on .hero2__body .wrap > :nth-child(5) { transition-delay: .69s; }
.hero2__dots { position: absolute; z-index: 4; right: 16px; top: 34%; transform: translateY(-50%); display: grid; gap: 14px; }
.hero2__dots button { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; }
.hero2__dots button::before { content: ""; position: absolute; inset: -12px; } /* area sentuh 34px */
.hero2__dots button[aria-current="true"] { background: #fff; }
.hero2__dots button[aria-current="true"]::after { content: ""; position: absolute; inset: -6px; border: 1px solid #fff; border-radius: 50%; }
.hero2__dots button:focus-visible { outline: 2px solid var(--brass-1); outline-offset: 6px; }

@media (min-width: 1024px) {
  .hero2 { margin: 10px; height: max(640px, min(calc(100vh - 20px), 860px)); }
  .hero2__img {
    left: auto; right: 0; width: 48%; height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%);
    object-position: center;
  }
  .hero2__plate { display: block; left: auto; right: 24%; bottom: 28px; transform: translateX(50%); z-index: 2; text-decoration: none; }
  .hero2__body { top: 0; display: flex; align-items: center; padding: 0; }
  .hero2__body > .wrap { width: 100%; padding-right: 48%; }
  .hero2__title { font-size: clamp(2.75rem, 3.7vw, 3.5rem); margin-bottom: 20px; max-width: 15ch; }
  .hero2__text { font-size: var(--fs-md); margin-bottom: 28px; }
  .hero2__dots { top: 50%; right: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2__img, .hero2__slide.is-on .hero2__img { transform: none; transition: none; }
  .hero2__body .wrap > * { transform: none; transition: opacity .3s; }
}

/* ---- 3 alasan singkat, menempel ke bawah hero */
.facts { position: relative; z-index: 2; margin: -26px 18px 0; }
.facts__list {
  list-style: none; margin: 0 auto; padding: 6px 4px; max-width: 1100px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(14, 68, 41, .14);
}
.facts__list li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 8px; font-size: 0.75rem; line-height: 1.3; color: var(--muted); }
.facts__list li:nth-child(even) { border-left: 1px solid var(--line); }
.facts__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
.facts__hi svg { color: var(--brass-2) !important; }   /* desain & box beludru gratis ditonjolkan dengan ikon kuningan */
.facts__list svg { width: 22px; height: 22px; color: var(--green-cta); }
.facts__list strong { display: block; color: var(--ink); font-size: 0.875rem; font-stretch: 100%; white-space: nowrap; }
@media (min-width: 768px) {
  .facts__list { padding: 12px 8px; grid-template-columns: repeat(4, 1fr); }
  .facts__list li { flex-direction: row; justify-content: center; text-align: left; gap: 12px; font-size: var(--fs-sm); }
  .facts__list li:nth-child(n+3) { border-top: 0; }
  .facts__list li + li { border-left: 1px solid var(--line); }
  .facts__list svg { width: 28px; height: 28px; }
  .facts__list strong { font-size: var(--fs-base); }
}

/* ---- section beranda: jarak lebih rapat dari halaman lain */
.home-sec { padding: 36px 0; }
.home-sec--tint { background: var(--bg); }
.home-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.home-sec__head h2 { margin: 0; font-size: 1.5rem; }
@media (min-width: 1024px) { .home-sec { padding: 56px 0; } .home-sec__head h2 { font-size: var(--fs-xl); } }
.chips--tabs { margin-bottom: 18px; }

/* ---- kotak kategori bergambar */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); text-align: center; }
.tile__img { width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--bg); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__name { font-size: 0.8125rem; font-weight: 600; line-height: 1.25; }
.tile:hover { color: var(--green-cta); }
.tile--all .tile__img { display: grid; place-items: center; background: var(--green-tint); color: var(--green-cta); }
.tile--all .tile__img svg { width: 30px; height: 30px; transition: transform .2s ease; }
.tile--all:hover .tile__img svg { transform: translateX(4px); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(6, 1fr); gap: 20px 16px; } .tile__name { font-size: var(--fs-sm); } }

/* ---- lokasi workshop */
.visit__grid { display: grid; gap: 20px; }
.visit h2 { font-size: 1.5rem; margin-bottom: 14px; }
.visit__address { display: flex; gap: 10px; margin: 0 0 8px; font-weight: 600; font-size: 1rem; line-height: 1.45; color: var(--ink); }
.visit__address svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--green-cta); }
.visit__hours { display: flex; gap: 10px; margin: 0 0 10px; font-size: 0.9375rem; color: var(--ink); }
.visit__hours svg { width: 22px; height: 22px; flex: none; color: var(--green-cta); }
.visit__note { color: var(--muted); margin: 0 0 18px; font-size: 0.9375rem; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
@media (max-width: 420px) { .visit__actions .btn { flex: 1 1 100%; } }
.visit__photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.visit__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.visit__map { border-radius: 16px; overflow: hidden; background: var(--bg); min-height: 240px; }
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 240px; border: 0; }
@media (min-width: 1024px) {
  .visit__grid { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
  .visit h2 { font-size: var(--fs-xl); }
  .visit__map, .visit__map iframe { min-height: 420px; }
}

/* beranda: bar WhatsApp bawah muncul setelah hero lewat */
.is-home .cta-bar { transition: transform .3s ease; }
.is-home:not(.is-past-hero) .cta-bar { transform: translateY(110%); }

/* ---- keunggulan: plakat 3D, miniatur, trophy, kerajinan logam (pita hijau tua, aksen kuningan) */
.craft { margin: 28px 8px 0; border-radius: 22px; padding: 40px 0 34px; background: #0f2a1e; color: #fff; overflow: hidden; }
.craft__head { margin-bottom: 24px; }
.craft h2 { color: #fff; font-size: 1.75rem; max-width: 20ch; margin-bottom: 14px; }
.craft__line { width: 56px; height: 3px; border-radius: 2px; margin-bottom: 14px; background: linear-gradient(90deg, var(--brass-1), var(--brass-2)); }
.craft__head p { color: rgba(255, 255, 255, .76); max-width: 56ch; margin: 0; font-size: 0.9375rem; }
.craft__list {
  list-style: none; margin: 0; padding: 0 0 6px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.craft__list::-webkit-scrollbar { display: none; }
.craft__list > li { scroll-snap-align: start; }
.craft__card { display: flex; flex-direction: column; color: #fff; text-decoration: none; }
.craft__img { display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #183a2a; margin-bottom: 14px; }
.craft__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.craft__title { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; }
.craft__text { font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.craft__card:hover { color: #fff; }
.craft__card:hover .craft__img img { transform: scale(1.04); }
.craft__card:hover .craft__title { color: var(--brass-1); }
.craft__card:focus-visible { outline: 2px solid var(--brass-1); outline-offset: 4px; border-radius: 16px; }
@media (min-width: 640px) { .craft__list { grid-auto-columns: 42%; } }
@media (min-width: 1024px) {
  .craft { margin: 40px 10px 0; padding: 64px 0 60px; }
  .craft__head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; align-items: end; margin-bottom: 36px; }
  .craft h2 { font-size: 2.5rem; grid-row: span 2; margin: 0; }
  .craft__line { order: 2; display: none; }
  .craft__list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 24px; overflow: visible; }
}

/* ---- cara pesan: 3 langkah ringkas, nomor di lingkaran kuningan */
.order h2 { font-size: 1.5rem; margin-bottom: 18px; }
.order__steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.order__steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
.order__steps strong { display: block; color: var(--ink); font-size: 1rem; }
.order__num {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--brass-ink);
  background: linear-gradient(180deg, var(--brass-1), var(--brass-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.order__steps li:not(:last-child)::after { /* garis penghubung antar langkah (HP: vertikal) */
  content: ""; position: absolute; left: 19px; top: 44px; bottom: -14px; width: 2px; background: var(--line);
}
@media (max-width: 639px) { .order__cta { width: 100%; } }
@media (min-width: 768px) {
  .order__steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .order__steps li { flex-direction: column; gap: 12px; }
  .order__steps li:not(:last-child)::after { left: 52px; right: -12px; top: 19px; bottom: auto; width: auto; height: 2px; }
}
@media (min-width: 1024px) { .order h2 { font-size: var(--fs-xl); } }

/* klik di ikon/teks di dalam tombol WhatsApp tetap tercatat sebagai klik tombolnya (trigger GTM pakai kelas tombol) */
[data-wa] > * { pointer-events: none; }
