/* ===== FONT — Outfit (judul) + Nunito 500 (teks) =========================== */
:root{
  --display:"Outfit","Trebuchet MS",system-ui,sans-serif;
  --body:"Nunito",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --bw:500;             /* ketebalan teks isi — tetap di bawah judul (700) */
  --dw:700; --tight:-.02em;
}

/* ===== WARNA ============================================================ */
:root{
  --bg:#FBF6EE; --bg-rgb:251 246 238; --surface:#FFFFFF; --surface-2:#F4EBDB;
  --ink:#1A140C; --muted:#6B5D4C; --line:#E9DDC9;
  --accent:#FFAD43;            /* oranye logo MMI */
  --accent-ink:#241703;        /* teks di atas oranye */
  --accent-txt:#C1770A;        /* teks beraksen di atas krem */
  --accent-soft:#FFEBCE;
  --shadow:0 1px 2px rgba(26,20,12,.05), 0 10px 28px -14px rgba(26,20,12,.22);
  --r:10px; --r-lg:16px; --r-pill:100px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#15100A; --bg-rgb:21 16 10; --surface:#201911; --surface-2:#2C2317; --ink:#F8F0E4;
    --muted:#AC9A85; --line:#362B1B; --accent:#FFAD43; --accent-ink:#241703;
    --accent-txt:#FFC272; --accent-soft:#3B2B12;
    --shadow:0 1px 2px rgba(0,0,0,.45), 0 10px 28px -14px rgba(0,0,0,.75);
  }
}
:root[data-theme="dark"]{
  --bg:#15100A; --bg-rgb:21 16 10; --surface:#201911; --surface-2:#2C2317; --ink:#F8F0E4;
  --muted:#AC9A85; --line:#362B1B; --accent:#FFAD43; --accent-ink:#241703;
  --accent-txt:#FFC272; --accent-soft:#3B2B12;
  --shadow:0 1px 2px rgba(0,0,0,.45), 0 10px 28px -14px rgba(0,0,0,.75);
}

/* ===== LOGO ADAPTIF TERANG / GELAP ====================================== */
.lg-d{display:none}
.lg-l{display:block}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .lg-l{display:none}
  :root:not([data-theme="light"]) .lg-d{display:block}
}
:root[data-theme="dark"] .lg-l{display:none}
:root[data-theme="dark"] .lg-d{display:block}

/* ===== DASAR ============================================================ */
*{box-sizing:border-box}
[hidden]{display:none !important}
body{margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--body); font-weight:var(--bw); font-size:16px; line-height:1.62; -webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--display); font-weight:var(--dw); line-height:1.08;
  margin:0; text-wrap:balance; letter-spacing:var(--tight)}
p{margin:0}
a{color:inherit}
img{max-width:100%; display:block}
button{font:inherit; color:inherit}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:6px}
.wrap{width:100%; max-width:1160px; margin-inline:auto; padding-inline:20px}
.eyebrow{font-family:var(--display); font-size:13px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent-txt)}
.muted{color:var(--muted)}
.tnum{font-variant-numeric:tabular-nums}

/* ===== HEADER =========================================================== */
.hdr{position:fixed; top:0; left:0; right:0; z-index:40;
  padding-top:env(safe-area-inset-top,0px);
  background:color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter:blur(14px); border-bottom:1px solid var(--line);
  transition:transform .3s cubic-bezier(.4,0,.2,1)}
.hdr.is-hidden{transform:translateY(-102%)}
body{padding-top:calc(104px + env(safe-area-inset-top,0px))}
.hdr-in{display:flex; align-items:center; gap:14px; height:104px}
.logo{display:flex; align-items:center; gap:11px; text-decoration:none; margin-right:auto; min-width:0}
.logo img{height:74px; width:auto; max-width:none; object-fit:contain}
.logo-mark{width:38px; height:38px; flex:none; border-radius:var(--r);
  background:var(--accent); color:var(--accent-ink); display:grid; place-items:center;
  font-family:var(--display); font-weight:var(--dw); font-size:15px}
.logo-txt{display:flex; flex-direction:column; min-width:0}
.logo-name{font-family:var(--display); font-weight:var(--dw); font-size:18px; line-height:1.1}
.logo-sub{font-size:10.5px; color:var(--muted); letter-spacing:.05em; text-transform:uppercase;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.nav{display:flex; gap:2px}
.nav a{font-family:var(--display); font-size:17px; font-weight:600; text-decoration:none;
  padding:7px 12px; border-radius:var(--r-pill); color:var(--muted)}
.nav a:hover{color:var(--ink); background:var(--surface-2)}
.icon-btn{border:1px solid var(--line); background:var(--surface); cursor:pointer;
  height:38px; min-width:38px; padding:0 10px; border-radius:var(--r-pill);
  display:inline-grid; place-items:center; flex:none;
  font-family:var(--display); font-weight:700; font-size:14px}
.icon-btn:hover{background:var(--surface-2)}

/* ===== TOMBOL =========================================================== */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; cursor:pointer;
  font-family:var(--display); font-size:16px; font-weight:700; letter-spacing:.005em;
  padding:12px 22px; border-radius:var(--r-pill); text-decoration:none;
  border:1px solid transparent; transition:transform .12s ease, filter .15s ease, background .15s ease}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent); color:var(--accent-ink)}
