/* Direction A, "Hitung hematnya": light, numbers first, red for action and the saving. */
.dir-a .hero { padding: 32px 0 48px; background: linear-gradient(180deg, var(--red-soft), var(--paper) 70%); }
.dir-a .hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .dir-a .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 48px; } .dir-a .hero { padding: 64px 0 72px; } }
.dir-a .hl { color: var(--red-ink); white-space: nowrap; }
.dir-a .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.dir-a .meta .icon { width: 16px; height: 16px; margin-left: 6px; }
.dir-a .meta .icon:first-child { margin-left: 0; }

.calc { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: 20px; box-shadow: 8px 8px 0 var(--ink); }
.calc h2 { font-size: 22px; }
.calc label { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.calc input[type=range] { width: 100%; height: 36px; accent-color: var(--red); margin: 6px 0 4px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.presets button { font: 600 13px/1 var(--font); padding: 9px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); cursor: pointer; }
.result { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.result div { background: var(--soft); border-radius: 12px; padding: 10px 12px; }
.result dt { font-size: 13px; color: var(--muted); }
.result dd { margin: 0; font-size: 20px; font-weight: 800; }
.result .save { grid-column: 1 / -1; background: var(--red); color: #fff; }
.result .save dt { color: #ffe0de; }
.result .save dd { font-size: 34px; }
.result .save small { font-size: 15px; font-weight: 600; margin-left: 4px; }

.dir-a .soft { background: var(--soft); }
.uses { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.use { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.use .ph { border-radius: 0; }
.use-body { padding: 16px; display: grid; gap: 6px; }
.use h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; }
.use h3 .icon { color: var(--red); }
.use .price-from, .use .credit { margin: 0; }
.use .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red-ink); text-decoration: none; margin-top: 4px; }
.go .icon { width: 18px; height: 18px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.checks li { display: flex; gap: 14px; background: var(--paper); border-radius: var(--radius); padding: 16px; }
.checks .icon { width: 28px; height: 28px; color: var(--red); }
.checks b { font-size: 17px; }
.checks p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }

.bengkel { background: var(--ink); color: #fff; }
.bengkel .eyebrow { color: #ff8a84; }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.facts li { display: grid; gap: 2px; border-left: 4px solid var(--red); padding-left: 12px; }
.facts b { font-size: 18px; }
.facts span { color: #bdbdbd; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pay { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 20px; }
.pay-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.pay-card h3 { display: flex; gap: 8px; align-items: center; }
.pay-card .icon { color: var(--red); }
.pay-card .big { font-size: 22px; font-weight: 800; margin: 4px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.steps li { counter-increment: s; display: flex; gap: 10px; align-items: baseline; background: var(--soft); border-radius: 12px; padding: 14px; }
.steps li::before { content: counter(s); font-weight: 800; color: #fff; background: var(--red); border-radius: 50%; width: 28px; height: 28px; display: inline-grid; place-items: center; flex: none; }

.testi { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testi figure { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; grid-template-columns: 72px 1fr; align-items: start; }
.testi .ph { grid-row: span 2; border-radius: 50%; }
.testi .ph figcaption { display: none; }
.testi blockquote { margin: 0; font-weight: 600; }
.testi figcaption { font-size: 14px; color: var(--muted); }
.testi figcaption a { display: inline-flex; gap: 4px; align-items: center; color: var(--red-ink); font-weight: 600; }
.testi figcaption .icon { width: 14px; height: 14px; }
.brands { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; margin-top: 32px; font-weight: 800; font-size: 20px; color: #9b948a; letter-spacing: .02em; }

.lokasi p { display: flex; gap: 8px; align-items: flex-start; }

/* Catalogue */
.cat-head { padding: 28px 0 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); font: 600 14px/1 var(--font); color: var(--ink); text-decoration: none; cursor: pointer; }
.chip:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat { display: grid; gap: 24px; padding-bottom: 56px; }
.row-tags { display: flex; gap: 6px; }
.tag-hot { background: var(--red); color: #fff; }
.filters .sheet-head, .filters .sheet-foot { display: none; }
.filters .sort select { display: block; width: 100%; min-height: 44px; margin-top: 6px; font: 500 15px var(--font); border-radius: 10px; border: 1px solid var(--line); padding: 0 10px; background: var(--paper); }
@media (max-width: 899px) {
  .filters { display: none; }
  .filters.open { display: block; position: fixed; inset: 10vh 0 0; z-index: 60; background: var(--paper); border-radius: 20px 20px 0 0; padding: 0 20px 96px; overflow-y: auto; box-shadow: 0 -20px 60px rgba(0,0,0,.25); }
  .filters.open .sheet-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--paper); padding: 16px 0; font-size: 18px; }
  .filters.open .sheet-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 20px; background: var(--paper); border-top: 1px solid var(--line); }
  .x { background: none; border: 0; padding: 8px; cursor: pointer; }
}
@media (min-width: 900px) {
  .cat { grid-template-columns: 250px 1fr; }
  .chips .chip:first-child { display: none; }
}
@media (max-width: 899px) {
  .calc { box-shadow: 5px 5px 0 var(--ink); margin-right: 5px; }
  .use .ph { aspect-ratio: 2 / 1; }
}

/* Motion (motion-a.js). Without JS or with reduced motion everything is in its final state. */
.dir-a .hl { background: linear-gradient(#ffd3d0, #ffd3d0) no-repeat 0 88% / 100% 0.32em; }
.js .dir-a .hl { background-size: 0% 0.32em; }
.js .dir-a .hero h1, .js .dir-a .calc { visibility: hidden; }
.brands { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.brands .track { display: flex; align-items: center; gap: 56px; width: max-content; animation: pf-marquee 28s linear infinite; }
.brands .track span { display: flex; align-items: center; height: 40px; }
.brands:hover .track { animation-play-state: paused; }
@keyframes pf-marquee { to { transform: translateX(calc(-50% - 28px)); } }
@media (prefers-reduced-motion: reduce) { .brands .track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 24px 40px; } .brands .track span[aria-hidden] { display: none; } .js .dir-a .hl { background-size: 100% 0.32em; } }
.result .save { transform-origin: 50% 60%; }

/* A's hero carousel: a big rounded promo banner, copy on a white card, black round arrows. */
.hc-a { padding: 16px 0 0; background: var(--red-soft); }
.hc-a .hc-track { border-radius: 22px; }
.hc-a .hc-slide { height: min(72svh, 560px); }
.hc-a .hc-slide > .ph { position: absolute; inset: 0; border-radius: 0; align-items: flex-start; }
.hc-a .hc-slide > .ph figcaption { margin: 14px; }
.hc-a .hc-slide > .ph .veh { inset: 8% 6% 34%; width: 88%; height: 58%; }
.hc-a .hc-copy { position: absolute; left: 14px; right: 14px; bottom: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 18px; box-shadow: 6px 6px 0 var(--ink); }
.hc-a .hc-copy h2 { font-size: clamp(24px, 5.5vw, 44px); }
.hc-a .hc-copy p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 14px; }
@media (min-width: 900px) { .hc-a .hc-copy { left: 40px; bottom: 40px; right: auto; max-width: 520px; padding: 28px; } }
.hc-a .hc-ui { padding: 12px 0 0; color: var(--ink); }
.hc-a .hc-btn { background: var(--ink); color: #fff; }
.dir-a .hc-a + .hero { padding-top: 40px; }

/* Brand row right under the hero carousel. */
.partners { background: var(--paper); padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.partners .eyebrow { text-align: center; color: var(--muted); margin-bottom: 14px; }
.dir-a .hc-a + .partners + .hero { padding-top: 40px; }

/* Navbar pages: hero, then one block per section. */
.page-hero { padding: 28px 0 48px; background: linear-gradient(180deg, var(--red-soft), var(--paper) 80%); }
.page-hero .split { align-items: center; }
.page-hero .ph { box-shadow: 8px 8px 0 var(--ink); border: 2px solid var(--ink); }
@media (max-width: 899px) { .page-hero .ph { box-shadow: 5px 5px 0 var(--ink); margin-right: 5px; } }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.section .sub { color: var(--ink-2); margin-top: -6px; max-width: 40em; }
.more { margin: 18px 0 0; }
.more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red-ink); }
.more .icon { width: 18px; height: 18px; }
.price-list { margin: 0; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); max-width: 820px; }
.price-list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; }
.price-list > div + div { border-top: 1px solid var(--line); }
.price-list dt { display: grid; gap: 2px; }
.price-list dt span { font-size: 14px; color: var(--muted); }
.price-list dd { margin: 0; font-size: 19px; font-weight: 800; white-space: nowrap; color: var(--red-ink); }
.tbl { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.tbl table { width: 100%; border-collapse: collapse; min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--ink); color: #fff; font-size: 15px; }
.tbl tbody th { font-weight: 700; color: var(--ink-2); width: 28%; }
.tbl tr:last-child > * { border-bottom: 0; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery > :last-child:nth-child(odd) { grid-column: span 2; }
/* Desktop: three across; with six photos the first is big and the other five fill around it. */
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery > :last-child:nth-child(odd) { grid-column: auto; }
  .gallery > :first-child:nth-last-child(6) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.logo-grid li { height: 88px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; }
.story p { font-size: 18px; }
.story .small { font-size: 14px; }
.cta-band { display: grid; gap: 18px; align-items: center; background: var(--red); color: #fff; border-radius: 20px; padding: 28px; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: #ffe0de; }
.cta-band .btn { background: #fff; color: var(--ink); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 36px 40px; } }
.testi:has(> :nth-child(4)) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
