/* =========================================================
   FZM Production — site.css (halaman publik)
   Mengikuti DESIGN FZM: lapang, judul besar, flat color,
   merah hanya untuk aksen & aksi utama. Satu-satunya
   bayangan: navbar kapsul melayang.
   ========================================================= */

/* =========================================================
   Perpindahan halaman: pudar + geser halus (View Transitions).
   Navbar, logo, dan tombol WA tetap di tempat.
   Peramban tanpa dukungan memakai pudar dari site.js (.no-vt).
   ========================================================= */
@view-transition { navigation: auto; }
/* Lama: mundur sedikit, buram, memudar. Baru: naik dari bawah dan menajam, kurva pegas. */
/* Halaman: pudar silang yang tenang, halaman baru hanya bergeser 8px. Tanpa buram/skala. */
::view-transition-old(root) { animation: vtOut .28s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vtIn .45s cubic-bezier(.2, 0, 0, 1) .06s both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }
/* Navbar: latar kapsul diam; pil hitam menu aktif meluncur dari menu lama ke menu baru.
   Teks tiap menu punya lapisan sendiri di atas pil agar tetap terbaca selama transisi. */
.nav { view-transition-name: site-nav; }
.nav-active { view-transition-name: nav-pill; }
.nav-links a:nth-of-type(1) { view-transition-name: nav-l1; }
.nav-links a:nth-of-type(2) { view-transition-name: nav-l2; }
.nav-links a:nth-of-type(3) { view-transition-name: nav-l3; }
.nav-links a:nth-of-type(4) { view-transition-name: nav-l4; }
.nav-links a:nth-of-type(5) { view-transition-name: nav-l5; }
.nav .nav-cta { view-transition-name: nav-cta; }
::view-transition-group(site-nav) { z-index: 10; }
::view-transition-group(nav-pill) { z-index: 11; animation-duration: .5s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
::view-transition-group(nav-l1), ::view-transition-group(nav-l2), ::view-transition-group(nav-l3),
::view-transition-group(nav-l4), ::view-transition-group(nav-l5), ::view-transition-group(nav-cta) { z-index: 12; }
::view-transition-old(nav-pill), ::view-transition-new(nav-pill),
::view-transition-old(nav-l1), ::view-transition-new(nav-l1), ::view-transition-old(nav-l2), ::view-transition-new(nav-l2),
::view-transition-old(nav-l3), ::view-transition-new(nav-l3), ::view-transition-old(nav-l4), ::view-transition-new(nav-l4),
::view-transition-old(nav-l5), ::view-transition-new(nav-l5) { animation-duration: .45s; }
.brand-pill { view-transition-name: site-brand; }
.wa-float { view-transition-name: site-wa; }
.no-vt body { animation: pageIn .45s cubic-bezier(.2, 0, 0, 1) both; }
.no-vt.is-leaving body { opacity: 0; transition: opacity .22s ease; }
@keyframes pageIn { from { opacity: 0; } }
/* Navbar meluncur masuk sekali saja per kunjungan (html.first-visit diisi di <head>) */
.first-visit .nav { animation: navIn .7s cubic-bezier(.2, 0, 0, 1) .2s both; }
@keyframes navIn { from { opacity: 0; transform: translate(-50%, 140%); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .no-vt body { animation: none; }
}

/* ---------- Logo merek (kiri atas), polos tanpa kotak ---------- */
.brand-pill {
  position: absolute; top: 24px; left: clamp(16px, 2.5vw, 36px); z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none;
}
.brand-pill .brand-mark { width: 24px; height: 24px; }

/* ---------- Navbar kapsul melayang (bawah layar) ---------- */
.nav {
  position: fixed; bottom: 20px; left: 50%; z-index: 60; transform: translateX(-50%);
  max-width: calc(100% - 24px); display: flex; align-items: center; gap: 4px; padding: 6px;
  border-radius: var(--pill); font-size: 15px; font-weight: 500;
  /* Kaca buram ala macOS: latar tembus, blur + saturasi, garis terang di tepi */
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 40px rgba(16, 16, 16, .14), 0 1px 2px rgba(16, 16, 16, .06), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--pill);
  color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .2s ease, background-color .2s ease;
}
.nav-links a[aria-current="page"], .nav-links a[aria-current="page"]:hover { background: var(--ink); color: var(--white); }
/* Sorotan abu yang meluncur mengikuti kursor (site.js) */
.nav-hover {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: var(--pill); background: rgba(16, 16, 16, .07);
  opacity: 0; pointer-events: none; transition: transform .3s var(--spring), width .3s var(--spring), opacity .15s ease;
}
.nav-links.is-hovering .nav-hover { opacity: 1; }
.nav-hover.is-instant { transition: opacity .2s ease; }
/* Pil hitam menu aktif yang meluncur (site.js); teks aktif tetap putih di atasnya */
.nav-active {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: var(--pill); background: var(--ink); pointer-events: none;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1), width .5s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
.nav-active.is-instant { transition: none; }
.nav-active.is-off { opacity: 0; }
.nav-links.has-pill a[aria-current="page"], .nav-links.has-pill a[aria-current="page"]:hover { background: transparent; color: var(--white); transition: color .15s ease; }
.nav { transition: padding .4s var(--spring), background-color .3s ease, box-shadow .3s ease; }
.nav.is-scrolled { background: rgba(255, 255, 255, .78); box-shadow: 0 14px 44px rgba(16, 16, 16, .16), 0 1px 2px rgba(16, 16, 16, .06), inset 0 1px 0 rgba(255, 255, 255, .8); }
@media (prefers-reduced-motion: reduce) { .first-visit .nav { animation: none; } }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav .nav-cta { min-height: 44px; padding: 0 22px; font-size: 15px; --bg: var(--red); }
.nav-burger { display: none; }
.nav-burger span { position: relative; width: 18px; height: 2px; background: currentColor; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .2s ease; }
.nav-burger span::before { transform: translateY(-6px); }
.nav-burger span::after { transform: translateY(6px); }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { transform: rotate(-45deg); }

.nav-sheet {
  position: fixed; bottom: 88px; left: 12px; right: 12px; z-index: 59; padding: 10px; border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 20px 60px rgba(16, 16, 16, .18);
  display: flex; flex-direction: column; transform-origin: 50% 100%; animation: sheetUp .45s var(--spring);
}
@keyframes sheetUp { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.nav-sheet a { padding: 14px 16px; border-radius: var(--r-sm); text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.nav-sheet a:hover { background: rgba(16, 16, 16, .06); }
.nav-sheet a:active { transform: scale(.98); }
.nav-sheet .btn { margin-top: 8px; font-size: 16px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}
body:has(.mbar) .nav-sheet { bottom: 150px; }
@media (max-width: 1000px) { body:has(.mbar) .nav { bottom: 84px; } }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--white); text-decoration: none;
  transition: background-color .2s ease, transform .3s var(--ease);
}
.wa-float:hover { background: var(--red); transform: scale(1.08) rotate(-6deg); }
.wa-float:active { transform: scale(.94); }
.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 880px) { .wa-float { bottom: 84px; } }