.btn-primary:hover{filter:brightness(1.06)}
.btn-ghost{border-color:var(--line); background:var(--surface); color:var(--ink)}
.btn-ghost:hover{background:var(--surface-2)}
.btn-sm{padding:8px 15px; font-size:14.5px}
.btn[aria-disabled="true"]{opacity:.5; pointer-events:none}

/* ===== HERO ============================================================= */
.hero{position:relative; isolation:isolate; overflow:hidden;
  padding-block:clamp(52px,6.6vw,92px) clamp(40px,4.6vw,68px)}
/* render 3D WPC fluted sebagai latar hero */
.hero::before{content:""; position:absolute; inset:0; z-index:-2;
  background-image:url("img/render/wpc-fluted-living-room.jpg");
  background-size:cover; background-position:50% 50%; background-repeat:no-repeat;
  transform:scaleX(-1)}  /* dicermin: tekstur slat WPC jatuh di sisi kanan, sisi kiri bersih untuk teks */
/* gradasi krem -> transparan supaya teks tetap terbaca & menyatu ke section berikutnya */
.hero::after{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:
    linear-gradient(90deg, rgb(var(--bg-rgb)/.96) 0%, rgb(var(--bg-rgb)/.91) 36%,
                           rgb(var(--bg-rgb)/.58) 62%, rgb(var(--bg-rgb)/.3) 100%),
    linear-gradient(180deg, rgb(var(--bg-rgb)/.42) 0%, rgb(var(--bg-rgb)/0) 26%,
                            rgb(var(--bg-rgb)/0) 62%, rgb(var(--bg-rgb)/.92) 100%)}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .hero::before{opacity:.5}
}
:root[data-theme="dark"] .hero::before{opacity:.5}
.hero-grid{display:grid; grid-template-columns:1.22fr .78fr; gap:clamp(26px,3.4vw,44px); align-items:center}
.hero h1{font-size:clamp(40px,6.6vw,76px); line-height:1.02; letter-spacing:-.028em; margin-block:16px 22px}
.hero h1 em{font-style:normal; color:var(--accent-txt)}
.hero-lead{font-size:clamp(15.5px,1.6vw,18px); color:var(--muted); max-width:56ch}
.hero-cta{display:flex; flex-wrap:wrap; gap:10px; margin-top:26px}
.stats{display:flex; gap:44px; margin-top:32px; padding-top:22px;
  border-top:1px solid var(--line); flex-wrap:wrap}
