/* Direction B, "Kotak rapi": A's story in rounded tiles, like a good phone app. Flat: no borders, no
   shadows, no blur; a grey page with white, red, black and blush tiles; Nunito, heavy and round.
   Everything that moves moves by transform or opacity, and nothing loops, so cheap phones stay smooth. */
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

.dir-b {
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #eeeeeb;
  --blush: #ffe6e3;
  --soft: #f3f3f0;
  --r: 28px;
  --r-in: 20px;
  background: var(--bg);
  font-size: 16.5px;
}
.dir-b h1, .dir-b h2, .dir-b h3 { font-weight: 900; letter-spacing: -.02em; }
.dir-b h1 { font-size: clamp(36px, 8.4vw, 64px); line-height: 1; }
.dir-b h2 { font-size: clamp(26px, 5vw, 40px); line-height: 1.05; }
.dir-b h3 { font-size: 20px; line-height: 1.2; }
.dir-b .lead { font-size: 18px; }
.dir-b .btn { border-radius: 999px; font-weight: 800; border: 0; }
.dir-b .btn-ghost { background: var(--bg); }
.dir-b .tag { border-radius: 999px; padding: 5px 10px; }
.dir-b .ph { border-radius: var(--r-in); background: repeating-linear-gradient(135deg, #e7e5e0 0 12px, #efede9 12px 24px); }
.dir-b .icon { stroke-width: 2.4; }

/* Header: a white pill floating over the grey page */
.dir-b .header { background: var(--bg); border: 0; padding: 8px var(--gutter) 0; }
.dir-b .header .wrap { background: #fff; border-radius: 999px; min-height: 58px; padding: 0 8px 0 20px; }
.dir-b .header nav a { border-radius: 999px; font-weight: 700; }
.dir-b .header nav a:hover, .dir-b .header nav a[aria-current] { background: var(--bg); }

/* Footer: a black tile; phone bar: a floating white pill */
.dir-b .footer { background: var(--bg); padding: 12px var(--gutter) 16px; }
.dir-b .footer > .wrap { background: var(--ink); color: #d9d9d9; border-radius: var(--r); padding: 32px 24px 22px; }
.dir-b .wa-bar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.14); }
.dir-b .wa-bar .btn { min-height: 48px; }
.dir-b { padding-bottom: 84px; }
@media (min-width: 900px) { .dir-b { padding-bottom: 0; } }

/* ---------- the tile system ---------- */
.bento { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento > * { grid-column: span 2; }
.bento > .half { grid-column: span 1; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  .bento > .w-3 { grid-column: span 3; } .bento > .w-4 { grid-column: span 4; } .bento > .w-5 { grid-column: span 5; }
  .bento > .w-6 { grid-column: span 6; } .bento > .w-7 { grid-column: span 7; } .bento > .w-8 { grid-column: span 8; }
  .bento > .w-12 { grid-column: span 12; }
}
.tile { position: relative; min-width: 0; margin: 0; border-radius: var(--r); padding: 22px; background: #fff; }
@media (min-width: 900px) { .tile { padding: 28px; } }
.t-white { background: #fff; }
.t-blush { background: var(--blush); }
.t-red { background: var(--red); color: #fff; }
.t-ink { background: var(--ink); color: #fff; }
.t-photo { padding: 0; background: none; }
.t-photo .ph { aspect-ratio: auto; height: 100%; min-height: 220px; }
.t-red .small, .t-ink .small, .t-red p, .t-ink p { color: rgba(255,255,255,.86); }
.t-red .btn-wa, .t-ink .btn-wa { background: #fff; color: var(--red-ink); }
.t-red .btn-ghost, .t-ink .btn-ghost { background: rgba(255,255,255,.16); color: #fff; }
.b-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blush); color: var(--red-ink); flex: none; }
.b-ic .icon { width: 24px; height: 24px; }
.t-red .b-ic, .t-ink .b-ic { background: rgba(255,255,255,.14); color: #fff; }
.t-blush .b-ic { background: #fff; }

.b-sec { padding: 6px 0; }
.b-head { padding: 44px 4px 16px; display: grid; gap: 8px; justify-items: start; }
.b-head h2 { margin: 0; }
.b-head p { margin: 0; color: var(--ink-2); }
.b-step { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--red-ink); font-weight: 900; font-size: 14px; }
.b-kick { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--red-ink); }
.b-kick .icon { width: 18px; height: 18px; }
.t-ink .b-kick { color: #ff9b95; }

/* ---------- hero carousel: peeking tiles ---------- */
.hc-b { padding-top: 12px; }
.hc-b .hc-track { grid-auto-columns: 88%; gap: 12px; }
@media (min-width: 900px) { .hc-b .hc-track { grid-auto-columns: 86%; gap: 16px; } }
.hc-b .hc-card { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 4px; height: min(70svh, 560px); padding: 10px; border-radius: var(--r); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .5s; }
.hc-b[data-ready] .hc-slide:not(.is-active) .hc-card { transform: scale(.94); opacity: .55; }
.hc-b .hc-card > .ph { min-height: 0; align-items: flex-start; }
.hc-b .hc-card > .ph .veh { inset: 10% 8% 26%; width: 84%; height: 64%; }
.hc-b .hc-copy { padding: 14px 12px 12px; }
.hc-b .hc-copy h2 { font-size: clamp(24px, 5.6vw, 46px); margin: 10px 0 6px; }
.hc-b .hc-copy p { margin-bottom: 14px; }
@media (min-width: 900px) {
  .hc-b .hc-card { grid-template-rows: none; grid-template-columns: 1fr 1.1fr; padding: 12px; }
  .hc-b .hc-copy { order: -1; align-self: end; padding: 28px; }
}
.b-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--blush); color: var(--red-ink); font-weight: 900; font-size: 13px; }
.t-red .b-chip, .t-ink .b-chip { background: rgba(255,255,255,.16); color: #fff; }
.t-blush .b-chip { background: #fff; }
.hc-b .hc-ui { padding: 12px 0 0; }
.hc-b .hc-btn { background: #fff; color: var(--ink); }

/* ---------- intro: headline, calculator, four numbers ---------- */
.b-intro { padding-top: 16px; }
.b-hero { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.b-hero h1 { margin: 6px 0 12px; }
.b-hours { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; }
.b-hours .icon { width: 16px; height: 16px; }
.b-calc h2 { font-size: 26px; }
.b-calc label { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; }
.b-calc input[type=range] { width: 100%; height: 36px; margin: 6px 0 4px; accent-color: #fff; }
.b-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.b-presets button { font: 800 13px/1 var(--font); min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; }
.b-presets button:hover { background: rgba(255,255,255,.28); }
.b-bars { display: grid; gap: 10px; margin-bottom: 14px; }
.b-bars div { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-weight: 800; }
.b-bars i { position: relative; height: 14px; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; }
.b-bars i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--w, 1)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.b-bars [data-bar=power]::after { background: #ffd0cc; }
.b-save { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 12px; padding: 14px 16px; border-radius: var(--r-in); background: #fff; color: var(--ink) !important; font-weight: 800; }
.b-save b { font-size: clamp(28px, 7vw, 38px); font-weight: 900; color: var(--red-ink); line-height: 1; }
.b-save small { font-size: 15px; font-weight: 700; margin-left: 2px; }
.b-stat { display: grid; align-content: space-between; gap: 18px; min-height: 140px; }
.b-stat b { font-size: clamp(26px, 5.4vw, 40px); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.b-stat span { font-weight: 700; color: var(--ink-2); }
.t-ink.b-stat span { color: #bdbdbd; }

/* ---------- uses ---------- */
.b-use { display: flex; flex-direction: column; gap: 4px; padding: 10px; text-decoration: none; }
.b-use-body { display: grid; gap: 6px; padding: 12px 10px 8px; }
.b-use h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.b-use .b-ic { width: 40px; height: 40px; }
.b-use .b-ic .icon { width: 20px; height: 20px; }
.b-from, .b-use .small { margin: 0; }
.b-from b { font-size: 22px; font-weight: 900; }
.b-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.b-go { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.b-use:hover .b-go { transform: translateX(4px); }

/* ---------- six questions ---------- */
.b-fear { display: grid; gap: 10px; align-content: start; }
.b-fear h3 { margin: 6px 0 0; }
.b-fear p { margin: 0; }
.b-fear.w-7 h3, .b-fear.w-5 h3 { font-size: clamp(22px, 3.6vw, 30px); }
@media (min-width: 900px) { .b-wide { grid-template-columns: auto 1fr 2fr; align-items: center; gap: 24px; } .b-wide h3 { margin: 0; } }

/* ---------- bengkel ---------- */
.b-shop { display: grid; align-content: space-between; gap: 18px; min-height: 260px; }
.b-shop-big { font-size: clamp(26px, 4.6vw, 42px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; color: #fff !important; margin: 0; }
.b-fact { display: grid; gap: 4px; align-content: start; }
.b-fact .b-ic { margin-bottom: 8px; }
.b-fact b { font-size: 19px; }
.b-fact span:last-child { color: var(--ink-2); }

/* ---------- pay ---------- */
.b-pay { display: grid; gap: 8px; align-content: start; }
.b-pay h3 { margin: 8px 0 0; font-size: 24px; }
.b-pay p { margin: 0; }
.b-big { font-size: clamp(34px, 7vw, 52px); font-weight: 900; line-height: 1; color: #fff !important; letter-spacing: -.02em; margin: 6px 0 !important; }
.b-big small { font-size: 18px; font-weight: 800; }
.b-steps { counter-reset: s; list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.b-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; }
.b-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; font-size: 18px; }
.b-steps b { font-size: 18px; }
.b-steps span { color: var(--ink-2); }
.dir-b .notice { border: 0; border-radius: var(--r); padding: 22px 26px; background: var(--blush); }

/* ---------- people, brands, location ---------- */
.b-quote { display: grid; gap: 16px; align-content: space-between; }
.b-quote blockquote { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; }
.b-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.b-quote .ph { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.b-quote .ph figcaption { display: none; }
.b-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--red-ink); text-decoration: none; }
.b-link .icon { width: 16px; height: 16px; }
.b-loc { display: grid; gap: 4px; align-content: center; }
.b-loc p { display: flex; gap: 8px; }
.b-loc .btn-row { margin-top: 10px; }
#lokasi { padding-bottom: 24px; }

/* ---------- catalogue ---------- */
.b-cat { padding-top: 12px; padding-bottom: 32px; }
.b-cat-top { padding: 24px 4px 14px; }
.b-cat-top h1 { margin: 0 0 4px; }
.b-filters { display: grid; gap: 12px; padding: 16px; margin-bottom: 12px; }
.b-frow { display: grid; gap: 8px; min-width: 0; }
.b-flabel { font-weight: 900; font-size: 14px; }
.b-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.b-pills::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .b-frow { grid-template-columns: 140px 1fr; align-items: center; }
  .b-pills { flex-wrap: wrap; margin: 0; padding: 0; }
}
.b-pill { position: relative; flex: none; cursor: pointer; }
.b-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.b-pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--bg); font-weight: 800; font-size: 14.5px; transition: background .2s, color .2s; }
.b-pill input:checked + span { background: var(--ink); color: #fff; }
.b-pill input:focus-visible + span { outline: 3px solid #1a73e8; outline-offset: 2px; }
.b-more { display: grid; gap: 12px; }
.b-more > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--blush); color: var(--red-ink); font-weight: 900; cursor: pointer; list-style: none; justify-self: start; }
.b-more > summary::-webkit-details-marker { display: none; }
.b-more[open] > summary { margin-bottom: 12px; }
.b-more select { min-height: 44px; border-radius: 999px; border: 0; background: var(--bg); padding: 0 14px; font: 700 15px var(--font); color: var(--ink); max-width: 260px; }
.b-more > .b-frow + .b-frow, .b-more > .btn { margin-top: 12px; }
.b-more > .btn { justify-self: start; }
.b-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.b-card { display: flex; flex-direction: column; gap: 4px; padding: 10px; }
.b-card-ph { position: relative; }
.b-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.b-badges .tag-stock { background: #fff; }
.b-card-body { display: grid; gap: 8px; padding: 10px 8px 6px; flex: 1; align-content: start; }
.b-brand { font-size: 13px; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.b-card h3 { margin: -4px 0 0; font-size: 24px; }
.b-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.b-specs span { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; border-radius: 999px; background: var(--bg); font-weight: 800; font-size: 13.5px; }
.b-specs .icon { width: 15px; height: 15px; }
.b-price { margin: 4px 0 0; font-size: 26px; font-weight: 900; line-height: 1; }
.b-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 6px; }
.dir-b .empty { grid-column: 1 / -1; border: 0; border-radius: var(--r); background: #fff; }

/* ---------- motion states (motion-b.js); without JS or with reduced motion all is final ---------- */
.js .b-intro .tile, .js .hc-b .hc-track { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .hc-b .hc-card, .b-bars i::after, .b-go { transition: none; }
}

/* Brand row under the carousel: logos on grey pills; a swipe row on phones, a grid on desktop. */
.b-partners .tile { display: grid; gap: 14px; padding: 18px; }
.b-partners .logos, .b-partners-in .logos { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.b-partners .logos::-webkit-scrollbar { display: none; }
.dir-b .logos .wordmark { font-size: 22px; }
.dir-b .logos li { flex: 0 0 auto; scroll-snap-align: start; width: 132px; height: 64px; padding: 14px 18px; border-radius: 999px; background: var(--bg); display: grid; place-items: center; }
@media (min-width: 900px) {
  .b-partners .tile { grid-template-columns: 180px 1fr; align-items: center; padding: 16px 16px 16px 28px; }
  .b-partners .logos, .b-partners-in .logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); overflow: visible; }
  .dir-b .logos li { width: auto; }
}
.hc-b .hc-card > .ph.prod > img { left: 6%; top: 6%; width: 88%; height: 88%; }

/* Navbar pages */
.b-page-hero .b-hero { gap: 10px; justify-content: flex-start; }
.b-page-hero .b-hero h1 { margin: 4px 0 4px; }
.b-crumbs { font-size: 14px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px; }
.b-crumbs a { color: var(--ink-2); }
.b-more { margin: 14px 0 0; }
.b-prices { margin: 0; padding: 8px 22px; }
.b-prices > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
.b-prices > div + div { border-top: 2px solid var(--bg); }
.b-prices dt { display: grid; gap: 2px; }
.b-prices dt b { font-size: 17px; }
.b-prices dt span { font-size: 14px; color: var(--ink-2); }
.b-prices dd { margin: 0; flex: none; padding: 8px 14px; border-radius: 999px; background: var(--blush); color: var(--red-ink); font-weight: 900; font-size: 16px; }
.b-table { overflow-x: auto; padding: 8px; }
.b-table table { width: 100%; min-width: 500px; border-collapse: separate; border-spacing: 0 6px; }
.b-table th, .b-table td { text-align: left; padding: 12px 16px; background: var(--bg); }
.b-table thead th { background: none; font-size: 15px; color: var(--ink-2); padding-bottom: 4px; }
.b-table tbody th { border-radius: 16px 0 0 16px; font-weight: 800; }
.b-table tbody td:last-child { border-radius: 0 16px 16px 0; }
.b-story p { font-size: 18px; }
.b-story .small { font-size: 14px; }
.b-cta { display: grid; gap: 16px; align-items: center; }
.b-cta h2 { margin-bottom: 6px; }
.b-cta p { margin: 0; opacity: .9; }
.b-cta .btn-wa { background: #fff; color: var(--ink); }
@media (min-width: 900px) { .b-cta { grid-template-columns: 1fr auto; } }
.dir-b .ph.prod { background: #fff; }
.dir-b .menu summary { border: 0; border-radius: 999px; background: var(--bg); font-weight: 800; }