/* ---------- Bagian umum ---------- */
.section { padding: var(--section) 0 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.sec-head p { max-width: 380px; color: var(--muted); font-size: 19px; }

/* ---------- Beranda: hero tipografi ---------- */
.hero {
  max-width: var(--container); margin: 0 auto; min-height: 100svh; padding: 96px var(--gutter) 150px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 36px;
}
/* Ukuran ikut tinggi layar juga, agar judul + tombol selalu muat di atas navbar */
.hero-title { font-weight: 800; font-size: clamp(52px, min(10.5vw, 16svh), 168px); line-height: .98; letter-spacing: -0.05em; }
.hero-row { display: block; padding: 0 .04em .06em; }
.hero-word { display: inline-block; }
.hero-word.serif { padding-right: .04em; }
.hero-lead { max-width: 560px; color: var(--muted); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Judul diketik huruf per huruf (site.js menambah .is-on per huruf).
   Kursor merah ikut berjalan, berkedip setelah selesai.
   Teks dan tombol di bawahnya menyusul pudar setelah judul lengkap. */
.js .hero-type .ch { opacity: 0; transition: opacity .3s ease; }   /* huruf memudar masuk, bukan muncul mendadak */
.js .hero-type .ch.is-on { opacity: 1; }
.js .hero.is-typed .hero-type .ch { opacity: 1; }
.caret { position: relative; display: inline-block; width: 0; height: .78em; }
.caret[hidden] { display: none; }
.caret::after {
  content: ""; position: absolute; left: .03em; top: -.02em; bottom: -.06em; width: .065em; border-radius: 2px; background: var(--red);
}
@keyframes heroFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Teks & tombol tidak menunggu judul selesai diketik: langsung menyusul setelah jeda singkat */
.js .hero .hero-lead, .js .hero .hero-actions { opacity: 0; }
.js .hero.is-typed .hero-lead { animation: heroFade .7s var(--ease) both; }
.js .hero.is-typed .hero-actions { animation: heroFade .7s var(--ease) .12s both; }
/* Pengaman: bila skrip gagal berjalan, semua tetap tampil */
@keyframes failsafe { to { opacity: 1; } }
.js .hero:not(.is-typing):not(.is-typed) .ch,
.js .hero:not(.is-typing):not(.is-typed) .hero-lead,
.js .hero:not(.is-typing):not(.is-typed) .hero-actions { animation: failsafe 0s 2.5s forwards; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-type .ch, .js .hero .hero-lead, .js .hero .hero-actions { opacity: 1; animation: none; }
  .caret { display: none; }
}

/* ---------- Daftar layanan ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.svc-item a {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 28px 16px;
  border-bottom: 1px solid var(--hairline); border-radius: var(--r); text-decoration: none;
  transition: background-color .25s ease, padding .35s var(--ease);
}
.svc-item a:hover { background: var(--surface); padding-left: 24px; }
.svc-item a:active { background: #F2F2F2; }
.svc-no { width: 36px; font-size: 14px; font-weight: 600; color: var(--muted); }
.svc-name { flex: 1 1 260px; font-weight: 700; font-size: 26px; letter-spacing: -0.025em; }
.svc-badge { margin-left: 8px; color: var(--red-ink); font-weight: 600; font-size: 16px; letter-spacing: 0; }
.svc-desc { flex: 2 1 300px; color: var(--muted); }
.svc-price { flex: 0 0 180px; text-align: right; font-weight: 600; }
.svc-price small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.svc-go { display: inline-flex; transition: transform .35s var(--ease), color .2s ease; }
.svc-item a:hover .svc-go { transform: translateX(6px); color: var(--red-ink); }
.svc-name { transition: color .2s ease; }
.svc-item a:hover .svc-name { color: var(--red-ink); }
@media (max-width: 640px) {
  .svc-item a { padding: 22px 8px; gap: 6px 14px; }
  .svc-no { width: auto; }
  .svc-name { flex-basis: calc(100% - 80px); font-size: 22px; }
  .svc-price { flex: 1 1 auto; text-align: left; }
}

/* ---------- Strip logo klien (berjalan), tanpa kotak: hanya garis batas ---------- */
.logo-strip { display: flex; overflow: hidden; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.logo-strip-track { display: flex; flex-shrink: 0; min-width: 100%; margin: 0; padding: 0; list-style: none; animation: logoStrip 40s linear infinite; }
.logo-strip:hover .logo-strip-track { animation-play-state: paused; }
.client {
  flex: 0 0 240px; height: 120px; display: flex; align-items: center; justify-content: center; padding: 0 28px;
  border-right: 1px solid var(--hairline); text-align: center; transition: background-color .25s ease;
}
.client:hover { background: var(--surface); }
.client-name { font-size: 17px; font-weight: 600; color: var(--muted); line-height: 1.25; transition: color .2s ease; }
.client:hover .client-name { color: var(--ink); }
.client img { max-height: 52px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease, transform .4s var(--ease); }
.client:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes logoStrip { to { transform: translateX(-100%); } }
@media (max-width: 640px) { .client { flex-basis: 180px; height: 96px; padding: 0 18px; } }
@media (prefers-reduced-motion: reduce) {
  .logo-strip { overflow-x: auto; }
  .logo-strip-track { animation: none; }
  .logo-strip-track[aria-hidden="true"] { display: none; }
}

/* ---------- CTA hitam ---------- */
.cta {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding: clamp(36px, 6vw, 88px); border-radius: var(--r-cta); background: var(--ink); color: var(--bg);
}
.cta-copy { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.cta h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.cta p { color: #D0D0D0; font-size: 19px; }

/* ---------- Footer: tipografi rapat, wordmark raksasa ---------- */
.footer { padding: 140px 0 120px; overflow: hidden; }
.footer .container { container-type: inline-size; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--hairline); }
.footer-top h4 { margin-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-top li { color: var(--muted); font-size: 16px; }
.footer-top a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16px; }
.footer-intro { font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.04em; max-width: 360px; text-wrap: balance; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.footer-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22A04B; animation: statusPulse 2.4s ease-in-out infinite; }
@keyframes statusPulse { 50% { opacity: .35; } }
/* FZM PRODUCTION: Inter Tight tebal, huruf saling rapat, warna flat: FZM hitam, PRODUCTION merah.
   Ukuran mengikuti lebar kontainer (cqw). */
.footer-mark {
  margin: 64px 0 0; font-family: "Inter Tight", var(--font-body); font-weight: 700; font-size: 12.6cqw;
  line-height: .78; letter-spacing: -0.08em; text-align: center; white-space: nowrap; user-select: none; color: var(--ink);
}
.footer-mark span { display: inline-block; padding-right: .08em; }
.footer-mark span:last-child { color: var(--red); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--muted); }
.footer-bottom .meta { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* =========================================================
   Halaman dalam
   ========================================================= */
.page-top { padding: 160px 0 var(--section); min-height: 100vh; }
.page-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin-bottom: 56px; }
.page-title { font-weight: 800; font-size: clamp(52px, 9vw, 128px); line-height: .95; letter-spacing: -0.05em; overflow-wrap: anywhere; }
.page-title--md { font-weight: 700; font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.page-lead { font-size: 21px; color: var(--muted); text-wrap: pretty; }
.page-back { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.tag { display: inline-flex; align-items: center; padding: 2px 12px; border-radius: var(--pill); background: var(--red); color: var(--white); font-size: 13px; font-weight: 700; }

.detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
.detail-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.detail-card h2 { font-size: 24px; letter-spacing: -0.03em; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list strong { font-weight: 700; text-align: right; }
.price-note { font-size: 14px; color: var(--muted); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.prose { color: #333; font-size: 18px; line-height: 1.7; white-space: pre-line; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }

.ph { display: block; position: relative; overflow: hidden; background: var(--tile-4); }

/* ---------- Cari ---------- */
.search-form { display: flex; gap: 10px; max-width: 600px; }
.search-form .input { flex: 1; }
.search-empty { color: var(--muted); padding: 32px 0; }
.search-group { margin-top: 48px; }
.search-group h2 { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 12px; }
.search-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.search-list li { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.search-list .link-arrow { font-size: 20px; }
.search-sub { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* =========================================================
   Galeri portofolio (dibuka dari grid foto di beranda)
   ========================================================= */
/* Jendela detail proyek: latar buram, kartu muncul halus dari bawah */
.pf-detail {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px;
  /* Asap gelap tipis + blur tebal: halaman di belakang benar-benar mundur, kartu jadi fokus */
  background: rgba(16, 16, 16, .38); -webkit-backdrop-filter: blur(36px) saturate(1.3); backdrop-filter: blur(36px) saturate(1.3);
  opacity: 0; transition: opacity .4s ease;
}
.pf-detail.is-open { opacity: 1; }
.pd-card {
  width: 100%; max-width: 960px; max-height: 90vh; overflow: auto; padding: clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 24px; border-radius: var(--r-xl);
  /* Kaca susu (frosted): cukup pekat agar teks selalu terbaca, tetap sedikit tembus,
     garis terang di tepi dan kilau tipis di atas */
  background: rgba(250, 250, 250, .86); -webkit-backdrop-filter: blur(40px) saturate(1.8); backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 30px 80px rgba(16, 16, 16, .22);
  /* Membesar dari ubin yang diklik (--dx/--dy diisi portfolio.js), kurva pegas */
  transform: translate(var(--dx, 0), var(--dy, 28px)) scale(.4); opacity: 0;
  transition: transform .55s var(--spring), opacity .3s ease;
}
.pf-detail.is-open .pd-card { transform: none; opacity: 1; }
.pd-grab { display: none; }
/* Ponsel: lembar dari bawah ala iOS, bisa ditarik turun untuk menutup */
@media (max-width: 640px) {
  .pf-detail { align-items: flex-end; padding: 0; }
  .pd-card { max-height: 92svh; border-radius: 28px 28px 0 0; padding-top: 10px; transform: translateY(100%); opacity: 1; transition: transform .5s var(--spring); }
  .pf-detail.is-open .pd-card { transform: translateY(var(--drag, 0px)); }
  .pd-card.is-dragging { transition: none; }
  .pd-grab { display: block; align-self: center; width: 40px; height: 5px; margin-bottom: 4px; border-radius: 3px; background: #CFCFCF; flex-shrink: 0; }
}
.pd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pd-cat { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
.pd-head h2 { margin-top: 4px; font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.035em; line-height: 1.05; }
.pd-close {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(16, 16, 16, .1); background: rgba(255, 255, 255, .9); cursor: pointer;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s ease, color .2s ease, transform .35s var(--ease);
}
.pd-close:hover { background: var(--ink); color: var(--white); transform: rotate(90deg); }
.pd-photo { position: relative; height: clamp(220px, 40vw, 440px); border-radius: var(--r-lg); overflow: hidden; background: var(--tile-4); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.pd-photo img, .pd-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.pd-photo img { transition: opacity .45s ease; }
/* Pindah foto (portfolio.js): salinan foto lama (.pd-ghost) ditumpuk di atas foto baru */
.pd-ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; }
/* Pudar silang murni: foto baru sudah utuh di bawah, foto lama di atasnya memudar (tanpa geser/blur,
   jadi tidak ada tepi yang bocor). */
.pd-photo.is-swap .pd-ghost { animation: pdOut .75s cubic-bezier(.45, 0, .25, 1) forwards; }
@keyframes pdOut { to { opacity: 0; } }
.pd-photo img.is-loading { opacity: 0; }
.pd-nav {
  position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .72); color: var(--ink); z-index: 2;
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s ease, color .2s ease, transform .3s var(--ease);
}
.pd-nav:hover { background: var(--ink); color: var(--white); }
.pd-prev:hover { transform: translateX(-3px); } .pd-next:hover { transform: translateX(3px); }
.pd-nav:active { transform: scale(.9); }
.pd-prev { left: 12px; } .pd-next { right: 12px; }
.pd-count {
  position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: var(--pill); font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); z-index: 2;
}
.pd-count:empty { display: none; }
.pd-info { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 10px; }
/* Tiap info dalam keping kaca kecil */
.pd-info > div { padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .75); border: 1px solid rgba(16, 16, 16, .06); }
.pd-info dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pd-info dd { margin: 2px 0 0; font-weight: 600; }

/* =========================================================
   Kontak
   ========================================================= */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-lead { margin-top: 20px; max-width: 480px; }
.contact-where { margin-top: 20px; }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--hairline); }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.contact-list a, .contact-list span { font-size: 17px; text-decoration: none; }
.contact-list .meta { font-size: 13px; }
.contact-media { position: relative; margin-top: 40px; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--tile-2); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.contact-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.enquiry { position: sticky; top: 32px; background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); }
.enquiry-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.enquiry-head h2 { font-size: 30px; letter-spacing: -0.035em; }
.enquiry-progress { height: 3px; margin: 18px 0 28px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.enquiry-progress i { display: block; height: 100%; width: 50%; background: var(--red); transition: width .3s ease; }
.enquiry-step { display: flex; flex-direction: column; gap: 20px; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 8px; }
.enquiry-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 0; }
.enquiry-done .check, .success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }

/* =========================================================
   Pesan: layanan, kalender, data, ringkasan
   ========================================================= */
.order { padding: 140px 0 var(--section); min-height: 100vh; }
.order .page-head { margin-bottom: 48px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 1100px) { .order-layout { grid-template-columns: minmax(0, 1fr); } }
/* Grid: layanan selebar penuh, kalender dan data pemesan berdampingan */
.order-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 16px; min-width: 0; align-items: stretch; }
.order-step--wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .order-steps { grid-template-columns: minmax(0, 1fr); } }
.order-step { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.step-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; align-self: center;
  border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px;
}
.step-head h2 { font-size: 28px; letter-spacing: -0.03em; }
.step-hint { margin-left: auto; font-size: 14px; color: var(--muted); }
.panel-card { flex: 1; background: var(--surface); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 20px; min-width: 0; container-type: inline-size; }

/* Kartu layanan */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.svc-row {
  display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1.5px solid transparent; transition: border-color .25s ease, transform .3s var(--ease);
}
.svc-row:hover { border-color: var(--line-2); }
.svc-row.is-picked { border-color: var(--ink); }
.svc-row.is-flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { background: var(--surface); } 25% { background: var(--red-soft); } }
.svc-row-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.svc-row-head > div:first-child { flex: 1; min-width: 0; }
.svc-row-name { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.svc-row-desc { font-size: 14px; color: var(--muted); }
.svc-check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: var(--white); transform: scale(0); transition: transform .35s var(--ease);
}
.svc-row.is-picked .svc-check { transform: scale(1); }
.svc-clear { border: 0; background: none; color: var(--red-ink); font-size: 14px; font-weight: 600; cursor: pointer; min-height: 26px; padding: 0 4px; }
.svc-clear:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Paket = daftar berkelompok ala iOS: satu baris per paket, selalu penuh selebar kartu */
.tiers { display: flex; flex-direction: column; border: 0; padding: 0; margin: 0; border-radius: 16px; background: var(--bg); overflow: hidden; }
.tier { position: relative; }
.tier + .tier span { border-top: 1px solid var(--hairline); }
.tier input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.tier span {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px;
  transition: background-color .2s ease, color .2s ease;
}
.tier small { flex: 1; font-size: 15px; font-weight: 600; color: inherit; }
.tier strong { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* Lingkaran pilihan; terisi merah dengan centang saat dipilih */
.tier span::after {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #C7C7CC; box-sizing: border-box;
  background: no-repeat center / 12px 12px; transition: background-color .25s ease, border-color .25s ease, transform .35s var(--bounce);
}
.tier:hover span { background: rgba(16, 16, 16, .035); }
.tier:active span { background: rgba(16, 16, 16, .07); }
.tier input:checked + span::after {
  border-color: var(--red); background-color: var(--red); transform: scale(1.05);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.tier input:checked + span strong { color: var(--red-ink); }
.tier input:focus-visible + span { outline: 3px solid var(--red); outline-offset: -3px; }
.unit-row .info { min-width: 0; }
.unit-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); font-size: 20px; line-height: 1; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.stepper button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.stepper button:active { transform: scale(.88); }
.stepper label { display: inline-flex; align-items: baseline; gap: 4px; }
.stepper input { width: 48px; border: 0; background: none; text-align: right; font-weight: 700; font-size: 22px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.stepper input:focus { outline: none; }
.stepper label:focus-within { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 8px; }
.stepper .unit { font-size: 15px; font-weight: 600; color: var(--muted); }
.unit-sub { text-align: right; font-weight: 700; font-size: 17px; color: #A8A8A8; transition: color .2s ease; }
.unit-sub.is-on { color: var(--ink); }

.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head .icon-btn { border: 1px solid #D6D6D6; background: var(--surface); }
.cal-head .icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.cal-month { font-size: 20px; font-weight: 700; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 0; }
.cal-day { position: relative; min-height: 44px; border: 0; border-radius: 12px; background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .25s var(--ease); }
.cal-day:hover:not(:disabled) { background: var(--paper-2); }
.cal-day:active:not(:disabled) { transform: scale(.9); }
.cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-day.is-past { color: #BDBDBD; cursor: not-allowed; }
.cal-day.is-locked { background: var(--taken); color: #7A1A1E; cursor: not-allowed; }
.cal-day.is-locked span { text-decoration: line-through; }
.cal-day.is-selected { background: var(--red); color: var(--white); animation: daySel .35s var(--ease); }
@keyframes daySel { from { transform: scale(.8); } }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--surface); }
.cal-legend i.locked { background: var(--taken); border-color: var(--taken); }
.cal-legend i.sel { background: var(--red); border-color: var(--red); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
@container (max-width: 360px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.order .input, .order .textarea { background: var(--bg); }

.summary { position: sticky; top: 24px; border-radius: var(--r-lg); padding: 28px; color: var(--white); background: var(--ink); display: flex; flex-direction: column; gap: 20px; }
.summary h2 { font-size: 24px; letter-spacing: -0.03em; }
.summary-count { font-size: 14px; color: #BDBDBD; }
.summary-empty { font-size: 15px; color: #BDBDBD; }
.summary-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary-lines li span:first-child { color: #CFCFCF; }
.summary-lines li span:last-child { font-weight: 600; white-space: nowrap; }
.summary-totals { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.s-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: #CFCFCF; }
.s-row strong { color: var(--white); font-weight: 600; text-align: right; }
.s-total strong { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
/* Angka berganti langsung (tanpa hitung naik), cukup kedip halus */
.is-bump { animation: bump .35s var(--ease); }
@keyframes bump { from { opacity: .3; transform: translateY(4px); } }
.s-row strong, .mbar strong { display: inline-block; }
.s-dp { padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); }
.s-dp span { color: #FF9AA0; font-weight: 600; }
.s-dp strong { font-size: 22px; font-weight: 700; }
.summary small { font-size: 13px; color: #A8A8A8; line-height: 1.5; }

.mbar { display: none; }
@media (max-width: 1000px) {
  .summary { position: static; }
  .mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: var(--r-lg); color: var(--white); background: var(--ink); transition: transform .3s ease; }
  .mbar.is-away { transform: translateY(140%); }
  .mbar small { display: block; font-size: 13px; color: #BDBDBD; }
  .mbar strong { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
  .mbar .btn { --bg: var(--red); }
  .order { padding-bottom: 160px; }
  .order ~ .wa-float { bottom: 150px; }
}

/* Halaman sukses */
.success { max-width: 720px; margin: 0 auto; background: var(--surface); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.success h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; }
.success p { margin-top: 10px; color: #333; }
.wa-preview { padding: 18px; border-radius: var(--r-sm); background: var(--bg); }
.wa-preview pre { margin: 8px 0 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Layar kecil: tidak boleh ada geser ke samping */
@media (max-width: 380px) {
  .panel-card { padding-left: 16px; padding-right: 16px; }
}

/* =========================================================
   Komponen beranda: proyek klien (grid foto bento)
   1 foto besar di kiri, 2 di kanan, 2 lebar di bawah
   ========================================================= */
.sec-title { display: flex; flex-direction: column; gap: 18px; }
.showcase { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.show-item { grid-column: span 6; min-width: 0; }
.show-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.show-item:nth-child(2), .show-item:nth-child(3) { grid-column: span 5; }
.show-item { display: flex; flex-direction: column; gap: 16px; }
.show-media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; cursor: zoom-in;
  border-radius: var(--r-lg); background: var(--tile-4); aspect-ratio: 16 / 10; -webkit-tap-highlight-color: transparent;
}
.show-item:nth-child(1) .show-media { flex: 1; aspect-ratio: auto; min-height: 420px; }
/* Web satu halaman: judul bagian tidak tertutup tepi atas saat dituju dari navbar */
.section[id] { scroll-margin-top: -64px; }
.section--tight { padding-top: 120px; }
.contact > div > .sec-head { margin-bottom: 0; }
.enquiry-head h3 { font-size: 30px; letter-spacing: -0.035em; }
.wa-link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s ease; }
.wa-link:hover { text-decoration-color: currentColor; }
.show-item:nth-child(n+4) .show-media { aspect-ratio: 16 / 9; }
/* Foto diam (tanpa zoom/paralaks). Hover: bingkai terangkat pelan dan foto sedikit lebih terang,
   dengan kurva lembut yang panjang agar tidak terasa patah. */
.show-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .8s cubic-bezier(.25, .1, .25, 1); }
.show-media { translate: 0 0; transition: translate .8s cubic-bezier(.25, .1, .25, 1), border-radius .8s cubic-bezier(.25, .1, .25, 1); }
.show-media:hover { translate: 0 -6px; border-radius: var(--r-xl); }
.show-media:hover img { filter: brightness(1.06); }
.show-media:active { translate: 0 -2px; transition-duration: .2s; }
.show-count {
  position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: var(--pill); font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .78); color: var(--ink); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  opacity: 0; translate: 0 -4px; transition: opacity .6s cubic-bezier(.25, .1, .25, 1), translate .8s cubic-bezier(.25, .1, .25, 1);
}
.show-media:hover .show-count, .show-media:focus-visible .show-count { opacity: 1; translate: none; }
.show-caption { display: grid; gap: 4px; }
.show-client { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
.show-title { justify-self: start; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; text-decoration: none; color: inherit; transition: color .5s cubic-bezier(.25, .1, .25, 1); }
.show-item:has(.show-media:hover) .show-title { color: var(--red-ink); }
.show-title:hover { color: var(--red-ink); }
.show-meta { font-size: 15px; color: var(--muted); }
.show-media:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .show-item, .show-item:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .show-item:nth-child(1) { grid-column: 1 / -1; }
  .show-item:nth-child(1) .show-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 560px) { .showcase { grid-template-columns: minmax(0, 1fr); } .show-item:nth-child(n) .show-media { aspect-ratio: 4 / 3; } }

/* Studi kasus: foto utama selebar kontainer */
.case-cover { position: relative; margin: 0 0 16px; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 21 / 9; background: var(--tile-4); }
.case-cover img { position: absolute; inset: 0; }
@media (max-width: 640px) { .case-cover { aspect-ratio: 4 / 3; } }

/* Aksen merah: harga, klien, angka penting */
.svc-price { color: var(--red-ink); }
.svc-price small { color: var(--muted); }
.cta .serif { color: var(--red-hi); }
.s-total strong { color: #FF6B70; }
.footer-intro .accent { color: var(--red-ink); }
.contact-list .accent { color: var(--red-ink); }
/* Ponsel: baris judul mengalir alami tanpa patahan paksa */
@media (max-width: 640px) { .sec-head h2 br, .cta h2 br { display: none; } }