.stat-v{font-family:var(--display); font-size:34px; font-weight:var(--dw); line-height:1; color:var(--accent-txt)}
.stat-l{font-size:12px; color:var(--muted); margin-top:5px}
.swatches{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
.swatch{aspect-ratio:3/4; border-radius:var(--r-lg); border:1px solid var(--line);
  position:relative; overflow:hidden; box-shadow:var(--shadow); background:var(--surface-2)}
.swatch:nth-child(2),.swatch:nth-child(3){aspect-ratio:1/1}
.swatch img{width:100%; height:100%; object-fit:cover}
.swatch span{position:absolute; left:10px; bottom:9px; font-family:var(--display); font-size:12.5px;
  font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#fff;
  text-shadow:0 1px 8px rgba(0,0,0,.7)}

/* ===== SECTION ========================================================== */
section{scroll-margin-top:120px}
.sec{padding-block:clamp(42px,5.5vw,72px); border-top:1px solid var(--line)}
.sec-head{display:flex; align-items:flex-end; justify-content:space-between; gap:20px;
  flex-wrap:wrap; margin-bottom:26px}
.sec-head h2{font-size:clamp(26px,3.6vw,40px)}
.sec-head p{color:var(--muted); font-size:15px; max-width:58ch; margin-top:8px}

/* ===== STRIP BRAND ====================================================== */
.brands-strip{display:flex; flex-wrap:wrap; justify-content:center; gap:12px}
.bchip{background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:12px 14px; height:88px; display:flex; align-items:center; justify-content:center;
  flex:0 0 calc((100% - 4 * 12px) / 5); min-width:0; overflow:hidden}
.bchip img{width:auto; height:auto; max-width:90%; max-height:48px; object-fit:contain}
@media (max-width:880px){ .bchip{flex-basis:calc((100% - 3 * 12px) / 4); height:78px} }
@media (max-width:640px){ .brands-strip{gap:10px} .bchip{flex-basis:calc((100% - 2 * 10px) / 3); height:70px; padding:10px} }
@media (max-width:520px){ .bchip{flex-basis:calc((100% - 10px) / 2); height:72px} }
.bchip span{font-family:var(--display); font-weight:700; font-size:16px; color:var(--muted)}

/* ===== KATEGORI ========================================================= */
.cats{display:grid; grid-template-columns:repeat(auto-fit,minmax(248px,1fr)); gap:12px}
.cat{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  text-align:left; padding:0; overflow:hidden; display:flex; flex-direction:column;
  transition:border-color .15s ease, transform .15s ease; color:inherit}
.cat:hover{border-color:var(--accent); transform:translateY(-2px)}
/* area gambar + judul: satu tombol yang membuka popup detail */
.cat-open{display:flex; flex-direction:column; flex:1; width:100%; padding:0; border:0;
  background:none; text-align:left; text-decoration:none; color:inherit; cursor:pointer;
  font:inherit; font-weight:inherit}
.cat-img{display:block; aspect-ratio:4/3; background:var(--surface-2); overflow:hidden}
.cat-img img{width:100%; height:100%; object-fit:cover}
.cat-body{padding:14px 16px 14px; display:flex; flex-direction:column; gap:5px}
.cat h3{font-size:19px}
.cat p{font-size:13px; color:var(--muted); line-height:1.45}
/* dua aksi berdampingan: detail produk & tanya AMMI */
.cat-actions{display:flex; align-items:center; gap:10px;
  padding:11px 16px 13px; border-top:1px solid var(--line)}
.cat-more,.cat-cta{font-family:var(--display); font-size:13.5px; font-weight:700;
  color:var(--accent-txt); text-decoration:none; background:none; border:0; padding:0;
  cursor:pointer; white-space:nowrap}
@media (max-width:1100px){ .cat-more,.cat-cta{font-size:13px} .cat-actions{gap:8px} }
.cat-more{color:var(--ink)}
.cat-more:hover,.cat-cta:hover{text-decoration:underline}
.cat-actions .cat-cta{margin-left:auto}
/* isi popup detail kategori */
.cat-plus{margin:14px 0 0; padding-left:18px; display:grid; gap:7px; font-size:14px}
.cat-plus li{line-height:1.5}
.cat-note{margin:16px 0 18px; padding:13px 15px; background:var(--surface-2);
  border-radius:var(--r); font-size:13.5px; line-height:1.55}
.cat-note b{display:block; font-family:var(--display); font-size:12px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--accent-txt); margin-bottom:5px}
.cat-hint{margin-top:11px; font-size:12.5px; color:var(--muted); text-align:center}

/* ===== FILTER =========================================================== */
.chips{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px}
.chip{border:1px solid var(--line); background:var(--surface); cursor:pointer;
  padding:8px 16px; border-radius:var(--r-pill); font-size:14px; color:var(--muted);
  transition:all .13s ease}
.chip:hover{color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--ink); border-color:var(--ink); color:var(--bg)}

/* ===== KARTU PRODUK ===================================================== */
.grid-p{display:grid; grid-template-columns:repeat(auto-fill,minmax(262px,1fr)); gap:16px}
.card{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  overflow:hidden; display:flex; flex-direction:column}
.card-img{aspect-ratio:4/3; position:relative; background:var(--surface-2); overflow:hidden}
.card-img img{width:100%; height:100%; object-fit:cover}
.badge{position:absolute; top:10px; left:10px; background:var(--accent); color:var(--accent-ink);
  font-family:var(--display); font-size:12px; font-weight:700; letter-spacing:.04em;
  padding:4px 11px; border-radius:var(--r-pill)}
.card-body{padding:16px; display:flex; flex-direction:column; gap:9px; flex:1}
.card-merek{font-size:11px; letter-spacing:.11em; text-transform:uppercase; color:var(--muted); font-weight:600}
.card h3{font-size:20px}
.card-desc{font-size:13.5px; color:var(--muted); line-height:1.5}
.specs{display:flex; flex-wrap:wrap; gap:5px; margin-top:auto; padding-top:4px}
.spec{font-size:11.5px; background:var(--surface-2); border:1px solid var(--line);
  padding:4px 10px; border-radius:var(--r-pill); color:var(--muted); font-variant-numeric:tabular-nums}
.card-foot{padding:0 16px 16px; display:grid; gap:7px}

/* ===== PROYEK =========================================================== */
.grid-j{display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px}
.proj{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  overflow:hidden; text-align:left; cursor:pointer; padding:0; display:flex; flex-direction:column;
  transition:border-color .15s ease}
.proj:hover{border-color:var(--accent)}
.proj-img{aspect-ratio:16/10; background:var(--surface-2); position:relative; overflow:hidden}
.proj-img img{width:100%; height:100%; object-fit:cover}
.proj-tag{position:absolute; bottom:10px; left:10px; background:var(--surface);
  border:1px solid var(--line); font-size:11px; letter-spacing:.06em; text-transform:uppercase;
  padding:4px 11px; border-radius:var(--r-pill)}
.proj-body{padding:16px; display:flex; flex-direction:column; gap:7px}
.proj h3{font-size:20px}
.proj-meta{font-size:12.5px; color:var(--muted); display:flex; gap:7px; flex-wrap:wrap; align-items:center}
.proj-meta b{font-weight:600; color:var(--ink)}
.dot{width:3px; height:3px; border-radius:50%; background:var(--line)}
.proj-desc{font-size:13.5px; color:var(--muted); line-height:1.5}

/* ===== UNDUH ============================================================ */
.dl-list{display:grid; grid-template-columns:repeat(auto-fit,minmax(285px,1fr)); gap:12px}
.dl{display:flex; align-items:center; gap:14px; text-decoration:none;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:16px; transition:border-color .15s ease}
.dl:hover{border-color:var(--accent)}
.dl.soon{opacity:.62; pointer-events:none}
.dl-ico{width:44px; height:44px; flex:none; border-radius:var(--r); background:var(--accent-soft);
  color:var(--accent-txt); display:grid; place-items:center}
.dl b{font-family:var(--display); font-size:17px; font-weight:700; display:block; line-height:1.2}
.dl small{font-size:12.5px; color:var(--muted)}

/* ===== KONTAK =========================================================== */
.contact{display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(24px,4vw,48px); align-items:start}
.info-row{display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--line)}
.info-row:last-child{border-bottom:0}
.info-row svg{width:19px; height:19px; flex:none; color:var(--accent-txt); margin-top:4px}
.info-row b{display:block; font-size:11.5px; letter-spacing:.09em; text-transform:uppercase;
  color:var(--muted); font-weight:600}
.info-row span,.info-row a{font-size:15px}
.panel{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:24px}
.panel h3{font-size:25px; margin-bottom:8px}
.panel p{font-size:14.5px; color:var(--muted); margin-bottom:18px}
.panel .btn{width:100%; margin-bottom:9px}
.ai-note{font-size:12.5px; color:var(--muted); display:flex; gap:8px; align-items:flex-start;
  margin-top:14px; line-height:1.45}
.ai-dot{width:7px; height:7px; border-radius:50%; background:#2FBF71; flex:none; margin-top:6px;
  box-shadow:0 0 0 3px color-mix(in srgb,#2FBF71 22%, transparent)}

/* ===== FOOTER =========================================================== */
.ftr{border-top:1px solid var(--line); padding-block:30px}
.ftr-in{display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;
  font-size:13px; color:var(--muted); align-items:center}
.ftr img{height:42px; width:auto; max-width:none; object-fit:contain}

/* ===== MODAL ============================================================ */
.modal[hidden]{display:none}
.modal{position:fixed; inset:0; z-index:90; display:grid; place-items:center;
  background:rgba(12,8,3,.66); padding:20px; backdrop-filter:blur(3px)}
.modal-box{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  max-width:620px; width:100%; max-height:86vh; overflow:auto; box-shadow:var(--shadow)}
.modal-img{aspect-ratio:4/3; background:var(--surface-2); overflow:hidden}
.modal-img img{width:100%; height:100%; object-fit:cover}
.modal-body{padding:24px}
.modal-body h3{font-size:28px; margin-bottom:10px}
.kv{display:grid; grid-template-columns:auto 1fr; gap:7px 18px; margin:16px 0; font-size:14px}
.kv dt{color:var(--muted); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; align-self:center}
.kv dd{margin:0}
.modal-thumbs{display:flex; gap:8px; padding:10px 24px 0; overflow-x:auto}
.mthumb{flex:none; width:64px; height:64px; padding:0; border:2px solid transparent; border-radius:var(--r);
  overflow:hidden; cursor:pointer; background:var(--surface-2); opacity:.7; transition:opacity .15s ease, border-color .15s ease}
.mthumb img{width:100%; height:100%; object-fit:cover; display:block}
.mthumb:hover{opacity:1}
.mthumb[aria-current="true"]{border-color:var(--accent); opacity:1}
.modal-close{float:right; margin:-6px -6px 0 0}
.modal .btn{width:100%}

/* ===== HALAMAN PROYEK (terpisah dari beranda) =========================== */
.nav a[aria-current="page"]{color:var(--ink); background:var(--surface-2)}
.nav-ico{display:none}
.nav-long{margin-left:.27em}
.nav a{display:inline-flex; align-items:center}
.page-top{padding-block:clamp(34px,5vw,64px) clamp(18px,2.5vw,28px)}
.page-top h1{font-size:clamp(34px,5.4vw,60px); line-height:1.04; letter-spacing:-.025em; margin-block:12px 14px}
.page-lead{font-size:clamp(15.5px,1.6vw,18px); color:var(--muted); max-width:60ch}
.back-link{display:block; width:fit-content; font-size:14px; color:var(--muted); text-decoration:none; margin-bottom:18px}
.back-link:hover{color:var(--ink)}
.sec-flush{border-top:0; padding-top:0}
.proj-toolbar{display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-bottom:20px}
.proj-toolbar .chips{margin:0}
.proj-cta{display:flex; align-items:center; justify-content:space-between; gap:18px 28px; flex-wrap:wrap}
.proj-cta p{margin-bottom:0; max-width:52ch}
.proj-cta .btn{width:auto; margin:0}
.ftr-links{display:flex; gap:18px; flex-wrap:wrap; align-items:center}
.ftr-links a{text-decoration:none; font-weight:600; color:var(--ink)}
.ftr-links a:hover{color:var(--accent-txt)}

/* ===== HALAMAN TENTANG KAMI ============================================= */
.about-grid{display:grid; grid-template-columns:1.25fr .75fr; gap:clamp(24px,4vw,56px); align-items:start}
.about-copy{display:flex; flex-direction:column; gap:14px; font-size:16.5px; line-height:1.7; max-width:62ch; color:var(--muted)}
.about-stats{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
.astat{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:18px}
.about-points{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px}
.apoint{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:20px;
  display:flex; flex-direction:column; gap:6px}
.apoint-n{font-family:var(--display); font-weight:700; font-size:13px; letter-spacing:.1em; color:var(--accent-txt)}
.apoint h3{font-size:20px}
.apoint p{font-size:14px; color:var(--muted); line-height:1.5}
.about-photos{display:grid; grid-template-columns:2fr 1fr 1fr; gap:14px}
.aphoto{margin:0; border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line); background:var(--surface);
  display:flex; flex-direction:column; min-width:0}
.aphoto img{width:100%; aspect-ratio:4/5; object-fit:cover; flex:1 1 auto; min-height:0}
.aphoto:first-child{grid-row:span 2}
.aphoto:first-child img{aspect-ratio:auto; flex:1 1 0; height:auto}
.aphoto figcaption{padding:10px 14px; font-size:13.5px; color:var(--muted)}

/* ----- Tentang Kami: timeline & tab showroom ----- */
.timeline{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0; max-width:62ch}
.timeline li{display:grid; grid-template-columns:74px 1fr; gap:18px; position:relative; padding-bottom:26px}
.timeline li:last-child{padding-bottom:0}
.timeline li::before{content:""; position:absolute; left:36px; top:42px; bottom:6px; width:2px; background:var(--line)}
.timeline li:last-child::before{display:none}
.tl-year{font-family:var(--display); font-weight:700; font-size:17px; color:var(--accent-ink); background:var(--accent);
  border-radius:var(--r-pill); height:36px; display:grid; place-items:center}
.timeline h3{font-size:21px; margin:5px 0 6px}
.timeline p{font-size:15.5px; line-height:1.65; color:var(--muted)}
.branch-tabs{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:26px}
.btab{display:flex; flex-direction:column; gap:1px; text-decoration:none; color:var(--muted); padding:12px 22px;
  border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); min-width:170px;
  transition:border-color .15s ease, background .15s ease}
.btab b{font-family:var(--display); font-size:19px; font-weight:700}
.btab small{font-size:13px}
.btab:hover{border-color:var(--accent)}
.btab[aria-selected="true"]{background:var(--ink); border-color:var(--ink); color:var(--bg)}
.branch-grid{display:grid; grid-template-columns:1.25fr .75fr; gap:clamp(24px,4vw,56px); align-items:start; margin-bottom:28px}
.branch-cust{display:flex; flex-direction:column; gap:10px; margin-top:6px}
.branch-lbl,.branch-info dt{font-size:11.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); font-weight:700}
.branch-chips{display:flex; flex-wrap:wrap; gap:8px}
.branch-chips .spec{font-size:13px; padding:6px 12px; color:var(--ink)}
.branch-info{margin:0; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:20px;
  display:flex; flex-direction:column; gap:6px}
.branch-info dd{margin:0 0 10px; font-size:15px; line-height:1.55}
.branch-info dd:last-child{margin-bottom:0}
.maplink{display:block; width:fit-content; margin-top:6px; font-family:var(--display); font-weight:700; font-size:14px; color:var(--accent-txt); text-decoration:none}
.maplink:hover{text-decoration:underline}
#branchPanel .about-points{margin-bottom:28px}
.about-photos.is-short{grid-template-columns:repeat(3,1fr)}
.about-photos.is-short .aphoto:first-child{grid-row:auto}
.about-photos.is-short .aphoto img, .about-photos.is-short .aphoto:first-child img{aspect-ratio:4/3; flex:none; height:auto}

.team-block{display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(20px,3.5vw,44px); align-items:center;
  margin-bottom:34px; padding:clamp(18px,2.5vw,28px); background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg)}
.team-head{display:flex; flex-direction:column; gap:10px}
.team-head h3{font-size:clamp(24px,2.8vw,32px); line-height:1.1}
.team-head p{font-size:15.5px; line-height:1.65; color:var(--muted)}
.team-photos{display:grid; grid-template-columns:1fr 1fr; gap:12px; align-items:start}
.team-photos .aphoto, .team-photos .aphoto:first-child{grid-row:auto; grid-column:auto}
.team-photos .aphoto img, .team-photos .aphoto:first-child img{aspect-ratio:3/4; flex:none; height:auto}
.gallery-title{font-size:20px; margin-bottom:14px}

/* ===== HALAMAN DOWNLOAD ================================================= */
.dfiles{display:flex; flex-direction:column; gap:12px; max-width:860px}
.dfile{display:flex; align-items:center; gap:18px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:18px 20px}
.dfile-ico{position:relative; width:52px; height:60px; flex:none; display:grid; place-items:center; color:var(--accent-txt)}
.dfile-ico svg{width:52px; height:60px; stroke-width:1.3}
.dfile-ico b{position:absolute; bottom:9px; left:50%; transform:translateX(-50%); font-family:var(--display);
  font-size:10.5px; font-weight:800; letter-spacing:.06em; background:var(--accent); color:var(--accent-ink);
  padding:1px 5px; border-radius:4px}
.dfile-body{flex:1; min-width:0; display:flex; flex-direction:column; gap:4px}
.dfile-body h3{font-size:19px}
.dfile-body p{font-size:14px; color:var(--muted); line-height:1.5}
.dfile-body small{font-size:12.5px; color:var(--muted)}
.dfile .btn{flex:none}
.dfile-soon{flex:none; font-family:var(--display); font-weight:700; font-size:13px; color:var(--muted);
  border:1px dashed var(--line); padding:8px 14px; border-radius:var(--r-pill); white-space:nowrap}
@media (max-width:560px){
  .dfile{flex-wrap:wrap; gap:12px 14px; padding:16px}
  .dfile-ico, .dfile-ico svg{width:40px; height:48px}
  .dfile-ico b{bottom:6px; font-size:9.5px}
  .dfile-body{flex-basis:calc(100% - 60px)}
  .dfile .btn, .dfile-soon{margin-left:54px}
}

/* ===== HALAMAN ARTIKEL ================================================== */
.grid-a{display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:16px}
.acard{display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); overflow:hidden; text-decoration:none; color:inherit; transition:border-color .15s ease, transform .15s ease}
.acard:hover{border-color:var(--accent); transform:translateY(-2px)}
.acard-img{aspect-ratio:16/10; background:var(--surface-2); overflow:hidden}
.acard-img img{width:100%; height:100%; object-fit:cover}
.acard-body{padding:16px 18px 18px; display:flex; flex-direction:column; gap:7px; flex:1}
.acard-cat{font-family:var(--display); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-txt)}
.acard h3{font-size:20px; line-height:1.2}
.acard p{font-size:14px; color:var(--muted); line-height:1.5}
.acard-meta{font-size:12.5px; color:var(--muted); margin-top:auto; padding-top:4px}
.art{padding-block:clamp(34px,5vw,64px) 8px}
.art-wrap{max-width:780px}
.art h1{font-size:clamp(30px,4.4vw,48px); line-height:1.08; letter-spacing:-.022em; margin-block:12px 12px}
.art-meta{font-size:14px; color:var(--muted)}
.art-cover{margin:26px 0 8px; border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line); aspect-ratio:16/9; background:var(--surface-2)}
.art-cover img{width:100%; height:100%; object-fit:cover}
.art-body{display:flex; flex-direction:column; gap:16px; font-size:17px; line-height:1.75; color:var(--muted); padding-top:18px}
.art-body h2{font-size:24px; color:var(--ink); margin-top:12px}
.art-body ul{margin:0; padding-left:1.2em; display:flex; flex-direction:column; gap:8px}
.art-body li::marker{color:var(--accent-txt)}
.art-tip{background:var(--accent-soft); color:var(--ink); border-radius:var(--r); padding:16px 18px; font-size:15.5px; line-height:1.6}
.art-more{max-width:780px; margin-top:clamp(40px,5vw,64px); padding-top:clamp(32px,4vw,48px); border-top:1px solid var(--line)}
.art-more h2{font-size:clamp(22px,2.6vw,28px); margin-bottom:18px}
.art-more .grid-a{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}

/* ===== AMMI — widget chat =============================================== */
.ammi{position:fixed; right:max(16px, env(safe-area-inset-right,0px)); bottom:calc(16px + env(safe-area-inset-bottom,0px));
  z-index:80; display:flex; flex-direction:column; align-items:flex-end; gap:12px; font-family:var(--body)}
.ammi-fab{display:flex; align-items:center; gap:10px; border:0; cursor:pointer; background:var(--ink); color:var(--bg);
  padding:7px 18px 7px 7px; border-radius:var(--r-pill); box-shadow:0 10px 30px -8px rgba(26,20,12,.45);
  font-family:var(--display); font-weight:700; font-size:15.5px; transition:padding .25s ease, transform .2s ease}
.ammi-fab:hover{transform:translateY(-2px)}
.ammi-fab-ava,.ammi-ava{width:40px; height:40px; border-radius:50%; background:#FFFFFF; display:grid; place-items:center; flex:none; overflow:hidden}
.ammi-fab-ava img,.ammi-ava img{width:30px; height:auto}
.ammi-fab-txt{white-space:nowrap; overflow:hidden; max-width:140px; transition:max-width .25s ease, opacity .2s ease}
.ammi.is-compact .ammi-fab{padding-right:7px}
.ammi.is-compact .ammi-fab-txt{max-width:0; opacity:0}
.ammi.is-open .ammi-fab{display:none}
.ammi-teaser{position:relative; max-width:270px; background:var(--surface); border:1px solid var(--line); border-radius:16px 16px 4px 16px;
  padding:14px 34px 14px 16px; box-shadow:var(--shadow); cursor:pointer; display:flex; flex-direction:column; gap:3px;
  animation:ammiIn .35s ease both}
.ammi-teaser b{font-family:var(--display); font-size:16px}
.ammi-teaser span{font-size:14px; color:var(--muted); line-height:1.45}
.ammi-teaser-x{position:absolute; top:6px; right:8px; border:0; background:none; color:var(--muted); font-size:20px; line-height:1; cursor:pointer; padding:2px 4px}
.ammi-panel{width:min(380px, calc(100vw - 32px)); height:min(600px, calc(100vh - 120px)); background:var(--bg); border:1px solid var(--line);
  border-radius:20px; box-shadow:0 24px 60px -18px rgba(26,20,12,.45); display:flex; flex-direction:column; overflow:hidden;
  animation:ammiIn .3s ease both}
.ammi-panel[hidden]{display:none}
@keyframes ammiIn{from{opacity:0; transform:translateY(12px) scale(.98)} to{opacity:1; transform:none}}
.ammi-head{display:flex; align-items:center; gap:12px; padding:14px 14px 14px 16px; background:var(--ink); color:var(--bg)}
.ammi-who{display:flex; flex-direction:column; flex:1; min-width:0}
.ammi-who b{font-family:var(--display); font-size:18px; line-height:1.1}
.ammi-who small{font-size:12.5px; opacity:.8; display:flex; align-items:center; gap:6px}
.ammi-dot{width:7px; height:7px; border-radius:50%; background:#2FBF71; display:inline-block}
.ammi-x{border:0; background:rgba(255,255,255,.12); color:inherit; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; cursor:pointer}
:root[data-theme="dark"] .ammi-x{background:rgba(0,0,0,.12)}
.ammi-log{flex:1; overflow-y:auto; padding:16px 14px 8px; display:flex; flex-direction:column; gap:10px; overscroll-behavior:contain}
.ammi-msg{display:flex}
.ammi-msg.is-me{justify-content:flex-end}
.ammi-bubble{max-width:86%; padding:10px 14px; border-radius:16px; font-size:14.5px; line-height:1.55; display:flex; flex-direction:column; gap:8px}
.is-bot .ammi-bubble{background:var(--surface); border:1px solid var(--line); border-bottom-left-radius:4px; color:var(--ink)}
.is-me .ammi-bubble{background:var(--accent); color:var(--accent-ink); border-bottom-right-radius:4px}
.ammi-bubble p{margin:0}
.ammi-bubble ul{margin:0; padding-left:1.1em; display:flex; flex-direction:column; gap:4px}
.ammi-bubble li::marker{color:var(--accent-txt)}
.ammi-cta{align-self:flex-start; font-family:var(--display); font-weight:700; font-size:14px; color:var(--accent-txt); text-decoration:none;
  background:var(--accent-soft); padding:7px 12px; border-radius:var(--r-pill)}
.ammi-cta:hover{text-decoration:underline}
.ammi-typing{display:inline-flex; gap:4px; padding:4px 2px}
.ammi-typing i{width:7px; height:7px; border-radius:50%; background:var(--muted); opacity:.5; animation:ammiDot 1s infinite}
.ammi-typing i:nth-child(2){animation-delay:.15s} .ammi-typing i:nth-child(3){animation-delay:.3s}
@keyframes ammiDot{0%,60%,100%{transform:none; opacity:.4} 30%{transform:translateY(-4px); opacity:1}}
.ammi-quick{display:flex; flex-wrap:wrap; gap:6px; padding:4px 14px 10px}
.ammi-quick:empty{display:none}
.ammi-quick button{border:1px solid var(--line); background:var(--surface); color:var(--ink); border-radius:var(--r-pill);
  padding:6px 12px; font-size:13px; cursor:pointer; font-family:var(--body); font-weight:600}
.ammi-quick button:hover{border-color:var(--accent)}
.ammi-form{display:flex; gap:8px; padding:10px 12px; border-top:1px solid var(--line); background:var(--surface)}
.ammi-form input{flex:1; min-width:0; border:1px solid var(--line); background:var(--bg); color:var(--ink); border-radius:var(--r-pill);
  padding:10px 14px; font:inherit; font-size:15px}
.ammi-form input:focus{outline:2px solid var(--accent); outline-offset:0; border-color:transparent}
.ammi-form button{width:42px; height:42px; flex:none; border:0; border-radius:50%; background:var(--accent); color:var(--accent-ink); display:grid; place-items:center; cursor:pointer}
.ammi-wa{display:block; text-align:center; font-size:12.5px; font-weight:700; color:var(--muted); text-decoration:none; padding:8px 12px 10px; background:var(--surface)}
.ammi-wa:hover{color:var(--accent-txt)}
@media (max-width:560px){
  .ammi.is-open{left:0; right:0; bottom:0}
  .ammi-panel{width:100%; height:min(82vh, 640px); border-radius:20px 20px 0 0; padding-bottom:env(safe-area-inset-bottom,0px)}
  .ammi-fab{font-size:14.5px}
}
@media (prefers-reduced-motion: reduce){ .ammi-panel,.ammi-teaser{animation:none} }

/* ===== RESPONSIF ======================================================== */
@media (max-width:880px){
  .hero-grid,.contact,.about-grid,.branch-grid,.team-block{grid-template-columns:1fr}
  .about-photos{grid-template-columns:repeat(2,1fr)}
  .aphoto:first-child{grid-row:auto; grid-column:1 / -1}
  .aphoto:first-child img{aspect-ratio:4/5; height:auto; flex:none}
  .about-photos.is-short{grid-template-columns:repeat(2,1fr)}
  .btab{min-width:0; flex:1}
  .swatches{grid-template-columns:repeat(4,1fr)}
  .swatch,.swatch:nth-child(2),.swatch:nth-child(3){aspect-ratio:1/1}
  .hero::before{background-position:62% 46%}
  .cat-actions{padding-inline:14px}
  /* di layar sempit label/nilai ditumpuk supaya teks tidak terlalu pecah */
  .kv{grid-template-columns:1fr; gap:3px 0}
  .kv dt{margin-top:9px}
  .kv dt:first-child{margin-top:0}
  .hero::after{background:
    linear-gradient(180deg, rgb(var(--bg-rgb)/.5) 0%, rgb(var(--bg-rgb)/.88) 30%,
                            rgb(var(--bg-rgb)/.95) 68%, rgb(var(--bg-rgb)/.99) 100%)}
  /* menu tetap di kanan logo (satu baris), ukuran dirapatkan */
  .nav{min-width:0; overflow-x:auto; scrollbar-width:none; gap:0}
  .nav::-webkit-scrollbar{display:none}
  .nav a{flex:none; font-size:16px; padding:7px 12px}
}
@media (max-width:700px){
  .nav a{font-size:15px; padding:7px 6px}
}
@media (max-width:560px){
  .hdr-in{height:78px; gap:6px}
  .logo{flex:none}
  .logo img{height:46px}
  .nav a{font-size:13.5px; padding:7px 5px}
  .nav-long{display:none}
  .nav-txt{display:none}
  .nav-ico{display:block}
  #themeBtn{height:36px; min-width:36px; padding:0 9px}
  body{padding-top:calc(78px + env(safe-area-inset-top,0px))}
  .logo-sub{display:none}
  .stats{gap:22px}
}
@media (max-width:400px){
  .hdr-in{padding-inline:14px; gap:4px}
  .logo img{height:38px}
  .nav a{font-size:13px; padding:6px 3.5px}
  #themeBtn{height:34px; min-width:34px; padding:0 8px}
}
@media (prefers-reduced-motion: reduce){ *{transition:none !important; animation:none !important} }
